GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
hierarchy itmes  XML
Forum Index -> General
Author Message
zcw100



Joined: 28/09/2019 15:28:16
Messages: 18
Offline

I can verify that many of the items in the administrative hierarchy are in the hierarchy table and some non administrative items but I still find some items that are in the rdf dump that list parent and child features that aren't listed in the table at all. Neither in the parentid or childid column.

https://www.geonames.org/4038189/about.rdf

4038189 isn't in the heirarchy table at all?
marc



Joined: 08/12/2005 07:39:47
Messages: 4412
Offline

the admin hierarchy is encoded int he featurecodes.
The hierarchy table only lists additional hierarchies, either non admin hierarchies or hierarchies with several parents.

[WWW]
zcw100



Joined: 28/09/2019 15:28:16
Messages: 18
Offline

I think I've got the admin hierarchy down but what's confusing is the following entries in the hierarchy table.

Code:
  count  |                 type                 
 --------+--------------------------------------
      17 | adm
  346038 | ADM
       1 | adm1
      62 | ADM1
       1 | adm4
 


Are these admin codes with several parents?
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team