<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thank Martin,<div class=""><br class=""></div><div class="">I tried with this :</div><div class=""><br class=""></div><div class=""><a href="http://nbviewer.ipython.org/gist/anonymous/e72c4a3b311370ade0db" class="">http://nbviewer.ipython.org/gist/anonymous/e72c4a3b311370ade0db</a></div><div class=""><br class=""></div><div class="">but I still have the same behavior</div><div class=""><br class=""></div><div class="">Thanks a lot to for looking into this!</div><div class=""><br class=""></div><div class="">Massimo.</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 3, 2015, at 10:30 AM, Martin Landa <<a href="mailto:landa.martin@gmail.com" class="">landa.martin@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Hi,<br class=""><br class="">2015-03-03 16:23 GMT+01:00 epi <<a href="mailto:massimodisasha@gmail.com" class="">massimodisasha@gmail.com</a>>:<br class=""><blockquote type="cite" class="">GRASS_TRANSPARENT=TRUE<br class="">GRASS_TRUECOLOR=TRUE<br class="">GRASS_PNG_COMPRESSION=9<br class="">GRASS_PNG_AUTO_WRITE=TRUE<br class="">export GRASS_TRANSPARENT GRASS_TRUECOLOR GRASS_PNG_COMPRESSION GRASS_PNG_AUTO_WRITE<br class=""></blockquote><br class="">render-related variables has been renamed to GRASS_RENDER_, see [1].<br class=""><br class=""><blockquote type="cite" class="">os.environ['GRASS_RENDER_IMMEDIATE'] = 'png'<br class="">os.environ['GRASS_RENDER_FILE'] = 'pfile3.png'<br class="">os.environ['GRASS_RENDER_FILE_COMPRESSION'] = '9'<br class="">os.environ['GRASS_RENDER_WIDTH'] = '640'<br class="">os.environ['GRASS_RENDER_HEIGHT'] = '480'<br class="">os.environ['GRASS_RENDER_TRANSPARENT']='TRUE'<br class=""><br class="">monitor_old = None<br class="">genv = gisenv()<br class="">if 'MONITOR' in genv:<br class=""> monitor_old = genv['MONITOR']<br class=""> g.gisenv(unset='MONITOR')<br class=""><br class="">d.vect(map='p')<br class="">d.rast(map='basemap')<br class="">###<br class=""><br class="">this time the png is generated, but i'm no more able to overlay 2 different layers to compose my map ...<br class=""></blockquote><br class="">You need to define GRASS_RENDER_READ_FILE='TRUE'. Martin<br class=""><br class="">[1] <a href="http://grass.osgeo.org/grass70/manuals/variables.html#list-of-selected-grass-environment-variables-for-rendering" class="">http://grass.osgeo.org/grass70/manuals/variables.html#list-of-selected-grass-environment-variables-for-rendering</a><br class=""><br class="">-- <br class="">Martin Landa<br class=""><a href="http://geo.fsv.cvut.cz/gwiki/Landa" class="">http://geo.fsv.cvut.cz/gwiki/Landa</a><br class="">http://gismentors.cz/mentors/landa<br class=""></div></blockquote></div><br class=""></div></body></html>