Ważne
Tłumaczenie jest wysiłkiem społeczności QGISa przyłącz się. Ta strona jest obecnie przetłumaczona w 66.12%.
24.1.7. Layer tools
24.1.7.1. Export layer(s) information
Creates a polygon layer with features corresponding to the extent of selected layer(s).
Additional layer details (CRS, provider name, file path, layer name, subset filter, abstract and attribution) are attached as attributes to each feature.
Parametry
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Warstwy wejściowe |
|
[layer] [list] |
Input layers to get information on. |
Wynik |
|
[vector: polygon] Default: |
Specification of the output layer with information. One of:
The file encoding can also be changed here. |
Wyniki
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Wynik |
|
[vector: polygon] |
Polygon vector layer showing extent of input layers and associated information in attributes. |
Kod pythona
ID algorytmu: native:exportlayersinformation
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.7.2. Export to spreadsheet
Exports the attributes of a selection of vector layers into a spreadsheet document or optionally appends them to an existing spreadsheet as additional sheets.
Parametry
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Warstwy wejściowe |
|
[vector: any] [list] |
Input vector layers. The output spreadsheet will consist of a sheet, for each layer, that contains the attributes of this layer. |
Use field aliases as column headings |
|
[wartość logiczna] Domyślnie: False |
Use the field aliases from the attribute table for the spreadsheet. |
Export formatted values instead of raw values |
|
[wartość logiczna] Domyślnie: False |
If |
Overwrite existing spreadsheet |
|
[wartość logiczna] Domyślnie: True |
If the specified spreadsheet exists, setting this option to |
Destination spreadsheet |
|
[plik] Domyślnie: |
Output spreadsheet with a sheet for every layer. One of:
|
Wyniki
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Destination spreadsheet |
|
[plik] |
Spreadsheet with a sheet for every layer. |
Layers within spreadsheet |
|
[lista] |
The list of sheets added to the spreadsheet. |
Kod pythona
ID algorytmu: native:exporttospreadsheet
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.7.3. Extract layer extent
Generates a vector layer with the minimum bounding box (rectangle with N-S orientation) that covers all the input features.
The output layer contains a single bounding box for the whole input layer.

Rys. 24.7 In red the bounding box of the source layer
Default menu:
Parametry
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Warstwa |
|
[warstwa] |
Input layer |
Zasięg |
|
[vector: polygon] Default: |
Specify the polygon vector layer for the output extent. One of:
The file encoding can also be changed here. |
Wyniki
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Zasięg |
|
[vector: polygon] |
Output (polygon) vector layer with the extent (minimum bounding box) |
Kod pythona
ID algorytmu: qgis:polygonfromlayerextent
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.