GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
American Samoa children  XML
Forum Index -> Administrative Divisions
Author Message
gtrMat



Joined: 04/01/2024 15:51:01
Messages: 1
Offline

Hello !
I was trying to understand how the country AS (geoId 5880801) was organized (ADM1, 2,...) and apparently it has no children (http://api.geonames.org/childrenJSON?formatted=true&geonameId=5880801&style=full&username=) according to this endpoint.
BUT there are still some ADM1 entites linked to this country if we look at the "hierarchy" endpoint : http://api.geonames.org/hierarchyJSON?formatted=true&geonameId=7309441&username=&style=full. And if we have a look at the siblings endpoint : http://api.geonames.org/siblingsJSON?formatted=true&geonameId=7309441&username=&style=full, they are listed under the "SA" country, not "AS".

Can someone clarify this ? I am confused.
Thanks in advance, and happy new year, best wishes etc everyone
__
Mat
 
Forum Index -> Administrative Divisions
Go to:   
Powered by JForum 2.1.5 © JForum Team