Svarbu

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

24.1.25. Vektorių parinkimas

24.1.25.1. Ištraukti pagal atributą

Iš įvesties sluoksnio sukuria du vektorinius sluoksnius: vieną tik su atitinkančiais geoobjektais ir antrą su neatitinkančiais geoobjektais.

Geoobjektų skirstymo į gaunamus sluoksnius kriterijus remiasi įvesties sluoksnio atributo reikšmėmis.

Taip pat žiūrėkite

Select by attribute

Parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vector: any]

Sluoksnis, iš kurio ištraukiami geoobjektai.

Parinkimo atributas

FIELD

[tablefield: any]

Sluoksnio filtravimo laukas

Veiksmas

OPERATOR

[sąrašas]

Numatytas: 0

Yra daug skirtingų galimų veiksmų:

  • 0 — =

  • 1 — ≠

  • 2 — >

  • 3 — >=

  • 4 — <

  • 5 — <=

  • 6 — prasideda su

  • 7 — turi

  • 8 — yra null

  • 9 — nėra null

  • 10 — neturi

Reikšmė

Pasirinktinis

VALUE

[string]

Įvertinama reikšmė

Ištraukti (atributas)

OUTPUT

[toks pat, kaip įvestis]

Numatytas: [Kurti laikiną sluoksnį]

Nurodykite išvesties vektorinį sluoksnį atitinkantiems geoobjektams. Vienas iš:

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

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

Šia taipogi galima pakeisti failo koduotę.

Ištraukti (neatitinkantys)

FAIL_OUTPUT

[toks pat, kaip įvestis]

Numatytas: [Praleisti išvestį]

Nurodykite išvesties vektorinį sluoksnį neatitinkantiems geoobjektams. Vienas iš:

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

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

Šia taipogi galima pakeisti failo koduotę.

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Ištraukti (atributas)

OUTPUT

[toks pat, kaip įvestis]

Vektorinis sluoksnis su atitinkančiais geoobjektais iš įvesties sluoksnio

Ištraukti (neatitinkantys)

FAIL_OUTPUT

[toks pat, kaip įvestis]

Vektorinis sluoksnis su neatitinkančiais geoobjektais iš įvesties sluoksnio

Pythono kodas

Algoritmo ID: qgis:extractbyattribute

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

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

24.1.25.2. Extract by expression

Iš įvesties sluoksnio sukuria du vektorinius sluoksnius: vieną tik su atitinkančiais geoobjektais ir antrą su neatitinkančiais geoobjektais.

The criteria for adding features to the resulting layer is based on a QGIS expression. For more information about expressions see the Expressions.

Taip pat žiūrėkite

Select by expression

Parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vector: any]

Įvesties vektorinis sluoksnis

Expression

EXPRESSION

[išraiška]

Expression to filter the vector layer

Matching features

OUTPUT

[toks pat, kaip įvestis]

Numatytas: [Kurti laikiną sluoksnį]

Nurodykite išvesties vektorinį sluoksnį atitinkantiems geoobjektams. Vienas iš:

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

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

Šia taipogi galima pakeisti failo koduotę.

Non-matching

FAIL_OUTPUT

[toks pat, kaip įvestis]

Numatytas: [Praleisti išvestį]

Nurodykite išvesties vektorinį sluoksnį neatitinkantiems geoobjektams. Vienas iš:

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

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

Šia taipogi galima pakeisti failo koduotę.

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Matching features

OUTPUT

[toks pat, kaip įvestis]

Vektorinis sluoksnis su atitinkančiais geoobjektais iš įvesties sluoksnio

Non-matching

FAIL_OUTPUT

[toks pat, kaip įvestis]

Vektorinis sluoksnis su neatitinkančiais geoobjektais iš įvesties sluoksnio

Pythono kodas

Algorithm ID: qgis:extractbyexpression

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

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

24.1.25.3. Extract by location

Creates a new vector layer that only contains matching features from an input layer.

The criteria for adding features to the resulting layer is based on the spatial relationship between each feature and the features in an additional layer.

Exploring spatial relations

Geometric predicates are boolean functions used to determine the spatial relation a feature has with another by comparing whether and how their geometries share a portion of space.

../../../../_images/selectbylocation.png

Fig. 24.133 Looking for spatial relations between layers

Using the figure above, we are looking for the green circles by spatially comparing them to the orange rectangle feature. Available geometric predicates are:

Intersect

Tests whether a geometry intersects another. Returns 1 (true) if the geometries spatially intersect (share any portion of space - overlap or touch) and 0 if they don’t. In the picture above, this will return circles 1, 2 and 3.

Contain

Returns 1 (true) if and only if no points of b lie in the exterior of a, and at least one point of the interior of b lies in the interior of a. In the picture, no circle is returned, but the rectangle would be if you would look for it the other way around, as it contains circle 1 completely. This is the opposite of are within.

Disjoint

Returns 1 (true) if the geometries do not share any portion of space (no overlap, not touching). Only circle 4 is returned.

Equal

Returns 1 (true) if and only if geometries are exactly the same. No circles will be returned.

Touch

Tests whether a geometry touches another. Returns 1 (true) if the geometries have at least one point in common, but their interiors do not intersect. Only circle 3 is returned.

Overlap

Tests whether a geometry overlaps another. Returns 1 (true) if the geometries share space, are of the same dimension, but are not completely contained by each other. Only circle 2 is returned.

Are within

Tests whether a geometry is within another. Returns 1 (true) if geometry a is completely inside geometry b. Only circle 1 is returned.

Cross

Returns 1 (true) if the supplied geometries have some, but not all, interior points in common and the actual crossing is of a lower dimension than the highest supplied geometry. For example, a line crossing a polygon will cross as a line (true). Two lines crossing will cross as a point (true). Two polygons cross as a polygon (false). In the picture, no circles will be returned.

Parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Extract features from

INPUT

[vector: geometry]

Įvesties vektorinis sluoksnis

Where the features (geometric predicate)

PREDICATE

[enumeration] [list]

Default: [0]

Type of spatial relation the input feature should have with an intersect feature so that it could be selected. One or more of:

  • 0 — intersect

  • 1 — contain

  • 2 — disjoint

  • 3 — equal

  • 4 — touch

  • 5 — overlap

  • 6 — are within

  • 7 — cross

If more than one condition is chosen, at least one of them (OR operation) has to be met for a feature to be extracted.

By comparing to the features from

INTERSECT

[vector: geometry]

Intersection vector layer

Extracted (location)

OUTPUT

[toks pat, kaip įvestis]

Numatytas: [Kurti laikiną sluoksnį]

Specify the output vector layer for the features that have the chosen spatial relationship(s) with one or more features in the comparison layer. One of:

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

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

Šia taipogi galima pakeisti failo koduotę.

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Extracted (location)

OUTPUT

[toks pat, kaip įvestis]

Vector layer with features from the input layer that have the chosen spatial relationship(s) with one or more features in the comparison layer.

Pythono kodas

Algorithm ID: qgis:extractbylocation

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

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

24.1.25.4. Extract within distance

Creates a new vector layer that only contains matching features from an input layer. Features are copied wherever they are within the specified maximum distance from the features in an additional reference layer.

Parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Extract features from

INPUT

[vector: geometry]

Input vector layer to copy features from

By comparing to the features from

REFERENCE

[vector: geometry]

Vector layer whose features closeness is used

Where the features are within

DISTANCE

[numeric: double] dataDefine

Default: 100.0

The maximum distance around reference features to select input features within

Modify current selection by

METHOD

[sąrašas]

Numatytas: 0

How the selection of the algorithm should be managed. One of:

  • 0 — creating new selection

  • 1 — adding to current selection

  • 2 — selecting within current selection

  • 3 — removing from current selection

Extracted (location)

OUTPUT

[toks pat, kaip įvestis]

Numatytas: [Kurti laikiną sluoksnį]

Specify the output vector layer for the features that are within the set distance from reference features. One of:

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

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

Šia taipogi galima pakeisti failo koduotę.

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Extracted (location)

OUTPUT

[toks pat, kaip įvestis]

Vector layer with features from the input layer matching the condition of distance from reference features

Pythono kodas

Algorithm ID: native:extractwithindistance

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

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

24.1.25.5. Filter by geometry type

Filters features by their geometry type. Incoming features will be directed to different outputs based on whether they have a point, line or polygon geometry.

Parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vector: any]

Layer to evaluate

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Point features

Pasirinktinis

POINTS

[vector: point]

Layer with points

Line features

Pasirinktinis

LINES

[vektorius: linija]

Layer with lines

Polygon features

Pasirinktinis

POLYGONS

[vektorius: poligonas]

Layer with polygons

Features with no geometry

Pasirinktinis

NO_GEOMETRY

[vector: table]

Geometry-less vector layer

Pythono kodas

Algorithm ID: native:filterbygeometry

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

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

24.1.25.6. Random extract

Takes a vector layer and generates a new one that contains only a subset of the features in the input layer.

The subset is defined randomly, based on feature IDs, using a percentage or count value to define the total number of features in the subset.

Įspėjimas

This algorithm drops existing primary keys or FID values and regenerate them in output layers.

Taip pat žiūrėkite

Random selection

Parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vector: any]

Source vector layer to select the features from

Method

METHOD

[sąrašas]

Numatytas: 0

Random selection methods. One of:

  • 0 — Number of selected features

  • 1 — Percentage of selected features

Number/percentage of selected features

NUMBER

[numeric: integer]

Default: 10

Number or percentage of features to select

Extracted (random)

OUTPUT

[toks pat, kaip įvestis]

Numatytas: [Kurti laikiną sluoksnį]

Specify the output vector layer for the randomly selected features. One of:

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

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

Šia taipogi galima pakeisti failo koduotę.

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Extracted (random)

OUTPUT

[toks pat, kaip įvestis]

Vector layer containing randomly selected features from the input layer

Pythono kodas

Algorithm ID: qgis:randomextract

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

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

24.1.25.7. Random extract within subsets

Takes a vector layer and generates a new one that contains only a subset of the features in the input layer.

The subset is defined randomly, based on feature IDs, using a percentage or count value to define the total number of features in the subset. The percentage/count value is not applied to the whole layer, but instead to each category. Categories are defined according to a given attribute.

Taip pat žiūrėkite

Random selection within subsets

Parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vector: any]

Vector layer to select the features from

ID field

FIELD

[tablefield: any]

Category of the source vector layer to select the features from

Method

METHOD

[sąrašas]

Numatytas: 0

Random selection method. One of:

  • 0 — Number of selected features

  • 1 — Percentage of selected features

Number/percentage of selected features

NUMBER

[numeric: integer]

Default: 10

Number or percentage of features to select

Extracted (random stratified)

OUTPUT

[toks pat, kaip įvestis]

Numatytas: [Kurti laikiną sluoksnį]

Specify the output vector layer for the randomly selected features. One of:

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

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

Šia taipogi galima pakeisti failo koduotę.

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Extracted (random stratified)

OUTPUT

[toks pat, kaip įvestis]

Vector layer containing randomly selected features from the input layer

Pythono kodas

Algorithm ID: qgis:randomextractwithinsubsets

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

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

24.1.25.8. Random selection

Takes a vector layer and selects a subset of its features. No new layer is generated by this algorithm.

The subset is defined randomly, based on feature IDs, using a percentage or count value to define the total number of features in the subset.

Default menu: Vector ► Research Tools

Taip pat žiūrėkite

Random extract

Parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vector: any]

Vector layer for the selection

Method

METHOD

[sąrašas]

Numatytas: 0

Random selection method. One of:

  • 0 — Number of selected features

  • 1 — Percentage of selected features

Number/percentage of selected features

NUMBER

[numeric: integer]

Default: 10

Number or percentage of features to select

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[toks pat, kaip įvestis]

The input layer with features selected

Pythono kodas

Algorithm ID: qgis:randomselection

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

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

24.1.25.9. Random selection within subsets

Takes a vector layer and selects a subset of its features. No new layer is generated by this algorithm.

The subset is defined randomly, based on feature IDs, using a percentage or count value to define the total number of features in the subset.

The percentage/count value is not applied to the whole layer, but instead to each category.

Categories are defined according to a given attribute, which is also specified as an input parameter for the algorithm.

No new outputs are created.

Default menu: Vector ► Research Tools

Taip pat žiūrėkite

Random extract within subsets

Parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vector: any]

Vector layer to select features in

ID field

FIELD

[tablefield: any]

Category of the input layer to select the features from

Method

METHOD

[sąrašas]

Numatytas: 0

Random selection method. One of:

  • 0 — Number of selected features

  • 1 — Percentage of selected features

Number/percentage of selected features

NUMBER

[numeric: integer]

Default: 10

Number or percentage of features to select

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[toks pat, kaip įvestis]

The input layer with features selected

Pythono kodas

Algorithm ID: qgis:randomselectionwithinsubsets

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

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

24.1.25.10. Select by attribute

Creates a selection in a vector layer.

The criteria for selecting features is based on the values of an attribute from the input layer.

Taip pat žiūrėkite

Ištraukti pagal atributą

Parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vector: any]

Vector layer to select features in

Parinkimo atributas

FIELD

[tablefield: any]

Sluoksnio filtravimo laukas

Veiksmas

OPERATOR

[sąrašas]

Numatytas: 0

Yra daug skirtingų galimų veiksmų:

  • 0 — =

  • 1 — ≠

  • 2 — >

  • 3 — >=

  • 4 — <

  • 5 — <=

  • 6 — prasideda su

  • 7 — turi

  • 8 — yra null

  • 9 — nėra null

  • 10 — neturi

Reikšmė

Pasirinktinis

VALUE

[string]

Įvertinama reikšmė

Modify current selection by

METHOD

[sąrašas]

Numatytas: 0

How the selection of the algorithm should be managed. One of:

  • 0 — creating new selection

  • 1 — adding to current selection

  • 2 — removing from current selection

  • 3 — selecting within current selection

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[toks pat, kaip įvestis]

The input layer with features selected

Pythono kodas

Algorithm ID: qgis:selectbyattribute

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

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

24.1.25.11. Select by expression

Creates a selection in a vector layer.

The criteria for selecting features is based on a QGIS expression. For more information about expressions see the Expressions.

Taip pat žiūrėkite

Extract by expression

Parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[vector: any]

Įvesties vektorinis sluoksnis

Expression

EXPRESSION

[išraiška]

Expression to filter the input layer

Modify current selection by

METHOD

[sąrašas]

Numatytas: 0

How the selection of the algorithm should be managed. One of:

  • 0 — creating new selection

  • 1 — adding to current selection

  • 2 — removing from current selection

  • 3 — selecting within current selection

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[toks pat, kaip įvestis]

The input layer with features selected

Pythono kodas

Algorithm ID: qgis:selectbyexpression

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

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

24.1.25.12. Select by location

Creates a selection in a vector layer.

The criteria for selecting features is based on the spatial relationship between each feature and the features in an additional layer.

Default menu: Vector ► Research Tools

Exploring spatial relations

Geometric predicates are boolean functions used to determine the spatial relation a feature has with another by comparing whether and how their geometries share a portion of space.

../../../../_images/selectbylocation.png

Fig. 24.134 Looking for spatial relations between layers

Using the figure above, we are looking for the green circles by spatially comparing them to the orange rectangle feature. Available geometric predicates are:

Intersect

Tests whether a geometry intersects another. Returns 1 (true) if the geometries spatially intersect (share any portion of space - overlap or touch) and 0 if they don’t. In the picture above, this will return circles 1, 2 and 3.

Contain

Returns 1 (true) if and only if no points of b lie in the exterior of a, and at least one point of the interior of b lies in the interior of a. In the picture, no circle is returned, but the rectangle would be if you would look for it the other way around, as it contains circle 1 completely. This is the opposite of are within.

Disjoint

Returns 1 (true) if the geometries do not share any portion of space (no overlap, not touching). Only circle 4 is returned.

Equal

Returns 1 (true) if and only if geometries are exactly the same. No circles will be returned.

Touch

Tests whether a geometry touches another. Returns 1 (true) if the geometries have at least one point in common, but their interiors do not intersect. Only circle 3 is returned.

Overlap

Tests whether a geometry overlaps another. Returns 1 (true) if the geometries share space, are of the same dimension, but are not completely contained by each other. Only circle 2 is returned.

Are within

Tests whether a geometry is within another. Returns 1 (true) if geometry a is completely inside geometry b. Only circle 1 is returned.

Cross

Returns 1 (true) if the supplied geometries have some, but not all, interior points in common and the actual crossing is of a lower dimension than the highest supplied geometry. For example, a line crossing a polygon will cross as a line (true). Two lines crossing will cross as a point (true). Two polygons cross as a polygon (false). In the picture, no circles will be returned.

Parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Select features from

INPUT

[vector: geometry]

Įvesties vektorinis sluoksnis

Where the features (geometric predicate)

PREDICATE

[enumeration] [list]

Default: [0]

Type of spatial relation the input feature should have with an intersect feature so that it could be selected. One or more of:

  • 0 — intersect

  • 1 — contain

  • 2 — disjoint

  • 3 — equal

  • 4 — touch

  • 5 — overlap

  • 6 — are within

  • 7 — cross

If more than one condition is chosen, at least one of them (OR operation) has to be met for a feature to be extracted.

By comparing to the features from

INTERSECT

[vector: geometry]

Intersection vector layer

Modify current selection by

METHOD

[sąrašas]

Numatytas: 0

How the selection of the algorithm should be managed. One of:

  • 0 — creating new selection

  • 1 — adding to current selection

  • 2 — selecting within current selection

  • 3 — removing from current selection

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[toks pat, kaip įvestis]

The input layer with features selected

Pythono kodas

Algorithm ID: qgis:selectbylocation

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

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

24.1.25.13. Select within distance

creates a selection in a vector layer. Features are selected wherever they are within the specified maximum distance from the features in an additional reference layer.

Parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Select features from

INPUT

[vector: geometry]

Input vector layer to select features from

By comparing to the features from

REFERENCE

[vector: geometry]

Vector layer whose features closeness is used

Where the features are within

DISTANCE

[numeric: double] dataDefine

Default: 100.0

The maximum distance around reference features to select input features

Modify current selection by

METHOD

[sąrašas]

Numatytas: 0

How the selection of the algorithm should be managed. One of:

  • 0 — creating new selection

  • 1 — adding to current selection

  • 2 — selecting within current selection

  • 3 — removing from current selection

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Įvesties sluoksnis

INPUT

[toks pat, kaip įvestis]

The input layer with features selected

Pythono kodas

Algorithm ID: native:selectwithindistance

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

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