[GRASS-dev] v.digit startup error from -n position

Markus Neteler neteler at itc.it
Wed Aug 2 11:15:58 EDT 2006


Hi,

I found a problem starting v.digit from the tcltk GUI:

v.digit map=cities 'bgcmd=d.rast landcover.30m' -n
New empty map created.

Application initialization failed: "-n" option requires an additional argument
Error in startup script: couldn't read file "map=cities": no such file or directory

while
v.digit -n map=cities 'bgcmd=d.rast landcover.30m'

works (see -n position). Strange for me, since G_parser is used...

Any ideas? Is it related to bgcmd_opt parsing?

I think that the gtcltk code should in general put flags
first (which would resolve the problem here).

Markus




More information about the grass-dev mailing list