.TH v.digit 1grass "" "GRASS 6.4.2" "Grass User's Manual" .SH NAME \fI\fBv.digit\fR\fR - Interactive editing and digitization of vector maps. .SH KEYWORDS vector, editing, digitization .SH SYNOPSIS \fBv.digit\fR .br \fBv.digit help\fR .br \fBv.digit\fR [-\fBn\fR] \fBmap\fR=\fIname\fR [\fBbgcmd\fR=\fIstring\fR] [--\fBverbose\fR] [--\fBquiet\fR] .SS Flags: .IP "\fB-n\fR" 4m .br Create new file if it does not exist. .IP "\fB--verbose\fR" 4m .br Verbose module output .IP "\fB--quiet\fR" 4m .br Quiet module output .PP .SS Parameters: .IP "\fBmap\fR=\fIname\fR" 4m .br Name of input vector map .IP "\fBbgcmd\fR=\fIstring\fR" 4m .br Display commands to be used for canvas backdrop (separated by ';') .br Default: \fI\fR .PP .SH DESCRIPTION \fIv.digit\fR is a vector map digitizer with TCL/TK-based graphical user interface. Attribute tables can be directly generated while digitizing (define in "Settings" first). .SH NOTES The \fBbgcmd\fR option is intended to be used with display (d.*) commands. If several display commands are to be used to render the background they should be separated with the semi-colon ';' character. When run from the command line, these display commands will generally need to be "quoted" as they will contain spaces (see examples). .PP \fBDead (deleted) lines\fR: If a user deletes a line in \fIv.digit\fR, it is internally only marked in the geometry file as 'dead' but it remains there and occupies space. Any vector module used afterwards on this map which really reads and writes vector geometry (so not \fIg.copy\fR) will writes only lines which are 'alive'. .PP If \fIv.digit\fR crashes for some reason you can repair the vector map which was left open with the \fIv.build\fR module. .SH EXAMPLES .SS Start a monitor and display a raster to help setup and zoom to area of interest \fC .DS .br d.mon x0 .br d.rast name_of_raster .br .DE \fR .SS Digitizing an area based on a existing raster map; creating a new vector map \fC .DS .br v.digit -n map=name_of_new_vector_map bgcmd="d.rast map=name_of_raster" .br .DE \fR .PP The \fB-n\fR flag specifies that your vector map does not yet exist and thus will be created with the name given by \fBmap\fR. The \fBbgcmd\fR specifies a display (d.*) command and is set in "quotes" as it contains a space. .PP The \fIv.digit\fR GUI appears and vector map "name_of_new_vector_map" is created. .PP After leaving \fIv.digit\fR, run: \fC .DS .br d.erase .br d.vect "name_of_new_vector_map" .br .DE \fR The display should be cleared and the newly created vector should appear in the monitor. .SS Digitizing a second vector, using your first vector and the raster image as background \fC .DS .br v.digit -n map=name_of_second_vector \(rs .br bgcmd="d.rast map=name_of_your_raster; d.vect map=name_of_new_vector_map" .br .DE \fR The \fIv.digit\fR GUI appears and the layers defined with \fBbgcmd\fR are displayed in the background. As the \fBbgcmd\fR commands are executed as a series of commands (separated by a ";"), the last command (d.vect) displays over the top of the earlier raster image. .SS Combining \fBbgcmd\fR with \fId.save\fR to use the existing display as a backdrop \fC .DS .br v.digit map=name bgcmd="\(gad.save -o | cut -f1 -d'#' | tr '\(rsn' ';'\(ga" .br .DE \fR \fI\fId.save\fR\fR will list the commands used to draw the current display; \fIcut\fR and \fItr\fR are UNIX commands which are used to remove comments and trade newlines for semi-colons, respectively. .SH SEE ALSO \fI r.digit, v.clean, v.edit \fR .PP See also \fIwxGUI Vector Digitizer\fR. .SH AUTHOR Radim Blazek, ITC-Irst, Trento, Italy .PP \fILast changed: $Date: 2011-02-01 00:58:25 +0100 (Tue, 01 Feb 2011) $\fR .PP Full index .PP © 2003-2011 GRASS Development Team