我想用一些点数据制作一个IDW栅格。我熟悉如何在QGIS中执行此操作,但我想知道在PostGIS中执行相同的操作是否容易
文档在这里:https://postgis.net/docs/RT_ST_InvDistWeight4ma.html
我的尝试
WITH foo AS (
SELECT 1 AS rid, (ST_AddBand(100, 100, 0.0005, 0.0005, 1, 1, 0, 0, 4326), 1, '16BUI', 1, 0) AS rast
)
SELECT
ST_MapAlgebra(
rast, 2,ST_InvDistWeight4ma
) AS rast
FROM foo
我不太确定z值列在哪里适合...