id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 3947,Gdalwarp -crop_to_cutline results in shifted raster,mjigmond,warmerdam,"When running gdalwarp using -cutline and -crop_to_cutline options, the resulting raster is slightly shifted. Both cutline shapefile and raster are using the same projection. On the sample raster dataset (pixel=28.5m) the shift is about 5m to the east and 3.5m to the north. Pixel values remain the same (so resampling doesn't take place, as expected). I should add that not adding -crop_to_cutline results in no shift. Commands I ran: (1) gdalwarp -cutline cluj_co.shp -crop_to_cutline sample.tif cropped.tif result is shifted (2) gdalwarp -cutline cluj_co.shp sample.tif out.tif result is not shifted Sample dataset was too large for attachment. Temporary link provided below: https://www.twdb.state.tx.us/filetxfr/emaillinkdownload.aspx?id=&FileTransferID=774740096 -marius",defect,new,normal,,default,1.8.0,normal,,,