GEOMETRYTYPE

Sintassi

GeometryType(g)

Spiegazione

Restituisce, sotto forma di stringa, il nome del tipo geometrico al quale appiertiene l'istanza g. Il nome corrisponde a una delle sottoclassi istanziabili di Geometry.

Esempi

MariaDB [(none)]> SELECT GeometryType(GeomFromText('POINT(1 1)'));
+------------------------------------------+
| GeometryType(GeomFromText('POINT(1 1)')) |
+------------------------------------------+
| POINT                                    |
+------------------------------------------+
1 row in set (0.00 sec)

Commenti

Sto caricando i commenti......
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.