说明:Shapely是一个Python库,用于操作和分析笛卡尔坐标系中的几何对象。
引入包
from shapely.geometry import Point
from shapely.geometry import LineString
共有的变量和方法
object.area
Returns the area (float) of the object.
object.bounds
返回对象的(minx,miny,maxx,maxy)元组(float类型)
object.length <weixin_38632006> 上传 | 大小:39kb