[ ] This PR addresses an already opened issue (for bug fixes / features)
This PR fixes issue #xyz
[x] Tests for the changes have been added (for bug fixes / features)
[x] Documentation has been added / updated (for bug fixes / features)
[x] HISTORY.rst has been updated (with summary of main changes)
[x] I have added my relevant user information to AUTHORS.md
What kind of change does this PR introduce?:
Remove the pygeos "fast-path" in create_mask. The improvements of pygeos are now integrated in shapely 2.0 and the latest geopandas. Moreover, when testing with shapely 2.0.1, the "slow" path that used "shapely.vectorized" was much faster than the "fast" one with pygeos.
Does this PR introduce a breaking change?:
No.
A specific env with shapely < 2 and pygeos installed, might be slower with this branch than before. But I'm assuming shapely 2 would be way more common. Also, it's only a minor performance improvement.
Pull Request Checklist:
[ ] This PR addresses an already opened issue (for bug fixes / features)
[x] Tests for the changes have been added (for bug fixes / features)
[x] Documentation has been added / updated (for bug fixes / features)
[x] HISTORY.rst has been updated (with summary of main changes)
[x] I have added my relevant user information to
AUTHORS.md
What kind of change does this PR introduce?: Remove the pygeos "fast-path" in
create_mask
. The improvements ofpygeos
are now integrated in shapely 2.0 and the latest geopandas. Moreover, when testing with shapely 2.0.1, the "slow" path that used "shapely.vectorized" was much faster than the "fast" one with pygeos.Does this PR introduce a breaking change?: No.
A specific env with shapely < 2 and pygeos installed, might be slower with this branch than before. But I'm assuming shapely 2 would be way more common. Also, it's only a minor performance improvement.