Skip to content

Commit c33007f

Browse files
committedJul 9, 2014
remove unused files, code cleanup
1 parent a9216c7 commit c33007f

File tree

8 files changed

+1
-2076
lines changed

8 files changed

+1
-2076
lines changed
 
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
FILE(GLOB PY_FILES *.py)
22

3-
ADD_SUBDIRECTORY(pyogr)
4-
5-
PLUGIN_INSTALL(processing ./algs/gdal ${PY_FILES})
3+
PLUGIN_INSTALL(processing ./algs/gdal ${PY_FILES})

‎python/plugins/processing/algs/gdal/OgrAlgorithm.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,3 @@ def ogrConnectionString(self, uri):
6666
else:
6767
ogrstr = str(layer.source())
6868
return ogrstr
69-
70-
def drivers(self):
71-
list = []
72-
if ogrAvailable:
73-
for iDriver in range(ogr.GetDriverCount()):
74-
list.append('%s' % ogr.GetDriver(iDriver).GetName())
75-
return list
76-
77-
def failure(self, pszDataSource):
78-
out = 'FAILURE: Unable to open datasource %s with the following \
79-
drivers.' % pszDataSource
80-
out = out + string.join(map(lambda d: '->' + d, self.drivers()), '\n')
81-
return out

‎python/plugins/processing/algs/gdal/ogr2ogr.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,6 @@ def defineCharacteristics(self):
112112

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

115-
def commandLineName(self):
116-
return "gdalogr:ogr2ogr"
117-
118115
def processAlgorithm(self, progress):
119116
inLayer = self.getParameterValue(self.INPUT_LAYER)
120117
ogrLayer = self.ogrConnectionString(inLayer)

‎python/plugins/processing/algs/gdal/pyogr/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

‎python/plugins/processing/algs/gdal/pyogr/__init__.py

Whitespace-only changes.

‎python/plugins/processing/algs/gdal/pyogr/ogr2ogr.py

Lines changed: 0 additions & 1780 deletions
This file was deleted.

‎python/plugins/processing/algs/gdal/pyogr/ogrds.py

Lines changed: 0 additions & 75 deletions
This file was deleted.

‎python/plugins/processing/algs/gdal/pyogr/ogrvrt.py

Lines changed: 0 additions & 199 deletions
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.