Skip to content

Commit d3003de

Browse files
committed
[processing] add tags and short help
1 parent 91fe2f9 commit d3003de

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

python/plugins/processing/algs/help/qgis.yaml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ qgis:polygonstolines: >
383383

384384
qgis:spatialiteexecutesql: >
385385
This algorithm performs a SQL database query on a Spatialite database.
386-
386+
387387
qgis:postgisexecutesql: >
388388
This algorithm performs a SQL database query on a PostGIS database connected to QGIS.
389389

@@ -514,7 +514,7 @@ qgis:snappointstogrid: >
514514

515515
qgis:splitwithlines: >
516516
This algorithm splits the lines or polygons in one layer using the lines in another layer to define the breaking points. Intersection between geometries in both layers are considered as split points.
517-
517+
518518
Output will contain multi geometries for split features.
519519

520520
qgis:splitvectorlayer: >
@@ -571,16 +571,20 @@ qgis:zonalstatistics:
571571

572572
qgis:rastercalculator: >
573573
This algorithm allows to perform algebraic operations using raster layers.
574-
574+
575575
The resulting layer will have its values computed according to an expression. The expression can contain numerical values, operators and references to any of the layers in the current project. The following functions are also supported:
576-
576+
577577
- sin(), cos(), tan(), atan2(), ln(), log10()
578-
578+
579579
The extent and cellsize can be defined by the user. If the extent is not specified, the minimum extent that covers the input layers will be used. If the cell size is not specified, the minimum cell size of all input layers will be used.
580-
580+
581581
The cell size is assumed to be the same in both X and Y axes.
582-
582+
583583
Layers are referred by their name as displayed in the layer list and the number of the band to use (based on 1), using the pattern 'layer_name@band number'. For instance, the first band from a layer named DEM will be referred as DEM@1.
584-
584+
585585
When using the calculator in the batch interface or from the console, the files to use have to be specified. The corresponding layers are referred using the base name of the file (without the full path). For instance, is using a layer at path/to/my/rasterfile.tif, the first band of that layer will be referred as rasterfile.tif@1.
586-
586+
587+
qgis:fixgeometries: >
588+
This algorithm attempts to create a valid representation of a given invalid geometry without losing any of the input vertices. Already-valid geometries are returned without further intervention. Always outputs multi-geometry layer.
589+
590+
NOTE: M values will be dropped from the output.

python/plugins/processing/algs/qgis/FixGeometry.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class FixGeometry(GeoAlgorithm):
4242
def defineCharacteristics(self):
4343
self.name, self.i18n_name = self.trAlgorithm('Fix geometries')
4444
self.group, self.i18n_group = self.trAlgorithm('Vector geometry tools')
45+
self.tags = self.tr('repair,invalid,geometry')
4546

4647
self.addParameter(ParameterVector(self.INPUT,
4748
self.tr('Input Layer'),

0 commit comments

Comments
 (0)