Wichtig

Übersetzen ist eine Gemeinschaftsleistung Sie können mitmachen. Diese Seite ist aktuell zu 53.93% übersetzt.

24.1.3. Check Geometry

24.1.3.1. Dangle-end lines

Detects dangle-end lines in line geometries and reports them as errors. A dangle-end line is a line feature that terminates at a vertex connected to only one segment, resulting in an endpoint without a proper connection.

../../../../_images/check_geometry_dangleendlines.png

Abb. 24.2 Identifying dangle-end features (in red) and vertices (yellow).

Parameter

Grundlegende Parameter

Bezeichnung

Name

Typ

Beschreibung

Eingabelayer

INPUT

[vector: line]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Dangle-end errors

ERRORS

[Vektor: Punkt]

Standard: [Create temporary layer]

Specification of the output layer containing the errors location. One of:

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Dangle-end features

Optional

OUTPUT

[vector: line]

Standard: [Ausgabe überspringen]

Line layer containing the identified dangle-end line features. One of:

  • Ausgabe übersrpingen

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Fortgeschrittene Parameter

Bezeichnung

Name

Typ

Beschreibung

Tolerance

TOLERANCE

[numerisch: Ganzzahl]

Default: 8

Numerical precision of geometric operations, given as an integer n, meaning that two vertices less than 10-n apart (in map units) are considered to be merged.

Ausgaben

Bezeichnung

Name

Typ

Beschreibung

Dangle-end errors

ERRORS

[Vektor: Punkt]

Output point layer representing the error locations and information. The output layer contains the following fields:

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx: the index of the feature’s geometry part containing the dangle-end.

  • gc_ringidx: the index of the feature’s geometry ring containing the dangle-end.

  • gc_vertidx: the vertex index of the dangle-end in the feature’s geometry ring.

  • gc_errorx: the x coordinate of the dangle-end.

  • gc_errory: the y coordinate of the dangle-end.

  • gc_error

  • UNIQUE_ID field: the unique ID of the input feature with the dangle-end.

Dangle-end features

OUTPUT

[vector: line]

Output line layer containing the input dangle-end features. If no dangle-end features are found, the output layer will be empty. Available fields are the same as in the ERRORS output.

Python-Code

Algorithm ID: native:checkgeometrydangle

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

Die Algorithmus-Kennung wird angezeigt, wenn Sie den Mauszeiger über den Algorithmus in der Verarbeitungs-Werkzeugkiste bewegen. Die Parameter-Liste (parameter_dictionary) enthält die Namen und Werte der Parameter. Siehe Verarbeitungs-Algorithmen von der Konsole aus verwenden für Details zur Ausführung von Verarbeitungsalgorithmen über die Python-Konsole.

24.1.3.2. Degenerate polygons

Checks the polygons with less than 3 points, which are degenerate polygons. Degenerate polygons are errors.

Bemerkung

This algorithm detects invalid polygon geometries (degenerate polygons). To ensure these invalid features are not filtered out before processing, open optionsAdvanced options next to the Input layer and set Invalid feature filtering to Do not Filter (Better Performance).

Parameter

Grundlegende Parameter

Bezeichnung

Name

Typ

Beschreibung

Eingabelayer

INPUT

[Vektor: Polygon]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Degenerate polygons errors

ERRORS

[Vektor: Punkt]

Standard: [Create temporary layer]

Specification of the output layer containing the centroid of the degenerate polygons. One of:

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Degenerate polygons features

Optional

OUTPUT

[Vektor: Polygon]

Standard: [Ausgabe überspringen]

Specification of the output layer containing the degenerate polygons. One of:

  • Ausgabe übersrpingen

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Fortgeschrittene Parameter

Bezeichnung

Name

Typ

Beschreibung

Tolerance

TOLERANCE

[numerisch: Ganzzahl]

Default: 8

Numerical precision of geometric operations, given as an integer n, meaning that two vertices less than 10-n apart (in map units) are considered to be merged.

Ausgaben

Bezeichnung

Name

Typ

Beschreibung

Degenerate polygons errors

ERRORS

[Vektor: Punkt]

Output point layer representing the error locations and information. The output layer contains the following fields:

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx: the index of the geometry part of the degenerate polygon.

  • gc_ringidx: the index of the ring of the degenerate polygon.

  • gc_vertidx

  • gc_errorx: the x coordinate of the centroid of the degenerate polygon

  • gc_errory: the y coordinate of the centroid of the degenerate polygon

  • gc_error

  • UNIQUE_ID field: the unique ID of the input feature that is degenerate.

Degenerate polygons features

OUTPUT

[Vektor: Polygon]

Output polygon layer with features containing the degenerate polygons. If no degenerate polygon features are found, the output layer will be empty. Available fields are the same as in the ERRORS output.

Python-Code

Algorithm ID: native:checkgeometrydegeneratepolygon

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

Die Algorithmus-Kennung wird angezeigt, wenn Sie den Mauszeiger über den Algorithmus in der Verarbeitungs-Werkzeugkiste bewegen. Die Parameter-Liste (parameter_dictionary) enthält die Namen und Werte der Parameter. Siehe Verarbeitungs-Algorithmen von der Konsole aus verwenden für Details zur Ausführung von Verarbeitungsalgorithmen über die Python-Konsole.

24.1.3.3. Duplicated geometries

Checks for duplicated geometries in a vector layer, and reports them as errors.

Parameter

Grundlegende Parameter

Bezeichnung

Name

Typ

Beschreibung

Eingabelayer

INPUT

[Vektor: Geometrie]

Layer with the geometries to check

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification

Duplicate geometries errors

ERRORS

[Vektor: Punkt]

Standard: [Create temporary layer]

Specification of the output layer containing the errors location. One of:

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Duplicate geometries

Optional

OUTPUT

[vector: same as input]

Standard: [Ausgabe überspringen]

Specification of the output layer containing the geometries that were found to be duplicated. One of:

  • Ausgabe übersrpingen

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Fortgeschrittene Parameter

Bezeichnung

Name

Typ

Beschreibung

Tolerance

TOLERANCE

[numerisch: Ganzzahl]

Default: 8

Numerical precision of geometric operations, given as an integer n, meaning that two vertices less than 10-n apart (in map units) are considered to be merged.

Ausgaben

Bezeichnung

Name

Typ

Beschreibung

Duplicate geometries errors

ERRORS

[Vektor: Punkt]

Output point layer representing the error locations and information. The output layer contains the following fields:

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx

  • gc_ringidx

  • gc_vertidx

  • gc_errorx: the x coordinate of the centroid of the duplicate geometry.

  • gc_errory: the y coordinate of the centroid of the duplicate geometry.

  • gc_error: the indices of the duplicate geometry (all except the highest index).

  • UNIQUE_ID field: the unique ID of the input feature that is a duplicate.

Duplicate geometries

OUTPUT

[vector: same as input]

Output layer containing the geometries that were found to be duplicated. Available fields are the same as in the ERRORS output.

Python-Code

Algorithm ID: native:checkgeometryduplicate

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

Die Algorithmus-Kennung wird angezeigt, wenn Sie den Mauszeiger über den Algorithmus in der Verarbeitungs-Werkzeugkiste bewegen. Die Parameter-Liste (parameter_dictionary) enthält die Namen und Werte der Parameter. Siehe Verarbeitungs-Algorithmen von der Konsole aus verwenden für Details zur Ausführung von Verarbeitungsalgorithmen über die Python-Konsole.

24.1.3.4. Duplicated vertices

Checks for duplicated vertices in line or polygon geometries, and reports them as errors.

Parameter

Grundlegende Parameter

Bezeichnung

Name

Typ

Beschreibung

Eingabelayer

INPUT

[vector: line, polygon]

Layer with the geometries to check

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification

Duplicated vertices errors

ERRORS

[Vektor: Punkt]

Standard: [Create temporary layer]

Specification of the output layer containing the errors location. One of:

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Duplicated vertices features

Optional

OUTPUT

[vector: same as input]

Standard: [Ausgabe überspringen]

Specification of the output layer containing the features with duplicated vertices. One of:

  • Ausgabe übersrpingen

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Fortgeschrittene Parameter

Bezeichnung

Name

Typ

Beschreibung

Tolerance

TOLERANCE

[numerisch: Ganzzahl]

Default: 8

Numerical precision of geometric operations, given as an integer n, meaning that two vertices less than 10-n apart (in map units) are considered to be merged.

Ausgaben

Bezeichnung

Name

Typ

Beschreibung

Duplicated vertices errors

ERRORS

[Vektor: Punkt]

Output point layer representing the error locations and information. The output layer contains the following fields:

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx: the index of the feature’s geometry part containing the duplicate vertex.

  • gc_ringidx: the index of the feature’s geometry ring containing the duplicate vertex.

  • gc_vertidx: the index of the duplicate vertex in the feature’s geometry ring.

  • gc_errorx: the x coordinate of the duplicate vertex.

  • gc_errory: the y coordinate of the duplicate vertex.

  • gc_error

  • UNIQUE_ID field: the unique ID of the input feature that has duplicate vertices.

Duplicated vertices features

OUTPUT

[vector: same as input]

Output layer containing the features with duplicated vertices. Available fields are the same as in the ERRORS output.

Python-Code

Algorithm ID: native:checkgeometryduplicatenodes

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

Die Algorithmus-Kennung wird angezeigt, wenn Sie den Mauszeiger über den Algorithmus in der Verarbeitungs-Werkzeugkiste bewegen. Die Parameter-Liste (parameter_dictionary) enthält die Namen und Werte der Parameter. Siehe Verarbeitungs-Algorithmen von der Konsole aus verwenden für Details zur Ausführung von Verarbeitungsalgorithmen über die Python-Konsole.

24.1.3.5. Features inside polygon

Checks the input geometries contained in the polygons from the polygon layers list. A polygon layer can be checked against itself. Any contained features are reported as errors.

../../../../_images/check_geometry_featuresinsidepolygon.png

Abb. 24.3 Reporting errors on features inside a polygon.

Siehe auch

Delete features

Parameter

Grundlegende Parameter

Bezeichnung

Name

Typ

Beschreibung

Eingabelayer

INPUT

[Vektor: Geometrie]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Polygon layers

POLYGONS

[vector: polygon][list]

List of polygon layers to check against.

Errors from contained features

ERRORS

[Vektor: Punkt]

Standard: [Create temporary layer]

Point layer representing the contained features. One of:

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Contained features

Optional

OUTPUT

[vector: same as input]

Standard: [Ausgabe überspringen]

Specification of the output layer containing features within the checked polygons. One of:

  • Ausgabe übersrpingen

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Fortgeschrittene Parameter

Bezeichnung

Name

Typ

Beschreibung

Tolerance

TOLERANCE

[numerisch: Ganzzahl]

Default: 8

Numerical precision of geometric operations, given as an integer n, meaning that two vertices less than 10-n apart (in map units) are considered to be merged.

Ausgaben

Bezeichnung

Name

Typ

Beschreibung

Errors from contained features

ERRORS

[Vektor: Punkt]

Output point layer representing the error locations and information. The output layer contains the following fields:

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx

  • gc_ringidx

  • gc_vertidx

  • gc_errorx: the x coordinate of the centroid of the contained feature.

  • gc_errory: the y coordinate of the centroid of the contained feature.

  • gc_error: the layer name and feature ID of a polygon that contains the feature.

  • UNIQUE_ID field: the unique ID of the input feature that is contained within another.

Contained features

OUTPUT

[vector: same as input]

Output layer containing features within the checked polygons. Available fields are the same as in the ERRORS output.

Python-Code

Algorithm ID: native:checkgeometrycontained

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

Die Algorithmus-Kennung wird angezeigt, wenn Sie den Mauszeiger über den Algorithmus in der Verarbeitungs-Werkzeugkiste bewegen. Die Parameter-Liste (parameter_dictionary) enthält die Namen und Werte der Parameter. Siehe Verarbeitungs-Algorithmen von der Konsole aus verwenden für Details zur Ausführung von Verarbeitungsalgorithmen über die Python-Konsole.

24.1.3.6. Holes

Detects holes in polygon geometries and reports them as errors.

../../../../_images/check_geometry_holes.png

Abb. 24.4 Reporting errors for holes on a polygon feature.

Siehe auch

Fill holes

Parameter

Grundlegende Parameter

Bezeichnung

Name

Typ

Beschreibung

Eingabelayer

INPUT

[Vektor: Polygon]

Layer with the geometries to check

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification

Holes errors

ERRORS

[Vektor: Punkt]

Standard: [Create temporary layer]

Specification of the output layer containing the errors location. One of:

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Polygons with holes

Optional

OUTPUT

[Vektor: Polygon]

Standard: [Ausgabe überspringen]

Polygon layer with the features containing holes. One of:

  • Ausgabe übersrpingen

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Fortgeschrittene Parameter

Bezeichnung

Name

Typ

Beschreibung

Tolerance

TOLERANCE

[numerisch: Ganzzahl]

Default: 8

Numerical precision of geometric operations, given as an integer n, meaning that two vertices less than 10-n apart (in map units) are considered to be merged.

Ausgaben

Bezeichnung

Name

Typ

Beschreibung

Holes errors

ERRORS

[Vektor: Punkt]

Output point layer representing the error locations and information. The output layer contains the following fields:

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx: the index of the feature’s geometry part containing the hole.

  • gc_ringidx: the index of the feature’s geometry ring containing the hole.

  • gc_vertidx

  • gc_errorx: the x coordinate of the centroid of the hole.

  • gc_errory: the y coordinate of the centroid of the hole.

  • gc_error

  • UNIQUE_ID field: the unique ID of the input feature that has a hole.

Polygon with holes

OUTPUT

[Vektor: Polygon]

Output polygon layer with features containing holes. If no holes are found, the output layer will be empty. Available fields are the same as in the ERRORS output.

Python-Code

Algorithm ID: native:checkgeometryhole

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

Die Algorithmus-Kennung wird angezeigt, wenn Sie den Mauszeiger über den Algorithmus in der Verarbeitungs-Werkzeugkiste bewegen. Die Parameter-Liste (parameter_dictionary) enthält die Namen und Werte der Parameter. Siehe Verarbeitungs-Algorithmen von der Konsole aus verwenden für Details zur Ausführung von Verarbeitungsalgorithmen über die Python-Konsole.

24.1.3.7. Lines intersecting each other

Checks intersections between line geometries within a layer. Intersections between two different lines are errors.

Parameter

Grundlegende Parameter

Bezeichnung

Name

Typ

Beschreibung

Eingabelayer

INPUT

[vector: line]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Intersection errors

ERRORS

[Vektor: Punkt]

Standard: [Create temporary layer]

Specification of the output layer containing the intersections location. One of:

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Intersecting feature

Optional

OUTPUT

[vector: line]

Standard: [Ausgabe überspringen]

Specification of the output layer for features intersecting each other. One of:

  • Ausgabe übersrpingen

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Fortgeschrittene Parameter

Bezeichnung

Name

Typ

Beschreibung

Tolerance

TOLERANCE

[numerisch: Ganzzahl]

Default: 8

Numerical precision of geometric operations, given as an integer n, meaning that two vertices less than 10-n apart (in map units) are considered to be merged.

Ausgaben

Bezeichnung

Name

Typ

Beschreibung

Intersection errors

ERRORS

[Vektor: Punkt]

Output point layer representing the error locations and information. The output layer contains the following fields:

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx: the index of the feature’s geometry part where the intersection occurs.

  • gc_ringidx

  • gc_vertidx

  • gc_errorx: the x coordinate of the intersection point.

  • gc_errory: the y coordinate of the intersection point.

  • UNIQUE_ID field: the unique ID of an intersecting input feature.

  • gc_error: the layer name and index of the other intersecting feature.

Intersecting feature

OUTPUT

[vector: line]

Output layer containing, for each identified intersection, the feature (with same UNIQUE_ID value) it belongs to. If no intersections are found, the output layer will be empty. Available fields are the same as in the ERRORS output.

Python-Code

Algorithm ID: native:checkgeometrylineintersection

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

Die Algorithmus-Kennung wird angezeigt, wenn Sie den Mauszeiger über den Algorithmus in der Verarbeitungs-Werkzeugkiste bewegen. Die Parameter-Liste (parameter_dictionary) enthält die Namen und Werte der Parameter. Siehe Verarbeitungs-Algorithmen von der Konsole aus verwenden für Details zur Ausführung von Verarbeitungsalgorithmen über die Python-Konsole.

24.1.3.8. Lines intersecting other layer

Checks if the input line layer features intersect with the check layer features. An input feature that intersects with a check layer feature is an error.

Parameter

Grundlegende Parameter

Bezeichnung

Name

Typ

Beschreibung

Eingabelayer

INPUT

[vector: line]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Check layer

CHECK_LAYER

[vector: line, polygon]

Layer with the geometries to check against.

Line intersecting other layer errors

ERRORS

[Vektor: Punkt]

Standard: [Create temporary layer]

Specification of the output point layer containing the locations of intersection errors. One of:

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Line intersecting other layer features

Optional

OUTPUT

[line]

Standard: [Ausgabe überspringen]

Line layer with the input features that intersect features in the check layer. One of:

  • Ausgabe übersrpingen

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Fortgeschrittene Parameter

Bezeichnung

Name

Typ

Beschreibung

Tolerance

TOLERANCE

[numerisch: Ganzzahl]

Default: 8

Numerical precision of geometric operations, given as an integer n, meaning that two vertices less than 10-n apart (in map units) are considered to be merged.

Ausgaben

Bezeichnung

Name

Typ

Beschreibung

Line intersecting other layer errors

ERRORS

[Vektor: Punkt]

Output point layer representing the error location and information. The output layer contains the following fields:

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx: the index of the feature’s geometry part where the intersection occurs.

  • gc_ringidx

  • gc_vertidx

  • gc_errorx: the x coordinate of the intersection point.

  • gc_errory: the y coordinate of the intersection point.

  • UNIQUE_ID field: the unique ID of the intersecting input feature.

  • gc_error: the index of the check layer where the intersection occurs.

Line intersecting other layer features

OUTPUT

[vector: line]

Output layer containing, for each identified intersection, the input feature it belongs to. If no intersections are found, the output layer will be empty. Available fields are the same as in the ERRORS output.

Python-Code

Algorithm ID: native:checkgeometrylinelayerintersection

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

Die Algorithmus-Kennung wird angezeigt, wenn Sie den Mauszeiger über den Algorithmus in der Verarbeitungs-Werkzeugkiste bewegen. Die Parameter-Liste (parameter_dictionary) enthält die Namen und Werte der Parameter. Siehe Verarbeitungs-Algorithmen von der Konsole aus verwenden für Details zur Ausführung von Verarbeitungsalgorithmen über die Python-Konsole.

24.1.3.9. Missing vertices along borders

Checks for missing vertices along polygon borders. To be topologically correct, a vertex at the junction of two polygons must be present on both polygons. Missing vertices are errors.

../../../../_images/check_geometry_missing_vertex.png

Abb. 24.5 Reporting errors for missing vertices on polygon features.

Parameter

Grundlegende Parameter

Bezeichnung

Name

Typ

Beschreibung

Eingabelayer

INPUT

[Vektor: Polygon]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Missing vertices errors

ERRORS

[Vektor: Punkt]

Standard: [Create temporary layer]

Specification of the output layer containing the errors location. One of:

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Missing vertices features

Optional

OUTPUT

[Vektor: Polygon]

Standard: [Ausgabe überspringen]

Polygon layer with the features whose vertices are missing. One of:

  • Ausgabe übersrpingen

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Fortgeschrittene Parameter

Bezeichnung

Name

Typ

Beschreibung

Tolerance

TOLERANCE

[numerisch: Ganzzahl]

Default: 8

Numerical precision of geometric operations, given as an integer n, meaning that two vertices less than 10-n apart (in map units) are considered to be merged.

Ausgaben

Bezeichnung

Name

Typ

Beschreibung

Missing vertices errors

ERRORS

[Vektor: Punkt]

Output point layer representing the error locations and information. The output layer contains the following fields:

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx

  • gc_ringidx

  • gc_vertidx

  • gc_errorx: the x coordinate of the missing vertex.

  • gc_errory: the y coordinate of the missing vertex.

  • gc_error

  • UNIQUE_ID field: the unique ID of the input feature that has a missing vertex.

Missing vertices features

OUTPUT

[Vektor: Polygon]

Output polygon layer with features whose vertices are missing. There will be as many (duplicate) features as there are missing vertices in each geometry. If no vertices are missing, the output layer will be empty. Available fields are the same as in the ERRORS output.

Python-Code

Algorithm ID: native:checkgeometrymissingvertex

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

Die Algorithmus-Kennung wird angezeigt, wenn Sie den Mauszeiger über den Algorithmus in der Verarbeitungs-Werkzeugkiste bewegen. Die Parameter-Liste (parameter_dictionary) enthält die Namen und Werte der Parameter. Siehe Verarbeitungs-Algorithmen von der Konsole aus verwenden für Details zur Ausführung von Verarbeitungsalgorithmen über die Python-Konsole.

24.1.3.10. Overlaps

Calculates overlapping areas in polygon geometries, and reports areas smaller than a given minimum as errors.

../../../../_images/check_geometry_overlaps.png

Abb. 24.6 Hashed polygons indicate overlapping areas smaller than the specified minimum.

Parameter

Grundlegende Parameter

Bezeichnung

Name

Typ

Beschreibung

Eingabelayer

INPUT

[Vektor: Polygon]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Minimum overlap area

MIN_OVERLAP_AREA

[numerisch: Double]

Minimum area of the overlap to be reported as an error. If set to 0, all overlaps are reported.

Overlap errors

ERRORS

[Vektor: Punkt]

Standard: [Create temporary layer]

Specification of the output layer containing centroid points of the overlapping areas. One of:

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Overlap features

Optional

OUTPUT

[Vektor: Polygon]

Standard: [Ausgabe überspringen]

Specification of the output layer for features containing overlaps. One of:

  • Ausgabe übersrpingen

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Fortgeschrittene Parameter

Bezeichnung

Name

Typ

Beschreibung

Tolerance

TOLERANCE

[numerisch: Ganzzahl]

Default: 8

Numerical precision of geometric operations, given as an integer n, meaning that two vertices less than 10-n apart (in map units) are considered to be merged.

Ausgaben

Bezeichnung

Name

Typ

Beschreibung

Overlap errors

ERRORS

[Vektor: Punkt]

Output point layer representing the error locations and information. The output layer contains the following fields:

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_errorx: the x coordinate of the centroid of the overlapping area.

  • gc_errory: the y coordinate of the centroid of the overlapping area.

  • gc_error: the area of the overlapping geometry.

  • UNIQUE_ID field: the unique ID of an overlapped input feature.

  • gc_overlap_feature_{unique_id}: the UNIQUE_ID field value for the other overlapping feature.

Overlap features

OUTPUT

[Vektor: Polygon]

Output layer containing the overlapping areas. Available fields are the same as in the ERRORS output.

Python-Code

Algorithm ID: native:checkgeometryoverlap

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

Die Algorithmus-Kennung wird angezeigt, wenn Sie den Mauszeiger über den Algorithmus in der Verarbeitungs-Werkzeugkiste bewegen. Die Parameter-Liste (parameter_dictionary) enthält die Namen und Werte der Parameter. Siehe Verarbeitungs-Algorithmen von der Konsole aus verwenden für Details zur Ausführung von Verarbeitungsalgorithmen über die Python-Konsole.

24.1.3.11. Points outside lines

Checks if the points in the input layer are covered by a line in the selected line layers. A point not covered by a line is an error.

../../../../_images/check_geometry_pointcoveredbyline.png

Abb. 24.7 Reporting errors on points not covered by a line.

Parameter

Grundlegende Parameter

Bezeichnung

Name

Typ

Beschreibung

Eingabelayer

INPUT

[Vektor: Punkt]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Line layers

LINES

[vector: line][list]

Layer(s) with the lines to check against.

Points not covered by a line

ERRORS

[Vektor: Punkt]

Standard: [Create temporary layer]

Specification of the output layer containing points not covered by a line. One of:

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Fortgeschrittene Parameter

Bezeichnung

Name

Typ

Beschreibung

Tolerance

TOLERANCE

[numerisch: Ganzzahl]

Default: 8

Numerical precision of geometric operations, given as an integer n, meaning that two vertices less than 10-n apart (in map units) are considered to be merged.

Ausgaben

Bezeichnung

Name

Typ

Beschreibung

Points not covered by a line

ERRORS

[Vektor: Punkt]

Output point layer representing the error locations and information. The output layer contains the following fields:

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx

  • gc_ringidx

  • gc_vertidx

  • gc_errorx: the x coordinate of point outside the lines.

  • gc_errory: the y coordinate of point outside the lines.

  • gc_error

  • UNIQUE_ID field: the unique ID of the input feature that is outside the lines.

Python-Code

Algorithm ID: native:checkgeometrypointcoveredbyline

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

Die Algorithmus-Kennung wird angezeigt, wenn Sie den Mauszeiger über den Algorithmus in der Verarbeitungs-Werkzeugkiste bewegen. Die Parameter-Liste (parameter_dictionary) enthält die Namen und Werte der Parameter. Siehe Verarbeitungs-Algorithmen von der Konsole aus verwenden für Details zur Ausführung von Verarbeitungsalgorithmen über die Python-Konsole.

24.1.3.12. Points outside polygons

Checks if points from the input layer are in polygons from the selected polygon layers. Points that are not fully inside polygons are errors.

../../../../_images/check_geometry_point_in_polygon.png

Abb. 24.8 Reporting errors on points outside polygons.

Parameter

Grundlegende Parameter

Bezeichnung

Name

Typ

Beschreibung

Eingabelayer

INPUT

[Vektor: Punkt]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Polygon layers

POLYGONS

[vector: polygon][list]

Layer(s) with the polygons to check against.

Points outside polygons errors

ERRORS

[Vektor: Punkt]

Standard: [Create temporary layer]

Specification of the output layer containing points outside the polygons. One of:

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Fortgeschrittene Parameter

Bezeichnung

Name

Typ

Beschreibung

Tolerance

TOLERANCE

[numerisch: Ganzzahl]

Default: 8

Numerical precision of geometric operations, given as an integer n, meaning that two vertices less than 10-n apart (in map units) are considered to be merged.

Ausgaben

Bezeichnung

Name

Typ

Beschreibung

Points outside polygons errors

ERRORS

[Vektor: Punkt]

Output point layer representing the error locations and information. The output layer contains the following fields:

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx

  • gc_ringidx

  • gc_vertidx

  • gc_errorx: the x coordinate of point outside the polygons.

  • gc_errory: the y coordinate of point outside the polygons.

  • gc_error

  • UNIQUE_ID field: the unique ID of the input feature that is outside the polygons.

Python-Code

Algorithm ID: native:checkgeometrypointinpolygon

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

Die Algorithmus-Kennung wird angezeigt, wenn Sie den Mauszeiger über den Algorithmus in der Verarbeitungs-Werkzeugkiste bewegen. Die Parameter-Liste (parameter_dictionary) enthält die Namen und Werte der Parameter. Siehe Verarbeitungs-Algorithmen von der Konsole aus verwenden für Details zur Ausführung von Verarbeitungsalgorithmen über die Python-Konsole.

24.1.3.13. Self-contacts

Checks if the geometry has self contact points (in line or polygon), i.e., a vertex that touches more than two segments of the same ring. Self contacts are errors.

Bemerkung

This algorithm detects invalid polygon geometries (self-contacts). To ensure these invalid features are not filtered out before processing, open optionsAdvanced options next to the Input layer and set Invalid feature filtering to Do not Filter (Better Performance).

../../../../_images/check_geometry_selfcontact.png

Abb. 24.9 Self-intersection vs self-contact.

Siehe auch

Self-intersections

Parameter

Grundlegende Parameter

Bezeichnung

Name

Typ

Beschreibung

Eingabelayer

INPUT

[vector: line, polygon]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Self contact error points

ERRORS

[Vektor: Punkt]

Standard: [Create temporary layer]

Specification of the output layer containing the errors location. One of:

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Self contact features

Optional

OUTPUT

[wie Eingabe]

Standard: [Ausgabe überspringen]

Line or polygon layer containing self-contact features. One of:

  • Ausgabe übersrpingen

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Fortgeschrittene Parameter

Bezeichnung

Name

Typ

Beschreibung

Tolerance

TOLERANCE

[numerisch: Ganzzahl]

Default: 8

Numerical precision of geometric operations, given as an integer n, meaning that two vertices less than 10-n apart (in map units) are considered to be merged.

Ausgaben

Bezeichnung

Name

Typ

Beschreibung

Self contact error points

ERRORS

[Vektor: Punkt]

Output point layer representing the error locations and information. The output layer contains the following fields:

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx: the index of the feature’s geometry part where the self-contact occurs.

  • gc_ringidx: the index of the ring where the self-contact occurs.

  • gc_vertidx: the index of the vertex where the self-contact occurs.

  • gc_errorx: the x coordinate of the self-contact.

  • gc_errory: the y coordinate of the self-contact.

  • gc_error

  • UNIQUE_ID field: the unique ID of the self-contacting input feature.

Self contact features

OUTPUT

[vector: same as input]

Output polygon or line layer with features containing the self-contact features. If no self-contact features are found, the output layer will be empty. Available fields are the same as in the ERRORS output.

Python-Code

Algorithm ID: native:checkgeometryselfcontact

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

Die Algorithmus-Kennung wird angezeigt, wenn Sie den Mauszeiger über den Algorithmus in der Verarbeitungs-Werkzeugkiste bewegen. Die Parameter-Liste (parameter_dictionary) enthält die Namen und Werte der Parameter. Siehe Verarbeitungs-Algorithmen von der Konsole aus verwenden für Details zur Ausführung von Verarbeitungsalgorithmen über die Python-Konsole.

24.1.3.14. Self-intersections

Detects self-intersections in line or polygon geometries, and reports them as errors. Self-intersections occur when the segments of a geometry cross over each other without having a common vertex.

Bemerkung

This algorithm detects invalid polygon geometries (self-intersections). To ensure these invalid features are not filtered out before processing, open optionsAdvanced options next to the Input layer and set Invalid feature filtering to Do not Filter (Better Performance).

../../../../_images/check_geometry_selfintersections.png

Abb. 24.10 Self-intersection vs self-contact.

Parameter

Grundlegende Parameter

Bezeichnung

Name

Typ

Beschreibung

Eingabelayer

INPUT

[vector: line, polygon]

Layer with the geometries to check

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification

Self-intersecting errors

ERRORS

[Vektor: Punkt]

Standard: [Create temporary layer]

Specification of the output layer containing the errors location. One of:

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Self-intersecting features

Optional

OUTPUT

[wie Eingabe]

Standard: [Ausgabe überspringen]

Line or polygon layer containing self-intersected features. One of:

  • Ausgabe übersrpingen

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Fortgeschrittene Parameter

Bezeichnung

Name

Typ

Beschreibung

Tolerance

TOLERANCE

[numerisch: Ganzzahl]

Default: 8

Numerical precision of geometric operations, given as an integer n, meaning that two vertices less than 10-n apart (in map units) are considered to be merged.

Ausgaben

Bezeichnung

Name

Typ

Beschreibung

Self-intersecting errors

ERRORS

[Vektor: Punkt]

Output point layer representing the error locations and information. The output layer contains the following fields:

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx: the index of the feature’s geometry part where the self-intersection occurs.

  • gc_ringidx: the index of the feature’s geometry ring where the self-intersection occurs.

  • gc_vertidx

  • gc_errorx: the x coordinate of the self-intersection.

  • gc_errory: the y coordinate of the self-intersection.

  • gc_error

  • gc_segment_1: the index of the first segment involved in the intersection.

  • gc_segment_2: the index of the second segment involved in the intersection.

  • UNIQUE_ID field: the unique ID of the self-intersecting input feature.

Self-intersecting features

OUTPUT

[vector: line, polygon]

Output polygon or line layer with features containing the self-intersecting features. If no self-intersecting features are found, the output layer will be empty. Available fields are the same as in the ERRORS output.

Python-Code

Algorithm ID: native:checkgeometryselfintersection

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

Die Algorithmus-Kennung wird angezeigt, wenn Sie den Mauszeiger über den Algorithmus in der Verarbeitungs-Werkzeugkiste bewegen. Die Parameter-Liste (parameter_dictionary) enthält die Namen und Werte der Parameter. Siehe Verarbeitungs-Algorithmen von der Konsole aus verwenden für Details zur Ausführung von Verarbeitungsalgorithmen über die Python-Konsole.

24.1.3.15. Sliver polygons

Detects sliver polygons in a polygon layer, i.e., polygons with a thinness greater than a specified value.

The thinness is the ratio between the area of the minimum square containing the polygon and the area of the polygon itself (a square has a thinness value of 1). The thinness value is between 1 and +infinity. A maximum area can be set for limiting the checks to polygons of a lower area. Polygons having a thinness higher than the maximum thinness are errors. To fix sliver polygons, use the Fix small polygons algorithm.

Bemerkung

This algorithm detects invalid polygon geometries (sliver polygons). To ensure these invalid features are not filtered out before processing, open optionsAdvanced options next to the Input layer and set Invalid feature filtering to Do not Filter (Better Performance).

../../../../_images/check_geometry_sliver_polygon.png

Abb. 24.11 Reporting errors on features with sliver polygons.

Siehe auch

Fix small polygons

Parameter

Grundlegende Parameter

Bezeichnung

Name

Typ

Beschreibung

Eingabelayer

INPUT

[Vektor: Polygon]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Maximum thinness

MAX_THINNESS

[numerisch: Double]

Default: 20.0

Maximum thinness value of a polygon to be considered valid. Any polygon with a thinness value above this threshold is reported as error.

Maximum area (map units squared)

MAX_AREA

[numerisch: Double]

Default: 0.0

Maximum area of a polygon to be checked (in map units). Any polygon with an area above this threshold is skipped. A value of 0 means all polygons are checked.

Sliver polygon errors

ERRORS

[Vektor: Punkt]

Standard: [Create temporary layer]

Specification of the output layer containing the centroid points of sliver polygon features. One of:

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Sliver polygon features

Optional

OUTPUT

[Vektor: Polygon]

Standard: [Ausgabe überspringen]

Polygon layer containing sliver polygon features. One of:

  • Ausgabe übersrpingen

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Fortgeschrittene Parameter

Bezeichnung

Name

Typ

Beschreibung

Tolerance

TOLERANCE

[numerisch: Ganzzahl]

Default: 8

Numerical precision of geometric operations, given as an integer n, meaning that two vertices less than 10-n apart (in map units) are considered to be merged.

Ausgaben

Bezeichnung

Name

Typ

Beschreibung

Sliver polygon errors

ERRORS

[Vektor: Punkt]

Output point layer representing the error locations and information. The output layer contains the following fields:

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx

  • gc_ringidx

  • gc_vertidx

  • gc_errorx: the x coordinate of the centroid of the sliver polygon feature.

  • gc_errory: the y coordinate of the centroid of the sliver polygon feature.

  • gc_error: the thinness value of the sliver polygon feature.

  • UNIQUE_ID field: the unique ID of the input feature that is a sliver polygon.

Sliver polygon features

OUTPUT

[Vektor: Polygon]

Output layer with features containing the sliver polygons. If no sliver polygon features are found, the output layer will be empty. Available fields are the same as in the ERRORS output.

Python-Code

Algorithm ID: native:checkgeometrysliverpolygon

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

Die Algorithmus-Kennung wird angezeigt, wenn Sie den Mauszeiger über den Algorithmus in der Verarbeitungs-Werkzeugkiste bewegen. Die Parameter-Liste (parameter_dictionary) enthält die Namen und Werte der Parameter. Siehe Verarbeitungs-Algorithmen von der Konsole aus verwenden für Details zur Ausführung von Verarbeitungsalgorithmen über die Python-Konsole.

24.1.3.16. Small angles

Compares the angles within line or polygon geometries to a specified threshold, and reports as error any angle below that value.

../../../../_images/check_geometry_angle.png

Abb. 24.12 Reporting errors on a line feature for angles lower than 15°.

Siehe auch

Delete small angles

Parameter

Grundlegende Parameter

Bezeichnung

Name

Typ

Beschreibung

Eingabelayer

INPUT

[vector: line, polygon]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Minimum angle

MIN_ANGLE

[numerisch: Double]

Allowed minimum angle between adjacent segments in a feature’s geometry. Any angle below this threshold is reported as error.

Small angle errors

ERRORS

[Vektor: Punkt]

Standard: [Create temporary layer]

Specification of the output layer containing the errors location. One of:

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Fortgeschrittene Parameter

Bezeichnung

Name

Typ

Beschreibung

Tolerance

TOLERANCE

[numerisch: Ganzzahl]

Default: 8

Numerical precision of geometric operations, given as an integer n, meaning that two vertices less than 10-n apart (in map units) are considered to be merged.

Ausgaben

Bezeichnung

Name

Typ

Beschreibung

Small angle errors

ERRORS

[Vektor: Punkt]

Output point layer representing the error locations and information. The output layer contains the following fields:

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx: the index of the feature’s geometry part containing the small angle.

  • gc_ringidx: the index of the feature’s geometry ring containing the small angle.

  • gc_vertidx: the index of the vertex with the small angle in the feature’s geometry ring.

  • gc_errorx: the x coordinate of the vertex with the small angle.

  • gc_errory: the y coordinate of the vertex with the small angle.

  • gc_error: the error angle value.

  • UNIQUE_ID field: the unique ID of the input feature with the small angle.

Python-Code

Algorithm ID: native:checkgeometryangle

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

Die Algorithmus-Kennung wird angezeigt, wenn Sie den Mauszeiger über den Algorithmus in der Verarbeitungs-Werkzeugkiste bewegen. Die Parameter-Liste (parameter_dictionary) enthält die Namen und Werte der Parameter. Siehe Verarbeitungs-Algorithmen von der Konsole aus verwenden für Details zur Ausführung von Verarbeitungsalgorithmen über die Python-Konsole.

24.1.3.17. Small polygons

Detects polygon features whose area is below a specified value as errors.

Bemerkung

This algorithm detects invalid polygon geometries (small polygons). To ensure these invalid features are not filtered out before processing, open optionsAdvanced options next to the Input layer and set Invalid feature filtering to Do not Filter (Better Performance).

../../../../_images/check_geometry_area.png

Abb. 24.13 Reporting errors on features with small polygons (below given area threshold).

Siehe auch

Fix small polygons

Parameter

Grundlegende Parameter

Bezeichnung

Name

Typ

Beschreibung

Eingabelayer

INPUT

[Vektor: Polygon]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Area threshold

AREATHRESHOLD

[numerisch: Double]

Standard: 0

Minimum area of a polygon to be considered valid, in selected units. Any polygon with an area below this threshold is reported as error.

Small polygons errors

ERRORS

[Vektor: Punkt]

Standard: [Create temporary layer]

Specification of the output layer containing centroid points of small polygons. One of:

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Small polygons features

Optional

OUTPUT

[Vektor: Polygon]

Standard: [Ausgabe überspringen]

Specification of the output layer for features containing small polygon features. One of:

  • Ausgabe übersrpingen

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Fortgeschrittene Parameter

Bezeichnung

Name

Typ

Beschreibung

Tolerance

TOLERANCE

[numerisch: Ganzzahl]

Default: 8

Numerical precision of geometric operations, given as an integer n, meaning that two vertices less than 10-n apart (in map units) are considered to be merged.

Ausgaben

Bezeichnung

Name

Typ

Beschreibung

Small polygons errors

ERRORS

[Vektor: Punkt]

Output point layer representing the error locations and information. The output layer contains the following fields:

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx

  • gc_ringidx

  • gc_vertidx

  • gc_errorx: the x coordinate of the centroid of the small polygon.

  • gc_errory: the y coordinate of the centroid of the small polygon.

  • gc_error: the area of the small polygon.

  • UNIQUE_ID field: the unique ID of the input feature that is a small polygon.

Small polygons features

OUTPUT

[Vektor: Polygon]

Output polygon layer with features containing the small polygon features. If no small polygon features are found, the output layer will be empty. Available fields are the same as in the ERRORS output.

Python-Code

Algorithm ID: native:checkgeometryarea

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

Die Algorithmus-Kennung wird angezeigt, wenn Sie den Mauszeiger über den Algorithmus in der Verarbeitungs-Werkzeugkiste bewegen. Die Parameter-Liste (parameter_dictionary) enthält die Namen und Werte der Parameter. Siehe Verarbeitungs-Algorithmen von der Konsole aus verwenden für Details zur Ausführung von Verarbeitungsalgorithmen über die Python-Konsole.

24.1.3.18. Small gaps

Checks for gaps between polygons in the input layer. Gaps with an area smaller than the gap threshold are reported as errors. If an allowed gaps layer is provided, the algorithm ignores gaps that fall entirely within polygons from this layer. An optional buffer can be applied to the allowed gaps.

../../../../_images/check_geometry_gap.png

Abb. 24.14 Reporting errors on polygon features for gaps smaller than the specified threshold.

Parameter

Grundlegende Parameter

Bezeichnung

Name

Typ

Beschreibung

Eingabelayer

INPUT

[Vektor: Polygon]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Gap threshold

GAP_THRESHOLD

[numerisch: Double]

Default: 0.0

Maximum area of gaps to be reported as errors, in map units. If set to 0, all the gaps are reported.

Allowed gaps layer

Optional

ALLOWED_GAPS_LAYER

[Vektor: Polygon]

Optional layer specifying polygons whose areas should be ignored during the gap check. Gaps that fall entirely within these polygons will not be reported as errors.

Allowed gaps buffer

Optional

ALLOWED_GAPS_BUFFER

[numerisch: Double]

Default: 0.0

Buffer distance to apply to the allowed gaps layer, in selected units. Gaps located within this buffered area are ignored. Allows adding a spatial tolerance around allowed gaps to avoid reporting near-boundary gaps as errors.

Neighbors layer

NEIGHBORS

[vector: table]

Standard: [Create temporary layer]

Specification of the output table representing the gap ID and the unique ID of its neighbor features. One of:

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Gap errors

Optional

ERRORS

[Vektor: Punkt]

Standard: [Ausgabe überspringen]

Specification of the output layer containing the centroid points of the gaps. One of:

  • Ausgabe übersrpingen

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Gap features

OUTPUT

[Vektor: Polygon]

Standard: [Create temporary layer]

Specification of the output layer containing the gap geometries. One of:

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Fortgeschrittene Parameter

Bezeichnung

Name

Typ

Beschreibung

Tolerance

TOLERANCE

[numerisch: Ganzzahl]

Default: 8

Numerical precision of geometric operations, given as an integer n, meaning that two vertices less than 10-n apart (in map units) are considered to be merged.

Ausgaben

Bezeichnung

Name

Typ

Beschreibung

Neighbors layer

NEIGHBORS

[vector: table]

A 1–N relational table, meaning that one gap can be associated with multiple neighboring polygons. The output table contains the following fields:

  • gc_errorid: the ID of the gap.

  • UNIQUE_ID field: the unique ID of an input feature that is a neighbor of the gap.

Gap errors

ERRORS

[Vektor: Punkt]

Output point layer representing the error locations and information. The output layer contains the following fields:

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx

  • gc_ringidx

  • gc_vertidx

  • gc_errorx: the x coordinate of the centroid of the gap.

  • gc_errory: the y coordinate of the centroid of the gap.

  • gc_error: the area of the gap.

  • gc_errorid: the ID of the gap.

Gap features

OUTPUT

[Vektor: Polygon]

Output layer containing the gap geometries. Available fields are the same as in the ERRORS output.

Python-Code

Algorithm ID: native:checkgeometrygap

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

Die Algorithmus-Kennung wird angezeigt, wenn Sie den Mauszeiger über den Algorithmus in der Verarbeitungs-Werkzeugkiste bewegen. Die Parameter-Liste (parameter_dictionary) enthält die Namen und Werte der Parameter. Siehe Verarbeitungs-Algorithmen von der Konsole aus verwenden für Details zur Ausführung von Verarbeitungsalgorithmen über die Python-Konsole.

24.1.3.19. Small segments

Calculates length of individual segments in line or polygon geometries, and reports segments shorter than a minimum length as errors.

../../../../_images/check_geometry_smallsegments.png

Abb. 24.15 Reporting errors (in red) on single line segments shorter than the given threshold.

Siehe auch

Delete features

Parameter

Grundlegende Parameter

Bezeichnung

Name

Typ

Beschreibung

Eingabelayer

INPUT

[vector: line, polygon]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Minimum segment length

MIN_SEGMENT_LENGTH

[numerisch: Double]

Default: 0.0

Minimum length of segments to be considered valid, in map units.

Short segments errors

ERRORS

[Vektor: Punkt]

Standard: [Create temporary layer]

Specification of the output layer containing centroid of short segments. One of:

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Short segments features

Optional

OUTPUT

[vector: same as input]

Standard: [Ausgabe überspringen]

Specification of the output layer for features containing short segments. One of:

  • Ausgabe übersrpingen

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Fortgeschrittene Parameter

Bezeichnung

Name

Typ

Beschreibung

Tolerance

TOLERANCE

[numerisch: Ganzzahl]

Default: 8

Numerical precision of geometric operations, given as an integer n, meaning that two vertices less than 10-n apart (in map units) are considered to be merged.

Ausgaben

Bezeichnung

Name

Typ

Beschreibung

Short segments errors

ERRORS

[Vektor: Punkt]

Output point layer representing the error locations and information. The output layer contains the following fields:

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx: the index of the feature’s geometry part containing the small segment.

  • gc_ringidx: the index of the feature’s geometry ring containing the small segment.

  • gc_vertidx: the index of the end vertex of the small segment in the feature’s geometry ring.

  • gc_errorx: the x coordinate of the centroid of the small segment.

  • gc_errory: the y coordinate of the centroid of the small segment.

  • gc_error: the error segment length.

  • UNIQUE_ID field: the unique ID of the input feature with the small segment.

Short segments features

OUTPUT

[vector: same as input]

Output layer containing, for each identified short segment, the feature it belongs to. Available fields are the same as in the ERRORS output.

Python-Code

Algorithm ID: native:checkgeometrysegmentlength

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

Die Algorithmus-Kennung wird angezeigt, wenn Sie den Mauszeiger über den Algorithmus in der Verarbeitungs-Werkzeugkiste bewegen. Die Parameter-Liste (parameter_dictionary) enthält die Namen und Werte der Parameter. Siehe Verarbeitungs-Algorithmen von der Konsole aus verwenden für Details zur Ausführung von Verarbeitungsalgorithmen über die Python-Konsole.

24.1.3.20. Strictly multipart

Checks if multipart geometries have more than one part. Multipart geometries with only one part are errors.

Parameter

Grundlegende Parameter

Bezeichnung

Name

Typ

Beschreibung

Eingabelayer

INPUT

[Vektor: Geometrie]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

One-part geometry errors

ERRORS

[Vektor: Punkt]

Standard: [Create temporary layer]

Specification of the output layer containing centroid of the multipart geometries that have only one part. One of:

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

One-part geometry features

Optional

OUTPUT

[vector: same as input]

Standard: [Ausgabe überspringen]

Specification of the output layer for features containing multipart geometries that have only one part. One of:

  • Ausgabe übersrpingen

  • Temporäre Ebene erstellen (TEMPORARY_OUTPUT)

  • In Datei speichern…

  • In GeoPackage speichern…

  • In Datenbank speichern…

Die Kodierung der Datei kann ebenfalls hier geändert werden.

Fortgeschrittene Parameter

Bezeichnung

Name

Typ

Beschreibung

Tolerance

TOLERANCE

[numerisch: Ganzzahl]

Default: 8

Numerical precision of geometric operations, given as an integer n, meaning that two vertices less than 10-n apart (in map units) are considered to be merged.

Ausgaben

Bezeichnung

Name

Typ

Beschreibung

One-part geometry errors

ERRORS

[Vektor: Punkt]

Output point layer representing the error locations and information. The output layer contains the following fields:

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx

  • gc_ringidx

  • gc_vertidx

  • gc_errorx: the x coordinate of the centroid of the multipart geometry that has only one part.

  • gc_errory: the y coordinate of the centroid of the multipart geometry that has only one part.

  • gc_error

  • UNIQUE_ID field: the unique ID of the input feature that is multipart but has only one part.

One-part geometry features

OUTPUT

[vector: same as input]

Output layer containing features that are multipart but have only one part. Available fields are the same as in the ERRORS output.

Python-Code

Algorithm ID: native:checkgeometrymultipart

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

Die Algorithmus-Kennung wird angezeigt, wenn Sie den Mauszeiger über den Algorithmus in der Verarbeitungs-Werkzeugkiste bewegen. Die Parameter-Liste (parameter_dictionary) enthält die Namen und Werte der Parameter. Siehe Verarbeitungs-Algorithmen von der Konsole aus verwenden für Details zur Ausführung von Verarbeitungsalgorithmen über die Python-Konsole.