{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/rasterio/issues/873","repository_url":"https://api.github.com/repos/mapbox/rasterio","labels_url":"https://api.github.com/repos/mapbox/rasterio/issues/873/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/rasterio/issues/873/comments","events_url":"https://api.github.com/repos/mapbox/rasterio/issues/873/events","html_url":"https://github.com/mapbox/rasterio/pull/873","id":176015776,"number":873,"title":"Window class","user":{"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},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mapbox/rasterio/milestones/8","html_url":"https://github.com/mapbox/rasterio/milestones/1.0","labels_url":"https://api.github.com/repos/mapbox/rasterio/milestones/8/labels","id":686337,"number":8,"title":"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":13,"closed_issues":102,"state":"open","created_at":"2014-06-10T00:10:13Z","updated_at":"2016-09-13T12:32:53Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-09-09T13:55:44Z","updated_at":"2016-09-14T14:01:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mapbox/rasterio/pulls/873","html_url":"https://github.com/mapbox/rasterio/pull/873","diff_url":"https://github.com/mapbox/rasterio/pull/873.diff","patch_url":"https://github.com/mapbox/rasterio/pull/873.patch"},"body":"Resolves #759.\r\n\r\n`Window` extends `tuple` and can be substituted for the old 2-tuples everywhere. Its constructor is `Window(col_off, row_off, num_cols, num_rows)` to help developers coming from GDAL. `Window.from_ranges()` and `Window.from_bounds()` are a pair of classmethods that complement the default constructor.\r\n\r\nI've modified the functions of `rasterio.windows` to return instances of `Window` instead of \"bare\" 2-tuples.\r\n\r\n@brendan-ward @perrygeo @geowurster what do you think?"},"comment":{"url":"https://api.github.com/repos/mapbox/rasterio/issues/comments/247022382","html_url":"https://github.com/mapbox/rasterio/pull/873#issuecomment-247022382","issue_url":"https://api.github.com/repos/mapbox/rasterio/issues/873","id":247022382,"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-09-14T14:01:21Z","updated_at":"2016-09-14T14:01:21Z","body":"This is good to go. Let's defer the methods work #877 until post 1.0. "}}
{"actor":{"display_login":"perrygeo"}}