1vector(1)                   GRASS GIS User's Manual                  vector(1)
2
3
4

GRASS GIS 8.2.1 Reference Manual

6       Geographic  Resources  Analysis Support System, commonly referred to as
7       GRASS GIS, 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/from/of
30                                                                    map geometry.
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 de‐
108                                                                    fined 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 li‐
115                                                                    brary 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  li‐
135                                                                    brary.
136
137       v.in.pdal                                                    Converts  LAS  LiDAR point clouds to a GRASS vector map with
138                                                                    PDAL.
139
140       v.in.region                                                  Creates a vector polygon from the current region extent.
141
142       v.in.wfs                                                     Imports GetFeature from a WFS server.
143
144       v.info                                                       Outputs basic information about a vector map.
145
146       v.kcv                                                        Randomly partition points into test/train sets.
147
148       v.kernel                                                     Generates a raster density map from vector points map.
149
150       v.label                                                      Creates paint labels for a  vector  map  from  attached  at‐
151                                                                    tributes.
152
153       v.label.sa                                                   Create optimally placed labels for vector map(s)
154
155       v.lidar.correction                                           Corrects  the  v.lidar.growing output. It is the last of the
156                                                                    three algorithms for LIDAR filtering.
157
158       v.lidar.edgedetection                                        Detects the object’s edges from a LIDAR data set.
159
160       v.lidar.growing                                              Building contour determination and Region Growing  algorithm
161                                                                    for determining the building inside
162
163       v.lrs.create                                                 Creates a linear reference system.
164
165       v.lrs.label                                                  Creates  stationing  from  input lines, and linear reference
166                                                                    system.
167
168       v.lrs.segment                                                Creates points/segments from input lines,  linear  reference
169                                                                    system and positions read from stdin or a file.
170
171       v.lrs.where                                                  Finds  line id and real km+offset for given points in vector
172                                                                    map using linear reference system.
173
174       v.mkgrid                                                     Creates a vector map of a user-defined grid.
175
176       v.neighbors                                                  Neighborhood analysis tool for vector point maps.
177
178       v.net.alloc                                                  Allocates subnets for nearest centers.
179
180       v.net.allpairs                                               Computes the shortest path between all pairs of nodes in the
181                                                                    network.
182
183       v.net.bridge                                                 Computes bridges and articulation points in the network.
184
185       v.net.centrality                                             Computes   degree,  centrality,  betweeness,  closeness  and
186                                                                    eigenvector centrality measures in the network.
187
188       v.net.components                                             Computes strongly and weakly  connected  components  in  the
189                                                                    network.
190
191       v.net.connectivity                                           Computes  vertex  connectivity  between two sets of nodes in
192                                                                    the network.
193
194       v.net.distance                                               Computes shortest distance via the network between the given
195                                                                    sets of features.
196
197
198
199
200       v.net.flow                                                   Computes  the  maximum flow between two sets of nodes in the
201                                                                    network.
202
203       v.net                                                        Performs network maintenance.
204
205       v.net.iso                                                    Splits subnets for nearest centers by cost isolines.
206
207       v.net.path                                                   Finds shortest path on vector network.
208
209       v.net.salesman                                               Creates a cycle connecting given nodes  (Traveling  salesman
210                                                                    problem).
211
212       v.net.spanningtree                                           Computes minimum spanning tree for the network.
213
214       v.net.steiner                                                Creates Steiner tree for the network and given terminals.
215
216       v.net.timetable                                              Finds shortest path using timetables.
217
218       v.net.visibility                                             Performs visibility graph construction.
219
220       v.normal                                                     Tests for normality for vector points.
221
222       v.out.ascii                                                  Exports a vector map to a GRASS ASCII vector representation.
223
224       v.out.dxf                                                    Exports vector map to DXF file format.
225
226       v.out.ogr                                                    Exports  a vector map layer to any of the supported OGR vec‐
227                                                                    tor formats.
228
229       v.out.postgis                                                Exports a vector map layer to PostGIS feature table.
230
231       v.out.pov                                                    Converts GRASS x,y,z points to POV-Ray x,z,y format.
232
233       v.out.svg                                                    Exports a vector map to SVG file.
234
235       v.out.vtk                                                    Converts a vector map to VTK ASCII output.
236
237       v.outlier                                                    Removes outliers from vector point data.
238
239       v.overlay                                                    Overlays two vector maps offering clip,  intersection,  dif‐
240                                                                    ference, symmetrical difference, union operators.
241
242       v.pack                                                       Exports a vector map as GRASS GIS specific archive file
243
244       v.parallel                                                   Creates parallel line to input vector lines.
245
246       v.patch                                                      Creates a new vector map by combining other vector maps.
247
248       v.perturb                                                    Random location perturbations of vector points.
249
250       v.profile                                                    Vector map profiling tool
251
252       v.proj                                                       Re-projects  a  vector  map from one location to the current
253                                                                    location.
254
255       v.qcount                                                     Indices for quadrat counts of vector point lists.
256
257       v.random                                                     Generates random 2D/3D vector points.
258
259       v.rast.stats                                                 Calculates univariate statistics from a raster map based  on
260                                                                    a  vector  map  and uploads statistics to new attribute col‐
261                                                                    umns.
262
263
264
265
266       v.reclass                                                    Changes vector category values for an  existing  vector  map
267                                                                    according  to results of SQL queries or a value in attribute
268                                                                    table column.
269
270       v.rectify                                                    Rectifies a vector by computing a coordinate  transformation
271                                                                    for each object in the vector based on the control points.
272
273       v.report                                                     Reports geometry statistics for vector maps.
274
275       v.sample                                                     Samples a raster map at vector point locations.
276
277       v.segment                                                    Creates  points/segments  from  input vector lines and posi‐
278                                                                    tions.
279
280       v.select                                                     Selects features from vector map (A) by features from  other
281                                                                    vector map (B).
282
283       v.split                                                      Splits vector lines to shorter segments.
284
285       v.support                                                    Updates vector map metadata.
286
287       v.surf.bspline                                               Performs  bicubic  or  bilinear  spline  interpolation  with
288                                                                    Tykhonov regularization.
289
290       v.surf.idw                                                   Provides surface interpolation from vector point data by In‐
291                                                                    verse Distance Squared Weighting.
292
293       v.surf.rst                                                   Performs  surface  interpolation  from  vector points map by
294                                                                    splines.
295
296       v.timestamp                                                  Modifies a timestamp for a vector map.
297
298       v.to.3d                                                      Performs transformation of 2D vector features to 3D.
299
300       v.to.db                                                      Populates attribute values from vector features.
301
302       v.to.lines                                                   Converts vector polygons or points to lines.
303
304       v.to.points                                                  Creates points along input lines in new vector  map  with  2
305                                                                    layers.
306
307       v.to.rast                                                    Converts (rasterize) a vector map into a raster map.
308
309       v.to.rast3                                                   Converts a vector map (only points) into a 3D raster map.
310
311       v.transform                                                  Performs  an affine transformation (shift, scale and rotate)
312                                                                    on vector map.
313
314       v.type                                                       Changes type of vector features.
315
316       v.univar                                                     Calculates univariate statistics of vector map features.
317
318       v.unpack                                                     Imports a GRASS GIS specific  vector  archive  file  (packed
319                                                                    with v.pack) as a vector map
320
321       v.vect.stats                                                 Count  points  in areas, calculate statistics from point at‐
322                                                                    tributes.
323
324       v.vol.rst                                                    Interpolates point data to a 3D raster map using regularized
325                                                                    spline with tension (RST) algorithm.
326
327       v.voronoi                                                    Creates  a Voronoi diagram constrained to the extents of the
328                                                                    current region from an input vector map containing points or
329                                                                    centroids.
330
331
332       v.what                                                       Queries a vector map at given locations.
333
334       v.what.rast                                                  Uploads  raster  values at positions of vector points to the
335                                                                    table.
336
337       v.what.rast3                                                 Uploads 3D raster values at positions of  vector  points  to
338                                                                    the table.
339
340       v.what.strds                                                 Uploads  space  time  raster  dataset values at positions of
341                                                                    vector points to the table.
342
343       v.what.vect                                                  Uploads vector values at positions of vector points  to  the
344                                                                    table.
345
346
347       Main index | Topics index | Keywords index | Graphical index | Full in‐
348       dex
349
350       © 2003-2023 GRASS Development Team, GRASS GIS 8.2.1 Reference Manual
351
352
353
354GRASS 8.2.1                                                          vector(1)
Impressum