[GIS] Using OSM for routes

openstreetmaprouterouting

Does anyone have any tutorial, link, video etc on how I can use Open Street Map for routes?
I know google maps and saw that I can easily do that. But this application will have an internal module and we can not afford the license.

Best Answer

GraphHopper (using OpenStreetMap Data)

GraphHopper offers memory efficient algorithms in Java for routing on graphs. E.g. Dijkstra and A* but also optimized road routing algorithms like Contraction Hierarchies. It stands under the Apache License and is build on a large test suite.

OpenStreetMap is directly supported from GraphHopper. Without the amazing data from OpenStreetMap GraphHopper wouldn't be possible at all. Other map data will need a custom import procedure.

Video https://www.youtube.com/watch?v=HBVe_E5j0TM