Skip to main content
Returns the spatial reference system identifier (SRID) of the raster geometry. Returns 0 if the raster has no CRS defined or if the CRS is a custom (non-EPSG) coordinate reference system. To retrieve the full CRS definition for custom CRS, use RS_CRS.

Signatures

RS_SRID (raster: Raster)

Parameters

raster
Raster
required
The input raster.

Return type

An integer value.

Example

SELECT RS_SRID(raster) FROM raster_table
3857