Debian Codegraph @

scripts/v.clip/v.clip.html

raw symbols SCIP
1 <h2>DESCRIPTION</h2>
2
3 <em>v.clip</em> module enables extracting those features of input
4 vector map, which overlay features of clip map, as well as their
5 storing in a new vector map.
6
7 <p>In default, boundaries of clip map are dissolved before
8 clipping. Alternatively, flag <b>-d</b> can be ticked to retain the
9 boundaries of clip map. Flag <b>-r</b> facilitates clipping by current
10 computational region.
11
12 <p>It is possible to clip vector maps consisting of points, lines,
13 areas or combinations of these. However, the current version does not
14 fully support clipping of mixed geometry containing points. In such a
15 case, the output map will only store clipped lines and/or areas.
16
17 <h2>NOTES</h2>
18
19 <em>v.clip</em> is a front-end
20 to <em><a href="v.overlay.html">v.overlay</a></em>, as well
21 as <em><a href="v.select.html">v.select</a></em>. Clipping of areas
22 and/or lines can be achieved
23 using <em><a href="v.overlay.html">v.overlay</a></em>. Clipping of
24 points can be performed
25 with <em><a href="v.select.html">v.select</a></em>.
26
27 <h2>EXAMPLES</h2>
28
29 <h3>Basic use</h3>
30
31 Clip railroads by counties Wake and Johnston in North Carolina (North
32 Carolina data set).
33
34 <div class="code"><pre>
35 v.extract input=boundary_county where="NAME='WAKE' OR NAME='JOHNSTON'" output=county_WAKE_JOHNSTON
36 v.clip input=railroads clip=county_WAKE_JOHNSTON output=railroads_WAKE_JOHNSTON
37 </pre></div>
38
39 <center>
40 <img src="v_clip_poly.png" alt="v.clip example" height="255" width="600" ><br>
41 <em>Figure: v.clip example - basic use</em>
42 </center>
43
44 <h3>Retain boundaries of clip map</h3>
45
46 <div class="code"><pre>
47 v.clip -d input=railroads clip=county_WAKE_JOHNSTON output=railroads_WAKE_JOHNSTON
48 </pre></div>
49
50 <h3>Clip by current computational region</h3>
51
52 Clip hospitals by computational region adjusted to counties Wake and
53 Johnston in North Carolina (North Carolina data set).
54
55 It is not obligatory to enter name of clip map. In case it is stated,
56 the clip map will be omitted.
57
58 <div class="code"><pre>
59 v.extract input=boundary_county where="NAME='WAKE' OR NAME='JOHNSTON'" output=county_WAKE_JOHNSTON
60 v.clip -r input=hospitals output=hospitals_clip
61 </pre></div>
62
63 <center>
64 <img src="v_clip_region.png" alt="v.clip example" height="259" width="600"><br>
65 <em>Figure: v.clip example - clip by computational region</em>
66 </center>
67
68 <h2>SEE ALSO</h2>
69
70 <em>
71 <a href="v.overlay.html">v.overlay</a>,
72 <a href="v.select.html">v.select</a>,
73 <a href="v.dissolve.html">v.dissolve</a>,
74 <a href="v.in.region.html">v.in.region</a>
75 </em>
76
77 <h2>AUTHOR</h2>
78
79 Zofie Cimburova, <a href="http://geomatics.fsv.cvut.cz/research/geoforall/">GeoForAll
80 Lab</a>, Czech Technical University in Prague, Czech Republic