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

2015-12-07 Thread //./\\-/_.\\
Hi,

Thank you for your response. Could you indicate version of QGIS you use ?

This error recurs on Win and OSX platforms with QGIS > 2.8.3

Please find enclosed a screen shot of the error.

m431m


4. Déc 2015 13:14 de royr...@outlook.com:


> 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.

>
> ___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

2015-12-07 Thread m roy


Il 07/12/2015 16:29, //./\\-/_.\\ ha scritto:
Hi,

Thank you for your response. Could you indicate version of QGIS you use ?

This error recurs on Win and OSX platforms with QGIS > 2.8.3

Please find enclosed a screen shot of the error.


I used win 2.12.1 32bit but i had a layer loaded.

It seems to me that you do not have any layer loaded;
if i open a blank project the coordinates seems to stuck at 0 (zero),
afer "iface.mapCanvas().setDestinationCrs(crs)",
(maybe you ned to give some other option to set it properly ?)
do not know if this is a bug but it's weird indeed, it seems to happen
only with a blank project with no layers.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

2015-12-04 Thread m roy
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.

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

2015-12-04 Thread //./\\-/_.\\
Hello,
No one to check if there is a bug with 'setCrsTransformEnabled(bool)' 
function?
m431m


27. Nov 2015 18:56 de m4...@tutanota.com:


> Up! :-)
>
> 17. Nov 2015 10:39 de > m4...@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___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

2015-11-27 Thread //./\\-/_.\\
Up! :-)

17. Nov 2015 10:39 de m4...@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___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer