[mapserver-users] Average/Bilinear Resampling and Alpha Bands

Frank Warmerdam warmerdam at pobox.com
Mon Mar 15 12:20:25 EDT 2010


Jason Beverage wrote:
> 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?

Jason,

I haven't run into this before, but it sounds like a bug in the resampler.
If you can file a detailed ticket on this so that I can easily reproduce
the problem I should be able to fix it.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-users mailing list