Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! Issue #114/#141 convert inline GeoJSON in…
Browse files Browse the repository at this point in the history
… aggregate_spatial to VectorCube
  • Loading branch information
soxofaan committed Oct 7, 2022
1 parent a77d50a commit f43b98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openeo_driver/datacube.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f43b98b

Please sign in to comment.