{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/tippecanoe/issues/216","repository_url":"https://api.github.com/repos/mapbox/tippecanoe","labels_url":"https://api.github.com/repos/mapbox/tippecanoe/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/tippecanoe/issues/216/comments","events_url":"https://api.github.com/repos/mapbox/tippecanoe/issues/216/events","html_url":"https://github.com/mapbox/tippecanoe/pull/216","id":149864124,"number":216,"title":"Only writing features to a tile if their centroids are contained in the tile when in no clip mode","user":{"login":"jasonbeverage","id":326626,"avatar_url":"https://avatars.githubusercontent.com/u/326626?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonbeverage","html_url":"https://github.com/jasonbeverage","followers_url":"https://api.github.com/users/jasonbeverage/followers","following_url":"https://api.github.com/users/jasonbeverage/following{/other_user}","gists_url":"https://api.github.com/users/jasonbeverage/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonbeverage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonbeverage/subscriptions","organizations_url":"https://api.github.com/users/jasonbeverage/orgs","repos_url":"https://api.github.com/users/jasonbeverage/repos","events_url":"https://api.github.com/users/jasonbeverage/events{/privacy}","received_events_url":"https://api.github.com/users/jasonbeverage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-20T19:32:46Z","updated_at":"2016-04-20T20:48:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mapbox/tippecanoe/pulls/216","html_url":"https://github.com/mapbox/tippecanoe/pull/216","diff_url":"https://github.com/mapbox/tippecanoe/pull/216.diff","patch_url":"https://github.com/mapbox/tippecanoe/pull/216.patch"},"body":"Thanks for the help on this @ericfischer.  Here is an addition to #215 that will only include features in a tile if their bounding box centers are contained within a tile so you end up with unique features throughout.  I tried it on a few building datasets and it looks great in osgEarth."},"comment":{"url":"https://api.github.com/repos/mapbox/tippecanoe/issues/comments/212600681","html_url":"https://github.com/mapbox/tippecanoe/pull/216#issuecomment-212600681","issue_url":"https://api.github.com/repos/mapbox/tippecanoe/issues/216","id":212600681,"user":{"login":"ericfischer","id":1951835,"avatar_url":"https://avatars.githubusercontent.com/u/1951835?v=3","gravatar_id":"","url":"https://api.github.com/users/ericfischer","html_url":"https://github.com/ericfischer","followers_url":"https://api.github.com/users/ericfischer/followers","following_url":"https://api.github.com/users/ericfischer/following{/other_user}","gists_url":"https://api.github.com/users/ericfischer/gists{/gist_id}","starred_url":"https://api.github.com/users/ericfischer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericfischer/subscriptions","organizations_url":"https://api.github.com/users/ericfischer/orgs","repos_url":"https://api.github.com/users/ericfischer/repos","events_url":"https://api.github.com/users/ericfischer/events{/privacy}","received_events_url":"https://api.github.com/users/ericfischer/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T20:48:21Z","updated_at":"2016-04-20T20:48:21Z","body":"This actually gets even messier because there is no guarantee that the tile that contains the center of the bounding box actually intersects the feature, in which case the feature would be left out of the tiles entirely."}}