Hello

I would like to know if it is possible from OSM to create a map with road (not track) with a gradient color about how much the slop is. For example: color from 3% to 20% per 20m.

I live in a place where it is very flat and I am looking to train more for climbing montain on my bike. I know few climb but I want to discover more.

I would love to have all road colored like this for example: https://help.locusmap.eu/public/attachments/54070186b043d0995b7137703d3b6e3f.png

asked 16 May, 09:29

n3b's gravatar image

n3b
11112
accept rate: 0%

edited 17 May, 10:52

SK53's gravatar image

SK53 ♦
27.4k47265424

Do you have access to the slope data or are you hoping to infer it from elsewhere? https://www.openstreetmap.org/way/232211240 looks like one of your roads and it appears that the slope information isn't in OSM.

(16 May, 09:52) SomeoneElse ♦

I though OSM have elevation data :/ Maybe instead do something base on https://wiki.openstreetmap.org/wiki/Key:incline ?

(16 May, 11:00) n3b
3

OSM doesn't have elevation data. The incline tag and similar is rarely used. You almost certainly want to look at SRTM or one of its many derivatives.

(16 May, 11:03) Richard ♦

Looks like other people have tried that before. E.g. https://ropensci.github.io/slopes/articles/roadnetworkcycling.html looks like a comprehensive guide how to accomplish your task.

(I haven't tried it myself. Just found it by googling)

permanent link

answered 16 May, 22:47

TZorn's gravatar image

TZorn
12.3k664222
accept rate: 15%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

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:

×64
×7
×1

question asked: 16 May, 09:29

question was seen: 424 times

last updated: 17 May, 10:52

powered by OSQA