<div dir="ltr"><div>Hi Martin,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 6, 2020 at 3:10 PM Martin Landa <<a href="mailto:landa.martin@gmail.com">landa.martin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
is there any quick way how to generate also a world file when storing<br>
graphics into a file using `d.mon`. I just found `d.mon -g`, but it<br>
needs some hacking.<br></blockquote><div><br></div><div>I'm not aware of that, but since I'm not sure what you are doing I need to ask if d.to.rast+r.out.gdal (or d.out.file) would help you here.<br></div><div><br></div><div><a href="https://grass.osgeo.org/grass78/manuals/d.to.rast.html">https://grass.osgeo.org/grass78/manuals/d.to.rast.html</a></div><div><a href="https://grass.osgeo.org/grass78/manuals/d.out.file.html">https://grass.osgeo.org/grass78/manuals/d.out.file.html</a></div><div></div><div><br></div><div>The code you are looking for might be also in the following repo, but not using d.mon:<br></div><div><br></div><div><a href="https://github.com/ncsu-geoforall-lab/grass-web-publishing">https://github.com/ncsu-geoforall-lab/grass-web-publishing</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

It would be nice if `<a href="http://d.info" rel="noreferrer" target="_blank">d.info</a>` or directly `d.mon` could generate a<br>
world file if requested.<br></blockquote><div><br></div><div>Maybe a Python function to generate worldfile from the current computational region would be a better fit?</div><div><br></div><div>Vaclav<br></div></div></div>