wxGUI.Vector_Digitizing_Tool.html 7.9 KB

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