Skip to content

Some shapely imports need to be fixed for compatibility with shapely v2.0 #258

@connorferster

Description

@connorferster

Describe the bug
Shapely 2.0 has been released (!!!) Yay!

However it seems that this kind of import:

import shapely

shapely.affinity.translate(geom, ...)

Needs to be replaced with this:

from shapely import affinity

affinity.translate(geom, ...)

To Reproduce
Steps to reproduce the behaviour:
Run test suite with shapely 2.0 installed

Additional context
Have not checked this out extensively. Need to see what the extent is...

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions