
21 Feb
2010
21 Feb
'10
10:16 a.m.
Hello Marko, + new AccessMapping("motor_vehicle", RoadNetwork.NO_CAR), That's not enough because if motor_vehicle=no, you also want stop psv/taxi/emergency/hgv. It's more like: String mv = way.getTag("motor_vehicle"); if(accessExplicitlyDenied(mv)) { way.addTag("motorcar", "no"); // and so on for the other motor vehicle types } else if(accessExplicitlyAllowed(mv)) { way.addTag("motorcar", "yes"); // ... } That will get the Java to do what some people have been doing in the style file. Mark