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 |
|
[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:
|
Target CRS |
|
[układ współrzędnych] Domyślnie: Układ projektu |
CRS for the output raster layer |
Rozmiar piksela |
|
[numeric: double] Domyślnie: 1.0 |
Pixel size (X=Y) in map units. |
Constant value |
|
[numeric: double] Domyślnie: 1.0 |
Constant pixel value for the output raster layer. |
Constant |
|
[raster] Domyślnie: |
Specification of the output raster. One of:
|
Parametry zaawansowane
Etykieta |
Nazwa |
Typ |
Opis |
|---|---|---|---|
Output raster data type |
Domyślnie: 5 |
[wyliczenie] |
Defines the data type of the output raster file. Options:
|
Opcje generowania Opcjonalne |
|
[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 |
|
[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 |
|
[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:
|
Target CRS |
|
[układ współrzędnych] Domyślnie: Układ projektu |
CRS for the output raster layer |
Rozmiar piksela |
|
[numeric: double] Domyślnie: 1.0 |
Pixel size (X=Y) in map units. |
Raster wyjściowy |
|
[raster] Domyślnie: |
Specification of the output raster. One of:
|
Parametry zaawansowane
Etykieta |
Nazwa |
Typ |
Opis |
|---|---|---|---|
Output raster data type |
Domyślnie: 0 |
[wyliczenie] |
Defines the data type of the output raster file. Options:
|
N |
|
[numeric: integer] Domyślnie: 10 |
|
Prawdopodobieństwo |
|
[numeric: double] Domyślnie: 0.5 |
|
Opcje generowania Opcjonalne |
|
[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 |
|
[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 |
|
[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:
|
Target CRS |
|
[układ współrzędnych] Domyślnie: Układ projektu |
CRS for the output raster layer |
Rozmiar piksela |
|
[numeric: double] Domyślnie: 1.0 |
Pixel size (X=Y) in map units. |
Raster wyjściowy |
|
[raster] Domyślnie: |
Specification of the output raster. One of:
|
Parametry zaawansowane
Etykieta |
Nazwa |
Typ |
Opis |
|---|---|---|---|
Output raster data type |
Domyślnie: 0 |
[wyliczenie] |
Defines the data type of the output raster file. Options:
|
Lambda |
|
[numeric: double] Domyślnie: 1.0 |
|
Opcje generowania Opcjonalne |
|
[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 |
|
[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 |
|
[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:
|
Target CRS |
|
[układ współrzędnych] Domyślnie: Układ projektu |
CRS for the output raster layer |
Rozmiar piksela |
|
[numeric: double] Domyślnie: 1.0 |
Pixel size (X=Y) in map units. |
Raster wyjściowy |
|
[raster] Domyślnie: |
Specification of the output raster. One of:
|
Parametry zaawansowane
Etykieta |
Nazwa |
Typ |
Opis |
|---|---|---|---|
Output raster data type |
Domyślnie: 0 |
[wyliczenie] |
Defines the data type of the output raster file. Options:
|
Alpha |
|
[numeric: double] Domyślnie: 1.0 |
|
Beta |
|
[numeric: double] Domyślnie: 1.0 |
|
Opcje generowania Opcjonalne |
|
[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 |
|
[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 |
|
[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:
|
Target CRS |
|
[układ współrzędnych] Domyślnie: Układ projektu |
CRS for the output raster layer |
Rozmiar piksela |
|
[numeric: double] Domyślnie: 1.0 |
Pixel size (X=Y) in map units. |
Raster wyjściowy |
|
[raster] Domyślnie: |
Specification of the output raster. One of:
|
Parametry zaawansowane
Etykieta |
Nazwa |
Typ |
Opis |
|---|---|---|---|
Output raster data type |
Domyślnie: 0 |
[wyliczenie] |
Defines the data type of the output raster file. Options:
|
Prawdopodobieństwo |
|
[numeric: double] Domyślnie: 0.5 |
|
Opcje generowania Opcjonalne |
|
[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 |
|
[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 |
|
[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:
|
Target CRS |
|
[układ współrzędnych] Domyślnie: Układ projektu |
CRS for the output raster layer |
Rozmiar piksela |
|
[numeric: double] Domyślnie: 1.0 |
Pixel size (X=Y) in map units. |
Raster wyjściowy |
|
[raster] Domyślnie: |
Specification of the output raster. One of:
|
Parametry zaawansowane
Etykieta |
Nazwa |
Typ |
Opis |
|---|---|---|---|
Output raster data type |
Domyślnie: 0 |
[wyliczenie] |
Defines the data type of the output raster file. Options:
|
Distribution parameter k |
|
[numeric: integer] Domyślnie: 10 |
|
Prawdopodobieństwo |
|
[numeric: double] Domyślnie: 0.5 |
|
Opcje generowania Opcjonalne |
|
[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 |
|
[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 |
|
[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:
|
Target CRS |
|
[układ współrzędnych] Domyślnie: Układ projektu |
CRS for the output raster layer |
Rozmiar piksela |
|
[numeric: double] Domyślnie: 1.0 |
Pixel size (X=Y) in map units. |
Raster wyjściowy |
|
[raster] Domyślnie: |
Specification of the output raster. One of:
|
Parametry zaawansowane
Etykieta |
Nazwa |
Typ |
Opis |
|---|---|---|---|
Output raster data type |
Domyślnie: 0 |
[wyliczenie] |
Defines the data type of the output raster file. Options:
|
Mean of normal distribution |
|
[numeric: double] Domyślnie: 0.0 |
|
Standard deviation of normal distribution |
|
[numeric: double] Domyślnie: 1.0 |
|
Opcje generowania Opcjonalne |
|
[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 |
|
[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 |
|
[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:
|
Target CRS |
|
[układ współrzędnych] Domyślnie: Układ projektu |
CRS for the output raster layer |
Rozmiar piksela |
|
[numeric: double] Domyślnie: 1.0 |
Pixel size (X=Y) in map units. |
Raster wyjściowy |
|
[raster] Domyślnie: |
Specification of the output raster. One of:
|
Parametry zaawansowane
Etykieta |
Nazwa |
Typ |
Opis |
|---|---|---|---|
Output raster data type |
Domyślnie: 0 |
[wyliczenie] |
Defines the data type of the output raster file. Options:
|
Średnia |
|
[numeric: double] Domyślnie: 1.0 |
|
Opcje generowania Opcjonalne |
|
[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 |
|
[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 |
|
[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:
|
Target CRS |
|
[układ współrzędnych] Domyślnie: Układ projektu |
CRS for the output raster layer |
Rozmiar piksela |
|
[numeric: double] Domyślnie: 1.0 |
Pixel size (X=Y) in map units. |
Raster wyjściowy |
|
[raster] Domyślnie: |
Specification of the output raster. One of:
|
Parametry zaawansowane
Etykieta |
Nazwa |
Typ |
Opis |
|---|---|---|---|
Output raster data type |
Domyślnie: 5 |
[wyliczenie] |
Defines the data type of the output raster file. Options:
|
Lower bound for random number range |
|
[numeric: double] Domyślnie: 0.0 |
|
Upper bound for random number range |
|
[numeric: double] Domyślnie: 0.0 |
|
Opcje generowania Opcjonalne |
|
[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 |
|
[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.