Opened 9 years ago

Closed 9 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
Cc:

Description

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

warmerdam@gdal.cmo:~/wrk2
$ 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.
warmerdam@gdal.cmo:~/wrk2
$ rm out.tif
warmerdam@gdal.cmo:~/wrk2
$ gdalwarp utm.tif -t_srs WGS84 out.tif -cutline abc.geojson
warmerdam@gdal.cmo:~/wrk2
$ 

Change History (1)

comment:1 by Even Rouault, 9 years ago

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.