Vector geoprocessing¶
Buffer vectors¶
Create buffers around the features of a vector layer.
Parameters¶
Label |
Name |
Type |
Description |
---|---|---|---|
Input layer |
|
[vector: any] |
The input vector layer |
Geometry column name |
|
[string] Default: ‚geometry‘ |
The name of the input layer geometry column to use |
Buffer distance |
|
[number] Default: 10.0 |
Minimum: 0.0 |
Dissolve by attribute Optional |
|
[tablefield: any] Default: None |
Field to use for dissolving |
Dissolve results |
|
[boolean] Default: False |
If set, the result is dissolved. If no field is set for dissolving, all the buffers are dissolved into one feature. |
Produce one feature for each geometry in any kind of geometry collection in the source file |
|
[boolean] Default: False |
|
Additional creation options (optional) |
|
[string] Default: ‚‘ (no additional options) |
Additional GDAL creation options. |
Buffer |
|
[vector: polygon] Default: |
Specify the output buffer layer. One of:
The file encoding can also be changed here. |
Outputs¶
Label |
Name |
Type |
Description |
---|---|---|---|
Buffer |
|
[vector: polygon] |
The output buffer layer |
Clip vector by extent¶
Clips any OGR-supported vector file to a given extent.
This algorithm is derived from the ogr2ogr utility .
Parameters¶
Label |
Name |
Type |
Description |
---|---|---|---|
Input layer |
|
[vector: any] |
The input vector layer |
Clip extent |
|
[extent] |
Defines the bounding box that should be used for the output vector file. It has to be defined in target CRS coordinates. |
Additional creation options (optional) |
|
[string] Default: ‚‘ (no additional options) |
Additional GDAL creation options. |
Clipped (extent) |
|
[same as input] Default: |
Specify the output (clipped) layer. One of:
The file encoding can also be changed here. |
Outputs¶
Label |
Name |
Type |
Description |
---|---|---|---|
Clipped (extent) |
|
[vector: any] |
The output (clipped) layer. The default format is „ESRI Shapefile“. |
Clip vector by mask layer¶
Clips any OGR-supported vector layer by a mask polygon layer.
This algorithm is derived from the ogr2ogr utility .
Parameters¶
Label |
Name |
Type |
Description |
---|---|---|---|
Input layer |
|
[vector: any] |
The input vector layer |
Mask layer |
|
[vector: polygon] |
Layer to be used as clipping extent for the input vector layer. |
Additional creation options (optional) |
|
[string] Default: ‚‘ (no additional options) |
Additional GDAL creation options. |
Clipped (mask) |
|
[same as input] Default: |
The output (masked) layer. One of:
The file encoding can also be changed here. |
Outputs¶
Label |
Name |
Type |
Description |
---|---|---|---|
Clipped (mask) |
|
[vector: any] |
The output (masked) layer. The default format is „ESRI Shapefile“. |
Dissolve¶
Dissolve (combine) geometries that have the same value for a given attribute / field. The output geometries are multipart.
Parameters¶
Label |
Name |
Type |
Description |
---|---|---|---|
Input layer |
|
[vector: any] |
The input layer to dissolve |
Dissolve field (optional) |
|
[tablefield: any] |
The field of the input layer to use for dissolving |
Geometry column name |
|
[string] Default: ‚geometry‘ |
The name of the input layer geometry column to use for dissolving. |
Produce one feature for each geometry in any kind of geometry collection in the source file |
|
[boolean] Default: False |
Produce one feature for each geometry in any kind of geometry collection in the source file |
Keep input attributes |
|
[boolean] Default: False |
Keep all attributes from the input layer |
Count dissolved features |
|
[boolean] Default: False |
Count the dissolved features and include it in the output layer. |
Compute area and perimeter of dissolved features |
|
[boolean] Default: False |
Compute the area and perimeter of dissolved features and include them in the output layer |
Compute min/max/sum/mean for attribute |
|
[boolean] Default: False |
Calculate statistics (min, max, sum and mean) for the numeric attribute specified and include them in the output layer |
Numeric attribute to calculate statistics on (optional) |
|
[tablefield: numeric] |
The numeric attribute to calculate statistics on |
Additional creation options (optional) |
|
[string] Default: ‚‘ (no additional options) |
Additional GDAL creation options. |
Dissolved |
|
[same as input] Default: |
Specify the output layer. One of:
The file encoding can also be changed here. |
Outputs¶
Label |
Name |
Type |
Description |
---|---|---|---|
Dissolved |
|
[vector: any] |
The output multipart geometry layer (with dissolved geometries) |
Offset curve¶
Offsets lines by a specified distance. Positive distances will offset lines to the left, and negative distances will offset them to the right.
Parameters¶
Label |
Name |
Type |
Description |
---|---|---|---|
Input layer |
|
[vector: line] |
The input line layer |
Geometry column name |
|
[string] Default: ‚geometry‘ |
The name of the input layer geometry column to use |
Offset distance (left-sided: positive, right-sided: negative) |
|
[number] Default: 10.0 |
|
Additional creation options (optional) |
|
[string] Default: ‚‘ (no additional options) |
Additional GDAL creation options. |
Offset curve |
|
[vector: line] Default: |
Specify the output line layer. One of:
The file encoding can also be changed here. |
Outputs¶
Label |
Name |
Type |
Description |
---|---|---|---|
Offset curve |
|
[vector: line] |
The output offset curve layer |
One side buffer¶
Creates a buffer on one side (right or left) of the lines in a line vector layer.
Parameters¶
Label |
Name |
Type |
Description |
---|---|---|---|
Input layer |
|
[vector: line] |
The input line layer |
Geometry column name |
|
[string] Default: ‚geometry‘ |
The name of the input layer geometry column to use |
Buffer distance |
|
[number] Default: 10.0 |
|
Buffer side |
|
[enumeration] Default: 0 |
One of:
|
Dissolve by attribute Optional |
|
[tablefield: any] Default: None |
Field to use for dissolving |
Dissolve all results |
|
[boolean] Default: False |
If set, the result is dissolved. If no field is set for dissolving, all the buffers are dissolved into one feature. |
Produce one feature for each geometry in any kind of geometry collection in the source file |
|
[boolean] Default: False |
|
Additional creation options (optional) |
|
[string] Default: ‚‘ (no additional options) |
Additional GDAL creation options. |
One-sided buffer |
|
[vector: polygon] Default: |
Specify the output buffer layer. One of:
The file encoding can also be changed here. |
Outputs¶
Label |
Name |
Type |
Description |
---|---|---|---|
One-sided buffer |
|
[vector: polygon] |
The output buffer layer |
Points along lines¶
Generates a point on each line of a line vector layer at a distance from start. The distance is provided as a fraction of the line length.
Parameters¶
Label |
Name |
Type |
Description |
---|---|---|---|
Input layer |
|
[vector: line] |
The input line layer |
Geometry column name |
|
[string] Default: ‚geometry‘ |
The name of the input layer geometry column to use |
Distance from line start represented as a fraction of line length |
|
[number] Default: 0.5 (middle of the line) |
|
Additional creation options (optional) |
|
[string] Default: ‚‘ (no additional options) |
Additional GDAL creation options. |
Points along line |
|
[vector: point] Default: |
Specify the output point layer. One of:
The file encoding can also be changed here. |
Outputs¶
Label |
Name |
Type |
Description |
---|---|---|---|
Points along line |
|
[vector: point] |
The output point layer |