wxGUI.Vector_Digitizing_Tool.html 9.9 KB

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