Skip to main content
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. RS_RasterToWorldCoordX

Signatures

RS_RasterToWorldCoordX(raster: Raster, colX: Integer, rowY: Integer)

Parameters

raster
Raster
required
The input raster.
colX
Integer
required
The col x value.
rowY
Integer
required
The row y value.

Return type

A numeric value.

Example

SELECT RS_RasterToWorldCoordX(ST_MakeEmptyRaster(1, 5, 10, -123, 54, 5, -10, 0, 0, 4326), 1, 1) from rasters
-123