Up! :-)

17. Nov 2015 10:39 de [email protected]:


>     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
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to