[GRASS-SVN] r63725 - in grass/trunk: lib/gis vector/v.net.alloc vector/v.net.allpairs vector/v.net.bridge vector/v.net.centrality vector/v.net.components vector/v.net.connectivity vector/v.net.distance vector/v.net.flow vector/v.net.iso vector/v.net.path vector/v.net.salesman vector/v.net.spanningtree vector/v.net.timetable
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Dec 24 06:11:14 PST 2014
Author: martinl
Date: 2014-12-24 06:11:14 -0800 (Wed, 24 Dec 2014)
New Revision: 63725
Modified:
grass/trunk/lib/gis/renamed_options
grass/trunk/vector/v.net.alloc/main.c
grass/trunk/vector/v.net.alloc/v.net.alloc.html
grass/trunk/vector/v.net.allpairs/main.c
grass/trunk/vector/v.net.allpairs/v.net.allpairs.html
grass/trunk/vector/v.net.bridge/main.c
grass/trunk/vector/v.net.centrality/main.c
grass/trunk/vector/v.net.components/main.c
grass/trunk/vector/v.net.connectivity/main.c
grass/trunk/vector/v.net.distance/main.c
grass/trunk/vector/v.net.distance/v.net.distance.html
grass/trunk/vector/v.net.flow/main.c
grass/trunk/vector/v.net.flow/v.net.flow.html
grass/trunk/vector/v.net.iso/main.c
grass/trunk/vector/v.net.iso/v.net.iso.html
grass/trunk/vector/v.net.path/main.c
grass/trunk/vector/v.net.path/v.net.path.html
grass/trunk/vector/v.net.salesman/main.c
grass/trunk/vector/v.net.salesman/v.net.salesman.html
grass/trunk/vector/v.net.spanningtree/main.c
grass/trunk/vector/v.net.timetable/main.c
Log:
v.net modules: afcolumn -> arc_column and abcolumn -> arc_backward_column (#2409)
Modified: grass/trunk/lib/gis/renamed_options
===================================================================
--- grass/trunk/lib/gis/renamed_options 2014-12-24 13:28:25 UTC (rev 63724)
+++ grass/trunk/lib/gis/renamed_options 2014-12-24 14:11:14 UTC (rev 63725)
@@ -446,55 +446,78 @@
v.net.alloc|nlayer:node_layer
v.net.alloc|type:arc_type
v.net.alloc|ccats:center_cats
-v.net.alloc|ncolumn:node_column
+v.net.alloc|ncolumn:node_column
+v.net.alloc|afcolumn:arc_column
+v.net.alloc|abcolumn:arc_backward_column
# v.net.allpairs
v.net.allpairs|alayer:arc_layer
v.net.allpairs|nlayer:node_layer
v.net.allpairs|ncolumn:node_column
+v.net.allpairs|afcolumn:arc_column
+v.net.allpairs|abcolumn:arc_backward_column
# v.net.bridge
v.net.bridge|alayer:arc_layer
v.net.bridge|nlayer:node_layer
v.net.bridge|ncolumn:node_column
+v.net.bridge|afcolumn:arc_column
+v.net.bridge|abcolumn:arc_backward_column
# v.net.centrality
v.net.centrality|alayer:arc_layer
v.net.centrality|nlayer:node_layer
v.net.centrality|ncolumn:node_column
+v.net.centrality|afcolumn:arc_column
+v.net.centrality|abcolumn:arc_backward_column
# v.net.components
v.net.components|alayer:arc_layer
v.net.components|nlayer:node_layer
v.net.components|ncolumn:node_column
+v.net.components|afcolumn:arc_column
+v.net.components|abcolumn:arc_backward_column
# v.net.connectivity
v.net.connectivity|alayer:arc_layer
v.net.connectivity|nlayer:node_layer
v.net.connectivity|ncolumn:node_column
+v.net.connectivity|afcolumn:arc_column
+v.net.connectivity|abcolumn:arc_backward_column
# v.net.distance
v.net.distance|alayer:arc_layer
v.net.distance|nlayer:node_layer
v.net.distance|type:arc_type
v.net.distance|ncolumn:node_column
+v.net.distance|afcolumn:arc_column
+v.net.distance|abcolumn:arc_backward_column
# v.net.flow
v.net.flow|alayer:arc_layer
v.net.flow|nlayer:node_layer
+v.net.flow|afcolumn:arc_column
+v.net.flow|abcolumn:arc_backward_column
# v.net.iso
v.net.iso|alayer:arc_layer
v.net.iso|nlayer:node_layer
v.net.iso|type:arc_type
v.net.iso|ccats:center_cats
v.net.iso|ncolumn:node_column
+v.net.iso|afcolumn:arc_column
+v.net.iso|abcolumn:arc_backward_column
# v.net.path
v.net.path|alayer:arc_layer
v.net.path|nlayer:node_layer
v.net.path|type:arc_type
v.net.path|ncolumn:node_column
+v.net.path|afcolumn:arc_column
+v.net.path|abcolumn:arc_backward_column
# v.net.salesman
v.net.salesman|alayer:arc_layer
v.net.salesman|nlayer:node_layer
v.net.salesman|type:arc_type
v.net.salesman|ccats:center_cats
+v.net.salesman|afcolumn:arc_column
+v.net.salesman|abcolumn:arc_backward_column
# v.net.spanningtree
v.net.spanningtree|alayer:arc_layer
v.net.spanningtree|nlayer:node_layer
v.net.spanningtree|ncolumn:node_column
+v.net.spanningtree|afcolumn:arc_columnw
# v.net.steiner
v.net.steiner|alayer:arc_layer
v.net.steiner|nlayer:node_layer
@@ -503,6 +526,8 @@
v.net.timetable|alayer:arc_layer
v.net.timetable|nlayer:node_layer
v.net.timetable|ncolumn:node_column
+v.net.timetable|afcolumn:arc_column
+v.net.timetable|abcolumn:arc_backward_column
# v.outlier
v.outlier|soe:ew_step
v.outlier|son:ns_step
Modified: grass/trunk/vector/v.net.alloc/main.c
===================================================================
--- grass/trunk/vector/v.net.alloc/main.c 2014-12-24 13:28:25 UTC (rev 63724)
+++ grass/trunk/vector/v.net.alloc/main.c 2014-12-24 14:11:14 UTC (rev 63725)
@@ -102,14 +102,14 @@
nfield_opt->label = _("Node layer");
afcol = G_define_option();
- afcol->key = "afcolumn";
+ afcol->key = "arc_column";
afcol->type = TYPE_STRING;
afcol->required = NO;
afcol->description = _("Arc forward/both direction(s) cost column (number)");
afcol->guisection = _("Cost");
abcol = G_define_option();
- abcol->key = "abcolumn";
+ abcol->key = "arc_backward_column";
abcol->type = TYPE_STRING;
abcol->required = NO;
abcol->description = _("Arc backward direction cost column (number)");
Modified: grass/trunk/vector/v.net.alloc/v.net.alloc.html
===================================================================
--- grass/trunk/vector/v.net.alloc/v.net.alloc.html 2014-12-24 13:28:25 UTC (rev 63724)
+++ grass/trunk/vector/v.net.alloc/v.net.alloc.html 2014-12-24 14:11:14 UTC (rev 63725)
@@ -131,7 +131,7 @@
v.db.update myroads_net_time layer=3 col=bcost val="length / speed * 60"
# subnetwork allocation with fastest paths
-v.net.alloc in=myroads_net_time arc_layer=3 node_layer=2 afcol=cost abcol=bcost out=myroads_net_alloc_time center_cats=1-3
+v.net.alloc in=myroads_net_time arc_layer=3 node_layer=2 arc_column=cost arc_backward_column=bcost out=myroads_net_alloc_time center_cats=1-3
</pre></div>
To display the result, run for example:
Modified: grass/trunk/vector/v.net.allpairs/main.c
===================================================================
--- grass/trunk/vector/v.net.allpairs/main.c 2014-12-24 13:28:25 UTC (rev 63724)
+++ grass/trunk/vector/v.net.allpairs/main.c 2014-12-24 14:11:14 UTC (rev 63725)
@@ -87,14 +87,14 @@
where_opt->guisection = _("Selection");
afcol = G_define_standard_option(G_OPT_DB_COLUMN);
- afcol->key = "afcolumn";
+ afcol->key = "arc_column";
afcol->required = NO;
afcol->description =
_("Arc forward/both direction(s) cost column (number)");
afcol->guisection = _("Cost");
abcol = G_define_standard_option(G_OPT_DB_COLUMN);
- abcol->key = "abcolumn";
+ abcol->key = "arc_backward_column";
abcol->required = NO;
abcol->description = _("Arc backward direction cost column (number)");
abcol->guisection = _("Cost");
Modified: grass/trunk/vector/v.net.allpairs/v.net.allpairs.html
===================================================================
--- grass/trunk/vector/v.net.allpairs/v.net.allpairs.html 2014-12-24 13:28:25 UTC (rev 63724)
+++ grass/trunk/vector/v.net.allpairs/v.net.allpairs.html 2014-12-24 14:11:14 UTC (rev 63725)
@@ -15,7 +15,7 @@
<b>where</b> parameters then the table is filled only for the selected
points.
<br>
-If <b>abcolumn</b> is not given then then the same costs are used for
+If <b>arc_backward_column</b> is not given then then the same costs are used for
forward and backward arcs.
<h2>EXAMPLE</h2>
Modified: grass/trunk/vector/v.net.bridge/main.c
===================================================================
--- grass/trunk/vector/v.net.bridge/main.c 2014-12-24 13:28:25 UTC (rev 63724)
+++ grass/trunk/vector/v.net.bridge/main.c 2014-12-24 14:11:14 UTC (rev 63725)
@@ -67,14 +67,14 @@
nfield_opt->guisection = _("Cost");
afcol = G_define_standard_option(G_OPT_DB_COLUMN);
- afcol->key = "afcolumn";
+ afcol->key = "arc_column";
afcol->required = NO;
afcol->description =
_("Arc forward/both direction(s) cost column (number)");
afcol->guisection = _("Cost");
abcol = G_define_standard_option(G_OPT_DB_COLUMN);
- abcol->key = "abcolumn";
+ abcol->key = "arc_backward_column";
abcol->required = NO;
abcol->description = _("Arc backward direction cost column (number)");
abcol->guisection = _("Cost");
Modified: grass/trunk/vector/v.net.centrality/main.c
===================================================================
--- grass/trunk/vector/v.net.centrality/main.c 2014-12-24 13:28:25 UTC (rev 63724)
+++ grass/trunk/vector/v.net.centrality/main.c 2014-12-24 14:11:14 UTC (rev 63725)
@@ -123,14 +123,14 @@
where_opt->guisection = _("Selection");
afcol = G_define_standard_option(G_OPT_DB_COLUMN);
- afcol->key = "afcolumn";
+ afcol->key = "arc_column";
afcol->required = NO;
afcol->description =
_("Arc forward/both direction(s) cost column (number)");
afcol->guisection = _("Cost");
abcol = G_define_standard_option(G_OPT_DB_COLUMN);
- abcol->key = "abcolumn";
+ abcol->key = "arc_backward_column";
abcol->required = NO;
abcol->description = _("Arc backward direction cost column (number)");
abcol->guisection = _("Cost");
Modified: grass/trunk/vector/v.net.components/main.c
===================================================================
--- grass/trunk/vector/v.net.components/main.c 2014-12-24 13:28:25 UTC (rev 63724)
+++ grass/trunk/vector/v.net.components/main.c 2014-12-24 14:11:14 UTC (rev 63725)
@@ -90,14 +90,14 @@
nfield_opt->guisection = _("Cost");
afcol = G_define_standard_option(G_OPT_DB_COLUMN);
- afcol->key = "afcolumn";
+ afcol->key = "arc_column";
afcol->required = NO;
afcol->description =
_("Arc forward/both direction(s) cost column (number)");
afcol->guisection = _("Cost");
abcol = G_define_standard_option(G_OPT_DB_COLUMN);
- abcol->key = "abcolumn";
+ abcol->key = "arc_backward_column";
abcol->required = NO;
abcol->description = _("Arc backward direction cost column (number)");
abcol->guisection = _("Cost");
Modified: grass/trunk/vector/v.net.connectivity/main.c
===================================================================
--- grass/trunk/vector/v.net.connectivity/main.c 2014-12-24 13:28:25 UTC (rev 63724)
+++ grass/trunk/vector/v.net.connectivity/main.c 2014-12-24 14:11:14 UTC (rev 63725)
@@ -71,14 +71,14 @@
nfield_opt->guisection = _("Cost");
afcol = G_define_standard_option(G_OPT_DB_COLUMN);
- afcol->key = "afcolumn";
+ afcol->key = "arc_column";
afcol->required = NO;
afcol->description =
_("Arc forward/both direction(s) cost column (number)");
afcol->guisection = _("Cost");
abcol = G_define_standard_option(G_OPT_DB_COLUMN);
- abcol->key = "abcolumn";
+ abcol->key = "arc_backward_column";
abcol->required = NO;
abcol->description = _("Arc backward direction cost column (number)");
abcol->guisection = _("Cost");
Modified: grass/trunk/vector/v.net.distance/main.c
===================================================================
--- grass/trunk/vector/v.net.distance/main.c 2014-12-24 13:28:25 UTC (rev 63724)
+++ grass/trunk/vector/v.net.distance/main.c 2014-12-24 14:11:14 UTC (rev 63725)
@@ -133,14 +133,14 @@
wheret_opt->guisection = _("To");
afcol = G_define_standard_option(G_OPT_DB_COLUMN);
- afcol->key = "afcolumn";
+ afcol->key = "arc_column";
afcol->required = NO;
afcol->description =
_("Arc forward/both direction(s) cost column (number)");
afcol->guisection = _("Cost");
abcol = G_define_standard_option(G_OPT_DB_COLUMN);
- abcol->key = "abcolumn";
+ abcol->key = "arc_backward_column";
abcol->required = NO;
abcol->description = _("Arc backward direction cost column (number)");
abcol->guisection = _("Cost");
Modified: grass/trunk/vector/v.net.distance/v.net.distance.html
===================================================================
--- grass/trunk/vector/v.net.distance/v.net.distance.html 2014-12-24 13:28:25 UTC (rev 63724)
+++ grass/trunk/vector/v.net.distance/v.net.distance.html 2014-12-24 14:11:14 UTC (rev 63725)
@@ -24,8 +24,8 @@
number.
<br>
The costs of arcs in forward and backward direction are specified by
-<b>afcolumn</b> and <b>abcolumn</b> columns respectively. If
-<b>abcolumn</b> is not given, the same cost is used in both directions.
+<b>arc_column</b> and <b>arc_backward_column</b> columns respectively. If
+<b>arc_backward_column</b> is not given, the same cost is used in both directions.
<p>
<em>v.net.distance</em> will not work if you are trying to find the
nearest neighbors within a group of nodes, i.e. where <em>to</em>
Modified: grass/trunk/vector/v.net.flow/main.c
===================================================================
--- grass/trunk/vector/v.net.flow/main.c 2014-12-24 13:28:25 UTC (rev 63724)
+++ grass/trunk/vector/v.net.flow/main.c 2014-12-24 14:11:14 UTC (rev 63725)
@@ -84,14 +84,14 @@
_("Name for output vector map containing a minimum cut");
afcol = G_define_standard_option(G_OPT_DB_COLUMN);
- afcol->key = "afcolumn";
+ afcol->key = "arc_column";
afcol->required = NO;
afcol->description =
_("Arc forward/both direction(s) cost column (number)");
afcol->guisection = _("Cost");
abcol = G_define_standard_option(G_OPT_DB_COLUMN);
- abcol->key = "abcolumn";
+ abcol->key = "arc_backward_column";
abcol->required = NO;
abcol->description = _("Arc backward direction cost column (number)");
abcol->guisection = _("Cost");
Modified: grass/trunk/vector/v.net.flow/v.net.flow.html
===================================================================
--- grass/trunk/vector/v.net.flow/v.net.flow.html 2014-12-24 13:28:25 UTC (rev 63724)
+++ grass/trunk/vector/v.net.flow/v.net.flow.html 2014-12-24 14:11:14 UTC (rev 63725)
@@ -6,8 +6,8 @@
<h2>NOTES</h2>
The two sets of nodes are called <em>sources</em> and <em>sink</em>
and <em>v.net.flow</em> finds the maximimum flow from the former to
-the latter ones. Edge capacities can be specified by <b>afcolumn</b>
-for forward direction and <b>abcolumn</b> for backward direction. If
+the latter ones. Edge capacities can be specified by <b>arc_column</b>
+for forward direction and <b>arc_backward_column</b> for backward direction. If
the latter parameter is ommited then the same capacity is used in
either direction. The sets are given by the respective <b>cats</b>,
<b>layer</b> and <b>where</b> parameters. Maximum flow corresponds
@@ -30,7 +30,7 @@
Find maximum flow from factories to stores using SPEED for the capacities.
<div class="code"><pre>
-v.net.flow input=roads output=roads_flow cut=roads_cut afcolumn=SPEED \
+v.net.flow input=roads output=roads_flow cut=roads_cut arc_column=SPEED \
source_where="type=factory" sink_where="type=store"
</pre></div>
<p>
@@ -38,7 +38,7 @@
If all the capacties are one then the minimum cut corresponds to the
minimum number of edges separating sources from sinks.
<div class="code"><pre>
-v.net.flow input=network output=flow cut=cut afcolumn=ones \
+v.net.flow input=network output=flow cut=cut arc_column=ones \
source_cats=1-10 sink_cats=100-100
</pre></div>
Modified: grass/trunk/vector/v.net.iso/main.c
===================================================================
--- grass/trunk/vector/v.net.iso/main.c 2014-12-24 13:28:25 UTC (rev 63724)
+++ grass/trunk/vector/v.net.iso/main.c 2014-12-24 14:11:14 UTC (rev 63725)
@@ -117,13 +117,13 @@
nfield_opt->label = _("Node layer");
afcol = G_define_standard_option(G_OPT_DB_COLUMN);
- afcol->key = "afcolumn";
+ afcol->key = "arc_column";
afcol->description =
_("Arc forward/both direction(s) cost column (number)");
afcol->guisection = _("Cost");
abcol = G_define_standard_option(G_OPT_DB_COLUMN);
- abcol->key = "abcolumn";
+ abcol->key = "arc_backward_column";
abcol->description = _("Arc backward direction cost column (number)");
abcol->guisection = _("Cost");
Modified: grass/trunk/vector/v.net.iso/v.net.iso.html
===================================================================
--- grass/trunk/vector/v.net.iso/v.net.iso.html 2014-12-24 13:28:25 UTC (rev 63724)
+++ grass/trunk/vector/v.net.iso/v.net.iso.html 2014-12-24 14:11:14 UTC (rev 63725)
@@ -135,7 +135,7 @@
v.db.update myroads_net_time layer=3 col=bcost val="length / speed * 60"
# define iso networks using traveling time:
-v.net.iso input=myroads_net_time output=myroads_net_iso_time arc_layer=3 node_layer=2 afcol=cost abcol=bcost center_cats=1-100000 costs=1,2,5
+v.net.iso input=myroads_net_time output=myroads_net_iso_time arc_layer=3 node_layer=2 arc_column=cost arc_backward_column=bcost center_cats=1-100000 costs=1,2,5
</pre></div>
To display the result, run for example:
Modified: grass/trunk/vector/v.net.path/main.c
===================================================================
--- grass/trunk/vector/v.net.path/main.c 2014-12-24 13:28:25 UTC (rev 63724)
+++ grass/trunk/vector/v.net.path/main.c 2014-12-24 14:11:14 UTC (rev 63725)
@@ -73,14 +73,14 @@
"If not given, read from stdin");
afcol = G_define_option();
- afcol->key = "afcolumn";
+ afcol->key = "arc_column";
afcol->type = TYPE_STRING;
afcol->required = NO;
afcol->description = _("Arc forward/both direction(s) cost column (number)");
afcol->guisection = _("Cost");
abcol = G_define_option();
- abcol->key = "abcolumn";
+ abcol->key = "arc_backward_column";
abcol->type = TYPE_STRING;
abcol->required = NO;
abcol->description = _("Arc backward direction cost column (number)");
Modified: grass/trunk/vector/v.net.path/v.net.path.html
===================================================================
--- grass/trunk/vector/v.net.path/v.net.path.html 2014-12-24 13:28:25 UTC (rev 63724)
+++ grass/trunk/vector/v.net.path/v.net.path.html 2014-12-24 14:11:14 UTC (rev 63725)
@@ -16,7 +16,7 @@
and also different costs for both directions of a vector line.
For areas, costs will be calculated along boundary lines.
<p>
-The input vector needs to be prepared with <em>v.net operation=connect</em>
+The input vector needs to be prepared with <tt>v.net operation=connect</tt>
in order to connect points representing center nodes to the network.
<p>Nodes and arcs can be closed using cost = -1.
@@ -43,7 +43,7 @@
<p>
Points specified by category must be exactly on network nodes, and the
-input vector map needs to be prepared with <em>v.net operation=connect</em>.
+input vector map needs to be prepared with <tt>v.net operation=connect</tt>.
<p>
When specifying coordinates, the next network node to a given coordinate
pair is used.
@@ -85,14 +85,14 @@
<h2>NOTES</h2>
Nodes and arcs can be closed using cost = -1.
-<p>If the cost columns 'afcol', 'abcol' and 'ncol' are not
+<p>If the cost columns <b>arc_column</b>, <b>arc_backward_column</b> and <b>node_column</b> are not
specified, the length of network segments is measured and
zero costs are assumed for nodes.
<p>When using attributes, the length of segments is not used. To get
accurate results, the line length must be taken into account when
-assigning costs as attributes. For example, to get the <b>fastest path</b>,
+assigning costs as attributes. For example, to get the <em>fastest path</em>,
the columns 'max_speed' and 'length' are required. The correct fastest
-path can then be found by specifying <tt>afcol=length/max_speed</tt>. If not yet
+path can then be found by specifying <tt>arc_column=length/max_speed</tt>. If not yet
existing, the column containing the line length ("length") has to added to the
attributes table using <em>v.to.db</em>.
@@ -151,7 +151,7 @@
echo "1 1 2" | v.net.path myroads_net_time arc_layer=3 node_layer=2 out=mypath
# Fastest path: ID as first number, then cat1 and cat2
-echo "1 1 2" | v.net.path myroads_net_time arc_layer=3 node_layer=2 afcol=cost abcol=bcost out=mypath_time
+echo "1 1 2" | v.net.path myroads_net_time arc_layer=3 node_layer=2 arc_column=cost arc_backward_column=bcost out=mypath_time
</pre></div>
To display the result, run for example:
Modified: grass/trunk/vector/v.net.salesman/main.c
===================================================================
--- grass/trunk/vector/v.net.salesman/main.c 2014-12-24 13:28:25 UTC (rev 63724)
+++ grass/trunk/vector/v.net.salesman/main.c 2014-12-24 14:11:14 UTC (rev 63725)
@@ -162,14 +162,14 @@
nfield_opt->label = _("Node layer (used for cities)");
afcol = G_define_option();
- afcol->key = "afcolumn";
+ afcol->key = "arc_column";
afcol->type = TYPE_STRING;
afcol->required = NO;
afcol->description = _("Arc forward/both direction(s) cost column (number)");
afcol->guisection = _("Cost");
abcol = G_define_option();
- abcol->key = "abcolumn";
+ abcol->key = "arc_backward_column";
abcol->type = TYPE_STRING;
abcol->required = NO;
abcol->required = NO;
Modified: grass/trunk/vector/v.net.salesman/v.net.salesman.html
===================================================================
--- grass/trunk/vector/v.net.salesman/v.net.salesman.html 2014-12-24 13:28:25 UTC (rev 63724)
+++ grass/trunk/vector/v.net.salesman/v.net.salesman.html 2014-12-24 14:11:14 UTC (rev 63725)
@@ -115,7 +115,7 @@
v.db.update myroads_net_time layer=3 col=bcost val="length / speed * 60"
# find the fastest path
-v.net.salesman myroads_net_time arc_layer=3 node_layer=2 afcol=cost abcol=bcost center_cats=1-6 out=mysalesman_time
+v.net.salesman myroads_net_time arc_layer=3 node_layer=2 arc_column=cost arc_backward_column=bcost center_cats=1-6 out=mysalesman_time
</pre></div>
To display the result, run for example:
Modified: grass/trunk/vector/v.net.spanningtree/main.c
===================================================================
--- grass/trunk/vector/v.net.spanningtree/main.c 2014-12-24 13:28:25 UTC (rev 63724)
+++ grass/trunk/vector/v.net.spanningtree/main.c 2014-12-24 14:11:14 UTC (rev 63725)
@@ -66,7 +66,7 @@
nfield_opt->guisection = _("Cost");
afcol = G_define_standard_option(G_OPT_DB_COLUMN);
- afcol->key = "afcolumn";
+ afcol->key = "arc_column";
afcol->required = NO;
afcol->description =
_("Arc forward/both direction(s) cost column (number)");
Modified: grass/trunk/vector/v.net.timetable/main.c
===================================================================
--- grass/trunk/vector/v.net.timetable/main.c 2014-12-24 13:28:25 UTC (rev 63724)
+++ grass/trunk/vector/v.net.timetable/main.c 2014-12-24 14:11:14 UTC (rev 63725)
@@ -281,7 +281,7 @@
nfield_opt->guisection = _("Cost");
afcol = G_define_option();
- afcol->key = "afcolumn";
+ afcol->key = "arc_column";
afcol->type = TYPE_STRING;
afcol->required = NO;
afcol->description =
@@ -289,7 +289,7 @@
afcol->guisection = _("Cost");
abcol = G_define_option();
- abcol->key = "abcolumn";
+ abcol->key = "arc_backward_column";
abcol->type = TYPE_STRING;
abcol->required = NO;
abcol->description = _("Arc backward direction cost column (number)");
More information about the grass-commit
mailing list