[Qgis-user] The epsg code in the qgis project.

Andrea Peri aperi2007 at gmail.com
Tue Nov 3 05:37:30 PST 2015


Hi,
I need to retrieve the epsg code of a qgis project.

I know this python sintax:

self.canvas.mapRenderer().destinationCrs()

But it retrun me a class with inside all the elements of definition.

Instead I need only the code:

epsg:4326
or
epsg.25832
and so on...

Is this available in qgis API ?

Thx


-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------



More information about the Qgis-user mailing list