<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Richard,<br>
<br>
You may also want to have a look at the Atlas serial printing. It is
getting more and more powerful with each QGIS release.<br>
<br>
Maybe it does what you need?<br>
<br>
Andreas<br>
<br>
<div class="moz-cite-prefix">On 06.11.2014 00:02, Nathan Woodrow
wrote:<br>
</div>
<blockquote
cite="mid:CAAi8Yg_jzWJOFqZbyB2z=vfX-nAUG9mbHGnbfgVKM=xO0vkB6w@mail.gmail.com"
type="cite">Hey Richard,<br>
<br>
There is a new class you can use for the rendering because we now
have MTR you have to wait for the image, or listen for the done
event. The code is pretty easy and you can see an example of me
using it here:
<div><br>
</div>
<div> <a moz-do-not-send="true"
href="https://github.com/DMS-Aus/qgis2img/blob/master/qgis2img/render.py#L43">https://github.com/DMS-Aus/qgis2img/blob/master/qgis2img/render.py#L43</a><br>
</div>
<div><br>
</div>
<div>The basics are:</div>
<div><br>
</div>
<div>
<div> job = QgsMapRendererParallelJob(settings)</div>
<div> job.start()</div>
<div> job.waitForFinished()</div>
<div> image = job.renderedImage()</div>
</div>
<div><br>
</div>
<div>settings is a QgsMapSettings class which you can make or take
from the canvas using iface.mapCanvas().mapSetttings()</div>
<div><br>
</div>
<div>QgsMapSettings has a list of layers to render so you can
update that without changing the layers on the canvas, it's very
handy.</div>
<div><br>
</div>
<div>Give that a try and see how you go.</div>
<div><br>
</div>
<div>- Nathan</div>
<div><br>
</div>
<br>
<div class="gmail_quote">On Thu Nov 06 2014 at 1:30:54 AM Richard
Burkmar <<a moz-do-not-send="true"
href="mailto:rich.burkmar@gmail.com">rich.burkmar@gmail.com</a>>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>My apologies - I didn't check the latest version of
MMQGIS so my statement that the animation feature doesn't
work with the latest version of QGIS was incorrect. It
seems that they have solved the problem that I
encountered, so I'll take a look at the code there.<br>
<br>
</div>
<div>(I hope that this message comes out in the correct
thread - I couldn't see how to do it, so I'm sending a
message with the same title. I'm new to these mailing
lists.)<br>
</div>
<div><br>
</div>
Rich<br>
</div>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a moz-do-not-send="true"
href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-developer"
target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
</blockquote>
<br>
</body>
</html>