~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to vector/v.lrs/v.lrs.segment/description.html

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<h2>DESCRIPTION</h2>
2
 
 
3
 
<em>v.lrs.segment</em> creates points/segments from input lines,
4
 
linear reference system and positions read from <tt>standard in</tt>
5
 
or a file.
6
 
<P>
7
 
The format is as follows:<BR>
8
 
 
9
 
<div class="code"><pre>
10
 
P &lt;point_id&gt; &lt;line_id&gt; &lt;milepost&gt;+&lt;offset&gt; [&lt;side offset&gt;]
11
 
L &lt;segment_id&gt; &lt;line_id&gt; &lt;milepost&gt;+&lt;offset&gt; &lt;milepost&gt;+&lt;offset&gt; [&lt;side offset&gt;]
12
 
</pre></div>
13
 
 
14
 
<h2>NOTES</h2>
15
 
 
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>.
18
 
 
19
 
<h2>EXAMPLE</h2>
20
 
 
21
 
This example is written for the Spearfish dataset (it continues the example
22
 
from <em>v.lrs.create</em>).
23
 
<p>
24
 
In this example, the 'route_lrs' shall be extended for a new
25
 
position (point) along the LRS after bus stop 4:
26
 
 
27
 
<div class="code"><pre>
28
 
# new point on LRS
29
 
echo "P 7 22 4+180" | v.lrs.segment route_lrs out=route_lrs_new rstable=route_lrs
30
 
 
31
 
g.region vect=route_lrs n=n+100 s=s-100 -p
32
 
d.erase
33
 
# existing LRS
34
 
d.vect route_lrs
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
37
 
db.select route_lrs
38
 
 
39
 
# show modified map
40
 
d.vect route_lrs_new col=red
41
 
</pre></div>
42
 
 
43
 
<h2>TODO</h2>
44
 
 
45
 
Figure out how to merge result into existing LRS map and table.
46
 
 
47
 
<h2>SEE ALSO</h2>
48
 
 
49
 
<em>
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>
56
 
</em>
57
 
 
58
 
<h2>AUTHOR</h2>
59
 
 
60
 
Radim Blazek
61
 
 
62
 
<p>
63
 
<i>Last changed: $Date: 2007-07-05 16:05:39 +0200 (Thu, 05 Jul 2007) $</i>