RS_RasterToWorldCoordX¶
Introduction: Returns the upper left X coordinate of the given row and column of the given raster geometric units of the geo-referenced raster. If any out of bounds values are given, the X coordinate of the assumed point considering existing raster pixel size and skew values will be returned.
Format: RS_RasterToWorldCoordX(raster: Raster, colX: Integer, rowY: Integer)
Since: v1.5.0
SQL Example
SELECT RS_RasterToWorldCoordX(ST_MakeEmptyRaster(1, 5, 10, -123, 54, 5, -10, 0, 0, 4326), 1, 1) from rasters
Output:
-123