question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fix all the shapely deprecation warnings before shapely 2 is released

See original GitHub issue

There are apparently some deprecation warnings that were missed, including ShapelyDeprecationWarning: STRtree will be changed in 2.0.0 and will not be compatible with versions < 2. tree = STRtree(geoms) emitted when resample_geometry is executed (not part of the test suite).

Thanks @TheoMathurin! Do you feel like making a PR to fix this warning?

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
TheoMathurincommented, Oct 10, 2022

Not sure I’m the person best suited for the job as I’ve never directly used shapely but I can take a look!

0reactions
TheoMathurincommented, Oct 26, 2022

Yes, I’ll try to take a look at the test suite.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Shapely v1.8 deprecation warnings in advance of ... - GitHub
Is your feature proposal related to a problem? Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0.
Read more >
Version 2.x — Shapely 2.0.0 documentation - Read the Docs
It is highly recommended to first upgrade to Shapely 1.8 and resolve all deprecation warnings before upgrading to Shapely 2.0.
Read more >
python - Shapely deprecation warning message when plotting ...
I tried uninstalling geopandas, earthpy and shapely afterwards I reinstalled geopandas==0.10, earthpy==0.9. 4 and shapely==1.7. 0. It worked ...
Read more >
How to ignore deprecation warnings in Python - Stack Overflow
When nothing else works: $ pip install shutup . Then at the top of the code import shutup;shutup.please() . This will disable all...
Read more >
Shapely 2.0.0 Released - Spatial Programming - GISarea
It is highly recommended to first upgrade to Shapely 1.8 and resolve all deprecation warnings before upgrading to Shapely 2.0.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found