Forráskód Böngészése

r.fill.dir: sync parameters with other modules
elevation -> input
depressionless -> output
direction -> outdir
type -> format


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54549 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 12 éve
szülő
commit
6a318e1521
2 módosított fájl, 5 hozzáadás és 5 törlés
  1. 3 3
      raster/r.fill.dir/main.c
  2. 2 2
      raster/r.fill.dir/r.fill.dir.html

+ 3 - 3
raster/r.fill.dir/main.c

@@ -90,13 +90,13 @@ int main(int argc, char **argv)
 	  "flow direction map from a given elevation raster map.");
     
     opt1 = G_define_standard_option(G_OPT_R_ELEV);
+    opt1->key = "input";
     
     opt2 = G_define_standard_option(G_OPT_R_OUTPUT);
-    opt2->key = "depressionless";
     opt2->description = _("Name for output depressionless elevation raster map");
     
     opt4 = G_define_standard_option(G_OPT_R_OUTPUT);
-    opt4->key = "direction";
+    opt4->key = "outdir";
     opt4->description = _("Name for output flow direction map for depressionless elevation raster map");
 
     opt5 = G_define_standard_option(G_OPT_R_OUTPUT);
@@ -105,7 +105,7 @@ int main(int argc, char **argv)
     opt5->description = _("Name for output raster map of problem areas");
 
     opt3 = G_define_option();
-    opt3->key = "type";
+    opt3->key = "format";
     opt3->type = TYPE_STRING;
     opt3->required = NO;
     opt3->description =

+ 2 - 2
raster/r.fill.dir/r.fill.dir.html

@@ -5,7 +5,7 @@ elevation map and a flow direction map from a given raster elevation map.
 
 <h2>NOTES</h2>
 
-The <b>type</b> parameter is the type of format at which the user wishes to create
+The <b>format</b> parameter is the type of format at which the user wishes to create
 the flow direction map. The <i>agnps</i> format gives category values from
 1-8, with 1 facing north and increasing values in the clockwise direction.
 The <i>answers</i> format gives category values from 0-360 degrees, with 0
@@ -65,7 +65,7 @@ filled.
 <h2>EXAMPLE</h2>
 
 <div class="code"><pre>
-r.fill.dir input=ansi.elev elevation=ansi.fill.elev direction=ansi.asp
+r.fill.dir input=ansi.elev output=ansi.fill.elev outdir=ansi.asp
 </pre></div>
 
 Will create a depressionless (sinkless) elevation