Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle zero ranges correctly in regrid operation #2869

Merged
merged 7 commits into from
Sep 17, 2018
Merged

Conversation

philippjfr
Copy link
Member

@philippjfr philippjfr commented Jul 11, 2018

While I fixed the zero range handling in the aggregate operation I seemingly did not do it properly in the regrid operation. Additionally this PR allows Images to contain arrays with a (0, 0) shape, which previously required a hack which would instead store a (1, 1) image.

@philippjfr
Copy link
Member Author

@stevieb Would you mind testing this?

@philippjfr philippjfr added the type: bug Something isn't correct or isn't working label Jul 11, 2018
@stevievb
Copy link

@philippjfr that seemed better in that all of the images don't disappear when you zoom in but now there is a new problem. Once the image is entirely out of the viewport it disappears and never comes back.

@philippjfr
Copy link
Member Author

Once the image is entirely out of the viewport it disappears and never comes back.

Odd, I haven't been able to reproduce that. I'll have another look.

@philippjfr
Copy link
Member Author

Nevermind ran into the issue in a completely separate context and fixed it. Thanks for your help @stevievb.

@philippjfr
Copy link
Member Author

philippjfr commented Sep 15, 2018

@jlstevens This is ready to merge once tests pass.

@jlstevens
Copy link
Contributor

Looks good to me. Merging.

@jlstevens jlstevens merged commit a96f75f into master Sep 17, 2018
@philippjfr philippjfr deleted the rasterize_empty branch November 12, 2018 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't correct or isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants