| Author |
Message |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 12/09/2013 21:28:09
|
leandro
Joined: 11/09/2013 19:01:43
Messages: 2
Offline
|
Hi
I'm new to Geonames, and using the dump files, for a while, in a local DB. And searching it with python.
I would like to remove from my results anything that is not a city like hotels, restaurants, etc. For Example, a search for "Cabo Frio" that is a beach city in Brazil returns a hotel and an airport, among the correct results.
Is there a way to filter this kind of things, and only get the real cities/non commercial entries in my results?
|
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 09/01/2014 21:55:00
|
petervk
Joined: 30/01/2012 20:25:04
Messages: 7
Offline
|
Have you ever found out on how to do this? I'm facing the same issue
|
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 11/01/2014 09:49:35
|
leandro
Joined: 11/09/2013 19:01:43
Messages: 2
Offline
|
No, I Haven't.
I don't think there is a way to do this, other then one by one, or by programming a script. I guess pythin is a good option.
|
|
|
 |
|
|