Important

Translation is a community effort you can join. This page is currently translated at 56.78%.

28.1.16. Crearea Rasterelor

28.1.16.1. Create constant raster layer

Generates raster layer for given extent and cell size filled with the specified value.

Additionally an output data type can be specified. The algorithm will abort if a value has been entered that cannot be represented by the selected output raster data type.

Parametri

Parametri de bază

Etichetă

Nume

Tipul

Descriere

Desired extent

EXTENT

[extent]

Specify the spatial extent of the output raster layer. It will internally be extended to a multiple of the tile size.

Metodele disponibile sunt:

  • Calculate from layer…: uses extent of a layer loaded in the current project

  • Calculate from layout map…: uses extent of a layout map item in the active project

  • Calculate from bookmark…: uses extent of a saved bookmark

  • Use map canvas extent

  • Draw on canvas: click and drag a rectangle delimiting the area to take into account

  • Enter the coordinates as xmin, xmax, ymin, ymax

CRS-ul destinației

TARGET_CRS

[crs]

Implicit: CRS-ul proiectului

CRS for the output raster layer

Dimensiune pixel

PIXEL_SIZE

[număr]

Implicit: 1.0

Pixel size (X=Y) in map units.

Constant value

NUMBER

[număr]

Implicit: 1

Constant pixel value for the output raster layer.

Constant

OUTPUT

[raster]

Implicit: [Salvare într-un fișier temporar]

Specification of the output raster. One of:

  • Salvare într-un Fișier Temporar

  • Salvare în Fișier…

Parametri avansați

Etichetă

Nume

Tipul

Descriere

Output raster data type

OUTPUT_TYPE

Implicit: 5

[enumerare]

Defines the data type of the output raster file. Options:

  • 0 — Byte

  • 1 — Integer16

  • 2 — Unsigned Integer16

  • 3 — Integer32

  • 4 — Unsigned Integer32

  • 5 — Float32

  • 6 — Float64

Rezultat

Etichetă

Nume

Tipul

Descriere

Constant

OUTPUT

[raster]

Raster covering the desired extent with the specified pixel size and value.

Cod Python

ID Algorithm: nativ:createconstantrasterlayer

import processing
processing.run("algorithm_id", {parameter_dictionary})

ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.

28.1.16.2. Create random raster layer (binomial distribution)

Generates a raster layer for given extent and cell size filled with binomially distributed random values.

By default, the values will be chosen given an N of 10 and a probability of 0.5. This can be overridden by using the advanced parameter for N and probability. The raster data type is set to Integer types (Integer16 by default). The binomial distribution random values are defined as positive integer numbers. A floating point raster will represent a cast of integer values to floating point.

Parametri

Parametri de bază

Etichetă

Nume

Tipul

Descriere

Desired extent

EXTENT

[extent]

Specify the spatial extent of the output raster layer. It will internally be extended to a multiple of the tile size.

Metodele disponibile sunt:

  • Calculate from layer…: uses extent of a layer loaded in the current project

  • Calculate from layout map…: uses extent of a layout map item in the active project

  • Calculate from bookmark…: uses extent of a saved bookmark

  • Use map canvas extent

  • Draw on canvas: click and drag a rectangle delimiting the area to take into account

  • Enter the coordinates as xmin, xmax, ymin, ymax

CRS-ul destinației

TARGET_CRS

[crs]

Implicit: CRS-ul proiectului

CRS for the output raster layer

Dimensiune pixel

PIXEL_SIZE

[număr]

Implicit: 1.0

Pixel size (X=Y) in map units.

Raster de ieșire

OUTPUT

[raster]

Implicit: [Salvare într-un fișier temporar]

Specification of the output raster. One of:

  • Salvare într-un Fișier Temporar

  • Salvare în Fișier…

Parametri avansați

Etichetă

Nume

Tipul

Descriere

Output raster data type

OUTPUT_TYPE

Implicit: 0

[enumerare]

Defines the data type of the output raster file. Options:

  • 0 — Integer16

  • 1 — Unsigned Integer16

  • 2 — Integer32

  • 3 — Unsigned Integer32

  • 4 — Float32

  • 5 — Float64

N

N

[număr]

Implicit: 10

Probabilitate

PROBABILITY

[număr]

Implicit: 0.5

Rezultat

Etichetă

Nume

Tipul

Descriere

Raster de ieșire

OUTPUT

[raster]

Raster covering the desired extent with the cell size filled with random values

Cod Python

ID Algorithm: nativ:createrandombinomialrasterlayer

import processing
processing.run("algorithm_id", {parameter_dictionary})

ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.

28.1.16.3. Create random raster layer (exponential distribution)

Generates a raster layer for given extent and cell size filled with exponentially distributed random values.

By default, the values will be chosen given a lambda of 1.0. This can be overridden by using the advanced parameter for lambda. The raster data type is set to Float32 by default as the exponential distribution random values are floating point numbers.

Parametri

Parametri de bază

Etichetă

Nume

Tipul

Descriere

Desired extent

EXTENT

[extent]

Specify the spatial extent of the output raster layer. It will internally be extended to a multiple of the tile size.

Metodele disponibile sunt:

  • Calculate from layer…: uses extent of a layer loaded in the current project

  • Calculate from layout map…: uses extent of a layout map item in the active project

  • Calculate from bookmark…: uses extent of a saved bookmark

  • Use map canvas extent

  • Draw on canvas: click and drag a rectangle delimiting the area to take into account

  • Enter the coordinates as xmin, xmax, ymin, ymax

CRS-ul destinației

TARGET_CRS

[crs]

Implicit: CRS-ul proiectului

CRS for the output raster layer

Dimensiune pixel

PIXEL_SIZE

[număr]

Implicit: 1.0

Pixel size (X=Y) in map units.

Raster de ieșire

OUTPUT

[raster]

Implicit: [Salvare într-un fișier temporar]

Specification of the output raster. One of:

  • Salvare într-un Fișier Temporar

  • Salvare în Fișier…

Parametri avansați

Etichetă

Nume

Tipul

Descriere

Output raster data type

OUTPUT_TYPE

Implicit: 0

[enumerare]

Defines the data type of the output raster file. Options:

  • 0 — Float32

  • 1 — Float64

Lambda

LAMBDA

[număr]

Implicit: 1.0

Rezultat

Etichetă

Nume

Tipul

Descriere

Raster de ieșire

OUTPUT

[raster]

Raster covering the desired extent with the cell size filled with random values

Cod Python

ID Algorithm: nativ:createrandomexponentialrasterlayer

import processing
processing.run("algorithm_id", {parameter_dictionary})

ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.

28.1.16.4. Create random raster layer (gamma distribution)

Generates a raster layer for given extent and cell size filled with gamma distributed random values.

By default, the values will be chosen given an alpha and beta value of 1.0. This can be overridden by using the advanced parameter for alpha and beta. The raster data type is set to Float32 by default as the gamma distribution random values are floating point numbers.

Parametri

Parametri de bază

Etichetă

Nume

Tipul

Descriere

Desired extent

EXTENT

[extent]

Specify the spatial extent of the output raster layer. It will internally be extended to a multiple of the tile size.

Metodele disponibile sunt:

  • Calculate from layer…: uses extent of a layer loaded in the current project

  • Calculate from layout map…: uses extent of a layout map item in the active project

  • Calculate from bookmark…: uses extent of a saved bookmark

  • Use map canvas extent

  • Draw on canvas: click and drag a rectangle delimiting the area to take into account

  • Enter the coordinates as xmin, xmax, ymin, ymax

CRS-ul destinației

TARGET_CRS

[crs]

Implicit: CRS-ul proiectului

CRS for the output raster layer

Dimensiune pixel

PIXEL_SIZE

[număr]

Implicit: 1.0

Pixel size (X=Y) in map units.

Raster de ieșire

OUTPUT

[raster]

Implicit: [Salvare într-un fișier temporar]

Specification of the output raster. One of:

  • Salvare într-un Fișier Temporar

  • Salvare în Fișier…

Parametri avansați

Etichetă

Nume

Tipul

Descriere

Output raster data type

OUTPUT_TYPE

Implicit: 0

[enumerare]

Defines the data type of the output raster file. Options:

  • 0 — Float32

  • 1 — Float64

Alpha

ALPHA

[număr]

Implicit: 1.0

Beta

BETA

[număr]

Implicit: 1.0

Rezultat

Etichetă

Nume

Tipul

Descriere

Raster de ieșire

OUTPUT

[raster]

Raster covering the desired extent with the cell size filled with randomly distributed values

Cod Python

ID Algorithm: nativ:createrandomgammarasterlayer

import processing
processing.run("algorithm_id", {parameter_dictionary})

ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.

28.1.16.5. Create random raster layer (geometric distribution)

Generates a raster layer for given extent and cell size filled with geometrically distributed random values.

By default, the values will be chosen given a probability of 0.5. This can be overridden by using the advanced parameter for mean value. The raster data type is set to Integer types (Integer16 by default). The geometric distribution random values are defined as positive integer numbers. A floating point raster will represent a cast of integer values to floating point.

Parametri

Parametri de bază

Etichetă

Nume

Tipul

Descriere

Desired extent

EXTENT

[extent]

Specify the spatial extent of the output raster layer. It will internally be extended to a multiple of the tile size.

Metodele disponibile sunt:

  • Calculate from layer…: uses extent of a layer loaded in the current project

  • Calculate from layout map…: uses extent of a layout map item in the active project

  • Calculate from bookmark…: uses extent of a saved bookmark

  • Use map canvas extent

  • Draw on canvas: click and drag a rectangle delimiting the area to take into account

  • Enter the coordinates as xmin, xmax, ymin, ymax

CRS-ul destinației

TARGET_CRS

[crs]

Implicit: CRS-ul proiectului

CRS for the output raster layer

Dimensiune pixel

PIXEL_SIZE

[număr]

Implicit: 1.0

Pixel size (X=Y) in map units.

Raster de ieșire

OUTPUT

[raster]

Implicit: [Salvare într-un fișier temporar]

Specification of the output raster. One of:

  • Salvare într-un Fișier Temporar

  • Salvare în Fișier…

Parametri avansați

Etichetă

Nume

Tipul

Descriere

Output raster data type

OUTPUT_TYPE

Implicit: 0

[enumerare]

Defines the data type of the output raster file. Options:

  • 0 — Integer16

  • 1 — Unsigned Integer16

  • 2 — Integer32

  • 3 — Unsigned Integer32

  • 4 — Float32

  • 5 — Float64

Probabilitate

PROBABILITY

[număr]

Implicit: 0.5

Rezultat

Etichetă

Nume

Tipul

Descriere

Raster de ieșire

OUTPUT

[raster]

Raster covering the desired extent with the cell size filled with randomly distributed values

Cod Python

ID Algorithm: nativ:createrandomgeometricrasterlayer

import processing
processing.run("algorithm_id", {parameter_dictionary})

ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.

28.1.16.6. Create random raster layer (negative binomial distribution)

Generates a raster layer for given extent and cell size filled with negative binomially distributed random values.

By default, the values will be chosen given a distribution parameter k of 10.0 and a probability of 0.5. This can be overridden by using the advanced parameters for k and probability. The raster data type is set to Integer types (Integer16 by default). The negative binomial distribution random values are defined as positive integer numbers. A floating point raster will represent a cast of integer values to floating point.

Parametri

Parametri de bază

Etichetă

Nume

Tipul

Descriere

Desired extent

EXTENT

[extent]

Specify the spatial extent of the output raster layer. It will internally be extended to a multiple of the tile size.

Metodele disponibile sunt:

  • Calculate from layer…: uses extent of a layer loaded in the current project

  • Calculate from layout map…: uses extent of a layout map item in the active project

  • Calculate from bookmark…: uses extent of a saved bookmark

  • Use map canvas extent

  • Draw on canvas: click and drag a rectangle delimiting the area to take into account

  • Enter the coordinates as xmin, xmax, ymin, ymax

CRS-ul destinației

TARGET_CRS

[crs]

Implicit: CRS-ul proiectului

CRS for the output raster layer

Dimensiune pixel

PIXEL_SIZE

[număr]

Implicit: 1.0

Pixel size (X=Y) in map units.

Raster de ieșire

OUTPUT

[raster]

Implicit: [Salvare într-un fișier temporar]

Specification of the output raster. One of:

  • Salvare într-un Fișier Temporar

  • Salvare în Fișier…

Parametri avansați

Etichetă

Nume

Tipul

Descriere

Output raster data type

OUTPUT_TYPE

Implicit: 0

[enumerare]

Defines the data type of the output raster file. Options:

  • 0 — Integer16

  • 1 — Unsigned Integer16

  • 2 — Integer32

  • 3 — Unsigned Integer32

  • 4 — Float32

  • 5 — Float64

Distribution parameter k

K_PARAMETER

[număr]

Implicit: 10

Probabilitate

PROBABILITY

[număr]

Implicit: 0.5

Rezultat

Etichetă

Nume

Tipul

Descriere

Raster de ieșire

OUTPUT

[raster]

Raster covering the desired extent with the cell size filled with randomly distributed values

Cod Python

ID Algorithm: nativ:createrandomnegativebinomialrasterlayer

import processing
processing.run("algorithm_id", {parameter_dictionary})

ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.

28.1.16.7. Create random raster layer (normal distribution)

Generates a raster layer for given extent and cell size filled with normally distributed random values.

By default, the values will be chosen given a mean of 0.0 and a standard deviation of 1.0. This can be overridden by using the advanced parameters for mean and standard deviation value. The raster data type is set to Float32 by default as the normal distribution random values are floating point numbers.

Parametri

Parametri de bază

Etichetă

Nume

Tipul

Descriere

Desired extent

EXTENT

[extent]

Specify the spatial extent of the output raster layer. It will internally be extended to a multiple of the tile size.

Metodele disponibile sunt:

  • Calculate from layer…: uses extent of a layer loaded in the current project

  • Calculate from layout map…: uses extent of a layout map item in the active project

  • Calculate from bookmark…: uses extent of a saved bookmark

  • Use map canvas extent

  • Draw on canvas: click and drag a rectangle delimiting the area to take into account

  • Enter the coordinates as xmin, xmax, ymin, ymax

CRS-ul destinației

TARGET_CRS

[crs]

Implicit: CRS-ul proiectului

CRS for the output raster layer

Dimensiune pixel

PIXEL_SIZE

[număr]

Implicit: 1.0

Pixel size (X=Y) in map units.

Raster de ieșire

OUTPUT

[raster]

Implicit: [Salvare într-un fișier temporar]

Specification of the output raster. One of:

  • Salvare într-un Fișier Temporar

  • Salvare în Fișier…

Parametri avansați

Etichetă

Nume

Tipul

Descriere

Output raster data type

OUTPUT_TYPE

Implicit: 0

[enumerare]

Defines the data type of the output raster file. Options:

  • 0 — Float32

  • 1 — Float64

Media distribuției normale

MEAN

[număr]

Implicit: 0.0

Abaterea standard a distribuției normale

STDDEV

[număr]

Implicit: 1.0

Rezultat

Etichetă

Nume

Tipul

Descriere

Raster de ieșire

OUTPUT

[raster]

Raster covering the desired extent with the cell size filled with randomly distributed values

Cod Python

ID Algorithm: nativ:createrandomnormalrasterlayer

import processing
processing.run("algorithm_id", {parameter_dictionary})

ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.

28.1.16.8. Create random raster layer (poisson distribution)

Generates a raster layer for given extent and cell size filled with poisson distributed random values.

By default, the values will be chosen given a mean of 1.0. This can be overridden by using the advanced parameter for mean value. The raster data type is set to Integer types (Integer16 by default). The poisson distribution random values are positive integer numbers. A floating point raster will represent a cast of integer values to floating point.

Parametri

Parametri de bază

Etichetă

Nume

Tipul

Descriere

Desired extent

EXTENT

[extent]

Specify the spatial extent of the output raster layer. It will internally be extended to a multiple of the tile size.

Metodele disponibile sunt:

  • Calculate from layer…: uses extent of a layer loaded in the current project

  • Calculate from layout map…: uses extent of a layout map item in the active project

  • Calculate from bookmark…: uses extent of a saved bookmark

  • Use map canvas extent

  • Draw on canvas: click and drag a rectangle delimiting the area to take into account

  • Enter the coordinates as xmin, xmax, ymin, ymax

CRS-ul destinației

TARGET_CRS

[crs]

Implicit: CRS-ul proiectului

CRS for the output raster layer

Dimensiune pixel

PIXEL_SIZE

[număr]

Implicit: 1.0

Pixel size (X=Y) in map units.

Raster de ieșire

OUTPUT

[raster]

Implicit: [Salvare într-un fișier temporar]

Specification of the output raster. One of:

  • Salvare într-un Fișier Temporar

  • Salvare în Fișier…

Parametri avansați

Etichetă

Nume

Tipul

Descriere

Output raster data type

OUTPUT_TYPE

Implicit: 0

[enumerare]

Defines the data type of the output raster file. Options:

  • 0 — Integer16

  • 1 — Unsigned Integer16

  • 2 — Integer32

  • 3 — Unsigned Integer32

  • 4 — Float32

  • 5 — Float64

Mean

MEAN

[număr]

Implicit: 1.0

Rezultat

Etichetă

Nume

Tipul

Descriere

Raster de ieșire

OUTPUT

[raster]

Raster covering the desired extent with the cell size filled with randomly distributed values

Cod Python

ID Algorithm: nativ:createrandompoissonrasterlayer

import processing
processing.run("algorithm_id", {parameter_dictionary})

ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.

28.1.16.9. Create random raster layer (uniform distribution)

Generates a raster layer for given extent and cell size filled with random values.

By default, the values will range between the minimum and maximum value of the specified output raster type. This can be overridden by using the advanced parameters for lower and upper bound value. If the bounds have the same value or both are zero (default) the algorithm will create random values in the full value range of the chosen raster data type. Choosing bounds outside the acceptable range of the output raster type will abort the algorithm.

Parametri

Parametri de bază

Etichetă

Nume

Tipul

Descriere

Desired extent

EXTENT

[extent]

Specify the spatial extent of the output raster layer. It will internally be extended to a multiple of the tile size.

Metodele disponibile sunt:

  • Calculate from layer…: uses extent of a layer loaded in the current project

  • Calculate from layout map…: uses extent of a layout map item in the active project

  • Calculate from bookmark…: uses extent of a saved bookmark

  • Use map canvas extent

  • Draw on canvas: click and drag a rectangle delimiting the area to take into account

  • Enter the coordinates as xmin, xmax, ymin, ymax

CRS-ul destinației

TARGET_CRS

[crs]

Implicit: CRS-ul proiectului

CRS for the output raster layer

Dimensiune pixel

PIXEL_SIZE

[număr]

Implicit: 1.0

Pixel size (X=Y) in map units.

Raster de ieșire

OUTPUT

[raster]

Implicit: [Salvare într-un fișier temporar]

Specification of the output raster. One of:

  • Salvare într-un Fișier Temporar

  • Salvare în Fișier…

Parametri avansați

Etichetă

Nume

Tipul

Descriere

Output raster data type

OUTPUT_TYPE

Implicit: 5

[enumerare]

Defines the data type of the output raster file. Options:

  • 0 — Byte

  • 1 — Integer16

  • 2 — Unsigned Integer16

  • 3 — Integer32

  • 4 — Unsigned Integer32

  • 5 — Float32

  • 6 — Float64

Lower bound for random number range

LOWER_BOUND

[număr]

Implicit: 0.0

Upper bound for random number range

UPPER_BOUND

[număr]

Implicit: 0.0

Rezultat

Etichetă

Nume

Tipul

Descriere

Raster de ieșire

OUTPUT

[raster]

Raster covering the desired extent with the cell size filled with randomly distributed values

Cod Python

ID Algorithm: nativ:createrandomuniformrasterlayer

import processing
processing.run("algorithm_id", {parameter_dictionary})

ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.