GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Extract all cities from allCountries.zip or work around  XML
Forum Index -> General
Author Message
ductmasters



Joined: 26/01/2010 21:29:48
Messages: 8
Offline

Hello,

I have downloaded the file allCountries.zip and i want to extract all cities, including those ones that have population lower than 1000 or even 0, but only cities, because allCountries include all populated places which is more than i want. The file cities1000.zip doesn't fit my requirements because it only include cities with population higher than 1000, please do you have any way to solve this, i have tried filtering by Feature Code = 'PPL' in allCountries but nothing seems to work,

thanks in advance...
marc



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

if you filter by PPL only then you will loose all capitals (PPLC, PPLA, etc)


Marc

[WWW]
ductmasters



Joined: 26/01/2010 21:29:48
Messages: 8
Offline

Hello Marc,

Thanks for the information, but do you know a way to only extract cities?

thanks in advance
Ductmasters
ductmasters



Joined: 26/01/2010 21:29:48
Messages: 8
Offline

please update
ductmasters



Joined: 26/01/2010 21:29:48
Messages: 8
Offline

I'm still looking for help , can Marc or someone help please
marc



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

You find the list of feature codes for populated places here:
http://www.geonames.org/export/codes.html#P.PPL

Just take the codes you are interested in. As simple as that.

Cheers

Marc

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