[Gdal-dev] Re: gdalwarp error

Markus Neteler neteler at itc.it
Fri Mar 23 13:19:27 EDT 2007


On Fri, Mar 23, 2007 at 12:54:29PM -0400, Frank Warmerdam wrote:
> Huajun Zhang wrote:
> >
> >Thanks, Frank. It works now. But the cellsize of the image was changed a 
> >little bit (e.g. cellsize of the original image is 14.25, the cellsize 
> >is  changed to 14.33 after gdalwarp). Do you have any idea what the 
> >problem is?
> 
> Huajun,
> 
> When reprojecting an image, gdalwarp needs to try and pick an apparent
> appropriate pixel size in the new image which can vary a bit from the old
> one.
> 
> If you want to stay with the same pixel size you can specify it explicitly
> when running gdalwarp by adding "-tr 14.25 14.25" to the commandline.

Hi,

there is a related wish
http://bugzilla.remotesensing.org/show_bug.cgi?id=511
http://trac.osgeo.org/gdal/ticket/511

Best,
Markus

------------------
ITC -> dall'1 marzo 2007 Fondazione Bruno Kessler
ITC -> since 1 March 2007 Fondazione Bruno Kessler
------------------



More information about the Gdal-dev mailing list