v.19.11New Feature
Intergate H3 Function Geotoh3 from Uber
Intergate H3 function geoToH3 from Uber. #4724 (Remen Ivan) #5805 (alexey-milovidov)Why it matters
To provide native support for hierarchical hexagonal geospatial indexing within ClickHouse, enabling efficient geographic data analysis and queries by converting geographic coordinates (latitude and longitude) into H3 hexagon indices.How to use it
Use thegeoToH3 function in your SQL queries by passing latitude, longitude, and H3 resolution as arguments, for example:SELECT geoToH3(latitude, longitude, resolution) FROM tableThis will return the H3 index of the specified geographic point at the given resolution.