wxGUI.Vector_Digitizing_Tool.html 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. <h2>DESCRIPTION</h2>
  2. <b>Vector digitizing tool</b> is
  3. a <em><a href="wxGUI.html">wxGUI</a></em> component intended for
  4. interactive editing vector maps
  5. (see <em><a href="v.edit.html">v.edit</a></em> for non-interactive
  6. vector editing GRASS capabilities).
  7. <p>
  8. Currently, only 2D vector features (points, lines, centroids and
  9. boundaries) can be edited.
  10. Vector features can be selected using mouse or by query (e.g. minimal
  11. vector line length). Vector features can be selected by bounding box
  12. or simply by mouse click (based on 'Settings->General->Select
  13. threshold' value).
  14. <p>
  15. Vector digitizer can be activated from Main toolbar in Map Display by
  16. selecting "Digitize" from "Tools" combobox. Vector map to be edited
  17. can be afterwards selected from digitizer toolbar ("Select vector map"
  18. combobox, note that only vector maps from the current layer tree in Layer
  19. Manager are available).
  20. Vector digitizer can be alternatively also activated from contextual
  21. menu in Layer Manager by selecting "Start editing" on selected vector
  22. map in the layer tree.
  23. <p>
  24. New vector map can be easily created from digitizer toolbar by
  25. selecting "New vector map" in "Select vector map" combobox. A new
  26. vector map is created, added to the current layer tree in Layer
  27. Manager and opened for editing. "Select vector map" combobox in
  28. digitizer toolbar also allows switching easily between vector maps to be
  29. edited.
  30. <h2>NOTES</h2>
  31. <i>Dead (deleted)</i> are internally only marked in the geometry file
  32. as 'dead' but it remains there and occupies space. Any vector module
  33. used afterwards on this vector map which really reads and writes
  34. vector geometry (so not <em><a href="g.copy.html">g.copy</a></em>)
  35. will writes only features which are 'alive'.
  36. <p>
  37. <i>Added or modified</i> vector features are <i>snapped</i> to
  38. existing vector features ('Settings->General->Snapping', nodes or vertices)
  39. based on 'Settings->General->Snapping threshold' value. To
  40. disable snapping set the snapping threshold to '0'.
  41. <h2>Digitizer toolbar</h2>
  42. <center>
  43. <br><img src="wxGUI_vector_digitizer_toolbar.jpg" border="1"><br><br>
  44. </center>
  45. <dl>
  46. <dt><img src="icons/silk/bullet_add.png">&nbsp;Digitize new point</dt>
  47. <dd>Add new point to vector map and optionally define its
  48. attributes.</dd>
  49. <dt><img src="icons/silk/vector_add.png">&nbsp;Digitize new line</dt>
  50. <dd>Add new line to vector map and optionally define its
  51. attributes.</dd>
  52. <dt><img src="icons/silk/shape_handles.png">&nbsp;Digitize new boundary</dt>
  53. <dd>Add new boundary to vector map and optionally define its
  54. attributes.</dd>
  55. <dt><img src="icons/silk/shape_square_add.png">&nbsp;Digitize new centroid</dt>
  56. <dd>Add new centroid to vector map and optionally define its
  57. attributes.</dd>
  58. <dt><img src="icons/silk/chart_line.png">&nbsp;Move vertex</dt>
  59. <dd>Move selected vertex of linear feature. Thus shape of linear
  60. feature is changed.</dd>
  61. <dt><img src="icons/silk/chart_line_add.png">&nbsp;Add vertex</dt>
  62. <dd>Add new vertex to selected linear feature (shape not
  63. changed).</dd>
  64. <dt><img src="icons/silk/chart_line_delete.png">&nbsp;Remove vertex</dt>
  65. <dd>Remove selected vertex from linear feature. Thus shape of selected
  66. feature can be changed.</dd>
  67. <dt><img src="icons/silk/chart_line_link.png">&nbsp;Split line/boundary</dt>
  68. <dd>Split selected linear feature on given position to separate
  69. vector features.</dd>
  70. <dt><img src="icons/silk/chart_line_edit.png">&nbsp;Edit line/boundary</dt>
  71. <dd>Edit selected linear feature, add new segments or remove
  72. existing segments of linear feature.</dd>
  73. <dt><img src="icons/silk/bullet_go.png">&nbsp;Move feature(s)</dt>
  74. <dd>Move selected vector features. Selection can be done by mouse or
  75. by query.</dd>
  76. <dt><img src="icons/silk/vector_delete.png">&nbsp;Delete feature(s)</dt>
  77. <dd>Delete selected vector features. Selection can be done by mouse
  78. or by query.</dd>
  79. <dt><img src="icons/silk/chart_organisation.png">&nbsp;Display/update categories</dt>
  80. <dd>Display categories of selected vector feature. Category settings
  81. can be modified, new layer/category pairs added or already defined pairs
  82. removed.</dd>
  83. <dt><img src="icons/silk/chart_organisation_add.png">&nbsp;Copy categories / Duplicate attributes</dt>
  84. <dd><ul>
  85. <li>Copy category settings of selected vector feature to other
  86. vector features. Layer/category pairs of source vector features are
  87. appended to the target feature category settings. Existing
  88. layer/category pairs are not removed from category settings of the
  89. target features.</li>
  90. <li>Duplicate attributes settings of selected vector feature to
  91. other vector features. New category(ies) is appended to the
  92. target feature category settings and attributes duplicated
  93. based on category settings of source vector features. Existing
  94. layer/category pairs are not removed from category settings of
  95. the target features.</li>
  96. </ul>
  97. </dd>
  98. <dt><img src="icons/silk/table.png">&nbsp;Display/update attributes</dt>
  99. <dd>Display attributes of selected vector feature (based on its
  100. category settings). Attributes can be also modified. Same
  101. functionality is accessible from Main toolbar "Query vector map
  102. (editable mode)".</dd>
  103. <dt><img src="icons/silk/plugin.png">&nbsp;Additional tools</dt>
  104. <dd>
  105. <ul>
  106. <li>Copy features from (background) map<br> Make identical copy of
  107. selected vector features. If background vector map
  108. ('Settings->General->Background map') is given copy
  109. features from background vector map, not from the currently
  110. modified vector map.</li>
  111. <li>Flip selected lines/boundaries<br> Flip direction of
  112. selected linear features (lines or boundaries).</li>
  113. <li>Merge selected lines/boundaries<br> Merge (at least two)
  114. selected vector lines or boundaries. The geometry of the
  115. merged vector lines can be changed. If the second line from
  116. two selected lines is in opposite direction to the first, it
  117. will be flipped. See also
  118. module <em><a href="v.build.polylines.html">v.build.polylines</a></em>.</li>
  119. <li>Break selected lines/boundaries at intersection<br> Split
  120. given vector line or boundary into two lines on given position
  121. (based on <em><a href="v.clean.html">v.clean</a></em>,
  122. tool=break).</li>
  123. <li>Snap selected lines/boundaries (only to nodes)<br> Snap
  124. vector features in given threshold. See also
  125. module <em><a href="v.clean.html">v.clean</a></em>. Note that
  126. this tool supports only snapping to nodes. Snapping to vector
  127. features from background vector map is not currently
  128. supported.</li>
  129. <li>Connect two selected lines/boundaries<br> Connect selected
  130. lines or boundaries, the first given line is connected to the
  131. second one. The second line is broken if necessary. The lines
  132. are connected only if distance between them is not greater
  133. than snapping threshold value.</li>
  134. <li>Query tool<br>Select vector features by min/max length value
  135. (linear features or dangles).</li>
  136. <li>Z-bulk labeling of 3D lines<br> Assign z coordinate to 3D
  137. vector lines in bounding box.</li>
  138. <li>Feature type conversion<br> Change feature type of selected
  139. geometry features. Points are converted to centroids,
  140. centroids to points, lines to boundaries and boundaries to
  141. lines.</li>
  142. </ul>
  143. </dd>
  144. <dt><img src="icons/silk/arrow_undo.png">&nbsp;Undo</dt>
  145. <dd>Undo previous operations.</dd>
  146. <dt><img src="icons/silk/color_swatch.png">&nbsp;Settings</dt>
  147. <dd>Dialog for vector digitizer settings.</dd>
  148. <dt><img src="icons/silk/door_in.png">&nbsp;Quit digitizing tool</dt>
  149. <dd>Changes in vector map can be optionally discarded when
  150. digitizing session is quited.</dd>
  151. </dl>
  152. <h2>SEE ALSO</h2>
  153. <em>
  154. <a href="v.edit.html">v.edit</a>,
  155. <a href="v.category.html">v.category</a>
  156. </em>
  157. <p>
  158. See also <a href="http://grass.osgeo.org/wiki/WxPython-based_GUI_for_GRASS#Vector_digitizer">Wiki</a> page.
  159. <p>
  160. TCL/TK-based <a href="v.digit.html">v.digit</a>.
  161. <h2>AUTHORS</h2>
  162. Martin Landa, FBK-irst, Trento, Italy
  163. <p>
  164. <i>$Date$</i>