This is a read-only copy of the MariaDB Knowledgebase generated on 2024-12-18. For the latest, interactive version please visit https://mariadb.com/kb/.

SRID

Sintassi

SRID(g)

Spiegazione

Restituisce un numero intero che indica lo Spatial Reference System ID (ID del sistema di referenze spaziali) del valore geometrico g.

In MariaDB, il valore SRID è semplicemente un intero associato al valore geometrico. Tutti i calcoli vengono effettuati in base dalla geometria euclidea.

Esempi

MariaDB [(none)]> SELECT SRID(GeomFromText('LineString(1 1,2 2)',101));
+-----------------------------------------------+
| SRID(GeomFromText('LineString(1 1,2 2)',101)) |
+-----------------------------------------------+
|                                           101 |
+-----------------------------------------------+
1 row in set (0.01 sec)
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.