Ważne

Tłumaczenie jest wysiłkiem społeczności QGISa przyłącz się. Ta strona jest obecnie przetłumaczona w 66.71%.

24.1.16. Raster - tworzenie

24.1.16.1. Utwórz warstwę rastrową o stałej wartości

Generuje warstwę rastrową dla podanego zasięgu i rozmiaru komórki wypełnionej określoną wartością.

Dodatkowo można określić typ danych wyjściowych. Algorytm zostanie przerwany, jeśli zostanie wprowadzona wartość, której nie można przedstawić za pomocą wybranego wyjściowego typu danych rastrowych.

Parametry

Parametry podstawowe

Etykieta

Nazwa

Typ

Opis

Zasięg docelowy

EXTENT

[zasięg]

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

Available methods are:

  • 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

Target CRS

TARGET_CRS

[układ współrzędnych]

Domyślnie: Układ projektu

CRS for the output raster layer

Rozmiar piksela

PIXEL_SIZE

[numeric: double]

Domyślnie: 1.0

Pixel size (X=Y) in map units.

Constant value

NUMBER

[numeric: double]

Domyślnie: 1.0

Constant pixel value for the output raster layer.

Constant

OUTPUT

[raster]

Domyślnie: [Zapisz do pliku tymczasowego]

Specification of the output raster. One of:

  • Zapisz do pliku tymczasowego

  • Zapisz do pliku…

Parametry zaawansowane

Etykieta

Nazwa

Typ

Opis

Output raster data type

OUTPUT_TYPE

Domyślnie: 5

[wyliczenie]

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

Opcje generowania

Opcjonalne

CREATE_OPTIONS

[ciąg tekstowy]

Domyślnie: «»

For adding one or more creation options that control the raster to be created (colors, block size, file compression…). For convenience, you can rely on predefined profiles (see GDAL driver options section).

Batch Process and Model Designer: separate multiple options with a pipe character (|).

Wyniki

Etykieta

Nazwa

Typ

Opis

Constant

OUTPUT

[raster]

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

Kod pythona

ID algorytmu: native:createconstantrasterlayer

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

The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.

24.1.16.2. Tworzenie losowej warstwy rastrowej (rozkład dwumianowy)

Tworzy warstwę rastrową dla danego zasięgu i rozmiaru komórki wypełnioną wartościami losowymi o rozkładzie dwumianowym.

Domyślnie wartości zostaną wybrane przy n równym 10 i prawdopodobieństwie 0,5. Można to zmienić za pomocą parametru zaawansowanego dla n i prawdopodobieństwa. Typ danych rastra jest ustawiony na liczbę całkowitą (domyślnie Integer16). Wartości losowe rozkładu dwumianowego są zdefiniowane jako dodatnie liczby całkowite. Raster zmiennoprzecinkowy będzie reprezentował rzutowanie wartości całkowitych na zmiennoprzecinkowe.

Parametry

Parametry podstawowe

Etykieta

Nazwa

Typ

Opis

Zasięg docelowy

EXTENT

[zasięg]

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

Available methods are:

  • 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

Target CRS

TARGET_CRS

[układ współrzędnych]

Domyślnie: Układ projektu

CRS for the output raster layer

Rozmiar piksela

PIXEL_SIZE

[numeric: double]

Domyślnie: 1.0

Pixel size (X=Y) in map units.

Raster wyjściowy

OUTPUT

[raster]

Domyślnie: [Zapisz do pliku tymczasowego]

Specification of the output raster. One of:

  • Zapisz do pliku tymczasowego

  • Zapisz do pliku…

Parametry zaawansowane

Etykieta

Nazwa

Typ

Opis

Output raster data type

OUTPUT_TYPE

Domyślnie: 0

[wyliczenie]

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

[numeric: integer]

Domyślnie: 10

Prawdopodobieństwo

PROBABILITY

[numeric: double]

Domyślnie: 0.5

Opcje generowania

Opcjonalne

CREATE_OPTIONS

[ciąg tekstowy]

Domyślnie: «»

For adding one or more creation options that control the raster to be created (colors, block size, file compression…). For convenience, you can rely on predefined profiles (see GDAL driver options section).

Batch Process and Model Designer: separate multiple options with a pipe character (|).

Wyniki

Etykieta

Nazwa

Typ

Opis

Raster wyjściowy

OUTPUT

[raster]

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

Kod pythona

ID algorytmu: native:createrandombinomialrasterlayer

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

The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.

24.1.16.3. Tworzenie losowej warstwy rastrowej (rozkład wykładniczy.

Tworzy warstwę rastrową dla danego zakresu i rozmiaru komórki wypełnioną wykładniczo rozłożonymi wartościami losowymi.

Domyślnie wartości będą wybierane przy lambda równej 1,0. Można to zmienić za pomocą zaawansowanego parametru lambda. Typ danych rastra jest domyślnie ustawiony na zmiennoprzecinkowe (Float32), ponieważ wartości losowe rozkładu wykładniczego są liczbami zmiennoprzecinkowymi.

Parametry

Parametry podstawowe

Etykieta

Nazwa

Typ

Opis

Zasięg docelowy

EXTENT

[zasięg]

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

Available methods are:

  • 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

Target CRS

TARGET_CRS

[układ współrzędnych]

Domyślnie: Układ projektu

CRS for the output raster layer

Rozmiar piksela

PIXEL_SIZE

[numeric: double]

Domyślnie: 1.0

Pixel size (X=Y) in map units.

Raster wyjściowy

OUTPUT

[raster]

Domyślnie: [Zapisz do pliku tymczasowego]

Specification of the output raster. One of:

  • Zapisz do pliku tymczasowego

  • Zapisz do pliku…

Parametry zaawansowane

Etykieta

Nazwa

Typ

Opis

Output raster data type

OUTPUT_TYPE

Domyślnie: 0

[wyliczenie]

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

  • 0 — Float32

  • 1 — Float64

Lambda

LAMBDA

[numeric: double]

Domyślnie: 1.0

Opcje generowania

Opcjonalne

CREATE_OPTIONS

[ciąg tekstowy]

Domyślnie: «»

For adding one or more creation options that control the raster to be created (colors, block size, file compression…). For convenience, you can rely on predefined profiles (see GDAL driver options section).

Batch Process and Model Designer: separate multiple options with a pipe character (|).

Wyniki

Etykieta

Nazwa

Typ

Opis

Raster wyjściowy

OUTPUT

[raster]

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

Kod pythona

ID algorytmu: native:createrandomexponentialrasterlayer

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

The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.

24.1.16.4. Tworzenie losowej warstwy rastrowej (rozkład gamma)

Tworzy warstwę rastrową o podanym zakresie i rozmiarze komórki wypełnioną losowymi wartościami o rozkładzie gamma.

Domyślnie wartości będą wybierane przy wartości alfa i beta równej 1,0. Można to zmienić za pomocą parametru zaawansowanego dla alfa i beta. Typ danych rastra jest domyślnie ustawiony na zmiennoprzecinkowy (Float32), ponieważ wartości losowe rozkładu gamma są liczbami zmiennoprzecinkowymi.

Parametry

Parametry podstawowe

Etykieta

Nazwa

Typ

Opis

Zasięg docelowy

EXTENT

[zasięg]

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

Available methods are:

  • 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

Target CRS

TARGET_CRS

[układ współrzędnych]

Domyślnie: Układ projektu

CRS for the output raster layer

Rozmiar piksela

PIXEL_SIZE

[numeric: double]

Domyślnie: 1.0

Pixel size (X=Y) in map units.

Raster wyjściowy

OUTPUT

[raster]

Domyślnie: [Zapisz do pliku tymczasowego]

Specification of the output raster. One of:

  • Zapisz do pliku tymczasowego

  • Zapisz do pliku…

Parametry zaawansowane

Etykieta

Nazwa

Typ

Opis

Output raster data type

OUTPUT_TYPE

Domyślnie: 0

[wyliczenie]

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

  • 0 — Float32

  • 1 — Float64

Alpha

ALPHA

[numeric: double]

Domyślnie: 1.0

Beta

BETA

[numeric: double]

Domyślnie: 1.0

Opcje generowania

Opcjonalne

CREATE_OPTIONS

[ciąg tekstowy]

Domyślnie: «»

For adding one or more creation options that control the raster to be created (colors, block size, file compression…). For convenience, you can rely on predefined profiles (see GDAL driver options section).

Batch Process and Model Designer: separate multiple options with a pipe character (|).

Wyniki

Etykieta

Nazwa

Typ

Opis

Raster wyjściowy

OUTPUT

[raster]

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

Kod pythona

ID algorytmu: native:createrandomgammarasterlayer

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

The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.

24.1.16.5. Tworzenie losowej warstwy rastrowej (rozkład geometryczny)

Tworzy warstwę rastrową o podanym zasięgu i rozmiarze komórki wypełnioną geometrycznie rozłożonymi wartościami losowymi.

Domyślnie wartości będą wybierane z prawdopodobieństwem 0,5. Można to zmienić za pomocą parametru zaawansowanego dla średniej. Typ danych rastra jest ustawiony na liczby całkowite (domyślnie Integer16). Wartości losowe rozkładu geometrycznego są zdefiniowane jako dodatnie liczby całkowite. Raster zmiennoprzecinkowy będzie reprezentował rzutowanie wartości całkowitych na zmiennoprzecinkowe.

Parametry

Parametry podstawowe

Etykieta

Nazwa

Typ

Opis

Zasięg docelowy

EXTENT

[zasięg]

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

Available methods are:

  • 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

Target CRS

TARGET_CRS

[układ współrzędnych]

Domyślnie: Układ projektu

CRS for the output raster layer

Rozmiar piksela

PIXEL_SIZE

[numeric: double]

Domyślnie: 1.0

Pixel size (X=Y) in map units.

Raster wyjściowy

OUTPUT

[raster]

Domyślnie: [Zapisz do pliku tymczasowego]

Specification of the output raster. One of:

  • Zapisz do pliku tymczasowego

  • Zapisz do pliku…

Parametry zaawansowane

Etykieta

Nazwa

Typ

Opis

Output raster data type

OUTPUT_TYPE

Domyślnie: 0

[wyliczenie]

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

  • 0 — Integer16

  • 1 — Unsigned Integer16

  • 2 — Integer32

  • 3 — Unsigned Integer32

  • 4 — Float32

  • 5 — Float64

Prawdopodobieństwo

PROBABILITY

[numeric: double]

Domyślnie: 0.5

Opcje generowania

Opcjonalne

CREATE_OPTIONS

[ciąg tekstowy]

Domyślnie: «»

For adding one or more creation options that control the raster to be created (colors, block size, file compression…). For convenience, you can rely on predefined profiles (see GDAL driver options section).

Batch Process and Model Designer: separate multiple options with a pipe character (|).

Wyniki

Etykieta

Nazwa

Typ

Opis

Raster wyjściowy

OUTPUT

[raster]

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

Kod pythona

ID algorytmu: native:createrandomgeometricrasterlayer

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

The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.

24.1.16.6. Tworzenie losowej warstwy rastrowej (ujemny rozkład dwumianowy)

Tworzy warstwę rastrową dla danego zasięgu i rozmiaru komórki wypełnioną wartościami losowymi o ujemnym rozkładzie dwumianowym.

Domyślnie wartości zostaną wybrane przy parametrze dystrybucji równym 10 i prawdopodobieństwie 0,5. Można to zmienić za pomocą parametru zaawansowanego dla k i prawdopodobieństwa. Typ danych rastra jest ustawiony na liczbę całkowitą (domyślnie Integer16). Wartości losowe ujemnego rozkładu dwumianowego są zdefiniowane jako dodatnie liczby całkowite. Raster zmiennoprzecinkowy będzie reprezentował rzutowanie wartości całkowitych na zmiennoprzecinkowe.

Parametry

Parametry podstawowe

Etykieta

Nazwa

Typ

Opis

Zasięg docelowy

EXTENT

[zasięg]

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

Available methods are:

  • 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

Target CRS

TARGET_CRS

[układ współrzędnych]

Domyślnie: Układ projektu

CRS for the output raster layer

Rozmiar piksela

PIXEL_SIZE

[numeric: double]

Domyślnie: 1.0

Pixel size (X=Y) in map units.

Raster wyjściowy

OUTPUT

[raster]

Domyślnie: [Zapisz do pliku tymczasowego]

Specification of the output raster. One of:

  • Zapisz do pliku tymczasowego

  • Zapisz do pliku…

Parametry zaawansowane

Etykieta

Nazwa

Typ

Opis

Output raster data type

OUTPUT_TYPE

Domyślnie: 0

[wyliczenie]

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

[numeric: integer]

Domyślnie: 10

Prawdopodobieństwo

PROBABILITY

[numeric: double]

Domyślnie: 0.5

Opcje generowania

Opcjonalne

CREATE_OPTIONS

[ciąg tekstowy]

Domyślnie: «»

For adding one or more creation options that control the raster to be created (colors, block size, file compression…). For convenience, you can rely on predefined profiles (see GDAL driver options section).

Batch Process and Model Designer: separate multiple options with a pipe character (|).

Wyniki

Etykieta

Nazwa

Typ

Opis

Raster wyjściowy

OUTPUT

[raster]

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

Kod pythona

ID algorytmu: native:createrandomnegativebinomialrasterlayer

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

The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.

24.1.16.7. Tworzenie losowej warstwy rastrowej (rozkład normalny)

Tworzy warstwę rastrową o podanym zakresie i rozmiarze komórki wypełnioną losowymi wartościami o rozkładzie normalnym.

Domyślnie wartości będą wybierane przy średniej równej 0,0 i odchyleniu standardowym równym 1,0. Można to zmienić za pomocą parametru zaawansowanego dla średniej i odchylenia standardowego. Typ danych rastra jest domyślnie ustawiony na zmiennoprzecinkowy (Float32), ponieważ wartości losowe rozkładu normalnego są liczbami zmiennoprzecinkowymi.

Parametry

Parametry podstawowe

Etykieta

Nazwa

Typ

Opis

Zasięg docelowy

EXTENT

[zasięg]

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

Available methods are:

  • 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

Target CRS

TARGET_CRS

[układ współrzędnych]

Domyślnie: Układ projektu

CRS for the output raster layer

Rozmiar piksela

PIXEL_SIZE

[numeric: double]

Domyślnie: 1.0

Pixel size (X=Y) in map units.

Raster wyjściowy

OUTPUT

[raster]

Domyślnie: [Zapisz do pliku tymczasowego]

Specification of the output raster. One of:

  • Zapisz do pliku tymczasowego

  • Zapisz do pliku…

Parametry zaawansowane

Etykieta

Nazwa

Typ

Opis

Output raster data type

OUTPUT_TYPE

Domyślnie: 0

[wyliczenie]

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

  • 0 — Float32

  • 1 — Float64

Mean of normal distribution

MEAN

[numeric: double]

Domyślnie: 0.0

Standard deviation of normal distribution

STDDEV

[numeric: double]

Domyślnie: 1.0

Opcje generowania

Opcjonalne

CREATE_OPTIONS

[ciąg tekstowy]

Domyślnie: «»

For adding one or more creation options that control the raster to be created (colors, block size, file compression…). For convenience, you can rely on predefined profiles (see GDAL driver options section).

Batch Process and Model Designer: separate multiple options with a pipe character (|).

Wyniki

Etykieta

Nazwa

Typ

Opis

Raster wyjściowy

OUTPUT

[raster]

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

Kod pythona

ID algorytmu: native:createrandomnormalrasterlayer

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

The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.

24.1.16.8. Tworzenie losowej warstwy rastrowej (rozkład Poissona)

Tworzy warstwę rastrową o podanym zasięgu i rozmiarze komórki wypełnioną wartościami losowymi o rozkładzie Poissona.

Domyślnie wartości będą wybierane ze średnią 1,0. Można to zmienić za pomocą parametru zaawansowanego dla wartości średniej. Typ danych rastra jest ustawiony na liczby całkowite (domyślnie Integer16). Wartości losowe rozkładu Poissona są dodatnimi liczbami całkowitymi. Raster zmiennoprzecinkowy będzie reprezentował rzutowanie wartości całkowitych na zmiennoprzecinkowe.

Parametry

Parametry podstawowe

Etykieta

Nazwa

Typ

Opis

Zasięg docelowy

EXTENT

[zasięg]

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

Available methods are:

  • 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

Target CRS

TARGET_CRS

[układ współrzędnych]

Domyślnie: Układ projektu

CRS for the output raster layer

Rozmiar piksela

PIXEL_SIZE

[numeric: double]

Domyślnie: 1.0

Pixel size (X=Y) in map units.

Raster wyjściowy

OUTPUT

[raster]

Domyślnie: [Zapisz do pliku tymczasowego]

Specification of the output raster. One of:

  • Zapisz do pliku tymczasowego

  • Zapisz do pliku…

Parametry zaawansowane

Etykieta

Nazwa

Typ

Opis

Output raster data type

OUTPUT_TYPE

Domyślnie: 0

[wyliczenie]

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

  • 0 — Integer16

  • 1 — Unsigned Integer16

  • 2 — Integer32

  • 3 — Unsigned Integer32

  • 4 — Float32

  • 5 — Float64

Średnia

MEAN

[numeric: double]

Domyślnie: 1.0

Opcje generowania

Opcjonalne

CREATE_OPTIONS

[ciąg tekstowy]

Domyślnie: «»

For adding one or more creation options that control the raster to be created (colors, block size, file compression…). For convenience, you can rely on predefined profiles (see GDAL driver options section).

Batch Process and Model Designer: separate multiple options with a pipe character (|).

Wyniki

Etykieta

Nazwa

Typ

Opis

Raster wyjściowy

OUTPUT

[raster]

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

Kod pythona

ID algorytmu: native:createrandompoissonrasterlayer

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

The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.

24.1.16.9. Tworzenie losowej warstwy rastrowej (rozkład jednostajny)

Tworzy warstwę rastrową o podanym zakresie i rozmiarze komórki wypełnioną losowymi wartościami.

Domyślnie wartości będą zawierać się między minimalną i maksymalną wartością określonego typu rastra wyjściowego. Można to zmienić za pomocą zaawansowanych parametrów dla dolnej i górnej wartości granicznej. Jeśli wartości graniczne mają taką samą wartość lub obie wynoszą zero (domyślnie), algorytm będzie tworzył losowe wartości w pełnym zakresie wartości wybranego typu danych rastrowych. Wybranie granic poza dopuszczalnym zakresem wyjściowego typu rastra spowoduje przerwanie algorytmu.

Parametry

Parametry podstawowe

Etykieta

Nazwa

Typ

Opis

Zasięg docelowy

EXTENT

[zasięg]

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

Available methods are:

  • 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

Target CRS

TARGET_CRS

[układ współrzędnych]

Domyślnie: Układ projektu

CRS for the output raster layer

Rozmiar piksela

PIXEL_SIZE

[numeric: double]

Domyślnie: 1.0

Pixel size (X=Y) in map units.

Raster wyjściowy

OUTPUT

[raster]

Domyślnie: [Zapisz do pliku tymczasowego]

Specification of the output raster. One of:

  • Zapisz do pliku tymczasowego

  • Zapisz do pliku…

Parametry zaawansowane

Etykieta

Nazwa

Typ

Opis

Output raster data type

OUTPUT_TYPE

Domyślnie: 5

[wyliczenie]

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

[numeric: double]

Domyślnie: 0.0

Upper bound for random number range

UPPER_BOUND

[numeric: double]

Domyślnie: 0.0

Opcje generowania

Opcjonalne

CREATE_OPTIONS

[ciąg tekstowy]

Domyślnie: «»

For adding one or more creation options that control the raster to be created (colors, block size, file compression…). For convenience, you can rely on predefined profiles (see GDAL driver options section).

Batch Process and Model Designer: separate multiple options with a pipe character (|).

Wyniki

Etykieta

Nazwa

Typ

Opis

Raster wyjściowy

OUTPUT

[raster]

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

Kod pythona

ID algorytmu: native:createrandomuniformrasterlayer

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

The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.