<div dir="ltr">Chheang Be,<div><br></div><div>You will want IMAGEMODE INT16 which takes a quite distinct code path which supports multiple bands. </div><div><br></div><div>You may also need to use FORMAT "GDAL/GTiff" in your OUTPUTFORMAT declaration for this to work properly, I don't exactly recall. The BANDS declaration may also be of use if you want to control the band selection.</div>
<div><br></div><div>See:</div><div> <a href="http://mapserver.org/mapfile/outputformat.html">http://mapserver.org/mapfile/outputformat.html</a></div><div> <a href="https://github.com/mapserver/msautotest/blob/master/gdal/rawmode_multiband.map">https://github.com/mapserver/msautotest/blob/master/gdal/rawmode_multiband.map</a></div>
<div><br></div><div>Best regards,</div><div>Frank</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 28, 2013 at 2:39 PM, geoguru <span dir="ltr"><<a href="mailto:chheangbe@gmail.com" target="_blank">chheangbe@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">How would you go about serving a 16bit GeoTIFF with n number of bands and be<br>
able to have the WMS query return all the bands in the GeoTIFF. I've<br>
attempted to use the GDAL/GTiff driver to return tiffs, but could only<br>
return a max of 4 bands using the RGBA ImageMode.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/WMS-GeoTIFF-query-with-multiple-bands-tp5074859.html" target="_blank">http://osgeo-org.1560.x6.nabble.com/WMS-GeoTIFF-query-with-multiple-bands-tp5074859.html</a><br>
Sent from the Mapserver - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>---------------------------------------+--------------------------------------<br>I set the clouds in motion - turn up | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a href="http://pobox.com/~warmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>and watch the world go round - Rush | Geospatial Software Developer<br>
</div>