ST_SRID
Returns the Spatial Reference Identifier (SRID) for the geometry. This integer represents the coordinate system used.
Syntax
ST_SRID(g)
SRID(g)Description
Examples
SELECT SRID(GeomFromText('LineString(1 1,2 2)',101));
+-----------------------------------------------+
| SRID(GeomFromText('LineString(1 1,2 2)',101)) |
+-----------------------------------------------+
| 101 |
+-----------------------------------------------+Last updated
Was this helpful?

