Skip to main content
Returns the numeric SRID associated with a native GEOMETRY CRS. OGC:CRS84 maps to 4326. A CRS without an unambiguous numeric EPSG mapping returns NULL; the function never substitutes EPSG:0.

Syntax

A NULL input returns NULL. This function reads metadata and does not transform coordinates. It does not accept GEOGRAPHY.

Example

Keywords

ST_SRID, GEOMETRY, CRS, EPSG GEOMETRY, INT