ENDPOINT
Sintassi
EndPoint(ls)
Spiegazione
Restituisce l'oggetto Point che costituisce il punto finale dell'oggetto
LineString ls
.
Esempi
MariaDB [(none)]> SET @ls = 'LineString(1 1,2 2,3 3)'; Query OK, 0 rows affected (0.05 sec) MariaDB [(none)]> SELECT AsText(EndPoint(GeomFromText(@ls))); +-------------------------------------+ | AsText(EndPoint(GeomFromText(@ls))) | +-------------------------------------+ | POINT(3 3) | +-------------------------------------+ 1 row in set (0.06 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.