From bdd20558a7befaa6bf8ed7890460a484bfcd79a8 Mon Sep 17 00:00:00 2001 From: afischerdev Date: Tue, 25 Feb 2025 10:28:45 +0100 Subject: [PATCH] enable add_beeline for the profiles --- misc/profiles2/car-vario.brf | 7 ++++--- misc/profiles2/gravel.brf | 2 +- misc/profiles2/hiking-mountain.brf | 2 +- misc/profiles2/moped.brf | 2 +- misc/profiles2/mtb.brf | 2 +- misc/profiles2/river.brf | 2 +- misc/profiles2/trekking.brf | 2 +- 7 files changed, 10 insertions(+), 9 deletions(-) diff --git a/misc/profiles2/car-vario.brf b/misc/profiles2/car-vario.brf index 0d59d8a..c992b26 100644 --- a/misc/profiles2/car-vario.brf +++ b/misc/profiles2/car-vario.brf @@ -17,7 +17,8 @@ assign avoid_toll = false # %avoid_toll% | Avoid paid roads | boolean assign avoid_unpaved = false # %avoid_unpaved% | Avoid unpaved roads, if possible | boolean assign avoid_motorways = false # %avoid_motorways% | Avoid motorways | boolean -assign use_dynamic_range = false # %use_dynamic_range% | Enable distant start/end points | boolean +assign add_beeline = false # %add_beeline% | Enable beeline on distant start/end points | boolean +assign use_offroad = false # %use_offroad% | Enable additional roads | boolean # Kinematic model parameters assign vmax = 90 # %vmax% | Target speed (in km/h) | number @@ -61,8 +62,8 @@ assign caraccess switch highway=secondary|secondary_link 1 switch highway=tertiary|tertiary_link 1 switch highway=unclassified 1 - switch and highway=track use_dynamic_range 1 - switch and highway=road use_dynamic_range 1 + switch and highway=track use_offroad 1 + switch and highway=road use_offroad 1 switch route=ferry 1 switch isresidentialorliving 1 switch highway=service 1 diff --git a/misc/profiles2/gravel.brf b/misc/profiles2/gravel.brf index 5485234..2b4a120 100644 --- a/misc/profiles2/gravel.brf +++ b/misc/profiles2/gravel.brf @@ -8,7 +8,7 @@ assign turnInstructionRoundabouts true # %turnInstructionRoundabouts% | Special assign considerTurnRestrictions true assign turnInstructionMode 1 # %turnInstructionMode% | Mode for the generated turn-by-turn directions | [0=none, 1=auto-choose, 2=locus-style, 3=osmand-style, 4=comment-style, 5=gpsies-style, 6=oruxmaps-style] -assign use_dynamic_range = false # %use_dynamic_range% | Enable distant start/end points | boolean +assign add_beeline false # %add_beeline% | Enable beeline on distant start/end points | boolean #assign processUnusedTags true assign pass1coefficient 4 diff --git a/misc/profiles2/hiking-mountain.brf b/misc/profiles2/hiking-mountain.brf index 35ab16e..3f51635 100644 --- a/misc/profiles2/hiking-mountain.brf +++ b/misc/profiles2/hiking-mountain.brf @@ -44,7 +44,7 @@ assign initialcost_value 0 # not used now assign allow_steps true # %allow_steps% | Set to false to disallow steps | boolean assign allow_ferries true # %allow_ferries% | set to false to disallow ferries | boolean -assign use_dynamic_range false # %use_dynamic_range% | Enable distant start/end points | boolean +assign add_beeline false # %add_beeline% | Enable beeline on distant start/end points | boolean assign cost_of_unknown 2 # 2 as default diff --git a/misc/profiles2/moped.brf b/misc/profiles2/moped.brf index e270fbf..3d9739a 100644 --- a/misc/profiles2/moped.brf +++ b/misc/profiles2/moped.brf @@ -16,7 +16,7 @@ assign uphillcutoff 0 assign validForBikes 1 assign validForCars 1 -assign use_dynamic_range = false # %use_dynamic_range% | Enable distant start/end points | boolean +assign add_beeline = false # %add_beeline% | Enable beeline on distant start/end points | boolean assign turnInstructionMode = 1 # %turnInstructionMode% | Mode for the generated turn instructions | [0=none, 1=auto-choose, 2=locus-style, 3=osmand-style, 4=comment-style, 5=gpsies-style, 6=orux-style, 7=locus-old-style] diff --git a/misc/profiles2/mtb.brf b/misc/profiles2/mtb.brf index 3e52cc5..c267696 100644 --- a/misc/profiles2/mtb.brf +++ b/misc/profiles2/mtb.brf @@ -12,7 +12,7 @@ # bstart /global ---context:global - assign use_dynamic_range = false # %use_dynamic_range% | Enable distant start/end points | boolean + assign add_beeline false # %add_beeline% | Enable beeline on distant start/end points | boolean assign iswet 0 # 0 as default, *) flag for weather conditions assign turnInstructionMode = 1 # 0=none, 1=auto-choose, 2=locus-style, 3=osmand-style diff --git a/misc/profiles2/river.brf b/misc/profiles2/river.brf index 45fa29f..2ccf231 100644 --- a/misc/profiles2/river.brf +++ b/misc/profiles2/river.brf @@ -2,7 +2,7 @@ # the elevation parameters -assign use_dynamic_range = false # %use_dynamic_range% | Enable distant start/end points | boolean +assign add_beeline = false # %add_beeline% | Enable beeline on distant start/end points | boolean assign downhillcost 0 assign downhillcutoff 1.5 diff --git a/misc/profiles2/trekking.brf b/misc/profiles2/trekking.brf index 0ad1f6c..4de3ba3 100644 --- a/misc/profiles2/trekking.brf +++ b/misc/profiles2/trekking.brf @@ -15,7 +15,7 @@ assign ignore_cycleroutes = false # %ignore_cycleroutes% | Set true for assign stick_to_cycleroutes = false # %stick_to_cycleroutes% | Set true to just follow cycleroutes | boolean assign avoid_unsafe = false # %avoid_unsafe% | Set true to avoid standard highways | boolean -assign use_dynamic_range = false # %use_dynamic_range% | Enable distant start/end points | boolean +assign add_beeline = false # %add_beeline% | Enable beeline on distant start/end points | boolean assign consider_noise = false # %consider_noise% | Activate to prefer a low-noise route | boolean assign consider_river = false # %consider_river% | Activate to prefer a route along rivers, lakes, etc. | boolean