GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
countrySubdivision in Marocco  XML
Forum Index -> General
Author Message
saxrub



Joined: 12/05/2019 09:35:56
Messages: 6
Offline

Hello everyone
I am looking to find the administrative structure adm1 to adm4 for a given point.
For this, I use the countrySubdivisionJSON api but I don't understand the truncated response limited to adm2 for Morocco; certainly, the subdivision of Morocco is limited to amd2 but how does the geonames site announce four levels for the same coordinates?

https://secure.geonames.net/countrySubdivisionJSON?lat=30.43028732744112&lng=-9.62454988688951&username=saxrub&level=4&radius=50&maxRows=30
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team