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 SomeoneElse ♦ |
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/ answered 18 Jul '16, 07:55 Piskvor |
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:-)