def bbox_polygon(bbox):
    return shapely.geometry.Polygon((
        (bbox[0], bbox[1]),
        (bbox[2], bbox[1]),
        (bbox[2], bbox[3]),
        (bbox[0], bbox[3]),
        ))
Create Polygon that covers the given bbox.
dataset/ETHPy150Open omniscale/imposm/imposm/util/geom.py/bbox_polygon