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

Hi! It-it possible to draw an itinerary (for example between two cities), with polylines folowing automatiquely the curves on the roads? This itinerary is due to be be exported to GPS format. Thank you.

asked 25 Mar '15, 09:47

achat2015's gravatar image

accept rate: 0%

edited 06 Apr '17, 07:10

aseerel4c26's gravatar image

aseerel4c26 ♦

I'm not sure what you mean. The routing certainly follows the road contours

Do you mean to export a map only dislaying the route plus nearby roads within 200 metres of the track or similar.

or do you just want to export the displayed route (using the osm routing link) to a .gpx file to load into a GPS receiver like a garmin. If this is what you require, select 'Directions courtesy of OSRM' at the bottom of the 'Directions' section and the OSRM site will offer a download of a .gpx file if you re-enter the start and end locations in that routing page.

permanent link

answered 25 Mar '15, 11:00

nevw's gravatar image

accept rate: 9%

edited 25 Mar '15, 12:38


Ok! Thank's, the routing is that I wanted. I'll export only the track to my Garmin, not a buffer. I'll try to built my europeen itinerary of 1500 km. Thank you again.

(25 Mar '15, 13:59) achat2015

then also have a look at

or in general to see services that can export a calculated route as GPX.

(25 Mar '15, 17:52) stephan75

It is possible, this is what allows you to do. I'm not sure whether they use OpenStreetMap data for the underlying roads. So you can develop a similar service if you wish.

It is not possible on

permanent link

answered 25 Mar '15, 11:21

escada's gravatar image

accept rate: 21%

You can use OSRM to get each steps on the route.


Here, make sure steps=true.

If draw all the coordinates in legs.steps.geometry.coordinates, you will get what you want.

permanent link

answered 06 Apr '17, 06:39

opturion-cy's gravatar image

accept rate: 0%

how is that related to the original question? I cannot see anything about steps there.

(06 Apr '17, 07:09) aseerel4c26 ♦

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]( "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: 25 Mar '15, 09:47

question was seen: 7,739 times

last updated: 06 Apr '17, 07:10

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