1v.clip(1) Grass User's Manual v.clip(1)
2
3
4
6 v.clip - Extracts features of input map which overlay features of clip
7 map.
8
10 vector, clip, area
11
13 v.clip
14 v.clip --help
15 v.clip [-dr] input=name clip=name output=name [--overwrite] [--help]
16 [--verbose] [--quiet] [--ui]
17
18 Flags:
19 -d
20 Do not dissolve clip map
21
22 -r
23 Clip by region
24
25 --overwrite
26 Allow output files to overwrite existing files
27
28 --help
29 Print usage summary
30
31 --verbose
32 Verbose module output
33
34 --quiet
35 Quiet module output
36
37 --ui
38 Force launching GUI dialog
39
40 Parameters:
41 input=name [required]
42 Name of vector map to be clipped
43 Or data source for direct OGR access
44
45 clip=name [required]
46 Name of clip vector map
47 Or data source for direct OGR access
48
49 output=name [required]
50 Name for output vector map
51
53 v.clip module enables extracting those features of input vector map,
54 which overlay features of clip map, as well as their storing in a new
55 vector map.
56
57 In default, boundaries of clip map are dissolved before clipping.
58 Alternatively, flag -d can be ticked to retain the boundaries of clip
59 map. Flag -b facilitates clipping by current computational region.
60
61 It is possible to clip vector maps consisting of points, lines, areas
62 or combinations of these. However, the current version does not fully
63 support clipping of mixed geometry containing points. In such a case,
64 the output map will only store clipped lines and/or areas.
65
67 v.clip is a front-end to v.overlay, as well as v.select. Clipping of
68 areas and/or lines can be achieved using v.overlay. Clipping of points
69 can be performed with v.select.
70
72 Basic use
73 Clip railroads by counties Wake and Johnston in North Carolina (North
74 Carolina data set).
75 v.extract input=boundary_county where="NAME=’WAKE’ OR NAME=’JOHNSTON’" output=county_WAKE_JOHNSTON
76 v.clip input=railroads clip=county_WAKE_JOHNSTON output=railroads_WAKE_JOHNSTON
77 Figure: v.clip example - basic use
78
79 Retain boundaries of clip map
80 v.clip -d input=railroads clip=county_WAKE_JOHNSTON output=railroads_WAKE_JOHNSTON
81
82 Clip by current computational region
83 Clip hospitals by computational region adjusted to counties Wake and
84 Johnston in North Carolina (North Carolina data set). It is not oblig‐
85 atory to enter name of clip map. In case it is stated, the clip map
86 will be omitted.
87 v.extract input=boundary_county where="NAME=’WAKE’ OR NAME=’JOHNSTON’" output=county_WAKE_JOHNSTON
88 v.clip -r input=hospitals output=hospitals_clip
89 Figure: v.clip example - clip by computational region
90
92 v.overlay, v.select, v.dissolve, v.in.region
93
95 Zofie Cimburova, GeoForAll Lab, Czech Technical University in Prague,
96 Czech Republic
97
98 Last changed: $Date: 2016-06-28 19:30:00 +0001 (Tue, 28 Jun 2016)$
99
101 Available at: v.clip source code (history)
102
103 Main index | Vector index | Topics index | Keywords index | Graphical
104 index | Full index
105
106 © 2003-2019 GRASS Development Team, GRASS GIS 7.6.0 Reference Manual
107
108
109
110GRASS 7.6.0 v.clip(1)