<div>Hi</div><div> </div><div>I have exacly the same problem. It is resampling to the extent of the polygon instead of croping just the pixels inside the polygon and using the pixel frame of the original image. How can this be fixed?</div>
<div>Regards</div><div>Luis Lisboa</div><div> </div><div> </div><div> </div><div> </div><div> </div><div>--------- ORIGINAL MESSAGE------------------------------</div><div><pre style="color:rgb(0,0,0);text-transform:none;line-height:normal;text-indent:0px;letter-spacing:normal;font-style:normal;font-variant:normal;font-weight:normal;word-spacing:0px;white-space:pre-wrap">
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?
Thank you
Regards,
Antonio
GDAL version 1.9.1</pre></div>