{"action":"closed","number":40,"pull_request":{"url":"https://api.github.com/repos/mapbox/geojsonhint/pulls/40","id":67760905,"html_url":"https://github.com/mapbox/geojsonhint/pull/40","diff_url":"https://github.com/mapbox/geojsonhint/pull/40.diff","patch_url":"https://github.com/mapbox/geojsonhint/pull/40.patch","issue_url":"https://api.github.com/repos/mapbox/geojsonhint/issues/40","number":40,"state":"closed","locked":false,"title":"Fix error where multipolygon features have invalid coordinates","user":{"login":"mcwhittemore","id":1551510,"avatar_url":"https://avatars.githubusercontent.com/u/1551510?v=3","gravatar_id":"","url":"https://api.github.com/users/mcwhittemore","html_url":"https://github.com/mcwhittemore","followers_url":"https://api.github.com/users/mcwhittemore/followers","following_url":"https://api.github.com/users/mcwhittemore/following{/other_user}","gists_url":"https://api.github.com/users/mcwhittemore/gists{/gist_id}","starred_url":"https://api.github.com/users/mcwhittemore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcwhittemore/subscriptions","organizations_url":"https://api.github.com/users/mcwhittemore/orgs","repos_url":"https://api.github.com/users/mcwhittemore/repos","events_url":"https://api.github.com/users/mcwhittemore/events{/privacy}","received_events_url":"https://api.github.com/users/mcwhittemore/received_events","type":"User","site_admin":false},"body":"Fixes #39\r\n\r\n---\r\n\r\nWhile this fixes #39 it does so by duplicating an error message to a different part of the error logic stack. The long block of if statements are a bit hard to read, so I think we should refactor those a bit too before merging this.\r\n\r\nBefore doing that, does this look right @tmcw?","created_at":"2016-04-25T17:54:18Z","updated_at":"2016-05-20T02:45:08Z","closed_at":"2016-05-20T02:45:08Z","merged_at":"2016-05-20T02:45:08Z","merge_commit_sha":"76d9ead9718420977bdae87988133618eb3d29e4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mapbox/geojsonhint/pulls/40/commits","review_comments_url":"https://api.github.com/repos/mapbox/geojsonhint/pulls/40/comments","review_comment_url":"https://api.github.com/repos/mapbox/geojsonhint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapbox/geojsonhint/issues/40/comments","statuses_url":"https://api.github.com/repos/mapbox/geojsonhint/statuses/0eb20dbfda6afaa7a552e3408bac4298c6134c94","head":{"label":"mapbox:fix-multi-parsing","ref":"fix-multi-parsing","sha":"0eb20dbfda6afaa7a552e3408bac4298c6134c94","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":11635008,"name":"geojsonhint","full_name":"mapbox/geojsonhint","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/geojsonhint","description":"validate geojson objects against the specification","fork":false,"url":"https://api.github.com/repos/mapbox/geojsonhint","forks_url":"https://api.github.com/repos/mapbox/geojsonhint/forks","keys_url":"https://api.github.com/repos/mapbox/geojsonhint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/geojsonhint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/geojsonhint/teams","hooks_url":"https://api.github.com/repos/mapbox/geojsonhint/hooks","issue_events_url":"https://api.github.com/repos/mapbox/geojsonhint/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/geojsonhint/events","assignees_url":"https://api.github.com/repos/mapbox/geojsonhint/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/geojsonhint/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/geojsonhint/tags","blobs_url":"https://api.github.com/repos/mapbox/geojsonhint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/geojsonhint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/geojsonhint/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/geojsonhint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/geojsonhint/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/geojsonhint/languages","stargazers_url":"https://api.github.com/repos/mapbox/geojsonhint/stargazers","contributors_url":"https://api.github.com/repos/mapbox/geojsonhint/contributors","subscribers_url":"https://api.github.com/repos/mapbox/geojsonhint/subscribers","subscription_url":"https://api.github.com/repos/mapbox/geojsonhint/subscription","commits_url":"https://api.github.com/repos/mapbox/geojsonhint/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/geojsonhint/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/geojsonhint/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/geojsonhint/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/geojsonhint/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/geojsonhint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/geojsonhint/merges","archive_url":"https://api.github.com/repos/mapbox/geojsonhint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/geojsonhint/downloads","issues_url":"https://api.github.com/repos/mapbox/geojsonhint/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/geojsonhint/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/geojsonhint/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/geojsonhint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/geojsonhint/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/geojsonhint/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/geojsonhint/deployments","created_at":"2013-07-24T13:08:38Z","updated_at":"2016-04-27T16:00:12Z","pushed_at":"2016-05-20T02:45:08Z","git_url":"git://github.com/mapbox/geojsonhint.git","ssh_url":"git@github.com:mapbox/geojsonhint.git","clone_url":"https://github.com/mapbox/geojsonhint.git","svn_url":"https://github.com/mapbox/geojsonhint","homepage":"https://www.mapbox.com/geojsonhint/","size":251,"stargazers_count":87,"watchers_count":87,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":4,"forks":8,"open_issues":4,"watchers":87,"default_branch":"master"}},"base":{"label":"mapbox:master","ref":"master","sha":"00fcdbdc0c3daf319715f490f195d342d970f61a","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":11635008,"name":"geojsonhint","full_name":"mapbox/geojsonhint","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/geojsonhint","description":"validate geojson objects against the specification","fork":false,"url":"https://api.github.com/repos/mapbox/geojsonhint","forks_url":"https://api.github.com/repos/mapbox/geojsonhint/forks","keys_url":"https://api.github.com/repos/mapbox/geojsonhint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/geojsonhint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/geojsonhint/teams","hooks_url":"https://api.github.com/repos/mapbox/geojsonhint/hooks","issue_events_url":"https://api.github.com/repos/mapbox/geojsonhint/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/geojsonhint/events","assignees_url":"https://api.github.com/repos/mapbox/geojsonhint/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/geojsonhint/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/geojsonhint/tags","blobs_url":"https://api.github.com/repos/mapbox/geojsonhint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/geojsonhint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/geojsonhint/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/geojsonhint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/geojsonhint/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/geojsonhint/languages","stargazers_url":"https://api.github.com/repos/mapbox/geojsonhint/stargazers","contributors_url":"https://api.github.com/repos/mapbox/geojsonhint/contributors","subscribers_url":"https://api.github.com/repos/mapbox/geojsonhint/subscribers","subscription_url":"https://api.github.com/repos/mapbox/geojsonhint/subscription","commits_url":"https://api.github.com/repos/mapbox/geojsonhint/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/geojsonhint/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/geojsonhint/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/geojsonhint/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/geojsonhint/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/geojsonhint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/geojsonhint/merges","archive_url":"https://api.github.com/repos/mapbox/geojsonhint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/geojsonhint/downloads","issues_url":"https://api.github.com/repos/mapbox/geojsonhint/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/geojsonhint/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/geojsonhint/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/geojsonhint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/geojsonhint/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/geojsonhint/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/geojsonhint/deployments","created_at":"2013-07-24T13:08:38Z","updated_at":"2016-04-27T16:00:12Z","pushed_at":"2016-05-20T02:45:08Z","git_url":"git://github.com/mapbox/geojsonhint.git","ssh_url":"git@github.com:mapbox/geojsonhint.git","clone_url":"https://github.com/mapbox/geojsonhint.git","svn_url":"https://github.com/mapbox/geojsonhint","homepage":"https://www.mapbox.com/geojsonhint/","size":251,"stargazers_count":87,"watchers_count":87,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":4,"forks":8,"open_issues":4,"watchers":87,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapbox/geojsonhint/pulls/40"},"html":{"href":"https://github.com/mapbox/geojsonhint/pull/40"},"issue":{"href":"https://api.github.com/repos/mapbox/geojsonhint/issues/40"},"comments":{"href":"https://api.github.com/repos/mapbox/geojsonhint/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/mapbox/geojsonhint/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/mapbox/geojsonhint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapbox/geojsonhint/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/mapbox/geojsonhint/statuses/0eb20dbfda6afaa7a552e3408bac4298c6134c94"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tmcw","id":32314,"avatar_url":"https://avatars.githubusercontent.com/u/32314?v=3","gravatar_id":"","url":"https://api.github.com/users/tmcw","html_url":"https://github.com/tmcw","followers_url":"https://api.github.com/users/tmcw/followers","following_url":"https://api.github.com/users/tmcw/following{/other_user}","gists_url":"https://api.github.com/users/tmcw/gists{/gist_id}","starred_url":"https://api.github.com/users/tmcw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmcw/subscriptions","organizations_url":"https://api.github.com/users/tmcw/orgs","repos_url":"https://api.github.com/users/tmcw/repos","events_url":"https://api.github.com/users/tmcw/events{/privacy}","received_events_url":"https://api.github.com/users/tmcw/received_events","type":"User","site_admin":false},"comments":4,"review_comments":4,"commits":1,"additions":39,"deletions":3,"changed_files":5}}
{"actor":{"display_login":"tmcw"}}