1

This question already has an answer here:

I am implementing the routing machine wich is leaflet extension for routing analysis but by default the routing in routing machine is for demo based on OSM data.I want my own route ;How I do to build my OSRM server for route and how I make route of public transport based on bus lines not roads .

marked as duplicate by BradHards, tinlyx, PolyGeo Jul 6 '17 at 5:00

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • I assume you have OSRM installed and working (if not, see its web site). You can clearly only import data in formats that OSRM is programmed for, so convert your data into one of those formats. I'd suggest OSM PBF. – BradHards Jul 6 '17 at 2:42
-1

Public transport uses the same street networks as public transport. Probably you need to refine what your asking.

  • Beside public transport I need to know how to set up a sample OSRM server for street explain me step by step because I dont know how . – Rabie Ben Jul 6 '17 at 2:42
  • Does this work>> digitalocean.com/community/tutorials/… – lewis Sep 18 '17 at 20:02
  • Now I have my OSRM working well on Ubuntu. I have posted another question concerning how to build my own pbf.osm file of routes to feed the OSRM server because, I use now the pbf.osm of the routes of the whole globe the file provided by the OSM geofabrik web site .I like to set my own pbf.osm file of my own routes that I want for example the public transport routes gis.stackexchange.com/questions/255176/… – Rabie Ben Sep 21 '17 at 3:45
  • I might try XML? – lewis Sep 22 '17 at 8:27

Not the answer you're looking for? Browse other questions tagged or ask your own question.