Envelope
The smallest rectangle aligned with the coordinate axes that contains each feature.
Pitfall. Engines differ on whether they return a box for each feature or one box for the whole layer.
Pitfall. The box follows the CRS's axes, so the same features have different envelopes in different CRSs.
Pitfall. The envelope of a point, or of a horizontal or vertical line, is a point or a line, not a polygon.
| Also called | bounding box, bbox, Minimum Bounding Geometry (envelope), Bounding boxes, extent polygon |
|---|---|
| Group | vector/geometry |
| Checks | geometry.valid |
| Pitfalls | 3 listed above |
| Columbus tool | Not stated |
| Notes | Not stated |
| Status | active |
| Broader | Not stated |
| Narrower | Not stated |
| Related |
Parameters
Not stated
Inputs and outputs
| Direction | Name | Type | Geometry | Note |
|---|---|---|---|---|
| Input | layer | vector | Not stated | Not stated |
| Output | output | vector | polygon | Not stated |
In each engine
| Engine | Tool | Parameters | Differences |
|---|---|---|---|
apache-sedona | sedona.sql.ST_Envelope |
|
|
geopandas | geopandas.GeoSeries.envelope | Not stated |
|
postgis | st_envelope |
|
|
qgis | native:boundingboxes |
|
|
shapely | shapely.envelope |
|
|
turf-js | turf.envelope |
|
|
whiteboxtools | MinimumBoundingEnvelope |
|
|