id summary reporter owner description type status priority milestone component version severity resolution keywords cc 6581 VRT warp NODATA value error at right/bottom edges svaccari warmerdam "When using {{{gdal_translate}}} on a warped VRT the resulting image has wrong NODATA values at right/bottom edges. This does not happen with GDAL 1.10. The commands to reproduce the bug are: {{{ gdalWarp -of VRT -tr 128 128 -te 557056 4259840 720896 4325376 ^ -dstnodata ""255 0 255"" block33.tif vrtBB_prova.vrt gdal_translate -co ""COMPRESS=LZW"" vrtBB_prova.vrt Calabria.tif }}} Script and data can be found at this link: http://www.3drte.it/GDAL/bugData.zip Bug can be traced back to this change in GDAL code: {{{ Revision: 27798 Author: rouault Date: 2014-10-04 19:02:57 Message: VRT warp: avoid to warp truncated blocks at right/bottom edges, so that scale computation is correct ---- Modified : /trunk/gdal/frmts/vrt/vrtwarped.cpp }}} Bug disappears commenting the lines corresponding to this change." defect closed normal default 2.1.0 normal fixed VRT warp NODATA