AW: Re: [Qgis-developer] Scripting QGIS from the outside using Python

Nathan Woodrow madmanwoo at gmail.com
Thu Apr 5 08:08:44 EDT 2012


On Thu, Apr 5, 2012 at 9:58 PM, Marco Hugentobler <
marco.hugentobler at sourcepole.ch> wrote:
>
>
> Hi
>
> Yes, that was the reason. It needs conversion code for the map.
>
> Nathan: are you using that function in a plugin?
>
>
Yes I was hoping to use it in a script outside QGIS, in a custom Python app
using QGIS as a mapping platform.

The plan is to:


   1. Load QGIS via QgsApplication
   2. Open composition
   3. Print composition to .png
   4. Use .png in other app

The other app is a service that run on the computer in the background and
generates maps for search requests that come in, so I can't really use a
QGIS plugn because it has to be automated and run in the background.

- Nathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120405/015e4e90/attachment.html


More information about the Qgis-developer mailing list