ST_Srid
Updated at:
Copy as MD
Returns the spatial reference system identifier (SRID) of a raster object. SRIDs and their definitions are stored in the spatial_ref_sys table.
Syntax
integer ST_Srid(raster raster_obj);Parameters
| Parameter | Description |
|---|---|
raster_obj | The raster object. |
Examples
The following example returns the SRID of the raster object in raster_table where id equals 1.
select ST_Srid(raster_obj) from raster_table where id=1;Output:
4326Is this page helpful?