GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Incorrect DST Offset for Australia/Sydney and Auckland  XML
Forum Index -> General
Author Message
jaspreet



Joined: 28/03/2012 13:32:29
Messages: 1
Offline

Hello,
I am using your geoname TimeZone web service to get Offset time zones. It appears to work fine in most of the cases i require except 2:
1. Australia/Sydney
Lat: -33.86785 Long=151.20732
http://ws.geonames.org/timezone?lat=-33.86785&lng=151.20732
In which case it gives DST offset as GMT+10 while standard as GMT+11, which is the opposite of actual. The DST is in effect so the DST offset should be GMT+11 while the gmtOffset and rawOffset should be GMT+10.

2. Auckland
http://ws.geonames.org/timezone?lat=-36.8667&lng=174.767
In this case also the DST offset should be GMT+13 while the gmtOffset and rawOffset should be GMT+12.

Please help and update the list for these 2.
marc



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

The two fields gmtOffset and dstOffset are deprecated as they are missnamed and their use is rather limited. On the southern hemisphere it is the opposite as you correctly observe.
See also this thread
http://forum.geonames.org/gforum/posts/list/3793.page

and the documentation:
http://www.geonames.org/export/web-services.html#timezone

gmtOffset: offset to GMT at 1. January (deprecated)
dstOffset: offset to GMT at 1. July (deprecated)

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