[mapserver-users] Raster parameter PROCESSING "BANDS=..." and ECW files
Armin Burger
armin.burger at gmx.net
Sun Sep 4 09:33:18 PDT 2011
Hi all
I noticed a strange behaviour of MapServer (5.6.7 and 6.0.1) when
defining for a raster layer based on an ECW file a processing parameter
for the bands order like
PROCESSING "BANDS=3,2,1"
The order of the bands does not have any effect. The image is always
displayed in the original band order 1,2,3, whatever I define for the
BANDS value. If I just define a single band, like
"BANDS=3" or "BANDS=1"
then it's displaying it correctly using the right band.
This problem seems just to appear for ECW files, not e.g. for Tiff
files. If I wrap a VRT image around the ECW and use this VRT in the DATA
tag of the map file then the BANDS order is taken into account, just not
when defining the DATA using the pure ECW file.
Any ideas what's going wrong?
Thanks for any hints
Armin
More information about the MapServer-users
mailing list