semantique.extent.SpatialExtent.from_geometry#
- classmethod SpatialExtent.from_geometry(obj, **kwargs)[source]#
Alternative initialization from a GeoJSON Geometry object.
- Parameters:
obj (
dict
) – Dictionary formatted according to GeoJSON standards for Geometry objects.**kwargs – Additional keyword arguments forwarded to
geopandas.GeoDataFrame.from_features()
.