Class: QgsProcessingParameterCrs

A coordinate reference system parameter for processing algorithms.

List of all members, including inherited members

Class Hierarchy

Inheritance diagram of qgis.core.QgsProcessingParameterCrs

Base classes

QgsProcessingParameterDefinition

Base class for the definition of processing parameters.

Static Methods

fromScriptCode

Creates a new parameter using the definition from a script code.

typeName

Returns the type name for the parameter class.

class qgis.core.QgsProcessingParameterCrs[source]

Bases: QgsProcessingParameterDefinition

__init__(name: str | None, description: str | None = '', defaultValue: Any = None, optional: bool = False)

Constructor for QgsProcessingParameterCrs.

Parameters:
  • name (Optional[str])

  • description (Optional[str] = '')

  • defaultValue (Any = None)

  • optional (bool = False)

__init__(a0: QgsProcessingParameterCrs)
Parameters:

a0 (QgsProcessingParameterCrs)

static fromScriptCode(name: str | None, description: str | None, isOptional: bool, definition: str | None) QgsProcessingParameterCrs | None[source]

Creates a new parameter using the definition from a script code.

Parameters:
Return type:

Optional[QgsProcessingParameterCrs]

static typeName() str[source]

Returns the type name for the parameter class.

Return type:

str