pszufe / OpenStreetMapX.jl

OpenStreetMap (*.osm) support for Julia 1.0 and up
MIT License
118 stars 24 forks source link

Is there any egde equilvant of nodes_within_driving_time? #70

Open ghost opened 1 year ago

ghost commented 1 year ago

Hello,

The nodes_within_driving_time(map, [source], time_limit)[1] returns a set of nodes that are whithin driving time. Is there any edge_within_driving_time or path_within_driving_time? Or any idea of how to go from node_within to path_within?

pszufe commented 1 year ago

There may be several paths between two nodes having some driving time. Currently for each node you would need to look for the path. It would be though possible to program a modified A* (A-star) implementation that yields all edges.