GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Help understanding hierarchies  XML
Forum Index -> General
Author Message
micheljung



Joined: 08/08/2020 13:15:26
Messages: 2
Offline

Hi,

I'm looking at 2660269 Illnau. According to https://www.geonames.org/2658434/switzerland.html#, the hierarchy is:

country Switzerland
adm1 Zurich
adm2 Bezirk Pfäffikon
adm3 Illnau-Effretikon
adm4 no admin4
adm5 no admin5

which is correct. However, when I check the hierarchy file https://download.geonames.org/export/dump/hierarchy.zip and search for 2660269 (Illnau), there are only two entries where Illnau is a parent, not a child.

So where is Illnau's hierarchy information stored?
micheljung



Joined: 08/08/2020 13:15:26
Messages: 2
Offline

Meanwhile I understood the instruction "The relation toponym-adm hierarchy is not included in the file, it can instead be built from the admincodes of the toponym.".
memo



Joined: 03/09/2020 23:53:08
Messages: 2
Offline

I haven't. Can somebody please explain how to get adm3-5?
memo



Joined: 03/09/2020 23:53:08
Messages: 2
Offline

I do get it now. This helped: http://forum.geonames.org/gforum/posts/list/17957.page
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team