Svarbu
Vertimas yra bendruomenės pastangos, prie kurių jūs galite prisijungti. Šis puslapis šiuo metu išverstas 58.52%.
24.1.11. Metadata tools
24.1.11.1. Add history metadata
Added in 3.42
Adds a new history entry to the layer’s metadata.
Parametrai
Užrašas |
Pavadinimas |
Tipas |
Aprašymas |
|---|---|---|---|
Layer |
|
[layer] |
The input layer (vector, raster, etc.) to which the history entry will be added. |
History entry |
|
[tekstas] |
The text to be appended as a new entry in the layer’s history metadata. This will be added to any existing history entries. |
Išvestys
Užrašas |
Pavadinimas |
Tipas |
Aprašymas |
|---|---|---|---|
Išvestis |
|
[toks pat, kaip įvestis] |
The resulting layer with the updated history in its Metadata properties. |
Pythono kodas
Algorithm ID: native:addhistorymetadata
import processing
processing.run("algorithm_id", {parameter_dictionary})
algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.
24.1.11.2. Copy Layer Metadata
Added in 3.42
Copies metadata from a source layer to a target layer. Any existing metadata in the target layer will be replaced with the metadata from the source layer. This includes all metadata fields, such as history, abstract, and other properties.
Parametrai
Užrašas |
Pavadinimas |
Tipas |
Aprašymas |
|---|---|---|---|
Source layer |
|
[layer] |
The layer from which metadata will be copied. |
Target layer |
|
[layer] |
The layer to which metadata will be pasted. Any existing metadata in this layer will be replaced. |
Save metadata as default |
|
[loginis] Numatytas: ne |
If checked, the metadata information will be saved with the layer, hence available by default in subsequent projects. |
Išvestys
Užrašas |
Pavadinimas |
Tipas |
Aprašymas |
|---|---|---|---|
Išvesties sluoksnis |
|
[layer] |
The target layer with the metadata replaced by the metadata from the source layer. This includes all metadata fields, such as history, abstract, and other properties. |
Pythono kodas
Algorithm ID: native:copylayermetadata
import processing
processing.run("algorithm_id", {parameter_dictionary})
algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.
24.1.11.3. Export Layer Metadata
Added in 3.42
Exports the metadata of a layer to a QMD file.
Parametrai
Užrašas |
Pavadinimas |
Tipas |
Aprašymas |
|---|---|---|---|
Layer |
|
[layer] |
The layer whose metadata will be exported. |
Išvestis |
|
[failas] Numatytas: |
Išvesties failo specifikacija. Vienas iš:
|
Išvestys
Užrašas |
Pavadinimas |
Tipas |
Aprašymas |
|---|---|---|---|
Išvesties failas |
|
[failas] |
The |
Pythono kodas
Algorithm ID: native:exportlayermetadata
import processing
processing.run("algorithm_id", {parameter_dictionary})
algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.
24.1.11.4. Set Layer Metadata
Added in 3.42
Applies metadata to a layer from a .qmd file.
Parametrai
Užrašas |
Pavadinimas |
Tipas |
Aprašymas |
|---|---|---|---|
Layer |
|
[layer] |
The layer to which the metadata will be applied. |
Metadata file |
|
[failas] |
The |
Save metadata as default |
|
[loginis] Numatytas: ne |
If checked, the metadata information will be saved with the layer, hence available by default in subsequent projects. |
Išvestys
Užrašas |
Pavadinimas |
Tipas |
Aprašymas |
|---|---|---|---|
Išvesties sluoksnis |
|
[toks pat, kaip įvestis] |
The input layer with the metadata replaced by the metadata from the |
Pythono kodas
Algorithm ID: native:setlayermetadata
import processing
processing.run("algorithm_id", {parameter_dictionary})
algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.
24.1.11.5. Set Metadata Fields
Added in 3.42
Sets various metadata fields for a layer.
Parametrai
Užrašas |
Pavadinimas |
Tipas |
Aprašymas |
|---|---|---|---|
Layer |
|
[layer] |
The layer whose metadata fields will be updated |
Identifier Pasirinktinis |
|
[tekstas] |
A unique identifier for the layer |
Parent identifier Pasirinktinis |
|
[tekstas] |
The identifier of the parent resource, if applicable |
Title Pasirinktinis |
|
[tekstas] |
The title of the layer |
Type Pasirinktinis |
|
[tekstas] |
The type of data stored in the layer |
Language Pasirinktinis |
|
[tekstas] |
The language of the metadata |
Koduotė Pasirinktinis |
|
[tekstas] |
The character encoding used in the metadata |
Abstract Pasirinktinis |
|
[tekstas] |
A brief description or abstract of the layer |
Coordinate reference system Pasirinktinis |
|
[crs] |
The coordinate reference system of the layer |
Fees Pasirinktinis |
|
[tekstas] |
Information about any fees associated with accessing the layer |
Ignore empty fields |
|
[loginis] Numatytas: ne |
If checked, no update will be done to metadata fields that are not filled |
Išvestys
Užrašas |
Pavadinimas |
Tipas |
Aprašymas |
|---|---|---|---|
Išvesties sluoksnis |
|
[toks pat, kaip įvestis] |
The input layer with the specified metadata fields updated. |
Pythono kodas
Algorithm ID: native:setmetadatafields
import processing
processing.run("algorithm_id", {parameter_dictionary})
algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.
24.1.11.6. Update Layer Metadata
Added in 3.42
Copies all non-empty metadata fields from a source layer to a target layer. Leaves empty input fields unchanged in the target.
Parametrai
Užrašas |
Pavadinimas |
Tipas |
Aprašymas |
|---|---|---|---|
Source layer |
|
[layer] |
The layer from which non-empty metadata fields will be copied |
Target layer |
|
[layer] |
The layer to which non-empty metadata fields will be pasted. Empty fields in the source layer will not overwrite existing metadata in the target layer. |
Išvestys
Užrašas |
Pavadinimas |
Tipas |
Aprašymas |
|---|---|---|---|
Target layer |
|
[layer] |
The target layer with updated metadata. |
Pythono kodas
Algorithm ID: native:updatelayermetadata
import processing
processing.run("algorithm_id", {parameter_dictionary})
algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.