Hi,<div><br></div><div>I have a Windows 2008 R2 Server running MapServer 5.2.1 from MS4W pack.</div><div><br></div><div>My trouble: Iīm trying to display a gdaltindex file ( set of rasters ) but the image border is not being displayed as expected.</div>
<div><br></div><div>The raster files are all 4-band based, with 3 bands for RGB and the 4th band for ALPHA channel. </div><div>The band 4 has only two possible values: 0 ( for transparent desired area) and 255 for area where RGB bands has content</div>
<div><br></div><div>References:</div><div>1. <a href="http://www.sntgeo.com.br/tmp/qgis-shot1.jpg">http://www.sntgeo.com.br/tmp/qgis-shot1.jpg</a> and <a href="http://www.sntgeo.com.br/tmp/qgis-shot2.jpg">http://www.sntgeo.com.br/tmp/qgis-shot2.jpg</a> - raster shown using QGIS</div>
<div>2. <a href="http://www.sntgeo.com.br/tmp/mapserver-openlayers.jpg">http://www.sntgeo.com.br/tmp/mapserver-openlayers.jpg</a> - raster layer as itīs being shown with MapServer + OpenLayers ( 2.10, using output png)</div>
<div><br></div><div>My mapfile:</div><div>...</div><div><div>OUTPUTFORMAT</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>NAME png24</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>DRIVER "GD/PNG"</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>MIMETYPE "image/png"</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>IMAGEMODE RGBA</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>EXTENSION "png"</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>TRANSPARENT ON</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>END</div><div><br></div><div><div>LAYER #-- ras_imagens</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>NAME<span class="Apple-tab-span" style="white-space:pre"> </span>"ras_imagens"</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>TYPE<span class="Apple-tab-span" style="white-space:pre"> </span>RASTER</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>TILEINDEX "/imagens.shp"</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>TILEITEM "location"</div><div>...</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>OPACITY ALPHA</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>...</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>PROCESSING "BANDS=1,2,3,4"</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>PROCESSING "SCALE_1=AUTO"</div><div>
<span class="Apple-tab-span" style="white-space:pre"> </span>PROCESSING "SCALE_2=AUTO"</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>PROCESSING "SCALE_3=AUTO"</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>PROCESSING "SCALE_4=1,2"</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>PROCESSING "RESAMPLE=BILINEAR"</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>END</div></div><div><br></div><div><br></div>
<div>Any hints?</div><br>-- <br>Eduardo Patto Kanegae<br>
</div>