Looking at a bus route like this one, I would like to know how I could compute the total distance of the route. I can see that the route is compose of "ways" that I can export to XML. Adding up the lengths of all the "ways" comprising a route should give me what I want. But there is no length information nor any begin/end position in the XML. How can I get the length information about the "ways" comprising a route? asked 02 Jan '21, 10:10 tbus |
You could also use the Relation Analyzer answered 02 Jan '21, 15:23 nevw This is what I was looking for, thank you! Unfortunately I believe either the ways measurements or something else is wrong, because the real total length is considerably longer than that (~14 km vs 10.3km).
(02 Jan '21, 15:59)
tbus
1
Yes you are correct.
(03 Jan '21, 10:37)
nevw
|
I haven't used an XML file but GPS Babel might convert it to a GPX. The GPX could then be read by several mapping apps to read the distance you want. I rough solution could be to use the route arrow on the map page to measure sections of the bus route. answered 02 Jan '21, 11:16 andy mackey |
Using JOSM: The measurement tool is a plugin and you may also need the utilsplugin2, also may need to check 'Expert Mode' at the bottom left of the plugins page. Edit: distance of total bus route is incorrect because segments of road that are travelled in both directions are only counted once in the measured total. answered 02 Jan '21, 13:30 nevw |