Why not ask your question on the new 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 http://www.openstreetmap.org/directions?engine=osrm_car&route=-34.8217%2C140.7287%3B-34.4873%2C140.6614#map=11/-34.6431/140.6549

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 http://wiki.openstreetmap.org/wiki/Routing/online_routers 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 GPSies.com 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 OpenStreetMap.org.

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.

GET http://router.project-osrm.org/route/v1/driving/-0.8854,52.1985;-2.27117,51.0349?geometries=geojson&steps=true

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

question was seen: 7,348 times

last updated: 06 Apr '17, 07:10

powered by OSQA