Skip to content
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

Issue #288 use DriverVectorCube in apply_polygon #291

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JeroenVerstraelen
Copy link
Contributor

No description provided.

@@ -124,7 +124,7 @@ def chunk_polygon(
reducer: dict,
# TODO #288:` chunks` should be an explicit collection of geometries (e.g a FeatureCollection, vector cube base class or an iterable of geometries)
# Note that subclass implementations even wrongly retype this to `MultiPolygon`.
chunks: Union[shapely.geometry.base.BaseGeometry],
chunks: DriverVectorCube,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm afraid it's not that easy to change this API like this without being backward compatible.

openeo-geopyspark-driver for example extends this API so we need to create some window for transition

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it okay to merge this PR together with the one on the geopyspark-driver?
Open-EO/openeo-geopyspark-driver#801

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants