GDAL
October 14, 2015, 5:53pm
1
#2761: v.net.path manual error
---------------------------------+-------------------------
Reporter: cmbarton | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.2
Component: Vector | Version: 7.0.1
Keywords: v.net.path, network | CPU: All
Platform: All |
---------------------------------+-------------------------
The manual states:
The syntax is as follows:
id start_point_category end_point_category
(Example: 1 1 2)
or
id start_point_x start_point_y end_point_x end_point_y
The CORRECT syntax is:
The syntax is as follows:
layer start_point_category end_point_category
(Example: 1 1 2)
or
layer start_point_x start_point_y end_point_x end_point_y
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2761> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
October 15, 2015, 2:54am
2
#2761: v.net.path manual error
-----------------------+---------------------------------
Reporter: cmbarton | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.2
Component: Vector | Version: 7.0.1
Resolution: | Keywords: v.net.path, network
CPU: All | Platform: All
-----------------------+---------------------------------
Comment (by annakrat):
Are you sure? I don't see anything like that in the code. It must be an
integer, but it is not really used there.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2761#comment:1> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
October 15, 2015, 6:48am
3
#2761: v.net.path manual error
-----------------------+---------------------------------
Reporter: cmbarton | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.2
Component: Vector | Version: 7.0.1
Resolution: | Keywords: v.net.path, network
CPU: All | Platform: All
-----------------------+---------------------------------
Comment (by martinl):
From first look it seems to me that the module supports two modes:
coordinates and categories, see
source:grass/trunk/vector/v.net.path/path.c#L141
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2761#comment:2> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
October 15, 2015, 6:52am
4
#2761: v.net.path manual error
-----------------------+---------------------------------
Reporter: cmbarton | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.2
Component: Vector | Version: 7.0.1
Resolution: | Keywords: v.net.path, network
CPU: All | Platform: All
-----------------------+---------------------------------
Comment (by martinl):
OK, now I understand better your ticket. The 'id' is stored in created
attribute table, source:grass/trunk/vector/v.net.path/path.c#L100. Why do
you think that it should be a layer?
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2761#comment:3> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
October 15, 2015, 6:53am
5
#2761: v.net.path manual error
-----------------------+---------------------------------
Reporter: cmbarton | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.2
Component: Vector | Version: 7.0.1
Resolution: | Keywords: v.net.path, network
CPU: All | Platform: All
-----------------------+---------------------------------
Description changed by martinl:
Old description:
The manual states:
The syntax is as follows:
id start_point_category end_point_category
(Example: 1 1 2)
or
id start_point_x start_point_y end_point_x end_point_y
The CORRECT syntax is:
The syntax is as follows:
layer start_point_category end_point_category
(Example: 1 1 2)
or
layer start_point_x start_point_y end_point_x end_point_y
New description:
The manual states:
The syntax is as follows:
{{{
id start_point_category end_point_category
(Example: 1 1 2)
or
id start_point_x start_point_y end_point_x end_point_y
}}}
The CORRECT syntax is:
The syntax is as follows:
{{{
layer start_point_category end_point_category
(Example: 1 1 2)
or
layer start_point_x start_point_y end_point_x end_point_y
}}}
--
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2761#comment:4> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
February 24, 2016, 2:22pm
6
#2761: v.net.path manual error
-----------------------+---------------------------------
Reporter: cmbarton | Owner: grass-dev@…
Type: defect | Status: closed
Priority: normal | Milestone: 7.0.4
Component: Vector | Version: 7.0.1
Resolution: invalid | Keywords: v.net.path, network
CPU: All | Platform: All
-----------------------+---------------------------------
Changes (by mmetz):
* status: new => closed
* resolution: => invalid
Comment:
Replying to [comment:3 martinl]:
> OK, now I understand better your ticket. The 'id' is stored in created
attribute table, source:grass/trunk/vector/v.net.path/path.c#L100. Why do
you think that it should be a layer?
ID is correct, it is the ID of the path to be created. Layers are defined
with the arc_layer, node_layer, turn_layer, and turn_cat_layer options.
Several paths can be created at once, e.g. with
{{{
1 1 2
2 2 3
3 3 4
}}}
using the syntax "id start_point_category end_point_category". The output
will contain three different paths. You can then display a single path
with d.vect where="id = 1" etc. Closing as invalid.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2761#comment:8> ;
GRASS GIS <https://grass.osgeo.org >