Changes between Initial Version and Version 2 of Ticket #2724
- Timestamp:
- Dec 8, 2008, 11:45:33 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2724
- Property Keywords vrt warped added
- Property Priority normal → high
- Property Status new → assigned
-
Ticket #2724 – Description
initial v2 7 7 8 8 Example: 9 {{{ 9 10 gdal_translate -of vrt -a_nodata 255 -expand rgb palette.tif rgb.vrt 10 11 gdalwarp -of vrt -t_srs epsg:900913 -srcnodata 255 -dstnodata 255 rgb.vrt rgbwarped.vrt 11 12 }}} 12 13 If I use in the second step gtiff driver instead of vrt, like: 14 {{{ 13 15 gdalwarp -of gtiff -t_srs epsg:900913 -srcnodata 255 -dstnodata 255 rgb.vrt rgbwarped.tif 16 }}} 14 17 then the result is correct - new blank areas are filled with NODATA value. 15 18 16 19 Difference is visible in the top left corner of the file. OpenEV shows: 20 {{{ 17 21 rgbwarped.vrt: 0r 0g 0b 18 22 rgbwarped.tif: 255r 255g 255g [NODATA] 23 }}} 19 24 20 25 It seems like a bug in the warping core related to vrt with expanded rgb.