[processing] fix parameters IDs (follow up #6535)

This commit is contained in:
Alexander Bruy 2018-03-08 11:06:14 +02:00
parent ad224991ec
commit a9441218c1

View File

@ -64,28 +64,28 @@ from qgis.core import (QgsRasterLayer,
from PyQt5.QtCore import QCoreApplication from PyQt5.QtCore import QCoreApplication
PARAMETER_NUMBER = 'Number' PARAMETER_NUMBER = 'number'
PARAMETER_RASTER = 'Raster Layer' PARAMETER_RASTER = 'raster'
PARAMETER_TABLE = 'Vector Layer' PARAMETER_TABLE = 'vector'
PARAMETER_VECTOR = 'Vector Features' PARAMETER_VECTOR = 'source'
PARAMETER_STRING = 'String' PARAMETER_STRING = 'string'
PARAMETER_EXPRESSION = 'Expression' PARAMETER_EXPRESSION = 'expression'
PARAMETER_BOOLEAN = 'Boolean' PARAMETER_BOOLEAN = 'boolean'
PARAMETER_TABLE_FIELD = 'Vector Field' PARAMETER_TABLE_FIELD = 'field'
PARAMETER_EXTENT = 'Extent' PARAMETER_EXTENT = 'extent'
PARAMETER_FILE = 'File' PARAMETER_FILE = 'file'
PARAMETER_POINT = 'Point' PARAMETER_POINT = 'point'
PARAMETER_CRS = 'CRS' PARAMETER_CRS = 'crs'
PARAMETER_MULTIPLE = 'Multiple Input' PARAMETER_MULTIPLE = 'multilayer'
PARAMETER_BAND = 'Raster Band' PARAMETER_BAND = 'band'
PARAMETER_MAP_LAYER = 'Map Layer' PARAMETER_MAP_LAYER = 'Map Layer'
PARAMETER_RANGE = 'Range' PARAMETER_RANGE = 'range'
PARAMETER_ENUM = 'Enum' PARAMETER_ENUM = 'enum'
PARAMETER_MATRIX = 'Matrix' PARAMETER_MATRIX = 'matrix'
PARAMETER_VECTOR_DESTINATION = 'Vector Destination' PARAMETER_VECTOR_DESTINATION = 'vectorDestination'
PARAMETER_FILE_DESTINATION = 'File Destination' PARAMETER_FILE_DESTINATION = 'fileDestination'
PARAMETER_FOLDER_DESTINATION = 'Folder Destination' PARAMETER_FOLDER_DESTINATION = 'folderDestination'
PARAMETER_RASTER_DESTINATION = 'Raster Destination' PARAMETER_RASTER_DESTINATION = 'rasterDestination'
def getParameterFromString(s): def getParameterFromString(s):