GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
admin2 and admin3 in allCountries.txt are wrong at least for Portugal  XML
Forum Index -> General
Author Message
gpcosta



Joined: 09/09/2021 18:02:03
Messages: 1
Offline

This is a strange situation. On the geonames website, the information is correct, but in allCountries.txt there are some localities in all cities. For example, "Penalva do Castelo" is an admin2 in "Aveiro", "Braga", "Porto", "Lisboa", etc. It is in almost all cities, if not all cities. And it is not the only one that is repeated.

The code in admin2Codes.txt for "Penalva do Castelo" is PT.22.1811, but in allCountries.txt, the admin 2 code for "Penalva do Castelo" is 11. And the same goes for "Penedono". For example, "Penedono" is PT.22.1812 in admin2Codes.txt and, in allCountries.txt, its admin 2 code is 12. In allCountries.txt, the code is always the last two digits of admin2Codes.txt for the repeated localities.

Is there any way to fix allCountries.txt file or is there any way to reconstruct the information of this file with the other files available?
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team