I’m wanting to use foot encoding but remove the use of footpaths and unsure how to go about it.
GraphHopper graphHopper = new GraphHopper().setGraphHopperLocation(LocationGrapphopperFiles) .setEncodingManager(new EncodingManager("car,bike,foot")) .setOSMFile(LocationRoutingFile) .forDesktop();
This is so I can view routes for Car,Bike or Foot.
But for only foot I want to change
Where I get stuck is how to override FootFlagEncoder to remove specific HighwayTags.
Is anyone able to provide some insight of what I should be doing to remove the use of footpaths?