I've been trying to query some edge information from an exported network from Openstreet map via this package OpenstreetmapX.jl . However, it appears that some functionality are not directly available. For instance:
Suppose you have a set of links in the form of Vector{Tuple{Int64, Int64}} and you wish to identify their distance, travel time, and class type. I know for the distance you can call something like the following command:
Links = [(301972446, 60649731)
(60649731, 301972446)
(2505989518, 2489651510)
(2489651510, 60649731)
(60649731, 301972503)
(267224410, 2895172669)
(2895172669, 267224410)
(582794232, 582794289)]
# for example to know the distance of the first edge in Link set
distance(map.nodes[links[1][1]],map.nodes[links[1][2]] )
But this is not efficient. Is there anything that directly return the distance, time, and class of each edges? Like:
distance( (582794232, 582794289))
distance( links[1])
time(links[1])
class(links[1])