[Qgis-developer] Malfunction in setCrsTransformEnabled(bool): coordinates displayed are wrong
//./\\-/_.\\
m431m at tutanota.com
Fri Dec 4 01:22:36 PST 2015
Hello,
No one to check if there is a bug with 'setCrsTransformEnabled(bool)'
function?
m431m
27. Nov 2015 18:56 de m431m at tutanota.com:
> 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/20151204/37d4f6eb/attachment.html>
More information about the Qgis-developer
mailing list