ihym
Joined: 14/02/2013 12:48:50
Messages: 1
Offline
|
From what I understand api.geonames.org/countrySubdivision returns the ISO3166-2 based on the latlng coordinates,
If I do this for latlng in the UK (e.g. http://api.geonames.org/countrySubdivision?lat=55.070947&lng=-6.517639&username=demo)
it returns NIR as the code which means Northern Ireland.
The ISO3166-2 standard codes are, however, much more specific than this
http://en.wikipedia.org/wiki/ISO_3166-2:GB
I believe the example above should return BLY
Has anyone else had this issue, or am I missing something?
Can anyone please advise me on how i could retrieve the ISO3166-2 codes for latlng in the UK?
Thanks
|