API
Convert the bounds to a shapely.polygon.
shapely.polygon
>>> poly = from_bounds_to_polygon(0.0, 0.0, 1.0, 1.0) >>> print(poly) 'POLYGON ((1 0, 1 1, 0 1, 0 0, 1 0))'
left (float) – Left coordinates
bottom (float) – Bottom coordinates
right (float) – Right coordinates
top (float) – Top coordinates
Polygon corresponding to the bounds
Polygon