Important
Traducerea este un efort al comunității, la care puteți să vă alăturați. În prezent, această pagină este tradusă 51.88%.
24.1.3. Check Geometry
24.1.3.1. Dangle-end lines
Added in 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.
Fig. 24.2 Identifying dangle-end features (in red) and vertices (yellow).
Parametri
Parametri de bază
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Strat de intrare |
|
[vector: linie] |
Layer with the geometries to check. |
Unique feature identifier |
|
[tablefield: any] |
Field storing unique values for feature identification. |
Dangle-end errors |
|
[vector: punct] Implicit: |
Specification of the output layer containing the errors location. One of:
The file encoding can also be changed here. |
Dangle-end features Opţional |
|
[vector: linie] Implicit: |
Line layer containing the identified dangle-end line features. One of:
The file encoding can also be changed here. |
Parametri avansați
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Tolerance |
|
[numeric: integer] Implicit: 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. |
Rezultat
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Dangle-end errors |
|
[vector: punct] |
Output point layer representing the error locations and information. The output layer contains the following fields:
|
Dangle-end features |
|
[vector: linie] |
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 |
Cod Python
Algorithm ID: native:checkgeometrydangle
import processing
processing.run("algorithm_id", {parameter_dictionary})
ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.
24.1.3.2. Degenerate polygons
Added in 3.42
Checks the polygons with less than 3 points, which are degenerate polygons. Degenerate polygons are errors.
Notă
This algorithm detects invalid polygon geometries (degenerate polygons).
To ensure these invalid features are not filtered out before processing, open
Advanced options next to the Input layer and set
Invalid feature filtering to Do not Filter (Better Performance).
Parametri
Parametri de bază
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Strat de intrare |
|
[vector: poligon] |
Layer with the geometries to check. |
Unique feature identifier |
|
[tablefield: any] |
Field storing unique values for feature identification. |
Degenerate polygons errors |
|
[vector: punct] Implicit: |
Specification of the output layer containing the centroid of the degenerate polygons. One of:
The file encoding can also be changed here. |
Degenerate polygons features Opţional |
|
[vector: poligon] Implicit: |
Specification of the output layer containing the degenerate polygons. One of:
The file encoding can also be changed here. |
Parametri avansați
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Tolerance |
|
[numeric: integer] Implicit: 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. |
Rezultat
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Degenerate polygons errors |
|
[vector: punct] |
Output point layer representing the error locations and information. The output layer contains the following fields:
|
Degenerate polygons features |
|
[vector: poligon] |
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 |
Cod Python
Algorithm ID: native:checkgeometrydegeneratepolygon
import processing
processing.run("algorithm_id", {parameter_dictionary})
ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.
24.1.3.3. Duplicated geometries
Added in 3.42
Checks for duplicated geometries in a vector layer, and reports them as errors.
Parametri
Parametri de bază
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Strat de intrare |
|
[vector: geometrie] |
Layer with the geometries to check |
Unique feature identifier |
|
[tablefield: any] |
Field storing unique values for feature identification |
Duplicate geometries errors |
|
[vector: punct] Implicit: |
Specification of the output layer containing the errors location. One of:
The file encoding can also be changed here. |
Duplicate geometries Opţional |
|
[vector: la fel ca intrarea] Implicit: |
Specification of the output layer containing the geometries that were found to be duplicated. One of:
The file encoding can also be changed here. |
Parametri avansați
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Tolerance |
|
[numeric: integer] Implicit: 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. |
Rezultat
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Duplicate geometries errors |
|
[vector: punct] |
Output point layer representing the error locations and information. The output layer contains the following fields:
|
Duplicate geometries |
|
[vector: la fel ca intrarea] |
Output layer containing the geometries that were found to be duplicated.
Available fields are the same as in the |
Cod Python
Algorithm ID: native:checkgeometryduplicate
import processing
processing.run("algorithm_id", {parameter_dictionary})
ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.
24.1.3.4. Duplicated vertices
Added in 3.42
Checks for duplicated vertices in line or polygon geometries, and reports them as errors.
Parametri
Parametri de bază
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Strat de intrare |
|
[vector: linie, poligon] |
Layer with the geometries to check |
Unique feature identifier |
|
[tablefield: any] |
Field storing unique values for feature identification |
Duplicated vertices errors |
|
[vector: punct] Implicit: |
Specification of the output layer containing the errors location. One of:
The file encoding can also be changed here. |
Duplicated vertices features Opţional |
|
[vector: la fel ca intrarea] Implicit: |
Specification of the output layer containing the features with duplicated vertices. One of:
|
Parametri avansați
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Tolerance |
|
[numeric: integer] Implicit: 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. |
Rezultat
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Duplicated vertices errors |
|
[vector: punct] |
Output point layer representing the error locations and information. The output layer contains the following fields:
|
Duplicated vertices features |
|
[vector: la fel ca intrarea] |
Output layer containing the features with duplicated vertices.
Available fields are the same as in the |
Cod Python
Algorithm ID: native:checkgeometryduplicatenodes
import processing
processing.run("algorithm_id", {parameter_dictionary})
ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.
24.1.3.5. Features inside polygon
Added in 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.
Fig. 24.3 Reporting errors on features inside a polygon.
Vezi și
Parametri
Parametri de bază
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Strat de intrare |
|
[vector: geometrie] |
Layer with the geometries to check. |
Unique feature identifier |
|
[tablefield: any] |
Field storing unique values for feature identification. |
Polygon layers |
|
[vector: polygon][list] |
List of polygon layers to check against. |
Errors from contained features |
|
[vector: punct] Implicit: |
Point layer representing the contained features. One of:
The file encoding can also be changed here. |
Contained features Opţional |
|
[vector: la fel ca intrarea] Implicit: |
Specification of the output layer containing features within the checked polygons. One of:
The file encoding can also be changed here. |
Parametri avansați
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Tolerance |
|
[numeric: integer] Implicit: 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. |
Rezultat
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Errors from contained features |
|
[vector: punct] |
Output point layer representing the error locations and information. The output layer contains the following fields:
|
Contained features |
|
[vector: la fel ca intrarea] |
Output layer containing features within the checked polygons.
Available fields are the same as in the |
Cod Python
Algorithm ID: native:checkgeometrycontained
import processing
processing.run("algorithm_id", {parameter_dictionary})
ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.
24.1.3.6. Holes
Added in 3.42
Detects holes in polygon geometries and reports them as errors.
Fig. 24.4 Reporting errors for holes on a polygon feature.
Vezi și
Parametri
Parametri de bază
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Strat de intrare |
|
[vector: poligon] |
Layer with the geometries to check |
Unique feature identifier |
|
[tablefield: any] |
Field storing unique values for feature identification |
Holes errors |
|
[vector: punct] Implicit: |
Specification of the output layer containing the errors location. One of:
The file encoding can also be changed here. |
Polygons with holes Opţional |
|
[vector: poligon] Implicit: |
Polygon layer with the features containing holes. One of:
The file encoding can also be changed here. |
Parametri avansați
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Tolerance |
|
[numeric: integer] Implicit: 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. |
Rezultat
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Holes errors |
|
[vector: punct] |
Output point layer representing the error locations and information. The output layer contains the following fields:
|
Polygon with holes |
|
[vector: poligon] |
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 |
Cod Python
Algorithm ID: native:checkgeometryhole
import processing
processing.run("algorithm_id", {parameter_dictionary})
ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.
24.1.3.7. Lines intersecting each other
Added in 3.42
Checks intersections between line geometries within a layer. Intersections between two different lines are errors.
Vezi și
Parametri
Parametri de bază
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Strat de intrare |
|
[vector: linie] |
Layer with the geometries to check. |
Unique feature identifier |
|
[tablefield: any] |
Field storing unique values for feature identification. |
Intersection errors |
|
[vector: punct] Implicit: |
Specification of the output layer containing the intersections location. One of:
The file encoding can also be changed here. |
Intersecting feature Opţional |
|
[vector: linie] Implicit: |
Specification of the output layer for features intersecting each other. One of:
The file encoding can also be changed here. |
Parametri avansați
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Tolerance |
|
[numeric: integer] Implicit: 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. |
Rezultat
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Intersection errors |
|
[vector: punct] |
Output point layer representing the error locations and information. The output layer contains the following fields:
|
Intersecting feature |
|
[vector: linie] |
Output layer containing, for each identified intersection, the feature (with same |
Cod Python
Algorithm ID: native:checkgeometrylineintersection
import processing
processing.run("algorithm_id", {parameter_dictionary})
ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.
24.1.3.8. Lines intersecting other layer
Added in 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.
Vezi și
Parametri
Parametri de bază
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Strat de intrare |
|
[vector: linie] |
Layer with the geometries to check. |
Unique feature identifier |
|
[tablefield: any] |
Field storing unique values for feature identification. |
Check layer |
|
[vector: linie, poligon] |
Layer with the geometries to check against. |
Line intersecting other layer errors |
|
[vector: punct] Implicit: |
Specification of the output point layer containing the locations of intersection errors. One of:
The file encoding can also be changed here. |
Line intersecting other layer features Opţional |
|
[line] Implicit: |
Line layer with the input features that intersect features in the check layer. One of:
The file encoding can also be changed here. |
Parametri avansați
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Tolerance |
|
[numeric: integer] Implicit: 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. |
Rezultat
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Line intersecting other layer errors |
|
[vector: punct] |
Output point layer representing the error location and information. The output layer contains the following fields:
|
Line intersecting other layer features |
|
[vector: linie] |
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 |
Cod Python
Algorithm ID: native:checkgeometrylinelayerintersection
import processing
processing.run("algorithm_id", {parameter_dictionary})
ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.
24.1.3.9. Missing vertices along borders
Added in 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.
Fig. 24.5 Reporting errors for missing vertices on polygon features.
Parametri
Parametri de bază
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Strat de intrare |
|
[vector: poligon] |
Layer with the geometries to check. |
Unique feature identifier |
|
[tablefield: any] |
Field storing unique values for feature identification. |
Missing vertices errors |
|
[vector: punct] Implicit: |
Specification of the output layer containing the errors location. One of:
The file encoding can also be changed here. |
Missing vertices features Opţional |
|
[vector: poligon] Implicit: |
Polygon layer with the features whose vertices are missing. One of:
The file encoding can also be changed here. |
Parametri avansați
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Tolerance |
|
[numeric: integer] Implicit: 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. |
Rezultat
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Missing vertices errors |
|
[vector: punct] |
Output point layer representing the error locations and information. The output layer contains the following fields:
|
Missing vertices features |
|
[vector: poligon] |
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 |
Cod Python
Algorithm ID: native:checkgeometrymissingvertex
import processing
processing.run("algorithm_id", {parameter_dictionary})
ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.
24.1.3.10. Overlaps
Added in 3.42
Calculates overlapping areas in polygon geometries, and reports areas smaller than a given minimum as errors.
Fig. 24.6 Hashed polygons indicate overlapping areas smaller than the specified minimum.
Vezi și
Parametri
Parametri de bază
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Strat de intrare |
|
[vector: poligon] |
Layer with the geometries to check. |
Unique feature identifier |
|
[tablefield: any] |
Field storing unique values for feature identification. |
Minimum 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 |
|
[vector: punct] Implicit: |
Specification of the output layer containing centroid points of the overlapping areas. One of:
The file encoding can also be changed here. |
Overlap features Opţional |
|
[vector: poligon] Implicit: |
Specification of the output layer for features containing overlaps. One of:
The file encoding can also be changed here. |
Parametri avansați
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Tolerance |
|
[numeric: integer] Implicit: 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. |
Rezultat
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Overlap errors |
|
[vector: punct] |
Output point layer representing the error locations and information. The output layer contains the following fields:
|
Overlap features |
|
[vector: poligon] |
Output layer containing the overlapping areas.
Available fields are the same as in the |
Cod Python
Algorithm ID: native:checkgeometryoverlap
import processing
processing.run("algorithm_id", {parameter_dictionary})
ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.
24.1.3.11. Points outside lines
Added in 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.
Fig. 24.7 Reporting errors on points not covered by a line.
Parametri
Parametri de bază
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Strat de intrare |
|
[vector: punct] |
Layer with the geometries to check. |
Unique feature identifier |
|
[tablefield: any] |
Field storing unique values for feature identification. |
Line layers |
|
[vector: line][list] |
Layer(s) with the lines to check against. |
Points not covered by a line |
|
[vector: punct] Implicit: |
Specification of the output layer containing points not covered by a line. One of:
The file encoding can also be changed here. |
Parametri avansați
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Tolerance |
|
[numeric: integer] Implicit: 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. |
Rezultat
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Points not covered by a line |
|
[vector: punct] |
Output point layer representing the error locations and information. The output layer contains the following fields:
|
Cod Python
Algorithm ID: native:checkgeometrypointcoveredbyline
import processing
processing.run("algorithm_id", {parameter_dictionary})
ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.
24.1.3.12. Points outside polygons
Added in 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.
Fig. 24.8 Reporting errors on points outside polygons.
Parametri
Parametri de bază
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Strat de intrare |
|
[vector: punct] |
Layer with the geometries to check. |
Unique feature identifier |
|
[tablefield: any] |
Field storing unique values for feature identification. |
Polygon layers |
|
[vector: polygon][list] |
Layer(s) with the polygons to check against. |
Points outside polygons errors |
|
[vector: punct] Implicit: |
Specification of the output layer containing points outside the polygons. One of:
The file encoding can also be changed here. |
Parametri avansați
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Tolerance |
|
[numeric: integer] Implicit: 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. |
Rezultat
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Points outside polygons errors |
|
[vector: punct] |
Output point layer representing the error locations and information. The output layer contains the following fields:
|
Cod Python
Algorithm ID: native:checkgeometrypointinpolygon
import processing
processing.run("algorithm_id", {parameter_dictionary})
ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.
24.1.3.13. Self-contacts
Added in 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.
Notă
This algorithm detects invalid polygon geometries (self-contacts).
To ensure these invalid features are not filtered out before processing, open
Advanced options next to the Input layer and set
Invalid feature filtering to Do not Filter (Better Performance).
Fig. 24.9 Self-intersection vs self-contact.
Vezi și
Parametri
Parametri de bază
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Strat de intrare |
|
[vector: linie, poligon] |
Layer with the geometries to check. |
Unique feature identifier |
|
[tablefield: any] |
Field storing unique values for feature identification. |
Self contact error points |
|
[vector: punct] Implicit: |
Specification of the output layer containing the errors location. One of:
The file encoding can also be changed here. |
Self contact features Opţional |
|
[la fel ca intrarea] Implicit: |
Line or polygon layer containing self-contact features. One of:
The file encoding can also be changed here. |
Parametri avansați
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Tolerance |
|
[numeric: integer] Implicit: 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. |
Rezultat
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Self contact error points |
|
[vector: punct] |
Output point layer representing the error locations and information. The output layer contains the following fields:
|
Self contact features |
|
[vector: la fel ca intrarea] |
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 |
Cod Python
Algorithm ID: native:checkgeometryselfcontact
import processing
processing.run("algorithm_id", {parameter_dictionary})
ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.
24.1.3.14. Self-intersections
Added in 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.
Notă
This algorithm detects invalid polygon geometries (self-intersections).
To ensure these invalid features are not filtered out before processing, open
Advanced options next to the Input layer and set
Invalid feature filtering to Do not Filter (Better Performance).
Fig. 24.10 Self-intersection vs self-contact.
Parametri
Parametri de bază
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Strat de intrare |
|
[vector: linie, poligon] |
Layer with the geometries to check |
Unique feature identifier |
|
[tablefield: any] |
Field storing unique values for feature identification |
Self-intersecting errors |
|
[vector: punct] Implicit: |
Specification of the output layer containing the errors location. One of:
The file encoding can also be changed here. |
Self-intersecting features Opţional |
|
[la fel ca intrarea] Implicit: |
Line or polygon layer containing self-intersected features. One of:
The file encoding can also be changed here. |
Parametri avansați
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Tolerance |
|
[numeric: integer] Implicit: 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. |
Rezultat
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Self-intersecting errors |
|
[vector: punct] |
Output point layer representing the error locations and information. The output layer contains the following fields:
|
Self-intersecting features |
|
[vector: linie, poligon] |
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 |
Cod Python
Algorithm ID: native:checkgeometryselfintersection
import processing
processing.run("algorithm_id", {parameter_dictionary})
ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.
24.1.3.15. Sliver polygons
Added in 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.
Notă
This algorithm detects invalid polygon geometries (sliver polygons).
To ensure these invalid features are not filtered out before processing, open
Advanced options next to the Input layer and set
Invalid feature filtering to Do not Filter (Better Performance).
Fig. 24.11 Reporting errors on features with sliver polygons.
Vezi și
Parametri
Parametri de bază
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Strat de intrare |
|
[vector: poligon] |
Layer with the geometries to check. |
Unique feature identifier |
|
[tablefield: any] |
Field storing unique values for feature identification. |
Maximum 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) |
|
[numeric: double] Implicit: 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 |
|
[vector: punct] Implicit: |
Specification of the output layer containing the centroid points of sliver polygon features. One of:
The file encoding can also be changed here. |
Sliver polygon features Opţional |
|
[vector: poligon] Implicit: |
Polygon layer containing sliver polygon features. One of:
The file encoding can also be changed here. |
Parametri avansați
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Tolerance |
|
[numeric: integer] Implicit: 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. |
Rezultat
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Sliver polygon errors |
|
[vector: punct] |
Output point layer representing the error locations and information. The output layer contains the following fields:
|
Sliver polygon features |
|
[vector: poligon] |
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 |
Cod Python
Algorithm ID: native:checkgeometrysliverpolygon
import processing
processing.run("algorithm_id", {parameter_dictionary})
ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.
24.1.3.16. Small angles
Added in 3.42
Compares the angles within line or polygon geometries to a specified threshold, and reports as error any angle below that value.
Fig. 24.12 Reporting errors on a line feature for angles lower than 15°.
Vezi și
Parametri
Parametri de bază
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Strat de intrare |
|
[vector: linie, poligon] |
Layer with the geometries to check. |
Unique feature identifier |
|
[tablefield: any] |
Field storing unique values for feature identification. |
Minimum 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 |
|
[vector: punct] Implicit: |
Specification of the output layer containing the errors location. One of:
The file encoding can also be changed here. |
Parametri avansați
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Tolerance |
|
[numeric: integer] Implicit: 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. |
Rezultat
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Small angle errors |
|
[vector: punct] |
Output point layer representing the error locations and information. The output layer contains the following fields:
|
Cod Python
Algorithm ID: native:checkgeometryangle
import processing
processing.run("algorithm_id", {parameter_dictionary})
ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.
24.1.3.17. Small polygons
Added in 3.42
Detects polygon features whose area is below a specified value as errors.
Notă
This algorithm detects invalid polygon geometries (small polygons).
To ensure these invalid features are not filtered out before processing, open
Advanced options next to the Input layer and set
Invalid feature filtering to Do not Filter (Better Performance).
Fig. 24.13 Reporting errors on features with small polygons (below given area threshold).
Vezi și
Parametri
Parametri de bază
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Strat de intrare |
|
[vector: poligon] |
Layer with the geometries to check. |
Unique feature identifier |
|
[tablefield: any] |
Field storing unique values for feature identification. |
Area threshold |
|
[numeric: double] Implicit: 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 |
|
[vector: punct] Implicit: |
Specification of the output layer containing centroid points of small polygons. One of:
The file encoding can also be changed here. |
Small polygons features Opţional |
|
[vector: poligon] Implicit: |
Specification of the output layer for features containing small polygon features. One of:
The file encoding can also be changed here. |
Parametri avansați
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Tolerance |
|
[numeric: integer] Implicit: 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. |
Rezultat
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Small polygons errors |
|
[vector: punct] |
Output point layer representing the error locations and information. The output layer contains the following fields:
|
Small polygons features |
|
[vector: poligon] |
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 |
Cod Python
Algorithm ID: native:checkgeometryarea
import processing
processing.run("algorithm_id", {parameter_dictionary})
ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.
24.1.3.18. Small gaps
Added in 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.
Fig. 24.14 Reporting errors on polygon features for gaps smaller than the specified threshold.
Vezi și
Parametri
Parametri de bază
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Strat de intrare |
|
[vector: poligon] |
Layer with the geometries to check. |
Unique feature identifier |
|
[tablefield: any] |
Field storing unique values for feature identification. |
Gap threshold |
|
[numeric: double] Implicit: 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 Opţional |
|
[vector: poligon] |
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 Opţional |
|
[numeric: double] Implicit: 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 |
|
[vector: tabelă] Implicit: |
Specification of the output table representing the gap ID and the unique ID of its neighbor features. One of:
The file encoding can also be changed here. |
Gap errors Opţional |
|
[vector: punct] Implicit: |
Specification of the output layer containing the centroid points of the gaps. One of:
The file encoding can also be changed here. |
Gap features |
|
[vector: poligon] Implicit: |
Specification of the output layer containing the gap geometries. One of:
The file encoding can also be changed here. |
Parametri avansați
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Tolerance |
|
[numeric: integer] Implicit: 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. |
Rezultat
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Neighbors layer |
|
[vector: tabelă] |
A 1–N relational table, meaning that one gap can be associated with multiple neighboring polygons. The output table contains the following fields:
|
Gap errors |
|
[vector: punct] |
Output point layer representing the error locations and information. The output layer contains the following fields:
|
Gap features |
|
[vector: poligon] |
Output layer containing the gap geometries.
Available fields are the same as in the |
Cod Python
Algorithm ID: native:checkgeometrygap
import processing
processing.run("algorithm_id", {parameter_dictionary})
ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.
24.1.3.19. Small segments
Added in 3.42
Calculates length of individual segments in line or polygon geometries, and reports segments shorter than a minimum length as errors.
Fig. 24.15 Reporting errors (in red) on single line segments shorter than the given threshold.
Vezi și
Parametri
Parametri de bază
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Strat de intrare |
|
[vector: linie, poligon] |
Layer with the geometries to check. |
Unique feature identifier |
|
[tablefield: any] |
Field storing unique values for feature identification. |
Minimum segment length |
|
[numeric: double] Implicit: 0.0 |
Minimum length of segments to be considered valid, in map units. |
Short segments errors |
|
[vector: punct] Implicit: |
Specification of the output layer containing centroid of short segments. One of:
The file encoding can also be changed here. |
Short segments features Opţional |
|
[vector: la fel ca intrarea] Implicit: |
Specification of the output layer for features containing short segments. One of:
The file encoding can also be changed here. |
Parametri avansați
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Tolerance |
|
[numeric: integer] Implicit: 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. |
Rezultat
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Short segments errors |
|
[vector: punct] |
Output point layer representing the error locations and information. The output layer contains the following fields:
|
Short segments features |
|
[vector: la fel ca intrarea] |
Output layer containing, for each identified short segment, the feature it belongs to.
Available fields are the same as in the |
Cod Python
Algorithm ID: native:checkgeometrysegmentlength
import processing
processing.run("algorithm_id", {parameter_dictionary})
ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.
24.1.3.20. Strictly multipart
Added in 3.42
Checks if multipart geometries have more than one part. Multipart geometries with only one part are errors.
Vezi și
Parametri
Parametri de bază
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Strat de intrare |
|
[vector: geometrie] |
Layer with the geometries to check. |
Unique feature identifier |
|
[tablefield: any] |
Field storing unique values for feature identification. |
One-part geometry errors |
|
[vector: punct] Implicit: |
Specification of the output layer containing centroid of the multipart geometries that have only one part. One of:
The file encoding can also be changed here. |
One-part geometry features Opţional |
|
[vector: la fel ca intrarea] Implicit: |
Specification of the output layer for features containing multipart geometries that have only one part. One of:
The file encoding can also be changed here. |
Parametri avansați
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
Tolerance |
|
[numeric: integer] Implicit: 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. |
Rezultat
Etichetă |
Nume |
Tipul |
Descriere |
|---|---|---|---|
One-part geometry errors |
|
[vector: punct] |
Output point layer representing the error locations and information. The output layer contains the following fields:
|
One-part geometry features |
|
[vector: la fel ca intrarea] |
Output layer containing features that are multipart but have only one part.
Available fields are the same as in the |
Cod Python
Algorithm ID: native:checkgeometrymultipart
import processing
processing.run("algorithm_id", {parameter_dictionary})
ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.