{"action":"opened","number":60,"pull_request":{"url":"https://api.github.com/repos/azavea/tilegarden/pulls/60","id":202023863,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyMDIzODYz","html_url":"https://github.com/azavea/tilegarden/pull/60","diff_url":"https://github.com/azavea/tilegarden/pull/60.diff","patch_url":"https://github.com/azavea/tilegarden/pull/60.patch","issue_url":"https://api.github.com/repos/azavea/tilegarden/issues/60","number":60,"state":"open","locked":false,"title":"Feature/fix tile shearing","user":{"login":"mattdelsordo","id":16990679,"node_id":"MDQ6VXNlcjE2OTkwNjc5","avatar_url":"https://avatars2.githubusercontent.com/u/16990679?v=4","gravatar_id":"","url":"https://api.github.com/users/mattdelsordo","html_url":"https://github.com/mattdelsordo","followers_url":"https://api.github.com/users/mattdelsordo/followers","following_url":"https://api.github.com/users/mattdelsordo/following{/other_user}","gists_url":"https://api.github.com/users/mattdelsordo/gists{/gist_id}","starred_url":"https://api.github.com/users/mattdelsordo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattdelsordo/subscriptions","organizations_url":"https://api.github.com/users/mattdelsordo/orgs","repos_url":"https://api.github.com/users/mattdelsordo/repos","events_url":"https://api.github.com/users/mattdelsordo/events{/privacy}","received_events_url":"https://api.github.com/users/mattdelsordo/received_events","type":"User","site_admin":false},"body":"## Overview\r\n\r\nThis PR fixes the warping that was taking place when rendering tiles, which ended up being the result of data being mis-projected:\r\n * The target srs was not specified properly in `map-config.mml`. Tiles for the demo had to end up in web mercator but they were being projected as WGS84, which was causing the warping. If the source and target srs strings both match the data in the database and the desired output projection respectively, mapnik will automatically re-project the data.\r\n * Bounding boxes for individual tiles were being calculated in WGS84, which meant that even when tiles were being properly projected as web mercator they were being cropped at the wrong latitude/longitude. I removed the bounding box calculation dependency and wrote a new version that can calculate bounding boxes for any target projection.\r\n\r\n### Demo\r\n![image](https://user-images.githubusercontent.com/16990679/42836902-60914dd2-89ca-11e8-8c0e-09e70a1e4adf.png)\r\n\r\n\r\n## Testing Instructions\r\n\r\n * Run `./scripts/clean`, `./scripts/update`, and `./scripts/server` to start a new development server with the updated data from this PR. I included the `street_centerlines` data set in it's original projection in order to demonstrate mapnik's reprojection capabilities but it won't get added to the database if a similarly named table already exists.\r\n* Open `src/demo/datatype-demo.html` to see the server serve properly projected content.\r\n\r\n\r\nResolves #43 \r\n\r\n","created_at":"2018-07-17T18:05:38Z","updated_at":"2018-07-17T18:05:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/azavea/tilegarden/pulls/60/commits","review_comments_url":"https://api.github.com/repos/azavea/tilegarden/pulls/60/comments","review_comment_url":"https://api.github.com/repos/azavea/tilegarden/pulls/comments{/number}","comments_url":"https://api.github.com/repos/azavea/tilegarden/issues/60/comments","statuses_url":"https://api.github.com/repos/azavea/tilegarden/statuses/dee99ccbefdbd3839955cc9c5b552073becf156d","head":{"label":"azavea:feature/fix-tile-shearing","ref":"feature/fix-tile-shearing","sha":"dee99ccbefdbd3839955cc9c5b552073becf156d","user":{"login":"azavea","id":595231,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5NTIzMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/595231?v=4","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"repo":{"id":135959961,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU5NTk5NjE=","name":"tilegarden","full_name":"azavea/tilegarden","owner":{"login":"azavea","id":595231,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5NTIzMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/595231?v=4","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/azavea/tilegarden","description":null,"fork":false,"url":"https://api.github.com/repos/azavea/tilegarden","forks_url":"https://api.github.com/repos/azavea/tilegarden/forks","keys_url":"https://api.github.com/repos/azavea/tilegarden/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azavea/tilegarden/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azavea/tilegarden/teams","hooks_url":"https://api.github.com/repos/azavea/tilegarden/hooks","issue_events_url":"https://api.github.com/repos/azavea/tilegarden/issues/events{/number}","events_url":"https://api.github.com/repos/azavea/tilegarden/events","assignees_url":"https://api.github.com/repos/azavea/tilegarden/assignees{/user}","branches_url":"https://api.github.com/repos/azavea/tilegarden/branches{/branch}","tags_url":"https://api.github.com/repos/azavea/tilegarden/tags","blobs_url":"https://api.github.com/repos/azavea/tilegarden/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azavea/tilegarden/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azavea/tilegarden/git/refs{/sha}","trees_url":"https://api.github.com/repos/azavea/tilegarden/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azavea/tilegarden/statuses/{sha}","languages_url":"https://api.github.com/repos/azavea/tilegarden/languages","stargazers_url":"https://api.github.com/repos/azavea/tilegarden/stargazers","contributors_url":"https://api.github.com/repos/azavea/tilegarden/contributors","subscribers_url":"https://api.github.com/repos/azavea/tilegarden/subscribers","subscription_url":"https://api.github.com/repos/azavea/tilegarden/subscription","commits_url":"https://api.github.com/repos/azavea/tilegarden/commits{/sha}","git_commits_url":"https://api.github.com/repos/azavea/tilegarden/git/commits{/sha}","comments_url":"https://api.github.com/repos/azavea/tilegarden/comments{/number}","issue_comment_url":"https://api.github.com/repos/azavea/tilegarden/issues/comments{/number}","contents_url":"https://api.github.com/repos/azavea/tilegarden/contents/{+path}","compare_url":"https://api.github.com/repos/azavea/tilegarden/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azavea/tilegarden/merges","archive_url":"https://api.github.com/repos/azavea/tilegarden/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azavea/tilegarden/downloads","issues_url":"https://api.github.com/repos/azavea/tilegarden/issues{/number}","pulls_url":"https://api.github.com/repos/azavea/tilegarden/pulls{/number}","milestones_url":"https://api.github.com/repos/azavea/tilegarden/milestones{/number}","notifications_url":"https://api.github.com/repos/azavea/tilegarden/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azavea/tilegarden/labels{/name}","releases_url":"https://api.github.com/repos/azavea/tilegarden/releases{/id}","deployments_url":"https://api.github.com/repos/azavea/tilegarden/deployments","created_at":"2018-06-04T02:21:44Z","updated_at":"2018-07-17T14:55:00Z","pushed_at":"2018-07-17T17:47:43Z","git_url":"git://github.com/azavea/tilegarden.git","ssh_url":"git@github.com:azavea/tilegarden.git","clone_url":"https://github.com/azavea/tilegarden.git","svn_url":"https://github.com/azavea/tilegarden","homepage":null,"size":275644,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":15,"license":null,"forks":0,"open_issues":15,"watchers":0,"default_branch":"develop"}},"base":{"label":"azavea:feature/line+polygon-support","ref":"feature/line+polygon-support","sha":"6cc054548bd6419c7fd6d51f87b0dacd6735c21b","user":{"login":"azavea","id":595231,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5NTIzMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/595231?v=4","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"repo":{"id":135959961,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU5NTk5NjE=","name":"tilegarden","full_name":"azavea/tilegarden","owner":{"login":"azavea","id":595231,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5NTIzMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/595231?v=4","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/azavea/tilegarden","description":null,"fork":false,"url":"https://api.github.com/repos/azavea/tilegarden","forks_url":"https://api.github.com/repos/azavea/tilegarden/forks","keys_url":"https://api.github.com/repos/azavea/tilegarden/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azavea/tilegarden/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azavea/tilegarden/teams","hooks_url":"https://api.github.com/repos/azavea/tilegarden/hooks","issue_events_url":"https://api.github.com/repos/azavea/tilegarden/issues/events{/number}","events_url":"https://api.github.com/repos/azavea/tilegarden/events","assignees_url":"https://api.github.com/repos/azavea/tilegarden/assignees{/user}","branches_url":"https://api.github.com/repos/azavea/tilegarden/branches{/branch}","tags_url":"https://api.github.com/repos/azavea/tilegarden/tags","blobs_url":"https://api.github.com/repos/azavea/tilegarden/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azavea/tilegarden/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azavea/tilegarden/git/refs{/sha}","trees_url":"https://api.github.com/repos/azavea/tilegarden/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azavea/tilegarden/statuses/{sha}","languages_url":"https://api.github.com/repos/azavea/tilegarden/languages","stargazers_url":"https://api.github.com/repos/azavea/tilegarden/stargazers","contributors_url":"https://api.github.com/repos/azavea/tilegarden/contributors","subscribers_url":"https://api.github.com/repos/azavea/tilegarden/subscribers","subscription_url":"https://api.github.com/repos/azavea/tilegarden/subscription","commits_url":"https://api.github.com/repos/azavea/tilegarden/commits{/sha}","git_commits_url":"https://api.github.com/repos/azavea/tilegarden/git/commits{/sha}","comments_url":"https://api.github.com/repos/azavea/tilegarden/comments{/number}","issue_comment_url":"https://api.github.com/repos/azavea/tilegarden/issues/comments{/number}","contents_url":"https://api.github.com/repos/azavea/tilegarden/contents/{+path}","compare_url":"https://api.github.com/repos/azavea/tilegarden/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azavea/tilegarden/merges","archive_url":"https://api.github.com/repos/azavea/tilegarden/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azavea/tilegarden/downloads","issues_url":"https://api.github.com/repos/azavea/tilegarden/issues{/number}","pulls_url":"https://api.github.com/repos/azavea/tilegarden/pulls{/number}","milestones_url":"https://api.github.com/repos/azavea/tilegarden/milestones{/number}","notifications_url":"https://api.github.com/repos/azavea/tilegarden/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azavea/tilegarden/labels{/name}","releases_url":"https://api.github.com/repos/azavea/tilegarden/releases{/id}","deployments_url":"https://api.github.com/repos/azavea/tilegarden/deployments","created_at":"2018-06-04T02:21:44Z","updated_at":"2018-07-17T14:55:00Z","pushed_at":"2018-07-17T17:47:43Z","git_url":"git://github.com/azavea/tilegarden.git","ssh_url":"git@github.com:azavea/tilegarden.git","clone_url":"https://github.com/azavea/tilegarden.git","svn_url":"https://github.com/azavea/tilegarden","homepage":null,"size":275644,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":15,"license":null,"forks":0,"open_issues":15,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/azavea/tilegarden/pulls/60"},"html":{"href":"https://github.com/azavea/tilegarden/pull/60"},"issue":{"href":"https://api.github.com/repos/azavea/tilegarden/issues/60"},"comments":{"href":"https://api.github.com/repos/azavea/tilegarden/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/azavea/tilegarden/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/azavea/tilegarden/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/azavea/tilegarden/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/azavea/tilegarden/statuses/dee99ccbefdbd3839955cc9c5b552073becf156d"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":107,"deletions":17,"changed_files":10}}
{"actor":{"display_login":"mattdelsordo"}}