1v.info(1)                   GRASS GIS User's Manual                  v.info(1)
2
3
4

NAME

6       v.info  - Outputs basic information about a vector map.
7

KEYWORDS

9       vector, metadata, topology, extent, history, attribute columns, level1
10

SYNOPSIS

12       v.info
13       v.info --help
14       v.info   [-hcget]   map=name   [layer=string]    [--help]   [--verbose]
15       [--quiet]  [--ui]
16
17   Flags:
18       -h
19           Print history instead of info and exit
20
21       -c
22           Print types/names of table columns for specified layer  instead  of
23           info and exit
24
25       -g
26           Print region info in shell script style
27
28       -e
29           Print extended metadata info in shell script style
30
31       -t
32           Print topology info in shell script style
33
34       --help
35           Print usage summary
36
37       --verbose
38           Verbose module output
39
40       --quiet
41           Quiet module output
42
43       --ui
44           Force launching GUI dialog
45
46   Parameters:
47       map=name [required]
48           Name of vector map
49           Or data source for direct OGR access
50
51       layer=string
52           Layer number or name
53           Vector  features can have category values in different layers. This
54           number determines which layer to use. When  used  with  direct  OGR
55           access this is the layer name.
56           Default: 1
57

DESCRIPTION

59       v.info reports some basic information (metadata) about a user-specified
60       vector map and its topology status.
61
62       If topology info is not available (i.e., vector map cannot be opened on
63       level  2), vector map extends and number of features need to be counted
64       on the fly which may take some time.
65
66       Note that the flag -c only works when the vector map  is  connected  to
67       one  or several attribute table(s). This connection can be shown or set
68       with v.db.connect.
69

EXAMPLE

71   Basic metadata information
72       v.info map=geology
73        +----------------------------------------------------------------------------+
74        | Name:            geology                                                   |
75        | Mapset:          PERMANENT                                                 |
76        | Location:        nc_spm_08                                                 |
77        | Database:        /home/martin/grassdata                                    |
78        | Title:           North Carolina geology map (polygon map)                  |
79        | Map scale:       1:1                                                       |
80        | Map format:      native                                                    |
81        | Name of creator: helena                                                    |
82        | Organization:    NC OneMap                                                 |
83        | Source date:     Mon Nov  6 15:48:53 2006                                  |
84        |----------------------------------------------------------------------------|
85        |   Type of map: vector (level: 2)                                           |
86        |                                                                            |
87        |   Number of points:       0               Number of centroids:  1832       |
88        |   Number of lines:        0               Number of boundaries: 3649       |
89        |   Number of areas:        1832            Number of islands:    907        |
90        |                                                                            |
91        |   Map is 3D:              No                                               |
92        |   Number of dblinks:      1                                                |
93        |                                                                            |
94        |   Projection: Lambert Conformal Conic                                      |
95        |                                                                            |
96        |               N:   318117.43741634    S:    10875.82723209                 |
97        |               E:   930172.31282271    W:   123971.19498978                 |
98        |                                                                            |
99        |   Digitization threshold: 0                                                |
100        |   Comment:                                                                 |
101        |                                                                            |
102        +----------------------------------------------------------------------------+
103
104   Map history
105       v.info -h map=geology
106       COMMAND: v.in.ogr input="geol.shp" output="geology" min_area=0.0001 snap=-1
107       GISDBASE: /bigdata/grassdata05
108       LOCATION: ncfromfile MAPSET: PERMANENT USER: helena DATE: Mon Nov  6 15:48:53 2006
109       ---------------------------------------------------------------------------------
110       1832 input polygons
111       total area: 1.276093e+11 (1832 areas)
112       overlapping area: 0.000000e+00 (0 areas)
113       area without category: 0.000000e+00 (0 areas)
114       ---------------------------------------------------------------------------------
115
116   Attribute columns for given layer
117       v.info -c map=geology
118       Displaying column types/names for database connection of layer <1>:
119       INTEGER|cat
120       DOUBLE PRECISION|onemap_pro
121       DOUBLE PRECISION|PERIMETER
122       INTEGER|GEOL250_
123       INTEGER|GEOL250_ID
124       CHARACTER|GEO_NAME
125       DOUBLE PRECISION|SHAPE_area
126       DOUBLE PRECISION|SHAPE_len
127
128   Basic metadata information in shell script style
129       v.info -get map=geology
130       name=geology
131       mapset=PERMANENT
132       location=nc_spm_08
133       database=/home/martin/grassdata
134       title=North Carolina geology map (polygon map)
135       scale=1:1
136       format=native
137       creator=helena
138       organization=NC OneMap
139       source_date=Mon Nov  6 15:48:53 2006
140       level=2
141       map3d=0
142       num_dblinks=1
143       projection=Lambert Conformal Conic
144       digitization_threshold=0.000000
145       comment=
146       north=318117.43741634
147       south=10875.82723209
148       east=930172.31282271
149       west=123971.19498978
150       top=0.000000
151       bottom=0.000000
152       nodes=4556
153       points=0
154       lines=0
155       boundaries=3649
156       centroids=1832
157       areas=1832
158       islands=907
159       primitives=5481
160       v.info -g map=geology
161       north=318117.43741634
162       south=10875.82723209
163       east=930172.31282271
164       west=123971.19498978
165       top=0.000000
166       bottom=0.000000
167

PYTHON

169       See Python Scripting Library for more info.
170
171       Note: The Python tab in the wxGUI can be used for entering the  follow‐
172       ing code:
173
174       import grass.script as gcore
175       gcore.vector_columns(’geology’)   # for `v.info -c`
176       gcore.vector_info_topo(’geology’) # for `v.info shell=topo`
177

SEE ALSO

179        r.info, r3.info, t.info, v.db.connect
180

AUTHORS

182       Original author CERL
183       Updated to GRASS 6 by Radim Blazek, ITC-Irst, Trento, Italy
184       Level 1 support by Markus Metz
185       Updated to GRASS 7 by Martin Landa, CTU in Prague, Czech Republic
186

SOURCE CODE

188       Available at: v.info source code (history)
189
190       Main  index  | Vector index | Topics index | Keywords index | Graphical
191       index | Full index
192
193       © 2003-2020 GRASS Development Team, GRASS GIS 7.8.5 Reference Manual
194
195
196
197GRASS 7.8.5                                                          v.info(1)
Impressum