diff --git a/CHANGELOG.md b/CHANGELOG.md index 9bc37d4664c..cfca475631b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - FIXED: Segfault in map matching when RouteLeg collapsing code is run on a match with multiple submatches - Guidance - CHANGED #4830: Announce reference change if names are empty + - CHANGED #4835: MAXIMAL_ALLOWED_SEPARATION_WIDTH increased to 12 meters - Profile: - FIXED: `highway=service` will now be used for restricted access, `access=private` is still disabled for snapping. - ADDED #4775: Exposes more information to the turn function, now being able to set turn weights with highway and access information of the turn as well as other roads at the intersection [#4775](https://github.com/Project-OSRM/osrm-backend/issues/4775) diff --git a/src/extractor/guidance/mergable_road_detector.cpp b/src/extractor/guidance/mergable_road_detector.cpp index 6184c445a80..381123b29da 100644 --- a/src/extractor/guidance/mergable_road_detector.cpp +++ b/src/extractor/guidance/mergable_road_detector.cpp @@ -469,7 +469,7 @@ bool MergableRoadDetector::HaveSameDirection(const NodeID intersection_node, 1, node_based_graph.GetEdgeData(rhs.eid).flags.road_classification.GetNumberOfLanes()); const auto combined_road_width = 0.5 * (lane_count_lhs + lane_count_rhs) * ASSUMED_LANE_WIDTH; - const auto constexpr MAXIMAL_ALLOWED_SEPARATION_WIDTH = 8; + const auto constexpr MAXIMAL_ALLOWED_SEPARATION_WIDTH = 12; return distance_between_roads <= combined_road_width + MAXIMAL_ALLOWED_SEPARATION_WIDTH; }