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

reduce warnings for multipart geoms #156

Merged
merged 1 commit into from
Apr 8, 2022

Conversation

mattijn
Copy link
Owner

@mattijn mattijn commented Apr 8, 2022

This PR aims to reduce the number of warnings related to:

ShapelyDeprecationWarning: len OR getitem for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the geoms property instead to get the number of parts of a multi-part geometry.

This PR reduces the number of warnings of the test-suite from 589 to 337.

Still a long way to go before realizing full support for shapely 2.0..

@mattijn mattijn merged commit 2181c6f into master Apr 8, 2022
@mattijn mattijn deleted the use-geoms-for-multipart-geoms-round-1 branch April 8, 2022 11:07
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 this pull request may close these issues.

None yet

1 participant