[mapserver-users] Raster alignment problem

Graham Carlyle graham.carlyle at maplecroft.com
Thu Oct 9 09:32:33 PDT 2008


Frank Warmerdam wrote:
> The quick workaround is to force rendering to go through the generic
> resampling method by adding:
> 
>   PROCESSING "RESAMPLE=NEAREST"

thomas bonfort wrote:
 > there's no subpixel positioning for rasters by default, so for coarse
 > rasters like the one you're showing, you can force that by adding a
 > PROCESSING "resample=nearest" to your raster layer

Great, that fixed the problem!

thanks Frank & Thomas for your help.
Graham



More information about the MapServer-users mailing list