Merge pull request #1873 from gioman/processing_remove_unsupported_raster_formats

processing/gdal: remove output formats that are not supported by qgis
This commit is contained in:
alexbruy 2015-02-02 11:00:49 +02:00
commit db89a045ab
9 changed files with 9 additions and 18 deletions

View File

@ -48,8 +48,7 @@ class GridAverage(GdalAlgorithm):
OUTPUT = 'OUTPUT'
RTYPE = 'RTYPE'
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64',
'CInt16', 'CInt32', 'CFloat32', 'CFloat64']
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64']
def commandLineName(self):
return "gdalogr:gridaverage"

View File

@ -49,8 +49,7 @@ class GridDataMetrics(GdalAlgorithm):
OUTPUT = 'OUTPUT'
RTYPE = 'RTYPE'
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32',' Int32', 'Float32', 'Float64',
'CInt16', 'CInt32', 'CFloat32', 'CFloat64']
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64']
DATA_METRICS = ['Minimum', 'Maximum', 'Range', 'Count', 'Average distance',
'Average distance between points']

View File

@ -52,8 +52,7 @@ class GridInvDist(GdalAlgorithm):
OUTPUT = 'OUTPUT'
RTYPE = 'RTYPE'
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64',
'CInt16', 'CInt32', 'CFloat32', 'CFloat64']
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64']
def commandLineName(self):
return "gdalogr:gridinvdist"

View File

@ -48,8 +48,7 @@ class GridNearest(GdalAlgorithm):
OUTPUT = 'OUTPUT'
RTYPE = 'RTYPE'
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64',
'CInt16', 'CInt32', 'CFloat32', 'CFloat64']
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64']
def commandLineName(self):
return "gdalogr:gridnearestneighbor"

View File

@ -43,8 +43,7 @@ class merge(GdalAlgorithm):
SEPARATE = 'SEPARATE'
RTYPE = 'RTYPE'
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64',
'CInt16', 'CInt32', 'CFloat32', 'CFloat64']
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64']
def defineCharacteristics(self):
self.name = 'Merge'

View File

@ -46,8 +46,7 @@ class proximity(GdalAlgorithm):
OUTPUT = 'OUTPUT'
RTYPE = 'RTYPE'
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64',
'CInt16', 'CInt32', 'CFloat32', 'CFloat64']
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64']
DISTUNITS = ['GEO', 'PIXEL']

View File

@ -48,8 +48,7 @@ class rasterize(GdalAlgorithm):
RTYPE = 'RTYPE'
OUTPUT = 'OUTPUT'
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64',
'CInt16', 'CInt32', 'CFloat32', 'CFloat64']
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64']
def commandLineName(self):
return "gdalogr:rasterize"

View File

@ -52,8 +52,7 @@ class translate(GdalAlgorithm):
EXTRA = 'EXTRA'
RTYPE = 'RTYPE'
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64',
'CInt16', 'CInt32', 'CFloat32', 'CFloat64']
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64']
def commandLineName(self):
return "gdalogr:translate"

View File

@ -47,8 +47,7 @@ class warp(GdalAlgorithm):
EXTRA = 'EXTRA'
RTYPE = 'RTYPE'
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64',
'CInt16', 'CInt32', 'CFloat32', 'CFloat64']
TYPE = ['Byte', 'Int16', 'UInt16', 'UInt32', 'Int32', 'Float32', 'Float64']
def defineCharacteristics(self):
self.name = 'Warp (reproject)'