중요

번역은 여러분이 참여할 수 있는 커뮤니티 활동입니다. 이 페이지는 현재 65.07% 번역되었습니다.

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.

파라미터

라벨

이름

유형

설명

Layer

INPUT

[layer]

The input layer (vector, raster, etc.) to which the history entry will be added.

History entry

HISTORY

[string]

The text to be appended as a new entry in the layer’s history metadata. This will be added to any existing history entries.

산출물

라벨

이름

유형

설명

Output

OUTPUT

[same as input]

The resulting layer with the updated history in its Metadata properties.

파이썬 코드

Algorithm ID: native:addhistorymetadata

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.

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.

파라미터

라벨

이름

유형

설명

Source layer

SOURCE

[layer]

The layer from which metadata will be copied.

Target layer

TARGET

[layer]

The layer to which metadata will be pasted. Any existing metadata in this layer will be replaced.

Save metadata as default

DEFAULT

[boolean]

기본값: False

If checked, the metadata information will be saved with the layer, hence available by default in subsequent projects.

산출물

라벨

이름

유형

설명

Output layer

OUTPUT

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

파이썬 코드

Algorithm ID: native:copylayermetadata

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.

24.1.11.3. Export Layer Metadata

Added in 3.42

Exports the metadata of a layer to a QMD file.

파라미터

라벨

이름

유형

설명

Layer

INPUT

[layer]

The layer whose metadata will be exported.

Output

OUTPUT

[file]

기본값: [Save to temporary file]

Specification of the output file. One of:

  • 임시 파일로 저장

  • 파일로 저장…

산출물

라벨

이름

유형

설명

Output file

OUTPUT

[file]

The .qmd file containing the exported metadata. This file can be used to import metadata into another layer.

파이썬 코드

Algorithm ID: native:exportlayermetadata

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.

24.1.11.4. Set Layer Metadata

Added in 3.42

Applies metadata to a layer from a .qmd file.

파라미터

라벨

이름

유형

설명

Layer

INPUT

[layer]

The layer to which the metadata will be applied.

Metadata file

METADATA

[file]

The .qmd file containing the metadata to be applied.

Save metadata as default

DEFAULT

[boolean]

기본값: False

If checked, the metadata information will be saved with the layer, hence available by default in subsequent projects.

산출물

라벨

이름

유형

설명

Output layer

OUTPUT

[same as input]

The input layer with the metadata replaced by the metadata from the .qmd file.

파이썬 코드

Algorithm ID: native:setlayermetadata

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.

24.1.11.5. Set Metadata Fields

Added in 3.42

Sets various metadata fields for a layer.

파라미터

라벨

이름

유형

설명

Layer

INPUT

[layer]

The layer whose metadata fields will be updated

Identifier

선택적

IDENTIFIER

[string]

A unique identifier for the layer

Parent identifier

선택적

PARENT_IDENTIFIER

[string]

The identifier of the parent resource, if applicable

Title

선택적

TITLE

[string]

The title of the layer

Type

선택적

TYPE

[string]

The type of data stored in the layer

Language

선택적

LANGUAGE

[string]

The language of the metadata

Encoding

선택적

ENCODING

[string]

The character encoding used in the metadata

Abstract

선택적

ABSTRACT

[string]

A brief description or abstract of the layer

Coordinate reference system

선택적

CRS

[crs]

The coordinate reference system of the layer

Fees

선택적

FEES

[string]

Information about any fees associated with accessing the layer

Ignore empty fields

IGNORE_EMPTY

[boolean]

기본값: False

If checked, no update will be done to metadata fields that are not filled

산출물

라벨

이름

유형

설명

Output layer

OUTPUT

[same as input]

The input layer with the specified metadata fields updated.

파이썬 코드

Algorithm ID: native:setmetadatafields

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.

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.

파라미터

라벨

이름

유형

설명

Source layer

SOURCE

[layer]

The layer from which non-empty metadata fields will be copied

Target layer

TARGET

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

산출물

라벨

이름

유형

설명

Target layer

OUTPUT

[layer]

The target layer with updated metadata.

파이썬 코드

Algorithm ID: native:updatelayermetadata

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.