AW: [Qgis-user] Change Projection in Projection Properties from a Python PlugIn

Ziegler Stefan Stefan.Ziegler at bd.so.ch
Wed May 28 08:59:39 PDT 2008


Hi Michael

this is what I bookmarked a few days ago (for the same reason):

http://doc.qgis.org/classQgsMapRender.html

-> setDestinationSrs(...)


regards
Stefan

-----Ursprüngliche Nachricht-----
Von: Pfeiffer Michael 
Gesendet am: Mittwoch, 28. Mai 2008 17:37
An: qgis-user at lists.osgeo.org
Betreff: [Qgis-user] Change Projection in Projection Properties from a
Python PlugIn


Hi everybody,

is it possible to change the projection which is set in the Projection
Properties from a Python-PlugIn.
Within the PlugIn I want to load some layers into QGIS.
To save the plugin users of changing projection properties I want to set
the
properties in the plugin.
Maybe its possible with qgsProjectProperties? I didn't find a solution
so
far. To change the mapUnits in the plugin is possible with setUnits in
the
mapCanvas. But what about the projection?
So any hint would be appreciated

Thanks

Greetings

Michael
-- 
View this message in context:
http://www.nabble.com/Change-Projection-in-Projection-Properties-from-a-
Python-PlugIn-tp17515568p17515568.html
Sent from the qgis-user mailing list archive at Nabble.com.

_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20080528/c824fcb8/attachment.html>


More information about the Qgis-user mailing list