ST_DISTANCE()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Enterprise Server
Topics on this page:
Overview
A description for this Function has not yet been added to this Documentation.
EXAMPLES
SET @pt1 = ST_GeomFromText('POINT(0 1)');
SET @pt2 = ST_GeomFromText('POINT(1 2)');
SELECT ST_Distance(@pt1, @pt2);
+-------------------------+
| ST_Distance(@pt1, @pt2) |
+-------------------------+
| 1.4142135623730951 |
+-------------------------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.