we are using graphhopper to (pre)calculate routing information in an emergency context utilizing the java api and osm. We have created several FlagEncoders honoring our specialized needs. This is working very well.
We are currently trying to improve our routing be identifying e. g. barriers which e.g. cannot be passed by normal traffic but can be used in an emergency context (much like the restricted value “emergency”).
Instead of modifying osm data we would like to manipulate the data from within the graphhopper java api after loading the osm data. The idea would be to provide a list of e.g. OSM IDs and modify the barrier handling.
Is there a way or a better approach to achieve this? Pointers appreciated.