Opened 7 years ago

Closed 7 years ago

#5921 closed defect (fixed)

gdalwarp with missing cutline dies quietly

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone: 1.11.3
Component: Utilities Version: unspecified
Severity: normal Keywords: gdalwarp cutline


If I pass a non-existant dataset name to gdalwarp as the cutline it seems to exit quietly instead of producing an error message:

$ gdalwarp utm.tif -t_srs WGS84 out.tif 
Creating output file that is 558P x 466L.
Processing input file utm.tif.
0...10...20...30...40...50...60...70...80...90...100 - done.
$ rm out.tif
$ gdalwarp utm.tif -t_srs WGS84 out.tif -cutline abc.geojson

Change History (1)

comment:1 Changed 7 years ago by Even Rouault

Milestone: 1.11.3
Resolution: fixed
Status: newclosed

trunk r28896, branches/1.11 r28897 "gdalwarp: emit error message if file specified with -cutline cannot be opened (#5921)"

Note: See TracTickets for help on using tickets.