From 247169a7c73b50ab524251a7f8cfa0a939940100 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Fri, 15 Jul 2011 22:07:37 +0200 Subject: [PATCH] Slightly fix bicycle routing exclude bridleway --- .../src/net/osmand/router/BicycleRouter.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DataExtractionOSM/src/net/osmand/router/BicycleRouter.java b/DataExtractionOSM/src/net/osmand/router/BicycleRouter.java index 7e7f3375e7..0e19164116 100644 --- a/DataExtractionOSM/src/net/osmand/router/BicycleRouter.java +++ b/DataExtractionOSM/src/net/osmand/router/BicycleRouter.java @@ -32,10 +32,10 @@ public class BicycleRouter extends VehicleRouter { bicycleNotDefinedValues.put("path", 4d); bicycleNotDefinedValues.put("living_street", 5d); bicycleNotDefinedValues.put("pedestrian", 3d); - bicycleNotDefinedValues.put("footway", 3d); + bicycleNotDefinedValues.put("footway", 4d); bicycleNotDefinedValues.put("byway", 4d); bicycleNotDefinedValues.put("cycleway", 6d); - bicycleNotDefinedValues.put("bridleway", 5d); + bicycleNotDefinedValues.put("bridleway", 3d); bicycleNotDefinedValues.put("services", 5d); bicycleNotDefinedValues.put("steps", 1d); @@ -62,9 +62,9 @@ public class BicycleRouter extends VehicleRouter { bicyclePriorityValues.put("footway", 0.9d); bicyclePriorityValues.put("byway", 1d); bicyclePriorityValues.put("cycleway", 1.3d); - bicyclePriorityValues.put("bridleway", 1d); + bicyclePriorityValues.put("bridleway", 0.8d); bicyclePriorityValues.put("services", 1d); - bicyclePriorityValues.put("steps", 0.5d); + bicyclePriorityValues.put("steps", 0.6d); } public boolean acceptLine(TagValuePair pair) {