尝试从osmnx python中的坐标绘制网络时出现类型错误

我想从一个点创建图形,但是它不起作用并显示此错误:

TypeError: descriptor '_nodes' for 'NodeView' objects doesn't apply to 'NodeView' object

我的代码如下:

import osmnx as ox
coordinates=(4.604106,-74.065871)
G = ox.graph_from_point(coordinates,simplify=True,distance=400,network_type='all')
ox.plot_graph(G)

请帮助。

geaixin520 回答:尝试从osmnx python中的坐标绘制网络时出现类型错误

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3106191.html

大家都在问