[postgis-devel] ST_GetValues()
Paul Ramsey
pramsey at cleverelephant.ca
Fri Apr 16 10:04:40 PDT 2021
> On Apr 16, 2021, at 10:01 AM, Regina Obe <lr at pcorp.us> wrote:
>
>> 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?
It returns what you put in. Whatever geometry you put in, you get out, with an extra Z or M dimension.
P
>
> _______________________________________________
> 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