3
<em>v.lrs.segment</em> creates points/segments from input lines,
4
linear reference system and positions read from <tt>standard in</tt>
7
The format is as follows:<BR>
9
<div class="code"><pre>
10
P <point_id> <line_id> <milepost>+<offset> [<side offset>]
11
L <segment_id> <line_id> <milepost>+<offset> <milepost>+<offset> [<side offset>]
16
For more information and examples see the help page for <em>v.lrs.segment</em>'s
17
sister module, <em><a href="v.segment.html">v.segment</a></em>.
21
This example is written for the Spearfish dataset (it continues the example
22
from <em>v.lrs.create</em>).
24
In this example, the 'route_lrs' shall be extended for a new
25
position (point) along the LRS after bus stop 4:
27
<div class="code"><pre>
29
echo "P 7 22 4+180" | v.lrs.segment route_lrs out=route_lrs_new rstable=route_lrs
31
g.region vect=route_lrs n=n+100 s=s-100 -p
35
d.vect busstops disp=attr attr=cat size=10 bg=white lcol=blue yref=bottom
36
d.vect busstops icon=basic/circle fcol=blue
40
d.vect route_lrs_new col=red
45
Figure out how to merge result into existing LRS map and table.
50
<a HREF="lrs.html">LRS tutorial</a>,<br>
51
<a HREF="http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50">Introducing the Linear Reference System in GRASS</a>,<br>
52
<a HREF="v.lrs.create.html">v.lrs.create</a>,
53
<a HREF="v.lrs.where.html">v.lrs.where</a>,
54
<a HREF="v.lrs.label.html">v.lrs.label</a>,
55
<a HREF="v.segment.html">v.segment</a>
63
<i>Last changed: $Date: 2007-07-05 16:05:39 +0200 (Thu, 05 Jul 2007) $</i>