def polygon_from_bounds(bounds):
    """Return a GeoJSON Polygon dict from a (minx, miny, maxx, maxy) tuple"""
    return {'type': 'Polygon', 'coordinates': (((bounds[2], bounds[1]), (
        bounds[2], bounds[3]), (bounds[0], bounds[3]), (bounds[0], bounds[1
        ]), (bounds[2], bounds[1])),)}
