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
|
@ -331,6 +331,8 @@ assign classifiermask
|
||||||
add multiply islinktype 8
|
add multiply islinktype 8
|
||||||
multiply isgoodforcars 16
|
multiply isgoodforcars 16
|
||||||
|
|
||||||
|
# include `smoothness=` tags in the response's WayTags for track analysis
|
||||||
|
assign dummyUsage = smoothness=
|
||||||
|
|
||||||
---context:node # following code refers to node tags
|
---context:node # following code refers to node tags
|
||||||
|
|
||||||
|
|
|
@ -260,6 +260,8 @@ assign classifiermask add isbadoneway
|
||||||
add multiply islinktype 8
|
add multiply islinktype 8
|
||||||
multiply isgoodforcars 16
|
multiply isgoodforcars 16
|
||||||
|
|
||||||
|
# include `smoothness=` tags in the response's WayTags for track analysis
|
||||||
|
assign dummyUsage = smoothness=
|
||||||
|
|
||||||
---context:node # following code refers to node tags
|
---context:node # following code refers to node tags
|
||||||
|
|
||||||
|
|
|
@ -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 highway=tertiary|tertiary_link|unclassified switch ismuddy 2.0 switch iswet switch issidewalk 1.4 1.7
|
||||||
switch issidewalk 1.7 2.0
|
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
|
---context:node # following code refers to node tags
|
||||||
|
|
||||||
|
|
|
@ -144,6 +144,8 @@ assign classifiermask add isbadoneway
|
||||||
add multiply islinktype 8
|
add multiply islinktype 8
|
||||||
multiply isgoodforcars 16
|
multiply isgoodforcars 16
|
||||||
|
|
||||||
|
# include `smoothness=` tags in the response's WayTags for track analysis
|
||||||
|
assign dummyUsage = smoothness=
|
||||||
|
|
||||||
---context:node # following code refers to node tags
|
---context:node # following code refers to node tags
|
||||||
|
|
||||||
|
|
|
@ -114,6 +114,9 @@ assign classifiermask add multiply isroundabout 4
|
||||||
add multiply islinktype 8
|
add multiply islinktype 8
|
||||||
multiply isgoodforcars 16
|
multiply isgoodforcars 16
|
||||||
|
|
||||||
|
# include `smoothness=` tags in the response's WayTags for track analysis
|
||||||
|
assign dummyUsage = smoothness=
|
||||||
|
|
||||||
---context:node # following code refers to node tags
|
---context:node # following code refers to node tags
|
||||||
|
|
||||||
assign defaultaccess
|
assign defaultaccess
|
||||||
|
|
|
@ -301,6 +301,8 @@ assign classifiermask add isbadoneway
|
||||||
add multiply islinktype 8
|
add multiply islinktype 8
|
||||||
multiply isgoodforcars 16
|
multiply isgoodforcars 16
|
||||||
|
|
||||||
|
# include `smoothness=` tags in the response's WayTags for track analysis
|
||||||
|
assign dummyUsage = smoothness=
|
||||||
|
|
||||||
---context:node # following code refers to node tags
|
---context:node # following code refers to node tags
|
||||||
|
|
||||||
|
|
|
@ -396,7 +396,8 @@ assign classifiermask add isbadoneway
|
||||||
add multiply islinktype 8
|
add multiply islinktype 8
|
||||||
multiply isgoodforcars 16
|
multiply isgoodforcars 16
|
||||||
|
|
||||||
|
# include `smoothness=` tags in the response's WayTags for track analysis
|
||||||
|
assign dummyUsage = smoothness=
|
||||||
|
|
||||||
---context:node # following code refers to node tags
|
---context:node # following code refers to node tags
|
||||||
|
|
||||||
|
|
|
@ -396,7 +396,8 @@ assign classifiermask add isbadoneway
|
||||||
add multiply islinktype 8
|
add multiply islinktype 8
|
||||||
multiply isgoodforcars 16
|
multiply isgoodforcars 16
|
||||||
|
|
||||||
|
# include `smoothness=` tags in the response's WayTags for track analysis
|
||||||
|
assign dummyUsage = smoothness=
|
||||||
|
|
||||||
---context:node # following code refers to node tags
|
---context:node # following code refers to node tags
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue