mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
[processing] fixed typo in nviz
This commit is contained in:
parent
5cfd708b7b
commit
2b99414c9e
@ -34,7 +34,6 @@ from processing.parameters.ParameterExtent import ParameterExtent
|
||||
from processing.parameters.ParameterNumber import ParameterNumber
|
||||
from processing.parameters.ParameterRaster import ParameterRaster
|
||||
from processing.grass.GrassUtils import GrassUtils
|
||||
|
||||
from processing.tools.system import *
|
||||
from processing.tools import dataobjects
|
||||
|
||||
@ -59,7 +58,7 @@ class nviz(GeoAlgorithm):
|
||||
self.addParameter(ParameterMultipleInput(nviz.VECTOR, 'Vector lines/areas overlay file(s)',
|
||||
ParameterMultipleInput.TYPE_VECTOR_ANY, True))
|
||||
self.addParameter(ParameterMultipleInput(nviz.COLOR, 'Raster file(s) for color',
|
||||
ParameterMultipleInput.TYPE_RASTER, True)
|
||||
ParameterMultipleInput.TYPE_RASTER, True))
|
||||
self.addParameter(ParameterExtent(nviz.GRASS_REGION_EXTENT_PARAMETER,
|
||||
'GRASS region extent'))
|
||||
self.addParameter(ParameterNumber(self.GRASS_REGION_CELLSIZE_PARAMETER,
|
||||
@ -95,7 +94,7 @@ class nviz(GeoAlgorithm):
|
||||
commands.append(cmd)
|
||||
vector = vector.replace(layer, newfilename)
|
||||
command += ' vector=' + vector.replace(';', ',')
|
||||
if color:
|
||||
if color:
|
||||
layers = color.split(';')
|
||||
for layer in layers:
|
||||
(cmd, newfilename) = self.exportRasterLayer(layer)
|
||||
|
Loading…
x
Reference in New Issue
Block a user