mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
add -allow_projection_difference option (fix #4888)
This commit is contained in:
parent
dfbd0d1855
commit
2708f173fc
@ -30,6 +30,7 @@ class GdalToolsDialog(QWidget, Ui_Widget, BasePluginWidget):
|
||||
(self.srcNoDataSpin, SIGNAL("valueChanged(int)"), self.srcNoDataCheck, "1.7.0"),
|
||||
(self.inputDirCheck, SIGNAL("stateChanged(int)")),
|
||||
(self.separateCheck, SIGNAL("stateChanged(int)"), None, "1.7.0"),
|
||||
(self.allowProjDiffCheck, SIGNAL("stateChanged(int)"), None, "1.7.0"),
|
||||
(self.recurseCheck, SIGNAL("stateChanged(int)"), self.inputDirCheck)
|
||||
]
|
||||
)
|
||||
@ -84,6 +85,8 @@ class GdalToolsDialog(QWidget, Ui_Widget, BasePluginWidget):
|
||||
if self.srcNoDataCheck.isChecked():
|
||||
arguments << "-srcnodata"
|
||||
arguments << str(self.srcNoDataSpin.value())
|
||||
if self.allowProjDiffCheck.isChecked():
|
||||
arguments << "-allow_projection_difference"
|
||||
arguments << self.getOutputFileName()
|
||||
if self.inputDirCheck.isChecked():
|
||||
arguments << Utils.getRasterFiles( self.getInputFileName(), self.recurseCheck.isChecked() )
|
||||
|
@ -7,7 +7,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>348</width>
|
||||
<height>216</height>
|
||||
<height>238</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
@ -124,6 +124,13 @@
|
||||
<item row="3" column="1">
|
||||
<widget class="GdalToolsInOutSelector" name="outSelector" native="true"/>
|
||||
</item>
|
||||
<item row="7" column="0" colspan="2">
|
||||
<widget class="QCheckBox" name="allowProjDiffCheck">
|
||||
<property name="text">
|
||||
<string>Allow projection difference</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
|
Loading…
x
Reference in New Issue
Block a user