This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Setting up own map server for routing.

1

I want to build my own map server which users can use for routing, directions etc. Currently, I have only st up an OSRM server which can send back json response using this tutorial here and it works perfect for me. Now I want to take it to the next level and implement tiles like, users get to see their route and maps. I also want to add an auto-complete address functionality. I have read a lot of articles like these here and its further links down. But I am not getting it together. Will following these steps help me achieve my goal. What tutorial should i look for auto-complete, is Nominatim or Pelias is required and how they can be integrated with OSM. Basically I want to build something similar to openrouteservice o my own server.

asked 09 Nov '19, 09:02

vsaadnet's gravatar image

vsaadnet
459913
accept rate: 0%

edited 09 Nov '19, 10:27


One Answer:

1

Photon is the easiest solution for autocomplete geocoding: http://photon.komoot.de

answered 09 Nov '19, 22:20

Richard's gravatar image

Richard ♦
30.9k44279412
accept rate: 18%

I learned about photon, but my problem is now that i have osrm backend set up how to have the front-end up and running that shows polyline/maps to users. should i have my own tile server for that, as OSRM front-end is not running on my system it says localhost:9966 secure connection failed

(10 Nov '19, 09:39) vsaadnet

Source code available on GitHub .