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.txt : a cyclic relation ? [closed]  XML
Forum Index -> General
Author Message
suizokukan



Joined: 20/11/2016 14:52:25
Messages: 6
Location: France
Offline

It seems the hierarchy.txt file contains a cyclic relation, (A belongs to B, B belongs to A).

We have the following lines :
Code:
 (line 35999)  472755	526754	ADM
 (line 375211) 526754	472755	
 

According to allCountries.txt, we have the following informations :
Code:
 472755	is the "Volgogradskaya Oblast’" 
 526754	is the "Mikhaylovka Urban Okrug"
 


472755 being an oblast (an administrative division, see https://en.wikipedia.org/wiki/Oblast), I'm quite sure that 472755 contains 526754. But what about the second relation described line 375211 ?

Is it an error ? Or how should deal with such a cycle relation ?

Any help would be appreciated !
[WWW]
suizokukan



Joined: 20/11/2016 14:52:25
Messages: 6
Location: France
Offline

I forgot some details :

* I'm working on the last version of hierarchy.zip :
md5sum of hierarchy.zip : 56e1d8f5eff050ea432a5dab347cb1fc
md5sum of hierarchy.txt : 78a2bf1291c4929fb834f7d2a82461f1

* there is only one cyclic relation in this file, the one I noticed.

Any help would be appreciated !
[WWW]
suizokukan



Joined: 20/11/2016 14:52:25
Messages: 6
Location: France
Offline

The problem has been solved.
[WWW]
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team