[mapserver-commits] [mapserver/mapserver] c8c461: msDrawRasterLayerGDAL(): find alpha band even if n...

GitHub noreply at github.com
Tue Jan 5 05:05:00 PST 2016


  Branch: refs/heads/master
  Home:   https://github.com/mapserver/mapserver
  Commit: c8c461e4374f9330f0e70a80f2b121b21aaa7c99
      https://github.com/mapserver/mapserver/commit/c8c461e4374f9330f0e70a80f2b121b21aaa7c99
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2016-01-04 (Mon, 04 Jan 2016)

  Changed paths:
    M mapdrawgdal.c

  Log Message:
  -----------
  msDrawRasterLayerGDAL(): find alpha band even if not 4th one (#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.




More information about the mapserver-commits mailing list