GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
BUG: can not search new zealand geoinfo  XML
Forum Index -> General
Author Message
jdk137



Joined: 25/10/2015 15:31:44
Messages: 1
Offline

http://ws.geonames.org/search?country=NZ&name=New%20Zealand&maxRows=1&username=demo

returns

<geonames style="MEDIUM">
<totalResultsCount>19</totalResultsCount>
<geoname>
<toponymName>Australia and New Zealand</toponymName>
<name>Australia and New Zealand</name>
<lat>-27.83908</lat>
<lng>143.26172</lng>
<geonameId>7729898</geonameId>
<countryCode>AU</countryCode>
<countryName>Australia</countryName>
<fcl>L</fcl>
<fcode>RGN</fcode>
</geoname>
</geonames>

Its countryName is Australia!
marc



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

thanks. It should not have a country code. The cc2 code contains three countrycodes intead.
It will be fixed.

Regards

Marc

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