GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Relationships between administrative areas of different levels?  XML
Forum Index -> General
Author Message
Davidperez



Joined: 23/09/2021 18:22:08
Messages: 1
Offline

Great resource, thanks for making all of this available! I downloaded the allCountries.zip and have been playing around with it.

One thing I can't figure out: How can I find all the second-level administrative areas within a first-level administrative level? Using the U.S. as an example, how can I get all of the counties within a state?
marc



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

Hi David

As an example a quer for all counties in California:

filter by countrycode='US' and admincode1='CA' and featurecode='ADM2'

Best Regards

Marc

[WWW]
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team