GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Ordering the FindNearByPostalCodes Results  XML
Forum Index -> General
Author Message
m.webster



Joined: 26/05/2010 21:36:58
Messages: 3
Offline

I need to order the display the result of the FindNearByPostalCodes query call. I need to display the closest postal codes first and the furthest codes last. If a user enters a zip code, the first results they see should be the closest match.
I don't see any parameters to accomplish this. Does anyone know if I can do this and if I can, how I can do this?

Thank you.
marc



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

They are sorted by distance aren't they?

Marc

[WWW]
m.webster



Joined: 26/05/2010 21:36:58
Messages: 3
Offline

I can't find any documentation that details how the results are returned. Are you sure they are already sorted?
marc



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

Yes I am sure and I have added it to the documentation.

Marc

[WWW]
m.webster



Joined: 26/05/2010 21:36:58
Messages: 3
Offline

Where can I get the latest documentation?
I was looking at "GeoNames Web Services Documentation" and "GeoNames User Manual"
marc



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

http://www.geonames.org/export/web-services.html#findNearbyPostalCodes

[WWW]
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team