Opened 17 years ago

Closed 17 years ago

#1721 closed defect (fixed)

[PATCH] GTiffDataset::IBuildOverviews doest not propagate NODATA to overview rasterband

Reported by: Even Rouault Owned by: warmerdam
Priority: normal Milestone: 1.5.0
Component: GDAL_Raster Version: 1.4.2
Severity: normal Keywords: geotiff overview nodata
Cc:

Description

This is closely related to the fix proposed in http://trac.osgeo.org/gdal/ticket/1372

Currently, when building GeoTIFF overviews with gdaladdo, the nodata value is propagated to the first overview level, but not to the following levels. The attached patch fixes this.

Attachments (2)

gdal-1.4.2-gtiff-overview-nodata.patch (611 bytes ) - added by Even Rouault 17 years ago.
gdal-1.4.2-gdaldefaultoverviews-nodata-propagation.patch (625 bytes ) - added by Even Rouault 17 years ago.

Download all attachments as: .zip

Change History (4)

by Even Rouault, 17 years ago

comment:1 by Even Rouault, 17 years ago

Samething in gdaldefaultoverviews.cpp

comment:2 by Even Rouault, 17 years ago

Component: defaultGDAL_Raster
Keywords: overview nodata added
Milestone: 1.5.0
Resolution: fixed
Status: newclosed

Both patches commited in trunk in r12498

Note: See TracTickets for help on using tickets.