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

` `

Shapes polygons

Convert lines to polygons

Tanım

Converts lines to polygons.

Parametreler

Lines [vector: line]
Lines to convert.

Çıkışlar

Polygons [vector]

sonuç katmanı.

Konsol kullanımı

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

Ayrıca bakınız

Convert polygon/line vertices to points

Tanım

Converts the line or polygon vertices into points.

Parametreler

Shapes [vector: any]

İşlenecek katman.

Çıkışlar

Points [vector]

sonuç katmanı.

Konsol kullanımı

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

Ayrıca bakınız

Poligon ağırlık merkezleri

Tanım

Calculates the centroids of polygons.

Parametreler

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

Çıkışlar

Centroids [vector]

sonuç katmanı.

Konsol kullanımı

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

Ayrıca bakınız

Polygon dissolve

Tanım

<put algorithm description here>

Parametreler

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

Çıkışlar

Dissolved Polygons [vector]
<put output description here>

Konsol kullanımı

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

Ayrıca bakınız

Polygon-line intersection

Tanım

<put algorithm description here>

Parametreler

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

Çıkışlar

Intersection [vector]
<put output description here>

Konsol kullanımı

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

Ayrıca bakınız

Polygon parts to separate polygons

Tanım

<put algorithm description here>

Parametreler

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

<put parameter description here>

Default: True

Çıkışlar

Polygon Parts [vector]
<put output description here>

Konsol kullanımı

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

Ayrıca bakınız

Polygon properties

Tanım

<put algorithm description here>

Parametreler

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

Çıkışlar

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

Konsol kullanımı

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

Ayrıca bakınız

Polygon shape indices

Tanım

Calculates spatial statistics for polygons. This includes:

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

Parametreler

Shapes [vector: polygon]
Layer to analyze.

Çıkışlar

Shape Index [vector]

sonuç katmanı.

Konsol kullanımı

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

Ayrıca bakınız

Polygons to edges and nodes

Tanım

Extracts boundaries and nodes of polygons in separate files.

Parametreler

Polygons [vector: polygon]
Input layer.

Çıkışlar

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

Konsol kullanımı

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

Ayrıca bakınız