[GRASS-user] invoking d.vect and d.rast from CLI

Patton, Eric epatton at nrcan.gc.ca
Thu Aug 31 14:15:44 EDT 2006


I'm having trouble getting d.rast and d.vect working on the command line.
Here's a step-by-step to reproduce using Spearfish:

After initial Grass 6.3 startup finishes:

>d.mon -L
name            description                    status
----            -----------                    ------
PNG             Create PNG Map                 not running
png1            Create PNG Map                 not running
png2            Create PNG Map                 not running
png3            Create PNG Map                 not running
png4            Create PNG Map                 not running
png5            Create PNG Map                 not running
png6            Create PNG Map                 not running
png7            Create PNG Map                 not running
gism            Create PNG Map for gis.m       not running
x0              X-windows graphics display     not running
x1              X-windows graphics display     not running
x2              X-windows graphics display     not running
x3              X-windows graphics display     not running
x4              X-windows graphics display     not running
x5              X-windows graphics display     not running
x6              X-windows graphics display     not running
x7              X-windows graphics display     not running

# Shouldn't gism be shown as running here?

>d.mon start=gism
PNG: GRASS_TRUECOLOR status: FALSE
PNG: collecting to file: map.png,
     GRASS_WIDTH=640, GRASS_HEIGHT=480
Graphics driver [gism] started

~ >d.mon -L
name            description                    status
----            -----------                    ------
PNG             Create PNG Map                 not running
png1            Create PNG Map                 not running
png2            Create PNG Map                 not running
png3            Create PNG Map                 not running
png4            Create PNG Map                 not running
png5            Create PNG Map                 not running
png6            Create PNG Map                 not running
png7            Create PNG Map                 not running
gism            Create PNG Map for gis.m       running (selected)
x0              X-windows graphics display     not running
x1              X-windows graphics display     not running
x2              X-windows graphics display     not running
x3              X-windows graphics display     not running
x4              X-windows graphics display     not running
x5              X-windows graphics display     not running
x6              X-windows graphics display     not running
x7              X-windows graphics display     not running

# I seem to remember before that gism was shown as being selected
immediately
# upon starting Grass...

~ >g.region rast=elevation.10m
~ >d.rast -o map=elevation.10m
 100%

# Nothing draws in the gis.m map display!
# Let's try a vector instead...

~ >g.region vect=soils
~ >d.vect soils

Again, nothing displays.

Any ideas on what's going on here?

~ Eric.








More information about the grass-user mailing list