GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
findNearbyPlaceName with population filter?  XML
Forum Index -> General
Author Message
Kaj



Joined: 24/07/2009 15:22:59
Messages: 3
Offline

Hi,

Is it somehow possible to make findNearbyPlaceName only return records that have a population that isn't empty/zero?

I can e.g. add the featureClass parameter to filter on featureClass, but can I filter on population?

Thanks
Kaj
marc



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

Hi Kaj

The findNearbyPlaceName service does not support a filter by population, you would have to filter it yourself.
The cities service returns the cities filtered by relevancy:
http://www.geonames.org/export/JSON-webservices.html#citiesJSON

Best

Marc

[WWW]
Kaj



Joined: 24/07/2009 15:22:59
Messages: 3
Offline

marc wrote:
Hi Kaj

The findNearbyPlaceName service does not support a filter by population, you would have to filter it yourself.
The cities service returns the cities filtered by relevancy:
http://www.geonames.org/export/JSON-webservices.html#citiesJSON

Best

Marc 


Thanks for the quick reply. It's however a bit too coarse, so I applied filtering to the findNearbyPlaceName service.
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team