Deprecate the shapely.geos module
See original GitHub issueTo do item for Shapely 1.8: find a way to raise deprecation warnings for functionality in the shapely.geos
module (as this will be completely removed in Shapely 2.0).
Although it’s not really documented / recommended, it will be used in practice I think.
Eg the WKTReader / WKTWriter (eg https://stackoverflow.com/a/29548439/653364), the lgeos
object to directly access GEOS functions (eg https://gis.stackexchange.com/a/226912/9828, we also did this in geopandas https://github.com/geopandas/geopandas/blob/8be1fd8b2a0b7691031d59b3a54275304db8aaa9/geopandas/io/sql.py#L58)
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Deprecate the shapely.geos module · Issue #928 - GitHub
To do item for Shapely 1.8: find a way to raise deprecation warnings for functionality in the shapely.geos module (as this will be...
Read more >Version 2.x — Shapely 2.0.0 documentation - Read the Docs
Shapely wraps the GEOS C++ library for use in Python. ... shapely.speedups module (the enable and disable functions) is deprecated and will ...
Read more >Shapely 1.2.19 - PyPI
Shapely is a BSD-licensed Python package for manipulation and analysis of planar geometric objects. It is based on the widely deployed GEOS (the...
Read more >Shapely Documentation - Read the Docs
module ) functions from the well known and widely deployed GEOS library. ... Note: In 1.8.0 shapely.ops.cascaded_union() is deprecated, ...
Read more >python - Is there some clashes between rasterio and shapely?
There can be problems if the two modules import different versions of the GEOS library. Ensure that you install both modules from 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
There’s nothing to be done for users who are tapping into the lgeos object, it’s going to be removed.
There are users of the format readers/writers, so let’s try to move them to shapely.wkt?
Yes. For what it’s worth, decisions where these modules should be put were made back in #63, so they were put in
shapyley.geos
, rather thanshapely.wkt
andshapely.wkb
.