{"action":"closed","issue":{"url":"https://api.github.com/repos/panthomakos/timezone/issues/15","repository_url":"https://api.github.com/repos/panthomakos/timezone","labels_url":"https://api.github.com/repos/panthomakos/timezone/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/panthomakos/timezone/issues/15/comments","events_url":"https://api.github.com/repos/panthomakos/timezone/issues/15/events","html_url":"https://github.com/panthomakos/timezone/issues/15","id":6306376,"number":15,"title":"Alternative in case Geonames lookup fails","user":{"login":"amnesia7","id":1161448,"avatar_url":"https://avatars.githubusercontent.com/u/1161448?v=3","gravatar_id":"","url":"https://api.github.com/users/amnesia7","html_url":"https://github.com/amnesia7","followers_url":"https://api.github.com/users/amnesia7/followers","following_url":"https://api.github.com/users/amnesia7/following{/other_user}","gists_url":"https://api.github.com/users/amnesia7/gists{/gist_id}","starred_url":"https://api.github.com/users/amnesia7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amnesia7/subscriptions","organizations_url":"https://api.github.com/users/amnesia7/orgs","repos_url":"https://api.github.com/users/amnesia7/repos","events_url":"https://api.github.com/users/amnesia7/events{/privacy}","received_events_url":"https://api.github.com/users/amnesia7/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2012-08-18T16:32:35Z","updated_at":"2016-04-27T04:41:20Z","closed_at":"2016-04-27T04:41:20Z","body":"Hi,\n\nI was wondering whether the option of using a local timezone database table had been considered as a fallback just in case Geonames lookups failed for whatever reason (eg the web service is down, too many requests in the time frame, etc).\n\nThere's a post here: http://stackoverflow.com/questions/5584602/determine-timezone-from-latitude-longitude-without-using-web-services-like-geona that mentions it.\n\nThere's a gist in a comment against the main answer that has all the cities and their lat,lngs: https://gist.github.com/1769458\nThe same comment also offers a suitable SQL select statement and the failover in case there isn't a suitable timezone city nearby.\n\nWhat do you think?"}}