ST_SRID
Syntax
ST_SRID(g)
SRID(g)
Description
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.
Examples
SELECT SRID(GeomFromText('LineString(1 1,2 2)',101));
+-----------------------------------------------+
| SRID(GeomFromText('LineString(1 1,2 2)',101)) |
+-----------------------------------------------+
| 101 |
+-----------------------------------------------+
This page is licensed: GPLv2, originally from fill_help_tables.sql
Last updated
Was this helpful?