Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
remove obsolete code
  • Loading branch information
alexbruy committed Oct 11, 2012
1 parent 92b8dd3 commit 0c4846b
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 38 deletions.
3 changes: 0 additions & 3 deletions python/plugins/sextante/ftools/Delaunay.py
Expand Up @@ -57,9 +57,6 @@ def defineCharacteristics(self):
self.addOutput(OutputVector(self.OUTPUT, "Delaunay triangulation"))

def processAlgorithm(self, progress):
settings = QSettings()
encoding = settings.value( "/UI/encoding", "System" ).toString()

layer = QGisLayers.getObjectFromUri(self.getParameterValue(self.INPUT))
output = self.getOutputValue(self.OUTPUT)

Expand Down
3 changes: 0 additions & 3 deletions python/plugins/sextante/ftools/DensifyGeometries.py
Expand Up @@ -61,9 +61,6 @@ def defineCharacteristics(self):
self.addOutput(OutputVector(self.OUTPUT, "Simplified layer"))

def processAlgorithm(self, progress):
settings = QSettings()
encoding = settings.value( "/UI/encoding", "System" ).toString()

layer = QGisLayers.getObjectFromUri(self.getParameterValue(self.INPUT))
useSelection = self.getParameterValue(self.USE_SELECTION)
vertices =self.getParameterValue(self.VERTICES)
Expand Down
2 changes: 0 additions & 2 deletions python/plugins/sextante/ftools/ExtentFromLayer.py
Expand Up @@ -60,8 +60,6 @@ def defineCharacteristics(self):
self.addOutput(OutputVector(self.OUTPUT, "Output layer"))

def processAlgorithm(self, progress):
settings = QSettings()

layer = QGisLayers.getObjectFromUri(self.getParameterValue(self.INPUT_LAYER))
useSelection = self.getParameterValue(self.USE_SELECTION)
byFeature = self.getParameterValue(self.BY_FEATURE)
Expand Down
3 changes: 0 additions & 3 deletions python/plugins/sextante/ftools/ExtractNodes.py
Expand Up @@ -56,9 +56,6 @@ def defineCharacteristics(self):
self.addOutput(OutputVector(self.OUTPUT, "Output layer"))

def processAlgorithm(self, progress):
settings = QSettings()
encoding = settings.value("/UI/encoding", "System").toString()

layer = QGisLayers.getObjectFromUri(self.getParameterValue(self.INPUT))
output = self.getOutputValue(self.OUTPUT)

Expand Down
3 changes: 0 additions & 3 deletions python/plugins/sextante/ftools/LinesIntersection.py
Expand Up @@ -65,9 +65,6 @@ def defineCharacteristics(self):
self.addOutput(OutputVector(self.OUTPUT, "Output layer"))

def processAlgorithm(self, progress):
settings = QSettings()
encoding = settings.value( "/UI/encoding", "System" ).toString()

layerA = QGisLayers.getObjectFromUri(self.getParameterValue(self.INPUT_A))
layerB = QGisLayers.getObjectFromUri(self.getParameterValue(self.INPUT_B))
fieldA = self.getParameterValue(self.FIELD_A)
Expand Down
3 changes: 0 additions & 3 deletions python/plugins/sextante/ftools/LinesToPolygons.py
Expand Up @@ -53,9 +53,6 @@ def defineCharacteristics(self):
self.addOutput(OutputVector(self.OUTPUT, "Output layer"))

def processAlgorithm(self, progress):
settings = QSettings()
encoding = settings.value("/UI/encoding", "System").toString()

layer = QGisLayers.getObjectFromUri(self.getParameterValue(self.INPUT))
output = self.getOutputValue(self.OUTPUT)

Expand Down
3 changes: 0 additions & 3 deletions python/plugins/sextante/ftools/MeanCoords.py
Expand Up @@ -63,9 +63,6 @@ def defineCharacteristics(self):
self.addOutput(OutputVector(MeanCoords.OUTPUT, "Result"))

def processAlgorithm(self, progress):
settings = QSettings()
encoding = settings.value( "/UI/encoding", "System" ).toString()

layer = QGisLayers.getObjectFromUri(self.getParameterValue(self.POINTS))
weightField = self.getParameterValue(self.WEIGHT)
uniqueField = self.getParameterValue(self.UID)
Expand Down
3 changes: 0 additions & 3 deletions python/plugins/sextante/ftools/MultipartToSingleparts.py
Expand Up @@ -54,9 +54,6 @@ def defineCharacteristics(self):
self.addOutput(OutputVector(self.OUTPUT, "Output layer"))

def processAlgorithm(self, progress):
settings = QSettings()
encoding = settings.value( "/UI/encoding", "System" ).toString()

layer = QGisLayers.getObjectFromUri(self.getParameterValue(self.INPUT))
output = self.getOutputValue(self.OUTPUT)

Expand Down
3 changes: 0 additions & 3 deletions python/plugins/sextante/ftools/PolygonsToLines.py
Expand Up @@ -54,9 +54,6 @@ def defineCharacteristics(self):
self.addOutput(OutputVector(self.OUTPUT, "Output layer"))

def processAlgorithm(self, progress):
settings = QSettings()
encoding = settings.value("/UI/encoding", "System").toString()

layer = QGisLayers.getObjectFromUri(self.getParameterValue(self.INPUT))
output = self.getOutputValue(self.OUTPUT)

Expand Down
3 changes: 0 additions & 3 deletions python/plugins/sextante/ftools/SimplifyGeometries.py
Expand Up @@ -61,9 +61,6 @@ def defineCharacteristics(self):
self.addOutput(OutputVector(self.OUTPUT, "Simplified layer"))

def processAlgorithm(self, progress):
settings = QSettings()
encoding = settings.value( "/UI/encoding", "System" ).toString()

layer = QGisLayers.getObjectFromUri(self.getParameterValue(self.INPUT))
useSelection = self.getParameterValue(self.USE_SELECTION)
tolerance =self.getParameterValue(self.TOLERANCE)
Expand Down
3 changes: 0 additions & 3 deletions python/plugins/sextante/ftools/SinglePartsToMultiparts.py
Expand Up @@ -58,9 +58,6 @@ def defineCharacteristics(self):
self.addOutput(OutputVector(self.OUTPUT, "Output layer"))

def processAlgorithm(self, progress):
settings = QSettings()
encoding = settings.value( "/UI/encoding", "System" ).toString()

layer = QGisLayers.getObjectFromUri(self.getParameterValue(self.INPUT))
output = self.getOutputValue(self.OUTPUT)
fieldName = self.getParameterValue(self.FIELD)
Expand Down
3 changes: 0 additions & 3 deletions python/plugins/sextante/ftools/SumLines.py
Expand Up @@ -63,9 +63,6 @@ def defineCharacteristics(self):
self.addOutput(OutputVector(self.OUTPUT, "Result"))

def processAlgorithm(self, progress):
settings = QSettings()
encoding = settings.value( "/UI/encoding", "System" ).toString()

lineLayer = QGisLayers.getObjectFromUri(self.getParameterValue(self.LINES))
polyLayer = QGisLayers.getObjectFromUri(self.getParameterValue(self.POLYGONS))
lengthFieldName = self.getParameterValue(self.LEN_FIELD)
Expand Down
3 changes: 0 additions & 3 deletions python/plugins/sextante/ftools/VoronoiPolygons.py
Expand Up @@ -57,9 +57,6 @@ def defineCharacteristics(self):
self.addOutput(OutputVector(self.OUTPUT, "Voronoi polygons"))

def processAlgorithm(self, progress):
settings = QSettings()
encoding = settings.value( "/UI/encoding", "System" ).toString()

layer = QGisLayers.getObjectFromUri(self.getParameterValue(self.INPUT))

output = self.getOutputValue(self.OUTPUT)
Expand Down

0 comments on commit 0c4846b

Please sign in to comment.