add dummyUsage to certain profiles
If BRouter calculates a route with a cycling or hiking profile, the `smoothness` tag is included in the response. That enables a statistical analysis for the calculated route (distribution of smoothness tags by distance). See the analysis sidebar at https://brouter.m11n.de/ for an example.
This commit is contained in:
parent
0841216cda
commit
7da925a212
8 changed files with 19 additions and 3 deletions
|
|
@ -237,7 +237,10 @@ assign costfactor
|
|||
switch highway=tertiary|tertiary_link|unclassified switch ismuddy 2.0 switch iswet switch issidewalk 1.4 1.7
|
||||
switch issidewalk 1.7 2.0
|
||||
|
||||
add cost_of_unknown ( switch ismuddy 0.5 0.0 )
|
||||
add cost_of_unknown ( switch ismuddy 0.5 0.0 )
|
||||
|
||||
# include `smoothness=` tags in the response's WayTags for track analysis
|
||||
assign dummyUsage = smoothness=
|
||||
|
||||
---context:node # following code refers to node tags
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue