[GRASS-SVN] r47592 - grass/trunk/scripts/v.in.gns
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Aug 11 20:00:12 EDT 2011
Author: lucadelu
Date: 2011-08-11 17:00:12 -0700 (Thu, 11 Aug 2011)
New Revision: 47592
Modified:
grass/trunk/scripts/v.in.gns/v.in.gns.py
Log:
fix v.in.gns, to be check the coldescs values
Modified: grass/trunk/scripts/v.in.gns/v.in.gns.py
===================================================================
--- grass/trunk/scripts/v.in.gns/v.in.gns.py 2011-08-11 23:32:56 UTC (rev 47591)
+++ grass/trunk/scripts/v.in.gns/v.in.gns.py 2011-08-12 00:00:12 UTC (rev 47592)
@@ -40,10 +40,11 @@
import sys
import os
from grass.script import core as grass
+from grass.script import vector as vgrass
def main():
- fileorig = options['file']
- filevect = options['vect']
+ fileorig = options['input']
+ filevect = options['output']
if not filevect:
filevect = grass.basename(fileorig, 'txt')
@@ -141,7 +142,7 @@
grass.try_remove(tmpfile)
# write cmd history:
- grass.vector_history(filevect)
+ vgrass.vector_history(filevect)
if __name__ == "__main__":
options, flags = grass.parser()
More information about the grass-commit
mailing list