Mon, Jun 28 2004
12:04:53
|
|
Request created by mailinglist2_wegmann@web.de
|
|
Return-Path |
<mailinglist2_wegmann@web.de>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
From |
Martin Wegmann <mailinglist2_wegmann@web.de>
|
To |
grass-bugs@intevation.de
|
Subject |
v.digit example patch
|
Date |
Mon, 28 Jun 2004 12:04:48 +0200
|
User-Agent |
KMail/1.6.2
|
MIME-Version |
1.0
|
Content-Disposition |
inline
|
Content-Type |
Multipart/Mixed; boundary="Boundary-00=_A1+3Ay8mxnuizqp"
|
Message-Id |
<200406281204.48620.mailinglist2_wegmann@web.de>
|
Sender |
mailinglist2_wegmann@web.de
|
X-Spam-Status |
No, hits=-4.8 tagged_above=-999.0 required=3.0 tests=BAYES_00, HTML_MESSAGE
|
X-Spam-Level |
|
--Boundary-00=_A1+3Ay8mxnuizqp
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hello,
I attached a diff file for the v.digit man page. Martin
--Boundary-00=_A1+3Ay8mxnuizqp
Content-Type: text/x-diff;
charset="us-ascii";
name="v.digit_manpage_diff.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="v.digit_manpage_diff.diff"
--- v.digit_original.html 2004-06-28 11:54:15.000000000 +0200
+++ v.digit_new.html 2004-06-28 12:01:36.000000000 +0200
@@ -24,7 +24,8 @@
<DD>Name of input vector</DD>
<DT><b>bgcmd</b>=<em>string</em>
-<DD>d.* commands to be used for background separated by ';'</DD>
+<DD>d.* commands to be used for background separated by ';', <br>
+<DD>if the d.* command contains spaces the whole command has to be be quoted
(see example)</DD>
<DD>Default: <em></em></DD>
</DL>
@@ -34,6 +35,51 @@
Attribute tables can be directly generated while digitizing (define in
"Settings" first).
+</DL>
+<h2>Example</h2>
+
+d.mon x0<br>
+d.rast name_of_raster #just to look at and to zoom into the area of
+interest <br>
+<p>
+<b>1)</b> digitizing an area based on a existing raster map, a vector map will
be
+created<br>
+<p>
+v.digit -n map=name_of_new_vector_map bgcmd="d.rast map=name_of_raster"<br>
+<p>
+# "-n" specifies that your vector map does not exist yet and will be created
+with the name given by "map=". "bgcmd=" specifies a display ("d.*") command
+and is set into quotes because it contains a space. <br>
+<p>
+#the v.digit GUI appears -- after exiting v.digit GUI the vector map
+"name_of_new_vector_map" exists
+<p>
+d.erase # to clear the monitor<br>
+d.vect "name_of_new_vector_map" # the newly created vector should appear in
the
+monitor<br>
+<p>
+
+<b>2)</b> digitize a new vector and using the first vector and the raster image
as
+background<br>
+ <p>
+d.erase # clear monitor<br>
+v.digit -n map=name_of_second_vector bgcmd="d.rast map=name_of_your_raster;
+d.vect=name_of_new_vector_map"<br>
+<p>
+#v.digit GUI appears and the layer defined in the "bgcmd=" settings are
+displayed in the background. The "bgcmd=" settings have to be seen as a
+series of commands separated with ";", therefore the last command "d.vect"
+displays the previously created vector on top of the raster image. <br>
+<p>
+
+<b>3)</b> digitzing a raster map and using a previously created vector map as
base
+which is displayed in the background as well<br>
+<p>
+v.digit map=name_of_new_vector_map bgcmd="d.rast map=name_of_your_raster;
+d.vect=name_of_new_vector_map"<br>
+
+
+</DL>
<h2>AUTHOR</h2>
Radim Blazek, ITC-Irst, Trento, Italy
--Boundary-00=_A1+3Ay8mxnuizqp--
|
|
Mon, Jun 28 2004
12:15:44
|
|
Comments added by guest
|
|
well, attachments do not seem to work in the bug tracking system. If the diff
file is screwed up
please contact me and I send the diff as attachment again. martin |
|
Wed, Aug 11 2004
16:02:39
|
|
Mail sent by mneteler
|
|
Hi Martin,
please send the attachment to me.
Markus
|
|
Wed, Aug 11 2004
16:43:18
|
|
Status changed to resolved by mneteler
|
|