1v.info(1)                     Grass 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  open  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

EXAMPLE

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

PYTHON

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

SEE ALSO

175        r.info, r3.info, t.info
176

AUTHOR

178       Original author CERL
179       Updated to GRASS 6 by Radim Blazek, ITC-Irst, Trento, Italy
180       Level 1 support by Markus Metz
181       Updated to GRASS 7 by Martin Landa, CTU in Prague, Czech Republic
182
183       Last changed: $Date: 2018-08-31 17:01:15 +0200 (Fri, 31 Aug 2018) $
184

SOURCE CODE

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