<div class="gmail_quote"><br>Folks,<br><br>I'm not quite sure whether this issue have already been raised or not, but I'd be interested in having on-the fly antialiasing support when the raster is subsampled within a RasterIO operation.<br>
I'm just trying to display OpenStreetMap rasters provided by the GDAL TMS mini driver in MapServer but the images are looking quite raspy at certain scales (see <a href="http://vbkto.dyndns.org:1280/tests/sample.png">http://vbkto.dyndns.org:1280/tests/sample.png</a> ), and it may be dedicated to how the image is subsampled (kinda like a simple nearest neighbour is used) during a RasterIO operation in GDAL.<br>
<br>I've took a look at the code, but I see no option to use more sophisticated algorithms when composing the destination image, like those provided by the gdal warp API (ReprojectImage) in effect. Additionally, I can see an 'antialias' option implemented by the gdal2tiles script, which came from an external library and missing from the set of the built in resampling algorithms of the GDAL library.<br>
<br>Let me know if anyone have already been coming to face with such a problem or have further ideas, or workarounds.<br><br>Best regards,<br><font color="#888888"><br>Tamas<br><br><br>
</font></div><br>