Tue, 11/24/2015 - 14:29
#1
Multimodal Routes defaulting to Walk Timing
Hello,
I'm working with a program that utilizes the Directions API to request the time and distance involved in travel between two points using various modes of travel. I have used the program on about 18,000 entries and all of them worked...except for the "multimodal" entries. About half of them failed.
Then, when I started digging into the ones that didn't fail, I realized that the multimodal directions were really just walking directions -- I cannot get a time or distance for transit travel. Does anybody know why it's not working? I'm confident in my points and I'm using 8:30 AM as the time for travel.
Thanks
Sorry -- I just realized you asked for actual requests, not locations. Here are the the two requests associated with my above post (key left in variable format for privacy). The first one fails entirely, though it shouldn't, and the second one gives directions and timing for walking only instead of utilizing transit:
'http://open.mapquestapi.com/directions/v2/route?key={?}&ambiguities=ignore&outFormat=json&from=41.867008,-87.659164&to=41.695999,-87.598297&avoidTimedConditions=false&doReverseGeocode=true&routeType=multimodal&timeType=2&dateType=2&localTime=08:30'
'http://open.mapquestapi.com/directions/v2/route?key={?}&ambiguities=ignore&outFormat=json&from=41.909218,-87.628426&to=41.899326,-87.622238&avoidTimedConditions=false&doReverseGeocode=true&routeType=multimodal&timeType=2&dateType=2&localTime=08:30'
Sorry for the very delayed reply -- I put down this project for a minute but I am now still experiencing the same problem.
My requests are for Chicago, which the documentation claims has multimodal capability. Every single one of them gives only walk timing.
Here are a few examples that are outputting walk timing:
Start:41.867008,-87.659164
End: 41.695999,-87.598297
Start:41.909218,-87.628426
End:41.899326,-87.622238
What is the staus of this? I can't seem to get transit data through the API.