Ważne
Tłumaczenie jest wysiłkiem społeczności QGISa przyłącz się. Ta strona jest obecnie przetłumaczona w 64.49%.
24.2.7. Vector geoprocessing
24.2.7.1. Buffer vectors
Create buffers around the features of a vector layer.
Parametry
Parametry podstawowe
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Warstwa wejściowa |
|
[vector: geometry] |
The input vector layer |
Geometry column name |
|
[ciąg tekstowy] Default: «geometry» |
The name of the input layer geometry column to use |
Buffer distance |
|
[numeric: double] Domyślnie: 10.0 |
Minimum: 0.0 |
Dissolve by attribute Opcjonalne |
|
[tablefield: any] Default: Not set |
Field to use for dissolving |
Dissolve results |
|
[wartość logiczna] Domyślnie: 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 |
|
[wartość logiczna] Domyślnie: False |
|
Bufor |
|
[vector: polygon] Domyślnie: |
Specify the output buffer layer. One of:
|
Parametry zaawansowane
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Additional creation options Opcjonalne |
|
[ciąg tekstowy] Default: «» (no additional options) |
Additional GDAL creation options. |
Wyniki
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Bufor |
|
[vector: polygon] |
The output buffer layer |
Kod pythona
ID algorytmu: gdal:buffervectors
import processing
processing.run("algorithm_id", {parameter_dictionary})
The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.
24.2.7.2. Clip vector by extent
Clips any OGR-supported vector file to a given extent.
This algorithm is derived from the GDAL ogr2ogr utility.
Parametry
Parametry podstawowe
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Warstwa wejściowa |
|
[vector: geometry] |
The input vector layer |
Clip extent |
|
[zasięg] |
Defines the bounding box that should be used for the output vector file. It has to be defined in target CRS coordinates. Available methods are:
|
Clipped (extent) |
|
[same as input] Domyślnie: |
Specify the output (clipped) layer. One of:
|
Parametry zaawansowane
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Additional creation options Opcjonalne |
|
[ciąg tekstowy] Default: «» (no additional options) |
Additional GDAL creation options. |
Wyniki
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Clipped (extent) |
|
[same as input] |
The output (clipped) layer. The default format is „ESRI Shapefile”. |
Kod pythona
ID algorytmu: gdal:clipvectorbyextent
import processing
processing.run("algorithm_id", {parameter_dictionary})
The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.
24.2.7.3. Clip vector by mask layer
Clips any OGR-supported vector layer by a mask polygon layer.
This algorithm is derived from the GDAL ogr2ogr utility.
Parametry
Parametry podstawowe
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Warstwa wejściowa |
|
[vector: geometry] |
The input vector layer |
Mask layer |
|
[vector: polygon] |
Layer to be used as clipping extent for the input vector layer. |
Clipped (mask) |
|
[same as input] Domyślnie: |
The output (masked) layer. One of:
|
Parametry zaawansowane
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Additional creation options Opcjonalne |
|
[ciąg tekstowy] Default: «» (no additional options) |
Additional GDAL creation options. |
Wyniki
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Clipped (mask) |
|
[same as input] |
The output (masked) layer. The default format is „ESRI Shapefile”. |
Kod pythona
ID algorytmu: gdal:clipvectorbypolygon
import processing
processing.run("algorithm_id", {parameter_dictionary})
The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.
24.2.7.4. Agreguj
Dissolve (combine) geometries that have the same value for a given attribute / field. The output geometries are multipart.
Parametry
Parametry podstawowe
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Warstwa wejściowa |
|
[vector: geometry] |
The input layer to dissolve |
Dissolve field Opcjonalne |
|
[tablefield: any] |
The field of the input layer to use for dissolving |
Geometry column name |
|
[ciąg tekstowy] Default: «geometry» |
The name of the input layer geometry column to use for dissolving. |
Agreguj |
|
[same as input] Domyślnie: |
Specify the output layer. One of:
|
Parametry zaawansowane
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Produce one feature for each geometry in any kind of geometry collection in the source file |
|
[wartość logiczna] Domyślnie: False |
Produce one feature for each geometry in any kind of geometry collection in the source file |
Keep input attributes |
|
[wartość logiczna] Domyślnie: False |
Keep all attributes from the input layer |
Count dissolved features |
|
[wartość logiczna] Domyślnie: False |
Count the dissolved features and include it in the output layer. |
Compute area and perimeter of dissolved features |
|
[wartość logiczna] Domyślnie: False |
Compute the area and perimeter of dissolved features and include them in the output layer |
Compute min/max/sum/mean for attribute |
|
[wartość logiczna] Domyślnie: 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 Opcjonalne |
|
[tablefield: numeric] |
The numeric attribute to calculate statistics on |
Additional creation options Opcjonalne |
|
[ciąg tekstowy] Default: «» (no additional options) |
Additional GDAL creation options. |
Wyniki
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Agreguj |
|
[same as input] |
The output multipart geometry layer (with dissolved geometries) |
Kod pythona
ID algorytmu: gdal:dissolve
import processing
processing.run("algorithm_id", {parameter_dictionary})
The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.
24.2.7.5. 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.
Parametry
Parametry podstawowe
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Warstwa wejściowa |
|
[vector: line] |
The input line layer |
Geometry column name |
|
[ciąg tekstowy] Default: «geometry» |
The name of the input layer geometry column to use |
Offset distance (left-sided: positive, right-sided: negative) |
|
[numeric: double] Domyślnie: 10.0 |
|
Offset curve |
|
[vector: line] Domyślnie: |
Specify the output line layer. One of:
|
Parametry zaawansowane
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Additional creation options Opcjonalne |
|
[ciąg tekstowy] Default: «» (no additional options) |
Additional GDAL creation options. |
Wyniki
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Offset curve |
|
[vector: line] |
The output offset curve layer |
Kod pythona
ID algorytmu: gdal:offsetcurve
import processing
processing.run("algorithm_id", {parameter_dictionary})
The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.
24.2.7.6. One side buffer
Creates a buffer on one side (right or left) of the lines in a line vector layer.
Parametry
Parametry podstawowe
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Warstwa wejściowa |
|
[vector: line] |
The input line layer |
Geometry column name |
|
[ciąg tekstowy] Default: «geometry» |
The name of the input layer geometry column to use |
Buffer distance |
|
[numeric: double] Domyślnie: 10.0 |
|
Buffer side |
|
[wyliczenie] Domyślnie: 0 |
Jeden z:
|
Dissolve by attribute Opcjonalne |
|
[tablefield: any] Default: Not set |
Field to use for dissolving |
Dissolve all results |
|
[wartość logiczna] Domyślnie: False |
|
Produce one feature for each geometry in any kind of geometry collection in the source file |
|
[wartość logiczna] Domyślnie: False |
|
One-sided buffer |
|
[vector: polygon] Domyślnie: |
Specify the output buffer layer. One of:
|
Parametry zaawansowane
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Additional creation options Opcjonalne |
|
[ciąg tekstowy] Default: «» (no additional options) |
Additional GDAL creation options. |
Wyniki
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
One-sided buffer |
|
[vector: polygon] |
The output buffer layer |
Kod pythona
ID algorytmu: gdal:onesidebuffer
import processing
processing.run("algorithm_id", {parameter_dictionary})
The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.
24.2.7.7. 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.
Parametry
Parametry podstawowe
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Warstwa wejściowa |
|
[vector: line] |
The input line layer |
Geometry column name |
|
[ciąg tekstowy] Default: «geometry» |
The name of the input layer geometry column to use |
Distance from line start represented as a fraction of line length |
|
[numeric: double] Default: 0.5 |
|
Points along lines |
|
[vector: point] Domyślnie: |
Specify the output point layer. One of:
|
Parametry zaawansowane
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Additional creation options Opcjonalne |
|
[ciąg tekstowy] Default: «» (no additional options) |
Additional GDAL creation options. |
Wyniki
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Points along line |
|
[vector: point] |
The output point layer |
Kod pythona
ID algorytmu: gdal:pointsalonglines
import processing
processing.run("algorithm_id", {parameter_dictionary})
The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.