1v.lrs.segment(1)              Grass User's Manual             v.lrs.segment(1)
2
3
4

NAME

6       v.lrs.segment   - Creates points/segments from input lines, linear ref‐
7       erence system and positions read from stdin or a file.
8

KEYWORDS

10       vector, LRS, networking
11

SYNOPSIS

13       v.lrs.segment
14       v.lrs.segment help
15       v.lrs.segment      input=name       output=name        [llayer=integer]
16       [rsdriver=string]    [rsdatabase=string]   rstable=string   [file=name]
17       [--overwrite]  [--verbose]  [--quiet]
18
19   Flags:
20       --overwrite
21           Allow output files to overwrite existing files
22
23       --verbose
24           Verbose module output
25
26       --quiet
27           Quiet module output
28
29   Parameters:
30       input=name
31           Input vector map containing lines
32
33       output=name
34           Output vector map where segments will be written
35
36       llayer=integer
37           Layer number
38           Line layer
39           Default: 1
40
41       rsdriver=string
42           Driver name for reference system table
43           Default: dbf
44
45       rsdatabase=string
46           Database name for reference system table
47           Default: $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/
48
49       rstable=string
50           Name of the reference system table
51
52       file=name
53           Name of file containing segment rules.  If  not  given,  read  from
54           stdin.
55

DESCRIPTION

57       v.lrs.segment  creates  points/segments from input lines, linear refer‐
58       ence system and positions read from standard in or a file.
59
60       The format is as follows:
61
62       P <point_id> <line_id> <milepost>+<offset> [<;side offset>;]
63       L <segment_id>  <line_id>  <milepost>+<offset>  <;milepost>;+<;offset>;
64       [<;side offset>;]
65
66

NOTES

68       For more information and examples see the help page for v.lrs.segment's
69       sister module, v.segment.
70

EXAMPLE

72       This example is written for the Spearfish  dataset  (it  continues  the
73       example from v.lrs.create).
74
75       In  this  example, the 'route_lrs' shall be extended for a new position
76       (point) along the LRS after bus stop 4:
77       # new point on LRS
78       echo  "P  7  22  4+180"  |  v.lrs.segment  route_lrs  out=route_lrs_new
79       rstable=route_lrs
80       g.region vect=route_lrs n=n+100 s=s-100 -p
81       d.erase
82       # existing LRS
83       d.vect route_lrs
84       d.vect busstops disp=attr attr=cat size=10 bg=white lcol=blue yref=bot‐
85       tom
86       d.vect busstops icon=basic/circle fcol=blue
87       db.select route_lrs
88       # show modified map
89       d.vect route_lrs_new col=red
90
91

TODO

93       Figure out how to merge result into existing LRS map and table.
94

SEE ALSO

96        LRS tutorial,
97       Introducing the Linear Reference System in GRASS,
98       v.lrs.create, v.lrs.where, v.lrs.label, v.segment
99

AUTHOR

101       Radim Blazek
102
103       Last changed: $Date: 2007-07-05 16:05:39 +0200 (Thu, 05 Jul 2007) $
104
105       Full index
106
107       © 2003-2008 GRASS Development Team
108
109
110
111GRASS 6.3.0                                                   v.lrs.segment(1)
Impressum