Add RouteTypeRule type STOP

This commit is contained in:
sonora 2017-10-28 13:47:24 +02:00
parent cb8de77e33
commit 5470a5e693

View file

@ -52,6 +52,7 @@ public class BinaryMapRouteReaderAdapter {
public final static int TRAFFIC_SIGNALS = 6; public final static int TRAFFIC_SIGNALS = 6;
public final static int RAILWAY_CROSSING = 7; public final static int RAILWAY_CROSSING = 7;
private final static int LANES = 8; private final static int LANES = 8;
private final static int STOP = 9;
private final String t; private final String t;
private final String v; private final String v;
private int intValue; private int intValue;
@ -150,6 +151,8 @@ public class BinaryMapRouteReaderAdapter {
} }
} else if(t.equalsIgnoreCase("highway") && "traffic_signals".equals(v)){ } else if(t.equalsIgnoreCase("highway") && "traffic_signals".equals(v)){
type = TRAFFIC_SIGNALS; type = TRAFFIC_SIGNALS;
} else if(t.equalsIgnoreCase("highway") && "stop".equals(v)){
type = STOP;
} else if(t.equalsIgnoreCase("railway") && ("crossing".equals(v) || "level_crossing".equals(v))){ } else if(t.equalsIgnoreCase("railway") && ("crossing".equals(v) || "level_crossing".equals(v))){
type = RAILWAY_CROSSING; type = RAILWAY_CROSSING;
} else if(t.equalsIgnoreCase("roundabout") && v != null){ } else if(t.equalsIgnoreCase("roundabout") && v != null){