Skip to content

Commit

Permalink
bugfix for crs export
Browse files Browse the repository at this point in the history
  • Loading branch information
situx committed Nov 29, 2021
1 parent 870ec62 commit 57fc952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/convertcrstask.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 57fc952

Please sign in to comment.