Importante

La traduzione è uno sforzo comunitario you can join. Questa pagina è attualmente tradotta al 71.09%.

24.1.3. Verificare Geometria

24.1.3.1. Dangle-end lines

Aggiunto nella versione 3.42

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

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

Parametri

Parametri di base

Etichetta

Nome

Tipo

Descrizione

Layer in ingresso

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

ERRORI

[vector: point]

Predefinito: [Create temporary layer]

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

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Dangle-end features

Opzionale

OUTPUT

[vector: line]

Predefinito: [Skip output]

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

  • Tralascia risultato

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Parametri avanzati

Etichetta

Nome

Tipo

Descrizione

Tolleranza

TOLERANCE

[numeric: integer]

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

In uscita:

Etichetta

Nome

Tipo

Descrizione

Dangle-end errors

ERRORI

[vector: point]

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.

Codice Python

ID algoritmo: native:checkgeometrydangle

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

L” id dell’algoritmo viene visualizzato quando si passa il mouse sull’algoritmo nella finestra degli strumenti di elaborazione. Il dizionario dei parametri fornisce i Nomi e i valori dei parametri. Vedi Usare gli algoritmi di Processing dalla console dei comandi per dettagli su come eseguire algoritmi di elaborazione dalla console Python.

24.1.3.2. Degenerate polygons

Aggiunto nella versione 3.42

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

Nota

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

Parametri

Parametri di base

Etichetta

Nome

Tipo

Descrizione

Layer in ingresso

INPUT

[vector: polygon]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Degenerate polygons errors

ERRORI

[vector: point]

Predefinito: [Create temporary layer]

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

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Degenerate polygons features

Opzionale

OUTPUT

[vector: polygon]

Predefinito: [Skip output]

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

  • Tralascia risultato

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Parametri avanzati

Etichetta

Nome

Tipo

Descrizione

Tolleranza

TOLERANCE

[numeric: integer]

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

In uscita:

Etichetta

Nome

Tipo

Descrizione

Degenerate polygons errors

ERRORI

[vector: point]

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

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

Codice Python

ID algoritmo: native:checkgeometrydegeneratepolygon

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

L” id dell’algoritmo viene visualizzato quando si passa il mouse sull’algoritmo nella finestra degli strumenti di elaborazione. Il dizionario dei parametri fornisce i Nomi e i valori dei parametri. Vedi Usare gli algoritmi di Processing dalla console dei comandi per dettagli su come eseguire algoritmi di elaborazione dalla console Python.

24.1.3.3. Duplicated geometries

Aggiunto nella versione 3.42

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

Parametri

Parametri di base

Etichetta

Nome

Tipo

Descrizione

Layer in ingresso

INPUT

[vector: geometry]

Layer with the geometries to check

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification

Duplicate geometries errors

ERRORI

[vector: point]

Predefinito: [Create temporary layer]

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

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Duplicate geometries

Opzionale

OUTPUT

[vector: same as input]

Predefinito: [Skip output]

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

  • Tralascia risultato

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Parametri avanzati

Etichetta

Nome

Tipo

Descrizione

Tolleranza

TOLERANCE

[numeric: integer]

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

In uscita:

Etichetta

Nome

Tipo

Descrizione

Duplicate geometries errors

ERRORI

[vector: point]

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.

Codice Python

ID algoritmo: native:checkgeometryduplicate

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

L” id dell’algoritmo viene visualizzato quando si passa il mouse sull’algoritmo nella finestra degli strumenti di elaborazione. Il dizionario dei parametri fornisce i Nomi e i valori dei parametri. Vedi Usare gli algoritmi di Processing dalla console dei comandi per dettagli su come eseguire algoritmi di elaborazione dalla console Python.

24.1.3.4. Vertici duplicati

Aggiunto nella versione 3.42

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

Parametri

Parametri di base

Etichetta

Nome

Tipo

Descrizione

Layer in ingresso

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

ERRORI

[vector: point]

Predefinito: [Create temporary layer]

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

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Duplicated vertices features

Opzionale

OUTPUT

[vector: same as input]

Predefinito: [Skip output]

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

  • Tralascia risultato

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Parametri avanzati

Etichetta

Nome

Tipo

Descrizione

Tolleranza

TOLERANCE

[numeric: integer]

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

In uscita:

Etichetta

Nome

Tipo

Descrizione

Duplicated vertices errors

ERRORI

[vector: point]

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.

Codice Python

ID algoritmo: native:checkgeometryduplicatenodes

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

L” id dell’algoritmo viene visualizzato quando si passa il mouse sull’algoritmo nella finestra degli strumenti di elaborazione. Il dizionario dei parametri fornisce i Nomi e i valori dei parametri. Vedi Usare gli algoritmi di Processing dalla console dei comandi per dettagli su come eseguire algoritmi di elaborazione dalla console Python.

24.1.3.5. Features inside polygon

Aggiunto nella versione 3.42

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

Fig. 24.3 Reporting errors on features inside a polygon.

Vedi anche

Eliminare elementi

Parametri

Parametri di base

Etichetta

Nome

Tipo

Descrizione

Layer in ingresso

INPUT

[vector: geometry]

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

ERRORI

[vector: point]

Predefinito: [Create temporary layer]

Point layer representing the contained features. One of:

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Contained features

Opzionale

OUTPUT

[vector: same as input]

Predefinito: [Skip output]

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

  • Tralascia risultato

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Parametri avanzati

Etichetta

Nome

Tipo

Descrizione

Tolleranza

TOLERANCE

[numeric: integer]

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

In uscita:

Etichetta

Nome

Tipo

Descrizione

Errors from contained features

ERRORI

[vector: point]

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.

Codice Python

ID algoritmo: native:checkgeometrycontained

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

L” id dell’algoritmo viene visualizzato quando si passa il mouse sull’algoritmo nella finestra degli strumenti di elaborazione. Il dizionario dei parametri fornisce i Nomi e i valori dei parametri. Vedi Usare gli algoritmi di Processing dalla console dei comandi per dettagli su come eseguire algoritmi di elaborazione dalla console Python.

24.1.3.6. Buchi

Aggiunto nella versione 3.42

Rileva i buchi nelle geometrie poligono e li segnala come errori.

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

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

Vedi anche

Riempire i buchi

Parametri

Parametri di base

Etichetta

Nome

Tipo

Descrizione

Layer in ingresso

INPUT

[vector: polygon]

Layer with the geometries to check

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification

Errori buchi

ERRORI

[vector: point]

Predefinito: [Create temporary layer]

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

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Poligoni con buchi

Opzionale

OUTPUT

[vector: polygon]

Predefinito: [Skip output]

Polygon layer with the features containing holes. One of:

  • Tralascia risultato

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Parametri avanzati

Etichetta

Nome

Tipo

Descrizione

Tolleranza

TOLERANCE

[numeric: integer]

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

In uscita:

Etichetta

Nome

Tipo

Descrizione

Errori buchi

ERRORI

[vector: point]

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

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

Codice Python

ID algoritmo: native:checkgeometryhole

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

L” id dell’algoritmo viene visualizzato quando si passa il mouse sull’algoritmo nella finestra degli strumenti di elaborazione. Il dizionario dei parametri fornisce i Nomi e i valori dei parametri. Vedi Usare gli algoritmi di Processing dalla console dei comandi per dettagli su come eseguire algoritmi di elaborazione dalla console Python.

24.1.3.7. Lines intersecting each other

Aggiunto nella versione 3.42

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

Parametri

Parametri di base

Etichetta

Nome

Tipo

Descrizione

Layer in ingresso

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

ERRORI

[vector: point]

Predefinito: [Create temporary layer]

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

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Intersecting feature

Opzionale

OUTPUT

[vector: line]

Predefinito: [Skip output]

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

  • Tralascia risultato

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Parametri avanzati

Etichetta

Nome

Tipo

Descrizione

Tolleranza

TOLERANCE

[numeric: integer]

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

In uscita:

Etichetta

Nome

Tipo

Descrizione

Intersection errors

ERRORI

[vector: point]

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.

Codice Python

ID algoritmo: native:checkgeometrylineintersection

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

L” id dell’algoritmo viene visualizzato quando si passa il mouse sull’algoritmo nella finestra degli strumenti di elaborazione. Il dizionario dei parametri fornisce i Nomi e i valori dei parametri. Vedi Usare gli algoritmi di Processing dalla console dei comandi per dettagli su come eseguire algoritmi di elaborazione dalla console Python.

24.1.3.8. Lines intersecting other layer

Aggiunto nella versione 3.42

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.

Parametri

Parametri di base

Etichetta

Nome

Tipo

Descrizione

Layer in ingresso

INPUT

[vector: line]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Verifica layer

CHECK_LAYER

[vector: line, polygon]

Layer with the geometries to check against.

Line intersecting other layer errors

ERRORI

[vector: point]

Predefinito: [Create temporary layer]

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

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Line intersecting other layer features

Opzionale

OUTPUT

[line]

Predefinito: [Skip output]

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

  • Tralascia risultato

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Parametri avanzati

Etichetta

Nome

Tipo

Descrizione

Tolleranza

TOLERANCE

[numeric: integer]

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

In uscita:

Etichetta

Nome

Tipo

Descrizione

Line intersecting other layer errors

ERRORI

[vector: point]

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.

Codice Python

ID algoritmo: native:checkgeometrylinelayerintersection

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

L” id dell’algoritmo viene visualizzato quando si passa il mouse sull’algoritmo nella finestra degli strumenti di elaborazione. Il dizionario dei parametri fornisce i Nomi e i valori dei parametri. Vedi Usare gli algoritmi di Processing dalla console dei comandi per dettagli su come eseguire algoritmi di elaborazione dalla console Python.

24.1.3.9. Missing vertices along borders

Aggiunto nella versione 3.42

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

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

Parametri

Parametri di base

Etichetta

Nome

Tipo

Descrizione

Layer in ingresso

INPUT

[vector: polygon]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Missing vertices errors

ERRORI

[vector: point]

Predefinito: [Create temporary layer]

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

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Missing vertices features

Opzionale

OUTPUT

[vector: polygon]

Predefinito: [Skip output]

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

  • Tralascia risultato

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Parametri avanzati

Etichetta

Nome

Tipo

Descrizione

Tolleranza

TOLERANCE

[numeric: integer]

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

In uscita:

Etichetta

Nome

Tipo

Descrizione

Missing vertices errors

ERRORI

[vector: point]

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: la coordinata x del vertice mancante.

  • gc_errory: la coordinata y del vertice mancante.

  • gc_error

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

Missing vertices features

OUTPUT

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

Codice Python

ID algoritmo: native:checkgeometrymissingvertex

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

L” id dell’algoritmo viene visualizzato quando si passa il mouse sull’algoritmo nella finestra degli strumenti di elaborazione. Il dizionario dei parametri fornisce i Nomi e i valori dei parametri. Vedi Usare gli algoritmi di Processing dalla console dei comandi per dettagli su come eseguire algoritmi di elaborazione dalla console Python.

24.1.3.10. Overlaps

Aggiunto nella versione 3.42

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

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

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

Parametri

Parametri di base

Etichetta

Nome

Tipo

Descrizione

Layer in ingresso

INPUT

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

[numeric: double]

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

Overlap errors

ERRORI

[vector: point]

Predefinito: [Create temporary layer]

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

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Overlap features

Opzionale

OUTPUT

[vector: polygon]

Predefinito: [Skip output]

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

  • Tralascia risultato

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Parametri avanzati

Etichetta

Nome

Tipo

Descrizione

Tolleranza

TOLERANCE

[numeric: integer]

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

In uscita:

Etichetta

Nome

Tipo

Descrizione

Overlap errors

ERRORI

[vector: point]

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

[vector: polygon]

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

Codice Python

ID algoritmo: native:checkgeometryoverlap

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

L” id dell’algoritmo viene visualizzato quando si passa il mouse sull’algoritmo nella finestra degli strumenti di elaborazione. Il dizionario dei parametri fornisce i Nomi e i valori dei parametri. Vedi Usare gli algoritmi di Processing dalla console dei comandi per dettagli su come eseguire algoritmi di elaborazione dalla console Python.

24.1.3.11. Points outside lines

Aggiunto nella versione 3.42

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

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

Parametri

Parametri di base

Etichetta

Nome

Tipo

Descrizione

Layer in ingresso

INPUT

[vector: point]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Layer linea

LINES

[vector: line][list]

Layer(s) with the lines to check against.

Points not covered by a line

ERRORI

[vector: point]

Predefinito: [Create temporary layer]

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

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Parametri avanzati

Etichetta

Nome

Tipo

Descrizione

Tolleranza

TOLERANCE

[numeric: integer]

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

In uscita:

Etichetta

Nome

Tipo

Descrizione

Points not covered by a line

ERRORI

[vector: point]

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.

Codice Python

ID algoritmo: native:checkgeometrypointcoveredbyline

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

L” id dell’algoritmo viene visualizzato quando si passa il mouse sull’algoritmo nella finestra degli strumenti di elaborazione. Il dizionario dei parametri fornisce i Nomi e i valori dei parametri. Vedi Usare gli algoritmi di Processing dalla console dei comandi per dettagli su come eseguire algoritmi di elaborazione dalla console Python.

24.1.3.12. Points outside polygons

Aggiunto nella versione 3.42

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

Fig. 24.8 Reporting errors on points outside polygons.

Parametri

Parametri di base

Etichetta

Nome

Tipo

Descrizione

Layer in ingresso

INPUT

[vector: point]

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

ERRORI

[vector: point]

Predefinito: [Create temporary layer]

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

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Parametri avanzati

Etichetta

Nome

Tipo

Descrizione

Tolleranza

TOLERANCE

[numeric: integer]

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

In uscita:

Etichetta

Nome

Tipo

Descrizione

Points outside polygons errors

ERRORI

[vector: point]

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.

Codice Python

ID algoritmo: native:checkgeometrypointinpolygon

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

L” id dell’algoritmo viene visualizzato quando si passa il mouse sull’algoritmo nella finestra degli strumenti di elaborazione. Il dizionario dei parametri fornisce i Nomi e i valori dei parametri. Vedi Usare gli algoritmi di Processing dalla console dei comandi per dettagli su come eseguire algoritmi di elaborazione dalla console Python.

24.1.3.13. Self-contacts

Aggiunto nella versione 3.42

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.

Nota

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

Fig. 24.9 Self-intersection vs self-contact.

Vedi anche

Self-intersections

Parametri

Parametri di base

Etichetta

Nome

Tipo

Descrizione

Layer in ingresso

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

ERRORI

[vector: point]

Predefinito: [Create temporary layer]

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

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Self contact features

Opzionale

OUTPUT

[same as input]

Predefinito: [Skip output]

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

  • Tralascia risultato

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Parametri avanzati

Etichetta

Nome

Tipo

Descrizione

Tolleranza

TOLERANCE

[numeric: integer]

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

In uscita:

Etichetta

Nome

Tipo

Descrizione

Self contact error points

ERRORI

[vector: point]

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.

Codice Python

ID algoritmo: native:checkgeometryselfcontact

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

L” id dell’algoritmo viene visualizzato quando si passa il mouse sull’algoritmo nella finestra degli strumenti di elaborazione. Il dizionario dei parametri fornisce i Nomi e i valori dei parametri. Vedi Usare gli algoritmi di Processing dalla console dei comandi per dettagli su come eseguire algoritmi di elaborazione dalla console Python.

24.1.3.14. Self-intersections

Aggiunto nella versione 3.42

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.

Nota

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

Fig. 24.10 Self-intersection vs self-contact.

Parametri

Parametri di base

Etichetta

Nome

Tipo

Descrizione

Layer in ingresso

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

ERRORI

[vector: point]

Predefinito: [Create temporary layer]

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

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Self-intersecting features

Opzionale

OUTPUT

[same as input]

Predefinito: [Skip output]

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

  • Tralascia risultato

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Parametri avanzati

Etichetta

Nome

Tipo

Descrizione

Tolleranza

TOLERANCE

[numeric: integer]

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

In uscita:

Etichetta

Nome

Tipo

Descrizione

Self-intersecting errors

ERRORI

[vector: point]

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.

Codice Python

ID algoritmo: native:checkgeometryselfintersection

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

L” id dell’algoritmo viene visualizzato quando si passa il mouse sull’algoritmo nella finestra degli strumenti di elaborazione. Il dizionario dei parametri fornisce i Nomi e i valori dei parametri. Vedi Usare gli algoritmi di Processing dalla console dei comandi per dettagli su come eseguire algoritmi di elaborazione dalla console Python.

24.1.3.15. Sliver polygons

Aggiunto nella versione 3.42

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.

Nota

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

Fig. 24.11 Reporting errors on features with sliver polygons.

Vedi anche

Fix small polygons

Parametri

Parametri di base

Etichetta

Nome

Tipo

Descrizione

Layer in ingresso

INPUT

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

[numeric: 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

[numeric: double]

Predefinito: 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

ERRORI

[vector: point]

Predefinito: [Create temporary layer]

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

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Sliver polygon features

Opzionale

OUTPUT

[vector: polygon]

Predefinito: [Skip output]

Polygon layer containing sliver polygon features. One of:

  • Tralascia risultato

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Parametri avanzati

Etichetta

Nome

Tipo

Descrizione

Tolleranza

TOLERANCE

[numeric: integer]

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

In uscita:

Etichetta

Nome

Tipo

Descrizione

Sliver polygon errors

ERRORI

[vector: point]

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

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

Codice Python

ID algoritmo: native:checkgeometrysliverpolygon

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

L” id dell’algoritmo viene visualizzato quando si passa il mouse sull’algoritmo nella finestra degli strumenti di elaborazione. Il dizionario dei parametri fornisce i Nomi e i valori dei parametri. Vedi Usare gli algoritmi di Processing dalla console dei comandi per dettagli su come eseguire algoritmi di elaborazione dalla console Python.

24.1.3.16. Angoli piccoli

Aggiunto nella versione 3.42

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

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

Vedi anche

Delete small angles

Parametri

Parametri di base

Etichetta

Nome

Tipo

Descrizione

Layer in ingresso

INPUT

[vector: line, polygon]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Angolo minimo

MIN_ANGLE

[numeric: double]

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

Small angle errors

ERRORI

[vector: point]

Predefinito: [Create temporary layer]

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

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Parametri avanzati

Etichetta

Nome

Tipo

Descrizione

Tolleranza

TOLERANCE

[numeric: integer]

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

In uscita:

Etichetta

Nome

Tipo

Descrizione

Small angle errors

ERRORI

[vector: point]

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.

Codice Python

ID algoritmo: native:checkgeometryangle

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

L” id dell’algoritmo viene visualizzato quando si passa il mouse sull’algoritmo nella finestra degli strumenti di elaborazione. Il dizionario dei parametri fornisce i Nomi e i valori dei parametri. Vedi Usare gli algoritmi di Processing dalla console dei comandi per dettagli su come eseguire algoritmi di elaborazione dalla console Python.

24.1.3.17. Small polygons

Aggiunto nella versione 3.42

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

Nota

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

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

Vedi anche

Fix small polygons

Parametri

Parametri di base

Etichetta

Nome

Tipo

Descrizione

Layer in ingresso

INPUT

[vector: polygon]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Area threshold

AREATHRESHOLD

[numeric: double]

Valore predefinito: 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

ERRORI

[vector: point]

Predefinito: [Create temporary layer]

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

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Small polygons features

Opzionale

OUTPUT

[vector: polygon]

Predefinito: [Skip output]

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

  • Tralascia risultato

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Parametri avanzati

Etichetta

Nome

Tipo

Descrizione

Tolleranza

TOLERANCE

[numeric: integer]

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

In uscita:

Etichetta

Nome

Tipo

Descrizione

Small polygons errors

ERRORI

[vector: point]

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

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

Codice Python

ID algoritmo: native:checkgeometryarea

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

L” id dell’algoritmo viene visualizzato quando si passa il mouse sull’algoritmo nella finestra degli strumenti di elaborazione. Il dizionario dei parametri fornisce i Nomi e i valori dei parametri. Vedi Usare gli algoritmi di Processing dalla console dei comandi per dettagli su come eseguire algoritmi di elaborazione dalla console Python.

24.1.3.18. Small gaps

Aggiunto nella versione 3.42

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

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

Parametri

Parametri di base

Etichetta

Nome

Tipo

Descrizione

Layer in ingresso

INPUT

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

[numeric: double]

Predefinito: 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

Opzionale

ALLOWED_GAPS_LAYER

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

Opzionale

ALLOWED_GAPS_BUFFER

[numeric: double]

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

Layer confinanti

NEIGHBORS

[vector: table]

Predefinito: [Create temporary layer]

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

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Gap errors

Opzionale

ERRORI

[vector: point]

Predefinito: [Skip output]

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

  • Tralascia risultato

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Gap features

OUTPUT

[vector: polygon]

Predefinito: [Create temporary layer]

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

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Parametri avanzati

Etichetta

Nome

Tipo

Descrizione

Tolleranza

TOLERANCE

[numeric: integer]

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

In uscita:

Etichetta

Nome

Tipo

Descrizione

Layer confinanti

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

ERRORI

[vector: point]

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

[vector: polygon]

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

Codice Python

Algorithm ID: native:checkgeometrygap

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

L” id dell’algoritmo viene visualizzato quando si passa il mouse sull’algoritmo nella finestra degli strumenti di elaborazione. Il dizionario dei parametri fornisce i Nomi e i valori dei parametri. Vedi Usare gli algoritmi di Processing dalla console dei comandi per dettagli su come eseguire algoritmi di elaborazione dalla console Python.

24.1.3.19. Small segments

Aggiunto nella versione 3.42

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

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

Vedi anche

Eliminare elementi

Parametri

Parametri di base

Etichetta

Nome

Tipo

Descrizione

Layer in ingresso

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

[numeric: double]

Predefinito: 0.0

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

Short segments errors

ERRORI

[vector: point]

Predefinito: [Create temporary layer]

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

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Short segments features

Opzionale

OUTPUT

[vector: same as input]

Predefinito: [Skip output]

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

  • Tralascia risultato

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Parametri avanzati

Etichetta

Nome

Tipo

Descrizione

Tolleranza

TOLERANCE

[numeric: integer]

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

In uscita:

Etichetta

Nome

Tipo

Descrizione

Short segments errors

ERRORI

[vector: point]

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.

Codice Python

ID algoritmo: native:checkgeometrysegmentlength

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

L” id dell’algoritmo viene visualizzato quando si passa il mouse sull’algoritmo nella finestra degli strumenti di elaborazione. Il dizionario dei parametri fornisce i Nomi e i valori dei parametri. Vedi Usare gli algoritmi di Processing dalla console dei comandi per dettagli su come eseguire algoritmi di elaborazione dalla console Python.

24.1.3.20. Strictly multipart

Aggiunto nella versione 3.42

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

Parametri

Parametri di base

Etichetta

Nome

Tipo

Descrizione

Layer in ingresso

INPUT

[vector: geometry]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

One-part geometry errors

ERRORI

[vector: point]

Predefinito: [Create temporary layer]

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

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

One-part geometry features

Opzionale

OUTPUT

[vector: same as input]

Predefinito: [Skip output]

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

  • Tralascia risultato

  • Crea Layer Temporaneo (TEMPORARY_OUTPUT)

  • Salva su File…

  • Salva su Geopackage…

  • Salva su Tabella di Database…

La codifica del file può anche essere cambiata qui.

Parametri avanzati

Etichetta

Nome

Tipo

Descrizione

Tolleranza

TOLERANCE

[numeric: integer]

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

In uscita:

Etichetta

Nome

Tipo

Descrizione

One-part geometry errors

ERRORI

[vector: point]

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.

Codice Python

ID algoritmo: native:checkgeometrymultipart

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

L” id dell’algoritmo viene visualizzato quando si passa il mouse sull’algoritmo nella finestra degli strumenti di elaborazione. Il dizionario dei parametri fornisce i Nomi e i valori dei parametri. Vedi Usare gli algoritmi di Processing dalla console dei comandi per dettagli su come eseguire algoritmi di elaborazione dalla console Python.