Nombre

ST_SRID — Returns the spatial reference identifier of the raster as defined in spatial_ref_sys table.

Sinopsis

integer ST_SRID(raster rast);

Description

Returns the spatial reference identifier of the raster object as defined in the spatial_ref_sys table.

[Nota]

Non-georeferenced rasters and geometries use SRID 0.

Ejemplos

Code
SELECT ST_SRID(rast) As srid
FROM dummy_rast WHERE rid=1;
Output
0