<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
That's exactly what I was looking for! Thank you very ... very much Frank.<br>With best regards.<br>~Belaid ... <br><br>> Date: Tue, 16 Jun 2009 09:43:35 -0400<br>> From: warmerdam@pobox.com<br>> To: belaid_moa@hotmail.com<br>> CC: gdal-dev@lists.osgeo.org<br>> Subject: Re: [gdal-dev] Resampling.<br>> <br>> Belaid MOA wrote:<br>> > Hi everyone,<br>> > I am new to GDAL and I need some help on how to do re-sampling <br>> > (programmatically).<br>> > I have 30mx30m Geotiff images and I'd like to resample them into 25mx25m <br>> > Geotiff images.<br>> > <br>> > Any help on this is very appreciated.<br>> <br>> Belaid,<br>> <br>> One approach to do this would be a command like:<br>> <br>> gdalwarp -tr 25 25 input.tif output.tif<br>> <br>> This resamples to 25x25 meter pixels with the default (nearest neighbour)<br>> resampling kernel. You might also want to use a fancier resampling kernel,<br>> such as cubic convolution:<br>> <br>> gdalwarp -r cubic -tr 25 25 input.tif output.tif<br>> <br>> More details are available at:<br>> <br>> http://www.gdal.org/gdalwarp.html<br>> <br>> Best regards,<br>> -- <br>> ---------------------------------------+--------------------------------------<br>> I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com<br>> light and sound - activate the windows | http://pobox.com/~warmerdam<br>> and watch the world go round - Rush | Geospatial Programmer for Rent<br>> <br><br /><hr />Internet Explorer 8 makes surfing easier. <a href='http://go.microsoft.com/?linkid=9655264' target='_new'>Get it now! </a></body>
</html>