bbox_summary
Counts key amenities within a geographic bounding box to provide a quick density overview for an area.
Instructions
Counts of key amenities inside a bounding box (a light density helper).
Units: all coordinates decimal degrees. min is south-west,
max is north-east, so min_lat <= max_lat and
min_lon <= max_lon are required. categories defaults to a
sensible set when omitted.
Example: bbox_summary(min_lat=3.14, min_lon=101.70,
max_lat=3.16, max_lon=101.72)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_lat | Yes | Latitude in decimal degrees [-90, 90]. | |
| max_lon | Yes | Longitude in decimal degrees [-180, 180]. | |
| min_lat | Yes | Latitude in decimal degrees [-90, 90]. | |
| min_lon | Yes | Longitude in decimal degrees [-180, 180]. | |
| categories | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| max_lat | Yes | Latitude in decimal degrees [-90, 90]. | |
| max_lon | Yes | Longitude in decimal degrees [-180, 180]. | |
| min_lat | Yes | Latitude in decimal degrees [-90, 90]. | |
| min_lon | Yes | Longitude in decimal degrees [-180, 180]. | |
| by_category | Yes |