[Qgis-developer] Malfunction in setCrsTransformEnabled(bool): coordinates displayed are wrong
//./\\-/_.\\
m431m at tutanota.com
Fri Nov 27 09:56:02 PST 2015
Up! :-)
17. Nov 2015 10:39 de m431m at tutanota.com:
> Hi!
>
> I notice a dysfunction when I change the destination CRS by activating On
> The Fly function from the python console.
> Coordinates which are displayed in the overview box (at the bottom), are
> wrong, not metric, no decimals...
>
> Please try:
> >>> iface.mapCanvas().setCrsTransformEnabled(True)
> >>> crs = QgsCoordinateReferenceSystem(3857,
> QgsCoordinateReferenceSystem.EpsgCrsId)
> >>> iface.mapCanvas().setDestinationCrs(crs)
>
> Then, take a look at coordinates which are displayed.
>
> Thank you for your help!
>
> m431m
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20151127/f414e11b/attachment.html>
More information about the Qgis-developer
mailing list