New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alpha band not always detected #5216

Open
rouault opened this Issue Jan 4, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@rouault
Contributor

rouault commented Jan 4, 2016

Currently, in the absence of a BANDS processing directive, msDrawRasterLayerGDAL() only checks that if the 4th band is the alpha band when the raster has 4 or more bands. But for some products, the 4th band might be the last one, so we'd better check the color interpretation of all bands >= 4th one.

@rouault rouault added the GDAL Support label Jan 4, 2016

@rouault rouault self-assigned this Jan 4, 2016

rouault added a commit to rouault/mapserver that referenced this issue Jan 4, 2016

msDrawRasterLayerGDAL(): find alpha band even if not 4th one (mapserv…
…er#5216)

Currently, in the absence of a BANDS processing directive,
msDrawRasterLayerGDAL() only checks that if the 4th band is the alpha
band when the raster has 4 or more bands. But for some products, the 4th
band might be the last one, so we'd better check the color interpretation
of all bands >= 4th one.

rouault added a commit to mapserver/msautotest_DEPRECATED that referenced this issue Jan 5, 2016

@tbonfort

This comment has been minimized.

Member

tbonfort commented Feb 23, 2016

@rouault do we want this in 7.0.1 ?

@rouault

This comment has been minimized.

Contributor

rouault commented Feb 24, 2016

As far as I'm concerned, I don't need it in 7.0.1. I guess it could be backported quite safely though

@tbonfort tbonfort added this to the 7.2 Release milestone Feb 26, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment