get_boundary_bbox
Get the bounding box and centroid for a boundary by its ONS census code.
Returns min_lat, max_lat, min_lng, max_lng, centroid_lat, centroid_lng. Pass the bbox values directly to Knotsure's sightings_in_bbox() or geographic_summary(). Much cheaper than get_boundary_geojson_by_code() for spatial queries because no geometry is fetched or serialised.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ONS census / GSS / LAU code, e.g. "E14001592" for Woking. Case-insensitive. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |