Opened 11 years ago

Closed 11 years ago

#3048 closed enhancement (fixed)

-overwrite does not work with CSV

Reported by: timmie Owned by: warmerdam
Priority: normal Milestone: 1.7.0
Component: Utilities Version: 1.6.1
Severity: normal Keywords: ogr2ogr
Cc:

Description

ogr2ogr -overwrite -f "CSV" -lco GEOMETRY=AS_XY -nln points_new out_csv points.vrt ERROR 1: It seems a file system object called 'out_csv' already exists. CSV driver failed to create out_csv

Change History (2)

comment:1 Changed 11 years ago by Even Rouault

Try adding -update in addition to -overwrite. This should work now.

comment:2 Changed 11 years ago by Even Rouault

Milestone: 1.7.0
Resolution: fixed
Status: newclosed
Type: defectenhancement

in trunk, r17436: ogr2ogr : -overwrite and -append now automatically imply -update (#3048)

Note: See TracTickets for help on using tickets.