Commit 9d31f8b 1 parent f41cc65 commit 9d31f8b Copy full SHA for 9d31f8b
File tree 1 file changed +1
-12
lines changed
src/main/java/org/opentripplanner/openstreetmap/tagmapping
1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -16,17 +16,6 @@ public boolean isGeneralNoThroughTraffic(OSMWithTags way) {
16
16
String access = way .getTag ("access" );
17
17
boolean isNoThroughTraffic = doesTagValueDisallowThroughTraffic (access );
18
18
19
- if (isNoThroughTraffic && way .hasTag ("customers" )) {
20
- String customers = way .getTag ("customers" );
21
- return !isAllowedThroughTrafficForHVV (access , customers );
22
- }
23
-
24
- return isNoThroughTraffic ;
25
- }
26
-
27
- private boolean isAllowedThroughTrafficForHVV (String access , String customers ) {
28
- boolean isAccessCustomers = "customers" .equals (access );
29
- boolean isHVV = "HVV" .equals (customers );
30
- return isAccessCustomers && isHVV ;
19
+ return isNoThroughTraffic && !way .isTag ("customers" , "HVV" );
31
20
}
32
21
}
You can’t perform that action at this time.
0 commit comments