GeoJSON is a commonly used and standardized flavor of JSON used for geospatial data. With the introduction of the Point datatype and geospatial functions like convex_hull(...)
, GeoJSON is a powerful addition that works awesomely with geospatial frameworks like Leaflet.
When GeoJSON is specified as the format, the response will be a standard GeoJSON document compatible with all tools that consume GeoJSON. The Point will be the GeoJSON geometry
, and the other fields will be properties
. For example: