def envelope_to_geom(env):
    """convert envelope array to geojson
    """
    geom = {
        "type": "Polygon",
        "coordinates": [ [
            env[0],
            env[1],
            env[2],
            env[3],
            env[0]
        ] ]
    }
    return geom