Skip to content
Permalink
Browse files
remove unused files, code cleanup
  • 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.
@@ -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})
@@ -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
@@ -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)

This file was deleted.

Empty file.

0 comments on commit c33007f

Please sign in to comment.