[QGIS-Developer] PyQgis QgsCoordinateTransform constructor?

Denis Rouzaud denis.rouzaud at gmail.com
Tue Jan 9 04:10:09 PST 2018


Hi Tom,

See
https://qgis.org/api/classQgsCoordinateTransform.html#a0716e11c2d1e92d50286210aee6f2800

One should use QgsCoordinateTransform( sourceCrs, destinationCrs,
QgsProject.instance() )

Hope this helps,

Denis

Le mar. 9 janv. 2018 à 06:37, Tom Chadwin <tom.chadwin at nnpa.org.uk> a
écrit :

> Sorry to bring this one up again - has this changed yet again? I thought I
> had my code working, but I'm getting Travis failures.
>
> Thanks
>
> Tom
>
>
>
> -----
> Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180109/5d1ed24c/attachment.html>


More information about the QGIS-Developer mailing list