{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-test-suite/issues/78","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-test-suite","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-test-suite/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-test-suite/issues/78/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-test-suite/issues/78/events","html_url":"https://github.com/mapbox/mapbox-gl-test-suite/pull/78","id":137420865,"number":78,"title":"V2 fixtures","user":{"login":"mikemorris","id":1149913,"avatar_url":"https://avatars.githubusercontent.com/u/1149913?v=3","gravatar_id":"","url":"https://api.github.com/users/mikemorris","html_url":"https://github.com/mikemorris","followers_url":"https://api.github.com/users/mikemorris/followers","following_url":"https://api.github.com/users/mikemorris/following{/other_user}","gists_url":"https://api.github.com/users/mikemorris/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemorris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemorris/subscriptions","organizations_url":"https://api.github.com/users/mikemorris/orgs","repos_url":"https://api.github.com/users/mikemorris/repos","events_url":"https://api.github.com/users/mikemorris/events{/privacy}","received_events_url":"https://api.github.com/users/mikemorris/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mikemorris","id":1149913,"avatar_url":"https://avatars.githubusercontent.com/u/1149913?v=3","gravatar_id":"","url":"https://api.github.com/users/mikemorris","html_url":"https://github.com/mikemorris","followers_url":"https://api.github.com/users/mikemorris/followers","following_url":"https://api.github.com/users/mikemorris/following{/other_user}","gists_url":"https://api.github.com/users/mikemorris/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemorris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemorris/subscriptions","organizations_url":"https://api.github.com/users/mikemorris/orgs","repos_url":"https://api.github.com/users/mikemorris/repos","events_url":"https://api.github.com/users/mikemorris/events{/privacy}","received_events_url":"https://api.github.com/users/mikemorris/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-03-01T00:11:43Z","updated_at":"2016-03-01T20:24:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-test-suite/pulls/78","html_url":"https://github.com/mapbox/mapbox-gl-test-suite/pull/78","diff_url":"https://github.com/mapbox/mapbox-gl-test-suite/pull/78.diff","patch_url":"https://github.com/mapbox/mapbox-gl-test-suite/pull/78.patch"},"body":"Updated test fixtures to v2 vector tiles with the script below - some expected test results will need to be updated to match.\r\n```\r\nnpm install mapnik@3.5.0\r\n```\r\n```\r\nvar fs = require('fs');\r\nvar mapnik = require('mapnik');\r\nvar args = process.argv.slice(2);\r\n\r\nvar file = args[0].split('.vector.pbf')[0];\r\nvar data = fs.readFileSync(file + '.vector.pbf');\r\nvar vtile = new mapnik.VectorTile(0,0,0);\r\nvtile.setData(data);\r\n\r\nfs.writeFileSync(file + '.mvt', vtile.getData());\r\n```\r\n```\r\nfind tiles/*.vector.pbf -exec node convert.js {} \\;\r\n```"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-test-suite/issues/comments/190886299","html_url":"https://github.com/mapbox/mapbox-gl-test-suite/pull/78#issuecomment-190886299","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-test-suite/issues/78","id":190886299,"user":{"login":"mourner","id":25395,"avatar_url":"https://avatars.githubusercontent.com/u/25395?v=3","gravatar_id":"","url":"https://api.github.com/users/mourner","html_url":"https://github.com/mourner","followers_url":"https://api.github.com/users/mourner/followers","following_url":"https://api.github.com/users/mourner/following{/other_user}","gists_url":"https://api.github.com/users/mourner/gists{/gist_id}","starred_url":"https://api.github.com/users/mourner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mourner/subscriptions","organizations_url":"https://api.github.com/users/mourner/orgs","repos_url":"https://api.github.com/users/mourner/repos","events_url":"https://api.github.com/users/mourner/events{/privacy}","received_events_url":"https://api.github.com/users/mourner/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T20:24:44Z","updated_at":"2016-03-01T20:24:44Z","body":"> var vtile = new mapnik.VectorTile(0,0,0);\r\n\r\nAre all fixtures 0-0-0? The tile number affects encoding, right?"}}