Actions9
- City Actions
- Viewport Actions
- Scrape (Full Pipeline) Actions
City → Shrink BBox
AI-generatedSummary
Shrinks a bounding box by moving each edge inward by a given percentage of the box's size.
Inputs
- items (required) — Array of input objects, each must contain a
bboxfield with numericnorth,south,east,westproperties (optionallat,lng).
Output shape
Array of result objects, one per input item.
Each result includes an
okboolean. On success (ok: true) the result contains:bbox(shrunken bounding box),original_bbox,shrink_percentage, andremoved_area_pct(approx. percentage of area removed). On failure (ok: false) the result contains anerrormessage and the inputshrink_percentage.
Examples
Example 1: Given a bounding box for a city and a shrink percentage of 10, the operation returns a box whose edges are moved 10% of the latitude and longitude ranges inward.
Set Shrink Percentage to 10 (or leave default). Proxy settings must be supplied but are not used by this operation.