This function computes the world coordinates of a cell by using an affine transformation formula based on the pixel coordinates and pyramid level of the cell.


point ST_Rast2WorldCoord(raster raster_obj, integer pyramidLevel, integer row, integer column);


Parameter Description
raster_obj The raster object.
pyramidLevel The pyramid level.
row The row number of the cell.
column The column number of the cell.


The raster object must have a valid spatial reference system identifier (SRID).


Select ST_Rast2WorldCoord(raster_obj, 0, 0, 0) from raster_table;