Merge boundaries
union_boundariesMerges boundaries into one polygon: the union of include minus the union of exclude (e.g. three counties minus one city). Use it for sales territories, delivery zones and service areas. Up to 50 boundaries; costs 1 unit per boundary. Returns a GeoJSON Feature with area_km2. To describe an area in words instead, use create_area. Needs an API key or a connected account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | Simplification relative to the boundary's size: low (~1,000 points across, maps and previews), medium (default, ~5,000), high (~25,000), full (unsimplified OSM). | medium |
| exclude | No | Boundary ids to cut out. | |
| include | Yes | Boundary ids to merge. |