GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Removing everything that is not a city from the results  XML
Forum Index -> General
Author Message
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?
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
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.
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team