Opened 9 years ago

Last modified 9 years ago

#2761 closed defect

v.net.path manual error — at Version 4

Reported by: cmbarton Owned by: grass-dev@…
Priority: normal Milestone: 7.0.4
Component: Vector Version: 7.0.1
Keywords: v.net.path, network Cc:
CPU: All Platform: All

Description (last modified by martinl)

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

Change History (4)

comment:1 by annakrat, 9 years ago

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.

comment:2 by martinl, 9 years ago

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

comment:3 by martinl, 9 years ago

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?

comment:4 by martinl, 9 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.