GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
feature Codes P and the rest  XML
Forum Index -> General
Author Message
NAZ



Joined: 09/06/2010 11:30:20
Messages: 9
Offline

Hi,

Among all the useful information in allCountries file I only need those places which are habitable i.e. states, cities, villages etc. Therefore, I only kept those lines which has the feature code "P" and removed all other lines categorised with H, A, S etc.

While compiling my application I searched the file for 'London, GB' and it was there but surprisingly there is no location for 'Munich' in Gemany' and 'Zurich' in Germany'. Can anyone help me regarding that.

Do Munich and Zurich have the feature code other than "P"?
Is category "P" is the only code which include (States, cities, towns and villages) or there are other feature codes that I need to keep.
Tanx
marc



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

both Zurich (you probably mean the city in Switzerland not Germany) and Munich have the featureclass P

http://www.geonames.org/2657896/zuerich.html
http://www.geonames.org/2867714/muenchen.html

Marc

[WWW]
dik_voormekaar



Joined: 23/12/2009 09:40:39
Messages: 23
Offline

It looks like you only searched for feature code 'PPL'. Country capitals have 'PPLC'.
To do this right you need feature class 'P' for all places and feature class 'A' for states and countries (and even feature code 'CONT' for the continents.
NAZ



Joined: 09/06/2010 11:30:20
Messages: 9
Offline

Thanks. You point was so useful to me.
CharlesKakiDCM


[Avatar]
Joined: 21/07/2010 13:52:44
Messages: 4
Offline

We're kinda looking for the same thing, I think. (see my thread)

Did you make any good progress?
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team