none
Route REST API error RRS feed

  • Question

  • I am trying to build a driving route using the following URL:

    http://dev.virtualearth.net/REST/v1/Routes?rpo=Points&wp.1=39.711113,-104.959272&wp.2=39.916991,-105.501645&du=mi&hd=0&dbft=100&key=[BingMapsKey]

    But it gives me a 404 page not found error.  I have found through process of elimination that it doesn't like dbft.  This is the short version of "DistanceBeforeFirstTurn", which also doesn't work.  Looking at the example for using this the example URL here:  http://msdn.microsoft.com/en-us/library/ff701717.aspx lists "dblt" instead of "dbft" which then works.  But the dbft used to work.  I've been using it for about 3-4 months with no problems until now.  Has dbft been turned off, and if so, what is dblt?

    Thanks,

    James

    • Moved by Ricky_Brundritt Saturday, March 10, 2012 12:43 PM (From:Bing Maps: Map Control and Web services Development)
    Monday, January 9, 2012 5:49 AM

Answers

  • I'm able to reproduce this with the coordinates you provided, however am finding that if I use other coordinates or locations it is working fine. I'll submit this internally for investigation to see if there is an issue. Note that changing the dbft parameter to dblt just means the paramter is ignored. Changing dbft to just about anything else works. dbft still works in all other cases I tried, this may be a special case. Also note that dbft is an additional restriction filter which will return less results than if you didn't specify it.
    http://rbrundritt.wordpress.com
    Monday, January 9, 2012 3:06 PM

All replies

  • I'm able to reproduce this with the coordinates you provided, however am finding that if I use other coordinates or locations it is working fine. I'll submit this internally for investigation to see if there is an issue. Note that changing the dbft parameter to dblt just means the paramter is ignored. Changing dbft to just about anything else works. dbft still works in all other cases I tried, this may be a special case. Also note that dbft is an additional restriction filter which will return less results than if you didn't specify it.
    http://rbrundritt.wordpress.com
    Monday, January 9, 2012 3:06 PM
  • Ok, I guess I'll just look for a 404 error and if I get one send the query again omitting that parameter.

    Also note then that the "dblt" in the documentation example is apparently a mistake.

    Thanks,

    James

    Monday, January 9, 2012 10:18 PM
  • Thanks for pointing that out. I've passed this on to our documentation team for correction.
    http://rbrundritt.wordpress.com
    Tuesday, January 10, 2012 10:17 AM