[postgis-devel] ST_GetValues()
Paul Ramsey
pramsey at cleverelephant.ca
Fri Apr 16 09:46:02 PDT 2021
> On Apr 16, 2021, at 9:43 AM, Regina Obe <lr at pcorp.us> wrote:
>>>
> [Regina Obe] We have a function that burns geometries into a raster - it's
> called ST_SetValues -
> http://postgis.net/docs/manual-dev/RT_ST_SetValues.html
See, I'm not so crazy after all...! The opposite of burning geometry values into a raster (ST_SetValues()) is reading raster values into a geometry (ST_GetValues())
???? ;)
P
> Then there is ST_DumpAsPolygons which converts a raster to a set of geomvals
> (geom, value). -
> http://postgis.net/docs/manual-dev/RT_ST_DumpAsPolygons.html
>
> Paul's new function will largely replace the use of this function. Common
> use case of this function was
>
> ST_DumpAsPolygons(ST_Clip(raster,ref_geom))
>
> And then use the val of the geomvals returned to reconstitute a new geometry
> with Z/M (borrowed from the values)
>
>
>
>
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-devel
More information about the postgis-devel
mailing list