| Author |
Message |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 08/07/2010 14:11:34
|
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
|
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 08/07/2010 14:16:43
|
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
|
 |
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 09/07/2010 14:54:00
|
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.
|
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 12/07/2010 13:05:53
|
NAZ
Joined: 09/06/2010 11:30:20
Messages: 9
Offline
|
Thanks. You point was so useful to me.
|
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 21/07/2010 18:50:29
|
CharlesKakiDCM
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?
|
|
|
 |
|
|