Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6437 from rouault/bilinear_fix_src_bounds_checks
Bilinear resampling: fix bound checks to avoid extending source raster by 0.5 target pixel
- Loading branch information
Showing
9 changed files
with
72 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Test assembling two rasters and bilinear resampling | ||
MAP | ||
|
||
NAME TEST | ||
PROJECTION | ||
"init=epsg:4326" | ||
END | ||
|
||
EXTENT -3.515625 -35.15625 3.515625 35.15625 | ||
SIZE 32 320 | ||
IMAGETYPE png | ||
|
||
LAYER | ||
NAME "east-bilinear" | ||
TYPE RASTER | ||
STATUS default | ||
|
||
PROJECTION | ||
"init=epsg:4326" | ||
END | ||
PROCESSING "RESAMPLE=BILINEAR" | ||
DATA "data/east.tif" | ||
END | ||
|
||
LAYER | ||
NAME "west-bilinear" | ||
TYPE RASTER | ||
STATUS default | ||
|
||
PROJECTION | ||
"init=epsg:4326" | ||
END | ||
PROCESSING "RESAMPLE=BILINEAR" | ||
DATA "data/west.tif" | ||
END | ||
|
||
END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.