Outdated version of the documentation. Find the latest one here.

` `

Shapes polygons

Convert lines to polygons

Описание

Converts lines to polygons.

Параметри

Lines [vector: line]
Lines to convert.

Изходни резултати

Polygons [vector]
The resulting layer.

Console usage

processing.runalg('saga:convertlinestopolygons', lines, polygons)

See also

Convert polygon/line vertices to points

Описание

Converts the line or polygon vertices into points.

Параметри

Shapes [vector: any]
Layer to process.

Изходни резултати

Points [vector]
The resulting layer.

Console usage

processing.runalg('saga:convertpolygonlineverticestopoints', shapes, points)

See also

Централни точки на полигони

Описание

Calculates the centroids of polygons.

Параметри

Polygons [vector: polygon]
Input layer.
Centroids for each part [boolean]

Determites whether centroids should be calculated for each part of multipart polygon or not.

Default: True

Изходни резултати

Centroids [vector]
The resulting layer.

Console usage

processing.runalg('saga:polygoncentroids', polygons, method, centroids)

See also

Polygon dissolve

Описание

<put algorithm description here>

Параметри

Polygons [vector: polygon]
<put parameter description here>
1. Attribute [tablefield: any]

Optional.

<put parameter description here>

2. Attribute [tablefield: any]

Optional.

<put parameter description here>

3. Attribute [tablefield: any]

Optional.

<put parameter description here>

Dissolve... [selection]

<put parameter description here>

Options:

  • 0 — [0] polygons with same attribute value
  • 1 — [1] all polygons
  • 2 — [2] polygons with same attribute value (keep inner boundaries)
  • 3 — [3] all polygons (keep inner boundaries)

Default: 0

Изходни резултати

Dissolved Polygons [vector]
<put output description here>

Console usage

processing.runalg('saga:polygondissolve', polygons, field_1, field_2, field_3, dissolve, dissolved)

See also

Polygon-line intersection

Описание

<put algorithm description here>

Параметри

Polygons [vector: polygon]
<put parameter description here>
Lines [vector: line]
<put parameter description here>

Изходни резултати

Intersection [vector]
<put output description here>

Console usage

processing.runalg('saga:polygonlineintersection', polygons, lines, intersect)

See also

Polygon parts to separate polygons

Описание

<put algorithm description here>

Параметри

Polygons [vector: polygon]
<put parameter description here>
Ignore Lakes [boolean]

<put parameter description here>

Default: True

Изходни резултати

Polygon Parts [vector]
<put output description here>

Console usage

processing.runalg('saga:polygonpartstoseparatepolygons', polygons, lakes, parts)

See also

Polygon properties

Описание

<put algorithm description here>

Параметри

Polygons [vector: polygon]
<put parameter description here>
Number of Parts [boolean]

<put parameter description here>

Default: True

Number of Vertices [boolean]

<put parameter description here>

Default: True

Perimeter [boolean]

<put parameter description here>

Default: True

Area [boolean]

<put parameter description here>

Default: True

Изходни резултати

Polygons with Property Attributes [vector]
<put output description here>

Console usage

processing.runalg('saga:polygonproperties', polygons, bparts, bpoints, blength, barea, output)

See also

Polygon shape indices

Описание

Calculates spatial statistics for polygons. This includes:

  • площ

  • perimeter
  • perimeter / area
  • perimeter / square root of the area
  • maximum distance
  • maximum distance / area
  • maximum distance / square root of the area
  • shape index

Параметри

Shapes [vector: polygon]
Layer to analyze.

Изходни резултати

Shape Index [vector]
The resulting layer.

Console usage

processing.runalg('saga:polygonshapeindices', shapes, index)

See also

Polygons to edges and nodes

Описание

Extracts boundaries and nodes of polygons in separate files.

Параметри

Polygons [vector: polygon]
Input layer.

Изходни резултати

Edges [vector]
Resulting line layer with polygons boundaries.
Nodes [vector]
Resulting line layer with polygons nodes.

Console usage

processing.runalg('saga:polygonstoedgesandnodes', polygons, edges, nodes)

See also