Ważne

Tłumaczenie jest wysiłkiem społeczności QGISa przyłącz się. Ta strona jest obecnie przetłumaczona w 66.93%.

24.1.20. Vector coverage

24.1.20.1. Dissolve coverage

Operates on a coverage (represented as a set of polygon features with exactly matching edge geometry) to dissolve (union) the geometries. It provides a heavily optimized approach for unioning these features compared with the standard Dissolve tools.

Zobacz także

Agreguj

Parametry

Etykieta

Nazwa

Typ

Opis

Warstwa wejściowa

INPUT

[vector: polygon]

Input polygon vector layer

Agreguj

OUTPUT

[vector: polygon]

Default: [Create temporary layer]

Specify the output vector layer. One of:

  • Create Temporary Layer (TEMPORARY_OUTPUT)

  • Zapisz do pliku…

  • Zapisz do GeoPackage…

  • Zapisz do tabeli bazy danych…

The file encoding can also be changed here.

Wyniki

Etykieta

Nazwa

Typ

Opis

Agreguj

OUTPUT

[vector: polygon]

The output polygon vector layer with dissolved geometries.

Kod pythona

ID algorytmu: native:coverageunion

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.20.2. Simplify coverage

Operates on a coverage (represented as a set of polygon features with exactly matching edge geometry) to apply a Visvalingam–Whyatt simplification to the edges, reducing complexity in proportion with the provided tolerance, while retaining a valid coverage (i.e. no edges will cross or touch after the simplification). Geometries will never be removed, but they may be simplified down to just a triangle. Also, some geometries (such as polygons which have too few non-repeated points) will be returned unchanged.

If the input dataset is not a valid coverage due to overlaps, it will still be simplified, but invalid topology such as crossing edges will still be invalid.

Requires version of GEOS >= 3.12

Zobacz także

Simplify, Smooth

Parametry

Etykieta

Nazwa

Typ

Opis

Warstwa wejściowa

INPUT

[vector: polygon]

Input polygon vector layer

Tolerancja

TOLERANCE

[numeric: double]

Domyślnie: 0.0

The maximum distance (in unit of choice) between two consecutive vertices to get merged.

Preserve boundary

PRESERVE_BOUNDARY

[wartość logiczna]

Domyślnie: False

When enabled, the outside edges of the coverage will be preserved without simplification

Uproszczony

OUTPUT

[vector: polygon]

Default: [Create temporary layer]

Specify the output vector layer. One of:

  • Create Temporary Layer (TEMPORARY_OUTPUT)

  • Zapisz do pliku…

  • Zapisz do GeoPackage…

  • Zapisz do tabeli bazy danych…

The file encoding can also be changed here.

Wyniki

Etykieta

Nazwa

Typ

Opis

Uproszczony

OUTPUT

[vector: polygon]

The output polygon vector layer, with a lower number of vertices.

Kod pythona

ID algorytmu: native:coveragesimplify

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.20.3. Validate coverage

Analyzes a coverage (represented as a set of polygon features with exactly matching edge geometry) to find places where the assumption of exactly matching edges is not met. Invalidity includes polygons that overlap or that have gaps smaller than the specified gap width.

Requires version of GEOS >= 3.12

Zobacz także

Check validity

Parametry

Etykieta

Nazwa

Typ

Opis

Warstwa wejściowa

INPUT

[vector: polygon]

Input polygon vector layer

Gap width

GAP_WIDTH

[numeric: double]

Domyślnie: 0.0

The maximum width of gap to detect

Invalid edges

INVALID_EDGES

[vector: line]

Default: [Create temporary layer]

Specify the output vector layer. One of:

  • Pomiń wyjście

  • Create Temporary Layer (TEMPORARY_OUTPUT)

  • Zapisz do pliku…

  • Zapisz do GeoPackage…

  • Zapisz do tabeli bazy danych…

The file encoding can also be changed here.

Wyniki

Etykieta

Nazwa

Typ

Opis

Invalid edges

OUTPUT

[vector: line]

The output line vector layer showing error edges for each invalid polygon.

Validity result

IS_VALID

[wartość logiczna]

Returns whether the coverage is valid or not.

Kod pythona

ID algorytmu: native:coveragevalidate

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.