-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filter_spatial: clarify behaviour #469
Comments
I just looked at the git history and it's relatively clear that masking should be applied. The confusing part was added with the datacube changes, i.e. only in 2.0.0 rc1 and thus we should clean that up again to align with the 1.x defintion. |
PR is here: #470 |
Indeed I found this discussion where it is clear that intent is to have masking included: |
So the main difference with @masawdah At the implementation side I think that filter_spatial becomes filter_bbox + mask_polygon internally. |
Indeed. |
Yes, and that mask_polygon has additional options, of course. |
* `filter_spatial`: Clarified that a masking get applied for the given geometries. #469 * `filter_bbox`: Clarified that the bounding box is reprojected to the CRS of the spatial data cube dimensions if required. --------- Co-authored-by: Stefaan Lippens <[email protected]>
The filter_spatial process definition https://processes.openeo.org/#filter_spatial is not clear, since it mentions keeping only the pixels intersected by the geometry and later, under the geometries parameter, mentions that no masking is applied.
We need to decide what's the expected output.
Is it only a filter_bbox process that automatically extracts the AOI from the bounds of the geometries?
Is it the same as mask_polygon?
@jdries said that on their side masking is applied, code here: Open-EO/openeo-geopyspark-driver@4e3ef04
We are waiting for a clarification to proceed with this PR: Open-EO/openeo-processes-dask#170
Tagging some other people for opinions:
@ValentinaHutter @dthiex @soxofaan @SerRichard
The text was updated successfully, but these errors were encountered: