{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/rasterio/issues/579","repository_url":"https://api.github.com/repos/mapbox/rasterio","labels_url":"https://api.github.com/repos/mapbox/rasterio/issues/579/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/rasterio/issues/579/comments","events_url":"https://api.github.com/repos/mapbox/rasterio/issues/579/events","html_url":"https://github.com/mapbox/rasterio/issues/579","id":141015312,"number":579,"title":"densify option for rio bounds","user":{"login":"perrygeo","id":1151287,"avatar_url":"https://avatars.githubusercontent.com/u/1151287?v=3","gravatar_id":"","url":"https://api.github.com/users/perrygeo","html_url":"https://github.com/perrygeo","followers_url":"https://api.github.com/users/perrygeo/followers","following_url":"https://api.github.com/users/perrygeo/following{/other_user}","gists_url":"https://api.github.com/users/perrygeo/gists{/gist_id}","starred_url":"https://api.github.com/users/perrygeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perrygeo/subscriptions","organizations_url":"https://api.github.com/users/perrygeo/orgs","repos_url":"https://api.github.com/users/perrygeo/repos","events_url":"https://api.github.com/users/perrygeo/events{/privacy}","received_events_url":"https://api.github.com/users/perrygeo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/rasterio/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mapbox/rasterio/milestones/43","html_url":"https://github.com/mapbox/rasterio/milestones/post%201.0","labels_url":"https://api.github.com/repos/mapbox/rasterio/milestones/43/labels","id":1627182,"number":43,"title":"post 1.0","description":null,"creator":{"login":"sgillies","id":33697,"avatar_url":"https://avatars.githubusercontent.com/u/33697?v=3","gravatar_id":"","url":"https://api.github.com/users/sgillies","html_url":"https://github.com/sgillies","followers_url":"https://api.github.com/users/sgillies/followers","following_url":"https://api.github.com/users/sgillies/following{/other_user}","gists_url":"https://api.github.com/users/sgillies/gists{/gist_id}","starred_url":"https://api.github.com/users/sgillies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgillies/subscriptions","organizations_url":"https://api.github.com/users/sgillies/orgs","repos_url":"https://api.github.com/users/sgillies/repos","events_url":"https://api.github.com/users/sgillies/events{/privacy}","received_events_url":"https://api.github.com/users/sgillies/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":2,"state":"open","created_at":"2016-03-07T20:30:56Z","updated_at":"2016-03-15T15:48:23Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-03-15T15:48:23Z","updated_at":"2016-03-16T10:45:33Z","closed_at":null,"body":"`rio bounds` currently uses densification to calculate proper bounds in different crs. But the returned feature is just a 4 corner polygon. \r\n\r\nWe might want a `--densify` option to retain the shape of the densified, reprojected bounds. This could be useful for gathering more precise bounds from rasters in a variety of projections. \r\n\r\nTo implement, we need something like a `warp.transform_bounds` function but one that returns a valid polygon coordinate array (in proper winding order), not a bounds array. Then in the `bounds` command, we'd need to conditionally accommodate polygons instead of just bounds."},"comment":{"url":"https://api.github.com/repos/mapbox/rasterio/issues/comments/197256900","html_url":"https://github.com/mapbox/rasterio/issues/579#issuecomment-197256900","issue_url":"https://api.github.com/repos/mapbox/rasterio/issues/579","id":197256900,"user":{"login":"perrygeo","id":1151287,"avatar_url":"https://avatars.githubusercontent.com/u/1151287?v=3","gravatar_id":"","url":"https://api.github.com/users/perrygeo","html_url":"https://github.com/perrygeo","followers_url":"https://api.github.com/users/perrygeo/followers","following_url":"https://api.github.com/users/perrygeo/following{/other_user}","gists_url":"https://api.github.com/users/perrygeo/gists{/gist_id}","starred_url":"https://api.github.com/users/perrygeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perrygeo/subscriptions","organizations_url":"https://api.github.com/users/perrygeo/orgs","repos_url":"https://api.github.com/users/perrygeo/repos","events_url":"https://api.github.com/users/perrygeo/events{/privacy}","received_events_url":"https://api.github.com/users/perrygeo/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T10:45:33Z","updated_at":"2016-03-16T10:45:33Z","body":"Implemented as a standalone script: https://gist.github.com/perrygeo/68bfed1028f1b5e44d92"}}