[GRASS-SVN] r65914 - grass/trunk/vector/v.in.ogr
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Aug 12 05:13:54 PDT 2015
Author: martinl
Date: 2015-08-12 05:13:54 -0700 (Wed, 12 Aug 2015)
New Revision: 65914
Modified:
grass/trunk/vector/v.in.ogr/main.c
Log:
v.in.ogr: do not perform overwrite check if -j flag given
Modified: grass/trunk/vector/v.in.ogr/main.c
===================================================================
--- grass/trunk/vector/v.in.ogr/main.c 2015-08-12 12:05:02 UTC (rev 65913)
+++ grass/trunk/vector/v.in.ogr/main.c 2015-08-12 12:13:54 UTC (rev 65914)
@@ -531,7 +531,7 @@
G_warning(_("All available OGR layers will be imported into vector map <%s>"), output);
}
- if (!param.outloc->answer) { /* Check if the map exists */
+ if (!param.outloc->answer && !flag.proj->answer) { /* Check if the map exists */
if (G_find_vector2(output, G_mapset()) && !overwrite)
G_fatal_error(_("Vector map <%s> already exists"),
output);
More information about the grass-commit
mailing list