Browse Source

v.net: tlayer -> turn_layer and tuc_layer -> turn_uc_layer (https://trac.osgeo.org/grass/ticket/2409)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@63719 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 years ago
parent
commit
65503960b9
2 changed files with 5 additions and 5 deletions
  1. 2 2
      vector/v.net/args.c
  2. 3 3
      vector/v.net/v.net.html

+ 2 - 2
vector/v.net/args.c

@@ -106,7 +106,7 @@ void define_options(struct opt *opt)
     ("Layer where turntable will be attached. Format: layer number[/layer name]."
     ("Layer where turntable will be attached. Format: layer number[/layer name]."
      "Required for operation 'turntable'.");
      "Required for operation 'turntable'.");
     opt->tfield->answer = "3";
     opt->tfield->answer = "3";
-    opt->tfield->key = "tlayer";
+    opt->tfield->key = "turn_layer";
     opt->tfield->required = NO;
     opt->tfield->required = NO;
     opt->tfield->guisection = _("Turntable");
     opt->tfield->guisection = _("Turntable");
 
 
@@ -118,7 +118,7 @@ void define_options(struct opt *opt)
      " The categories are used in turntable. Format: layer number[/layer name]. "
      " The categories are used in turntable. Format: layer number[/layer name]. "
      "Required for operation 'turntable'.");
      "Required for operation 'turntable'.");
     opt->tucfield->answer = "4";
     opt->tucfield->answer = "4";
-    opt->tucfield->key = "tuclayer";
+    opt->tucfield->key = "turn_uc_layer";
     opt->tucfield->required = NO;
     opt->tucfield->required = NO;
     opt->tucfield->guisection = _("Turntable");
     opt->tucfield->guisection = _("Turntable");
 }
 }

+ 3 - 3
vector/v.net/v.net.html

@@ -83,13 +83,13 @@ The <em>turntable</em> operation creates a turntable
 with the costs for every possible 
 with the costs for every possible 
 turn on every possible node (intersection, crossroad) in given layer (arc_layer). 
 turn on every possible node (intersection, crossroad) in given layer (arc_layer). 
 U-turns are taken in account too.
 U-turns are taken in account too.
-Turntable is created in <b>tlayer</b> and <b>tuclayer</b>.
+Turntable is created in <b>turn_layer</b> and <b>turn_uc_layer</b>.
 Building the turntable allows you to model e.g. trafic code, where some turns 
 Building the turntable allows you to model e.g. trafic code, where some turns 
 may be prohibited.
 may be prohibited.
 If features in analyzed network are changed, the turntable must be created again
 If features in analyzed network are changed, the turntable must be created again
 (e.g. it includes v.net connect operation).
 (e.g. it includes v.net connect operation).
-Turntable name consists of output vector map name + "_turntable_" + "t" + "_" + tlayer +
- "_" + "tuc" + "_" + tuclayer + "_" + "a" + "_" + arc_layer  e. g. roads_turntable_t_3_tuc_4_a_1
+Turntable name consists of output vector map name + "_turntable_" + "t" + "_" + turn_layer +
+ "_" + "tuc" + "_" + turn_uc_layer + "_" + "a" + "_" + arc_layer  e. g. roads_turntable_t_3_tuc_4_a_1
 
 
 <p>These modules are able to work with the turntable: 
 <p>These modules are able to work with the turntable: 
 <em><a href="v.net.alloc.html">v.net.alloc</a></em>,
 <em><a href="v.net.alloc.html">v.net.alloc</a></em>,