Till senaste kommentaren
Detta inlägg är gammalt och kan innehålla inaktuell information.

Can new Trip Planner API calculate walk-only routes?

Long long ago we created a test that requested walk-only routes from the old ResRobot Reseplanerare API (https://www.trafiklab.se/api/resrobot-reseplane...). And that test passed - walk only routes were returned from the service.

Yesterday we migrated to new version "https://api.resrobot.se/v2/trip" and started getting error: {"errorCode":"SVC_LOC_NEAR","errorText":"start and destination to close"}.

Did new API stop supporting walk-only routes? Or there are special request parameters for this purposes?

API request:
https://api.resrobot.se/v2/trip?key=<key>&format=json&passlist=0&date=2016-08-30&time=12:42&originId=740000002&destCoordLat=57.7085278&destCoordLong=11.9755264&searchForArrival=1&format=json

And Google Maps request for comparison:
https://www.google.ru/maps/dir/Gothenburg+Centr...

We played a little bit with parameters originWalk/destWalk, but it didn`t help.

Thanks!

Kommentarer

Kommentera eller skriv ett nytt inlägg

Ditt namn och inlägg kan ses av alla. Din e-post visas aldrig publikt.