Yahoo! Developer Network
APIs & Tools
Back to GeoPlanet General Discussion Forum
Finding all towns/cities of a country
currently I'm exploring the yahoo! GeoPlanet API and I'm failing at one simple task. I only want to get a list of all cities/towns within a given country. Do you have any suggestions?
Thanks in advance,
Jan 12, 2010
Jan 26, 2010
There are a LOT of Towns in a country. What you could do is recursively filter down by using children: country, state, county and town:
Start with USA = WOEID = 23424977
Pick your state:
Pick County, and get the child towns:
This forum is locked.
Ask a Question
in GeoPlanet General Discussion
Follow Yahoo! Developer Network on
Report a bug
Copyright © 2013 Yahoo! Inc. All rights reserved.