Updating SMART-GH to use the newest version of GraphHopper

If you are using CH then this should be fine also regarding query speed (for latest GH).

If you are using non-CH then I would recommend feeding the data (from redis) into GraphHopper before to avoid going to redis for every edge. The simplest way is to add a new EncodedValue and use that in a CustomWeighting to dynamically evaluate it and even change the influence of it depending on some per-request parameters. See my comment here: Change speed for certain vehicle profile

1 Like