On Nov 8, 7:31 am, Marc Wick <
m...@geonames.org> wrote:
> The alteratenames field is not meant to be parsed.
Then out of curiosity, why is that field present? And
may I ask that the documentation somewhere mention that?
Are there other fields which should not be parsed?
> If you want to know the individual alternate names
> then you should use the alteratename file.
I don't understand why those two sources are different.
Here are the alternatenames for Gothenburg, Sweden
G'oteborg,GOT,Gautaborg,Geteborga,Gjoteborg,Goeteborg,Goteborg,Goteburg,Gotemburgo,Gotenburg,Gothembourg,Gothenburg,Gothoburgum,Gottenborg,Göteborg,Gøteborg,Gēteborga,Γκέτεμποργκ,Гьотеборг,Гётеборг,גוטנבורג,
イェーテボリ,哥德堡
There are 23 unique names in that list.
Gothenburg is geonameid 2711537 and it has 33 entries in
alternateName.txt .
1235974 2711537 Goeteborg
1235975 2711537 Goteburg
1235976 2711537 Gothenburg
1235977 2711537 Gottenborg
1600989 2711537 da Göteborg
1600991 2711537 eo Göteborg
1600995 2711537 hu Göteborg
1600999 2711537 la Gothoburgum
1601003 2711537 nl Gotenburg
1601007 2711537 pt Gotemburgo
1601009 2711537 sv Göteborg
1600984 2711537 de Göteborg
1600986 2711537 es Gotemburgo
1600988 2711537 ca Göteborg
1600992 2711537 fi Göteborg
1600996 2711537 ia Göteborg
1601002 2711537 nds Göteborg
1601006 2711537 pl Göteborg
1634095 2711537 it Göteborg
2256568 2711537 no Gøteborg
1970271 2711537 is Gautaborg
2181201 2711537 iata GOT
1600987 2711537 bg Гьотеборг
1600990 2711537 el Γκέτεμποργκ
1600994 2711537 he גוטנבורג
1600998 2711537 ja イェーテボリ
1601000 2711537 lv Gēteborga
1601008 2711537 ru Гётеборг
1621129 2711537 zh 哥德堡
1600993 2711537 fr Gothembourg
1601005 2711537 no Göteborg 1 1
1600985 2711537 en Gothenburg 1 1
1600997 2711537 id Göteborg
of which 19 are unique. I see that "G'oteborg", which is
the first name of the alternatenames field of cities1000.txt,
is not in the alternateNames.txt file.
Knowing no better, I decided to use the alternatenames
from cities1000.txt because that one record (which is
where I live) had more alternate names, and for the
project I'm working on I wanted to maximize the
likelihood of getting a match.
Cheers,
-- Andrew Dalke <
da...@dalkescientific.com>