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 MosaicRasterSource.tileToLayout behavior #3338

Merged
merged 6 commits into from
Apr 8, 2021

Conversation

pomadchin
Copy link
Member

@pomadchin pomadchin commented Feb 16, 2021

Overview

MosaicRasterSource.tileToLayout with more than a single RasterSource leads to incorrect reads.

Checklist

  • ./CHANGELOG.md updated, if necessary. Link to the issue if closed, otherwise the PR.
  • Unit tests added for bug-fix or new feature

Closes #3253

@pomadchin pomadchin requested a review from echeipesh February 16, 2021 22:39
@pomadchin pomadchin force-pushed the fix/mosasic-rs-tiling branch from dfbe2a9 to 54dcb3d Compare February 16, 2021 23:00
}

neighborhood map {
case (x, y) => checkExtent(x, y, rs)
}
}

// https://github.com/locationtech/geotrellis/issues/3253
it("MosaicRasterSource should be properly tiled to layout") {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The idea of the test, is to prove that the read by extent behaves the same way as the read by keys (by bounds).

@pomadchin pomadchin force-pushed the fix/mosasic-rs-tiling branch 2 times, most recently from cc4c03f to 159f682 Compare March 10, 2021 00:06
@pomadchin pomadchin force-pushed the fix/mosasic-rs-tiling branch from 159f682 to 6d956f3 Compare March 10, 2021 00:07
@pomadchin pomadchin merged commit e6e7cc8 into locationtech:master Apr 8, 2021
@pomadchin pomadchin deleted the fix/mosasic-rs-tiling branch April 8, 2021 13:35
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.

TileToLayout a MosaicRasterSource issue
2 participants