NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×85
×11
×2
×1

question asked: 08 Sep '14, 20:08

question was seen: 2,593 times

last updated: 11 Sep '14, 19:03

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum