-
Notifications
You must be signed in to change notification settings - Fork 364
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, GDALRasterSource and GeoTiffResampleRasterSource behavior #3252
Conversation
3855874
to
60b9945
Compare
MosaicRasterSource( | ||
sources map { _.reproject(targetCRS, resampleTarget, method, strategy) }, | ||
crs, | ||
gridExtent.reproject(this.crs, targetCRS, Reproject.Options.DEFAULT.copy(method = method)), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This gives an incorrect CellSize
raster/src/main/scala/geotrellis/raster/MosaicRasterSource.scala
Outdated
Show resolved
Hide resolved
89daec1
to
d841cb5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall, although it appears there's a failing GDAL test on Scala 2.11 in CI that I couldn't reproduce locally.
Also good to add some docs before merging to MosaicRasterSource instance and apply methods that describe how and why you'd want to use each, e.g. needing to conform all rasters to a target grid extent.
7fe3249
to
cc1d1f4
Compare
Overview
This PR fixes:
Checklist