I am currently trying to create a routing map which will allow routing on any road regardless of it’s access rights.
But it seems I am unable to do this.
I have tried changing all access modifiers in the OSM data to have all roads be public access, and I have tried changing all barriers by either deleting them or by changing them to traffic_signals, hoping that that might allow me to route past the barrier. But nothing I have tried seems to work.
You could create your own flagencoder and override the acceptWay(ReaderWay way) to return always the acceptBit. That should accept all roads.
Also look into handleNodeTags(ReaderNode node) in AbstractFlagEncoder. Removing all barriers and potentialBarriers could do the trick or override the function to always return your desired value.
I assume then that I would need to import the project and create this new Encoder? I am currently just using the graphhopper-web-0.10.1-with-dep.jar file directly from Maven.
Are there any examples that I could perhaps reference on how to do this? (The creating my own encoder that is.)