Skip to content

Fix Non-Point Pixel + Partial Cell Rasterizer Bug - #1804

Merged
lossyrob merged 3 commits into
locationtech:masterfrom
jamesmcclain:fix/rasterizer
Nov 15, 2016
Merged

lossyrob merged 3 commits into
locationtech:masterfrom
jamesmcclain:fix/rasterizer

Conversation

@jamesmcclain

@jamesmcclain jamesmcclain commented Nov 14, 2016 •

Copy link
Copy Markdown
Member

The issue was that when there were edges which crossed a pixel but whose intersection with the scan rectangle was outside of that pixel, the pixel was not being reported.

Supersedes #1800
Connects #1801

@jamesmcclain

Copy link
Copy Markdown
Member Author

@zaikin Thanks for the bug report. These changes fix the broken test that you provided. Would you mind testing these changes to see if they fix your original issue?

@zaikin

zaikin commented Nov 14, 2016

Copy link
Copy Markdown
Contributor

@jamesmcclain yes, it works. Thx 🎉

@jamesmcclain

Copy link
Copy Markdown
Member Author

Sounds great. Thanks again for the bug report!

@lossyrob

lossyrob commented Nov 14, 2016 •

Copy link
Copy Markdown
Member

@zaikin in order for us to use the commit with the unit tests, we'd need you to sign a CLA (as described in our contributing.md), and re-do that commit with an email that is associated with your github account. Would you be able to do these couple of things? Sorry for the hassle, and thanks for the bug report and contribution!

Also, on mending the commit, if you could "sign" the commit (option -s), that would be ideal.

@zaikin

zaikin commented Nov 15, 2016

Copy link
Copy Markdown
Contributor

@lossyrob no problem, i'll do it a bit later today.

@lossyrob

Copy link
Copy Markdown
Member

@zaikin thanks! I'm looking to push an RC out today, so if you all that done today, I'll be able to include it in the RC.

Signed-off-by: Alexandr Zaikin <[email protected]>
@zaikin

zaikin commented Nov 15, 2016

Copy link
Copy Markdown
Contributor

@lossyrob i redid commit and sent a signed CLA.

@jamesmcclain

jamesmcclain commented Nov 15, 2016 •

Copy link
Copy Markdown
Member Author

Rebasing now.

James McClain added 2 commits November 15, 2016 15:23
The issue was that when there were edges which crossed a pixel but whose
intersection with the scan rectangle was outside of that pixel, the
pixel was not being reported.
@jamesmcclain

Copy link
Copy Markdown
Member Author

Rebased.

@lossyrob

Copy link
Copy Markdown
Member

@zaikin many thanks!

+1 after travis

@lossyrob lossyrob added this to the 1.0 milestone Nov 15, 2016
@lossyrob
lossyrob merged commit 849d321 into locationtech:master Nov 15, 2016
@jamesmcclain
jamesmcclain deleted the fix/rasterizer branch November 15, 2016 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants