NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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.

Thanks

asked 11 May '21, 11:54

Francescogrillo's gravatar image

Francescogrillo
11112
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 '21, 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 '21, 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)];
relation(NNN);
way(r); out meta;
permanent link

answered 11 May '21, 12:09

zorglubu's gravatar image

zorglubu
324126
accept rate: 15%

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

(11 May '21, 12:20) Francescogrillo

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

(11 May '21, 14:02) zorglubu

Follow this question

By Email:

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

By RSS:

Answers

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:

×179
×19
×14

question asked: 11 May '21, 11:54

question was seen: 1,249 times

last updated: 11 May '21, 14:58

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum