I guess you are using gdalwarp (although you didn't specifically mention it). You should be using gdal_translate with the -srcwin option
Etienne On Mon, Oct 29, 2012 at 6:47 AM, Luis Lisboa <luislisboa1...@gmail.com> wrote: > Greetings > > I have a raster image and I want to crop a piece of it(usin -te) but I want > to keep: > - the same spatial resolution (use -tr ) > - and keep the same grid (avoiding mismatching from original image). > Is this possible? If yes, how? because all my attempts there is a slightly > mismatch between original and new. > Regards. > Liuis > > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev