Interoperability with shapely affinity module
See original GitHub issueShapely’s affinity module expects a tuple with the (a, b, d, e, xoff, yoff)
order. I suggest adding a method to the Affine
class to improve interoperability with shapely.
Let me know if that’s an interesting proposal and I’ll send a PR.
Loïc
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:9 (7 by maintainers)
Top Results From Across the Web
Interoperability with shapely affinity module · Issue #51 - GitHub
Shapely's affinity module expects a tuple with the (a, b, d, e, xoff, yoff) order. I suggest adding a method to the Affine...
Read more >The Shapely User Manual — Shapely 2.0.0 documentation
affinity module, which return transformed geometries by either directly supplying coefficients to an affine transformation matrix, or by using a specific, named ...
Read more >Shapely Documentation - Read the Docs
Shapely is a BSD-licensed Python package for manipulation and analysis of planar geometric objects. It is using.
Read more >shapely 1.4.3 - 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 >Python, shapely library: is it possible to do an affine operation ...
Shapely's affinity module supports affine transformations on any geometry, for example: from shapely import affinity from shapely.geometry ...
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’d still prefer
to_shapely
to keep the term simple and within the Python realm of things. (Also, the ST_ prefix used by PostGIS generally means “spatial type”, in case anyone is curious).Thanks for following up, @mwtoews!
I should have looked a little closer at the source here in the repo - I just sort of assumed since the method wasn’t showing up in my fresh
pip
install, and this issue was still open that it wasn’t in yet.I’ll just install from source here on git for the time being. Thanks for your work on this useful package.