[GRASS-dev] Modules
Michael Barton
michael.barton at asu.edu
Fri Feb 23 10:04:08 EST 2007
I must have looked at that 3 times last night and saw commas instead of
semi-colons every time. Late night dislexia.
Michael
On 2/23/07 1:15 AM, "Glynn Clements" <glynn at gclements.plus.com> wrote:
>
> Michael Barton wrote:
>
>> Your fix has made it possible (well potentially) to reinstitute automatic
>> background creation from active maps in the GIS Manager layer tree. But I've
>> hit a wall on how to parse multiple background maps. At first I thought it
>> was TclTk. Then I realized that it wasn't possible from the command line
>> either. For example...
>>
>> GRASS 6.3.0-CVS-07020901 (spearfish60_test):~ > v.digit map=deleteme
>> bgcmd="d.vect map=deleteme,d.rast map=aspect"
>> PNG: GRASS_TRUECOLOR status: TRUE
>> PNG: collecting to file:
>> /Users/Shared/grassdata/spearfish60_test/PERMANENT/.tmp/cmb-MBP/6132.0.ppm,
>> GRASS_WIDTH=640, GRASS_HEIGHT=471
>> Illegal filename. Character <,> not allowed.
>> ERROR: Vector file [deleteme,d.rast,aspect] not available
>>
>> It won't parse the comma. I've tried various versions of single and double
>> quotes around different parts of the expression.
>>
>> Could it be that v.digit is not parsing this command correctly? Is this
>> fixable or should I give up.
>
> "v.digit --help" says:
>
> bgcmd Display commands to be used for canvas backdrop (separated by ';')
> ^^^^^^^^^^^^^^^^
> Semicolons, not commas.
>
> Presumably, the rationale was that individual commands might contain
> commas (well, they *might* contain semicolons, but that's less
> likely).
>
> Note: I did actually test bgcmd= with multiple commands, specifically:
>
> v.digit fields bgcmd='d.rast fields;d.vect roads'
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
More information about the grass-dev
mailing list