Deprecations for Shapely 1.8
See original GitHub issuePractical issue to track the progress of deprecations required for https://github.com/shapely/shapely-rfc/pull/1, and keep an overview of this:
- Mutability of geometries -> https://github.com/Toblerity/Shapely/pull/900
- Proxy/adapter classes -> https://github.com/Toblerity/Shapely/pull/926
- Iteration / getitem of multi-part geometries -> https://github.com/Toblerity/Shapely/pull/950
- From that PR: deprecate
__len__
as well? -> #1075
- From that PR: deprecate
- The array_interface and ctypes attribute -> https://github.com/Toblerity/Shapely/pull/955
- Empty geometries:
- The constructors can probably “just” change behaviour in 2.0?
- The
EmptyGeometry
class (this one would also be fine to only deprecate in 2.0 -> https://github.com/Toblerity/Shapely/issues/1022)
- STRTree (for this the exact change still needs to be decided in the RFC) -> https://github.com/Toblerity/Shapely/pull/1064
- Setting custom attributes -> #1183
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Migrating to Shapely 1.8 / 2.0 — Shapely 2.0.0 documentation
The adapters to create geometry-like proxy objects with coordinates stored outside Shapely geometries are deprecated and will be removed in Shapely 2.0 (e.g. ......
Read more >shapely/shapely 1.8.0 on GitHub - NewReleases.io
Shapely 1.8.0 supports only Python versions >= 3.6. The release is compatible with GEOS versions 3.6-3.10. Deprecations. The following functions and geometry ...
Read more >GeoPandas on Twitter: "Shapely 1.8 (alpha release) adds a ...
Shapely 1.8 (alpha release) adds a bunch of deprecation warnings for upcoming changes in Shapely 2.0. If you are using Shapely, please test!...
Read more >Shapely Documentation - Read the Docs
The Shapely 1.8 release included several deprecation warnings about API changes that would happen in Shapely 2.0.
Read more >Shapely 1.8.0 - Sean Gillies
Shapely 1.8.0 is a transitional version. There are a few bug fixes and new features, but it largely exists to warn about the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve just now deprecated the almost_equals() method we talked about in #889.
Yes, the issue for the empty geometry is: