1v.report(1) GRASS GIS User's Manual v.report(1)
2
3
4
6 v.report - Reports geometry statistics for vector maps.
7
9 vector, geometry, statistics
10
12 v.report
13 v.report --help
14 v.report [-cd] map=name [layer=string] option=string [units=string]
15 [sort=string] [separator=character] [--help] [--verbose]
16 [--quiet] [--ui]
17
18 Flags:
19 -c
20 Do not include column names in output
21
22 -d
23 Report for geometries with no database records
24
25 --help
26 Print usage summary
27
28 --verbose
29 Verbose module output
30
31 --quiet
32 Quiet module output
33
34 --ui
35 Force launching GUI dialog
36
37 Parameters:
38 map=name [required]
39 Name of vector map
40 Or data source for direct OGR access
41
42 layer=string
43 Layer number or name
44 Vector features can have category values in different layers. This
45 number determines which layer to use. When used with direct OGR ac‐
46 cess this is the layer name.
47 Default: 1
48
49 option=string [required]
50 Value to calculate
51 Options: area, length, coor
52
53 units=string
54 Units
55 Options: miles, feet, meters, kilometers, acres, hectares, percent
56
57 sort=string
58 Sort the result
59 Options: asc, desc
60 asc: Sort in ascending order
61 desc: Sort in descending order
62
63 separator=character
64 Field separator
65 Special characters: pipe, comma, space, tab, newline
66 Default: pipe
67
69 v.report generates a table showing the area present in each of the cat‐
70 egories of a user-selected data layer.
71
72 Area is given in hectares, square meters, and square kilometers. If
73 the units option is used, area is given in acres, square feet, and
74 square miles.
75
76 Feet and acre units are always reported in their common versions (i.e.
77 the International Foot, exactly 5280 feet in a mile), even when the lo‐
78 cation’s standard map unit is the US Survey foot.
79
80 v.report works on the full map data; therefore, the current region is
81 ignored. If you wish to spatially limit the statistics, a map subset
82 must be created with v.in.region and v.overlay, and then run v.report
83 on the new map.
84
86 North Carolina sample dataset:
87 v.report zipcodes_wake option=area units=hectares
88 In the output, there is an extra column added containing the results.
89
91 v.in.region, v.to.db, v.overlay
92
94 Markus Neteler, GDF Hannover
95
97 Available at: v.report source code (history)
98
99 Accessed: Saturday Oct 28 18:19:21 2023
100
101 Main index | Vector index | Topics index | Keywords index | Graphical
102 index | Full index
103
104 © 2003-2023 GRASS Development Team, GRASS GIS 8.3.1 Reference Manual
105
106
107
108GRASS 8.3.1 v.report(1)