Skip to content

BRouter “Mountainous” #595

Answered by poutnikl
Leeb64 asked this question in Q&A
Jul 12, 2024 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

You can use built-in variable downhillcostfactor and uphillcostfactor. They are by default equal to costfactor, but you can set them to any value by suitable expression. They replace costfactor if up/downhillcutoff is crossed.

I used this approach in one on-demand profile for some crazy MTB biker (Trekking-hilly-path), which explicitly looked for uphills and downhills.

I use downhillcostfactor and uphillcostfactor in bike profiles generally, but just for tweeking costfactor for inclines on some surfaces. E.g. gravel or grass are not so much fun for bike climbing or downhill, if you are not hard core.

See also my Glossary page on GitHub.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Leeb64
Comment options

@devemux86
Comment options

@Leeb64
Comment options

@poutnikl
Comment options

Answer selected by devemux86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants