add more stict check for tags
This commit is contained in:
parent
54e9b29d9e
commit
0dc70df409
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ public class BinaryMapRouteReaderAdapter {
|
||||||
destinationTypeRule = id;
|
destinationTypeRule = id;
|
||||||
} else if (tags.equals("destination:ref") || tags.equals("destination:ref:forward") || tags.equals("destination:ref:backward")) {
|
} else if (tags.equals("destination:ref") || tags.equals("destination:ref:forward") || tags.equals("destination:ref:backward")) {
|
||||||
destinationRefTypeRule = id;
|
destinationRefTypeRule = id;
|
||||||
} else if (tags.endsWith("direction")) {
|
} else if (tags.equals("traffic_signals:direction") || tags.equals("give_way:direction") || tags.equals("stop:direction")) {
|
||||||
if (val.equals("forward")) {
|
if (val.equals("forward")) {
|
||||||
trafficSignalsDir.put(id, 1);
|
trafficSignalsDir.put(id, 1);
|
||||||
} else if (val.equals("backward")) {
|
} else if (val.equals("backward")) {
|
||||||
|
|
Loading…
Reference in a new issue