[postgis-devel] ST_GetValues()

Regina Obe lr at pcorp.us
Thu Apr 15 22:02:50 PDT 2021


> And building on that, ST_GetValues() which reads values from a raster into
> the Z or M coordinates of a reference geometry.
> 
> CREATE FUNCTION st_getvalues(rast raster, geom geometry, resample text
> DEFAULT 'nearest', band integer default 1, dimension text default 'z')
> 	RETURNS geometry
> 	AS 'MODULE_PATHNAME', 'RASTER_getGeometryValues'
> 	LANGUAGE 'c' IMMUTABLE STRICT PARALLEL SAFE;
> 
> Comments appreciated.
> 
> P
> 
Why is this called ST_GetValues?  The Get seems a bit wordy and doesn't
follow the naming of other function.
Is there a reason you dismissed the more obvious to me ST_Values?





More information about the postgis-devel mailing list