From 57fc952a0ebdbb6a909ec143fac9f406c726d2f6 Mon Sep 17 00:00:00 2001 From: Timo Homburg Date: Mon, 29 Nov 2021 22:29:16 +0100 Subject: [PATCH] bugfix for crs export --- tasks/convertcrstask.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/convertcrstask.py b/tasks/convertcrstask.py index f23b27185..5bb7b9b07 100644 --- a/tasks/convertcrstask.py +++ b/tasks/convertcrstask.py @@ -54,7 +54,7 @@ def processLiteral(self, literal, literaltype, reproject, projectto): destCrs = QgsCoordinateReferenceSystem(projectto) QgsMessageLog.logMessage("CRS: " + str(destCrs.authid()), MESSAGE_CATEGORY, Qgis.Info) if str(destCrs.authid()) not in self.crsdefs: - self.crsdefs[str(destCrs.authid())]=ConvertCRS().convertCRSFromWKTString(destCrs.toWkt(),destCrs.authid(),set()) + self.crsdefs[str(destCrs.authid())]=ConvertCRS().convertCRSFromWKTString(destCrs.toWkt(),set(),destCrs.authid()) QgsMessageLog.logMessage('PROJECTIT ' + str(sourceCrs.description()) + " " + str(projectto.description()), MESSAGE_CATEGORY, Qgis.Info) tr = QgsCoordinateTransform(sourceCrs, destCrs, QgsProject.instance())