locked
Parity in geocoding between API and maps.bing.com? RRS feed

  • Question

  • Hello,

    I'm having some issues using the geocoding REST service.  My use case is pretty straightforward, I have a name, city, state, country for various places (mostly theaters).  When I run something like this:

    http://dev.virtualearth.net/REST/v1/Locations/Xcel%20Energy%20Center?key=[key]

    I get back a response containing the geocoded location.  If I do Xcel Energy Center, MN, it also works fine.

    Now when I do this:

     http://dev.virtualearth.net/REST/v1/Locations/Boston Opera House?key=[key] (or BOH, Boston, MA, US) I get back an empty result set.  

    What I find weird is if I search bing maps via the map site http://www.bing.com/maps, for "Boston Opera House" (or "Boston Opera House, Boston, MA", it shows 4 possibilities.  I've done broad queries in the API that return multiple options back... but I can't figure out when it does/doesn't want to.

    I'm wondering if it is possible to get these Results back? A lot of the time it looks like they're in parity/match just fine... but getting back absolutely no results is kind of a showstopper.

    Thank you for any assistance,

    Daniel Gutierrez

    Friday, March 8, 2013 4:53 PM

Answers

  • You are trying to use a Geocoding service to search of Points of Interest. This is always going to fail as these are two different things. Geocoders are designed to return coordinates of addresses, not points of interests. For the type of search you are looking to do you will want to use the SOAP Search service or the Bing Maps v7 AJAX Search Module:

    Bing Maps V7 Search Module: http://msdn.microsoft.com/en-us/library/hh868062.aspx

    SOAP Search Service: http://msdn.microsoft.com/en-us/library/cc980849.aspx

    Also, the Bing Maps consumer site (bing.com/maps) is a Bing Maps customer just like anyone else. They built their site on top of Bing Maps and have made some customizations. Their search hits several different search engines on the backend that include the Bing Maps services but some custom services as well.


    http://rbrundritt.wordpress.com

    • Marked as answer by MajiDaniel Friday, March 8, 2013 10:34 PM
    Friday, March 8, 2013 7:38 PM

All replies

  • You are trying to use a Geocoding service to search of Points of Interest. This is always going to fail as these are two different things. Geocoders are designed to return coordinates of addresses, not points of interests. For the type of search you are looking to do you will want to use the SOAP Search service or the Bing Maps v7 AJAX Search Module:

    Bing Maps V7 Search Module: http://msdn.microsoft.com/en-us/library/hh868062.aspx

    SOAP Search Service: http://msdn.microsoft.com/en-us/library/cc980849.aspx

    Also, the Bing Maps consumer site (bing.com/maps) is a Bing Maps customer just like anyone else. They built their site on top of Bing Maps and have made some customizations. Their search hits several different search engines on the backend that include the Bing Maps services but some custom services as well.


    http://rbrundritt.wordpress.com

    • Marked as answer by MajiDaniel Friday, March 8, 2013 10:34 PM
    Friday, March 8, 2013 7:38 PM
  • Thank you very much for the reply!
    Friday, March 8, 2013 10:35 PM