none
Two Canadian Locations Not showing up on Bing Maps RRS feed

  • Question

  • We have two locations in Canada:

    • Sudbury - 46.50476, -80.94701 (Ontario)
    • Sherwood Park - 53.54700000, -113.31840000 (Alberta)

    Using Bing Maps, if we search for either of these locations by City Name (only) we are pointed instead to Massachusetts and Australia, respectively.   

    If we search by City along with Province, we find the location.  Likewise, if we search by geocode, zip, or address, we find the location.

    Can Bing Maps be updated to enable us to search for these two locations by City Name (only)?

    Thank you.

    Thursday, July 9, 2015 9:59 PM

Answers

  • How are you geocoding these? I've tried the Bing Maps REST services and searching for "Sudbury" does return the Canadian city. https://dev.virtualearth.net/REST/v1/Locations?q=Sudbury&o=xml&key=YOUR_BING_MAPS_KEY

    Shrewood isn't returned when searching for it on is own but that's because it's not a city, it's a neighbourhood in Hamilton. There are a lot of cities around the world called Sherwood which would show up before this neighbourhood, however Sherwood Forest in the UK is the most commonly searched for result.

    There are many things you can do to influence the geocoder. If you are only interested in being able to search for cities in Canada, then use a structured query like this: https://dev.virtualearth.net/REST/v1/Locations?locality=[City]&countryRegion=CA&key=YOUR_BING_MAPS_KEY

    You can also help the geocoder by setting the culture parameter to Canadian English &c=en-CA. By default the culture is set to en-US, which means that the view of the US is weighted higher when searching.

    Another thing you can do is specify user context parameters in the query: https://msdn.microsoft.com/en-us/library/ff701704.aspx This will weight the results in favour of results most likely to be expected by people in those areas.


    http://rbrundritt.wordpress.com

    Monday, July 13, 2015 4:30 PM

All replies

  • How are you geocoding these? I've tried the Bing Maps REST services and searching for "Sudbury" does return the Canadian city. https://dev.virtualearth.net/REST/v1/Locations?q=Sudbury&o=xml&key=YOUR_BING_MAPS_KEY

    Shrewood isn't returned when searching for it on is own but that's because it's not a city, it's a neighbourhood in Hamilton. There are a lot of cities around the world called Sherwood which would show up before this neighbourhood, however Sherwood Forest in the UK is the most commonly searched for result.

    There are many things you can do to influence the geocoder. If you are only interested in being able to search for cities in Canada, then use a structured query like this: https://dev.virtualearth.net/REST/v1/Locations?locality=[City]&countryRegion=CA&key=YOUR_BING_MAPS_KEY

    You can also help the geocoder by setting the culture parameter to Canadian English &c=en-CA. By default the culture is set to en-US, which means that the view of the US is weighted higher when searching.

    Another thing you can do is specify user context parameters in the query: https://msdn.microsoft.com/en-us/library/ff701704.aspx This will weight the results in favour of results most likely to be expected by people in those areas.


    http://rbrundritt.wordpress.com

    Monday, July 13, 2015 4:30 PM
  • Thank you, Ricky, for your reply.

    We do find both locations when searching via geocode or when searching by zip code or when searching by City, Province.   It's just when we search by City Name only that we get unexpected results.  We'll try to adjust the queries.  Appreciate your help.

    Tuesday, July 14, 2015 7:06 PM