Gdalwarp artifacts in output GTIFF
|Reported by:||sshak||Owned by:||warmerdam|
|Severity:||major||Keywords:||jpeg nodata mask msb|
I'm using Gdalwarp to combine reproject multiple tiles into a single image. The input file set contains a large quantity of JPEG files (JFIF format) with a corresponding JGW file. They start as EPSG:25832 and end as EPSG:4326 into an uncompressed GTIFF. I select a target region, locate all input files that contain data for that boundary, and then run gdalwarp: gdalwarp -s_srs EPSG:25832 -t_srs EPSG:4326 -te <bounds> --config GDAL_CACHEMAX 4096 -wm 4096 -srcnodata 0 -dstnodata 0 <input files> <outputfile> Files that get created where the output file is larger than the input data get vertical artifacts. These artifacts seem to coincide where an "edge" input tile occurs, with a line at the inside edge, and at the outer edge. The overview.jpg shows the right edge of the tiles (black is nodata filled from not having tiles to fill those coordinates) having a white pattern in two vertical lines. The detail.jpg shows the inner corruption that follows a similar pattern.