<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Seth,<br><br>Thanks for the reply. The attached image hopefully will clarify the problem I am having. On the left of the image is the output I would like (I have produced this using a GIS). On the right is the output using mapnik and gdal. The problem is the pixellated effect between the raster values on the RHS.<br><br>The GIS isn't that great as far as batch processing is concerned, hence why I am trying to use the GDAL utilities that ship with mapnik. The option in the GIS that produces the desired effect is "anti-aliasing (bilinear interpolation)", but it appears as though there is a more sophisticated smoothing algorithm being employed? I have tried running the various interpolation techniques with gdalwarp but none of them produce a crisp output. I have tried also increasing the resolution of the raster by 5x (both width and height) using "gdal_translate" and&nbsp; "-outsize 500% 500%" this doesn't help either.<br><br>Any suggestions gratefully received,<br><br>Chris<br><br><br><br><br>&gt; Date: Fri, 2 Oct 2009 12:36:24 -0500<br>&gt; Subject: Re: [gdal-dev] Anti-Aliasing<br>&gt; From: seth@pricepages.org<br>&gt; To: chrisemberson@hotmail.com<br>&gt; CC: gdal-dev@lists.osgeo.org<br>&gt; <br>&gt; Could you give an example of the problem? Anti-aliasing generally only<br>&gt; applies when you are going from vector line drawings to rasterized images.<br>&gt; <br>&gt; If I was trying to smooth things I would first look at cubic or bilinear.<br>&gt; Any other resampling may enhance any noise in your image.<br>&gt; ~Seth<br>&gt; <br>&gt; On Fri, October 2, 2009 11:16 am, Chris Emberson wrote:<br>&gt; &gt;<br>&gt; &gt; I am looking for an anti-aliasing function to smooth out the pixellated<br>&gt; &gt; effect between raster values. I have tried the various interpolation<br>&gt; &gt; methods with gdalwarp and have also increased the resolution of the raster<br>&gt; &gt; to try and minimise the effect, to no avail.<br>&gt; &gt; Is this a function to be added soon?<br>&gt; &gt;<br>&gt; &gt; Thanks,<br>&gt; &gt; Chris<br>&gt; &gt;<br>&gt; &gt; _________________________________________________________________<br>&gt; &gt; Share your photos with Windows Live Photos – Free.<br>&gt; &gt; http://clk.atdmt.com/UKM/go/134665338/direct/01/_______________________________________________<br>&gt; &gt; gdal-dev mailing list<br>&gt; &gt; gdal-dev@lists.osgeo.org<br>&gt; &gt; http://lists.osgeo.org/mailman/listinfo/gdal-dev<br>&gt; <br>&gt; <br>                                               <br /><hr />New! Receive and respond to mail from other email accounts from within Hotmail <a href='http://clk.atdmt.com/UKM/go/167688463/direct/01/' target='_new'>Find out how.</a></body>
</html>