question

AndyF-7477 avatar image
0 Votes"
AndyF-7477 asked AndyF-7477 commented

Map routing data issue

I can route in one direction, but the reverse fails. This is consistent across Bing web site and REST services.

{X = -111.958817 Y = 33.48164} to {X = -111.766396 Y = 33.44712}

One direction works perfectly and I get a completed route, the other direction says there's no possible route, which makes no sense. Please advise.

azure-bing-web
· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@AndyF-7477 Thanks for the question. Can you please add more details about the document that you are trying and also please share the snapshot.

0 Votes 0 ·

Document? Not sure what you mean.

Just go to maps.bing.com, search for 33.48164, -111.958817 and then request directions FROM 33.44712, -111.766396. Works fine. Then swap the locations and try to get directions. Fails with "We can't find directions for this journey. Check your waypoints and route options and try again." Which is clearly not the right outcome. This happens in web site and REST services, so there's likely a data issue or routing logic issue behind the scenes. REST Locations API says these are routable points (which they are at least in one direction).

0 Votes 0 ·

Hi Andy,

Sorry I did not see this sooner but the issue you are seeing is that not all points are "Routable". What the website does behind the scene is to "Move" your Lat/Lon to a routable address. You will see this conversion happen right in the UI. When you call the API, it does not do this for you as it assumes you really want a route to that point and it is telling you that there really isn't one available. Basically a very different use case.

If you do want the bing experience then you would find the location first, choose the routable lat/lon and then call the route API with the already validated routable coordinate.

Sincerely,
IoTGirl

0 Votes 0 ·
Show more comments

1 Answer

ramr-msft avatar image
0 Votes"
ramr-msft answered

@AndyF-7477 Thanks for the details. we would recommend to raise a Azure support desk ticket from Help+Support blade from Azure portal for your resource. This will help you to share the details securely and work with an engineer who can provide more insights about the issue that if it can be replicated.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.