<html><head></head><body>Hi Chris,<br><br>In your previous message the settings you used had a lot of MS Windows paths in them, that's why I thought you used that. If you're not on Windows then these settings are wrong and this might explain your problem. Here's what you sent:<br><br>GRASS 7.8.4> env | grep GRASS<br>MANPATH=C:\OSGEO4~1\apps\grass\grass78\docs\man;C:\Users\Chris\AppData\Roaming\GRASS7\addons\docs\man<br>GRASS_PYTHON=C:\OSGEO4~1\bin\python3.exe<br>GRASS_RENDER_TRANSPARENCY=true<br>GRASS_PAGER=more<br>GRASS_GNUPLOT=gnuplot -persist<br>GRASS_RENDER_PNG_COMPRESSION=0<br>GRASS_RENDER_FILE_COMPRESSION=0<br>GRASSBIN=C:\OSGEO4~1\apps\grass\grass78\bin<br>GRASS_RENDER_FILE=test.png<br>GRASS_SH=C:\OSGEO4~1\apps\msys\bin\sh.exe<br>GRASS_RENDER_HEIGHT=480<br>PATH=/c/OSGEO4~1/apps/grass/grass78/lib:/c/OSGEO4~1/apps/grass/grass78/bin:/c/Users/Chris/AppData/Roaming/GRASS7/addons/bin:/c/OSGEO4~1/apps/Python37:/c/OSGEO4~1/apps/Python37/Scripts:/c/OSGEO4~1/apps/Python27/Scripts:/c/OSGEO4~1/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/system32/WBem:/usr/bin:/c/Program Files/RStudio/bin:/c/OSGEO4~1/apps/grass/grass78/bin:/c/OSGEO4~1/apps/grass/grass78/scripts:/c/OSGEO4~1/apps/grass/grass78/lib:.:/c/OSGEO4~1/apps/Python37/lib/site-packages/pywin32_system32<br>GRASS_MESSAGE_FORMAT=plain<br>GRASS_PROJSHARE=C:\OSGEO4~1\share\proj<br>PS1=GRASS 7.8.4><br>GRASS_VERSION=7.8.4<br>GRASS_HTML_BROWSER=start<br>GRASS_RENDER_WIDTH=640<br>GRASS_RENDER_TRUECOLOR=true<br>GRASS_RENDER_IMMEDIATE=png<br>GRASS_ADDON_BASE=C:\Users\Chris\AppData\Roaming\GRASS7\addons<br>GRASS_RENDER_FILE_READ=true<br><br><br>All the C:\ paths indicate Windows.<br><br>Moritz<br><br><div class="gmail_quote">Am 11. März 2021 21:37:01 MEZ schrieb Chris Bartolomei <surfcjb@yahoo.com>:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="ydp241af386yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
<div dir="ltr" data-setdir="false">Helmut ... thank you for your example however I think there is a misunderstanding of what I am trying to do. I am using GRASS on Linux (on a cluster) and the issue I am experiencing is overlaying two polygon maps (layers in Arc-speak). Points and lines on top of ONE set of polygons works fine as you have shown, however using two or more polygon maps (layers) does not seem to work. I attached an example of what i am trying to achieve: Take for instance a polygon representing Italy and you wanted it colored dark gray, then you want to overlay on top of that an administrative map showing only the areas of Lazio and Liguria colored in blue but no other administrative areas. The result would look like the Italy_sample.png file i attached (I made is using ArcPro as i am not in the office with access to our cluster). This is what is not working using the d.mon=png, d.vect tools. Could you please try something similar and see if it works for you (on linux)?</div><div dir="ltr" data-setdir="false">v/r</div><div dir="ltr" data-setdir="false">Chris<br></div><div dir="ltr" data-setdir="false"> <br></div><div><br></div>
</div><div id="ydpac3cc023yahoo_quoted_6279857004" class="ydpac3cc023yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Tuesday, March 2, 2021, 2:38:45 PM EST, Helmut Kudrnovsky <hellik@web.de> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr">>I don't see anything immediately wrong. Maybe it is a specific MS<br></div><div dir="ltr">>Windows issue I cannot reproduce here in GNU/Linux.<br></div><div dir="ltr">><br></div><div dir="ltr">>@Helmut any ideas ?<br></div><div dir="ltr"><br></div><div dir="ltr">tested here in the following way in OSGeo4W-winGRASS 7.8.5<br></div><div dir="ltr"><br></div><div dir="ltr">(1) changing the working directory via GUI > change working directory<br></div><div dir="ltr"> <br></div><div dir="ltr"> cd "D:\temp\testgrassrender" <br></div><div dir="ltr">Working directory changed to: <br></div><div dir="ltr">"D:\temp\testgrassrender"<br></div><div dir="ltr"><br></div><div dir="ltr">(2) in OSgeo4W-winGRASS-windows console (no msys needed!), also change here to the new wd:<br></div><div dir="ltr"><br></div><div dir="ltr">C:\>cd D:\temp\testgrassrender<br></div><div dir="ltr">C:\>d:<br></div><div dir="ltr"><br></div><div dir="ltr">(3) put the variables and d.-commands into a bat-file into the working directory (D:\temp\testgrassrender\mytest.bat):<br></div><div dir="ltr"><br></div><div dir="ltr">REM start of the batch file<br></div><div dir="ltr"><br></div><div dir="ltr">set GRASS_RENDER_IMMEDIATE=png<br></div><div dir="ltr">set GRASS_RENDER_WIDTH=640<br></div><div dir="ltr">set GRASS_RENDER_HEIGHT=480<br></div><div dir="ltr">set GRASS_RENDER_TRANSPARENT=true<br></div><div dir="ltr">set GRASS_RENDER_TRUECOLOR=true<br></div><div dir="ltr">set GRASS_RENDER_FILE_COMPRESSION=0<br></div><div dir="ltr">set GRASS_MESSAGE_FORMAT=plain<br></div><div dir="ltr">set GRASS_RENDER_FILE_READ=TRUE<br></div><div dir="ltr"><br></div><div dir="ltr">g.region vect=census_wake2000<br></div><div dir="ltr">d.vect map=census_wake2000 fill_color=none<br></div><div dir="ltr">d.vect map=roadsmajor color=255:0:0:255<br></div><div dir="ltr">d.vect map=schools_wake fill_color=0:128:0:255 icon=basic/circle size=10<br></div><div dir="ltr"><br></div><div dir="ltr">REM end of the batch file<br></div><div dir="ltr"><br></div><div dir="ltr">=> see here: in order to set a variable in the windows world, use e.g. set GRASS_RENDER_IMMEDIATE=png instead if export GRASS_RENDER_IMMEDIATE=png in the *nix world<br></div><div dir="ltr"><br></div><div dir="ltr">(4) start your batch file in the windows command line:<br></div><div dir="ltr"><br></div><div dir="ltr">D:\temp\testgrassrender>mytest.bat<br></div><div dir="ltr"><br></div><div dir="ltr">D:\temp\testgrassrender>set GRASS_RENDER_IMMEDIATE=png<br></div><div dir="ltr">D:\temp\testgrassrender>set GRASS_RENDER_WIDTH=640<br></div><div dir="ltr">D:\temp\testgrassrender>set GRASS_RENDER_HEIGHT=480<br></div><div dir="ltr">D:\temp\testgrassrender>set GRASS_RENDER_TRANSPARENT=true<br></div><div dir="ltr">D:\temp\testgrassrender>set GRASS_RENDER_TRUECOLOR=true<br></div><div dir="ltr">D:\temp\testgrassrender>set GRASS_RENDER_FILE_COMPRESSION=0<br></div><div dir="ltr">D:\temp\testgrassrender>set GRASS_MESSAGE_FORMAT=plain<br></div><div dir="ltr">D:\temp\testgrassrender>set GRASS_RENDER_FILE_READ=TRUE<br></div><div dir="ltr">D:\temp\testgrassrender>g.region vect=census_wake2000<br></div><div dir="ltr">D:\temp\testgrassrender>d.vect map=census_wake2000 fill_color=none<br></div><div dir="ltr">d.vect komplett.<br></div><div dir="ltr"><br></div><div dir="ltr">D:\temp\testgrassrender>d.vect map=roadsmajor color=255:0:0:255<br></div><div dir="ltr">d.vect komplett.<br></div><div dir="ltr"><br></div><div dir="ltr">D:\temp\testgrassrender>d.vect map=schools_wake fill_color=0:128:0:255 icon=basic/circle size=10<br></div><div dir="ltr">d.vect komplett.<br></div><div dir="ltr"><br></div><div dir="ltr">(5) see attached the result png - it looks like the same as Moritz's example<br></div><div dir="ltr"><br></div><div dir="ltr">kind regards<br></div><div dir="ltr">Helmut<br></div></div>
</div>
</div></blockquote></div></body></html>