Hi Jason 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. regards,
Robert >>> Jason Beverage <[email protected]> 16/03/2010 4:53 a.m. >>> Hi all, I have some imagery that is in UTM that contains an alpha band that masks out areas with no data. When I use MapServer to reproject it to epsg:4326, the masked out area looks good if I set RESAMPLE=NEAREST on the layer. If I change the RESAMPLE option to BILINEAR or AVERAGE I get black splotches in the area that is transparent. Has anyone else seen this behavior? I'm using MapServer 5.6.1 Thanks, Jason _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users ------------------------------------------------------------------ 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. ------------------------------------------------------------------ This message has been scanned for malware by SurfControl plc. www.surfcontrol.com
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
