[openstreetmap/openstreetmap-website] Include car profile for GraphHopper routing (#1547)
Peter
notifications at github.com
Mon May 22 21:41:19 UTC 2017
karussell commented on this pull request.
> @@ -79,5 +80,6 @@ function GraphHopperEngine(id, vehicleType) {
};
}
-OSM.Directions.addEngine(new GraphHopperEngine("graphhopper_bicycle", "bike"), true);
-OSM.Directions.addEngine(new GraphHopperEngine("graphhopper_foot", "foot"), true);
+OSM.Directions.addEngine(new GraphHopperEngine("graphhopper_car", "car", true), true);
We disable contraction hierarchies for car as we currently have not implemented CH with turn restrictions. But disabling CH now falls back to [a still fast enough algorithm](https://github.com/graphhopper/graphhopper/pull/780) that supports turn restrictions. For the others vehicle profiles: there is no reason yet to not use CH.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1547#discussion_r117852359
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170522/39564194/attachment.html>
More information about the rails-dev
mailing list