In this article
Geolocation functions: point(lat, long), lat(point), long(point), distance(point1, point2), toGeo(text), and ToText(geolocation).
point(lat, long) | Real | Geolocation | Constructs a point from latitude and longitude values |
| lat(point) | Geolocation | Real | Gets latitude of a point |
| long(point) | Geolocation | Real | Gets longitude of a point |
| distance(pont1, point2) | Geolocation | Real | Computes a distance between two points (in meters) |
| toGeo(text) | Text | Geolocation | Converts text representation of a point into a point. Points are represented in text as "POINT(<longitude><latitude>)" (according toOpen Geospatial Consortium (OGC) Well-Known Text (WKT) representation). ToText function applied to a geolocation argument performs the opposite conversion. |