# Get lat/long bounding box struct
> Supported in: Batch, Faster, Streaming
Given a valid geometry or array of geometries, return a struct containing the bounds of the geometry or geometries.
**Expression categories:** Geospatial
## Declared arguments
* **Expression:** GeoJSON string or array of GeoJSON strings.
*Expression\ | Geometry>*
**Output type:** *LatLonBoundingBox*
## Examples
### Example 1: Base case
**Argument values:**
* **Expression:** `geometry`
| geometry | **Output** |
| ----- | ----- |
| {"type":"Polygon","coordinates":\[\[\[0.0,0.0],\[1.0,0.0],\[0.0,1.0]]]} | {
maxLat -> 1.0,
maxLon -> 1.0,
minLat -> 0.0,
minLon -> 0.0,
} |
***
### Example 2: Base case
**Argument values:**
* **Expression:** `geometryArray`
| geometryArray | **Output** |
| ----- | ----- |
| \[ {"type":"LineString","coordinates":\[\[1,0],\[0,8.4]]}, {"type":"Point","coordinates":\[125.6, -92.3]}, {"type":"Polygon","coordinates":\[\[\[0,0],\[1,6.3],\[-6,1],\[0,0]]]} ] | {
maxLat -> 8.4,
maxLon -> 125.6,
minLat -> -92.3,
minLon -> -6.0,
} |
***
### Example 3: Null case
**Argument values:**
* **Expression:** `geometryArray`
| geometryArray | **Output** |
| ----- | ----- |
| *null* | *null* |
***
### Example 4: Edge case
**Argument values:**
* **Expression:** `geometryArray`
| geometryArray | **Output** |
| ----- | ----- |
| \[ Invalid GeoJSON, {"type":"LineString","coordinates":\[\[2,0],\[0,4.8]]} ] | {
maxLat -> 4.8,
maxLon -> 2.0,
minLat -> 0.0,
minLon -> 0.0,
} |
***