SQL geospatial and H3 functions for working with location data - points, coordinates, polygons, and spatial indexes.
These functions aren’t in the updated function reference yet. The details below come from the previous docs, and the product team is confirming them.
Geospatial functions allow working with location-based data, including points, coordinates, polygons, and spatial indexes. They enable conversion, querying, and analysis of geographic information
H3 Functions
H3_LATLNG_TO_CELL
Converts latitude/longitude into an H3 cell index (INT).
H3_LATLNG_TO_CELL(lat, lng, res)
H3_LATLNG_TO_CELLADDRESS
Converts lat/lng into an H3 cell address (STRING).
H3_LATLNG_TO_CELLADDRESS(lat, lng, res)
H3_CELL_TO_PARENT
Gets the parent cell index for a given cell.
H3_CELL_TO_PARENT(cell, parent_res)
H3_CELLADDRESS_TO_PARENT
Gets the parent cell address for a given cell address.