Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
code cleaning
  • Loading branch information
volaya committed Jan 12, 2013
1 parent d1966b0 commit d5db373
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 16 deletions.
3 changes: 0 additions & 3 deletions python/plugins/sextante/algs/FieldPyculator.py
Expand Up @@ -31,10 +31,7 @@
from PyQt4.QtGui import *
from sextante.parameters.ParameterString import ParameterString
from sextante.core.QGisLayers import QGisLayers
import os
from PyQt4 import QtGui
from sextante.core.GeoAlgorithmExecutionException import GeoAlgorithmExecutionException
from sextante.parameters.ParameterBoolean import ParameterBoolean
import sys


Expand Down
3 changes: 0 additions & 3 deletions python/plugins/sextante/algs/ftools/ConvexHull.py
Expand Up @@ -24,19 +24,16 @@
__revision__ = '$Format:%H$'

from sextante.core.GeoAlgorithm import GeoAlgorithm
from PyQt4 import QtGui
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from qgis.core import *
from sextante.parameters.ParameterVector import ParameterVector
from sextante.core.QGisLayers import QGisLayers
from sextante.core.GeoAlgorithmExecutionException import GeoAlgorithmExecutionException
from sextante.outputs.OutputVector import OutputVector
from sextante.algs.ftools import ftools_utils
from sextante.core.SextanteLog import SextanteLog
from sextante.parameters.ParameterTableField import ParameterTableField
from sextante.parameters.ParameterSelection import ParameterSelection
from sextante.parameters.ParameterBoolean import ParameterBoolean

class ConvexHull(GeoAlgorithm):

Expand Down
1 change: 0 additions & 1 deletion python/plugins/sextante/algs/ftools/ExportGeometryInfo.py
Expand Up @@ -23,7 +23,6 @@
# This will get replaced with a git SHA1 when you do a git archive
__revision__ = '$Format:%H$'

from PyQt4 import QtGui
from PyQt4.QtCore import *

from qgis.core import *
Expand Down
1 change: 0 additions & 1 deletion python/plugins/sextante/algs/ftools/PointDistance.py
Expand Up @@ -104,7 +104,6 @@ def linearMatrix(self, inLayer, inField, targetLayer, targetField, matType, nPoi
else:
self.writer.writerow(["InputID", "MEAN", "STDDEV", "MIN", "MAX"])

inProvider = inLayer.dataProvider()
targetProvider = targetLayer.dataProvider()
targetProvider.select()

Expand Down
6 changes: 0 additions & 6 deletions python/plugins/sextante/algs/ftools/SimplifyGeometries.py
Expand Up @@ -23,21 +23,15 @@
# This will get replaced with a git SHA1 when you do a git archive
__revision__ = '$Format:%H$'

import os.path

from PyQt4 import QtGui
from PyQt4.QtCore import *

from qgis.core import *

from sextante.core.GeoAlgorithm import GeoAlgorithm
from sextante.core.QGisLayers import QGisLayers
from sextante.core.SextanteLog import SextanteLog

from sextante.parameters.ParameterVector import ParameterVector
from sextante.parameters.ParameterNumber import ParameterNumber
from sextante.parameters.ParameterBoolean import ParameterBoolean

from sextante.outputs.OutputVector import OutputVector

class SimplifyGeometries(GeoAlgorithm):
Expand Down
2 changes: 1 addition & 1 deletion python/plugins/sextante/core/AlgorithmProvider.py
Expand Up @@ -105,7 +105,7 @@ def getSupportedOutputVectorLayerExtensions(self):
#return ["shp"]

def getSupportedOutputTableExtensions(self):
return ["dbf"]
return ["csv"]

def supportsNonFileBasedOutput(self):
return False
2 changes: 1 addition & 1 deletion python/plugins/sextante/outputs/OutputVector.py
Expand Up @@ -57,7 +57,7 @@ def getVectorWriter(self, fields, geomType, crs, options=None):
to a QgsVectorFileWriter constructor
@param crs the crs of the layer to create
@return writer instance of the vectoe writer class
@return writer instance of the vector writer class
'''

if self.encoding is None:
Expand Down

0 comments on commit d5db373

Please sign in to comment.