Created
October 7, 2014 15:07
-
-
Save baldur/df83c7f743e62ad8a9af to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl http://osrm.test.mapzen.com/car/viaroute\?z\=19\&output\=json\&instructions\=true\&\&loc\=40.7445379,-73.9903955\&loc\=40.747416,-73.988712 | |
------ | |
{"hint_data":{"locations":["WJxIAP_____oeAQAKQAAABMAAAB2AAAAEAAAAIVw3wbktW0CoP6W-wIARAA","vZZIAP____-PeQQAEgAAAEMAAAAAAAAAAAAAAP____9swm0CQAaX-wAAAAA"],"checksum":19155988},"route_name":["Madison Avenue","West 31st Street"],"via_indices":[0,17],"found_alternative":false,"route_summary":{"end_point":"West 31st Street","start_point":"West 26th Street","total_time":145,"total_distance":1173},"via_points":[[40.744419,-73.990494],[40.747627,-73.988541]],"route_instructions":[["10","West 26th Street",222,0,52,"221m","SE",119],["1","East 26th Street",153,5,29,"153m","SE",124],["7","Madison Avenue",393,7,42,"393m","NE",29],["7","East 31st Street",155,12,14,"155m","NW",299],["1","West 31st Street",250,13,22,"249m","NW",299],["15","",0,16,0,"0m","N",0]],"route_geometry":"g}yulA~t_clCnc@{uAnA}DrAeE|Nud@~AeFpA_Ezf@y|Aqe@c[ue@e[ue@i[qe@a[qe@c[ei@hcBmh@x`B_Tlp@yD|M","status_message":"Found route between points","status":0}% | |
------- | |
$ curl http://osrm.test.mapzen.com/foot/viaroute\?z\=19\&output\=json\&instructions\=true\&\&loc\=40.7445379,-73.9903955\&loc\=40.747416,-73.988712 | |
----- | |
{"status_message":"Cannot find route between points","status":207}% | |
----- | |
$ curl http://osrm.test.mapzen.com/bicycle/viaroute\?z\=19\&output\=json\&instructions\=true\&\&loc\=40.7445379,-73.9903955\&loc\=40.747416,-73.988712 | |
------ | |
{"status_message":"Cannot find route between points","status":207}% | |
------ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment