[OSRM-talk] Finding Route between more than two locations using OSRM

Mike Flannigan mikeflan at att.net
Mon Jan 20 12:22:36 UTC 2020


That is a great question.  I was having the exact
same problem and could not figure it out.  So
instead I wrote a program that creates a URL like
the one below.  Track points are separated by "&loc=":

http://map.project-osrm.org/?z=8&center=32.475012%2C-95.787048&loc=31.714797%2C-96.176494&loc=31.972838%2C-95.975505&loc=32.270932%2C-95.847675&loc=32.837825%2C-95.783566&loc=33.263699%2C-95.584355&loc=33.994439%2C-95.523699&hl=en&alt=0


Pasting that link into a browser and pushing the
'Export GPX file' button at the bottom produces the
output I need.


Mike


On 1/19/20 6:00 AM, osrm-talk-request at openstreetmap.org wrote:
> Hi,
>
> I want to use OSRM routing for finding shortest route between more than two
> cities.
> I am trying to use the demo server available at:
> http://map.project-osrm.org/ to see how a typical route with 3 or 4
> locations will look like.But it is not allowing me to add more than two
> locations. If i click on plus sign to add third location then it does not
> work.Can you please tell me whether I can use OSRM for more than two
> cities? If yes, then is it available in demo server mentioned above?
>
> Thanks and Regards,
> Bateesh
>





More information about the OSRM-talk mailing list