Svarbu

Vertimas yra bendruomenės pastangos, prie kurių jūs galite prisijungti. Šis puslapis šiuo metu išverstas 58.47%.

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.

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

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

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vektorius: linija]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[lentelės laukas: bet koks]

Field storing unique values for feature identification.

Dangle-end errors

ERRORS

[vektorius: taškas]

Numatytas: [Kurti laikiną sluoksnį]

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

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Dangle-end features

Pasirinktinis

OUTPUT

[vektorius: linija]

Numatytas: [Praleisti išvestį]

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

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Išmanesni parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Tolerancija

TOLERANCE

[skaičius: sveikas skaičius]

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

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Dangle-end errors

ERRORS

[vektorius: taškas]

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

[vektorius: linija]

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.

Pythono kodas

Algorithm ID: native:checkgeometrydangle

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

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.

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.

Pastaba

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

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vektorius: poligonas]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[lentelės laukas: bet koks]

Field storing unique values for feature identification.

Degenerate polygons errors

ERRORS

[vektorius: taškas]

Numatytas: [Kurti laikiną sluoksnį]

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

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Degenerate polygons features

Pasirinktinis

OUTPUT

[vektorius: poligonas]

Numatytas: [Praleisti išvestį]

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

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Išmanesni parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Tolerancija

TOLERANCE

[skaičius: sveikas skaičius]

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

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Degenerate polygons errors

ERRORS

[vektorius: taškas]

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

[vektorius: poligonas]

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.

Pythono kodas

Algorithm ID: native:checkgeometrydegeneratepolygon

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

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.

24.1.3.3. Duplicated geometries

Added in 3.42

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

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vektorius: geometrija]

Layer with the geometries to check

Unique feature identifier

UNIQUE_ID

[lentelės laukas: bet koks]

Field storing unique values for feature identification

Duplicate geometries errors

ERRORS

[vektorius: taškas]

Numatytas: [Kurti laikiną sluoksnį]

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

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Duplicate geometries

Pasirinktinis

OUTPUT

[vector: same as input]

Numatytas: [Praleisti išvestį]

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

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Išmanesni parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Tolerancija

TOLERANCE

[skaičius: sveikas skaičius]

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

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Duplicate geometries errors

ERRORS

[vektorius: taškas]

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.

Pythono kodas

Algorithm ID: native:checkgeometryduplicate

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

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.

24.1.3.4. Duplicated vertices

Added in 3.42

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

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vektorius: linija, poligonas]

Layer with the geometries to check

Unique feature identifier

UNIQUE_ID

[lentelės laukas: bet koks]

Field storing unique values for feature identification

Duplicated vertices errors

ERRORS

[vektorius: taškas]

Numatytas: [Kurti laikiną sluoksnį]

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

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Duplicated vertices features

Pasirinktinis

OUTPUT

[vector: same as input]

Numatytas: [Praleisti išvestį]

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

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Išmanesni parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Tolerancija

TOLERANCE

[skaičius: sveikas skaičius]

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

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Duplicated vertices errors

ERRORS

[vektorius: taškas]

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.

Pythono kodas

Algorithm ID: native:checkgeometryduplicatenodes

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

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.

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.

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

Fig. 24.3 Reporting errors on features inside a polygon.

Taip pat žiūrėkite

Trinti geoobjektus

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vektorius: geometrija]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[lentelės laukas: bet koks]

Field storing unique values for feature identification.

Polygon layers

POLYGONS

[vector: polygon][list]

List of polygon layers to check against.

Errors from contained features

ERRORS

[vektorius: taškas]

Numatytas: [Kurti laikiną sluoksnį]

Point layer representing the contained features. One of:

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Contained features

Pasirinktinis

OUTPUT

[vector: same as input]

Numatytas: [Praleisti išvestį]

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

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Išmanesni parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Tolerancija

TOLERANCE

[skaičius: sveikas skaičius]

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

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Errors from contained features

ERRORS

[vektorius: taškas]

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.

Pythono kodas

Algorithm ID: native:checkgeometrycontained

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

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.

24.1.3.6. Holes

Added in 3.42

Detects holes in polygon geometries and reports them as errors.

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

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

Taip pat žiūrėkite

Fill holes

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vektorius: poligonas]

Layer with the geometries to check

Unique feature identifier

UNIQUE_ID

[lentelės laukas: bet koks]

Field storing unique values for feature identification

Holes errors

ERRORS

[vektorius: taškas]

Numatytas: [Kurti laikiną sluoksnį]

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

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Polygons with holes

Pasirinktinis

OUTPUT

[vektorius: poligonas]

Numatytas: [Praleisti išvestį]

Polygon layer with the features containing holes. One of:

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Išmanesni parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Tolerancija

TOLERANCE

[skaičius: sveikas skaičius]

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

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Holes errors

ERRORS

[vektorius: taškas]

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

[vektorius: poligonas]

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.

Pythono kodas

Algorithm ID: native:checkgeometryhole

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

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.

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.

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vektorius: linija]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[lentelės laukas: bet koks]

Field storing unique values for feature identification.

Intersection errors

ERRORS

[vektorius: taškas]

Numatytas: [Kurti laikiną sluoksnį]

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

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Intersecting feature

Pasirinktinis

OUTPUT

[vektorius: linija]

Numatytas: [Praleisti išvestį]

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

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Išmanesni parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Tolerancija

TOLERANCE

[skaičius: sveikas skaičius]

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

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Intersection errors

ERRORS

[vektorius: taškas]

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

[vektorius: linija]

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.

Pythono kodas

Algorithm ID: native:checkgeometrylineintersection

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

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.

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.

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vektorius: linija]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[lentelės laukas: bet koks]

Field storing unique values for feature identification.

Check layer

CHECK_LAYER

[vektorius: linija, poligonas]

Layer with the geometries to check against.

Line intersecting other layer errors

ERRORS

[vektorius: taškas]

Numatytas: [Kurti laikiną sluoksnį]

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

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Line intersecting other layer features

Pasirinktinis

OUTPUT

[line]

Numatytas: [Praleisti išvestį]

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

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Išmanesni parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Tolerancija

TOLERANCE

[skaičius: sveikas skaičius]

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

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Line intersecting other layer errors

ERRORS

[vektorius: taškas]

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

[vektorius: linija]

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.

Pythono kodas

Algorithm ID: native:checkgeometrylinelayerintersection

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

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.

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.

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

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

Taip pat žiūrėkite

Add missing vertices along borders

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vektorius: poligonas]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[lentelės laukas: bet koks]

Field storing unique values for feature identification.

Missing vertices errors

ERRORS

[vektorius: taškas]

Numatytas: [Kurti laikiną sluoksnį]

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

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Missing vertices features

Pasirinktinis

OUTPUT

[vektorius: poligonas]

Numatytas: [Praleisti išvestį]

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

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Išmanesni parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Tolerancija

TOLERANCE

[skaičius: sveikas skaičius]

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

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Missing vertices errors

ERRORS

[vektorius: taškas]

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

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx

  • gc_ringidx

  • gc_vertidx

  • gc_errorx: the x coordinate of the missing vertex.

  • gc_errory: the y coordinate of the missing vertex.

  • gc_error

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

Missing vertices features

OUTPUT

[vektorius: poligonas]

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.

Pythono kodas

Algorithm ID: native:checkgeometrymissingvertex

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

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.

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.

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

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

Taip pat žiūrėkite

Delete overlaps, Validate coverage

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vektorius: poligonas]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[lentelės laukas: bet koks]

Field storing unique values for feature identification.

Minimum overlap area

MIN_OVERLAP_AREA

[skaičius: slankaus kablelio]

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

Overlap errors

ERRORS

[vektorius: taškas]

Numatytas: [Kurti laikiną sluoksnį]

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

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Overlap features

Pasirinktinis

OUTPUT

[vektorius: poligonas]

Numatytas: [Praleisti išvestį]

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

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Išmanesni parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Tolerancija

TOLERANCE

[skaičius: sveikas skaičius]

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

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Overlap errors

ERRORS

[vektorius: taškas]

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

[vektorius: poligonas]

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

Pythono kodas

Algorithm ID: native:checkgeometryoverlap

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

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.

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.

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

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

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vektorius: taškas]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[lentelės laukas: bet koks]

Field storing unique values for feature identification.

Line layers

LINES

[vector: line][list]

Layer(s) with the lines to check against.

Points not covered by a line

ERRORS

[vektorius: taškas]

Numatytas: [Kurti laikiną sluoksnį]

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

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Išmanesni parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Tolerancija

TOLERANCE

[skaičius: sveikas skaičius]

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

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Points not covered by a line

ERRORS

[vektorius: taškas]

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.

Pythono kodas

Algorithm ID: native:checkgeometrypointcoveredbyline

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

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.

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.

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

Fig. 24.8 Reporting errors on points outside polygons.

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vektorius: taškas]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[lentelės laukas: bet koks]

Field storing unique values for feature identification.

Polygon layers

POLYGONS

[vector: polygon][list]

Layer(s) with the polygons to check against.

Points outside polygons errors

ERRORS

[vektorius: taškas]

Numatytas: [Kurti laikiną sluoksnį]

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

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Išmanesni parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Tolerancija

TOLERANCE

[skaičius: sveikas skaičius]

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

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Points outside polygons errors

ERRORS

[vektorius: taškas]

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.

Pythono kodas

Algorithm ID: native:checkgeometrypointinpolygon

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

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.

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.

Pastaba

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.

Taip pat žiūrėkite

Self-intersections

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vektorius: linija, poligonas]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[lentelės laukas: bet koks]

Field storing unique values for feature identification.

Self contact error points

ERRORS

[vektorius: taškas]

Numatytas: [Kurti laikiną sluoksnį]

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

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Self contact features

Pasirinktinis

OUTPUT

[toks pat, kaip įvestis]

Numatytas: [Praleisti išvestį]

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

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Išmanesni parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Tolerancija

TOLERANCE

[skaičius: sveikas skaičius]

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

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Self contact error points

ERRORS

[vektorius: taškas]

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.

Pythono kodas

Algorithm ID: native:checkgeometryselfcontact

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

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.

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.

Pastaba

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.

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vektorius: linija, poligonas]

Layer with the geometries to check

Unique feature identifier

UNIQUE_ID

[lentelės laukas: bet koks]

Field storing unique values for feature identification

Self-intersecting errors

ERRORS

[vektorius: taškas]

Numatytas: [Kurti laikiną sluoksnį]

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

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Self-intersecting features

Pasirinktinis

OUTPUT

[toks pat, kaip įvestis]

Numatytas: [Praleisti išvestį]

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

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Išmanesni parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Tolerancija

TOLERANCE

[skaičius: sveikas skaičius]

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

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Self-intersecting errors

ERRORS

[vektorius: taškas]

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

[vektorius: linija, poligonas]

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.

Pythono kodas

Algorithm ID: native:checkgeometryselfintersection

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

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.

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.

Pastaba

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.

Taip pat žiūrėkite

Fix small polygons

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vektorius: poligonas]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[lentelės laukas: bet koks]

Field storing unique values for feature identification.

Maximum thinness

MAX_THINNESS

[skaičius: slankaus kablelio]

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

[skaičius: slankaus kablelio]

Numatytas: 0.0

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

Sliver polygon errors

ERRORS

[vektorius: taškas]

Numatytas: [Kurti laikiną sluoksnį]

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

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Sliver polygon features

Pasirinktinis

OUTPUT

[vektorius: poligonas]

Numatytas: [Praleisti išvestį]

Polygon layer containing sliver polygon features. One of:

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Išmanesni parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Tolerancija

TOLERANCE

[skaičius: sveikas skaičius]

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

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Sliver polygon errors

ERRORS

[vektorius: taškas]

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

[vektorius: poligonas]

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.

Pythono kodas

Algorithm ID: native:checkgeometrysliverpolygon

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

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.

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.

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

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

Taip pat žiūrėkite

Delete small angles

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vektorius: linija, poligonas]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[lentelės laukas: bet koks]

Field storing unique values for feature identification.

Minimum angle

MIN_ANGLE

[skaičius: slankaus kablelio]

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

Small angle errors

ERRORS

[vektorius: taškas]

Numatytas: [Kurti laikiną sluoksnį]

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

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Išmanesni parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Tolerancija

TOLERANCE

[skaičius: sveikas skaičius]

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

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Small angle errors

ERRORS

[vektorius: taškas]

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.

Pythono kodas

Algorithm ID: native:checkgeometryangle

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

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.

24.1.3.17. Small polygons

Added in 3.42

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

Pastaba

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

Taip pat žiūrėkite

Fix small polygons

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vektorius: poligonas]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[lentelės laukas: bet koks]

Field storing unique values for feature identification.

Area threshold

AREATHRESHOLD

[skaičius: slankaus kablelio]

Numatytas: 0

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

Small polygons errors

ERRORS

[vektorius: taškas]

Numatytas: [Kurti laikiną sluoksnį]

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

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Small polygons features

Pasirinktinis

OUTPUT

[vektorius: poligonas]

Numatytas: [Praleisti išvestį]

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

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Išmanesni parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Tolerancija

TOLERANCE

[skaičius: sveikas skaičius]

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

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Small polygons errors

ERRORS

[vektorius: taškas]

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

[vektorius: poligonas]

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.

Pythono kodas

Algorithm ID: native:checkgeometryarea

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

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.

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.

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

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

Taip pat žiūrėkite

Fill gaps, Validate coverage

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vektorius: poligonas]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[lentelės laukas: bet koks]

Field storing unique values for feature identification.

Gap threshold

GAP_THRESHOLD

[skaičius: slankaus kablelio]

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

Pasirinktinis

ALLOWED_GAPS_LAYER

[vektorius: poligonas]

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

Pasirinktinis

ALLOWED_GAPS_BUFFER

[skaičius: slankaus kablelio]

Numatytas: 0.0

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

Neighbors layer

NEIGHBORS

[vektorius: lentelė]

Numatytas: [Kurti laikiną sluoksnį]

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

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Gap errors

Pasirinktinis

ERRORS

[vektorius: taškas]

Numatytas: [Praleisti išvestį]

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

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Gap features

OUTPUT

[vektorius: poligonas]

Numatytas: [Kurti laikiną sluoksnį]

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

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Išmanesni parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Tolerancija

TOLERANCE

[skaičius: sveikas skaičius]

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

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Neighbors layer

NEIGHBORS

[vektorius: lentelė]

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

  • gc_errorid: the ID of the gap.

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

Gap errors

ERRORS

[vektorius: taškas]

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

[vektorius: poligonas]

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

Pythono kodas

Algorithm ID: native:checkgeometrygap

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

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.

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.

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

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

Taip pat žiūrėkite

Trinti geoobjektus

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vektorius: linija, poligonas]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[lentelės laukas: bet koks]

Field storing unique values for feature identification.

Minimum segment length

MIN_SEGMENT_LENGTH

[skaičius: slankaus kablelio]

Numatytas: 0.0

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

Short segments errors

ERRORS

[vektorius: taškas]

Numatytas: [Kurti laikiną sluoksnį]

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

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Short segments features

Pasirinktinis

OUTPUT

[vector: same as input]

Numatytas: [Praleisti išvestį]

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

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Išmanesni parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Tolerancija

TOLERANCE

[skaičius: sveikas skaičius]

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

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Short segments errors

ERRORS

[vektorius: taškas]

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.

Pythono kodas

Algorithm ID: native:checkgeometrysegmentlength

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

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.

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.

Taip pat žiūrėkite

Convert to strictly multipart

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vektorius: geometrija]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[lentelės laukas: bet koks]

Field storing unique values for feature identification.

One-part geometry errors

ERRORS

[vektorius: taškas]

Numatytas: [Kurti laikiną sluoksnį]

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

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

One-part geometry features

Pasirinktinis

OUTPUT

[vector: same as input]

Numatytas: [Praleisti išvestį]

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

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Čia taipogi galima pakeisti failo koduotę.

Išmanesni parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Tolerancija

TOLERANCE

[skaičius: sveikas skaičius]

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

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

One-part geometry errors

ERRORS

[vektorius: taškas]

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.

Pythono kodas

Algorithm ID: native:checkgeometrymultipart

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

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.