[GRASS-SVN] r70729 - grass/trunk/scripts/v.import
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Mar 5 01:34:33 PST 2017
Author: marisn
Date: 2017-03-05 01:34:33 -0800 (Sun, 05 Mar 2017)
New Revision: 70729
Modified:
grass/trunk/scripts/v.import/v.import.py
Log:
Pass all vopts (especially layer list!) to avoid bogous error messages while importing data.
Modified: grass/trunk/scripts/v.import/v.import.py
===================================================================
--- grass/trunk/scripts/v.import/v.import.py 2017-03-05 07:53:59 UTC (rev 70728)
+++ grass/trunk/scripts/v.import/v.import.py 2017-03-05 09:34:33 UTC (rev 70729)
@@ -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