Open-EO / openeo-python-client

Python client API for OpenEO
https://open-eo.github.io/openeo-python-client/
Apache License 2.0
143 stars 36 forks source link

Smarter geometry loading from `DataCube.aggregate_spatial` #581

Open soxofaan opened 1 week ago

soxofaan commented 1 week ago

DataCube.aggregate_spatial(geometries) currently allows geometries to be a string or pathlib.Path, but then it assumes this is a backend-side path and "loads" this with non-standard read_vector.

It would be better (more user friendly, and more standard) to be a bit smarter here:

Also

soxofaan commented 1 week ago

(this was triggered from https://discuss.eodc.eu/t/aggregate-spatial/766)