Skip to content

Cycleroute preference

Poutnik edited this page Apr 21, 2017 · 13 revisions

The system of cycle route prioritization was reworked in incoming Trekking-Poutnik v2.6. ( currently develop branch )

  • It distinguishes cycleroutes ( CR )
    • as short distance ones SDCR ( Local LCN and regional RCN ) and
    • long distance ones - LDCR ( national NCN and international ICN )
  • The numerical parameter cycleroute_pref with value range 0.0 - 1.0 remains.
  • The raw costfactor CF is modified as CF = CF + correction.
  • For non cycleroutes, correction = cycleroute_pref, i.e. CF is between CF and CF + 1
  • For ICN: correction = "boostcoef " = ( 1 - CF ) * cycleroute_pref. I.e. CF is between CF and 1.0
  • For NCN and "local" cycleroutes ( LCN, RCN ), the correction is a weighted average of the above corrections.
    • lcrcoef = cycleroute_pref * 1.0
    • ncrcoef = cycleroute_pref * 0.2
    • NCN correction = cycleroute_pref * ncrcoef + boostcoef * ( 1 - ncrcoef )
    • LCN correction = cycleroute_pref * lcrcoef + boostcoef * ( 1 - lcrcoef )

CF=Costfactor, CR=cycleroute, CRP=cycleroute_pref, LCR/RCR/NCR/ICN = Local/Regional/National/International cycleroute

Mod Values Effects
Ignore cycleroutes 0.0 Marking as cycleroute has no effect
Short distance trips <=0.2 mildly penalizes non CRs
Mediums distance treks 0.3 .. 0.7 Penalizes non CRs, prefers short distance cycleroutes, strongly prefers long distance cycleroute.
Long distance treks >=0.8 ICN strongly pushed toward CF=1.0, NCN mildly penalized. Strongly penalizes short distance CRs and even more non CRs. Aimed for following long distance cycleroutes, mainly ICN.

You can see 3 charts, for roads having initially costfactor 1.0, 1.5 and 2.5.
The cycleroute preference is on the horizontal axis. The final costfactor is on the vertical axis. Green is CF for ICN, Blue for NCN, Orange for LCN/RCN, Grey for nonCR. Red is the original CF.

New Trekking cycleroute_pref graph

Clone this wiki locally