[GRASS5] [bug #2512] (grass) v.digit example patch

Request Tracker grass-bugs at intevation.de
Mon Jun 28 06:04:53 EDT 2004


this bug's URL: http://intevation.de/rt/webrt?serial_num=2512
-------------------------------------------------------------------------


--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--


--- Headers Follow ---

>From mailinglist2_wegmann at web.de  Mon Jun 28 12:04:52 2004
Return-Path: <mailinglist2_wegmann at web.de>
Delivered-To: grass-bugs at lists.intevation.de
Received: from mail.intevation.de (aktaia [212.95.126.10])
	by lists.intevation.de (Postfix) with ESMTP id 0A5E01393B
	for <grass-bugs at lists.intevation.de>; Mon, 28 Jun 2004 12:04:43 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by mail.intevation.de (Postfix) with ESMTP id 8693236F10
	for <grass-bugs at lists.intevation.de>; Mon, 28 Jun 2004 12:04:38 +0200 (CEST)
Received: from smtp07.web.de (smtp07.web.de [217.72.192.225])
	by mail.intevation.de (Postfix) with ESMTP id B660436E1E
	for <grass-bugs at intevation.de>; Mon, 28 Jun 2004 12:04:36 +0200 (CEST)
Received: from [217.236.125.64] (helo=[10.0.0.17])
	by smtp07.web.de with asmtp (TLSv1:RC4-MD5:128)
	(WEB.DE 4.101 #26)
	id 1Bet07-0001Lt-00
	for grass-bugs at intevation.de; Mon, 28 Jun 2004 12:04:36 +0200
From: Martin Wegmann <mailinglist2_wegmann at web.de>
To: grass-bugs at 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 at web.de>
Sender: mailinglist2_wegmann at web.de
X-Spam-Status: No, hits=-4.8 tagged_above=-999.0 required=3.0 tests=BAYES_00,
	HTML_MESSAGE
X-Spam-Level: 

-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list