[postgis-devel] ST_GetValues()

Regina Obe lr at pcorp.us
Fri Apr 16 10:01:11 PDT 2021


> 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
> 
[Regina Obe] Not crazy just a little bit misguided.
ST_GetValues implies you are returning values but you are returning a
geometry 
and besides we never use the term Get in PostGIS.
It's always ST_Value, ST_X, ST_Y etc.  You don't see a ST_GetX for example.
And when it returns a set of stuff, we often use the term ST_DumpWhatever.

Speaking of which I forgot to ask if this is a set returning function.  I
assume not and you'd return a collection in cases where it's relevant?



More information about the postgis-devel mailing list