You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# rasterize supports output file creation for GDAL 1.8
96
-
gdalVersion=Utils.GdalConfig.version()
97
-
ifgdalVersion>="1.8.0":
96
+
gdalVersion=Utils.GdalConfig.versionNum()
97
+
ifgdalVersion>=1800:
98
98
fileDialogFunc=Utils.FileDialog.getSaveFileName
99
99
else:
100
100
fileDialogFunc=Utils.FileDialog.getOpenFileName
@@ -107,7 +107,7 @@ def fillOutputFileEdit(self):
107
107
self.outSelector.setFilename(outputFile)
108
108
109
109
# required either -ts or -tr to create the output file
110
-
ifgdalVersion>="1.8.0":
110
+
ifgdalVersion>=1800:
111
111
ifnotQFileInfo(outputFile).exists():
112
112
QMessageBox.information( self, self.tr( "Output size or resolution required" ), self.tr( "The output file doesn't exist. You must set up the output size or resolution to create it." ) )
0 commit comments