1vector(1) Grass User's Manual vector(1)
2
3
4
6 Geographic Resources Analysis Support System, commonly referred to as
7 GRASS, is a Geographic Information System (GIS) used for geospatial
8 data management and analysis, image processing, graphics/maps produc‐
9 tion, spatial modeling, and visualization. GRASS is currently used in
10 academic and commercial settings around the world, as well as by many
11 governmental agencies and environmental consulting companies.
12
13 This reference manual details the use of modules distributed with Geo‐
14 graphic Resources Analysis Support System (GRASS), an open source (GNU
15 GPLed), image processing and geographic information system (GIS). Go
16 to vector introduction | topics
17
18 Go back to help overview
19
20 Vector commands:
21 v.buffer Creates a buffer around vector features of given type.
22
23 v.build.all Rebuilds topology on all vector maps in the current mapset.
24
25 v.build Creates topology for vector map.
26
27 v.build.polylines Builds polylines from lines or boundaries.
28
29 v.category Attaches, deletes or reports vector categories to map geome‐
30 try.
31
32 v.centroids Adds missing centroids to closed boundaries.
33
34 v.class Classifies attribute data, e.g. for thematic mapping
35
36 v.clean Toolset for cleaning topology of vector map.
37
38 v.clip Extracts features of input map which overlay features of
39 clip map.
40
41 v.cluster Performs cluster identification.
42
43 v.colors Creates/modifies the color table associated with a vector
44 map.
45
46 v.colors.out Exports the color table associated with a vector map.
47
48 v.db.addcolumn Adds one or more columns to the attribute table connected to
49 a given vector map.
50
51 v.db.addtable Creates and connects a new attribute table to a given layer
52 of an existing vector map.
53
54 v.db.connect Prints/sets DB connection for a vector map to attribute ta‐
55 ble.
56
57 v.db.dropcolumn Drops a column from the attribute table connected to a given
58 vector map.
59
60 v.db.droprow Removes a vector feature from a vector map through attribute
61 selection.
62
63 v.db.droptable Removes existing attribute table of a vector map.
64
65 v.db.join Joins a database table to a vector map table.
66
67
68 v.db.reconnect.all Reconnects attribute tables for all vector maps from the
69 current mapset to a new database.
70
71 v.db.renamecolumn Renames a column in the attribute table connected to a given
72 vector map.
73
74 v.db.select Prints vector map attributes.
75
76 v.db.univar Calculates univariate statistics on selected table column
77 for a GRASS vector map.
78
79 v.db.update Updates a column in the attribute table connected to a vec‐
80 tor map.
81
82 v.decimate Decimates a point cloud
83
84 v.delaunay Creates a Delaunay triangulation from an input vector map
85 containing points or centroids.
86
87 v.dissolve Dissolves boundaries between adjacent areas sharing a common
88 category number or attribute.
89
90 v.distance Finds the nearest element in vector map ’to’ for elements in
91 vector map ’from’.
92
93 v.drape Converts 2D vector features to 3D by sampling of elevation
94 raster map.
95
96 v.edit Edits a vector map, allows adding, deleting and modifying
97 selected vector features.
98
99 v.external Creates a new pseudo-vector map as a link to an OGR-sup‐
100 ported layer or a PostGIS feature table.
101
102 v.external.out Defines vector output format.
103
104 v.extract Selects vector features from an existing vector map and cre‐
105 ates a new vector map containing only the selected features.
106
107 v.extrude Extrudes flat vector features to 3D vector features with
108 defined height.
109
110 v.generalize Performs vector based generalization.
111
112 v.hull Produces a 2D/3D convex hull for a given vector map.
113
114 v.import Imports vector data into a GRASS vector map using OGR
115 library and reprojects on the fly.
116
117 v.in.ascii Creates a vector map from an ASCII points file or ASCII vec‐
118 tor file.
119
120 v.in.db Creates new vector (points) map from database table contain‐
121 ing coordinates.
122
123 v.in.dxf Converts file in DXF format to GRASS vector map.
124
125 v.in.e00 Imports E00 file into a vector map.
126
127 v.in.geonames Imports geonames.org country files into a vector points map.
128
129 v.in.lines Imports ASCII x,y[,z] coordinates as a series of lines.
130
131 v.in.mapgen Imports Mapgen or Matlab-ASCII vector maps into GRASS.
132
133
134 v.in.ogr Imports vector data into a GRASS vector map using OGR
135 library.
136
137 v.in.region Creates a vector polygon from the current region extent.
138
139 v.in.wfs Imports GetFeature from a WFS server.
140
141 v.info Outputs basic information about a vector map.
142
143 v.kcv Randomly partition points into test/train sets.
144
145 v.kernel Generates a raster density map from vector points map.
146
147 v.label Creates paint labels for a vector map from attached
148 attributes.
149
150 v.label.sa Create optimally placed labels for vector map(s)
151
152 v.lidar.correction Corrects the v.lidar.growing output. It is the last of the
153 three algorithms for LIDAR filtering.
154
155 v.lidar.edgedetection Detects the object’s edges from a LIDAR data set.
156
157 v.lidar.growing Building contour determination and Region Growing algorithm
158 for determining the building inside
159
160 v.lrs.create Creates a linear reference system.
161
162 v.lrs.label Creates stationing from input lines, and linear reference
163 system.
164
165 v.lrs.segment Creates points/segments from input lines, linear reference
166 system and positions read from stdin or a file.
167
168 v.lrs.where Finds line id and real km+offset for given points in vector
169 map using linear reference system.
170
171 v.mkgrid Creates a vector map of a user-defined grid.
172
173 v.neighbors Neighborhood analysis tool for vector point maps.
174
175 v.net.alloc Allocates subnets for nearest centers.
176
177 v.net.allpairs Computes the shortest path between all pairs of nodes in the
178 network.
179
180 v.net.bridge Computes bridges and articulation points in the network.
181
182 v.net.centrality Computes degree, centrality, betweeness, closeness and
183 eigenvector centrality measures in the network.
184
185 v.net.components Computes strongly and weakly connected components in the
186 network.
187
188 v.net.connectivity Computes vertex connectivity between two sets of nodes in
189 the network.
190
191 v.net.distance Computes shortest distance via the network between the given
192 sets of features.
193
194 v.net.flow Computes the maximum flow between two sets of nodes in the
195 network.
196
197 v.net Performs network maintenance.
198
199
200 v.net.iso Splits subnets for nearest centers by cost isolines.
201
202 v.net.path Finds shortest path on vector network.
203
204 v.net.salesman Creates a cycle connecting given nodes (Traveling salesman
205 problem).
206
207 v.net.spanningtree Computes minimum spanning tree for the network.
208
209 v.net.steiner Creates Steiner tree for the network and given terminals.
210
211 v.net.timetable Finds shortest path using timetables.
212
213 v.net.visibility Performs visibility graph construction.
214
215 v.normal Tests for normality for vector points.
216
217 v.out.ascii Exports a vector map to a GRASS ASCII vector representation.
218
219 v.out.dxf Exports vector map to DXF file format.
220
221 v.out.ogr Exports a vector map layer to any of the supported OGR vec‐
222 tor formats.
223
224 v.out.postgis Exports a vector map layer to PostGIS feature table.
225
226 v.out.pov Converts GRASS x,y,z points to POV-Ray x,z,y format.
227
228 v.out.svg Exports a vector map to SVG file.
229
230 v.out.vtk Converts a vector map to VTK ASCII output.
231
232 v.outlier Removes outliers from vector point data.
233
234 v.overlay Overlays two vector maps offering clip, intersection, dif‐
235 ference, symmetrical difference, union operators.
236
237 v.pack Exports a vector map as GRASS GIS specific archive file
238
239 v.parallel Creates parallel line to input vector lines.
240
241 v.patch Creates a new vector map by combining other vector maps.
242
243 v.perturb Random location perturbations of vector points.
244
245 v.profile Vector map profiling tool
246
247 v.proj Re-projects a vector map from one location to the current
248 location.
249
250 v.qcount Indices for quadrat counts of vector point lists.
251
252 v.random Generates random 2D/3D vector points.
253
254 v.rast.stats Calculates univariate statistics from a raster map based on
255 a vector map and uploads statistics to new attribute col‐
256 umns.
257
258 v.reclass Changes vector category values for an existing vector map
259 according to results of SQL queries or a value in attribute
260 table column.
261
262 v.rectify Rectifies a vector by computing a coordinate transformation
263 for each object in the vector based on the control points.
264
265
266 v.report Reports geometry statistics for vector maps.
267
268 v.sample Samples a raster map at vector point locations.
269
270 v.segment Creates points/segments from input vector lines and posi‐
271 tions.
272
273 v.select Selects features from vector map (A) by features from other
274 vector map (B).
275
276 v.split Splits vector lines to shorter segments.
277
278 v.support Updates vector map metadata.
279
280 v.surf.bspline Performs bicubic or bilinear spline interpolation with
281 Tykhonov regularization.
282
283 v.surf.idw Provides surface interpolation from vector point data by
284 Inverse Distance Squared Weighting.
285
286 v.surf.rst Performs surface interpolation from vector points map by
287 splines.
288
289 v.timestamp Modifies a timestamp for a vector map.
290
291 v.to.3d Performs transformation of 2D vector features to 3D.
292
293 v.to.db Populates attribute values from vector features.
294
295 v.to.lines Converts vector polygons or points to lines.
296
297 v.to.points Creates points along input lines in new vector map with 2
298 layers.
299
300 v.to.rast Converts (rasterize) a vector map into a raster map.
301
302 v.to.rast3 Converts a vector map (only points) into a 3D raster map.
303
304 v.transform Performs an affine transformation (shift, scale and rotate)
305 on vector map.
306
307 v.type Changes type of vector features.
308
309 v.univar Calculates univariate statistics of vector map features.
310
311 v.unpack Imports a GRASS GIS specific vector archive file (packed
312 with v.pack) as a vector map
313
314 v.vect.stats Count points in areas, calculate statistics from point
315 attributes.
316
317 v.vol.rst Interpolates point data to a 3D raster map using regularized
318 spline with tension (RST) algorithm.
319
320 v.voronoi Creates a Voronoi diagram constrained to the extents of the
321 current region from an input vector map containing points or
322 centroids.
323
324 v.what Queries a vector map at given locations.
325
326 v.what.rast Uploads raster values at positions of vector points to the
327 table.
328
329
330
331
332 v.what.rast3 Uploads 3D raster values at positions of vector points to
333 the table.
334
335 v.what.strds Uploads space time raster dataset values at positions of
336 vector points to the table.
337
338 v.what.vect Uploads vector values at positions of vector points to the
339 table.
340
341
342 Main index | Topics index | Keywords index | Graphical index | Full
343 index
344
345 © 2003-2019 GRASS Development Team, GRASS GIS 7.8.2 Reference Manual
346
347
348
349GRASS 7.8.2 vector(1)