none
Does not return multiple address matches for the same city RRS feed

  • Question

  • Hello,

    It appears that there is an issue with the Bing Maps API where it only returns 1 address match per city, and it ignores sub-city level areas which have addresses which match other parts of the city.  

    When using the REST service for NYC addresses, it appears that the response only includes 1 address per city name even though the same address(house number and street name) may be duplicated in all 5 boroughs with other zip codes.  

    Thus using a query which is looking for a match for "42 broad street" may only return "42 broad street" in Staten Island, or "42 broad street" in Manhattan.  It never returns both even though the same address number and street combination can be repeated in each of the 5 boroughs.  It will only return multiple matches within NYC in cases where the second address has a alternative city name such as "long island city", or "Howard Beach".  

    Is there a way to make the query search to find any matches in each of the 5 boroughs instead of just searching for the first match it finds in NYC?

    I have tried doing both structured and unstructured queries. Any tips on how to resolve this issue are appreciated.

    Thank you

    Friday, June 19, 2015 5:59 PM

Answers

  • The current Bing Maps geocoder tries to return the most likely result based on the information it has, including where you are querying from. If you were making the query from Manhattan it will likely weight the results for Manhattan higher than for other parts of new York. That said the Bing Maps team is working on a lot of improvements for geocoding and taking a look at some of the early work, this does appear to be better handled. You should see this improved in the Bing Maps geocoding API later this year.

    http://rbrundritt.wordpress.com

    Friday, June 19, 2015 8:39 PM

All replies

  • There are different streets named Main Street, & Broadway in all 5 borough, with separate numbering systems so it is possible for the same address to show up 3-5 times across the city, without any of the prefixes of N,S,E,W.
    Friday, June 19, 2015 6:02 PM
  • The current Bing Maps geocoder tries to return the most likely result based on the information it has, including where you are querying from. If you were making the query from Manhattan it will likely weight the results for Manhattan higher than for other parts of new York. That said the Bing Maps team is working on a lot of improvements for geocoding and taking a look at some of the early work, this does appear to be better handled. You should see this improved in the Bing Maps geocoding API later this year.

    http://rbrundritt.wordpress.com

    Friday, June 19, 2015 8:39 PM
  • Thank you.

    I think the most frustrating part, is that even though I have the query returns the maximum number of possibilities(20), it only pulls in 1 result per city per variant(N,S,E,W), so if I search for Main Street, the results may include the matching Main Street addresses and their variants for dozens of small villages which borders around NYC yet it only provides the response for 1 of the 5 Main Streets located across the 5 boroughs of NYC. 

    Friday, June 19, 2015 9:28 PM