@classmethod
def from_geojson(cls, geojson):
    """
        Construct a Workflows Geometry from a GeoJSON mapping.

        Note that the GeoJSON must be relatively small (under 10MiB of serialized JSON).

        Parameters
        ----------
        geojson: Dict

        Returns
        -------
        ~descarteslabs.workflows.Geometry
        """
    try:
        return cls._from_apply(cls._constructor, type=geojson['type'],
            coordinates=geojson['coordinates'])
    except KeyError:
        raise ValueError(
            "Expected a GeoJSON mapping containing the fields 'type' and 'coordinates', but got {}"
            .format(geojson))
