-
Notifications
You must be signed in to change notification settings - Fork 13
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
Vector Zonal Stats: Error when aligning OSM POIs to an Indonesian Regency #70
Comments
This error stems from us not supporting multiindex GeoDataFrames and dissolving generating a multiindex GeoDataFrame Converting the following
to
works. |
Alternatively, you can pass
|
For now, we could do a quick fix to throw an assertion error so users are aware we don't support multi-index for now. Then file an enhancement request to support multi-indexes separately later. cc @tm-kah-alforja |
Ahh I see. Agree with @butchtm I think we can just throw an assertion error for now so it's clear what the error is and how to fix it. I'm not really sure either if multi-index support is something that's necessary. |
Alright, i can take this on. |
Reopening this. Still reproducible error when I tried today. See this updated gist. |
Colab notebook for testing:
Scenario:
Could it be a typo? Since the key error mentions "GeoWrangleer_aoi_index"
In case it's relevant, noting that the function works when I passed in grid tiles instead of the Subang Regency gdf itself.
The text was updated successfully, but these errors were encountered: