diff --git a/simplewcs.py b/simplewcs.py index 8fa64aa..553f064 100644 --- a/simplewcs.py +++ b/simplewcs.py @@ -337,7 +337,7 @@ def getCovQueryStr(self): subset1 = label1 + '(' + str(coordinates[1]) + ',' + str(coordinates[3]) + ')' outputcrs = self.dlg.cbCRS.currentText() - mapcrs = self.iface.mapCanvas().mapSettings().destinationCrs().authid() + mapcrs = self.dlg.cbCRS.currentText() format = self.dlg.cbFormat.currentText() params = [('REQUEST', 'GetCoverage'), ('SERVICE', 'WCS'), ('VERSION', version), ('COVERAGEID', covId), ('OUTPUTCRS', outputcrs), ('SUBSETTINGCRS', mapcrs), ('FORMAT', format), ('SUBSET', subset0), ('SUBSET', subset1)]