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

Implement: Explode #26

Closed
stuartlynn opened this issue Jun 8, 2022 · 0 comments · Fixed by #111
Closed

Implement: Explode #26

stuartlynn opened this issue Jun 8, 2022 · 0 comments · Fixed by #111

Comments

@stuartlynn
Copy link
Collaborator

This should take a GeoSeries with multipart geometries (MultiPoint, MultiPolygon etc) and return a GeoSeries with each individual geometry in the multi collection as an individual geometry

Is this implemented in the Geo crate: No
GeoPandas equivalent: explode

Note this could be done by simply iterating through the series and then each Multi Geometry and appending the geometries to a new series.

One thing to figure out is how we want to handle this in the context of a GeoDataFrame. We would want the resulting geometries to have the same properties as their parent geometries.

In Geopandas, the result is a Series with a mutli-level index, we might not need this for polars

@stuartlynn stuartlynn changed the title Implement Explode Implement: Explode Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant