2
我希望在给定的多边形中相交的点的结果,但是出现错误。如何在Pysal中使用Shapefile
我的代码是:
from pysal.cg.standalone import get_polygon_point_intersect
poly=pysal.open('Busroute_buffer.shp')
point=pysal.open('pmpml_24.shp')
i=get_polygon_point_intersect(poly,point)
但我收到错误消息:
'PurePyShpWrapper' 对象有没有属性 'bounding_box'