Important
New database features are no longer connected to engine versions; features are now enabled independently during scheduled update windows, and “major” and “minor” releases no longer exist in Helios. Please visit the release notes to view the latest features available in your database clusters.
GEOGRAPHY_ LONGITUDE
On this page
The GEOGRAPHY_ function extracts the longitude portion of a GeographyPoint.
Syntax
GEOGRAPHY_LONGITUDE ( point )Arguments
-
Any valid
GeographyPointor WKT string.
Return Type
A float of the longitude value.
Examples
SELECT GEOGRAPHY_LONGITUDE("POINT(-73.94990499 40.69150746)") AS lon;
+--------------------+
| lon |
+--------------------+
| -73.94990499066743 |
+--------------------+Related Topics
For more information about working with geospatial data, see Working with Geospatial Features.
Last modified: