[QGIS-Developer] PyQgis QgsCoordinateTransform constructor?
Richard Duivenvoorde
rdmailings at duif.net
Fri Dec 22 00:39:32 PST 2017
On 22-12-17 09:24, Richard Duivenvoorde wrote:
>> crsTransform = QgsCoordinateTransform(crs2, crs)
Just for reference, I think (but please correct me if otherwise) that
for plugins this is then the easiest one?
crsTransform = QgsCoordinateTransform(crs2, crs, QgsProject.instance())
as even with a non saved project this will provide the necessary
QgsCoordinateTransformContext ?
R
More information about the QGIS-Developer
mailing list