I need to export data information (max speed limit, highway typology, surface typology) from a route selected. The route would be exported from the navigator system, which would return the list of waypoints. My idea is that all the waypoints would be connected and make the several ways of the route. Then from the ways, I extract the information. But the problem is that I don't have any idea how to manage the problem. There's a web app, called brouter, that in general do what I would to obtain. I will appreciate every help.


asked 11 May, 11:54

Francescogrillo's gravatar image

accept rate: 0%

Maybe to sort out the problem a bit. This is what I understood. Correct me if I am wrong.

  1. You have a route defined by waypoints.
  2. Now you need to find the IDs of all the OSM ways the route is following.
  3. You want to extract certain information (max speed limit, highway type, surface, ...) from those ways.
(11 May, 13:28) TZorn

Yes, this is the idea. For example, this is what I'd obtain (see the Data section), obviously without this web interface. http://brouter.de/brouter-web/#map=10/45.1360/7.1205/standard,route-quality&lonlats=7.017349,45.116177;7.330383,45.119084

(11 May, 14:53) Francescogrillo

Hello, you should probably use overpass-turbo

If you want a CSV, try this with NNN = the ID of your route, and you can add in the first line any tag you want to see :

[out:csv(::"id", name, highway, maxspeed)];
way(r); out meta;
permanent link

answered 11 May, 12:09

zorglubu's gravatar image

accept rate: 7%

Ok, thanks, I'll try it. But the problem is that I don't know the ID of my route, I think.

(11 May, 12:20) Francescogrillo

Could you post a link OSM with a road belonging to this route, and its name ?

(11 May, 14:02) zorglubu
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 11 May, 11:54

question was seen: 130 times

last updated: 11 May, 14:58

powered by OSQA