From 9d5ecb93ad262dd9af3cebcfceb6e2d6db7b1328 Mon Sep 17 00:00:00 2001 From: Arndt Date: Sun, 11 Dec 2016 20:24:09 +0100 Subject: [PATCH] disable tr-logic in final pass to preserve voice-hints --- brouter-core/src/main/java/btools/router/OsmPath.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/brouter-core/src/main/java/btools/router/OsmPath.java b/brouter-core/src/main/java/btools/router/OsmPath.java index 77fd85a..d413936 100644 --- a/brouter-core/src/main/java/btools/router/OsmPath.java +++ b/brouter-core/src/main/java/btools/router/OsmPath.java @@ -205,7 +205,8 @@ final class OsmPath implements OsmLinkHolder // TODO: TRs for inverse routing would need inverse TR logic, // inverse routing for now just for target island check, so don't care (?) - checkTRs = rc.considerTurnRestrictions && !rc.inverseDirection; + // in detail mode (=final pass) no TR to not mess up voice hints + checkTRs = rc.considerTurnRestrictions && !rc.inverseDirection && !detailMode; } if ( checkTRs )