{"action":"closed","issue":{"url":"https://api.github.com/repos/mapnik/node-mapnik/issues/474","labels_url":"https://api.github.com/repos/mapnik/node-mapnik/issues/474/labels{/name}","comments_url":"https://api.github.com/repos/mapnik/node-mapnik/issues/474/comments","events_url":"https://api.github.com/repos/mapnik/node-mapnik/issues/474/events","html_url":"https://github.com/mapnik/node-mapnik/issues/474","id":93902581,"number":474,"title":"Back compatibility for vt.parse","user":{"login":"springmeyer","id":20300,"avatar_url":"https://avatars.githubusercontent.com/u/20300?v=3","gravatar_id":"","url":"https://api.github.com/users/springmeyer","html_url":"https://github.com/springmeyer","followers_url":"https://api.github.com/users/springmeyer/followers","following_url":"https://api.github.com/users/springmeyer/following{/other_user}","gists_url":"https://api.github.com/users/springmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/springmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/springmeyer/subscriptions","organizations_url":"https://api.github.com/users/springmeyer/orgs","repos_url":"https://api.github.com/users/springmeyer/repos","events_url":"https://api.github.com/users/springmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/springmeyer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mapnik/node-mapnik/milestones/13","html_url":"https://github.com/mapnik/node-mapnik/milestones/v3.5.0","labels_url":"https://api.github.com/repos/mapnik/node-mapnik/milestones/13/labels","id":1035421,"number":13,"title":"v3.5.0","description":"","creator":{"login":"springmeyer","id":20300,"avatar_url":"https://avatars.githubusercontent.com/u/20300?v=3","gravatar_id":"","url":"https://api.github.com/users/springmeyer","html_url":"https://github.com/springmeyer","followers_url":"https://api.github.com/users/springmeyer/followers","following_url":"https://api.github.com/users/springmeyer/following{/other_user}","gists_url":"https://api.github.com/users/springmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/springmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/springmeyer/subscriptions","organizations_url":"https://api.github.com/users/springmeyer/orgs","repos_url":"https://api.github.com/users/springmeyer/repos","events_url":"https://api.github.com/users/springmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/springmeyer/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":8,"state":"open","created_at":"2015-03-23T23:30:24Z","updated_at":"2015-07-10T21:12:58Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-07-08T22:15:21Z","updated_at":"2015-07-10T21:12:58Z","closed_at":"2015-07-10T21:12:58Z","body":"After https://github.com/mapnik/node-mapnik/issues/419 is done the need for `vt.parse()` will be gone. \r\n\r\nThis is awesome, but we'll need to think through how to lessen the damage downstream.\r\n\r\nMy thinking is that:\r\n\r\n  - We should remove all usage of `vt.parse` from the node-mapnik tests\r\n  - We keep `vt.parse()` as a function but either:\r\n   - make it do nothing except print a deprecation warning, or\r\n   - change its behavior to be a validation function.\r\n\r\n\r\nBy `validation` I mean it could create a `tile_datasource` on the stack and make sure that works without throwing. That would allow usage like this to keep working the same: https://github.com/mapbox/mapbox-upload-validate/blob/7666dca170e0d35ad81280c2b2fb997c8852f72a/lib/validators/serialtiles.js#L48-L73. However I'm not yet convinced this is a good idea. There are a lot of forms of validation users might want for vector tiles and it likely makes more sense to think of this as a totally separate task. Users might want to know 1) is it a protobuf, 2) is it a valid vector tile at the byte/schema level (\"parseable\"), 3) is that vector tile made up of geometries that make sense (clipped and within the bounds of the tile) or was it improperly encoded if various odd ways...\r\n\r\n"}}