在进行出租车数据地图匹配中将.pbf格式的osm路网数据,转化为link和节点这一步时,运行如下代码后出现cannot unpack non-iterable numpy.float64 object的错误,请问该如何解决呢?
import osm2gmns as og
net = og.getNetFromFile('D:/benkebishe/china-latest.osm_01.pbf', network_types='auto',link_types={'motorway', 'trunk', 'primary', 'secondary', 'tertiary', 'residential', 'service', 'unclassified', 'connector'},strict_mode=False,combine=True,)
og.consolidateComplexIntersections(net, auto_identify=True)
og.outputNetToCSV(net)