Radim Blazek offered several suggestions for solving problems I encountered and reported in v.digit a couple days ago. Here are the results of testing them.
____________________
C. Michael Barton, Professor
Department of Anthropology
PO Box 872402
Arizona State University
Tempe, AZ 85287-2402
USA
Phone: 480-965-6262
Fax: 480-965-7671
- - - v.digit testing - - -
****************************
10/29/03
***************************
Follow up on Radim's suggestion for displaying background in v.digit
Tried double quoting display command and parameters to create background map on v.digit startup. Still doesn't work. Here is the message received in the dialog.
v.digit map=polop_barranc bgcmd="d.rast map=dem.studyregion.25m.shade@PERMANENT" -n
Illegal filename. character <"> not allowed.Map does not exist.
New empty map created.
Illegal filename. character <"> not allowed.WARNING: A map which is not in the current mapset cannot be opened for
update.
sh: -c: line 1: unexpected EOF while looking for matching `"'
sh: -c: line 2: syntax error: unexpected end of file
>>>>>>>>>>>
NOTE: <"> is considered an illegal character in this command.
NOTE2: This DOES work from the command line. i.e., if I issue this command at the terminal prompt, it works fine. Hence, it seems to be a TCL parsing problem.
******************************
Followup on Radim's suggestion for successfully creating a table to accompany a new vector file in v.digit.
Tried creating the vector file and then creating an accompanying table WITHOUT a background raster map. This worked. Then I displayed a background raster map via the settings panel and background command tab and tried to edit the newly created vector file. This worked too. Also was able to create a new vector object in this context.
BUT NOTE: it is necessary to insert a carrage return after the display command to get the background to show up.
************************