123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282 |
- <!-- meta page description: wxGUI Vector Digitizer -->
- <!-- meta page index: topic_gui|GUI -->
- <h2>DESCRIPTION</h2>
- <b>Vector digitizer</b> is a <em><a href="wxGUI.html">wxGUI</a></em>
- component intended for interactive editing and digitizing vector maps
- (see <em><a href="v.edit.html">v.edit</a></em> for non-interactive
- vector editing GRASS capabilities).
- <p>
- Note that only vector maps from the current mapset is possible to open
- for editing.
- <p>
- 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 <i>Settings→General→Select threshold</i>), or by query
- (eg. by line length, see <i>Settings→Query Tool</i>).
- <p>
- Vector digitizer can be launched from Map Display toolbar by selecting
- "Digitize" from <i>Tools</i> 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 <img src="icons/edit.png" alt="icon">.
- Vector digitizer also can be launched from the command line as
- stand-alone application <em>g.gui.vdigit</em>.
- <p>
- 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.
- <p>
- The vector digitizer allows you to define a "background" vector map.
- A background map can be selected from the map layer contextual menu, in
- <em>Layer Manager</em> ("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.
- <h3>DIGITIZER TOOLBAR</h3>
- <center>
- <br>
- <img src="vdigit_toolbar.jpg" border="1" alt="Vector Digitizer Toolbar">
- <br><br>
- </center>
- <dl>
- <dt><img src="icons/point-create.png" alt="icon">
- <em>Digitize new point</em></dt>
- <dd>Add new point to vector map and optionally define its
- attributes.</dd>
-
- <dt><img src="icons/line-create.png" alt="icon">
- <em>Digitize new line</em></dt>
- <dd>Add new line to vector map and optionally define its
- attributes.</dd>
- <dt><img src="icons/boundary-create.png" alt="icon">
- <em>Digitize new boundary</em></dt>
- <dd>Add new boundary to vector map and optionally define its
- attributes.</dd>
-
- <dt><img src="icons/centroid-create.png" alt="icon">
- <em>Digitize new centroid</em></dt>
- <dd>Add new centroid to vector map and optionally define its
- attributes.</dd>
- <dt><img src="icons/polygon-create.png" alt="icon">
- <em>Digitize new area</em></dt>
- <dd>Add new area (closed boundary and one centroid inside) to vector
- map and optionally define its attributes.</dd>
-
- <dt><img src="icons/vertex-move.png" alt="icon">
- <em>Move vertex</em></dt>
- <dd>Move selected vertex of linear feature. Thus shape of linear
- feature is changed.</dd>
- <dt><img src="icons/vertex-create.png" alt="icon">
- <em>Add vertex</em></dt>
- <dd>Add new vertex to selected linear feature (shape not
- changed).</dd>
- <dt><img src="icons/vertex-delete.png" alt="icon">
- <em>Remove vertex</em></dt>
- <dd>Remove selected vertex from linear feature. Thus shape of selected
- feature can be changed.</dd>
-
- <dt><img src="icons/line-edit.png" alt="icon">
- <em>Edit line/boundary</em></dt>
- <dd>Edit selected linear feature, add new segments or remove
- existing segments of linear feature.</dd>
- <dt><img src="icons/line-move.png" alt="icon">
- <em>Move feature(s)</em></dt>
- <dd>Move selected vector features. Selection can be done by mouse or
- by query.</dd>
- <dt><img src="icons/line-delete.png" alt="icon">
- <em>Delete feature(s)</em></dt>
- <dd>Delete selected vector features (point, line, centroid, or
- boundary). Selection can be done by mouse or by query.</dd>
- <dt><img src="icons/polygon-delete.png" alt="icon">
- <em>Delete areas(s)</em></dt>
- <dd>Delete selected vector areas. Selection can be done by mouse
- or by query.</dd>
- <dt><img src="icons/cats-display.png" alt="icon">
- <em>Display/update categories</em></dt>
- <dd>Display categories of selected vector feature. Category settings
- can be modified, new layer/category pairs added or already defined pairs
- removed.</dd>
- <dt><img src="icons/attributes-display.png" alt="icon">
- <em>Display/update attributes</em></dt>
- <dd>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)".</dd>
- <dt><img src="icons/tools.png" alt="icon">
- <em>Additional tools</em></dt>
- <dd>
- <ul>
- <li><em>Break selected lines/boundaries at intersection</em><br> Split
- given vector line or boundary into two lines on given position
- (based on <em><a href="v.clean.html">v.clean</a></em>,
- <tt>tool=break</tt>).</li>
- <li><em>Connect two selected lines/boundaries</em><br> 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.</li>
- <li><em>Copy categories</em><br>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.</li>
- <li><em>Copy features from (background) map</em><br> 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.</li>
- <li><em>Copy attributes</em><br>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.</li>
- <li><em>Feature type conversion</em><br> Change feature type of selected
- geometry features. Points are converted to centroids,
- centroids to points, lines to boundaries and boundaries to
- lines.</li>
- <li><em>Flip selected lines/boundaries</em><br> Flip direction of
- selected linear features (lines or boundaries).</li>
- <li><em>Merge selected lines/boundaries</em><br> 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 <em><a href="v.build.polylines.html">v.build.polylines</a></em>.</li>
- <li><em>Snap selected lines/boundaries (only to nodes)</em><br> Snap
- vector features in given threshold. See also
- module <em><a href="v.clean.html">v.clean</a></em>. Note that
- this tool supports only snapping to nodes. Snapping to vector
- features from background vector map is not currently
- supported.</li>
- <li><em>Split line/boundary</em><br>Split selected line or boundary on
- given position.</li>
- <li><em>Query tool</em><br>Select vector features by defining a threshold for
- min/max length value (linear features or dangles).</li>
- <li><em>Z-bulk labeling of 3D lines</em><br> Assign z coordinate values to 3D
- vector lines in bounding box. This is useful for labeling contour lines.</li>
- </ul>
- </dd>
- <dt><img src="icons/undo.png" alt="icon">
- <em>Undo</em></dt>
- <dd>Undo previous operations.</dd>
- <dt><img src="icons/redo.png" alt="icon">
- <em>Redo</em></dt>
- <dd>Redo previous operations.</dd>
- <dt><img src="icons/settings.png" alt="icon">
- <em>Settings</em></dt>
- <dd>Digitizer settings.</dd>
- <dt><img src="icons/quit.png" alt="icon">
- <em>Quit digitizing tool</em></dt>
- <dd>Changes in vector map can be optionally discarded when
- digitizing session is quited.</dd>
- </dl>
- <h2>NOTES</h2>
- <dl><dt><b>Mouse button functions:</b><dd>
- <dt><i>Left</i> - select or deselect features</dt>
- <dt><i>Control+Left</i> - cancel action or undo vertex when digitizing lines</dt>
- <dt><i>Right</i> - confirm action</dt>
- </dl>
- <p>
- <i>Dead (deleted)</i> 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 <em><a href="g.copy.html">g.copy</a></em>)
- will writes only features which are 'alive'.
- <p>
- <i>Added or modified</i> vector features are <i>snapped</i> to
- existing vector features (Settings→General→Snapping). To
- disable snapping set the snapping threshold to '0'.
- <p>
- If the digitizer crashes for some reason, the changes are
- automatically saved. Broken topology can be repaired by running
- <em><a href="v.build.html">v.build</a></em>.
- <h2>REFERENCE</h2>
- <ul>
- <li><a href="http://grass.osgeo.org/programming7/veditlib.html">GRASS Vedit Library</a></li>
- </ul>
- <h2>SEE ALSO</h2>
- <em>
- <a href="wxGUI.html">wxGUI</a><br>
- <a href="wxGUI.components.html">wxGUI components</a>
- </em>
- <p>
- <em>
- <a href="v.edit.html">v.edit</a>,
- <a href="v.category.html">v.category</a>,
- <a href="v.build.html">v.build</a>
- </em>
- <p>
- See also
- the <a href="http://grasswiki.osgeo.org/wiki/WxGUI_Vector_Digitizer">wiki
- page</a>
- including <a href="http://grasswiki.osgeo.org/wiki/WxGUI_Vector_Digitizer#Vector_tutorials">video
- tutorials</a>.
- <h2>AUTHOR</h2>
- Martin Landa, FBK-irst (2007-2008), Trento, Italy, and Czech Technical
- University in Prague, Czech Republic
- <p>
- <i>$Date$</i>
|