v.info(1)
π v.info(1) β GRASS GIS User's Manual π
okay bestie, pull up a chair π because we're about to meet v.info from the GRASS GIS crew β the lil' icon that just tells you stuff about your vector map. no drama, no edits, just receipts. β¨
πΈ NAME πΈ
v.info β outputs basic information about a vector map.
π¦ KEYWORDS π¦
vector, metadata, topology, extent, history, attribute columns, level1
β¨ SYNOPSIS β¨
v.info
v.info --help
v.info [-hcget] map=name [layer=string] [--help] [--verbose]
[--quiet] [--ui]
π Flags:
-hβ print history instead of info and exit-cβ print types/names of table columns for specified layer instead of info and exit-gβ print region info in shell script style-eβ print extended metadata info in shell script style-tβ print topology info in shell script style--helpβ print usage summary--verboseβ verbose module output--quietβ quiet module output--uiβ force launching GUI dialog
π Parameters:
map=name[required] β name of vector map. or, like, a data source for direct OGR access πlayer=stringβ layer number or name. here's the tea: vector features can have category values in different layers, and this number decides which layer we're looking at. when you're using direct OGR access, this is the layer name instead. Default:1
π DESCRIPTION π
so v.info reports some basic info (metadata, bestie, the β¨vibe checkβ¨ of your map) about a vector map you specify, plus its topology status.
if topology info isn't available β meaning the vector map can't be opened on level 2 β then the vector map extends and the number of features have to be counted on the fly, which may take some time. π lowkey painful but we survive.
heads up: the flag-conly works when the vector map is connected to one or several attribute table(s). that connection can be shown or set withv.db.connect.
π₯ EXAMPLE π₯
β Basic metadata information
v.info map=geology
+----------------------------------------------------------------------------+
| Name: geology |
| Mapset: PERMANENT |
| Project: nc_spm_08 |
| Database: /home/martin/grassdata |
| Title: North Carolina geology map (polygon map) |
| Map scale: 1:1 |
| Map format: native |
| Name of creator: helena |
| Organization: NC OneMap |
| Source date: Mon Nov 6 15:48:53 2006 |
|----------------------------------------------------------------------------|
| Type of map: vector (level: 2) |
| |
| Number of points: 0 Number of centroids: 1832 |
| Number of lines: 0 Number of boundaries: 3649 |
| Number of areas: 1832 Number of islands: 907 |
| |
| Map is 3D: No |
| Number of dblinks: 1 |
| |
| Projection: Lambert Conformal Conic |
| |
| N: 318117.43741634 S: 10875.82723209 |
| E: 930172.31282271 W: 123971.19498978 |
| |
| Digitization threshold: 0 |
| Comment: |
| |
+----------------------------------------------------------------------------+
look at her. a whole box of facts. π
π§ Map history
v.info -h map=geology
COMMAND: v.in.ogr input="geol.shp" output="geology" min_area=0.0001 snap=-1
GISDBASE: /bigdata/grassdata05
LOCATION: ncfromfile MAPSET: PERMANENT USER: helena DATE: Mon Nov 6 15:48:53 2006
---------------------------------------------------------------------------------
1832 input polygons
total area: 1.276093e+11 (1832 areas)
overlapping area: 0.000000e+00 (0 areas)
area without category: 0.000000e+00 (0 areas)
---------------------------------------------------------------------------------
psst β note that while "project" is used byv.infoelsewhere, the history output uses the legacy term "location", becauseLOCATIONis currently a part of the native vector format. iykyk π«Ά
πΈ Attribute columns for given layer
v.info -c map=geology
Displaying column types/names for database connection of layer <1>:
INTEGER|cat
DOUBLE PRECISION|onemap_pro
DOUBLE PRECISION|PERIMETER
INTEGER|GEOL250_
INTEGER|GEOL250_ID
CHARACTER|GEO_NAME
DOUBLE PRECISION|SHAPE_area
DOUBLE PRECISION|SHAPE_len
π Basic metadata information in shell script style
v.info -get map=geology
name=geology
mapset=PERMANENT
project=nc_spm_08
database=/home/martin/grassdata
title=North Carolina geology map (polygon map)
scale=1:1
format=native
creator=helena
organization=NC OneMap
source_date=Mon Nov 6 15:48:53 2006
level=2
map3d=0
num_dblinks=1
projection=Lambert Conformal Conic
digitization_threshold=0.000000
comment=
north=318117.43741634
south=10875.82723209
east=930172.31282271
west=123971.19498978
top=0.000000
bottom=0.000000
nodes=4556
points=0
lines=0
boundaries=3649
centroids=1832
areas=1832
islands=907
primitives=5481
v.info -g map=geology
north=318117.43741634
south=10875.82723209
east=930172.31282271
west=123971.19498978
top=0.000000
bottom=0.000000
π PYTHON π
check the Python Scripting Library for more info, bestie.
Note: the Python tab in the wxGUI can be used for entering the following code:
import grass.script as gcore
gcore.vector_columns(βgeologyβ) # for `v.info -c`
gcore.vector_info_topo(βgeologyβ) # for `v.info shell=topo`
π SEE ALSO π
r.info, r3.info, t.info, v.db.connect
π AUTHORS π
- Original author CERL
- Updated to GRASS 6 by Radim Blazek, ITC-Irst, Trento, Italy
- Level 1 support by Markus Metz
- Updated to GRASS 7 by Martin Landa, CTU in Prague, Czech Republic
π SOURCE CODE π
Available at: v.info source code (history)
Accessed: Saturday Jan 17 05:41:21 2026
Main index | Vector index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual
and that's the whole page, babe π«Ά this was GRASS 8.4.2, and the manual got accessed on Saturday Jan 17 05:41:21 2026 β go forth and v.info your little heart out. periodt. π
β¨
π¦ where this page comes from
- fedora 44: grass 8.4.2-4.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms