Why not ask your question on the new OpenStreetMap Community Forum?

I'm trying to export a route from openstreetmap, as I'm writing an article for a cycling company in Majorca. I can see how to select a specific area on the map, but can't work out how to select a route and also create a cross section of the altitude of the route. (like this: http://mallorcacycling.co.uk/mallorca-cycle-routes/sa-calobra-route/) I have little coding knowledge, so if there's a simple way to create this using the info already in openstreetmap that would be great. Thanks

asked 11 Jul '16, 15:29

ClaireY's gravatar image

accept rate: 0%

edited 11 Jul '16, 15:35

SomeoneElse's gravatar image

SomeoneElse ♦

Thanks Piskvor - that's really helpful. I'm embedding maps into a website for users to view. So I think graphhopper is the ideal solution. thanks:-)

(11 Jul '16, 16:33) ClaireY

Are you trying to do this as a user, or make a website which calculates this for users?

Is this what you're trying to get? https://graphhopper.com/maps/?point=39.582936%2C2.671051&point=39.760519%2C2.868805&locale=cs-CZ&vehicle=bike&weighting=fastest&elevation=true&layer=Omniscale

If doing this as a developer: elevation is not really a part of the OSM data. However, there are projects combining various free sources (OSM for maps and SRTM for elevation). Some of them are specifically geared towards cycle routing, such as https://www.cyclestreets.net/ (code is at https://github.com/cyclestreets )

Apparently Graphhopper also makes this possible: https://graphhopper.com/blog/2015/04/21/elevation-data-and-openstreetmap/

permanent link

answered 18 Jul '16, 07:55

Piskvor's gravatar image

accept rate: 37%

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 Jul '16, 15:29

question was seen: 3,135 times

last updated: 26 Feb '19, 07:51

powered by OSQA