pszufe / OpenStreetMapX.jl

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

Order of edges in `.e` and `.class` #69

Open mschauer opened 1 year ago

mschauer commented 1 year ago

It is a bit confusing that the order of edges in maps.e doesn't respect the order edges(mapx.g) gives.

julia> collect(edges(mapx.g))[100]
Edge 62 => 63

julia> mapx.n[ans.src], mapx.n[ans.dst]
(140183299, 300033881)

julia> mapx.e[100]
(140251695, 140251692)