change some default values

This commit is contained in:
Patrick Brosi 2022-02-01 01:59:42 +01:00
parent 760998144f
commit db437e1d95
2 changed files with 7 additions and 7 deletions

View file

@ -380,7 +380,7 @@ osm_lvl7_avg_speed: 5
routing_full_turn_penalty: 180 # 3 minutes
# Penalty added to non-station placements
routing_non_station_penalty: 0.5
routing_non_station_penalty: 0.3
# If the station name does not match, add this penalty
routing_station_unmatched_penalty: 0.3
@ -796,7 +796,7 @@ routing_station_unmatched_penalty: 0.2
routing_full_turn_penalty: 120 # 2 minutes
# Penalty added to non-station placements
routing_non_station_penalty: 0.5
routing_non_station_penalty: 0.3
# Max angle that should be counted as a full turn
routing_full_turn_angle: 20
@ -992,7 +992,7 @@ osm_lvl7_avg_speed: 5
routing_full_turn_penalty: 180 # 3 minutes
# Penalty added to non-station placements
routing_non_station_penalty: 0.5
routing_non_station_penalty: 0.3
# If the station name does not match, add this penalty
routing_station_unmatched_penalty: 0.3
@ -1127,7 +1127,7 @@ osm_lvl7_avg_speed: 5
routing_full_turn_penalty: 120 # 2 minutes
# Penalty added to non-station placements
routing_non_station_penalty: 0.5
routing_non_station_penalty: 0.3
# If the station name does not match, add this penalty
routing_station_unmatched_penalty: 0.3
@ -1293,7 +1293,7 @@ osm_lvl7_avg_speed: 5
routing_full_turn_penalty: 120 # 2 minutes
# Penalty added to non-station placements
routing_non_station_penalty: 0.5
routing_non_station_penalty: 0.3
# If the station name does not match, add this penalty
routing_station_unmatched_penalty: 0.3
@ -1391,7 +1391,7 @@ osm_lvl7_avg_speed: 5
routing_full_turn_penalty: 120 # 2 minutes
# Penalty added to non-station placements
routing_non_station_penalty: 0.5
routing_non_station_penalty: 0.3
# If the station name does not match, add this penalty
routing_station_unmatched_penalty: 0.3

View file

@ -269,7 +269,7 @@ void MotConfigReader::parse(const std::vector<std::string>& paths,
double ref = p.getDouble(secStr, "osm_max_osm_station_distance");
cfg.osmBuildOpts.maxOsmStationDistances.push_back(ref);
} else {
cfg.osmBuildOpts.maxOsmStationDistances.push_back(10);
cfg.osmBuildOpts.maxOsmStationDistances.push_back(15);
}
if (p.hasKey(secStr, "osm_max_node_block_distance")) {