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

.

Vector general

Delete duplicate geometries

Kuvaus

<put algorithm description here>

Parameters

Input layer [vector: any]
<put parameter description here>

Tulokset

Output [vector]
<put output description here>

Console usage

processing.runalg('qgis:deleteduplicategeometries', input, output)

See also

Join attributes by location

Kuvaus

<put algorithm description here>

Parameters

Target vector layer [vector: any]
<put parameter description here>
Join vector layer [vector: any]
<put parameter description here>
Attribute summary [selection]

<put parameter description here>

Options:

  • 0 — Take attributes of the first located feature
  • 1 — Take summary of intersecting features

Default: 0

Statistics for summary (comma separated) [string]

<put parameter description here>

Default: sum,mean,min,max,median

Output table [selection]

<put parameter description here>

Options:

  • 0 — Only keep matching records
  • 1 — Keep all records (including non-matching target records)

Default: 0

Tulokset

Output layer [vector]
<put output description here>

Console usage

processing.runalg('qgis:joinatributesbylocation', target, join, summary, stats, keep, output)

See also

Join attributes table

Kuvaus

<put algorithm description here>

Parameters

Input layer [vector: any]
<put parameter description here>
Input layer 2 [table]
<put parameter description here>
Table field [tablefield: any]
<put parameter description here>
Table field 2 [tablefield: any]
<put parameter description here>

Tulokset

Output layer [vector]
<put output description here>

Console usage

processing.runalg('qgis:joinattributestable', input_layer, input_layer_2, table_field, table_field_2, output_layer)

See also

Merge vector layers

Kuvaus

<put algorithm description here>

Parameters

Input layer 1 [vector: any]
<put parameter description here>
Input layer 2 [vector: any]
<put parameter description here>

Tulokset

Output [vector]
<put output description here>

Console usage

processing.runalg('qgis:mergevectorlayers', layer1, layer2, output)

See also

Polygoni tason aluerajauksesta (extent)

Kuvaus

<put algorithm description here>

Parameters

Input layer [vector: any]
<put parameter description here>
Calculate extent for each feature separately [boolean]

<put parameter description here>

Default: False

Tulokset

Output layer [vector]
<put output description here>

Console usage

processing.runalg('qgis:polygonfromlayerextent', input_layer, by_feature, output)

See also

Reproject layer

Kuvaus

Reprojects a vector layer in a different CRS.

Parameters

Input layer [vector: any]
Layer to reproject.
Target CRS [crs]

Destination coordinate reference system.

Default: EPSG:4326

Tulokset

Reprojected layer [vector]
The resulting layer.

Console usage

processing.runalg('qgis:reprojectlayer', input, target_crs, output)

See also

Tallenna valitut kohteet

Kuvaus

Saves the selected features as a new layer.

Parameters

Input layer [vector: any]
Layer to process.

Tulokset

Output layer with selected features [vector]
The resulting layer.

Console usage

processing.runalg('qgis:saveselectedfeatures', input_layer, output_layer)

See also

Set style for vector layer

Kuvaus

<put algorithm description here>

Parameters

Vector layer [vector: any]
<put parameter description here>
Style file [file]
<put parameter description here>

Tulokset

Styled layer [vector]
<put output description here>

Console usage

processing.runalg('qgis:setstyleforvectorlayer', input, style)

See also

Snap points to grid

Kuvaus

<put algorithm description here>

Parameters

Input Layer [vector: any]
<put parameter description here>
Horizontal spacing [number]

<put parameter description here>

Default: 0.1

Vertical spacing [number]

<put parameter description here>

Default: 0.1

Tulokset

Output [vector]
<put output description here>

Console usage

processing.runalg('qgis:snappointstogrid', input, hspacing, vspacing, output)

See also

Split vector layer

Kuvaus

<put algorithm description here>

Parameters

Input layer [vector: any]
<put parameter description here>
Unique ID field [tablefield: any]
<put parameter description here>

Tulokset

Output directory [directory]
<put output description here>

Console usage

processing.runalg('qgis:splitvectorlayer', input, field, output)

See also