wxGUI.Vector_Digitizing_Tool.html 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  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-&gt;General-&gt;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-&gt;General-&gt;Snapping', nodes or vertices)
  39. based on 'Settings-&gt;General-&gt;Snapping threshold' value. To
  40. disable snapping set the snapping threshold to '0'.
  41. <p>
  42. If the digitizer crashes for some reason you can repair the vector map
  43. which was left open with the <em>v.build</em> module.
  44. <h2>Digitizer toolbar</h2>
  45. <center>
  46. <br><img src="wxGUI_vector_digitizer_toolbar.jpg" border="1"><br><br>
  47. </center>
  48. <dl>
  49. <dt><img src="icons/grass2/point-create.png">&nbsp;
  50. <img src="icons/grass/vdigit/new.point.gif">&nbsp;
  51. <img src="icons/silk/bullet_add.png"> <em>Digitize new point</em></dt>
  52. <dd>Add new point to vector map and optionally define its
  53. attributes.</dd>
  54. <dt><img src="icons/grass2/line-create.png">&nbsp;
  55. <img src="icons/grass/vdigit/new.line.gif">&nbsp;
  56. <img src="icons/silk/vector_add.png"> <em>Digitize new line</em></dt>
  57. <dd>Add new line to vector map and optionally define its
  58. attributes.</dd>
  59. <dt><img src="icons/grass2/polygon-create.png">&nbsp;
  60. <img src="icons/grass/vdigit/new.boundary.gif">&nbsp;
  61. <img src="icons/silk/shape_handles.png"> <em>Digitize new boundary</em></dt>
  62. <dd>Add new boundary to vector map and optionally define its
  63. attributes.</dd>
  64. <dt><img src="icons/grass2/centroid-create.png">&nbsp;
  65. <img src="icons/grass/vdigit/new.centroid.gif">&nbsp;
  66. <img src="icons/silk/shape_square_add.png"> <em>Digitize new centroid</em></dt>
  67. <dd>Add new centroid to vector map and optionally define its
  68. attributes.</dd>
  69. <dt><img src="icons/grass2/vertex-move.png">&nbsp;
  70. <img src="icons/grass/vdigit/move.vertex.gif">&nbsp;
  71. <img src="icons/silk/chart_line.png"> <em>Move vertex</em></dt>
  72. <dd>Move selected vertex of linear feature. Thus shape of linear
  73. feature is changed.</dd>
  74. <dt><img src="icons/grass2/vertex-create.png">&nbsp;
  75. <img src="icons/grass/vdigit/add.vertex.gif">&nbsp;
  76. <img src="icons/silk/chart_line_add.png"> <em>Add vertex</em></dt>
  77. <dd>Add new vertex to selected linear feature (shape not
  78. changed).</dd>
  79. <dt><img src="icons/grass2/vertex-delete.png">&nbsp;
  80. <img src="icons/grass/vdigit/rm.vertex.gif">&nbsp;
  81. <img src="icons/silk/chart_line_delete.png"> <em>Remove vertex</em></dt>
  82. <dd>Remove selected vertex from linear feature. Thus shape of selected
  83. feature can be changed.</dd>
  84. <dt><img src="icons/grass2/line-split.png">&nbsp;
  85. <img src="icons/grass/vdigit/split.line.gif">&nbsp;
  86. <img src="icons/silk/chart_line_link.png"> <em>Split line/boundary</em></dt>
  87. <dd>Split selected linear feature on given position to separate
  88. vector features.</dd>
  89. <dt><img src="icons/grass2/line-edit.png">&nbsp;
  90. <img src="icons/grass/vdigit/edit.line.gif">&nbsp;
  91. <img src="icons/silk/chart_line_edit.png"> <em>Edit line/boundary</em></dt>
  92. <dd>Edit selected linear feature, add new segments or remove
  93. existing segments of linear feature.</dd>
  94. <dt><img src="icons/grass2/line-move.png">&nbsp;
  95. <img src="icons/grass/vdigit/move.line.gif">&nbsp;
  96. <img src="icons/silk/bullet_go.png"> <em>Move feature(s)</em></dt>
  97. <dd>Move selected vector features. Selection can be done by mouse or
  98. by query.</dd>
  99. <dt><img src="icons/grass2/line-delete.png">&nbsp;
  100. <img src="icons/grass/vdigit/delete.line.gif">&nbsp;
  101. <img src="icons/silk/vector_delete.png"> <em>Delete feature(s)</em></dt>
  102. <dd>Delete selected vector features. Selection can be done by mouse
  103. or by query.</dd>
  104. <dt><img src="icons/grass2/cats-display.png">&nbsp;
  105. <img src="icons/grass/vdigit/display.cats.gif">&nbsp;
  106. <img src="icons/silk/chart_organisation.png"> <em>Display/update categories</em></dt>
  107. <dd>Display categories of selected vector feature. Category settings
  108. can be modified, new layer/category pairs added or already defined pairs
  109. removed.</dd>
  110. <dt><img src="icons/grass2/cats-copy.png">&nbsp;
  111. <img src="icons/grass/vdigit/copy.cats.gif">&nbsp;
  112. <img src="icons/silk/chart_organisation_add.png"> <em>Copy categories / Duplicate attributes</em></dt>
  113. <dd><ul>
  114. <li>Copy category settings of selected vector feature to other
  115. vector features. Layer/category pairs of source vector features are
  116. appended to the target feature category settings. Existing
  117. layer/category pairs are not removed from category settings of the
  118. target features.</li>
  119. <li>Duplicate attributes settings of selected vector feature to
  120. other vector features. New category(ies) is appended to the
  121. target feature category settings and attributes duplicated
  122. based on category settings of source vector features. Existing
  123. layer/category pairs are not removed from category settings of
  124. the target features.</li>
  125. </ul>
  126. </dd>
  127. <dt><img src="icons/grass2/attributes-display.png">&nbsp;
  128. <img src="icons/grass/vdigit/display.attributes.gif">&nbsp;
  129. <img src="icons/silk/table.png"> <em>Display/update attributes</em></dt>
  130. <dd>Display attributes of selected vector feature (based on its
  131. category settings). Attributes can be also modified. Same
  132. functionality is accessible from Main toolbar "Query vector map
  133. (editable mode)".</dd>
  134. <dt><img src="icons/grass2/tools.png">&nbsp;
  135. &nbsp;&nbsp;&nbsp;
  136. <img src="icons/silk/plugin.png"> <em>Additional tools</em></dt>
  137. <dd>
  138. <ul>
  139. <li>Copy features from (background) map<br> Make identical copy of
  140. selected vector features. If background vector map
  141. ('Settings->General->Background map') is given copy
  142. features from background vector map, not from the currently
  143. modified vector map.</li>
  144. <li>Flip selected lines/boundaries<br> Flip direction of
  145. selected linear features (lines or boundaries).</li>
  146. <li>Merge selected lines/boundaries<br> Merge (at least two)
  147. selected vector lines or boundaries. The geometry of the
  148. merged vector lines can be changed. If the second line from
  149. two selected lines is in opposite direction to the first, it
  150. will be flipped. See also
  151. module <em><a href="v.build.polylines.html">v.build.polylines</a></em>.</li>
  152. <li>Break selected lines/boundaries at intersection<br> Split
  153. given vector line or boundary into two lines on given position
  154. (based on <em><a href="v.clean.html">v.clean</a></em>,
  155. tool=break).</li>
  156. <li>Snap selected lines/boundaries (only to nodes)<br> Snap
  157. vector features in given threshold. See also
  158. module <em><a href="v.clean.html">v.clean</a></em>. Note that
  159. this tool supports only snapping to nodes. Snapping to vector
  160. features from background vector map is not currently
  161. supported.</li>
  162. <li>Connect two selected lines/boundaries<br> Connect selected
  163. lines or boundaries, the first given line is connected to the
  164. second one. The second line is broken if necessary. The lines
  165. are connected only if distance between them is not greater
  166. than snapping threshold value.</li>
  167. <li>Query tool<br>Select vector features by min/max length value
  168. (linear features or dangles).</li>
  169. <li>Z-bulk labeling of 3D lines<br> Assign z coordinate to 3D
  170. vector lines in bounding box.</li>
  171. <li>Feature type conversion<br> Change feature type of selected
  172. geometry features. Points are converted to centroids,
  173. centroids to points, lines to boundaries and boundaries to
  174. lines.</li>
  175. </ul>
  176. </dd>
  177. <dt><img src="icons/grass2/undo.png">&nbsp;
  178. &nbsp;&nbsp;&nbsp;
  179. <img src="icons/silk/arrow_undo.png"> <em>Undo</em></dt>
  180. <dd>Undo previous operations.</dd>
  181. <dt><img src="icons/grass2/settings.png">&nbsp;
  182. <img src="icons/grass/vdigit/settings.gif">&nbsp;
  183. <img src="icons/silk/color_swatch.png"> <em>Settings</em></dt>
  184. <dd>Dialog for vector digitizer settings.</dd>
  185. <dt><img src="icons/grass2/quit.png">&nbsp;
  186. <img src="icons/grass/gui-exit.gif">&nbsp;
  187. <img src="icons/silk/door_in.png"> <em>Quit digitizing tool</em></dt>
  188. <dd>Changes in vector map can be optionally discarded when
  189. digitizing session is quited.</dd>
  190. </dl>
  191. <h2>SEE ALSO</h2>
  192. <em>
  193. <a href="v.edit.html">v.edit</a>,
  194. <a href="v.category.html">v.category</a>
  195. </em>
  196. <p>
  197. See also <a href="http://grass.osgeo.org/wiki/WxPython-based_GUI_for_GRASS#Vector_digitizer">Wiki</a> page.
  198. <h2>AUTHORS</h2>
  199. Martin Landa, FBK-irst, Trento, Italy
  200. <p>
  201. <i>$Date$</i>