Returns the Spatial Reference Identifier (SRID) for the geometry. This integer represents the coordinate system used.
ST_SRID(g)
SRID(g)Returns an integer indicating the Spatial Reference System ID for the geometry value g.
In MariaDB, the SRID value is just an integer associated with the geometry value. All calculations are done assuming Euclidean (planar) geometry.
ST_SRID() and SRID() are synonyms.
This page is licensed: GPLv2, originally from
SELECT SRID(GeomFromText('LineString(1 1,2 2)',101));
+-----------------------------------------------+
| SRID(GeomFromText('LineString(1 1,2 2)',101)) |
+-----------------------------------------------+
| 101 |
+-----------------------------------------------+