Pārlūkot izejas kodu

fix v.out.gps, m.proj default is to read from stdin

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@39459 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 15 gadi atpakaļ
vecāks
revīzija
f1894cc872
2 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 1 0
      scripts/m.proj/m.proj.py
  2. 1 1
      scripts/v.out.gps/v.out.gps.py

+ 1 - 0
scripts/m.proj/m.proj.py

@@ -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

+ 1 - 1
scripts/v.out.gps/v.out.gps.py

@@ -217,7 +217,7 @@ def main():
     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