GraphHopper.com | Forum | GitHub | Maps | Blog

Weighting not "exactly" equal to loaded


#1

I am curious why a java.lang.IllegalStateException is thrown when the loaded ch graph are a superset of the one required in the request:

Exception in thread "main" java.lang.IllegalStateException: Configured graph.ch.weightings: [fastest|car] is not equal to loaded [shortest|car, fastest|car]

My expectation would be that since more is loaded than needed, it will work.


#2

This should be possible in the latest master. Feedback would be appreciated :slight_smile: