重要

翻訳は あなたが参加できる コミュニティの取り組みです。このページは現在 59.18% 翻訳されています。

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 with the geometries to check.

Unique feature identifier

UNIQUE_ID

[テーブルのフィールド:任意]

Field storing unique values for feature identification.

Dangle-end errors

ERRORS

[ベクタ:ポイント]

デフォルト: [一時レイヤを作成]

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

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

Dangle-end features

オプション

OUTPUT

[ベクタ:ライン]

デフォルト: [出力をスキップ]

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

  • 出力をスキップ

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

詳細パラメータ

ラベル

名前

データ型

説明

許容範囲

TOLERANCE

[数値: 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

[ベクタ:ポイント]

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

[ベクタ:ライン]

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

Python コード

Algorithm ID: native:checkgeometrydangle

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

algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。

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 with the geometries to check.

Unique feature identifier

UNIQUE_ID

[テーブルのフィールド:任意]

Field storing unique values for feature identification.

Degenerate polygons errors

ERRORS

[ベクタ:ポイント]

デフォルト: [一時レイヤを作成]

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

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

Degenerate polygons features

オプション

OUTPUT

[ベクタ:ポリゴン]

デフォルト: [出力をスキップ]

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

  • 出力をスキップ

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

詳細パラメータ

ラベル

名前

データ型

説明

許容範囲

TOLERANCE

[数値: 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

[ベクタ:ポイント]

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

[ベクタ:ポリゴン]

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

Python コード

Algorithm ID: native:checkgeometrydegeneratepolygon

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

algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。

24.1.3.3. Duplicated geometries

Added in 3.42

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

パラメータ

基本パラメータ

ラベル

名前

データ型

説明

入力レイヤ

INPUT

[vector: geometry]

Layer with the geometries to check

Unique feature identifier

UNIQUE_ID

[テーブルのフィールド:任意]

Field storing unique values for feature identification

Duplicate geometries errors

ERRORS

[ベクタ:ポイント]

デフォルト: [一時レイヤを作成]

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

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

Duplicate geometries

オプション

OUTPUT

[ベクタ: 入力と同じ]

デフォルト: [出力をスキップ]

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

  • 出力をスキップ

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

詳細パラメータ

ラベル

名前

データ型

説明

許容範囲

TOLERANCE

[数値: 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

[ベクタ:ポイント]

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

[ベクタ: 入力と同じ]

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

Python コード

Algorithm ID: native:checkgeometryduplicate

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

algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。

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 with the geometries to check

Unique feature identifier

UNIQUE_ID

[テーブルのフィールド:任意]

Field storing unique values for feature identification

Duplicated vertices errors

ERRORS

[ベクタ:ポイント]

デフォルト: [一時レイヤを作成]

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

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

Duplicated vertices features

オプション

OUTPUT

[ベクタ: 入力と同じ]

デフォルト: [出力をスキップ]

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

  • 出力をスキップ

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

詳細パラメータ

ラベル

名前

データ型

説明

許容範囲

TOLERANCE

[数値: 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

[ベクタ:ポイント]

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

[ベクタ: 入力と同じ]

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

Python コード

Algorithm ID: native:checkgeometryduplicatenodes

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

algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。

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

[vector: geometry]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[テーブルのフィールド:任意]

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

[ベクタ:ポイント]

デフォルト: [一時レイヤを作成]

Point layer representing the contained features. One of:

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

Contained features

オプション

OUTPUT

[ベクタ: 入力と同じ]

デフォルト: [出力をスキップ]

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

  • 出力をスキップ

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

詳細パラメータ

ラベル

名前

データ型

説明

許容範囲

TOLERANCE

[数値: 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

[ベクタ:ポイント]

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

[ベクタ: 入力と同じ]

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

Python コード

Algorithm ID: native:checkgeometrycontained

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

algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。

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 with the geometries to check

Unique feature identifier

UNIQUE_ID

[テーブルのフィールド:任意]

Field storing unique values for feature identification

Holes errors

ERRORS

[ベクタ:ポイント]

デフォルト: [一時レイヤを作成]

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

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

Polygons with holes

オプション

OUTPUT

[ベクタ:ポリゴン]

デフォルト: [出力をスキップ]

Polygon layer with the features containing holes. One of:

  • 出力をスキップ

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

詳細パラメータ

ラベル

名前

データ型

説明

許容範囲

TOLERANCE

[数値: 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

[ベクタ:ポイント]

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

[ベクタ:ポリゴン]

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

Python コード

Algorithm ID: native:checkgeometryhole

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

algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。

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 with the geometries to check.

Unique feature identifier

UNIQUE_ID

[テーブルのフィールド:任意]

Field storing unique values for feature identification.

Intersection errors

ERRORS

[ベクタ:ポイント]

デフォルト: [一時レイヤを作成]

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

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

Intersecting feature

オプション

OUTPUT

[ベクタ:ライン]

デフォルト: [出力をスキップ]

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

  • 出力をスキップ

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

詳細パラメータ

ラベル

名前

データ型

説明

許容範囲

TOLERANCE

[数値: 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

[ベクタ:ポイント]

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

[ベクタ:ライン]

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

Python コード

Algorithm ID: native:checkgeometrylineintersection

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

algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。

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 with the geometries to check.

Unique feature identifier

UNIQUE_ID

[テーブルのフィールド:任意]

Field storing unique values for feature identification.

Check layer

CHECK_LAYER

[ベクタ:ライン、ポリゴン]

Layer with the geometries to check against.

Line intersecting other layer errors

ERRORS

[ベクタ:ポイント]

デフォルト: [一時レイヤを作成]

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

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

Line intersecting other layer features

オプション

OUTPUT

[line]

デフォルト: [出力をスキップ]

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

  • 出力をスキップ

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

詳細パラメータ

ラベル

名前

データ型

説明

許容範囲

TOLERANCE

[数値: 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

[ベクタ:ポイント]

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

[ベクタ:ライン]

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

Python コード

Algorithm ID: native:checkgeometrylinelayerintersection

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

algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。

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 with the geometries to check.

Unique feature identifier

UNIQUE_ID

[テーブルのフィールド:任意]

Field storing unique values for feature identification.

Missing vertices errors

ERRORS

[ベクタ:ポイント]

デフォルト: [一時レイヤを作成]

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

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

Missing vertices features

オプション

OUTPUT

[ベクタ:ポリゴン]

デフォルト: [出力をスキップ]

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

  • 出力をスキップ

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

詳細パラメータ

ラベル

名前

データ型

説明

許容範囲

TOLERANCE

[数値: 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

[ベクタ:ポイント]

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

[ベクタ:ポリゴン]

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

Python コード

Algorithm ID: native:checkgeometrymissingvertex

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

algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。

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 with the geometries to check.

Unique feature identifier

UNIQUE_ID

[テーブルのフィールド:任意]

Field storing unique values for feature identification.

Minimum overlap area

MIN_OVERLAP_AREA

[数値: double]

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

Overlap errors

ERRORS

[ベクタ:ポイント]

デフォルト: [一時レイヤを作成]

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

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

Overlap features

オプション

OUTPUT

[ベクタ:ポリゴン]

デフォルト: [出力をスキップ]

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

  • 出力をスキップ

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

詳細パラメータ

ラベル

名前

データ型

説明

許容範囲

TOLERANCE

[数値: 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

[ベクタ:ポイント]

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

[ベクタ:ポリゴン]

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

Python コード

Algorithm ID: native:checkgeometryoverlap

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

algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。

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 with the geometries to check.

Unique feature identifier

UNIQUE_ID

[テーブルのフィールド:任意]

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

[ベクタ:ポイント]

デフォルト: [一時レイヤを作成]

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

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

詳細パラメータ

ラベル

名前

データ型

説明

許容範囲

TOLERANCE

[数値: 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

[ベクタ:ポイント]

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

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx

  • gc_ringidx

  • gc_vertidx

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

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

  • gc_error

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

Python コード

Algorithm ID: native:checkgeometrypointcoveredbyline

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

algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。

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 with the geometries to check.

Unique feature identifier

UNIQUE_ID

[テーブルのフィールド:任意]

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

[ベクタ:ポイント]

デフォルト: [一時レイヤを作成]

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

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

詳細パラメータ

ラベル

名前

データ型

説明

許容範囲

TOLERANCE

[数値: 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

[ベクタ:ポイント]

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

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

  • gc_partidx

  • gc_ringidx

  • gc_vertidx

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

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

  • gc_error

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

Python コード

Algorithm ID: native:checkgeometrypointinpolygon

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

algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。

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.

パラメータ

基本パラメータ

ラベル

名前

データ型

説明

入力レイヤ

INPUT

[ベクタ:ライン、ポリゴン]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[テーブルのフィールド:任意]

Field storing unique values for feature identification.

Self contact error points

ERRORS

[ベクタ:ポイント]

デフォルト: [一時レイヤを作成]

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

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

Self contact features

オプション

OUTPUT

[入力レイヤと同じ]

デフォルト: [出力をスキップ]

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

  • 出力をスキップ

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

詳細パラメータ

ラベル

名前

データ型

説明

許容範囲

TOLERANCE

[数値: 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

[ベクタ:ポイント]

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

[ベクタ: 入力と同じ]

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

Python コード

Algorithm ID: native:checkgeometryselfcontact

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

algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。

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 with the geometries to check

Unique feature identifier

UNIQUE_ID

[テーブルのフィールド:任意]

Field storing unique values for feature identification

Self-intersecting errors

ERRORS

[ベクタ:ポイント]

デフォルト: [一時レイヤを作成]

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

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

Self-intersecting features

オプション

OUTPUT

[入力レイヤと同じ]

デフォルト: [出力をスキップ]

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

  • 出力をスキップ

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

詳細パラメータ

ラベル

名前

データ型

説明

許容範囲

TOLERANCE

[数値: 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

[ベクタ:ポイント]

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

[ベクタ:ライン、ポリゴン]

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

Python コード

Algorithm ID: native:checkgeometryselfintersection

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

algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。

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.

パラメータ

基本パラメータ

ラベル

名前

データ型

説明

入力レイヤ

INPUT

[ベクタ:ポリゴン]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[テーブルのフィールド:任意]

Field storing unique values for feature identification.

Maximum thinness

MAX_THINNESS

[数値: 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

[数値: 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

[ベクタ:ポイント]

デフォルト: [一時レイヤを作成]

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

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

Sliver polygon features

オプション

OUTPUT

[ベクタ:ポリゴン]

デフォルト: [出力をスキップ]

Polygon layer containing sliver polygon features. One of:

  • 出力をスキップ

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

詳細パラメータ

ラベル

名前

データ型

説明

許容範囲

TOLERANCE

[数値: 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

[ベクタ:ポイント]

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

[ベクタ:ポリゴン]

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

Python コード

Algorithm ID: native:checkgeometrysliverpolygon

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

algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。

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

パラメータ

基本パラメータ

ラベル

名前

データ型

説明

入力レイヤ

INPUT

[ベクタ:ライン、ポリゴン]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[テーブルのフィールド:任意]

Field storing unique values for feature identification.

Minimum angle

MIN_ANGLE

[数値: 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

[ベクタ:ポイント]

デフォルト: [一時レイヤを作成]

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

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

詳細パラメータ

ラベル

名前

データ型

説明

許容範囲

TOLERANCE

[数値: 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

[ベクタ:ポイント]

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

  • gc_layerid: the ID of the input layer.

  • gc_layername: the name of the input layer.

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

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

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

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

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

  • gc_error: the error angle value.

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

Python コード

Algorithm ID: native:checkgeometryangle

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

algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。

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

パラメータ

基本パラメータ

ラベル

名前

データ型

説明

入力レイヤ

INPUT

[ベクタ:ポリゴン]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[テーブルのフィールド:任意]

Field storing unique values for feature identification.

Area threshold

AREATHRESHOLD

[数値: 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

[ベクタ:ポイント]

デフォルト: [一時レイヤを作成]

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

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

Small polygons features

オプション

OUTPUT

[ベクタ:ポリゴン]

デフォルト: [出力をスキップ]

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

  • 出力をスキップ

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

詳細パラメータ

ラベル

名前

データ型

説明

許容範囲

TOLERANCE

[数値: 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

[ベクタ:ポイント]

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

[ベクタ:ポリゴン]

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

Python コード

Algorithm ID: native:checkgeometryarea

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

algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。

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 with the geometries to check.

Unique feature identifier

UNIQUE_ID

[テーブルのフィールド:任意]

Field storing unique values for feature identification.

Gap threshold

GAP_THRESHOLD

[数値: 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

[ベクタ:ポリゴン]

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

[数値: 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

[ベクタ: テーブル]

デフォルト: [一時レイヤを作成]

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

[ベクタ:ポイント]

デフォルト: [出力をスキップ]

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

  • 出力をスキップ

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

Gap features

OUTPUT

[ベクタ:ポリゴン]

デフォルト: [一時レイヤを作成]

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

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

詳細パラメータ

ラベル

名前

データ型

説明

許容範囲

TOLERANCE

[数値: 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

[ベクタ: テーブル]

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

[ベクタ:ポイント]

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

[ベクタ:ポリゴン]

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

Python コード

Algorithm ID: native:checkgeometrygap

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

algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。

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 with the geometries to check.

Unique feature identifier

UNIQUE_ID

[テーブルのフィールド:任意]

Field storing unique values for feature identification.

Minimum segment length

MIN_SEGMENT_LENGTH

[数値: double]

デフォルト: 0.0

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

Short segments errors

ERRORS

[ベクタ:ポイント]

デフォルト: [一時レイヤを作成]

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

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

Short segments features

オプション

OUTPUT

[ベクタ: 入力と同じ]

デフォルト: [出力をスキップ]

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

  • 出力をスキップ

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

詳細パラメータ

ラベル

名前

データ型

説明

許容範囲

TOLERANCE

[数値: 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

[ベクタ:ポイント]

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

[ベクタ: 入力と同じ]

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

Python コード

Algorithm ID: native:checkgeometrysegmentlength

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

algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。

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

[vector: geometry]

Layer with the geometries to check.

Unique feature identifier

UNIQUE_ID

[テーブルのフィールド:任意]

Field storing unique values for feature identification.

One-part geometry errors

ERRORS

[ベクタ:ポイント]

デフォルト: [一時レイヤを作成]

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

[ベクタ: 入力と同じ]

デフォルト: [出力をスキップ]

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

  • 出力をスキップ

  • 一時レイヤを作成( TEMPORARY_OUTPUT

  • ファイルに保存...

  • GeoPackageに保存...

  • データベーステーブルに保存...

ここでファイルの文字コードを変更することもできます。

詳細パラメータ

ラベル

名前

データ型

説明

許容範囲

TOLERANCE

[数値: 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

[ベクタ:ポイント]

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

[ベクタ: 入力と同じ]

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

Python コード

Algorithm ID: native:checkgeometrymultipart

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

algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。