This post has been republished via RSS; it originally appeared at: Azure Data Explorer Blog articles.
The geospatial functions in Azure Data Explorer (ADX) received a big update in June 2021. Based on our research and very valuable feedback from our customers we decided to add support for H3 Cell tokens. On top of that we provided new functionality to generate polygons from all of our geospatial clustering functions.
H3 Cell token
Geospatial data can be analyzed efficiently using grid systems to create geospatial clusters. You can use geospatial tools to aggregate, cluster, partition, reduce, join, and index geospatial data. These tools improve query runtime performance, reduce stored data size, and visualize aggregated geospatial data. H3 is Uber’s Hexagonal Hierarchical Spatial Index. More information on how to chose the right algorithm can be found on the documentation for geospatial grid systems.
Calculates the H3 Cell token string value for a geographic location (doc). Example:
Calculates the geospatial coordinates that represent the center of an H3 Cell (doc). Example:
"coordinates": [-74.016008479792447, 40.7041679083504]
Geospatial cluster to polygon
This is something we wanted to add for some time. It's the capability to calculate the polygon that represents the grid systems rectangular area.
Calculates the polygon that represents the geohash rectangular area (doc).
Calculates the polygon that represents the S2 Cell rectangular area (doc).
Calculates the polygon that represents the H3 Cell rectangular area (doc).