ÐÐÐСÐÐÐÐ

   v.lrs.segment creates points/segments from input lines, linear
   reference system and positions read from standard in or a file.

   The format is as follows:

P <point_id> <line_id> <milepost>+<offset> [<side offset>]
L <segment_id> <line_id> <milepost>+<offset> <milepost>+<offset> [<side offset>
]

ÐÐ ÐÐÐЧÐÐÐЯ

   For more information and examples see the help page for v.lrs.segment's
   sister module, [1]v.segment.

ÐÐ ÐÐÐÐ

   This example is written for the Spearfish dataset (it continues the
   example from v.lrs.create).

   In this example, the 'route_lrs' shall be extended for a new position
   (point) along the LRS after bus stop 4:

# new point on LRS
echo "P 7 22 4+180" | v.lrs.segment route_lrs out=route_lrs_new rstable=route_l
rs

g.region vect=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 route_lrs

# show modified map
d.vect route_lrs_new col=red

TODO

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

СÐ. ТÐÐÐÐ

   [2]LRS tutorial,
   [3]Introducing the Linear Reference System in GRASS,
   [4]v.lrs.create, [5]v.lrs.where, [6]v.lrs.label, [7]v.segment

ÐÐТÐÐ

   Radim Blazek

   Last changed: $Date: 2007-07-05 09:05:39 -0500 (ЧÑ, 05 иÑл 2007) $

ÐвÑÐ¾Ñ Ð¿ÐµÑевода

References

   1. file://localhost/root/tmp/2/fin/v.segment.html
   2. file://localhost/root/tmp/2/fin/lrs.html
   3. http://gisws.media.osaka-cu.ac.jp/grass04/viewpaper.php?id=50
   4. file://localhost/root/tmp/2/fin/v.lrs.create.html
   5. file://localhost/root/tmp/2/fin/v.lrs.where.html
   6. file://localhost/root/tmp/2/fin/v.lrs.label.html
   7. file://localhost/root/tmp/2/fin/v.segment.html