Opened 15 years ago

Closed 15 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 by Even Rouault, 15 years ago

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

comment:2 by Even Rouault, 15 years ago

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.