[GRASS-dev] in trunk png/cairo d.vect overwrites previous images?

Moritz Lennert mlennert at club.worldonline.be
Tue Jan 31 04:36:01 EST 2012


On 31/01/12 00:20, Patrice Dumas wrote:
> Hello,
>
> I ask here first before because this seems a bit weird that nobody else
> reported it, but maybe I missed a bug report or something changed in grass
> 7?
>
> When doing more than one d.vect after a d.mon start=png (or cairo) the
> last one overwrite completly the previous one.  With wx0 or 6.4 the
> vector was on top but did not remove the previous vector.
>
> Should I report that or is it known?

This behaviour is controlled by the GRASS_PNG_READ environment variable. 
If you set it to TRUE, then GRASS will lay the new d.vect on top of the 
already drawn vectors, otherwise it overwrites with the new. See 
http://grass.osgeo.org/grass70/manuals/html70_user/cairodriver.html.

Moritz


More information about the grass-dev mailing list