123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257 |
- <h2>DESCRIPTION</h2>
- <b>Vector digitizing tool</b> is
- a <em><a href="wxGUI.html">wxGUI</a></em> component intended for
- interactive editing vector maps
- (see <em><a href="v.edit.html">v.edit</a></em> for non-interactive
- vector editing GRASS capabilities).
- <p>
- Currently, only 2D vector features (points, lines, centroids and
- boundaries) can be edited.
- Vector features can be selected using mouse or by query (e.g. minimal
- vector line length). Vector features can be selected by bounding box
- or simply by mouse click (based on 'Settings->General->Select
- threshold' value).
- <p>
- Vector digitizer can be activated from Main toolbar in Map Display by
- selecting "Digitize" from "Tools" combobox. Vector map to be edited
- can be afterwards selected from digitizer toolbar ("Select vector map"
- combobox, note that only vector maps from the current layer tree in Layer
- Manager are available).
- 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.
- <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 wxGUI vector digitizer draws all maps in the Layer Manager in the Map
- Display window; in addition, the digitizer also recognizes a special
- "background" vector map. This map is selected from the Layer Manager by
- right-clicking on the map and selecting "Use as Background Map" from the
- contextual menu. The features of the background map may then be copied into
- the currently edited vector map using the "Copy features from (background)
- vector map" button in the "Additional Tools" menu on the Digitzer Toolbar.
- <h3>DIGITIZER TOOLBAR</h3>
- <center>
- <br><img src="wxGUI_vector_digitizer_toolbar.jpg" border="1"><br><br>
- </center>
- <dl>
- <dt><img src="icons/grass2/point-create.png">
- <img src="icons/grass/vdigit/new.point.gif">
- <img src="icons/silk/bullet_add.png"> <em>Digitize new point</em></dt>
- <dd>Add new point to vector map and optionally define its
- attributes.</dd>
- <dt><img src="icons/grass2/line-create.png">
- <img src="icons/grass/vdigit/new.line.gif">
- <img src="icons/silk/vector_add.png"> <em>Digitize new line</em></dt>
- <dd>Add new line to vector map and optionally define its
- attributes.</dd>
- <dt><img src="icons/grass2/polygon-create.png">
- <img src="icons/grass/vdigit/new.boundary.gif">
- <img src="icons/silk/shape_handles.png"> <em>Digitize new boundary</em></dt>
- <dd>Add new boundary to vector map and optionally define its
- attributes.</dd>
- <dt><img src="icons/grass2/centroid-create.png">
- <img src="icons/grass/vdigit/new.centroid.gif">
- <img src="icons/silk/shape_square_add.png"> <em>Digitize new centroid</em></dt>
- <dd>Add new centroid to vector map and optionally define its
- attributes.</dd>
- <dt><img src="icons/grass2/vertex-move.png">
- <img src="icons/grass/vdigit/move.vertex.gif">
- <img src="icons/silk/chart_line.png"> <em>Move vertex</em></dt>
- <dd>Move selected vertex of linear feature. Thus shape of linear
- feature is changed.</dd>
- <dt><img src="icons/grass2/vertex-create.png">
- <img src="icons/grass/vdigit/add.vertex.gif">
- <img src="icons/silk/chart_line_add.png"> <em>Add vertex</em></dt>
- <dd>Add new vertex to selected linear feature (shape not
- changed).</dd>
- <dt><img src="icons/grass2/vertex-delete.png">
- <img src="icons/grass/vdigit/rm.vertex.gif">
- <img src="icons/silk/chart_line_delete.png"> <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/grass2/line-split.png">
- <img src="icons/grass/vdigit/split.line.gif">
- <img src="icons/silk/chart_line_link.png"> <em>Split line/boundary</em></dt>
- <dd>Split selected linear feature on given position to separate
- vector features.</dd>
- <dt><img src="icons/grass2/line-edit.png">
- <img src="icons/grass/vdigit/edit.line.gif">
- <img src="icons/silk/chart_line_edit.png"> <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/grass2/line-move.png">
- <img src="icons/grass/vdigit/move.line.gif">
- <img src="icons/silk/bullet_go.png"> <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/grass2/line-delete.png">
- <img src="icons/grass/vdigit/delete.line.gif">
- <img src="icons/silk/vector_delete.png"> <em>Delete feature(s)</em></dt>
- <dd>Delete selected vector features. Selection can be done by mouse
- or by query.</dd>
- <dt><img src="icons/grass2/cats-display.png">
- <img src="icons/grass/vdigit/display.cats.gif">
- <img src="icons/silk/chart_organisation.png"> <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/grass2/cats-copy.png">
- <img src="icons/grass/vdigit/copy.cats.gif">
- <img src="icons/silk/chart_organisation_add.png"> <em>Copy categories / Duplicate attributes</em></dt>
- <dd><ul>
- <li>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>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>
- </ul>
- </dd>
- <dt><img src="icons/grass2/attributes-display.png">
- <img src="icons/grass/vdigit/display.attributes.gif">
- <img src="icons/silk/table.png"> <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/grass2/tools.png">
-
- <img src="icons/silk/plugin.png"> <em>Additional tools</em></dt>
- <dd>
- <ul>
- <li>Copy features from (background) map<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>Flip selected lines/boundaries<br> Flip direction of
- selected linear features (lines or boundaries).</li>
- <li>Merge selected lines/boundaries<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>Break selected lines/boundaries at intersection<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>,
- tool=break).</li>
- <li>Snap selected lines/boundaries (only to nodes)<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>Connect two selected lines/boundaries<br> Connect selected
- lines or boundaries, the first given line is connected to the
- second one. The second line is broken if necessary. The lines
- are connected only if distance between them is not greater
- than snapping threshold value.</li>
- <li>Query tool<br>Select vector features by min/max length value
- (linear features or dangles).</li>
- <li>Z-bulk labeling of 3D lines<br> Assign z coordinate to 3D
- vector lines in bounding box.</li>
- <li>Feature type conversion<br> Change feature type of selected
- geometry features. Points are converted to centroids,
- centroids to points, lines to boundaries and boundaries to
- lines.</li>
- </ul>
- </dd>
- <dt><img src="icons/grass2/undo.png">
-
- <img src="icons/silk/arrow_undo.png"> <em>Undo</em></dt>
- <dd>Undo previous operations.</dd>
- <dt><img src="icons/grass2/settings.png">
- <img src="icons/grass/vdigit/settings.gif">
- <img src="icons/silk/color_swatch.png"> <em>Settings</em></dt>
- <dd>Dialog for vector digitizer settings.</dd>
- <dt><img src="icons/grass2/quit.png">
- <img src="icons/grass/gui-exit.gif">
- <img src="icons/silk/door_in.png"> <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/deselect features</dt>
- <dt><i>Middle</i> - cancel action</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', nodes or vertices)
- based on 'Settings->General->Snapping threshold' value. To
- disable snapping set the snapping threshold to '0'.
- <p>
- If the digitizer crashes for some reason you can repair the vector map
- which was left open with the <em>v.build</em> module.
- <p>
- <b>Please note that vector digitizer is under active development and
- distributed as "Experimental Prototype".</b>
- <h2>SEE ALSO</h2>
- <em>
- <a href="v.edit.html">v.edit</a>,
- <a href="v.category.html">v.category</a>
- </em>
- <p>
- See also <a href="http://grass.osgeo.org/wiki/WxPython-based_GUI_for_GRASS#Vector_digitizer">Wiki</a> page.
- <h2>AUTHORS</h2>
- Martin Landa, FBK-irst, Trento, Italy
- <p>
- <i>$Date$</i>
|