GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Problem with findNearbyPostalCodes webservice  XML
Forum Index -> FAQ - frequently asked questions
Author Message
Jack



Joined: 30/05/2007 00:26:06
Messages: 2
Offline

I tried it, but it returns only postal codes that are similar, not all that are in radius. For example:

http://ws.geonames.org/findNearbyPostalCodes?postalcode=44000&country=hr&radius=150&maxRows=100

returns only postal codes that start with 44, however, there should be lot more, like most of 10xxx and 47xxx codes, since they are also in 150km range

Is there some non-documented parameter to tell the script to show me all results? It's not very useful like this...
marc



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

Hi Jack

You can increase the number of rows returned with the parameter 'maxRows'. The service returns maximal 500 rows (for the free service). More than 500 rows is unwieldy for most applications and we need a limit to protect our server from being overloaded.

Marc

[WWW]
 
Forum Index -> FAQ - frequently asked questions
Go to:   
Powered by JForum 2.1.5 © JForum Team