Hey again,<br><br>Some more information, the file I was using was an ECW I converted from a tif.  The black splotches appear if I use the ECW, but if I use the original tif file I don&#39;t see them.<br><br>However, when using AVERAGE or BILINEAR, it appears as if the alpha values are either completely transparent or completely opaque.  The image I&#39;m using is an image I used the gdalwarp -cblend option on to do some polygon cutting so I&#39;m losing my blending line if I do average or bilinear resampling.  I&#39;ll see if I can create a small example that shows the issue.<br>

<br>Thanks,<br><br>Jason<br><br><div class="gmail_quote">On Mon, Mar 15, 2010 at 3:55 PM, Robert Sanson <span dir="ltr">&lt;<a href="mailto:SansonR@asurequality.com">SansonR@asurequality.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">




<div style="margin: 4px 4px 1px;">
<div>Hi Jason</div>
<div> </div>
<div>That&#39;s not unexpected. RESAMPLE=NEAREST preserves the &quot;nodata&quot; vales used in the mask. BILINEAR or AVERAGE combine values from adjoining pixels, so the &quot;nodata&quot; pixels get some other value.</div>


<div> </div>
<div>regards,</div>
<div><br>Robert<br><br>&gt;&gt;&gt; Jason Beverage &lt;<a href="mailto:jasonbeverage@gmail.com" target="_blank">jasonbeverage@gmail.com</a>&gt; 16/03/2010 4:53 a.m. &gt;&gt;&gt;<div><div></div><div class="h5"><br>Hi all,<br>

<br>I have some imagery that is in UTM that contains an alpha band that<br>masks out areas with no data.  When I use MapServer to reproject it to<br>epsg:4326, the masked out area looks good if I set RESAMPLE=NEAREST on<br>

the layer.  If I change the RESAMPLE option to BILINEAR or AVERAGE I<br>get black splotches in the area that is transparent.<br><br>Has anyone else seen this behavior?<br><br>I&#39;m using MapServer 5.6.1<br><br>Thanks,<br>

<br>Jason<br></div></div>_______________________________________________<br>mapserver-users mailing list<br><a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver</a>-users<br>

<br></div><br><br><table style="color: black;" bgcolor="white"><tbody><tr><td><br>------------------------------------------------------------------<br>
The contents of this email are confidential to AsureQuality. If you have received this communication in error please notify the sender immediately and delete the message and any attachments. The opinions expressed in this email are not necessarily those of AsureQuality. This message has been scanned for known viruses before delivery. AsureQuality supports the Unsolicited Electronic Messages Act 2007. If you do not wish to receive similar communications in future, please notify the sender of this message.<br>


------------------------------------------------------------------</td></tr></tbody></table><br><br>
<p align="center"><font style="background-color: rgb(255, 255, 255);">This message has been scanned for malware by SurfControl plc.  </font><a href="http://www.surfcontrol.com/" target="_blank"><font style="background-color: rgb(255, 255, 255);" color="#000000">www.surfcontrol.com</font></a></p>


</div>
</blockquote></div><br>