def geom_from_metadata(meta):
    """Return a geometry from a Landsat scene metadata as returned by USGS api

    Args:
        meta (dict): Landsat scene metadata as returned by Usgs Api

    Example:
        >>> from lsru import Usgs
        >>> from lsru.utils import geom_from_metadata
        >>> import datetime
        >>> from shapely.geometry import shape
        >>> from pprint import pprint

        >>> usgs = Usgs()
        >>> usgs.login()
        >>> scene_list = usgs.search(collection='LANDSAT_8_C1',
        ...                          bbox=(3.5, 43.4, 4, 44),
        ...                          begin=datetime.datetime(2012,1,1),
        ...                          end=datetime.datetime(2016,1,1))
        >>> geom = geom_from_metadata(scene_list[0])
        >>> s = shape(geom)
        >>> pprint(geom)
        >>> print(s.is_valid)

    Returns:
        dict: GeoJson like geometry. CRS is always in longlat (EPSG 4326)
    """
    geom = {'type': 'Polygon', 'coordinates': [[[meta['lowerLeftCoordinate'
        ]['longitude'], meta['lowerLeftCoordinate']['latitude']], [meta[
        'upperLeftCoordinate']['longitude'], meta['upperLeftCoordinate'][
        'latitude']], [meta['upperRightCoordinate']['longitude'], meta[
        'upperRightCoordinate']['latitude']], [meta['lowerRightCoordinate']
        ['longitude'], meta['lowerRightCoordinate']['latitude']], [meta[
        'lowerLeftCoordinate']['longitude'], meta['lowerLeftCoordinate'][
        'latitude']]]]}
    return geom
