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

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

Great resource, thanks for making all of this available! I downloaded the 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?

Joined: 08/12/2005 07:39:47
Messages: 4293

Hi David

As an example a quer for all counties in California:

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

Best Regards


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