none
Inconsistent administrative districts names RRS feed

  • Question

  • I am geocoding addresses in Poland. The country is separated into 16 administrative districts (called województwa) and thankfully data about districts appears in responses. But I've noticed one problem: most of the time name of the districts are returned in two letter code (this is fine), unfortunately sometimes the codes have completely different format. I am using those codes to verify if geocoding result points to proper region and with such inconsistencies such verification is troublesome.

    For example problem appears when I geocode location: country - PL, locality: łask, addressLine: warszawska, adminDistrict: LD[1]. The response's admin district is "Woj. Lodzkie" which is completely inconsistent wit codes used most of the time. I would expect it to be "LD", such district name appears when looking up different city in same region: country - PL, locality: łódź, addressLine: warszawska, adminDistrict: LD [2].

    I would like to do two things about the problem:

    1. I think the problem is with Bing and somehow I'd like to submit a bug and hopefully problem would solve by "itself". Where can I raise such issue? Is there a point doing so?

    2. I could try to deal with the problem on my own. I just need for all the administrative districts in Poland a list of their aliases used in Bing. Is it possible to extract it somehow?

    By the way, while writing the message I've provided links to geocoding results but when submitting (sic!) I got notified that "Body text cannot contain images or links until we are able to verify your account.". So sorry for not clickable urls.

    [1] - http://dev.virtualearth.net/REST/v1/Locations?CountryRegion=PL&adminDistrict=LD&locality=łask&addressLine=warszawska       

    [2] - http://dev.virtualearth.net/REST/v1/Locations?CountryRegion=PL&adminDistrict=LD&locality=łódź&addressLine=warszawska

    Sunday, November 9, 2014 9:31 AM

Answers

  • Geocoders are designed to take an address and return a coordinate. Bing Maps may return some address information as well but that is just so you know what address Bing matched with. The data in Bing Maps is provided by many different data providers and not all of the data is in the same format (long vs short admin district values). Bing Maps is not an address cleaner/validator.

    Also, I noticed that your rest URLs contain non-English characters. This can sometimes cause issues. You should encode the parts of the URL to prevent any issues. Take a look at this blog post for more information: http://blogs.bing.com/maps/2013/02/14/bing-maps-rest-service-tips-tricks/


    http://rbrundritt.wordpress.com

    Monday, November 10, 2014 4:34 PM
  • I have submitted this as a bug to our data providers. I don't expect this to be fixed in the short terms are it's likely a wide spread inconsistency and may not be something that all data providers are able to change/conform to. That said, the address information returned by the geocoder is not meant for address cleaning and is only there to show what address it request matched to in our database. This will likely be a low priority issue as it hasn't really been an issue for licensed customers.

    http://rbrundritt.wordpress.com

    Thursday, November 27, 2014 2:01 PM

All replies

  • Geocoders are designed to take an address and return a coordinate. Bing Maps may return some address information as well but that is just so you know what address Bing matched with. The data in Bing Maps is provided by many different data providers and not all of the data is in the same format (long vs short admin district values). Bing Maps is not an address cleaner/validator.

    Also, I noticed that your rest URLs contain non-English characters. This can sometimes cause issues. You should encode the parts of the URL to prevent any issues. Take a look at this blog post for more information: http://blogs.bing.com/maps/2013/02/14/bing-maps-rest-service-tips-tricks/


    http://rbrundritt.wordpress.com

    Monday, November 10, 2014 4:34 PM
  • Thanks for answers but I don't feel that my questions were answered completely. Anyway, I understand what geocoding is for and I am aware that it is not for address cleaning/validating. But I also think that a common situation is that there are multiple cities in different country districts which have same name. I would expect that geocoding service would allow to check at least whether geocoded address is in correct region.

    For me that's quite strange that single country's region data comes from different providers and is not normalized somehow. I understand that matching thousands of addresses coming from different sources might be difficult. But matching probably a few variants of writing names of 16 regions doesn't seem such a big deal (considering that it would allow easily removing outliers). Anyway, is there at least a way to extract somehow all the administrative district values used in single country? 

    By the way, thanks for tip about encoding urls.

    Tuesday, November 11, 2014 1:29 PM
  • I have submitted this as a bug to our data providers. I don't expect this to be fixed in the short terms are it's likely a wide spread inconsistency and may not be something that all data providers are able to change/conform to. That said, the address information returned by the geocoder is not meant for address cleaning and is only there to show what address it request matched to in our database. This will likely be a low priority issue as it hasn't really been an issue for licensed customers.

    http://rbrundritt.wordpress.com

    Thursday, November 27, 2014 2:01 PM