Raster layer resample (processing option)

Frank Warmerdam warmerdam at POBOX.COM
Tue Jul 11 08:09:53 PDT 2006


antti siukola wrote:
> Hi!
> 
> Should the processing option for raster layer work as described in MS
> RFC 4 (MapServer Raster Resampling). The RFC says it's adopted in
> MapServer 4.8 but it's not documented in LAYER document.
> This PROCESSING line doesn't seem to do anything:
> 
>     LAYER
>         NAME "layername"
>         DATA "/url/to/image.tif"
>         TYPE RASTER
>         STATUS ON
>         PROCESSING "RESAMPLE=BILINEAR"
>     END
> 
> Should it?

AnttiS,

Yes, bilinear resampling should be supported in 4.8.x.  The effects are
generally not very visible unless you zoom in well past the native resolution
of the raster.  If you turn on debugging, you should see something about
calling msResampleGDALToMap() if the resampling is recognised.

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



More information about the MapServer-users mailing list