{"action":"created","issue":{"url":"https://api.github.com/repos/mapzen/vector-datasource/issues/227","labels_url":"https://api.github.com/repos/mapzen/vector-datasource/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/mapzen/vector-datasource/issues/227/comments","events_url":"https://api.github.com/repos/mapzen/vector-datasource/issues/227/events","html_url":"https://github.com/mapzen/vector-datasource/pull/227","id":107582062,"number":227,"title":"Added OSM-based national park polygons at zooms 4-8.","user":{"login":"zerebubuth","id":271360,"avatar_url":"https://avatars.githubusercontent.com/u/271360?v=3","gravatar_id":"","url":"https://api.github.com/users/zerebubuth","html_url":"https://github.com/zerebubuth","followers_url":"https://api.github.com/users/zerebubuth/followers","following_url":"https://api.github.com/users/zerebubuth/following{/other_user}","gists_url":"https://api.github.com/users/zerebubuth/gists{/gist_id}","starred_url":"https://api.github.com/users/zerebubuth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zerebubuth/subscriptions","organizations_url":"https://api.github.com/users/zerebubuth/orgs","repos_url":"https://api.github.com/users/zerebubuth/repos","events_url":"https://api.github.com/users/zerebubuth/events{/privacy}","received_events_url":"https://api.github.com/users/zerebubuth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapzen/vector-datasource/labels/pr","name":"pr","color":"e6e6e6"}],"state":"open","locked":false,"assignee":{"login":"zerebubuth","id":271360,"avatar_url":"https://avatars.githubusercontent.com/u/271360?v=3","gravatar_id":"","url":"https://api.github.com/users/zerebubuth","html_url":"https://github.com/zerebubuth","followers_url":"https://api.github.com/users/zerebubuth/followers","following_url":"https://api.github.com/users/zerebubuth/following{/other_user}","gists_url":"https://api.github.com/users/zerebubuth/gists{/gist_id}","starred_url":"https://api.github.com/users/zerebubuth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zerebubuth/subscriptions","organizations_url":"https://api.github.com/users/zerebubuth/orgs","repos_url":"https://api.github.com/users/zerebubuth/repos","events_url":"https://api.github.com/users/zerebubuth/events{/privacy}","received_events_url":"https://api.github.com/users/zerebubuth/received_events","type":"User","site_admin":false},"milestone":null,"comments":15,"created_at":"2015-09-21T19:29:19Z","updated_at":"2015-09-22T18:12:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mapzen/vector-datasource/pulls/227","html_url":"https://github.com/mapzen/vector-datasource/pull/227","diff_url":"https://github.com/mapzen/vector-datasource/pull/227.diff","patch_url":"https://github.com/mapzen/vector-datasource/pull/227.patch"},"body":"This adds those polygons, removing the NE ones which were in some of the queries. The new polygons merge in the `boundary` attribute and update the `mz_calculate_is_landuse` function to treat national park polygons as a type of landuse.\r\n\r\nIt also exposes an attribute for the OSM `operator` tag, which can be used to distinguish US National Parks Service areas from those run by the US Forestry Service.\r\n\r\nRefs #149.\r\n\r\nBefore, zooms 4-6:\r\n\r\n![149-before-z4](https://cloud.githubusercontent.com/assets/271360/10002482/4754ddae-609f-11e5-9c4c-5f640ad646a8.png)\r\n\r\n![149-before-z5](https://cloud.githubusercontent.com/assets/271360/10002484/49fdbb34-609f-11e5-8f5a-c0068b2fa83e.png)\r\n\r\n![149-before-z6](https://cloud.githubusercontent.com/assets/271360/10002487/4e2f9fe2-609f-11e5-9570-d52c07f422c7.png)\r\n\r\nAfter:\r\n\r\n![149-after-z4](https://cloud.githubusercontent.com/assets/271360/10002491/547b6980-609f-11e5-8043-dc322c8b4075.png)\r\n\r\n![149-after-z5](https://cloud.githubusercontent.com/assets/271360/10002495/57c690b0-609f-11e5-9978-7202d587b396.png)\r\n\r\n![149-after-z6](https://cloud.githubusercontent.com/assets/271360/10002497/5a7ee000-609f-11e5-81b1-c6c87f535ee7.png)\r\n\r\nWith the following snippet of `scene.yaml`:\r\n\r\n```yaml\r\n    landuse:\r\n        data: { source: osm }\r\n        draw:\r\n            polygons:\r\n                order: 1\r\n                color: '#aaaaa0'\r\n        urban:\r\n          filter: { kind: urban area }\r\n          draw:\r\n            polygons:\r\n              order: 2\r\n              color: '#808080'\r\n\r\n        park or protected land:\r\n          filter: { kind: national_park }\r\n          draw:\r\n            polygons:\r\n              order: 2\r\n              color: '#80aa80'\r\n\r\n          national_forest:\r\n            filter: { operator: [United States Forest Service, US Forest Service, National \\\r\nForest Service] }\r\n            draw: { polygons: { color: '#609060' } }\r\n\r\n          national_park:\r\n            filter: { operator: [United States National Park Service, United States Park Se\\\r\nrvice, US National Park Service, National Park Service] }\r\n            draw: { polygons: { color: '#50a060' } }\r\n```"},"comment":{"url":"https://api.github.com/repos/mapzen/vector-datasource/issues/comments/142368857","html_url":"https://github.com/mapzen/vector-datasource/pull/227#issuecomment-142368857","issue_url":"https://api.github.com/repos/mapzen/vector-datasource/issues/227","id":142368857,"user":{"login":"zerebubuth","id":271360,"avatar_url":"https://avatars.githubusercontent.com/u/271360?v=3","gravatar_id":"","url":"https://api.github.com/users/zerebubuth","html_url":"https://github.com/zerebubuth","followers_url":"https://api.github.com/users/zerebubuth/followers","following_url":"https://api.github.com/users/zerebubuth/following{/other_user}","gists_url":"https://api.github.com/users/zerebubuth/gists{/gist_id}","starred_url":"https://api.github.com/users/zerebubuth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zerebubuth/subscriptions","organizations_url":"https://api.github.com/users/zerebubuth/orgs","repos_url":"https://api.github.com/users/zerebubuth/repos","events_url":"https://api.github.com/users/zerebubuth/events{/privacy}","received_events_url":"https://api.github.com/users/zerebubuth/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T18:12:21Z","updated_at":"2015-09-22T18:12:21Z","body":"@nvkelso try emptying your cache:\r\n\r\n![japan-parks](https://cloud.githubusercontent.com/assets/271360/10027215/bbeba224-615d-11e5-9f01-01857f607ac5.png)\r\n\r\nPerhaps they were deleted recently, but they're not showing up for me in the current data, nor in the data from a couple of weeks ago that's loaded in my database.\r\n"}}