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