Find features in a bounding box
features_in_bboxRetrieve OpenStreetMap features matching tag filters within a bounding box, returning each element's tags and centre coordinate. Keep boxes small; call count_features for city-sized areas.
Instructions
Find OpenStreetMap features matching tag filters inside a bounding box (south, west, north, east in decimal degrees). Returns up to 'limit' elements with their tags and a centre coordinate. Keep boxes small; for city-sized areas call count_features first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| east | Yes | ||
| tags | Yes | OpenStreetMap tag filters, all must match. Use "*" as the value to match any value, e.g. {"amenity": "cafe"} or {"opening_hours": "*"}. | |
| west | Yes | ||
| limit | No | Maximum elements to return (default 25) | |
| north | Yes | ||
| south | Yes |