Skip to content
Permalink
Browse files

Merge pull request #1873 from gioman/processing_remove_unsupported_ra…

…ster_formats

processing/gdal: remove output formats that are not supported by qgis
  • Loading branch information
alexbruy committed Feb 2, 2015
2 parents cd86710 + 9edff14 commit db89a045abcf00d800ba40097a99a54636bf4cee
@@ -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"
@@ -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']
@@ -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"
@@ -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"
@@ -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'
@@ -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']

@@ -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"
@@ -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"
@@ -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)'

0 comments on commit db89a04

Please sign in to comment.
You can’t perform that action at this time.