wxGUI.Vector_Digitizing_Tool.html 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. <h2>DESCRIPTION</h2>
  2. <i>Vector digitizing tool</i> 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 up 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</dt>
  84. <dd>Copy category settings of selected vector feature to other
  85. vector features. Layer/category pairs of source vector features are
  86. appended to the target feature category settings. Existing
  87. layer/category pairs are not removed from category settings of the
  88. target features.</dd>
  89. <dt><img src="icons/silk/table.png">&nbsp;Display/update attributes</dt>
  90. <dd>Display attributes of selected vector feature (based on its
  91. category settings). Attributes can be also modified. Same
  92. functionality is accessible from Main toolbar "Query vector map
  93. (editable mode)".</dd>
  94. <dt><img src="icons/silk/plugin.png">&nbsp;Additional tools</dt>
  95. <dd>
  96. <ul>
  97. <li>Copy features from (background) map<br> Make identical copy of
  98. selected vector features. If background vector map
  99. ("Settings"->"General"->"Background map") is given copy
  100. features from background vector map, not from currently
  101. modified vector map.</li>
  102. <li>Flip selected lines/boundaries<br> Flip direction of
  103. selected linear features (lines or boundaries).</li>
  104. <li>Merge selected lines/boundaries<br> Merge (at least two)
  105. selected vector lines or boundaries. The geometry of the
  106. merged vector lines can be changed. If the second line from
  107. two selected lines is in opposite direction to the first, it
  108. will be flipped. See also
  109. module <em><a href="v.build.polylines.html">v.build.polylines</a></em>.</li>
  110. <li>Break selected lines/boundaries at intersection<br> Split
  111. given vector line or boundary into two lines on given position
  112. (based on <em><a href="v.clean.html">v.clean</a></em>,
  113. tool=break).</li>
  114. <li>Snap selected lines/boundaries (only to nodes)<br> Snap
  115. vector features in given threshold. See also
  116. module <em><a href="v.clean.html">v.clean</a></em>. Note that
  117. this tool supports only snapping to nodes. Snapping to vector
  118. features from background vector map is not currently
  119. supported.</li>
  120. <li>Connect two selected lines/boundaries<br> Connect selected
  121. lines or boundaries, the first given line is connected to the
  122. second one. The second line is broken if necessary. The lines
  123. are connected only if distance between them is not greater
  124. than snapping threshold value.</li>
  125. <li>Query tool<br>Select vector features by min/max length value
  126. (linear features or dangles).</li>
  127. <li>Z-bulk labeling of 3D lines<br> Assign z coordinate to 3D
  128. vector lines in bounding box.</li>
  129. <li>Feature type conversion<br> Change feature type of selected
  130. geometry features. Points are converted to centroids,
  131. centroids to points, lines to boundaries and boundaries to
  132. lines.</li>
  133. </ul>
  134. </dd>
  135. <dt><img src="icons/silk/arrow_undo.png">&nbsp;Undo</dt>
  136. <dd>Undo previous operations.</dd>
  137. <dt><img src="icons/silk/color_swatch.png">&nbsp;Settings</dt>
  138. <dd>Dialog for vector digitizer settings.</dd>
  139. <dt><img src="icons/silk/door_in.png">&nbsp;Quit digitizing tool</dt>
  140. <dd>Changes in vector map can be optionally discarded when
  141. digitizing session is quited.</dd>
  142. </dl>
  143. <h2>SEE ALSO</h2>
  144. <em>
  145. <a href="v.edit.html">v.edit</a>,
  146. <a href="v.category.html">v.category</a>
  147. </em>
  148. <p>
  149. See also <a href="http://grass.osgeo.org/wiki/WxPython-based_GUI_for_GRASS#Vector_digitizer">Wiki</a> page.
  150. <p>
  151. TCL/TK-based <a href="v.digit.html">v.digit</a>.
  152. <h2>AUTHORS</h2>
  153. Martin Landa, FBK-irst, Trento, Italy
  154. <p>
  155. <i>$Date$</i>