Opened 7 years ago

Closed 7 years ago

#5675 closed defect (fixed)

gdalwarp doesn't initialize target with no_data value

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.11.2
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords: warp nodata


When doing "gdalwarp src.tif dst.tif" where src.tif has a nodata value, dst.tif is created with that nodata value and the warper takes into account that nodata value as both source and target nodata value, but we fail to initialize the target with that nodata value, so it is initialized wrongly to 0.

Change History (1)

comment:1 Changed 7 years ago by Even Rouault

Milestone: 1.11.2
Resolution: fixed
Status: newclosed

trunk r27775, branches/1.11 r27776 "gdalwarp: initialize destination dataset to no_data value when automatically propagating source nodata (#5675)"

Note: See TracTickets for help on using tickets.