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. |
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. 2
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
1
then also have a look at http://www.openrouteservice.org 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. |
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. how is that related to the original question? I cannot see anything about steps there.
(06 Apr '17, 07:09)
aseerel4c26 ♦
|