<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px">
<DIV>Hi Jason</DIV>
<DIV> </DIV>
<DIV>That's not unexpected. RESAMPLE=NEAREST preserves the "nodata" vales used in the mask. BILINEAR or AVERAGE combine values from adjoining pixels, so the "nodata" pixels get some other value.</DIV>
<DIV> </DIV>
<DIV>regards,</DIV>
<DIV><BR>Robert<BR><BR>>>> Jason Beverage <jasonbeverage@gmail.com> 16/03/2010 4:53 a.m. >>><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'm using MapServer 5.6.1<BR><BR>Thanks,<BR><BR>Jason<BR>_______________________________________________<BR>mapserver-users mailing list<BR>mapserver-users@lists.osgeo.org<BR><A href="http://lists.osgeo.org/mailman/listinfo/mapserver">http://lists.osgeo.org/mailman/listinfo/mapserver</A>-users<BR><BR></DIV><br><br><table bgcolor=white style="color:black"><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></table><br><br>
<P align=center><FONT style="BACKGROUND-COLOR: #ffffff">This message has been scanned for malware by SurfControl plc. </FONT><A href="http://www.surfcontrol.com/"><FONT style="BACKGROUND-COLOR: #ffffff" color=#000000>www.surfcontrol.com</FONT></A></P>
</body></HTML>