Agg and resampling

Frank Warmerdam warmerdam at POBOX.COM
Mon Sep 10 16:30:13 EDT 2007


Rob McCulley wrote:
> Okay,
> 
>  
> 
> I’ve finally had a moment to sit down and look at this again.  I’m using 
> the latest version of ms4w beta, which is based on beta 6.  On all of my 
> imagery, tiled or not, using the processing setting of 
> “RESAMPLE=BILINEAR” results in the raster layer not being drawn.  There 
> are no error messages, and a map image is created, but the raster layer 
> is not drawn.  Using either “RESAMPLE=NEAREST” and “RESAMPLE=AVERAGE” 
> results in the layer being drawn fine.  If I switch to using GD for 
> output, then “RESAMPLE=BILINEAR” works as it should, and the raster 
> layer is drawn.

Rob,

I have determined this is indeed a bug in mapresample.c (checking
for _USE_AGG instead of USE_AGG) and is present in the current release
candidate (RC2).

I have created a bug report for this issue, and will apply a fix this
afternoon.  Whether it makes it into MapServer 5.0 final or not depends
on whether we have enough issues to justify another RC go-around.

   http://trac.osgeo.org/mapserver/ticket/2303

Thanks for the specific report - it made it very easy for me to find the
problem.

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    | President OSGeo, http://osgeo.org



More information about the mapserver-users mailing list