[Qgis-developer] Malfunction in setCrsTransformEnabled(bool): coordinates displayed are wrong

m roy royroge at outlook.com
Fri Dec 4 04:14:24 PST 2015


Hi,

i tried and do not see any problem with coordinates...

Il 04/12/2015 10:22, //./\\-/_.\\ ha scritto:



Please try:
>>> iface.mapCanvas().setCrsTransformEnabled(True)
>>> crs = QgsCoordinateReferenceSystem(3857, QgsCoordinateReferenceSystem.EpsgCrsId)
>>> iface.mapCanvas().setDestinationCrs(crs)

Then, take a look at coordinates which are displayed.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20151204/2ea39fe8/attachment-0001.html>


More information about the Qgis-developer mailing list