Skip to content

Commit

Permalink
processing/gdal: remove output formats that are not supported by qgis
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovanni Manghi committed Jan 31, 2015
1 parent fe27b63 commit 9edff14
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 18 deletions.
3 changes: 1 addition & 2 deletions python/plugins/processing/algs/gdal/GridAverage.py
Expand Up @@ -50,8 +50,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"
Expand Down
3 changes: 1 addition & 2 deletions python/plugins/processing/algs/gdal/GridDataMetrics.py
Expand Up @@ -51,8 +51,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']
Expand Down
3 changes: 1 addition & 2 deletions python/plugins/processing/algs/gdal/GridInvDist.py
Expand Up @@ -53,8 +53,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"
Expand Down
3 changes: 1 addition & 2 deletions python/plugins/processing/algs/gdal/GridNearest.py
Expand Up @@ -49,8 +49,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"
Expand Down
3 changes: 1 addition & 2 deletions python/plugins/processing/algs/gdal/merge.py
Expand Up @@ -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'
Expand Down
3 changes: 1 addition & 2 deletions python/plugins/processing/algs/gdal/proximity.py
Expand Up @@ -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']

Expand Down
3 changes: 1 addition & 2 deletions python/plugins/processing/algs/gdal/rasterize.py
Expand Up @@ -47,8 +47,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"
Expand Down
3 changes: 1 addition & 2 deletions python/plugins/processing/algs/gdal/translate.py
Expand Up @@ -53,8 +53,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"
Expand Down
3 changes: 1 addition & 2 deletions python/plugins/processing/algs/gdal/warp.py
Expand Up @@ -48,8 +48,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)'
Expand Down

0 comments on commit 9edff14

Please sign in to comment.