ifed3 / PBR

Personalized Bike Routing
11 stars 2 forks source link

Web app for viewing OSRM routes #5

Open thcrock opened 9 years ago

thcrock commented 9 years ago

We need to view OSRM routes to help us evaluate the quality of the output of our OSRM profiles over time. It should do these things:

  1. Take in user input in some way (typing in an address, moving a marker, etc)
  2. Query the OSRM instance described in #2 (until it's opened up, just use some sample OSRM output to aid development)
  3. Map the results
  4. Display the turn by turn directions elsewhere on the screen
strangerloops commented 9 years ago

now we have this! (or at least something to start with.) https://github.com/ifed3/PBR/tree/master/web_frontend

thcrock commented 9 years ago

Try pointing the webapp at this url:

http://52.5.36.38/osrm

That's our new OSRM instance. I haven't sent sample queries yet.

strangerloops commented 9 years ago

what's the interface to that endpoint? hitting e.g. http://52.5.36.38/osrm/foot/viaroute?loc=41.901694,-87.630344&loc=41.885283,-87.621515 returns a 400

thcrock commented 9 years ago

Try this: http://52.5.36.38/viaroute?loc=41.922934,-87.696961&loc=41.884232,-87.631709&instructions=true