I thought I had a solution for private road access but it appears not
Is this the correct method to add private road access for foot vehicle? GH 4.0
customModel model = new CustomModel();
model.addToPriority(If("road_access == PRIVATE", MULTIPLY, 1.0));
graphHopper.setProfiles(Arrays.asList(
new CustomProfile("van").setCustomModel(new CustomModel(model)).setVehicle("car").setTurnCosts(true).putHint("u_turn_costs", 3),
new CustomProfile("newWalk").setCustomModel(new CustomModel(model)).setVehicle("foot")
));
Do you want to exclude roads with road_access=private for your model? If yes you need to multiply the priority by 0, not 1. Multiplying by 1 has no effect.