From f43b98bd9f5da90b1fead219f452575d33a3939f Mon Sep 17 00:00:00 2001 From: Stefaan Lippens Date: Thu, 6 Oct 2022 19:23:14 +0200 Subject: [PATCH] fixup! fixup! fixup! fixup! Issue #114/#141 convert inline GeoJSON in aggregate_spatial to VectorCube --- openeo_driver/datacube.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openeo_driver/datacube.py b/openeo_driver/datacube.py index 9b3b3a79..3d7d171e 100644 --- a/openeo_driver/datacube.py +++ b/openeo_driver/datacube.py @@ -312,7 +312,7 @@ def _write_legacy_aggregate_polygon_result_json( ) -> Dict[str, StacAsset]: """Export to legacy AggregatePolygonResult JSON format""" # TODO: eliminate this legacy, non-standard format? - return self.to_legacy_save_result().write_assets(directory=directory) + return self.to_legacy_save_result().write_assets(directory) def get_bounding_box(self) -> Tuple[float, float, float, float]: return tuple(self._geometries.total_bounds)