Opened 12 years ago

Closed 12 years ago

#1777 closed enhancement (fixed)

[PATCH] Add warning for overview computation on palette rasterband with average resampling

Reported by: Even Rouault Owned by: warmerdam
Priority: normal Milestone: 1.5.0
Component: GDAL_Raster Version: svn-trunk
Severity: normal Keywords: overview
Cc:

Description

Computing overviews on raster bands that are palette indexed with average resampling does not give good results. This patch adds a warning when this situation occurs.

I was also thinking about defaulting to nearest in that case, but the patch just emits a warning.

Attachments (1)

gdal_svn_warn_average_palette_overview_1777.patch (899 bytes) - added by Even Rouault 12 years ago.

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by Even Rouault

comment:1 Changed 12 years ago by Even Rouault

Milestone: 1.5.0
Resolution: fixed
Status: newclosed

Fixed in trunk in r12496

Note: See TracTickets for help on using tickets.