Important

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

28.1.7. Layer tools

28.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.

Parametri

Etichetă

Nume

Tipul

Descriere

Straturi de intrare

LAYERS

[vector: oricare] [list]

Input vector layers to get information on.

Rezultat

OUTPUT

[vector: poligon]

Implicit: [Creare Strat temporar]

Specification of the output layer with information. One of:

  • Create Temporary Layer (TEMPORARY_OUTPUT)

  • Salvare în Fișier…

  • Salvare în Geopackage…

  • Salvare în Tabela Bazei de Date…

The file encoding can also be changed here.

Rezultat

Etichetă

Nume

Tipul

Descriere

Rezultat

OUTPUT

[vector: poligon]

Polygon vector layer showing extent of input layers and associated information in attributes.

Cod Python

ID Algorithm: nativ:exportlayersinformation

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.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.

Parametri

Etichetă

Nume

Tipul

Descriere

Straturi de intrare

LAYERS

[vector: oricare] [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

USE_ALIAS

[boolean]

Implicit: False

Use the field aliases from the attribute table for the spreadsheet.

Export formatted values instead of raw values

FORMATTED_VALUES

[boolean]

Implicit: False

If True, exports the formatted, human readable values (e.g., from a value map or value relation) to the spreadsheet.

Overwrite existing spreadsheet

OVERWRITE

[boolean]

Implicit: True

If the specified spreadsheet exists, setting this option to True will overwrite the existing spreadsheet. If this option is False and the spreadsheet exists, the layers will be appended as additional sheets.

Destination spreadsheet

OUTPUT

[file]

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

Output spreadsheet with a sheet for every layer. One of:

  • Salvare într-un Fișier Temporar

  • Salvare în Fișier…

Rezultat

Etichetă

Nume

Tipul

Descriere

Destination spreadsheet

OUTPUT

[file]

Spreadsheet with a sheet for every layer.

Layers within spreadsheet

OUTPUT_LAYERS

[list]

The list of sheets added to the spreadsheet.

Cod Python

ID Algorithm: nativ:exporttospreadsheet

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.7.3. Extragere extindere din strat

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.

../../../../_images/extract_layer_extent.png

Fig. 28.7 In red the bounding box of the source layer

Default menu: Vector ► Research Tools

Parametri

Etichetă

Nume

Tipul

Descriere

Strat

INPUT

[strat]

Strat de intrare

Extindere

OUTPUT

[vector: poligon]

Implicit: [Creare Strat temporar]

Specify the polygon vector layer for the output extent. One of:

  • Create Temporary Layer (TEMPORARY_OUTPUT)

  • Salvare în Fișier…

  • Salvare în Geopackage…

  • Salvare în Tabela Bazei de Date…

The file encoding can also be changed here.

Rezultat

Etichetă

Nume

Tipul

Descriere

Extindere

OUTPUT

[vector: poligon]

Output (polygon) vector layer with the extent (minimum bounding box)

Cod Python

Algorithm ID: qgis:polygonfromlayerextent

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ă.