我想从匀称的点创建一个多边形。
from shapely import geometry
p1 = geometry.Point(0,0)
p2 = geometry.Point(1,0)
p3 = geometry.Point(1,1)
p4 = geometry.Point(0,1)
pointList = [p1, p2, p3, p4, p1]
poly = geometry.Polygon(pointList)
给我一个类型错误TypeError: object of type 'Point' has no len()
如何Polygon
从匀称的Point
物体创建一个?