The short_name results given from geocode for
administrative_area_level_1 and 2 are incorrect for Spain and other
countries when compared with the offical ISO 3166-2 values . For
example, the result for any municipality in the state of Andalucia
are:

administrative_area_level_2 is "Malaga" in both short_name and
long_name results
  - the correct ISO-3166-2 code is "MA"

administrative_area_level_1 is "AL" for short and "Andalusia" for long
 - the correct ISO-3166-2 code is "AN"

These problems occur for most (but not all) cities in Spain - either
the wrong code or no code at all are returned for one or both level-1
and level-2 results. The above error for Andalusia is important
because the returned code "AL" belongs to another entity "ES-AL" is
the province of Almeria, not the state of Andalusia. The problem is
not restricted to Spain - I receive similar errors for Germany.

Please note that it is only short_name  which is incorrect.

So:
1. Is Google using some other coding system than ISO-3166?
2. Is it possible for the data/results to be corrected?
3. Is there some other resource which returns correct results?

I hope there is a solution to this issue because it makes the whole
mapping API almost useless for many countires.

RT

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to