1v.in.region(1) GRASS GIS User's Manual v.in.region(1)
2
3
4
6 v.in.region - Creates a vector polygon from the current region extent.
7
9 vector, geometry
10
12 v.in.region
13 v.in.region --help
14 v.in.region [-d] output=name [type=string] [cat=integer] [--over‐
15 write] [--help] [--verbose] [--quiet] [--ui]
16
17 Flags:
18 -d
19 Densify lines using region resolution
20
21 --overwrite
22 Allow output files to overwrite existing files
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 output=name [required]
38 Name for output vector map
39
40 type=string
41 Select type: line or area
42 Options: line, area
43 Default: area
44
45 cat=integer
46 Category value
47 Default: 1
48
50 v.in.region creates a new vector map from current region extent.
51
52 If the output of v.in.region is to be used for raster reprojection, the
53 -d flag should be used after setting the region to the raster map to be
54 reprojected with r.proj.
55
57 The example is based on the North Carolina sample data location. To
58 create a bounding box vector map based on a raster map, the computa‐
59 tional region is first set to the raster map. Then a vector bounding
60 box is created based on the actual computational region (in this case
61 precisely reflecting the pixel geometry of the raster map), resulting
62 in a new vector polygon:
63 g.region raster=soils_Kfactor -p
64 v.in.region output=soils_Kfactor_bbox
65 v.info map=soils_Kfactor_bbox
66
68 g.region, r.proj, v.info
69
71 Radim Blazek
72
74 Available at: v.in.region source code (history)
75
76 Accessed: Saturday Jan 21 20:39:50 2023
77
78 Main index | Vector index | Topics index | Keywords index | Graphical
79 index | Full index
80
81 © 2003-2023 GRASS Development Team, GRASS GIS 8.2.1 Reference Manual
82
83
84
85GRASS 8.2.1 v.in.region(1)