Opened 13 years ago

Closed 13 years ago

#2364 closed defect (fixed)

IMAGEMODE BYTE/INT16/FLOAT32 Fails with Multiband with Bilinear/Average resampler

Reported by: jratike80 Owned by: warmerdam
Priority: normal Milestone: 5.0.1 release
Component: WCS Server Version: svn-trunk (development)
Severity: normal Keywords: RESAMPLE AVERAGE BILINEAR
Cc:

Description

GeoTIFF image downloaded from MapServer WCS with request option interpolation=bilinear is three-band image but it looks like greyscale as if all the three bands were just the same. Without interpolation option the result is OK. MapServer version is 5.1-dev from FWTools 1.4.1.

Attachments (2)

wcs_minimal.map (1.5 KB) - added by jratike80 13 years ago.
WCS mapfile
test2_wcs.tif (232.5 KB) - added by jratike80 13 years ago.
WCS mapfile

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by jratike80

Attachment: wcs_minimal.map added

WCS mapfile

Changed 13 years ago by jratike80

Attachment: test2_wcs.tif added

WCS mapfile

comment:2 Changed 13 years ago by warmerdam

Owner: changed from Frank Warmerdam to warmerdam

comment:3 Changed 13 years ago by warmerdam

Keywords: RESAMPLE AVERAGE BILINEAR added
Milestone: 5.0.1 release
Resolution: fixed
Status: newclosed
Summary: Mapserver WCS makes invalid output with option interpolation=bilinearIMAGEMODE BYTE/INT16/FLOAT32 Fails with Multiband with Bilinear/Average resampler

I have confirmed the problem.

It occurs any time bilinear or average resampling are used with IMAGEMODE BYTE, INT16 or FLOAT32 regardless of whether it is WCS (though that is the most common case where this would apply).

Fixed in trunk (r7130) and 5.0 branch (r7131).

Thanks for the good report! Sorry I didn't get it fixed before 5.0.

Note: See TracTickets for help on using tickets.