Skip to content

Commit

Permalink
v.out.ogr: fix append+overwrite mode (#3283)
Browse files Browse the repository at this point in the history
  • Loading branch information
metzm committed Jan 4, 2024
1 parent 2e4507f commit 51e2703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vector/v.out.ogr/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ int main(int argc, char *argv[])
_("Layer <%s> already exists in OGR data source '%s'"),
options.layer->answer, options.dsn->answer);
}
else if (overwrite) {
else if (overwrite && !flags.append->answer) {
G_warning(
_("OGR layer <%s> already exists and will be overwritten"),
options.layer->answer);
Expand Down

0 comments on commit 51e2703

Please sign in to comment.