g.gui.vdigit(1grass)
π g.gui.vdigit π
okay bestie, welcome to the manual page for g.gui.vdigit β she's a GRASS User's Manual girlie and she's about to make vector editing feel like a group chat. let's go π«Ά
β¨ NAME β¨
g.gui.vdigit β interactive editing and digitization of vector maps. that's it, that's the whole vibe. click things, draw things, edit things, slay. π
π KEYWORDS π
general, GUI, vector, editing, digitizer
π SYNOPSIS π
g.gui.vdigit
g.gui.vdigit --help
g.gui.vdigit [-c] map=name [--help] [--verbose] [--quiet] [--ui]
πΈ Flags:
-cβ create new vector map if it doesn't exist. no map? no problem, we make one.--helpβ print usage summary. your lil cheat sheet.--verboseβ verbose module output. she will not stop talking and honestly? iconic.--quietβ quiet module output. shhh era.--uiβ force launching GUI dialog. drag her onto the screen, periodt.
π¦ Parameters:
map=name[required] β name of vector map to edit. or a data source for direct OGR access. yep, that's required, don't come in empty-handed.
π DESCRIPTION π
the vector digitizer is a wxGUI component built for interactive editing and digitizing of vector maps. (if you want the non-interactive version, that's v.edit β GRASS has non-interactive vector editing capabilities too, and yes she ate.)
lowkey important: only vector maps stored or generated in the current mapset can be opened for editing. so if you're wondering why a map is giving nothing, that's why. π
the digitizer lets you edit 2D vector features: points, lines, centroids, boundaries, and areas. the whole squad. π
vector features can be selected by mouse β either a bounding box or simply by mouse click, see select threshold in SettingsβGeneralβSelect threshold β or by query, eg. by line length, see SettingsβQuery Tool. two ways to pick your faves, choose your fighter. β¨
π STARTING THE DIGITIZER π
the vector digitizer can be launched from the Map Display toolbar by selecting "Digitize" from the Tools combobox. the vector map is selectable for editing from the Digitizer toolbar ("Select vector map" combobox β heads up, only vector maps from the current layer tree in Layer Manager are listed, no randoms allowed). π
she can alternatively be activated from the contextual menu in the Layer Manager by selecting "Start editing" on a selected vector map in the layer tree, or directly from the Layer Manager toolbar.
and ngl? the vector digitizer can also also be launched from the command line as a stand-alone application: g.gui.vdigit. main character energy in every context. π
π CREATING A NEW VECTOR MAP π
a new vector map can be easily created from the digitizer toolbar by selecting "New vector map" in the "Select vector map" combobox. a new vector map is created, added to the current layer tree in Layer Manager, and opened for editing. π
the "Select vector map" combobox in the digitizer toolbar also allows easily switching between vector maps to be edited. hop between them like it's nothing fr fr.
π§ EDITING AN EXISTING VECTOR MAP π§
an existing vector map is selected in the digitizer toolbar in the "Select vector map" combobox. this map is then opened for editing and added to the current layer tree in the Layer Manager.
this "Select vector map" combobox in the digitizer toolbar also allows to easily switch between vector maps to be edited. yes we said that twice, because it's that girl. π
πΌοΈ USING A RASTER BACKGROUND MAP πΌοΈ
in order to digitize from a raster map, simply load the map into the Map Display using the Layer Manager. then start digitizing, see below for details. load, digitize, devour. π
π USING A VECTOR BACKGROUND MAP π
the vector digitizer allows you to select a "background" vector map. loading it within the digitizer is different from simply loading it via Layer Manager, since direct interaction with single vector features then becomes possible. π
vector features may be copied from the background map by "Copy features from (background) vector map" tool from the "Additional tools" of the digitizer toolbar. newly digitized vector features are snapped in the given threshold to the features from the background map. lowkey magic.
π DIGITIZER TOOLBAR π
β¨ the main tools β¨
- 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 β see the little list below bestie β¬οΈ
π οΈ 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. glow-up or glow-down, you decide. β¨
- 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 β sorry bestie, that one's not available yet. π - 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.
π« and the rest π«
- 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:
- 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 dead ones are just... lurking. π
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. she fell but she got back up. π«Ά
GRASS 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. no cap, this one matters. πΈ
π 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. educational content, we love to see it. π
π 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: Tuesday Sep 08 11:56:22 2026
Main index | GUI index | Topics index | Keywords index | Graphical index | Full index
and that's the whole page bestie!! this was g.gui.vdigit(1grass) from the GRASS 8.5.0 Reference Manual, and it's Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual. π thanks for reading, go digitize something iconic, and remember: snapping threshold '0' is for the brave. periodt. β¨ππ¦
π¦ where this page comes from
- ubuntu stonking: grass-doc 8.5.0-1ubuntu1 Β· 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