# ee.FeatureCollection.bounds

Constructs a bounding box around the geometries in a collection.

<br />

| Usage | Returns |
|---|---|
| `FeatureCollection.bounds(*maxError*, *proj*)` | Geometry |

| Argument | Type | Details |
|---|---|---|
| this: `collection` | FeatureCollection | The collection whose bounds will be constructed. |
| `maxError` | ErrorMargin, optional | The maximum amount of error tolerated when performing any necessary reprojection. |
| `proj` | Projection, optional | If specified, the result will be in this projection. Otherwise it will be in EPSG:4326. |

## Examples

### Code Editor (JavaScript)

```javascript
// FeatureCollection of power plants in Belgium.
var fc = ee.FeatureCollection('WRI/GPPD/power_plants')
             .filter('country_lg == "Belgium"');

print('Bounds of Belgium power plants:', fc.bounds());  // ee.Geometry
```
Python setup

See the [Python Environment](https://developers.google.com/earth-engine/guides/python_install) page for information on the Python API and using
`geemap` for interactive development.

```python
import ee
import geemap.core as geemap
```

### Colab (Python)

```python
# FeatureCollection of power plants in Belgium.
fc = ee.FeatureCollection('WRI/GPPD/power_plants').filter(
    'country_lg == "Belgium"')

display('Bounds of Belgium power plants:', fc.bounds())  # ee.Geometry
```