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
        ...

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to