{"id":13581477,"url":"https://github.com/bradfitz/latlong","last_synced_at":"2025-04-13T11:47:51.014Z","repository":{"id":18440808,"uuid":"21629679","full_name":"bradfitz/latlong","owner":"bradfitz","description":"The latlong package maps from a latitude and longitude to a timezone.","archived":false,"fork":false,"pushed_at":"2023-02-17T15:46:58.000Z","size":663,"stargazers_count":384,"open_issues_count":4,"forks_count":41,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-10-14T16:29:54.046Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bradfitz.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2014-07-08T21:12:16.000Z","updated_at":"2024-09-29T06:38:51.000Z","dependencies_parsed_at":"2022-09-11T04:30:54.007Z","dependency_job_id":"952ec493-a2a4-458e-92d7-041ed51b9485","html_url":"https://github.com/bradfitz/latlong","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradfitz%2Flatlong","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradfitz%2Flatlong/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradfitz%2Flatlong/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradfitz%2Flatlong/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bradfitz","download_url":"https://codeload.github.com/bradfitz/latlong/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248710409,"owners_count":21149186,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T15:02:02.928Z","updated_at":"2025-04-13T11:47:50.994Z","avatar_url":"https://github.com/bradfitz.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"This is a Go package which maps a (lat, long) to a timezone.\n\nMy motivation was figuring out the UTC time of a JPG with EXIF\nmetadata containing GPS coordinates and local time, but no timezone\noffset. This is a surprising number of photos. I built this to\nimprove sorting in Camlistore, especially when photos are intermixed\nwith tweets, checkins, etc, but it should be generally applicable.\n\nSee docs at http://godoc.org/github.com/bradfitz/latlong\n\nIt tries to have a small binary size (~360 KB), low memory footprint\n(~1 MB), and incredibly fast lookups (~0.5 microseconds). It does not\ntry to be perfectly accurate when very close to borders.\n\nTo rebuild the data files, see the Makefile (or just run make).\nYou'll need the data files unzip to the \"world\" directory.\n\nSome background:\n\n    https://plus.google.com/u/0/+BradFitzpatrick/posts/XVyy1bAzkZd\n\nAnother image of the underlying data structure:\n\n    http://i.imgur.com/Rt8bLSD.png\n\n... the tile borders are only there for debugging, to show areas with\nonly one timezone. Tiles without borders around them still work; at\nthat level, the small possible bitmap is used for lookup.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradfitz%2Flatlong","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbradfitz%2Flatlong","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradfitz%2Flatlong/lists"}