Hi Yes I was using GDALWARP The prtobvlem with scrwin in gdal_translater is that I want to cut my window based on Lat/lon coordinates and not lines and columns. So again, how can I cut a raster image, based on coordinates /x, y min,max) and keeping up a pixel matching grid from the original image? Thank you Regards
On Mon, Oct 29, 2012 at 11:40 AM, Etienne Tourigny <etourigny....@gmail.com>wrote: > 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