|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
Python是3.6.4的
运行时一直报错,错误如下:
Traceback (most recent call last):
File "C:\Users\A\Desktop\GlobalEnviStructWithSquare.py", line 174, in <module>
ans = intersection_recognition(singleCornerslist, lons, lats) # 两个多边形交叉返回true,否则false
File "C:\Users\A\Desktop\GlobalEnviStructWithSquare.py", line 88, in intersection_recognition
(singleCornerslist[2].x, singleCornerslist[2].y), (singleCornerslist[3].x, singleCornerslist[3].y)])
File "D:\python3.6.4\lib\site-packages\shapely\geometry\polygon.py", line 261, in __init__
ret = geos_polygon_from_py(shell, holes)
File "D:\python3.6.4\lib\site-packages\shapely\geometry\polygon.py", line 539, in geos_polygon_from_py
ret = geos_linearring_from_py(shell)
File "shapely\speedups\_speedups.pyx", line 413, in shapely.speedups._speedups.geos_linearring_from_py
ValueError: GEOSGeom_createLinearRing_r returned a NULL pointer
请大家帮忙看一下问题出在哪里 |
|