Skip to content

Commit 9edff14

Browse files
author
Giovanni Manghi
committed
processing/gdal: remove output formats that are not supported by qgis
1 parent fe27b63 commit 9edff14

9 files changed

Lines changed: 9 additions & 18 deletions

File tree

python/plugins/processing/algs/gdal/GridAverage.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ class GridAverage(GdalAlgorithm):
5050
OUTPUT = 'OUTPUT'
5151
RTYPE = 'RTYPE'
5252

53-
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64',
54-
'CInt16', 'CInt32', 'CFloat32', 'CFloat64']
53+
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64']
5554

5655
def commandLineName(self):
5756
return "gdalogr:gridaverage"

python/plugins/processing/algs/gdal/GridDataMetrics.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ class GridDataMetrics(GdalAlgorithm):
5151
OUTPUT = 'OUTPUT'
5252
RTYPE = 'RTYPE'
5353

54-
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32',' Int32', 'Float32', 'Float64',
55-
'CInt16', 'CInt32', 'CFloat32', 'CFloat64']
54+
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64']
5655

5756
DATA_METRICS = ['Minimum', 'Maximum', 'Range', 'Count', 'Average distance',
5857
'Average distance between points']

python/plugins/processing/algs/gdal/GridInvDist.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ class GridInvDist(GdalAlgorithm):
5353
OUTPUT = 'OUTPUT'
5454
RTYPE = 'RTYPE'
5555

56-
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64',
57-
'CInt16', 'CInt32', 'CFloat32', 'CFloat64']
56+
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64']
5857

5958
def commandLineName(self):
6059
return "gdalogr:gridinvdist"

python/plugins/processing/algs/gdal/GridNearest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ class GridNearest(GdalAlgorithm):
4949
OUTPUT = 'OUTPUT'
5050
RTYPE = 'RTYPE'
5151

52-
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64',
53-
'CInt16', 'CInt32', 'CFloat32', 'CFloat64']
52+
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64']
5453

5554
def commandLineName(self):
5655
return "gdalogr:gridnearestneighbor"

python/plugins/processing/algs/gdal/merge.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ class merge(GdalAlgorithm):
4343
SEPARATE = 'SEPARATE'
4444
RTYPE = 'RTYPE'
4545

46-
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64',
47-
'CInt16', 'CInt32', 'CFloat32', 'CFloat64']
46+
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64']
4847

4948
def defineCharacteristics(self):
5049
self.name = 'Merge'

python/plugins/processing/algs/gdal/proximity.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ class proximity(GdalAlgorithm):
4646
OUTPUT = 'OUTPUT'
4747
RTYPE = 'RTYPE'
4848

49-
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64',
50-
'CInt16', 'CInt32', 'CFloat32', 'CFloat64']
49+
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64']
5150

5251
DISTUNITS = ['GEO', 'PIXEL']
5352

python/plugins/processing/algs/gdal/rasterize.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ class rasterize(GdalAlgorithm):
4747
RTYPE = 'RTYPE'
4848
OUTPUT = 'OUTPUT'
4949

50-
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64',
51-
'CInt16', 'CInt32', 'CFloat32', 'CFloat64']
50+
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64']
5251

5352
def commandLineName(self):
5453
return "gdalogr:rasterize"

python/plugins/processing/algs/gdal/translate.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ class translate(GdalAlgorithm):
5353
EXTRA = 'EXTRA'
5454
RTYPE = 'RTYPE'
5555

56-
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64',
57-
'CInt16', 'CInt32', 'CFloat32', 'CFloat64']
56+
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64']
5857

5958
def commandLineName(self):
6059
return "gdalogr:translate"

python/plugins/processing/algs/gdal/warp.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ class warp(GdalAlgorithm):
4848
EXTRA = 'EXTRA'
4949
RTYPE = 'RTYPE'
5050

51-
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64',
52-
'CInt16', 'CInt32', 'CFloat32', 'CFloat64']
51+
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64']
5352

5453
def defineCharacteristics(self):
5554
self.name = 'Warp (reproject)'

0 commit comments

Comments
 (0)