Thanks Micha for putting me on the right track.<div><br></div><div>GRASS_PNGFILE=myimage.png</div><div>GRASS_PNG_READ=TRUE</div><div>export GRASS_PNGFILE GRASS_PNG_READ</div><div><br></div><div>before the d.vect commands or before the for-done-loop does the job.</div>
<div><br></div><div>Robbie<br><br><div class="gmail_quote">2010/9/16 Micha Silver <span dir="ltr"><<a href="mailto:micha@arava.co.il">micha@arava.co.il</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Robbie Heremans wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I use the Windows-version *GRASS* 6.4.0RC6 with *MSYS* and I want to display 2 *layers* using following commands for the Spearfish60 sample location.<br>
<br>
d.vect streams col=blue<br>
d.vect roads col=red<br>
<br>
The output file map.png only displays the last layer.<br>
</blockquote></div>
I think what you need is to set the environment variable GRASS_PNG_READ to TRUE. Then each run of d.vect will start with the existing png file and add to it.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
How can I display multiple layers with MSYS?<br>
<br>
Using the wxGUI interface is not an option, I think, since I want to remake the example on <a href="http://casoilresource.lawr.ucdavis.edu/drupal/node/340" target="_blank">http://casoilresource.lawr.ucdavis.edu/drupal/node/340</a> which uses a loop (map.png only gives the points of the 5th cluster).<br>
<br>
# there are 5 clusters: show them all, and compute convex hulls<br>
for x in `seq 1 5` do v.extract --o in=bclust where="cluster=$x" out=bclust_$x v.hull --o in=bclust_$x out=bclust_hull_$x<br>
d.vect bclust_hull_$x type=boundary fcol=none width=2 col=white<br>
d.vect bclust icon=basic/box fcol=black col=black size=6<br>
done<br>
Any solutions?<br>
<br>
Robbie<br>
<br></div>
This mail was received via Mail-SeCure System.<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
<br>
This mail was received via Mail-SeCure System.<br>
<br>
<br>
<br>
</blockquote>
<br>
</blockquote></div><br></div>