.TH vector 1grass "" "GRASS 7.8.5" "GRASS GIS User's Manual" .SH GRASS GIS 7.8.5 Reference Manual .PP \fBGeographic Resources Analysis Support System\fR, commonly referred to as GRASS GIS, is a Geographic Information System (GIS) used for geospatial data management and analysis, image processing, graphics/maps production, spatial modeling, and visualization. GRASS is currently used in academic and commercial settings around the world, as well as by many governmental agencies and environmental consulting companies. .PP This reference manual details the use of modules distributed with Geographic Resources Analysis Support System (GRASS), an open source (GNU GPLed), image processing and geographic information system (GIS). Go to vector introduction | topics .PP Go back to help overview .SS Vector commands: .TS expand; lw60 lw1 lw60. T{ v.buffer T} T{ Creates a buffer around vector features of given type. T} .sp 1 T{ v.build.all T} T{ Rebuilds topology on all vector maps in the current mapset. T} .sp 1 T{ v.build T} T{ Creates topology for vector map. T} .sp 1 T{ v.build.polylines T} T{ Builds polylines from lines or boundaries. T} .sp 1 T{ v.category T} T{ Attaches, deletes or reports vector categories to/from/of map geometry. T} .sp 1 T{ v.centroids T} T{ Adds missing centroids to closed boundaries. T} .sp 1 T{ v.class T} T{ Classifies attribute data, e.g. for thematic mapping T} .sp 1 T{ v.clean T} T{ Toolset for cleaning topology of vector map. T} .sp 1 T{ v.clip T} T{ Extracts features of input map which overlay features of clip map. T} .sp 1 T{ v.cluster T} T{ Performs cluster identification. T} .sp 1 T{ v.colors T} T{ Creates/modifies the color table associated with a vector map. T} .sp 1 T{ v.colors.out T} T{ Exports the color table associated with a vector map. T} .sp 1 T{ v.db.addcolumn T} T{ Adds one or more columns to the attribute table connected to a given vector map. T} .sp 1 T{ v.db.addtable T} T{ Creates and connects a new attribute table to a given layer of an existing vector map. T} .sp 1 T{ v.db.connect T} T{ Prints/sets DB connection for a vector map to attribute table. T} .sp 1 T{ v.db.dropcolumn T} T{ Drops a column from the attribute table connected to a given vector map. T} .sp 1 T{ v.db.droprow T} T{ Removes a vector feature from a vector map through attribute selection. T} .sp 1 T{ v.db.droptable T} T{ Removes existing attribute table of a vector map. T} .sp 1 T{ v.db.join T} T{ Joins a database table to a vector map table. T} .sp 1 T{ v.db.reconnect.all T} T{ Reconnects attribute tables for all vector maps from the current mapset to a new database. T} .sp 1 T{ v.db.renamecolumn T} T{ Renames a column in the attribute table connected to a given vector map. T} .sp 1 T{ v.db.select T} T{ Prints vector map attributes. T} .sp 1 T{ v.db.univar T} T{ Calculates univariate statistics on selected table column for a GRASS vector map. T} .sp 1 T{ v.db.update T} T{ Updates a column in the attribute table connected to a vector map. T} .sp 1 T{ v.decimate T} T{ Decimates a point cloud T} .sp 1 T{ v.delaunay T} T{ Creates a Delaunay triangulation from an input vector map containing points or centroids. T} .sp 1 T{ v.dissolve T} T{ Dissolves boundaries between adjacent areas sharing a common category number or attribute. T} .sp 1 T{ v.distance T} T{ Finds the nearest element in vector map \(cqto\(cq for elements in vector map \(cqfrom\(cq. T} .sp 1 T{ v.drape T} T{ Converts 2D vector features to 3D by sampling of elevation raster map. T} .sp 1 T{ v.edit T} T{ Edits a vector map, allows adding, deleting and modifying selected vector features. T} .sp 1 T{ v.external T} T{ Creates a new pseudo\-vector map as a link to an OGR\-supported layer or a PostGIS feature table. T} .sp 1 T{ v.external.out T} T{ Defines vector output format. T} .sp 1 T{ v.extract T} T{ Selects vector features from an existing vector map and creates a new vector map containing only the selected features. T} .sp 1 T{ v.extrude T} T{ Extrudes flat vector features to 3D vector features with defined height. T} .sp 1 T{ v.generalize T} T{ Performs vector based generalization. T} .sp 1 T{ v.hull T} T{ Produces a 2D/3D convex hull for a given vector map. T} .sp 1 T{ v.import T} T{ Imports vector data into a GRASS vector map using OGR library and reprojects on the fly. T} .sp 1 T{ v.in.ascii T} T{ Creates a vector map from an ASCII points file or ASCII vector file. T} .sp 1 T{ v.in.db T} T{ Creates new vector (points) map from database table containing coordinates. T} .sp 1 T{ v.in.dxf T} T{ Converts file in DXF format to GRASS vector map. T} .sp 1 T{ v.in.e00 T} T{ Imports E00 file into a vector map. T} .sp 1 T{ v.in.geonames T} T{ Imports geonames.org country files into a vector points map. T} .sp 1 T{ v.in.lines T} T{ Imports ASCII x,y[,z] coordinates as a series of lines. T} .sp 1 T{ v.in.mapgen T} T{ Imports Mapgen or Matlab\-ASCII vector maps into GRASS. T} .sp 1 T{ v.in.ogr T} T{ Imports vector data into a GRASS vector map using OGR library. T} .sp 1 T{ v.in.pdal T} T{ Converts LAS LiDAR point clouds to a GRASS vector map with PDAL. T} .sp 1 T{ v.in.region T} T{ Creates a vector polygon from the current region extent. T} .sp 1 T{ v.in.wfs T} T{ Imports GetFeature from a WFS server. T} .sp 1 T{ v.info T} T{ Outputs basic information about a vector map. T} .sp 1 T{ v.kcv T} T{ Randomly partition points into test/train sets. T} .sp 1 T{ v.kernel T} T{ Generates a raster density map from vector points map. T} .sp 1 T{ v.label T} T{ Creates paint labels for a vector map from attached attributes. T} .sp 1 T{ v.label.sa T} T{ Create optimally placed labels for vector map(s) T} .sp 1 T{ v.lidar.correction T} T{ Corrects the v.lidar.growing output. It is the last of the three algorithms for LIDAR filtering. T} .sp 1 T{ v.lidar.edgedetection T} T{ Detects the object\(cqs edges from a LIDAR data set. T} .sp 1 T{ v.lidar.growing T} T{ Building contour determination and Region Growing algorithm for determining the building inside T} .sp 1 T{ v.lrs.create T} T{ Creates a linear reference system. T} .sp 1 T{ v.lrs.label T} T{ Creates stationing from input lines, and linear reference system. T} .sp 1 T{ v.lrs.segment T} T{ Creates points/segments from input lines, linear reference system and positions read from stdin or a file. T} .sp 1 T{ v.lrs.where T} T{ Finds line id and real km+offset for given points in vector map using linear reference system. T} .sp 1 T{ v.mkgrid T} T{ Creates a vector map of a user\-defined grid. T} .sp 1 T{ v.neighbors T} T{ Neighborhood analysis tool for vector point maps. T} .sp 1 T{ v.net.alloc T} T{ Allocates subnets for nearest centers. T} .sp 1 T{ v.net.allpairs T} T{ Computes the shortest path between all pairs of nodes in the network. T} .sp 1 T{ v.net.bridge T} T{ Computes bridges and articulation points in the network. T} .sp 1 T{ v.net.centrality T} T{ Computes degree, centrality, betweeness, closeness and eigenvector centrality measures in the network. T} .sp 1 T{ v.net.components T} T{ Computes strongly and weakly connected components in the network. T} .sp 1 T{ v.net.connectivity T} T{ Computes vertex connectivity between two sets of nodes in the network. T} .sp 1 T{ v.net.distance T} T{ Computes shortest distance via the network between the given sets of features. T} .sp 1 T{ v.net.flow T} T{ Computes the maximum flow between two sets of nodes in the network. T} .sp 1 T{ v.net T} T{ Performs network maintenance. T} .sp 1 T{ v.net.iso T} T{ Splits subnets for nearest centers by cost isolines. T} .sp 1 T{ v.net.path T} T{ Finds shortest path on vector network. T} .sp 1 T{ v.net.salesman T} T{ Creates a cycle connecting given nodes (Traveling salesman problem). T} .sp 1 T{ v.net.spanningtree T} T{ Computes minimum spanning tree for the network. T} .sp 1 T{ v.net.steiner T} T{ Creates Steiner tree for the network and given terminals. T} .sp 1 T{ v.net.timetable T} T{ Finds shortest path using timetables. T} .sp 1 T{ v.net.visibility T} T{ Performs visibility graph construction. T} .sp 1 T{ v.normal T} T{ Tests for normality for vector points. T} .sp 1 T{ v.out.ascii T} T{ Exports a vector map to a GRASS ASCII vector representation. T} .sp 1 T{ v.out.dxf T} T{ Exports vector map to DXF file format. T} .sp 1 T{ v.out.ogr T} T{ Exports a vector map layer to any of the supported OGR vector formats. T} .sp 1 T{ v.out.postgis T} T{ Exports a vector map layer to PostGIS feature table. T} .sp 1 T{ v.out.pov T} T{ Converts GRASS x,y,z points to POV\-Ray x,z,y format. T} .sp 1 T{ v.out.svg T} T{ Exports a vector map to SVG file. T} .sp 1 T{ v.out.vtk T} T{ Converts a vector map to VTK ASCII output. T} .sp 1 T{ v.outlier T} T{ Removes outliers from vector point data. T} .sp 1 T{ v.overlay T} T{ Overlays two vector maps offering clip, intersection, difference, symmetrical difference, union operators. T} .sp 1 T{ v.pack T} T{ Exports a vector map as GRASS GIS specific archive file T} .sp 1 T{ v.parallel T} T{ Creates parallel line to input vector lines. T} .sp 1 T{ v.patch T} T{ Creates a new vector map by combining other vector maps. T} .sp 1 T{ v.perturb T} T{ Random location perturbations of vector points. T} .sp 1 T{ v.profile T} T{ Vector map profiling tool T} .sp 1 T{ v.proj T} T{ Re\-projects a vector map from one location to the current location. T} .sp 1 T{ v.qcount T} T{ Indices for quadrat counts of vector point lists. T} .sp 1 T{ v.random T} T{ Generates random 2D/3D vector points. T} .sp 1 T{ v.rast.stats T} T{ Calculates univariate statistics from a raster map based on a vector map and uploads statistics to new attribute columns. T} .sp 1 T{ v.reclass T} T{ Changes vector category values for an existing vector map according to results of SQL queries or a value in attribute table column. T} .sp 1 T{ v.rectify T} T{ Rectifies a vector by computing a coordinate transformation for each object in the vector based on the control points. T} .sp 1 T{ v.report T} T{ Reports geometry statistics for vector maps. T} .sp 1 T{ v.sample T} T{ Samples a raster map at vector point locations. T} .sp 1 T{ v.segment T} T{ Creates points/segments from input vector lines and positions. T} .sp 1 T{ v.select T} T{ Selects features from vector map (A) by features from other vector map (B). T} .sp 1 T{ v.split T} T{ Splits vector lines to shorter segments. T} .sp 1 T{ v.support T} T{ Updates vector map metadata. T} .sp 1 T{ v.surf.bspline T} T{ Performs bicubic or bilinear spline interpolation with Tykhonov regularization. T} .sp 1 T{ v.surf.idw T} T{ Provides surface interpolation from vector point data by Inverse Distance Squared Weighting. T} .sp 1 T{ v.surf.rst T} T{ Performs surface interpolation from vector points map by splines. T} .sp 1 T{ v.timestamp T} T{ Modifies a timestamp for a vector map. T} .sp 1 T{ v.to.3d T} T{ Performs transformation of 2D vector features to 3D. T} .sp 1 T{ v.to.db T} T{ Populates attribute values from vector features. T} .sp 1 T{ v.to.lines T} T{ Converts vector polygons or points to lines. T} .sp 1 T{ v.to.points T} T{ Creates points along input lines in new vector map with 2 layers. T} .sp 1 T{ v.to.rast T} T{ Converts (rasterize) a vector map into a raster map. T} .sp 1 T{ v.to.rast3 T} T{ Converts a vector map (only points) into a 3D raster map. T} .sp 1 T{ v.transform T} T{ Performs an affine transformation (shift, scale and rotate) on vector map. T} .sp 1 T{ v.type T} T{ Changes type of vector features. T} .sp 1 T{ v.univar T} T{ Calculates univariate statistics of vector map features. T} .sp 1 T{ v.unpack T} T{ Imports a GRASS GIS specific vector archive file (packed with v.pack) as a vector map T} .sp 1 T{ v.vect.stats T} T{ Count points in areas, calculate statistics from point attributes. T} .sp 1 T{ v.vol.rst T} T{ Interpolates point data to a 3D raster map using regularized spline with tension (RST) algorithm. T} .sp 1 T{ v.voronoi T} T{ Creates a Voronoi diagram constrained to the extents of the current region from an input vector map containing points or centroids. T} .sp 1 T{ v.what T} T{ Queries a vector map at given locations. T} .sp 1 T{ v.what.rast T} T{ Uploads raster values at positions of vector points to the table. T} .sp 1 T{ v.what.rast3 T} T{ Uploads 3D raster values at positions of vector points to the table. T} .sp 1 T{ v.what.strds T} T{ Uploads space time raster dataset values at positions of vector points to the table. T} .sp 1 T{ v.what.vect T} T{ Uploads vector values at positions of vector points to the table. T} .sp 1 .TE .PP Main index | Topics index | Keywords index | Graphical index | Full index .PP © 2003\-2020 GRASS Development Team, GRASS GIS 7.8.5 Reference Manual