GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Timezone API: Issue with US data  XML
Forum Index -> General
Author Message
Marc BookingSync



Joined: 28/09/2018 05:00:29
Messages: 2
Offline

I fetched the TZ info based on latitude and longitude supposed to be in Austin, TX.


http://api.geonames.org/timezone?lat=30.260572&lng=-97.771889
 


I received incorrect data:
Code:
 <geonames>
   <timezone tzversion="tzdata2018e">
     <countryCode>US</countryCode>
     <countryName>United States</countryName>
     <lat>30.260572</lat>
     <lng>-97.771889</lng>
     <timezoneId>America/Chicago</timezoneId>
     <dstOffset>-5.0</dstOffset>
     <gmtOffset>-6.0</gmtOffset>
     <rawOffset>-6.0</rawOffset>
     <time>2018-09-27 22:01</time>
     <sunrise>2018-09-28 07:22</sunrise>
     <sunset>2018-09-28 19:20</sunset>
   </timezone>
 </geonames>
 


Though the issue could be related to this issue (http://forum.geonames.org/gforum/posts/list/35285.page) so I added the radius, but I get the same incorrect data.
Marc BookingSync



Joined: 28/09/2018 05:00:29
Messages: 2
Offline

Chicago and Austin are actually in the same timezone.
There is no issue, sorry for bothering you.
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team