Skip to content

Commit

Permalink
Fix to #11428 and #4064. Remove -write_absolute_path option, since it…
Browse files Browse the repository at this point in the history
… has no influence, because absolute paths are always recorded in the attribute table.
  • Loading branch information
PedroVenancio committed Sep 30, 2015
1 parent ada8ffd commit 391d60c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
3 changes: 0 additions & 3 deletions python/plugins/GdalTools/tools/doTileIndex.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ def __init__(self, iface):
#( self.recurseCheck, SIGNAL( "stateChanged( int )" ),
(self.outSelector, SIGNAL("filenameChanged()")),
(self.indexFieldEdit, SIGNAL("textChanged( const QString & )"), self.indexFieldCheck),
(self.absolutePathCheck, SIGNAL("stateChanged( int )"), None, 1500),
(self.skipDifferentProjCheck, SIGNAL("stateChanged( int )"), None, 1500)
])

Expand Down Expand Up @@ -77,8 +76,6 @@ def getArguments(self):
if self.indexFieldCheck.isChecked() and self.indexFieldEdit.text():
arguments.append("-tileindex")
arguments.append(self.indexFieldEdit.text())
if self.absolutePathCheck.isChecked():
arguments.append("-write_absolute_path")
if self.skipDifferentProjCheck.isChecked():
arguments.append("-skip_different_projection")
arguments.append(self.getOutputFileName())
Expand Down
9 changes: 1 addition & 8 deletions python/plugins/GdalTools/tools/widgetTileIndex.ui
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>400</width>
<height>181</height>
<height>153</height>
</rect>
</property>
<property name="windowTitle">
Expand Down Expand Up @@ -68,13 +68,6 @@
</item>
</layout>
</item>
<item>
<widget class="QCheckBox" name="absolutePathCheck">
<property name="text">
<string>Write absolute path</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="skipDifferentProjCheck">
<property name="text">
Expand Down

0 comments on commit 391d60c

Please sign in to comment.