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

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


As a follow-up, I get the same behavior when I try to digitize with v.digit;
I am unable to render a raster or vector in x0 using the v.digit 'bgcmd'
parameter.

~ Eric. 

-----Original Message-----
From: grass-dev-bounces at grass.itc.it
To: 'grassuser at grass.itc.it'
Cc: 'grass-dev at grass.itc.it'
Sent: 8/31/2006 2:15 PM
Subject: [GRASS-dev] invoking d.vect and d.rast from CLI

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.





_______________________________________________
grass-dev mailing list
grass-dev at grass.itc.it
http://grass.itc.it/mailman/listinfo/grass-dev




More information about the grass-dev mailing list