Opened 6 years ago
Closed 6 years ago
#7075 closed defect (fixed)
gdalwarp: destination nodata implictly set if source has, but even when -dstalpha is specified
Reported by: | Even Rouault | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 2.3.0 |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
See https://lists.osgeo.org/pipermail/gdal-dev/2017-October/047320.html
gdalwarp recopies implictly the source nodata value to the target dataset, even if -dstalpha is specified. Having both nodata and alpha is confusing.
It appears that the current behaviour is a unintented side effect of a GDAL 1.11.0 change:
* gdalwarp: copy nodata values from source to dest if -dstnodata is not given ; add option to not set dest nodata with -dstnodata None (#5087)
Note:
See TracTickets
for help on using tickets.
In 40347: