GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Two Countries for FindNearbyPostalCodes  XML
Forum Index -> Postal Codes
Author Message
bbag8274



Joined: 19/12/2013 11:05:16
Messages: 4
Offline

Hello

I try to use the parameter "country" two times in my request. I want to get results from CH and LI. So I tried this request:

http://api.geonames.org/findNearbyPostalCodes?lat=47.141475&lng=9.517669&radius=10&maxRows=100&country=CH&country=LI&username=demo

But it seems that just the first countrycode is working. If I change the order, it just returns me postal codes from LI. So I read in another topic that I can seperate with comma. But this doesn't work either. This is what I tried next:

http://api.geonames.org/findNearbyPostalCodes?lat=47.141475&lng=9.517669&radius=10&maxRows=100&country=CH,LI&username=demo

So now my question is: How can I use CH and LI in the same request?

Suggestions appreciated
Cheers
marc



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

bbag8274 wrote:

http://api.geonames.org/findNearbyPostalCodes?lat=47.141475&lng=9.517669&radius=10&maxRows=100&country=CH&country=LI&username=demo
 

This will be fixed. The link above will work with the fix.

Marc

[WWW]
bbag8274



Joined: 19/12/2013 11:05:16
Messages: 4
Offline

marc wrote:

This will be fixed. The link above will work with the fix.

Marc 


Thank you very much!

Roman
 
Forum Index -> Postal Codes
Go to:   
Powered by JForum 2.1.5 © JForum Team