GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Wrong tourism hierarchy for El Hierro island (Canary Islands, Spain)  XML
Forum Index -> General
Author Message
migsy



Joined: 17/04/2019 17:52:38
Messages: 6
Offline

Hello.

When I perform a hierarchy query (with hierarchy=tourism parameter) for a location in the Canary Islands, I get the following hierarchy (excerpt):

... > ADM1 > ISL > ADM3 > ...

It is ignoring ADM2, which is great, because it returns the island (ISL).

See http://api.geonames.org/hierarchy?geonameId=2519217&username=demo&hierarchy=tourism

But when I perform a similiar query for a location in El Hierro island (also in the Canary Islands), it is also returning ADM2, which is redundant (with hierarchy=tourism parameter) because it is also returning the island (ISL):

... > ADM1 > ADM2 > ISL > ADM3 > ...

See http://api.geonames.org/hierarchy?geonameId=6534198&username=demo&hierarchy=tourism

Would it be possible for location hierarchy queries (with hierarchy=tourism parameter) in El Hierro island to ignore ADM2, as it rightly currently does for location queries in locations in the rest of the Canary Islands?

Many thanks in advance.

Regards.
Admin



Joined: 19/11/2005 16:33:24
Messages: 46
Offline

thanks for pointing out this error. It is already fixed in the main db and will be deployed to the api servers shortly.

Best Regards

Marc
migsy



Joined: 17/04/2019 17:52:38
Messages: 6
Offline

Thanks a lot!
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team