[GRASS-user] replacement for d.mon in GRASS 7.0?

alonso alonsarp at um.es
Wed Apr 13 02:00:39 EDT 2011


Ok. It works fine now thanks a lot.

Anyway this approach hasn't the flexibility and possibilities that
monitors had, like zoom, frames, queries (specially queries to several
maps with d.what.*).

I understand that python interface is an improvement, but I'd be happy
having d.mon in the all way in GRASS 7.

best wishes

Paco Alonso



El mar, 12-04-2011 a las 21:49 +0100, Glynn Clements escribió:
> alonso wrote:
> 
> > I'm trying to use  ximgview for the first time but when I use this code:
> > 
> > export GRASS_PNGFILE=map.bmp
> > d.erase
> > ximgview map.bmp &
> > d.rast mde
> > d.vect countries type=boundary
> > export GRASS_PNG_MAPPED=TRUE
> > 
> > d.vect erases the mde raster map (the same with type=centroids). It
> > draws what it is supposed to draw but erasing (covering?) the previous
> > layer.
> > 
> > I made a mistake or is ximgview just for simple stuff?
> 
> You need to set GRASS_PNG_READ=TRUE, but only once the image file
> already exists, e.g.:
> 
> 	export GRASS_PNGFILE=map.bmp
> 	export GRASS_PNG_MAPPED=TRUE
> 	d.erase
> 	export GRASS_PNG_READ=TRUE
> 	ximgview map.bmp &
> 	d.rast mde
> 	d.vect countries type=boundary
> 	...
> 



More information about the grass-user mailing list