Is there a way to feed graphhopper with regions that are preferable?

I’d like to use graphhopper to help plan f.e. hiking trips. Is there a way to tell graphhopper that certain areas or paths are nicer than others? Like during import saying that a certain region is nicer and therefore going through there minimized costs?
I am totally new to graphhopper, so don’t yet know much about how it imports data and so on…

Thanks,
Georg

This is possible with the priorities. Have a look at the various encoders for bike and hiking that does this, e.g. https://github.com/graphhopper/graphhopper/blob/master/core/src/main/java/com/graphhopper/routing/util/HikeFlagEncoder.java#L115

1 Like