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

Feature request: dissolve a la GeoPandas #100

Open
asinghvi17 opened this issue Jan 9, 2025 · 1 comment
Open

Feature request: dissolve a la GeoPandas #100

asinghvi17 opened this issue Jan 9, 2025 · 1 comment

Comments

@asinghvi17
Copy link
Contributor

asinghvi17 commented Jan 9, 2025

This requires us to have good unary unions in GeometryOps. But it allows aggregating high-granularity datasets, going from counties to states for example.

Maybe this just gets solved by DataFrames groupby/combine though. Then we need tutorials for it.

@asinghvi17
Copy link
Contributor Author

This currently "works" with Julia API:

zones_cleaned = DataFrames.combine(groupby(DataFrame(zones), :LocationID), :geometry => x -> LibGEOS.unaryUnion(GI.GeometryCollection(x)))

but it needs to be significantly cleaner!

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

No branches or pull requests

1 participant