[mapserver-users] Average/Bilinear Resampling and Alpha Bands
Robert Sanson
SansonR at asurequality.com
Mon Mar 15 12:55:29 PDT 2010
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 <jasonbeverage at gmail.com> 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
mapserver-users at lists.osgeo.org
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100316/c5e17c08/attachment.htm>
More information about the MapServer-users
mailing list