windkit.spatial.BBox.from_bounds
- classmethod BBox.from_bounds(minx, miny, maxx, maxy, *, crs='epsg:4326')[source]
Create a bounding box object from min and max values
- Parameters:
minx (float) – Minimum values of the east-west direction.
maxx (float) – Maximum values of the east-west direction.
miny (float) – Minimum values of the south-north direction.
maxy (float) – Maximum values of the south-north direction.
crs (int, dict, str or pyproj.crs.CRS) – Value to initialize
pyproj.crs.CRS
Defaults to “epsg:4326”.
- Returns:
A bounding box of the requested coordinates.
- Return type: