<div dir="ltr">Hi Vincent,<div><br></div><div>if I understand your use case correctly, d.to.rast should do what you want. It works in GUI. But maybe I am misunderstanding.<br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 9, 2015 at 9:52 AM, Vincent Bain <span dir="ltr"><<a href="mailto:bain@toraval.fr" target="_blank">bain@toraval.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks you Anna,<br>
<br>
unfortunately I understand d.to.rast cannot handle the content of the<br>
gui default display frame, which is the only display that allows me to<br>
tweak transparency.<br>
<br>
My temporary fix was to :<br>
-"set computational region from display extent" ;<br>
-press the button "save display to graphic file", outputting my<br>
composition in a source.png file ;<br>
-then write down a short shell script in this flavor :<br>
<br>
%------------<br>
eval `g.region -g`<br>
IFS=,<br>
size=($(identify -format %w,%h source.png))<br>
gdal_translate -gcp 0 0 $w $n -gcp ${size[0]} 0 $e $n -gcp ${size[0]}<br>
${size[1]} $e $s source.png target.tif<br>
gcps2wld.py target.tif>target.tfw<br>
%------------<br>
<br>
This method is certainly not much accurate but it provides me a fast<br>
georeferenced snapshot of a map composition.<br>
<br>
<br>
<br>
Yours,<br>
Vincent<br>
<br>
</blockquote></div><br></div></div></div>