Skip to content
🎉 Apache Sedona 1.8.1 is now available! Check out the new features and improvements.

ST_SRID

Introduction: Return the spatial reference system identifier (SRID) of the geometry.

Format: ST_SRID (A: Geometry)

Since: v1.1.1

SQL Example

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

Output:

3021