Opened 15 years ago

Closed 12 years ago

#662 closed enhancement (fixed)

db.in.ogr: allow --overwrite

Reported by: timmie Owned by: grass-dev@…
Priority: normal Milestone: 6.4.2
Component: Database Version: svn-releasebranch64
Keywords: db.in.ogr, overwrite Cc:
CPU: Unspecified Platform: Unspecified

Description

db.in.ogr could use an --allow-overwrite option

Change History (2)

comment:1 by hamish, 15 years ago

Component: defaultDatabase
Keywords: db.in.ogr overwrite added
Summary: allow overwritedb.in.ogr: allow --overwrite
Type: defectenhancement
Version: unspecifiedsvn-develbranch6

comment:2 by neteler, 12 years ago

Milestone: 6.4.06.4.2
Resolution: fixed
Status: newclosed
Version: svn-develbranch6svn-releasebranch64

It has been implemented and it works nicely in 6.4.svn:

GRASS 6.4.3svn (nc_spm_08):~ > db.in.ogr geonames_features.csv
Imported table <geonames_features_csv> with 655 rows
GRASS 6.4.3svn (nc_spm_08):~ > db.in.ogr geonames_features.csv
ERROR: Table <geonames_features_csv> already exists
GRASS 6.4.3svn (nc_spm_08):~ > db.in.ogr geonames_features.csv --o
Imported table <geonames_features_csv> with 655 rows
Note: See TracTickets for help on using tickets.