v.in.region(1)
π v.in.region π
okay bestie, welcome to the GRASS GIS User's Manual page for v.in.region β she's a lil vector queen and she's about to make your life so much easier π
β¨ NAME β¨
v.in.region β Creates a vector polygon from the current region extent. that's it. that's the whole vibe. a polygon, from your region. slay π
πΈ KEYWORDS πΈ
vector, geometry
π¦ SYNOPSIS π¦
v.in.region
v.in.region --help
v.in.region [-d] output=name [type=string] [cat=integer]
[--overwrite] [--help] [--verbose] [--quiet] [--ui]
π Flags
-dβ Densify lines using region resolution. lowkey important, more on that in a sec π--overwriteβ Allow output files to overwrite existing files. yes queen, go ahead and replace that old map, no shame--helpβ Print usage summary--verboseβ Verbose module output. she will tell you EVERYTHING--quietβ Quiet module output. she will tell you nothing. mysterious.--uiβ Force launching GUI dialog
π Parameters
output=name[required] β Name for output vector maptype=stringβ Select type: line or area- Options:
line,area - Default:
area
- Options:
cat=integerβ Category value- Default:
1
- Default:
π DESCRIPTION π
v.in.region creates a new vector map from current region extent. fr fr, that's the whole thing β it looks at wherever your computational region is chillin' right now and goes "okay bestie, imma turn that rectangle into a vector map" π
If the output of v.in.region is to be used for raster reprojection, the -d flag should be used after setting the region to the raster map to be reprojected with r.proj. don't skip that step, it's giving necessary π
π EXAMPLE π
The example is based on the North Carolina sample data. To create a bounding box vector map based on a raster map, the computational region is first set to the raster map. Then a vector bounding box is created based on the actual computational region (in this case precisely reflecting the pixel geometry of the raster map), resulting in a new vector polygon:
g.region raster=soils_Kfactor -p
v.in.region output=soils_Kfactor_bbox
v.info map=soils_Kfactor_bbox
look at her go. bbox queen. bbox icon. no cap β¨
π₯ SEE ALSO π₯
g.region, r.proj, v.info
π AUTHOR π
Radim Blazek β the actual legend who wrote this. we stan π«Ά
π§ SOURCE CODE π§
Available at: v.in.region source code (history)
Accessed: Saturday Jan 17 05:41:22 2026
Main index | Vector index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual
periodt. that's the whole page. go make your polygons, bestie π
okay so that's a wrap on the v.in.region manual page, coming to you straight from GRASS 8.4.2 β take care of her, she's iconic β
π¦ where this page comes from
- fedora 44: grass 8.4.2-4.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms