GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Wrong bounding box for Fiji  XML
Forum Index -> General
Author Message
Michael Porter



Joined: 31/07/2007 10:24:40
Messages: 3
Offline

Hi,

Using the countryInfo web service,

http://www.geonames.org/countryInfo?country=FJ

Returns:

<bBoxWest>180.0</bBoxWest>
<bBoxNorth>-20.674442</bBoxNorth>
<bBoxEast>-180.0</bBoxEast>
<bBoxSouth>-12.481943</bBoxSouth>

Whereas the longitude should, I think, be somewhere in range 177 to -178?

Mike.
Michael Porter



Joined: 31/07/2007 10:24:40
Messages: 3
Offline

Also it seems that the latitude values are the wrong way round, i.e. it should be:

<bBoxNorth>-12.481943</bBoxNorth>
<bBoxSouth>-20.674442</bBoxSouth>

Perhaps this is a general problem with countries that stradle 180 longitude since I think Kiribati also has swapped North and South:

http://www.geonames.org/countryInfo?country=KI

<bBoxWest>176.85025</bBoxWest>
<bBoxNorth>-11.466665</bBoxNorth>
<bBoxEast>-172.233337</bBoxEast>
<bBoxSouth>4.725832</bBoxSouth>

Should be:

<bBoxWest>176.85025</bBoxWest>
<bBoxNorth>4.725832</bBoxNorth>
<bBoxEast>-172.233337</bBoxEast>
<bBoxSouth>-11.466665</bBoxSouth>

?


Mike.
marc



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

You are right, there was indeed a bug with dateline spanning countries : Russia, New Zealand, Fiji and Kiribati.

Cheers

Marc

[WWW]
Michael Porter



Joined: 31/07/2007 10:24:40
Messages: 3
Offline

Ah, that's better. Thanks for the quick fix.

Mike.
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team