File: wxGUI.Vector_Digitizer.tmp.html

package info (click to toggle)
grass 6.4.4-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 104,028 kB
  • ctags: 40,409
  • sloc: ansic: 419,980; python: 63,559; tcl: 46,692; cpp: 29,791; sh: 18,564; makefile: 7,000; xml: 3,505; yacc: 561; perl: 559; lex: 480; sed: 70; objc: 7
file content (277 lines) | stat: -rw-r--r-- 10,369 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>GRASS GIS Manual: wxGUI.Vector_Digitizer</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="grassdocs.css" type="text/css">
</head>
<body bgcolor="white">
<img src="grass_logo.png" alt="GRASS logo"><hr align=center size=6 noshade>
<h2>NAME</h2>
<em><b>wxGUI.Vector_Digitizer</b></em>

<h2>DESCRIPTION</h2>

The <b>vector digitizer</b> is
a <em><a href="wxGUI.html">wxGUI</a></em> component intended for
interactive editing vector maps
(see <em><a href="v.edit.html">v.edit</a></em> for non-interactive
vector editing GRASS capabilities).

<p>
The digitizer supports editing of 2D vector features (points, lines, centroids,
boundaries, and area).

Vector features can be selected using mouse or by query (e.g. minimal
vector line length). Vector features can be selected by bounding box
or simply by mouse click (based on 'Settings-&gt;General-&gt;Select
threshold' value).

<p>
Vector digitizer can be activated from Main toolbar in Map Display by
selecting "Digitize" from "Tools" combobox. Vector map to be edited
can be afterwards selected from digitizer toolbar ("Select vector map"
combobox, note that only vector maps from the current layer tree in Layer
Manager are available).

Vector digitizer can be alternatively also activated from contextual
menu in Layer Manager by selecting "Start editing" on selected vector
map in the layer tree.

<p>
New vector map can be easily created from digitizer toolbar by
selecting "New vector map" in "Select vector map" combobox. A new
vector map is created, added to the current layer tree in Layer
Manager and opened for editing. "Select vector map" combobox in
digitizer toolbar also allows switching easily between vector maps to be
edited.
<p>
The wxGUI vector digitizer draws all maps in the Layer Manager in the Map 
Display window; in addition, the digitizer also recognizes a special 
"background" vector map. This map is selected from the Layer Manager by 
right-clicking on the map and selecting "Use as Background Map" from the
contextual menu. The features of the background map may then be copied into
the currently edited vector map using the "Copy features from (background) 
vector map" button in the "Additional Tools" menu on the Digitzer Toolbar.

<h3>DIGITIZER TOOLBAR</h3>

<center>
<br><img src="wxGUI_vector_digitizer_toolbar.jpg" border="1"><br><br>
</center>

<dl>
  <dt><img src="icons/point-create.png">&nbsp;
    <em>Digitize new point</em></dt>
  <dd>Add new point to vector map and optionally define its
    attributes.</dd>
  
  <dt><img src="icons/line-create.png">&nbsp;
    <em>Digitize new line</em></dt>
  <dd>Add new line to vector map and optionally define its
    attributes.</dd>

  <dt><img src="icons/boundary-create.png">&nbsp;
    <em>Digitize new boundary</em></dt>
  <dd>Add new boundary to vector map and optionally define its
    attributes.</dd>
  
  <dt><img src="icons/centroid-create.png">&nbsp;
    <em>Digitize new centroid</em></dt>
  <dd>Add new centroid to vector map and optionally define its
    attributes.</dd>

  <dt><img src="icons/polygon-create.png">&nbsp;
    <em>Digitize new area</em></dt>
  <dd>Add new area (closed boundary and one centroid inside) to vector
    map and optionally define its attributes.</dd>
  
  <dt><img src="icons/vertex-move.png">&nbsp;
    <em>Move vertex</em></dt>
  <dd>Move selected vertex of linear feature. Thus shape of linear
    feature is changed.</dd>

  <dt><img src="icons/vertex-create.png">&nbsp;
    <em>Add vertex</em></dt>
  <dd>Add new vertex to selected linear feature (shape not
    changed).</dd>

  <dt><img src="icons/vertex-delete.png">&nbsp;
    <em>Remove vertex</em></dt>
  <dd>Remove selected vertex from linear feature. Thus shape of selected
  feature can be changed.</dd>
  
  <dt><img src="icons/line-edit.png">&nbsp;
    <em>Edit line/boundary</em></dt>
  <dd>Edit selected linear feature, add new segments or remove
  existing segments of linear feature.</dd>

  <dt><img src="icons/line-move.png">&nbsp;
    <em>Move feature(s)</em></dt>
  <dd>Move selected vector features. Selection can be done by mouse or
    by query.</dd>

  <dt><img src="icons/line-delete.png">&nbsp;
    <em>Delete feature(s)</em></dt>
  <dd>Delete selected vector features (point, line, centroid, or
  boundary). Selection can be done by mouse or by query.</dd>

  <dt><img src="icons/cats-display.png">&nbsp;
    <em>Display/update categories</em></dt>
  <dd>Display categories of selected vector feature. Category settings
  can be modified, new layer/category pairs added or already defined pairs
  removed.</dd>

  <dt><img src="icons/attributes-display.png">&nbsp;
    <em>Display/update attributes</em></dt>
  <dd>Display attributes of selected vector feature (based on its
    category settings).  Attributes can be also modified. Same
    functionality is accessible from Main toolbar "Query vector map
    (editable mode)".</dd>

  <dt><img src="icons/tools.png">&nbsp;
    <em>Additional tools</em></dt>
  <dd>
    <ul>
      <li><em>Break selected lines/boundaries at intersection</em><br> Split
	given vector line or boundary into two lines on given position
	(based on <em><a href="v.clean.html">v.clean</a></em>,
	<tt>tool=break</tt>).</li>

      <li><em>Connect two selected lines/boundaries</em><br> Connect selected
	lines or boundaries, the first given line is connected to the
	second one. The second line is broken if necessary on each intersection.
	The lines are connected only if distance between them is not greater
	than snapping threshold value.</li>

      <li><em>Copy categories</em><br>Copy category settings of
	selected vector feature to other vector
	features. Layer/category pairs of source vector features are
	appended to the target feature category settings. Existing
	layer/category pairs are not removed from category settings of
	the target features.</li>

      <li><em>Copy features from (background) map</em><br> Make identical copy of
	selected vector features. If a background vector map has been 
	selected from the Layer Manager, copy features from background 
	vector map, not from the currently modified vector map.</li>

      <li><em>Copy attributes</em><br>Duplicate attributes settings of
	selected vector feature to other vector features. New
	category(ies) is appended to the target feature category
	settings and attributes duplicated based on category settings
	of source vector features. Existing layer/category pairs are
	not removed from category settings of the target
	features.</li>

      <li><em>Feature type conversion</em><br> Change feature type of selected
	geometry features. Points are converted to centroids,
	centroids to points, lines to boundaries and boundaries to
	lines.</li>

      <li><em>Flip selected lines/boundaries</em><br> Flip direction of
	selected linear features (lines or boundaries).</li>

      <li><em>Merge selected lines/boundaries</em><br> Merge (at least two)
	selected vector lines or boundaries. The geometry of the
	merged vector lines can be changed. If the second line from
	two selected lines is in opposite direction to the first, it
	will be flipped. See also
	module <em><a href="v.build.polylines.html">v.build.polylines</a></em>.</li>

      <li><em>Snap selected lines/boundaries (only to nodes)</em><br> Snap
	vector features in given threshold. See also
	module <em><a href="v.clean.html">v.clean</a></em>. Note that
	this tool supports only snapping to nodes. Snapping to vector
	features from background vector map is not currently
	supported.</li>

      <li><em>Split line/boundary</em><br>Split selected line or boundary on
      given position.</li>

      <li><em>Query tool</em><br>Select vector features by defining a threshold for
        min/max length value (linear features or dangles).</li>

      <li><em>Z-bulk labeling of 3D lines</em><br> Assign z coordinate values to 3D
	vector lines in bounding box. This is useful for labeling contour lines.</li>
    </ul>
  </dd>
  
  <dt><img src="icons/undo.png">&nbsp;
    <em>Undo</em></dt>
  <dd>Undo previous operations.</dd>

  <dt><img src="icons/settings.png">&nbsp;
    <em>Settings</em></dt>
  <dd>Dialog for vector digitizer settings.</dd>

  <dt><img src="icons/quit.png">&nbsp;
    <em>Quit digitizing tool</em></dt>
  <dd>Changes in vector map can be optionally discarded when
  digitizing session is quited.</dd>

</dl>

<h2>NOTES</h2>

<dl><dt><b>Mouse button Functions:</b><dd>
	<dt><i>Left</i>   - select/deselect features</dt>
	<dt><i>Control+Left</i> - cancel action/undo vertex</dt>
	<dt><i>Right</i>  - confirm action</dt>
</dl>

<p>
<i>Dead (deleted)</i> are internally only marked in the geometry file
as 'dead' but it remains there and occupies space. Any vector module
used afterwards on this vector map which really reads and writes
vector geometry (so not <em><a href="g.copy.html">g.copy</a></em>)
will writes only features which are 'alive'.

<p>
<i>Added or modified</i> vector features are <i>snapped</i> to
existing vector features (Settings&rarr;General&rarr;Snapping). To
disable snapping set the snapping threshold to '0'.

<p>
If the digitizer crashes for some reason you can repair the vector map
which was left open with the <em>v.build</em> module.

<h2>REFERENCE</h2>

<ul>
  <li><a href="http://grass.osgeo.org/programming6/Vedit_Library.html">GRASS Vedit Library</a></li>
</ul>

<h2>SEE ALSO</h2>

<em>
  <a href="wxGUI.html">wxGUI</a><br>
  <a href="wxGUI.Components.html">wxGUI components</a>
</em>

<p>
<em>
<a href="v.edit.html">v.edit</a>,
<a href="v.category.html">v.category</a>,
<a href="v.build.html">v.build</a>
</em>

<p>
See also
the <a href="http://grasswiki.osgeo.org/wiki/WxGUI_Vector_Digitizer">wiki
page</a>
including <a href="http://grasswiki.osgeo.org/wiki/WxGUI_Vector_Digitizer#Vector_tutorials">video
tutorials</a>.

<h2>AUTHOR</h2>

Martin Landa, FBK-irst (2007-2008), Trento, Italy, and Czech Technical
University in Prague, Czech Republic

<p>
<i>$Date: 2013-02-15 23:04:18 +0100 (Fri, 15 Feb 2013) $</i>
<HR>
<P><a href="index.html">Main index</a> - <a href="wxGUI.html">wxGUI index</a> - <a href="full_index.html">Full index</a></P>
<P>&copy; 2003-2014 <a href="http://grass.osgeo.org">GRASS Development Team</a></p>
</body>
</html>