Skip to content

Commit db89a04

Browse files
committed
Merge pull request #1873 from gioman/processing_remove_unsupported_raster_formats
processing/gdal: remove output formats that are not supported by qgis
2 parents cd86710 + 9edff14 commit db89a04

File tree

9 files changed

+9
-18
lines changed

9 files changed

+9
-18
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ class GridAverage(GdalAlgorithm):
4848
OUTPUT = 'OUTPUT'
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 commandLineName(self):
5554
return "gdalogr:gridaverage"

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ class GridDataMetrics(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
DATA_METRICS = ['Minimum', 'Maximum', 'Range', 'Count', 'Average distance',
5655
'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
@@ -52,8 +52,7 @@ class GridInvDist(GdalAlgorithm):
5252
OUTPUT = 'OUTPUT'
5353
RTYPE = 'RTYPE'
5454

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

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

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ class GridNearest(GdalAlgorithm):
4848
OUTPUT = 'OUTPUT'
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 commandLineName(self):
5554
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
@@ -48,8 +48,7 @@ class rasterize(GdalAlgorithm):
4848
RTYPE = 'RTYPE'
4949
OUTPUT = 'OUTPUT'
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 commandLineName(self):
5554
return "gdalogr:rasterize"

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

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

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

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

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ class warp(GdalAlgorithm):
4747
EXTRA = 'EXTRA'
4848
RTYPE = 'RTYPE'
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 defineCharacteristics(self):
5453
self.name = 'Warp (reproject)'

0 commit comments

Comments
 (0)