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

Martin Dobias wonder.sk at gmail.com
Wed May 28 15:14:40 PDT 2008


On Wed, May 28, 2008 at 5:59 PM, Ziegler Stefan <Stefan.Ziegler at bd.so.ch> wrote:
> Hi Michael
> this is what I bookmarked a few days ago (for the same reason):
> http://doc.qgis.org/classQgsMapRender.html
> -> setDestinationSrs(...)

Hi,

yes, Stafan is right, you can access map canvas by plugin interface,
access its QgsMapRender instance (by mapRender() function) and change
the destination SRS with the function mentioned above.

Good luck
Martin



More information about the Qgis-user mailing list