-
Notifications
You must be signed in to change notification settings - Fork 6
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
apply_polygon (previously known as chunk_polygon) abuses MultiPolygon as collection of polygons in its internal API #288
Open
soxofaan opened this issue
Jun 7, 2024
· 1 comment
· May be fixed by Open-EO/openeo-geopyspark-driver#801 or #291
Open
apply_polygon (previously known as chunk_polygon) abuses MultiPolygon as collection of polygons in its internal API #288
soxofaan opened this issue
Jun 7, 2024
· 1 comment
· May be fixed by Open-EO/openeo-geopyspark-driver#801 or #291
Labels
Comments
related to (or causing) this confusion: the |
This was referenced Jun 7, 2024
soxofaan
added a commit
that referenced
this issue
Jun 7, 2024
soxofaan
added a commit
that referenced
this issue
Jun 7, 2024
soxofaan
changed the title
apply_polygon (previously known as chunk_polygon) abuses MultiPolygon as collection of polygons in it's internal API
apply_polygon (previously known as chunk_polygon) abuses MultiPolygon as collection of polygons in its internal API
Jun 7, 2024
soxofaan
added a commit
that referenced
this issue
Jun 8, 2024
JeroenVerstraelen
added a commit
that referenced
this issue
Jun 9, 2024
JeroenVerstraelen
added a commit
to Open-EO/openeo-geopyspark-driver
that referenced
this issue
Jun 9, 2024
This was
linked to
pull requests
Jun 10, 2024
soxofaan
added a commit
to Open-EO/openeo-geopyspark-driver
that referenced
this issue
Jun 11, 2024
soxofaan
added a commit
that referenced
this issue
Jul 17, 2024
But still support legacy `polygons` for now refs: Open-EO/openeo-processes#511, #288
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Stumbled on this while working on #287:
The
apply_polygon
process implementation (originally added aschunk_polygon
in a411109) coerces the provided geometries into a MultiPolygon :openeo-python-driver/openeo_driver/ProcessGraphDeserializer.py
Lines 859 to 874 in ea078ff
and pushes this API through into geopyspark driver, e.g.
https://github.com/Open-EO/openeo-geopyspark-driver/blob/1f22c0da34535e986908480673ad341c9f89324d/openeogeotrellis/geopysparkdatacube.py#L572-L575
MultiPolygon should not be abused as a collection of polygons. Instead the API should use something like a FeatureCollection or vector cube abstraction
The text was updated successfully, but these errors were encountered: