Le mercredi 24 octobre 2012 17:19:45, António Rocha a écrit : > Greetings > > I have a raster image and a shapefile polygon and I wanted to crop the > raster for just to have valid pixels inside the polygon. I have used > crop_to_cutline but here is a problem: > It produces a raster map but pixels does not geographically match with > the original raster map. So, i produce a raster map but I'm not able to > compare with original image since there is a small displacement. How can > I obtain a raster map without this mismatch?
This is the very same topic that is discussed in http://trac.osgeo.org/gdal/ticket/3947 . There's no solution to your problem, but some background discussion that explains the current behaviour. > Thank you > Regards, > Antonio > > GDAL version 1.9.1 > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
