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

Fix vectorizer bug #2839

Merged
merged 2 commits into from
Dec 6, 2018
Merged

Fix vectorizer bug #2839

merged 2 commits into from
Dec 6, 2018

Conversation

jpolchlo
Copy link
Contributor

@jpolchlo jpolchlo commented Dec 5, 2018

Overview

A user reported a condition when the rasterizer fails. This corresponds to the case when a new cluster begins at the lower right pixel. A bounds check wasn't quite right. This contribution fixes that issue and includes a new test to guard against it.

Signed-off-by: jpolchlo [email protected]

Checklist

  • Unit tests added for bug-fix or new feature

Closes #2833

Signed-off-by: jpolchlo <[email protected]>
@pomadchin
Copy link
Member

Btw, here is a test file attached: #2833 would not it be too hard / expensive to create a unit test for this file?

@echeipesh echeipesh modified the milestones: 2.2, 3.0 Dec 5, 2018
@echeipesh
Copy link
Contributor

Will need backported to 2.2 and 2.0

@pomadchin pomadchin merged commit 56cc67a into locationtech:master Dec 6, 2018
echeipesh pushed a commit that referenced this pull request Dec 28, 2018
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.

java.lang.ArrayIndexOutOfBoundsException: 1936 when using toVector() to vectorize a tile
3 participants