OpenStreetMapX: How to efficiently convert node_id to vertex_id?

Thanks @Dan . I’ll give it a try. I was hoping to find a builtin function inside osmx itself. There are some covert options but whatever I tired it returns incompatible type.

So, for k path I need to wrap getindex.(m.v, path[i]) into a for loop, right?

for i in 1:length(paths)
     verticies = getindex.(m.v, path[i])
end

Yes, I wanted to attach a simple file as a file path but as its *.osm, I was unable to do so. Sorry about that. This is a very small map.