[GRASS-SVN] r71342 - grass/branches/releasebranch_7_2/scripts/v.import
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Aug 8 12:51:01 PDT 2017
Author: martinl
Date: 2017-08-08 12:51:01 -0700 (Tue, 08 Aug 2017)
New Revision: 71342
Modified:
grass/branches/releasebranch_7_2/scripts/v.import/v.import.py
Log:
v.import: Pass all vopts (especially layer list!) to avoid bogous error messages while importing data. (merge r70729 from trunk)
Modified: grass/branches/releasebranch_7_2/scripts/v.import/v.import.py
===================================================================
--- grass/branches/releasebranch_7_2/scripts/v.import/v.import.py 2017-08-08 13:09:45 UTC (rev 71341)
+++ grass/branches/releasebranch_7_2/scripts/v.import/v.import.py 2017-08-08 19:51:01 UTC (rev 71342)
@@ -185,7 +185,8 @@
# try v.in.ogr directly
if flags['o'] or grass.run_command('v.in.ogr', input=OGRdatasource, flags='j',
- errors='status', quiet=True, overwrite=overwrite) == 0:
+ errors='status', quiet=True, overwrite=overwrite,
+ **vopts) == 0:
try:
grass.run_command('v.in.ogr', input=OGRdatasource,
flags=vflags, overwrite=overwrite, **vopts)
More information about the grass-commit
mailing list