Geographic functions
Geographic functions work with coordinate pairs and typed coordinate collections. Use a consistent coordinate system for each calculation.
Function families
- Geographic distances measures a spherical arc from longitude/latitude coordinates and returns metres.
- Geometry construction creates Point, Ring, Polygon and related aliases with validated nesting.
- Point in polygon tests containment with defined outer-boundary and hole rules.
The geometry aliases do not assign a coordinate reference system or validate polygon topology. See geometry types for shapes and GeoJSON for importing and exporting features.