aggregate_overpass_h3
Runs Overpass queries and bins results into H3 hexagons to analyze spatial density, then plots top hotspots on a shareable verification map.
Instructions
Executes an Overpass query and bins the results into H3 hexagons at a specified resolution to analyze spatial density. Plots the top density hotspots on the shareable verification map.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | No | The bounding box geometry to parse. | |
| query | Yes | The Overpass QL core query (e.g. `nwr["amenity"="cafe"]`). | |
| location | No | A text location to search for (e.g. 'Seattle'). | |
| resolution | Yes | The H3 resolution level (0-15) for binning. Default is 8. | |
| radius_meters | No | Optional search radius in metres around the location/bbox center. | |
| timeout_seconds | No | Overpass server query timeout in seconds. Default is 25. | |
| use_area_boundary | No | If true (default), uses exact OSM boundary polygon for named locations when available. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| complete | Yes | ||
| warnings | Yes | ||
| share_url | Yes | ||
| hex_counts | Yes | ||
| provenance | Yes | ||
| resolution | Yes | ||
| hex_geojson | Yes | ||
| osm_area_id | No | ||
| alternatives | No | ||
| matched_place | No | ||
| original_bbox | Yes | ||
| total_elements | Yes | ||
| active_hex_count | Yes |