from_bounds_to_polygon# from_bounds_to_polygon(left: float, bottom: float, right: float, top: float) → Polygon[source]# Convert the bounds to a 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))' Parameters: left (float) – Left coordinates bottom (float) – Bottom coordinates right (float) – Right coordinates top (float) – Top coordinates Returns: Polygon corresponding to the bounds Return type: Polygon