DESCRIPTION

Vector digitizer is a wxGUI component intended for interactive editing and digitizing vector maps (see v.edit for non-interactive vector editing GRASS capabilities).

Note that only vector maps from the current mapset is possible to open for editing.

The digitizer allows editing 2D vector features only (points, lines, centroids, boundaries, and areas). Vector features can be selected by mouse (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).

Vector digitizer can be launched from Map Display toolbar by selecting "Digitize" from Tools combobox. Vector map is selectable for editing from Digitizer toolbar ("Select vector map" combobox, note that only vector maps from the current layer tree in Layer Manager are listed). Vector digitizer can be alternatively also activated from contextual menu in Layer Manager by selecting "Start editing" on selected vector map in the layer tree, or directly from Layer Manager toolbar icon. Vector digitizer also can be launched from the command line as stand-alone application g.gui.vdigit.

New vector map can be easily created from digitizer toolbar by selecting "New vector map" in "Select vector map" combobox. A new vector map is created, added to the current layer tree in Layer Manager and opened for editing. "Select vector map" combobox in digitizer toolbar also allows switching easily between vector maps to be edited.

The vector digitizer allows you to define a "background" vector map. A background map can be selected from the map layer contextual menu, in Layer Manager ("Use as Background Map"). Newly digitized vector features are snapped in the given threshold to the features from the background map. Vector features may be also copied from the background map by "Copy features from (background) vector map" tool from the digitizer toolbar.

DIGITIZER TOOLBAR


Vector Digitizer Toolbar

icon  Digitize new point
Add new point to vector map and optionally define its attributes.
icon  Digitize new line
Add new line to vector map and optionally define its attributes.
icon  Digitize new boundary
Add new boundary to vector map and optionally define its attributes.
icon  Digitize new centroid
Add new centroid to vector map and optionally define its attributes.
icon  Digitize new area
Add new area (closed boundary and one centroid inside) to vector map and optionally define its attributes.
icon  Move vertex
Move selected vertex of linear feature. Thus shape of linear feature is changed.
icon  Add vertex
Add new vertex to selected linear feature (shape not changed).
icon  Remove vertex
Remove selected vertex from linear feature. Thus shape of selected feature can be changed.
icon  Edit line/boundary
Edit selected linear feature, add new segments or remove existing segments of linear feature.
icon  Move feature(s)
Move selected vector features. Selection can be done by mouse or by query.
icon  Delete feature(s)
Delete selected vector features (point, line, centroid, or boundary). Selection can be done by mouse or by query.
icon  Delete areas(s)
Delete selected vector areas. Selection can be done by mouse or by query.
icon  Display/update categories
Display categories of selected vector feature. Category settings can be modified, new layer/category pairs added or already defined pairs removed.
icon  Display/update attributes
Display attributes of selected vector feature (based on its category settings). Attributes can be also modified. Same functionality is accessible from Main toolbar "Query vector map (editable mode)".
icon  Additional tools
icon  Undo
Undo previous operations.
icon  Redo
Redo previous operations.
icon  Settings
Digitizer settings.
icon  Quit digitizing tool
Changes in vector map can be optionally discarded when digitizing session is quited.

NOTES

Mouse button functions:
Left - select or deselect features
Control+Left - cancel action or undo vertex when digitizing lines
Right - confirm action

Dead (deleted) are internally only marked in the geometry file as 'dead' but it remains there and occupies space. Any vector module used afterwards on this vector map which really reads and writes vector geometry (so not g.copy) will writes only features which are 'alive'.

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.

REFERENCE

SEE ALSO

wxGUI
wxGUI components

v.edit, v.category, v.build

See also the wiki page including video tutorials.

AUTHOR

Martin Landa, FBK-irst (2007-2008), Trento, Italy, and Czech Technical University in Prague, Czech Republic

$Date$