【发布时间】:2021-10-16 09:38:53
【问题描述】:
说,我使用 osmnx 最短路径找到了从 start_node 到 end_node 的最短路径/路线。下面是示例代码:
route = nx.shortest_path(g, start_node, end_node, weight='length')
shortest_dist = nx.shortest_path_length(g, start_node, end_node, weight='length')
如何获得最短路线每 100 m 的经纬度坐标。
【问题讨论】:
标签: geolocation coordinates geospatial shortest-path osmnx