<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 3, 2015 at 11:13 AM, epi <span dir="ltr"><<a href="mailto:massimodisasha@gmail.com" target="_blank">massimodisasha@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">Thank Martin,<div><br></div><div>I tried with this :</div><div><br></div><div><a href="http://nbviewer.ipython.org/gist/anonymous/e72c4a3b311370ade0db" target="_blank">http://nbviewer.ipython.org/gist/anonymous/e72c4a3b311370ade0db</a></div><div><br></div><div>but I still have the same behavior</div></div></blockquote><div><br></div>I think it's GRASS_RENDER_FILE_READ, not GRASS_RENDER_READ_FILE.</div><div class="gmail_quote"><a href="http://grass.osgeo.org/grass71/manuals/cairodriver.html">http://grass.osgeo.org/grass71/manuals/cairodriver.html</a> <br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">Anna</div><div class="gmail_quote"><br></div><div class="gmail_quote"><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div><div>Thanks a lot to for looking into this!</div><div><br></div><div>Massimo.</div><div><div class="h5"><div><br></div><div><br><div><blockquote type="cite"><div>On Mar 3, 2015, at 10:30 AM, Martin Landa <<a href="mailto:landa.martin@gmail.com" target="_blank">landa.martin@gmail.com</a>> wrote:</div><br><div>Hi,<br><br>2015-03-03 16:23 GMT+01:00 epi <<a href="mailto:massimodisasha@gmail.com" target="_blank">massimodisasha@gmail.com</a>>:<br><blockquote type="cite">GRASS_TRANSPARENT=TRUE<br>GRASS_TRUECOLOR=TRUE<br>GRASS_PNG_COMPRESSION=9<br>GRASS_PNG_AUTO_WRITE=TRUE<br>export GRASS_TRANSPARENT GRASS_TRUECOLOR GRASS_PNG_COMPRESSION GRASS_PNG_AUTO_WRITE<br></blockquote><br>render-related variables has been renamed to GRASS_RENDER_, see [1].<br><br><blockquote type="cite">os.environ['GRASS_RENDER_IMMEDIATE'] = 'png'<br>os.environ['GRASS_RENDER_FILE'] = 'pfile3.png'<br>os.environ['GRASS_RENDER_FILE_COMPRESSION'] = '9'<br>os.environ['GRASS_RENDER_WIDTH'] = '640'<br>os.environ['GRASS_RENDER_HEIGHT'] = '480'<br>os.environ['GRASS_RENDER_TRANSPARENT']='TRUE'<br><br>monitor_old = None<br>genv = gisenv()<br>if 'MONITOR' in genv:<br> monitor_old = genv['MONITOR']<br> g.gisenv(unset='MONITOR')<br><br>d.vect(map='p')<br>d.rast(map='basemap')<br>###<br><br>this time the png is generated, but i'm no more able to overlay 2 different layers to compose my map ...<br></blockquote><br>You need to define GRASS_RENDER_READ_FILE='TRUE'. Martin<br><br>[1] <a href="http://grass.osgeo.org/grass70/manuals/variables.html#list-of-selected-grass-environment-variables-for-rendering" target="_blank">http://grass.osgeo.org/grass70/manuals/variables.html#list-of-selected-grass-environment-variables-for-rendering</a><br><br>-- <br>Martin Landa<br><a href="http://geo.fsv.cvut.cz/gwiki/Landa" target="_blank">http://geo.fsv.cvut.cz/gwiki/Landa</a><br><a href="http://gismentors.cz/mentors/landa" target="_blank">http://gismentors.cz/mentors/landa</a><br></div></blockquote></div><br></div></div></div></div><br>_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br></blockquote></div><br></div></div>