Skip to content

Commit

Permalink
remove unused files, code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Jul 9, 2014
1 parent a9216c7 commit c33007f
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 2,076 deletions.
4 changes: 1 addition & 3 deletions python/plugins/processing/algs/gdal/CMakeLists.txt
@@ -1,5 +1,3 @@
FILE(GLOB PY_FILES *.py)

ADD_SUBDIRECTORY(pyogr)

PLUGIN_INSTALL(processing ./algs/gdal ${PY_FILES})
PLUGIN_INSTALL(processing ./algs/gdal ${PY_FILES})
13 changes: 0 additions & 13 deletions python/plugins/processing/algs/gdal/OgrAlgorithm.py
Expand Up @@ -66,16 +66,3 @@ def ogrConnectionString(self, uri):
else:
ogrstr = str(layer.source())
return ogrstr

def drivers(self):
list = []
if ogrAvailable:
for iDriver in range(ogr.GetDriverCount()):
list.append('%s' % ogr.GetDriver(iDriver).GetName())
return list

def failure(self, pszDataSource):
out = 'FAILURE: Unable to open datasource %s with the following \
drivers.' % pszDataSource
out = out + string.join(map(lambda d: '->' + d, self.drivers()), '\n')
return out
3 changes: 0 additions & 3 deletions python/plugins/processing/algs/gdal/ogr2ogr.py
Expand Up @@ -112,9 +112,6 @@ def defineCharacteristics(self):

self.addOutput(OutputVector(self.OUTPUT_LAYER, 'Output layer'))

def commandLineName(self):
return "gdalogr:ogr2ogr"

def processAlgorithm(self, progress):
inLayer = self.getParameterValue(self.INPUT_LAYER)
ogrLayer = self.ogrConnectionString(inLayer)
Expand Down
3 changes: 0 additions & 3 deletions python/plugins/processing/algs/gdal/pyogr/CMakeLists.txt

This file was deleted.

Empty file.

0 comments on commit c33007f

Please sign in to comment.