Re: [Qgis-developer] destinationSrsChanged, custom srs

2016-12-08 Thread Martin Landa
Hi Matthias, 2016-11-29 9:45 GMT+01:00 Matthias Kuhn : > QgsMapSettings is a data only object, meaning that new map settings > objects are created from a map canvas "snapshot" for every rendering job > and therefore they don't change and don't need to (and cannot) emit

Re: [Qgis-developer] destinationSrsChanged, custom srs

2016-11-29 Thread Matthias Kuhn
Hi Martin, QgsMapSettings is a data only object, meaning that new map settings objects are created from a map canvas "snapshot" for every rendering job and therefore they don't change and don't need to (and cannot) emit signals. That also means: map canvas is the one who manages CRS information

[Qgis-developer] destinationSrsChanged, custom srs

2016-11-29 Thread Martin Landa
Hi all, when working with students on new QGIS plugin some questions raised. First we use destinationSrsChanged signal from QgsMapRender (which is DEPRECATED). We couldn't find similar signal in QgsMapSettings class. In the code we also transform coordinates using QgsCoordinateTransform class.