Skip to content
Permalink
Browse files

add -allow_projection_difference option (fix #4888)

  • Loading branch information
brushtyler committed Feb 11, 2012
1 parent dfbd0d1 commit 2708f173fcd0df8d9fb5c8ec754e988f01fce2ac
@@ -30,6 +30,7 @@ def __init__(self, iface):
(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 @@ def getArguments(self):
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>

0 comments on commit 2708f17

Please sign in to comment.
You can’t perform that action at this time.