GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
more countries  XML
Forum Index -> Postal Codes
Author Message
sspind



Joined: 07/07/2014 17:02:58
Messages: 1
Offline

Hello there,
thank you for your help in advance.

I use the pear package of geonames and do not have a glimpse how to get more countries queried at the same time (FE. Germany, Austria and Swizzerland). Via XML it works but I found no description how to do it via the pear class "geonames".
i have read in some forum do it like this:

'country' => 'AT',
'country' => 'DE',

but it didnt work for me.


$postalCodes = $geo->findNearbyPostalCodes(array(
'postalcode' => $splz,
'country' => 'AT',
'radius' => $someradius,
'maxRows' => 300
));

THX for your help,
Stefan
[u]
 
Forum Index -> Postal Codes
Go to:   
Powered by JForum 2.1.5 © JForum Team