diff --git a/spatialist/vector.py b/spatialist/vector.py index c9dd7b6..0054d81 100644 --- a/spatialist/vector.py +++ b/spatialist/vector.py @@ -132,7 +132,7 @@ def __geo_interface__(self): raise RuntimeError('multiple features are currently not supported') with self.clone() as tmp: tmp.reproject(4326) - out = tmp.getFeatureByIndex(0).ExportToJson(as_object=True)['geometry'] + out = tmp.getFeatureByIndex(0).ExportToJson(as_object=True) return out @staticmethod