중요

번역은 여러분이 참여할 수 있는 커뮤니티 활동입니다. 이 페이지는 현재 57.05% 번역되었습니다.

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

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

파라미터

기본 파라미터

라벨

이름

유형

설명

Input layer

INPUT

[vector: line]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Dangle-end errors

ERRORS

[vector: point]

기본값: [Create temporary layer]

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

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

Dangle-end features

선택적

OUTPUT

[vector: line]

기본값: [Skip output]

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

  • 산출물 건너뛰기

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

고급 파라미터

라벨

이름

유형

설명

Tolerance

TOLERANCE

[numeric: integer]

기본값: 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.

산출물

라벨

이름

유형

설명

Dangle-end errors

ERRORS

[vector: point]

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

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

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

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

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

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

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

  • gc_error

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

Dangle-end features

OUTPUT

[vector: line]

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

파이썬 코드

Algorithm ID: native:checkgeometrydangle

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.

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.

참고

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

파라미터

기본 파라미터

라벨

이름

유형

설명

Input layer

INPUT

[vector: polygon]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Degenerate polygons errors

ERRORS

[vector: point]

기본값: [Create temporary layer]

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

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

Degenerate polygons features

선택적

OUTPUT

[vector: polygon]

기본값: [Skip output]

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

  • 산출물 건너뛰기

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

고급 파라미터

라벨

이름

유형

설명

Tolerance

TOLERANCE

[numeric: integer]

기본값: 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.

산출물

라벨

이름

유형

설명

Degenerate polygons errors

ERRORS

[vector: point]

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

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

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

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

  • gc_vertidx

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

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

  • gc_error

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

Degenerate polygons features

OUTPUT

[vector: polygon]

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

파이썬 코드

Algorithm ID: native:checkgeometrydegeneratepolygon

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.

24.1.3.3. Duplicated geometries

Added in 3.42

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

파라미터

기본 파라미터

라벨

이름

유형

설명

Input layer

INPUT

[vector: geometry]

Layer with the geometries to check

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification

Duplicate geometries errors

ERRORS

[vector: point]

기본값: [Create temporary layer]

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

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

Duplicate geometries

선택적

OUTPUT

[vector: same as input]

기본값: [Skip output]

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

  • 산출물 건너뛰기

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

고급 파라미터

라벨

이름

유형

설명

Tolerance

TOLERANCE

[numeric: integer]

기본값: 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.

산출물

라벨

이름

유형

설명

Duplicate geometries errors

ERRORS

[vector: point]

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

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx

  • gc_ringidx

  • gc_vertidx

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

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

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

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

Duplicate geometries

OUTPUT

[vector: same as input]

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

파이썬 코드

Algorithm ID: native:checkgeometryduplicate

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.

24.1.3.4. Duplicated vertices

Added in 3.42

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

파라미터

기본 파라미터

라벨

이름

유형

설명

Input layer

INPUT

[vector: line, polygon]

Layer with the geometries to check

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification

Duplicated vertices errors

ERRORS

[vector: point]

기본값: [Create temporary layer]

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

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

Duplicated vertices features

선택적

OUTPUT

[vector: same as input]

기본값: [Skip output]

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

  • 산출물 건너뛰기

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

고급 파라미터

라벨

이름

유형

설명

Tolerance

TOLERANCE

[numeric: integer]

기본값: 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.

산출물

라벨

이름

유형

설명

Duplicated vertices errors

ERRORS

[vector: point]

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

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

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

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

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

  • gc_errorx: the x coordinate of the duplicate vertex.

  • gc_errory: the y coordinate of the duplicate vertex.

  • gc_error

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

Duplicated vertices features

OUTPUT

[vector: same as input]

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

파이썬 코드

Algorithm ID: native:checkgeometryduplicatenodes

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.

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

그림 24.3 Reporting errors on features inside a polygon.

더 보기

피처 삭제

파라미터

기본 파라미터

라벨

이름

유형

설명

Input layer

INPUT

[vector: geometry]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Polygon layers

POLYGONS

[vector: polygon][list]

List of polygon layers to check against.

Errors from contained features

ERRORS

[vector: point]

기본값: [Create temporary layer]

Point layer representing the contained features. One of:

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

Contained features

선택적

OUTPUT

[vector: same as input]

기본값: [Skip output]

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

  • 산출물 건너뛰기

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

고급 파라미터

라벨

이름

유형

설명

Tolerance

TOLERANCE

[numeric: integer]

기본값: 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.

산출물

라벨

이름

유형

설명

Errors from contained features

ERRORS

[vector: point]

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

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx

  • gc_ringidx

  • gc_vertidx

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

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

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

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

Contained features

OUTPUT

[vector: same as input]

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

파이썬 코드

Algorithm ID: native:checkgeometrycontained

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.

24.1.3.6. Holes

Added in 3.42

Detects holes in polygon geometries and reports them as errors.

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

그림 24.4 Reporting errors for holes on a polygon feature.

더 보기

Fill holes

파라미터

기본 파라미터

라벨

이름

유형

설명

Input layer

INPUT

[vector: polygon]

Layer with the geometries to check

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification

Holes errors

ERRORS

[vector: point]

기본값: [Create temporary layer]

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

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

Polygons with holes

선택적

OUTPUT

[vector: polygon]

기본값: [Skip output]

Polygon layer with the features containing holes. One of:

  • 산출물 건너뛰기

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

고급 파라미터

라벨

이름

유형

설명

Tolerance

TOLERANCE

[numeric: integer]

기본값: 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.

산출물

라벨

이름

유형

설명

Holes errors

ERRORS

[vector: point]

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

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

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

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

  • gc_vertidx

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

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

  • gc_error

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

Polygon with holes

OUTPUT

[vector: polygon]

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

파이썬 코드

Algorithm ID: native:checkgeometryhole

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.

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.

파라미터

기본 파라미터

라벨

이름

유형

설명

Input layer

INPUT

[vector: line]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Intersection errors

ERRORS

[vector: point]

기본값: [Create temporary layer]

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

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

Intersecting feature

선택적

OUTPUT

[vector: line]

기본값: [Skip output]

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

  • 산출물 건너뛰기

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

고급 파라미터

라벨

이름

유형

설명

Tolerance

TOLERANCE

[numeric: integer]

기본값: 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.

산출물

라벨

이름

유형

설명

Intersection errors

ERRORS

[vector: point]

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

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

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

  • gc_ringidx

  • gc_vertidx

  • gc_errorx: the x coordinate of the intersection point.

  • gc_errory: the y coordinate of the intersection point.

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

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

Intersecting feature

OUTPUT

[vector: line]

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

파이썬 코드

Algorithm ID: native:checkgeometrylineintersection

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.

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.

파라미터

기본 파라미터

라벨

이름

유형

설명

Input layer

INPUT

[vector: line]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Check layer

CHECK_LAYER

[vector: line, polygon]

Layer with the geometries to check against.

Line intersecting other layer errors

ERRORS

[vector: point]

기본값: [Create temporary layer]

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

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

Line intersecting other layer features

선택적

OUTPUT

[line]

기본값: [Skip output]

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

  • 산출물 건너뛰기

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

고급 파라미터

라벨

이름

유형

설명

Tolerance

TOLERANCE

[numeric: integer]

기본값: 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.

산출물

라벨

이름

유형

설명

Line intersecting other layer errors

ERRORS

[vector: point]

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

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

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

  • gc_ringidx

  • gc_vertidx

  • gc_errorx: the x coordinate of the intersection point.

  • gc_errory: the y coordinate of the intersection point.

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

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

Line intersecting other layer features

OUTPUT

[vector: line]

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

파이썬 코드

Algorithm ID: native:checkgeometrylinelayerintersection

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.

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

그림 24.5 Reporting errors for missing vertices on polygon features.

파라미터

기본 파라미터

라벨

이름

유형

설명

Input layer

INPUT

[vector: polygon]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Missing vertices errors

ERRORS

[vector: point]

기본값: [Create temporary layer]

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

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

Missing vertices features

선택적

OUTPUT

[vector: polygon]

기본값: [Skip output]

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

  • 산출물 건너뛰기

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

고급 파라미터

라벨

이름

유형

설명

Tolerance

TOLERANCE

[numeric: integer]

기본값: 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.

산출물

라벨

이름

유형

설명

Missing vertices errors

ERRORS

[vector: point]

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

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx

  • gc_ringidx

  • gc_vertidx

  • gc_errorx: the x coordinate of the 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

[vector: polygon]

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

파이썬 코드

Algorithm ID: native:checkgeometrymissingvertex

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.

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

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

파라미터

기본 파라미터

라벨

이름

유형

설명

Input layer

INPUT

[vector: polygon]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Minimum overlap area

MIN_OVERLAP_AREA

[numeric: double]

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

Overlap errors

ERRORS

[vector: point]

기본값: [Create temporary layer]

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

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

Overlap features

선택적

OUTPUT

[vector: polygon]

기본값: [Skip output]

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

  • 산출물 건너뛰기

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

고급 파라미터

라벨

이름

유형

설명

Tolerance

TOLERANCE

[numeric: integer]

기본값: 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.

산출물

라벨

이름

유형

설명

Overlap errors

ERRORS

[vector: point]

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

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

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

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

  • gc_error: the area of the overlapping geometry.

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

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

Overlap features

OUTPUT

[vector: polygon]

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

파이썬 코드

Algorithm ID: native:checkgeometryoverlap

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.

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

그림 24.7 Reporting errors on points not covered by a line.

파라미터

기본 파라미터

라벨

이름

유형

설명

Input layer

INPUT

[vector: point]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Line layers

LINES

[vector: line][list]

Layer(s) with the lines to check against.

Points not covered by a line

ERRORS

[vector: point]

기본값: [Create temporary layer]

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

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

고급 파라미터

라벨

이름

유형

설명

Tolerance

TOLERANCE

[numeric: integer]

기본값: 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.

산출물

라벨

이름

유형

설명

Points not covered by a line

ERRORS

[vector: point]

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

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx

  • gc_ringidx

  • gc_vertidx

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

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

  • gc_error

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

파이썬 코드

Algorithm ID: native:checkgeometrypointcoveredbyline

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.

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

그림 24.8 Reporting errors on points outside polygons.

파라미터

기본 파라미터

라벨

이름

유형

설명

Input layer

INPUT

[vector: point]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Polygon layers

POLYGONS

[vector: polygon][list]

Layer(s) with the polygons to check against.

Points outside polygons errors

ERRORS

[vector: point]

기본값: [Create temporary layer]

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

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

고급 파라미터

라벨

이름

유형

설명

Tolerance

TOLERANCE

[numeric: integer]

기본값: 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.

산출물

라벨

이름

유형

설명

Points outside polygons errors

ERRORS

[vector: point]

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

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx

  • gc_ringidx

  • gc_vertidx

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

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

  • gc_error

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

파이썬 코드

Algorithm ID: native:checkgeometrypointinpolygon

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.

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.

참고

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

그림 24.9 Self-intersection vs self-contact.

더 보기

Self-intersections

파라미터

기본 파라미터

라벨

이름

유형

설명

Input layer

INPUT

[vector: line, polygon]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Self contact error points

ERRORS

[vector: point]

기본값: [Create temporary layer]

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

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

Self contact features

선택적

OUTPUT

[same as input]

기본값: [Skip output]

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

  • 산출물 건너뛰기

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

고급 파라미터

라벨

이름

유형

설명

Tolerance

TOLERANCE

[numeric: integer]

기본값: 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.

산출물

라벨

이름

유형

설명

Self contact error points

ERRORS

[vector: point]

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

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

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

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

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

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

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

  • gc_error

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

Self contact features

OUTPUT

[vector: same as input]

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

파이썬 코드

Algorithm ID: native:checkgeometryselfcontact

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.

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.

참고

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

그림 24.10 Self-intersection vs self-contact.

파라미터

기본 파라미터

라벨

이름

유형

설명

Input layer

INPUT

[vector: line, polygon]

Layer with the geometries to check

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification

Self-intersecting errors

ERRORS

[vector: point]

기본값: [Create temporary layer]

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

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

Self-intersecting features

선택적

OUTPUT

[same as input]

기본값: [Skip output]

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

  • 산출물 건너뛰기

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

고급 파라미터

라벨

이름

유형

설명

Tolerance

TOLERANCE

[numeric: integer]

기본값: 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.

산출물

라벨

이름

유형

설명

Self-intersecting errors

ERRORS

[vector: point]

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

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

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

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

  • gc_vertidx

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

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

  • gc_error

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

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

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

Self-intersecting features

OUTPUT

[vector: line, polygon]

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

파이썬 코드

Algorithm ID: native:checkgeometryselfintersection

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.

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.

참고

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

그림 24.11 Reporting errors on features with sliver polygons.

더 보기

Fix small polygons

파라미터

기본 파라미터

라벨

이름

유형

설명

Input layer

INPUT

[vector: polygon]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Maximum thinness

MAX_THINNESS

[numeric: double]

Default: 20.0

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

Maximum area (map units squared)

MAX_AREA

[numeric: double]

기본값: 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

[vector: point]

기본값: [Create temporary layer]

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

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

Sliver polygon features

선택적

OUTPUT

[vector: polygon]

기본값: [Skip output]

Polygon layer containing sliver polygon features. One of:

  • 산출물 건너뛰기

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

고급 파라미터

라벨

이름

유형

설명

Tolerance

TOLERANCE

[numeric: integer]

기본값: 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.

산출물

라벨

이름

유형

설명

Sliver polygon errors

ERRORS

[vector: point]

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

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx

  • gc_ringidx

  • gc_vertidx

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

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

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

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

Sliver polygon features

OUTPUT

[vector: polygon]

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

파이썬 코드

Algorithm ID: native:checkgeometrysliverpolygon

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.

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

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

더 보기

Delete small angles

파라미터

기본 파라미터

라벨

이름

유형

설명

Input layer

INPUT

[vector: line, polygon]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Minimum angle

MIN_ANGLE

[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

ERRORS

[vector: point]

기본값: [Create temporary layer]

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

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

고급 파라미터

라벨

이름

유형

설명

Tolerance

TOLERANCE

[numeric: integer]

기본값: 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.

산출물

라벨

이름

유형

설명

Small angle errors

ERRORS

[vector: point]

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

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

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

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

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

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

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

  • gc_error: the error angle value.

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

파이썬 코드

Algorithm ID: native:checkgeometryangle

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.

24.1.3.17. Small polygons

Added in 3.42

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

참고

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

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

더 보기

Fix small polygons

파라미터

기본 파라미터

라벨

이름

유형

설명

Input layer

INPUT

[vector: polygon]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Area threshold

AREATHRESHOLD

[numeric: double]

기본값: 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

[vector: point]

기본값: [Create temporary layer]

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

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

Small polygons features

선택적

OUTPUT

[vector: polygon]

기본값: [Skip output]

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

  • 산출물 건너뛰기

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

고급 파라미터

라벨

이름

유형

설명

Tolerance

TOLERANCE

[numeric: integer]

기본값: 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.

산출물

라벨

이름

유형

설명

Small polygons errors

ERRORS

[vector: point]

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

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx

  • gc_ringidx

  • gc_vertidx

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

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

  • gc_error: the area of the small polygon.

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

Small polygons features

OUTPUT

[vector: polygon]

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

파이썬 코드

Algorithm ID: native:checkgeometryarea

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.

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

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

파라미터

기본 파라미터

라벨

이름

유형

설명

Input layer

INPUT

[vector: polygon]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Gap threshold

GAP_THRESHOLD

[numeric: double]

기본값: 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

선택적

ALLOWED_GAPS_LAYER

[vector: polygon]

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

Allowed gaps buffer

선택적

ALLOWED_GAPS_BUFFER

[numeric: double]

기본값: 0.0

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

Neighbors layer

NEIGHBORS

[vector: table]

기본값: [Create temporary layer]

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

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

Gap errors

선택적

ERRORS

[vector: point]

기본값: [Skip output]

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

  • 산출물 건너뛰기

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

Gap features

OUTPUT

[vector: polygon]

기본값: [Create temporary layer]

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

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

고급 파라미터

라벨

이름

유형

설명

Tolerance

TOLERANCE

[numeric: integer]

기본값: 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.

산출물

라벨

이름

유형

설명

Neighbors layer

NEIGHBORS

[vector: table]

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

  • gc_errorid: the ID of the gap.

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

Gap errors

ERRORS

[vector: point]

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

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx

  • gc_ringidx

  • gc_vertidx

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

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

  • gc_error: the area of the gap.

  • gc_errorid: the ID of the gap.

Gap features

OUTPUT

[vector: polygon]

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

파이썬 코드

Algorithm ID: native:checkgeometrygap

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.

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

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

더 보기

피처 삭제

파라미터

기본 파라미터

라벨

이름

유형

설명

Input layer

INPUT

[vector: line, polygon]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

Minimum segment length

MIN_SEGMENT_LENGTH

[numeric: double]

기본값: 0.0

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

Short segments errors

ERRORS

[vector: point]

기본값: [Create temporary layer]

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

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

Short segments features

선택적

OUTPUT

[vector: same as input]

기본값: [Skip output]

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

  • 산출물 건너뛰기

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

고급 파라미터

라벨

이름

유형

설명

Tolerance

TOLERANCE

[numeric: integer]

기본값: 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.

산출물

라벨

이름

유형

설명

Short segments errors

ERRORS

[vector: point]

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

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

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

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

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

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

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

  • gc_error: the error segment length.

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

Short segments features

OUTPUT

[vector: same as input]

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

파이썬 코드

Algorithm ID: native:checkgeometrysegmentlength

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.

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.

파라미터

기본 파라미터

라벨

이름

유형

설명

Input layer

INPUT

[vector: geometry]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[tablefield: any]

Field storing unique values for feature identification.

One-part geometry errors

ERRORS

[vector: point]

기본값: [Create temporary layer]

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

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

One-part geometry features

선택적

OUTPUT

[vector: same as input]

기본값: [Skip output]

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

  • 산출물 건너뛰기

  • 임시 레이어 생성 (TEMPORARY_OUTPUT)

  • 파일로 저장…

  • GeoPackage로 저장…

  • 데이터베이스 테이블에 저장…

이 파라미터에서 파일 인코딩도 변경할 수 있습니다.

고급 파라미터

라벨

이름

유형

설명

Tolerance

TOLERANCE

[numeric: integer]

기본값: 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.

산출물

라벨

이름

유형

설명

One-part geometry errors

ERRORS

[vector: point]

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

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx

  • gc_ringidx

  • gc_vertidx

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

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

  • gc_error

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

One-part geometry features

OUTPUT

[vector: same as input]

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

파이썬 코드

Algorithm ID: native:checkgeometrymultipart

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

공간 처리 툴박스에 있는 알고리즘 위에 마우스를 가져가면 알고리즘 ID 를 표시합니다. 파라미터 목록(dictionary) 은 파라미터 이름 및 값을 제공합니다. 파이썬 콘솔에서 공간 처리 알고리즘을 어떻게 실행하는지 자세히 알고 싶다면 콘솔에서 공간 처리 알고리즘 사용 을 참조하세요.