GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
What is the correct way to get list of cities?  XML
Forum Index -> Administrative Divisions
Author Message

Joined: 27/03/2016 23:47:43
Messages: 1

I need a list of cities for use in a typeahead-dropdown (using Bootstrap typeahead if you are curious). In order to have a complete list, I am using

I wrote a query such as this:
where countrycode = 'us'
and Admin1Code = 'IA'
and name like 'ceda%'
and FeatureClass = 'P'

But then I get matches like this:
Cedar Falls Mobile Home Park
Cedar Falls Mobile Home Village

So my first thought was to narrow it to population > 0

But I have found at least 1 city with a population of 0, that I am familiar with, and I know people that live there.

Any thoughts?

Joined: 22/04/2016 02:22:06
Messages: 5

I could not find a definitive way to do this. My approach has been to use population as well.
Forum Index -> Administrative Divisions
Go to:   
Powered by JForum 2.1.5 © JForum Team