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