Hi all,<div><br></div><div>This might be something simple.</div><div><br></div><div>What I&#39;m looking for is a way to automate some processes using QGIS but not via a plugin or having to load the QGIS GUI.</div><div><br>

</div><div>I have a project file that I have setup with a composer for printing to a pdf and I need to be able to open the project using QGIS and print it from inside a python script that does other non-qgis things.</div>

<div><br></div><div>Is it possible to:</div><div><ul><li>Load QGIS from Python (well I know how to do this using QgsApplicaiton.Init())</li><li>Open the project file</li><li>Zoom to a location</li><li>Print the first composer to pdf </li>

<li>OR render out the map canvas to a image.</li></ul><div>From what I can see the only way is to create a new composer item and pass it the composer node from the xml.</div></div><div><br></div><div>Is there any other way to do it apart from having to deal with the XML from the project.</div>

<div><br></div><div>- Nathan</div>