[Qgis-developer] Get QGIS project EPSG code

Denis Rouzaud denis.rouzaud at gmail.com
Fri Sep 26 04:43:13 PDT 2014


Hi,

iface.mapCanvas().mapSettings().destinationCrs()

Cheers,

Denis

On 26.09.2014 13:31, PIERRE Sylvain wrote:
>
> Hello,
>
> PyQGIS question:
>
> I just want to get EPSG code set at project level when on-the-fly 
> reprojection is active.
>
> I suppose it should be available in destinationCrs() properties from 
> mapRenderer, but nothing found.
>
> Any idea?
>
> Thanks
>
> Sylvain
>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140926/da8ad903/attachment.html>


More information about the Qgis-developer mailing list