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

` `

Shapes lines

Convert points to line(s)

Описание

Converts points to lines.

Параметри

Points [vector: point]
Points to convert.
Order by... [tablefield: any]
Lines will be ordered following this field.
Separate by... [tablefield: any]
Lines will be grouped according to this field.

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

Lines [vector]
The resulting layer.

Console usage

processing.runalg('saga:convertpointstolines', points, order, separate, lines)

See also

Convert polygons to lines

Описание

Creates lines from polygons.

Параметри

Polygons [vector: polygon]
Layer to process.

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

Lines [vector]
The resulting layer.

Console usage

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

See also

Line dissolve

Описание

<put algorithm description here>

Параметри

Lines [vector: any]
<put parameter description here>
1. Attribute [tablefield: any]
<put parameter description here>
2. Attribute [tablefield: any]
<put parameter description here>
3. Attribute [tablefield: any]
<put parameter description here>
Dissolve... [selection]

<put parameter description here>

Options:

  • 0 — [0] lines with same attribute value(s)
  • 1 — [1] all lines

Default: 0

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

Dissolved Lines [vector]
<put output description here>

Console usage

processing.runalg('saga:linedissolve', lines, field_1, field_2, field_3, all, dissolved)

See also

Line-polygon intersection

Описание

<put algorithm description here>

Параметри

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

<put parameter description here>

Options:

  • 0 — [0] one multi-line per polygon
  • 1 — [1] keep original line attributes

Default: 0

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

Intersection [vector]
<put output description here>

Console usage

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

See also

Line properties

Описание

Calculates some information on each line of the layer.

Параметри

Lines [vector: line]
Layer to analyze.
Number of Parts [boolean]

Determines whether to calculate number of segments in line.

Default: True

Number of Vertices [boolean]

Determines whether to calculate number of vertices in line.

Default: True

Length [boolean]

Determines whether to calculate total line lenght.

Default: True

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

Lines with Property Attributes [vector]
The resulting layer.

Console usage

processing.runalg('saga:lineproperties', lines, bparts, bpoints, blength, output)

See also

Line simplification

Описание

Simplyfies the geometry of a lines layer.

Параметри

Lines [vector: line]
Layer to process.
Tolerance [number]

Simplification tolerance.

Default: 1.0

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

Simplified Lines [vector]
The resulting layer.

Console usage

processing.runalg('saga:linesimplification', lines, tolerance, output)

See also