I observed a gdalwarp problem with a little extent ogr vector file on GDAL 2.2.1, released 2017/06/23.
I try the following command :
gdalwarp -overwrite -cutline vect.shp -crop_to_cutline -cwhere "FID=0" rast.tif rast_0.tif
the command begins but never finish :
Creating output file that is 15P x 1L.
Processing input file rast.tif.
Using internal nodata values (e.g. 0) for image rast.tif.
Copying nodata values from source rast.tif to destination rast_0.tif.
I tried the same command on GDAL 2.0.1, released 2015/09/15 without any problem.
With GDAL 2.2.1, released 2017/06/23, I get around this problem by using the option
gdalwarp -tap -tr 10 10 -overwrite -cutline vect.shp -crop_to_cutline -cwhere "FID=0" rast.tif rast_0.tif
But it's not a satisfactory solution, too large ouput raster file.
You can upload data here :
Thanks in advance