Skip to main content
Return the spatial reference system identifier (SRID) of the geometry.

Signatures

ST_SRID (A: Geometry)

Parameters

A
Geometry
required
The input geometry.

Return type

An integer value.

Example

SELECT ST_SRID(ST_SetSRID(ST_GeomFromWKT('POLYGON((1 1, 8 1, 8 8, 1 8, 1 1))'), 3021))
3021