Geospatial
Geospatial types use latitude/longitude coordinates and spatial predicates.
See Type construction and operations for coordinate validation, Haversine distance, 0.25-degree grid candidate selection, exact post-filtering, result ordering, and polygon/antimeridian limitations.
| Type | Construction | Principal operations |
|---|---|---|
geo_point | SET | DISTANCE |
geo_spatial_index | CREATE | ADD, REMOVE, RADIUS, BOX, POLYGON |
bounding_box | SET | CONTAINS |
polygon | SET | CONTAINS |