[GRASS-SVN] r39459 - in grass/trunk/scripts: m.proj v.out.gps

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Oct 10 02:25:29 EDT 2009


Author: hamish
Date: 2009-10-10 02:25:28 -0400 (Sat, 10 Oct 2009)
New Revision: 39459

Modified:
   grass/trunk/scripts/m.proj/m.proj.py
   grass/trunk/scripts/v.out.gps/v.out.gps.py
Log:
fix v.out.gps, m.proj default is to read from stdin

Modified: grass/trunk/scripts/m.proj/m.proj.py
===================================================================
--- grass/trunk/scripts/m.proj/m.proj.py	2009-10-10 06:21:17 UTC (rev 39458)
+++ grass/trunk/scripts/m.proj/m.proj.py	2009-10-10 06:25:28 UTC (rev 39459)
@@ -34,6 +34,7 @@
 #% type: string
 #% gisprompt: old_file,file,file
 #% description: Input coordinate file ('-' to read from stdin)
+#% answer: -
 #% required : yes
 #% key_desc : filename
 #%end

Modified: grass/trunk/scripts/v.out.gps/v.out.gps.py
===================================================================
--- grass/trunk/scripts/v.out.gps/v.out.gps.py	2009-10-10 06:21:17 UTC (rev 39458)
+++ grass/trunk/scripts/v.out.gps/v.out.gps.py	2009-10-10 06:25:28 UTC (rev 39459)
@@ -217,7 +217,7 @@
     tmp_proj = tmp + ".proj"
     tf = open(tmp_proj, 'w')
     p1 = grass.pipe_command('v.out.ascii', input = inmap, format = 'standard')
-    p2 = grass.feed_command('m.proj', flags = 'od', quiet = True, stdout = tf)
+    p2 = grass.feed_command('m.proj', input = '-', flags = 'od', quiet = True, stdout = tf)
     tf.close()
 
     lineno = 0



More information about the grass-commit mailing list