wxGUI.vdigit(1)
π wxGUI.vdigit β the wxGUI Vector Digitizer, bestie edition β¨
okay so welcome to wxGUI.vdigit(1), the GRASS GIS manual page that's about to change your whole digitizing life. grab a snack, open your mapset, and let's go π¦
πΈ DESCRIPTION πΈ
The vector digitizer is a wxGUI component, and its whole ~thing~ is interactive editing and digitizing of vector maps. (If you want the non-interactive GRASS flavor of vector editing, go look at v.edit, that's its moment π
)
Heads up, bestie: only vector maps that are stored or generated in the current mapset can be opened for editing. no exceptions, no cap.
The digitizer lets you edit 2D vector features β that's points, lines, centroids, boundaries, and areas. the full roster π
Vector features can be selected two ways:
- by mouse β bounding box, or just a plain old mouse click (the threshold lives in SettingsβGeneralβSelect threshold, iykyk)
- by query β like by line length, see SettingsβQuery Tool
π STARTING THE DIGITIZER π
There are like, so many doors into this thing, pick your fave:
- From the Map Display toolbar: pick "Digitize" from the Tools combobox.
- From the Digitizer toolbar: the "Select vector map" combobox β note that only vector maps from the current layer tree in Layer Manager show up there.
- From the Layer Manager contextual menu: right-click a selected vector map in the layer tree and pick "Start editing".
- Straight from the Layer Manager toolbar itself.
- As a stand-alone application from the command line:
g.gui.vdigitπ
π¦ CREATING A NEW VECTOR MAP π¦
Making a brand new vector map is lowkey the easiest thing ever. From the digitizer toolbar, just pick "New vector map" in the "Select vector map" combobox. boom:
- a new vector map is created β¨
- it's added to the current layer tree in Layer Manager β¨
- it's opened for editing β¨
and the "Select vector map" combobox in the digitizer toolbar also lets you switch between vector maps to edit, super smoothly. main character energy fr fr π
π EDITING AN EXISTING VECTOR MAP π
You select an existing vector map in the digitizer toolbar, in the "Select vector map" combobox. That map gets opened for editing and added to the current layer tree in the Layer Manager. And yeah, that same "Select vector map" combobox in the digitizer toolbar lets you easily hop between vector maps to be edited. effortless π«Ά
π USING A RASTER BACKGROUND MAP π
Wanna digitize on top of a raster map? literally just load the map into the Map Display using the Layer Manager, then start digitizing. see below for the details, babe.
β USING A VECTOR BACKGROUND MAP β
The vector digitizer lets you pick a "background" vector map. Loading it inside the digitizer is a different vibe from just loading it via Layer Manager, because then you can directly interact with single vector features. obsessed.
Vector features can be copied from the background map using the "Copy features from (background) vector map" tool, which lives in the "Additional tools" of the digitizer toolbar. And newly digitized vector features get snapped, within the given threshold, to the features from the background map. slay π
π DIGITIZER TOOLBAR π
- Digitize new point β Add new point to vector map and optionally define its attributes (
Ctrl+P). - Digitize new line β Add new line to vector map and optionally define its attributes (
Ctrl+L). - Digitize new boundary β Add new boundary to vector map and optionally define its attributes (
Ctrl+B). - Digitize new centroid β Add new centroid to vector map and optionally define its attributes (
Ctrl+C). - Digitize new area β Add new area (closed boundary and one centroid inside) to vector map and optionally define its attributes (
Ctrl+A). - Move vertex β Move selected vertex of linear feature. Thus shape of linear feature is changed (
Ctrl+G). - Add vertex β Add new vertex to selected linear feature (shape not changed) (
Ctrl+V). - Remove vertex β Remove selected vertex from linear feature (
Ctrl+X). Thus shape of selected feature can be changed. - Edit line/boundary β Edit selected linear feature, add new segments or remove existing segments of linear feature (
Ctrl+E). - Move feature(s) β Move selected vector features (
Ctrl+M.). Selection can be done by mouse or by query. - Delete feature(s) β Delete selected vector features (point, line, centroid, or boundary) (
Ctrl+D). Selection can be done by mouse or by query. - Delete areas(s) β Delete selected vector areas (
Ctrl+F). Selection can be done by mouse or by query. - Display/update categories β Display categories of selected vector feature (
Ctrl+J). Category settings can be modified, new layer/category pairs added or already defined pairs removed. - Display/update attributes β Display attributes of selected vector feature (based on its category settings) (
Ctrl+K). Attributes can be also modified. Same functionality is accessible from Main toolbar "Query vector map (editable mode)". - Additional tools
- Break selected lines/boundaries at intersection β Split given vector line or boundary into two lines on given position (based on
v.clean,tool=break). - Connect two selected lines/boundaries β Connect selected lines or boundaries, the first given line is connected to the second one. The second line is broken if necessary on each intersection. The lines are connected only if distance between them is not greater than snapping threshold value.
- Copy categories β Copy category settings of selected vector feature to other vector features. Layer/category pairs of source vector features are appended to the target feature category settings. Existing layer/category pairs are not removed from category settings of the target features.
- Copy features from (background) vector map β Make identical copy of selected vector features. If a background vector map has been selected from the Layer Manager, copy features from background vector map, not from the currently modified vector map.
- Copy attributes β Duplicate attributes settings of selected vector feature to other vector features. New category(ies) is appended to the target feature category settings and attributes duplicated based on category settings of source vector features. Existing layer/category pairs are not removed from category settings of the target features.
- Feature type conversion β Change feature type of selected geometry features. Points are converted to centroids, centroids to points, lines to boundaries and boundaries to lines.
- Flip selected lines/boundaries β Flip direction of selected linear features (lines or boundaries).
- Merge selected lines/boundaries β Merge (at least two) selected vector lines or boundaries. The geometry of the merged vector lines can be changed. If the second line from two selected lines is in opposite direction to the first, it will be flipped. See also module
v.build.polylines. - Snap selected lines/boundaries (only to nodes) β Snap vector features in given threshold. See also module
v.clean. Note that this tool supports only snapping to nodes. Snapping to vector features from background vector map is not currently supported. - Split line/boundary β Split selected line or boundary on given position.
- Query tool β Select vector features by defining a threshold for min/max length value (linear features or dangles).
- Z-bulk labeling of 3D lines β Assign z coordinate values to 3D vector lines in bounding box. This is useful for labeling contour lines.
- Break selected lines/boundaries at intersection β Split given vector line or boundary into two lines on given position (based on
- Undo β Undo previous operations (
Ctrl+Z). - Redo β Redo previous operations (
Ctrl+Y). - Settings β Digitizer settings (
Ctrl+T). - Show help β Show help page for the Digitizer (
Ctrl+H). - Quit digitizing tool β Changes in vector map can be optionally discarded when digitizing session is quited (
Ctrl+Q).
π NOTES π
Mouse button functions β memorize these, bestie:
- Left β select or deselect features
- Control+Left β cancel action or undo vertex when digitizing lines
- Right β confirm action
Dead (deleted) features are only marked as 'dead' in the geometry file but remain there and occupy space. Any vector module used afterwards on this vector map which really reads and writes vector geometry (so not g.copy) will write only features which are 'alive'. π the drama of it all
Added or modified vector features are snapped to existing vector features (SettingsβGeneralβSnapping). To disable snapping, set the snapping threshold to '0'.
If the digitizer crashes for some reason, the changes are automatically saved. Broken topology can be repaired by running v.build. π©Ή
GRASS GIS uses a topological vector format, meaning that a common boundary of two polygons is only stored once. When digitizing polygons it is thus important to be able to only draw each boundary once. When drawing a polygon adjacent to an existing polygon, one has to first split the existing boundary at the points where the new boundary will be attached. Snapping should be set to ensure that the new boundaries are automatically attached to the chosen points. it's giving precision, it's giving care, it's giving topological queen π
π§ REFERENCES π§
- GRASS Vedit Library
- Vector Database Management (Wiki page)
π SEE ALSO π
wxGUI, wxGUI components
v.edit, v.category, v.build, g.gui.rdigit, wxGUI.rdigit
See also the WxGUI Vector Digitizer Wiki page including video tutorials.
π AUTHOR π
Martin Landa, FBK-irst (2007-2008), Trento, Italy, and Czech Technical University in Prague, Czech Republic
π SOURCE CODE π
Available at: wxGUI Vector Digitizer source code (history)
Accessed: Saturday Jan 17 05:42:35 2026
Main index | GUI index | Topics index | Keywords index | Graphical index | Full index
and that's the whole page, bestie π this was the wxGUI.vdigit(1) manual, pulled from GRASS GIS 8.4.2 β Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual, and yes it says GRASS 8.4.2 at the bottom too. go digitize something iconic. periodt πβ¨
π¦ 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