ST_Georeference

Updated at:
Copy as MD

Returns the geographic reference information of a raster object as a comma-separated text string of six affine parameters.

Syntax

text ST_Georeference(raster raster_obj);

Parameters

ParameterDescription
raster_objThe raster object.

Example

SELECT ST_Georeference(raster_obj) AS georef FROM raster_table WHERE id = 1;

Output:

2.500000000000000,0.000000000000000,38604686.750000000000000,0.000000000000000,-2.500000000000000,4573895.750000000000000