[Qgis-developer] Map production using Python

Tim Sutton lists at linfiniti.com
Wed Sep 19 13:25:04 PDT 2012


Hi

On Wed, Sep 19, 2012 at 3:12 AM, leyan ouyang <ouyang.leyan at hotmail.com> wrote:
> Regarding the second question, if I remember correctly, you can use
> setNewExtent on your ComposerMap object (taking a QgsRectangle as argument).
>
>> From: veigacamargo at gmail.com
>> To: qgis-developer at lists.osgeo.org
>> Date: Tue, 18 Sep 2012 16:05:00 -0700
>> Subject: [Qgis-developer] Map production using Python
>
>>
>> Hi guys,
>> I have a few questions that I'd like to ask here.
>>
>> 1st - I'm trying to write a code that I can run from a python shell
>> outside QGIS, but I'm not finding the path where I should be importing
>> qgis
>> from.
>>

I have documented the process fairly well here:

http://inasafe.org/developer-docs/platform_windows.html#command-line-environment-setup

8<-----------------snip----------------------------------

Please take the trouble to snip away other messages from your email if
you are in digest mode as it improves the signal to noise ratio.
Thanks!

Regards

Tim

-- 
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Visit http://linfiniti.com to find out about:
 * QGIS programming and support services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==============================================


More information about the Qgis-developer mailing list