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

Backward-compatiblity with Shapely < 2.0 #392

Merged
merged 2 commits into from
Aug 16, 2023

Conversation

rhugonnet
Copy link
Member

@rhugonnet rhugonnet commented Aug 16, 2023

Before the major refactoring of Shapely a year ago, shapely.Geometry did not exist. But we've been using for (static and dynamic) type checking in functions during the past year. It all passed in CI, as older versions of Shapely were never used.

As it's just about editing 4/5 types, I think we modify them all to the old shapely.geometry.base.BaseGeometry syntax so that we can be backwards-compatible for a bit longer! 🙂

Resolves #391

Copy link
Member

@adehecq adehecq left a comment

Choose a reason for hiding this comment

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

I think that's a safe choice ! Thanks !

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.

Vector instantiation with geopandas dataset fails
2 participants