Closed CJBarry closed 3 months ago
That is incorrect. With shapely >=2, all geometry objects are exposed on top level. So shapely.Point
is correct and is a recommended pattern.
Indeed, as @martinfleis points out (thanks!), with the latest shapely versions, you can import the geometry objects directly on top level.
The code needs
shapely.geometry.Point
, not simplyshapely.Point
.