1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
|
<h2>DESCRIPTION</h2>
<em>v.lrs.segment</em> creates points/segments from input lines,
linear reference system and positions read from <tt>standard in</tt>
or a file.
<p>
The format is as follows:<br>
<div class="code"><pre>
P <point_id> <line_id> <milepost>+<offset> [<side offset>]
L <segment_id> <line_id> <milepost>+<offset> <milepost>+<offset> [<side offset>]
</pre></div>
<h2>NOTES</h2>
For more information and examples see the help page for <em>v.lrs.segment</em>'s
sister module, <em><a href="v.segment.html">v.segment</a></em>.
<h2>EXAMPLE</h2>
This example is written for the Spearfish dataset (it continues the example
from <em>v.lrs.create</em>).
<p>
In this example, the 'route_lrs' shall be extended for a new
position (point) along the LRS after bus stop 4:
<div class="code"><pre>
# new point on LRS
echo "P 7 22 4+180" | v.lrs.segment route_lrs out=route_lrs_new rstable=route_lrs
g.region vector=route_lrs n=n+100 s=s-100 -p
d.erase
# existing LRS
d.vect route_lrs
d.vect busstops disp=attr attr=cat size=10 bg=white lcol=blue yref=bottom
d.vect busstops icon=basic/circle fcol=blue
db.select table=route_lrs
# show modified map
d.vect route_lrs_new col=red
</pre></div>
<h2>TODO</h2>
Figure out how to merge result into existing LRS map and table.
<h2>SEE ALSO</h2>
<em>
<a href="lrs.html">LRS tutorial</a>,<br>
<a href="http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50">Introducing the Linear Reference System in GRASS</a>,<br>
<a href="v.lrs.create.html">v.lrs.create</a>,
<a href="v.lrs.where.html">v.lrs.where</a>,
<a href="v.lrs.label.html">v.lrs.label</a>,
<a href="v.segment.html">v.segment</a>
</em>
<h2>AUTHOR</h2>
Radim Blazek
<p>
<i>Last changed: $Date: 2015-12-17 15:38:13 +0100 (Thu, 17 Dec 2015) $</i>
|