none
Bing Maps REST Services Routes API is returning different route when compared to the Map Point Web Services RRS feed

  • Question

  • Hello

    The driving directions returned by the Map Point Web Services and the Routes API are different. We were looking for the directions from "MORENO LN" and "EL CAMINO REAL " in CALIFORNIA, whose latitude and longitude are (37.35471779724452,-121.95275442301087) and (37.3523, -121.9747).

    Map Point Results

    No. of Steps - 3

    Step 1
    Distance: 0.2
    Text : depart murguia avenue (south)
    Step 2
    Distance: 0.9
    Text : turn right (north) onto scott blvd
    Step 3
    Distance: 0.8
    Text : turn left (west) onto s r 82, also called el camino real


    Bing Maps Routes

    No. of Steps – 5

    Step 1
    Distance: 0.05903
    Text : Depart Reeve St toward Monroe St
    Step 2
    Distance: 0.131731
    Text : Turn right onto Monroe St
    Step 3
    Distance: 1.490669
    Text : Turn right onto CA-82 North / El Camino Real
    Step 4
    Distance: 0.170256
    Text : Make a U-turn at Bowers Ave
    Step 5
    Distance: 0
    Text : Arrive at CA-82 South / El Camino Real

    Why is the route so different? Do the Routes API requires any other parameters. Here is what we tried:

    http://dev.virtualearth.net/REST/v1/Routes/Driving?wayPoint.1=37.35471779724452,-121.95275442301087&waypoint.2=37.3523,-121.9747&output=xml&key=<key>&optimize=distance&distanceUnit=mi&routePathOutput=points

    Thanks a lot!

     

     

     

     

     

     

     

    • Moved by Ricky_Brundritt Saturday, March 10, 2012 11:17 AM (From:Bing Maps: Map Control and Web services Development)
    Thursday, September 29, 2011 4:23 AM

Answers

  • Have you tried looking at a map? 37.3547177972445, -121.952754423011 is not the location of MORENO LN. It's the location of Reeve Street, which is why the first instruction of the REST service is to "Depart Reeve Street" - they're plotting completely different routes because the start location of each is different.

    twitter: @alastaira blog: http://alastaira.wordpress.com/
    Thursday, September 29, 2011 8:33 AM
    Moderator
  • As a quick tip, you can submit the actual address as part of the route API call instead of converting it to lat/long. 

    Also keep in mind that MapPoint and Bing Maps are different engines in the end, so while most data is similar, there will be some instances where the data is different. 

    Monday, October 3, 2011 8:18 PM

All replies

  • Have you tried looking at a map? 37.3547177972445, -121.952754423011 is not the location of MORENO LN. It's the location of Reeve Street, which is why the first instruction of the REST service is to "Depart Reeve Street" - they're plotting completely different routes because the start location of each is different.

    twitter: @alastaira blog: http://alastaira.wordpress.com/
    Thursday, September 29, 2011 8:33 AM
    Moderator
  • As a quick tip, you can submit the actual address as part of the route API call instead of converting it to lat/long. 

    Also keep in mind that MapPoint and Bing Maps are different engines in the end, so while most data is similar, there will be some instances where the data is different. 

    Monday, October 3, 2011 8:18 PM