Open-EO / openeo-processes

Interoperable processes for openEO's big Earth observation cloud processing.
https://processes.openeo.org
Apache License 2.0
48 stars 16 forks source link

Vector cube usage in `aggregate_spatial`, `filter_spatial`, `mask_polygon`, ... #323

Closed soxofaan closed 1 year ago

soxofaan commented 2 years ago

Processes aggregate_spatial, filter_spatial, mask_polygon have a geometries (or mask) parameter that currently is of type geojson:object. Likewise, load_collection and load_result have a spatial_extent parameter that can be geojson:object (among other options).

Once we improve support for loading/processing vector cubes (e.g. #322) these processes should also allow vector-cube as data type for these parameters, so that a user can pass the geometries with a file/url instead of embedding geojson in the process graph

m-mohr commented 2 years ago

Yes, that's on the todo list for sure.

clausmichele commented 2 years ago

Allowing aggregate_spatial to get vector-cube as input is necessary to proceed with the random_forest pipeline. In the meanwhile I will modify the process locally for some tests. image

m-mohr commented 2 years ago

Closely related: #343 and #346

I'm not sure I'd add vector-cube as input for load_result and load_collection. These are compromises of simplicity and utility. You may then just add it to filter_spatial as a dedicated process that can be used to filter based on vector cubes.