Issue 2141

This commit is contained in:
sonora 2016-01-14 08:58:14 +01:00
parent ba33fcd44a
commit d738f40228

View file

@ -108,7 +108,9 @@ public class AlarmInfo implements LocationPoint {
alarmInfo = new AlarmInfo(AlarmInfoType.HAZARD, locInd);
} else if ("railway".equals(ruleType.getTag()) && "level_crossing".equals(ruleType.getValue())) {
alarmInfo = new AlarmInfo(AlarmInfoType.RAILWAY, locInd);
} else if ("crossing".equals(ruleType.getTag()) && "uncontrolled".equals(ruleType.getValue())){
// Issue 2141
//} else if ("crossing".equals(ruleType.getTag()) && "uncontrolled".equals(ruleType.getValue())){
} else if ("crossing".equals(ruleType.getTag()) && !"traffic_signals".equals(ruleType.getValue())){
alarmInfo = new AlarmInfo(AlarmInfoType.PEDESTRIAN, locInd);
}
if(alarmInfo != null) {