Description
Return dimensions equal to half its length and a 2D or 3D label inside result.
A bounding box groups lower axis bounds followed by upper axis bounds. Longitude can cross the antimeridian under a specific convention, so numeric ordering and coordinate span need to be interpreted separately from actual geometry enclosure.
Return dimensions equal to half its length and a 2D or 3D label inside result.
When to use this tool
Use GeoJSON: Feature Bbox Dimension Label when you need a bounding-box dimension, order, or span diagnostic.
How to use the tool and how it works
- Enter bbox. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read result. Expand result to inspect the returned fields.
Require a bbox array of four or six numbers. Return dimensions equal to half its length and a 2D or 3D label inside result.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| bbox | Bbox | Required. Array of finite number. Implementation limit: 128 items. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| result | Object containing the calculated members; expand to inspect the fields below. | Required. Object. |
| result.dimensions | Dimensions | Calculated result member: number. |
| result.label | Label | Calculated result member: string. |
{
"input": {
"bbox": [
0,
0,
1,
1
]
},
"output": {
"result": {
"dimensions": 2,
"label": "2D"
}
}
} Limitations and assumptions
- The first half contains axis minima and the second half maxima. Length alone does not validate ranges, ordering, enclosure, or whether a box belongs to actual geometry.
- Outputs are nested inside result. Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Compute bounds from the actual geometry with the intended seam policy. Validate dimensionality, coordinate ranges, and enclosure separately before using a box for spatial filtering.
References
Similar or alternative tools
- Feature Bbox Altitude Extent Pair
Read altitude minimum at index 2 and maximum at index 5, returning them with valid set by minimum less than or equal to maximum.
- Bbox Coordinate Pair Order Check
Split it into minimum and maximum halves, compare corresponding axes, and optionally permit first-axis reversal for antimeridian crossing.