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

Use of demo server

0

I currently have the OSRM daemon running locally. I am not permitted to access this server via the Internet. I am running a demo PHP page that takes two points and returns a travel time. The php is called like this: traveltimes.php?start=26.4945,-81.8479&dest=26.1535,-81.8706

When I change the Server address and also the call to the demo address it returns a [FAILED] message. I need to be able to use my test script while travelling. What am I doing wrong?

$ServerAddress="http://router.project-osrm.org:5000";
$url = "http://router.project-osrm.org:5000/viaroute?loc=".$args['start']."&loc=".$args['dest'];

asked 08 Sep '14, 20:08

anamealreadyinuse's gravatar image

anamealready...
11113
accept rate: 0%

edited 08 Sep '14, 21:14

Source code available on GitHub .