{"action":"opened","number":274,"pull_request":{"url":"https://api.github.com/repos/hexorx/countries/pulls/274","id":38560827,"html_url":"https://github.com/hexorx/countries/pull/274","diff_url":"https://github.com/hexorx/countries/pull/274.diff","patch_url":"https://github.com/hexorx/countries/pull/274.patch","issue_url":"https://api.github.com/repos/hexorx/countries/issues/274","number":274,"state":"open","locked":false,"title":"Fix New York state's latitude/longitude information","user":{"login":"GUI","id":12112,"avatar_url":"https://avatars.githubusercontent.com/u/12112?v=3","gravatar_id":"","url":"https://api.github.com/users/GUI","html_url":"https://github.com/GUI","followers_url":"https://api.github.com/users/GUI/followers","following_url":"https://api.github.com/users/GUI/following{/other_user}","gists_url":"https://api.github.com/users/GUI/gists{/gist_id}","starred_url":"https://api.github.com/users/GUI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GUI/subscriptions","organizations_url":"https://api.github.com/users/GUI/orgs","repos_url":"https://api.github.com/users/GUI/repos","events_url":"https://api.github.com/users/GUI/events{/privacy}","received_events_url":"https://api.github.com/users/GUI/received_events","type":"User","site_admin":false},"body":"When Google's geocoder is passed \"New York, United States\", it actually returns the geocoding information for New York City, and not the actual state. So the previously stored details were for the extent of the city, rather than the state. This fixes the initial geocoding logic by making a special case for New York to geocode \"New York State\". The stored YAML details have been updated with the new results for the state.\r\n\r\nI've seen Google's geocoder change how it geocodes the string \"New York\" over the years, but appending \"State\" to the end has been a reliable way to force it to geocode the state (at least in my experience for the past couple years). So I think this approach should be safe in case anyone want to do a full re-geocoding sometime in the future.\r\n\r\nWhen re-running the geocoding, it looks like a couple new locations in Namibia now have location results, so I committed those results as well, but if you'd prefer I separate those out from this pull request, just let me know.","created_at":"2015-06-25T15:34:48Z","updated_at":"2015-06-25T15:34:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c4386985d34eefa1d70410aac5c28be231bd3ed6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hexorx/countries/pulls/274/commits","review_comments_url":"https://api.github.com/repos/hexorx/countries/pulls/274/comments","review_comment_url":"https://api.github.com/repos/hexorx/countries/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hexorx/countries/issues/274/comments","statuses_url":"https://api.github.com/repos/hexorx/countries/statuses/5f7f9a1f63ac4fec215b5d80aea27416473f1df1","head":{"label":"GUI:fix-us-ny-location","ref":"fix-us-ny-location","sha":"5f7f9a1f63ac4fec215b5d80aea27416473f1df1","user":{"login":"GUI","id":12112,"avatar_url":"https://avatars.githubusercontent.com/u/12112?v=3","gravatar_id":"","url":"https://api.github.com/users/GUI","html_url":"https://github.com/GUI","followers_url":"https://api.github.com/users/GUI/followers","following_url":"https://api.github.com/users/GUI/following{/other_user}","gists_url":"https://api.github.com/users/GUI/gists{/gist_id}","starred_url":"https://api.github.com/users/GUI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GUI/subscriptions","organizations_url":"https://api.github.com/users/GUI/orgs","repos_url":"https://api.github.com/users/GUI/repos","events_url":"https://api.github.com/users/GUI/events{/privacy}","received_events_url":"https://api.github.com/users/GUI/received_events","type":"User","site_admin":false},"repo":{"id":38057726,"name":"countries","full_name":"GUI/countries","owner":{"login":"GUI","id":12112,"avatar_url":"https://avatars.githubusercontent.com/u/12112?v=3","gravatar_id":"","url":"https://api.github.com/users/GUI","html_url":"https://github.com/GUI","followers_url":"https://api.github.com/users/GUI/followers","following_url":"https://api.github.com/users/GUI/following{/other_user}","gists_url":"https://api.github.com/users/GUI/gists{/gist_id}","starred_url":"https://api.github.com/users/GUI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GUI/subscriptions","organizations_url":"https://api.github.com/users/GUI/orgs","repos_url":"https://api.github.com/users/GUI/repos","events_url":"https://api.github.com/users/GUI/events{/privacy}","received_events_url":"https://api.github.com/users/GUI/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GUI/countries","description":"All sorts of useful information about every country packaged as convenient little country objects. It includes data from ISO 3166 (countries and states/subdivisions ), ISO 4217 (currency), and E.164 (phone numbers).","fork":true,"url":"https://api.github.com/repos/GUI/countries","forks_url":"https://api.github.com/repos/GUI/countries/forks","keys_url":"https://api.github.com/repos/GUI/countries/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GUI/countries/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GUI/countries/teams","hooks_url":"https://api.github.com/repos/GUI/countries/hooks","issue_events_url":"https://api.github.com/repos/GUI/countries/issues/events{/number}","events_url":"https://api.github.com/repos/GUI/countries/events","assignees_url":"https://api.github.com/repos/GUI/countries/assignees{/user}","branches_url":"https://api.github.com/repos/GUI/countries/branches{/branch}","tags_url":"https://api.github.com/repos/GUI/countries/tags","blobs_url":"https://api.github.com/repos/GUI/countries/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GUI/countries/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GUI/countries/git/refs{/sha}","trees_url":"https://api.github.com/repos/GUI/countries/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GUI/countries/statuses/{sha}","languages_url":"https://api.github.com/repos/GUI/countries/languages","stargazers_url":"https://api.github.com/repos/GUI/countries/stargazers","contributors_url":"https://api.github.com/repos/GUI/countries/contributors","subscribers_url":"https://api.github.com/repos/GUI/countries/subscribers","subscription_url":"https://api.github.com/repos/GUI/countries/subscription","commits_url":"https://api.github.com/repos/GUI/countries/commits{/sha}","git_commits_url":"https://api.github.com/repos/GUI/countries/git/commits{/sha}","comments_url":"https://api.github.com/repos/GUI/countries/comments{/number}","issue_comment_url":"https://api.github.com/repos/GUI/countries/issues/comments{/number}","contents_url":"https://api.github.com/repos/GUI/countries/contents/{+path}","compare_url":"https://api.github.com/repos/GUI/countries/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GUI/countries/merges","archive_url":"https://api.github.com/repos/GUI/countries/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GUI/countries/downloads","issues_url":"https://api.github.com/repos/GUI/countries/issues{/number}","pulls_url":"https://api.github.com/repos/GUI/countries/pulls{/number}","milestones_url":"https://api.github.com/repos/GUI/countries/milestones{/number}","notifications_url":"https://api.github.com/repos/GUI/countries/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GUI/countries/labels{/name}","releases_url":"https://api.github.com/repos/GUI/countries/releases{/id}","created_at":"2015-06-25T15:29:48Z","updated_at":"2015-06-25T15:29:49Z","pushed_at":"2015-06-25T15:30:34Z","git_url":"git://github.com/GUI/countries.git","ssh_url":"git@github.com:GUI/countries.git","clone_url":"https://github.com/GUI/countries.git","svn_url":"https://github.com/GUI/countries","homepage":"","size":53361,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hexorx:master","ref":"master","sha":"d78c6e29aafe71e674ca5c2505d4e1e6f97e0676","user":{"login":"hexorx","id":2915,"avatar_url":"https://avatars.githubusercontent.com/u/2915?v=3","gravatar_id":"","url":"https://api.github.com/users/hexorx","html_url":"https://github.com/hexorx","followers_url":"https://api.github.com/users/hexorx/followers","following_url":"https://api.github.com/users/hexorx/following{/other_user}","gists_url":"https://api.github.com/users/hexorx/gists{/gist_id}","starred_url":"https://api.github.com/users/hexorx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hexorx/subscriptions","organizations_url":"https://api.github.com/users/hexorx/orgs","repos_url":"https://api.github.com/users/hexorx/repos","events_url":"https://api.github.com/users/hexorx/events{/privacy}","received_events_url":"https://api.github.com/users/hexorx/received_events","type":"User","site_admin":false},"repo":{"id":442308,"name":"countries","full_name":"hexorx/countries","owner":{"login":"hexorx","id":2915,"avatar_url":"https://avatars.githubusercontent.com/u/2915?v=3","gravatar_id":"","url":"https://api.github.com/users/hexorx","html_url":"https://github.com/hexorx","followers_url":"https://api.github.com/users/hexorx/followers","following_url":"https://api.github.com/users/hexorx/following{/other_user}","gists_url":"https://api.github.com/users/hexorx/gists{/gist_id}","starred_url":"https://api.github.com/users/hexorx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hexorx/subscriptions","organizations_url":"https://api.github.com/users/hexorx/orgs","repos_url":"https://api.github.com/users/hexorx/repos","events_url":"https://api.github.com/users/hexorx/events{/privacy}","received_events_url":"https://api.github.com/users/hexorx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hexorx/countries","description":"All sorts of useful information about every country packaged as convenient little country objects. It includes data from ISO 3166 (countries and states/subdivisions ), ISO 4217 (currency), and E.164 (phone numbers).","fork":false,"url":"https://api.github.com/repos/hexorx/countries","forks_url":"https://api.github.com/repos/hexorx/countries/forks","keys_url":"https://api.github.com/repos/hexorx/countries/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hexorx/countries/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hexorx/countries/teams","hooks_url":"https://api.github.com/repos/hexorx/countries/hooks","issue_events_url":"https://api.github.com/repos/hexorx/countries/issues/events{/number}","events_url":"https://api.github.com/repos/hexorx/countries/events","assignees_url":"https://api.github.com/repos/hexorx/countries/assignees{/user}","branches_url":"https://api.github.com/repos/hexorx/countries/branches{/branch}","tags_url":"https://api.github.com/repos/hexorx/countries/tags","blobs_url":"https://api.github.com/repos/hexorx/countries/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hexorx/countries/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hexorx/countries/git/refs{/sha}","trees_url":"https://api.github.com/repos/hexorx/countries/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hexorx/countries/statuses/{sha}","languages_url":"https://api.github.com/repos/hexorx/countries/languages","stargazers_url":"https://api.github.com/repos/hexorx/countries/stargazers","contributors_url":"https://api.github.com/repos/hexorx/countries/contributors","subscribers_url":"https://api.github.com/repos/hexorx/countries/subscribers","subscription_url":"https://api.github.com/repos/hexorx/countries/subscription","commits_url":"https://api.github.com/repos/hexorx/countries/commits{/sha}","git_commits_url":"https://api.github.com/repos/hexorx/countries/git/commits{/sha}","comments_url":"https://api.github.com/repos/hexorx/countries/comments{/number}","issue_comment_url":"https://api.github.com/repos/hexorx/countries/issues/comments{/number}","contents_url":"https://api.github.com/repos/hexorx/countries/contents/{+path}","compare_url":"https://api.github.com/repos/hexorx/countries/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hexorx/countries/merges","archive_url":"https://api.github.com/repos/hexorx/countries/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hexorx/countries/downloads","issues_url":"https://api.github.com/repos/hexorx/countries/issues{/number}","pulls_url":"https://api.github.com/repos/hexorx/countries/pulls{/number}","milestones_url":"https://api.github.com/repos/hexorx/countries/milestones{/number}","notifications_url":"https://api.github.com/repos/hexorx/countries/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hexorx/countries/labels{/name}","releases_url":"https://api.github.com/repos/hexorx/countries/releases{/id}","created_at":"2009-12-18T22:42:26Z","updated_at":"2015-06-25T07:28:40Z","pushed_at":"2015-06-25T15:34:48Z","git_url":"git://github.com/hexorx/countries.git","ssh_url":"git@github.com:hexorx/countries.git","clone_url":"https://github.com/hexorx/countries.git","svn_url":"https://github.com/hexorx/countries","homepage":"","size":53361,"stargazers_count":604,"watchers_count":604,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":313,"mirror_url":null,"open_issues_count":23,"forks":313,"open_issues":23,"watchers":604,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hexorx/countries/pulls/274"},"html":{"href":"https://github.com/hexorx/countries/pull/274"},"issue":{"href":"https://api.github.com/repos/hexorx/countries/issues/274"},"comments":{"href":"https://api.github.com/repos/hexorx/countries/issues/274/comments"},"review_comments":{"href":"https://api.github.com/repos/hexorx/countries/pulls/274/comments"},"review_comment":{"href":"https://api.github.com/repos/hexorx/countries/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hexorx/countries/pulls/274/commits"},"statuses":{"href":"https://api.github.com/repos/hexorx/countries/statuses/5f7f9a1f63ac4fec215b5d80aea27416473f1df1"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":23,"deletions":7,"changed_files":3}}