Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #36372 from alexbruy/processing-cpp
Browse files Browse the repository at this point in the history
port more Processing algorithms to C++
  • Loading branch information
m-kuhn committed May 15, 2020
2 parents 8866021 + 319d34c commit 0df50ca
Show file tree
Hide file tree
Showing 23 changed files with 1,144 additions and 614 deletions.
23 changes: 0 additions & 23 deletions python/plugins/processing/algs/help/qgis.yaml
Expand Up @@ -252,18 +252,9 @@ qgis:polygoncentroids: >

NOTE: This algorithm is deprecated and the generic "centroids" algorithm (which works for line and multi geometry layers) should be used instead.

qgis:polygonize: >
This algorithm takes a lines layer and creates a polygon layer, with polygons generated from the lines in the input layer.

qgis:polygonstolines: >
This algorithm takes a polygon layer and creates a line layer, with lines representing the rings of the polygons in the input layer.

qgis:spatialiteexecutesql: >
This algorithm performs a SQL database query on a SpatiaLite database.

qgis:postgisexecutesql: >
This algorithm performs a SQL database query on a PostgreSQL database connected to QGIS.

qgis:postgisexecuteandloadsql: >
This algorithm performs a SQL database query on a PostGIS database connected to QGIS and loads the query results as a new layer.

Expand Down Expand Up @@ -360,25 +351,11 @@ qgis:setstyleforrasterlayer: >
qgis:setstyleforvectorlayer: >
This algorithm sets the style of a vector layer. The style must be defined in a QML file.

qgis:snapgeometries: >
This algorithm snaps the geometries in a layer. Snapping can be done either to the geometries from another layer, or to geometries within the same layer.

A tolerance is specified in layer units to control how close vertices need to be to the reference layer geometries before they are snapped.

Snapping occurs to both nodes and edges. Depending on the snapping behavior, either nodes or edges will be preferred.

Vertices will be inserted or removed as required to make the geometries match the reference geometries.

qgis:splitwithlines: >
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.

Output will contain multi geometries for split features.

qgis:splitvectorlayer: >
This algorithm takes a vector layer and an attribute and generates a set of vector layers in an output folder. Each of the layers created in that folder contains all features from the input layer with the same value for the specified attribute.

The number of files generated is equal to the number of different values found for the specified attribute.

qgis:statisticsbycategories: >
This algorithm calculates statistics of fields depending on a parent class.

Expand Down
123 changes: 0 additions & 123 deletions python/plugins/processing/algs/qgis/Polygonize.py

This file was deleted.

82 changes: 0 additions & 82 deletions python/plugins/processing/algs/qgis/PostGISExecuteSQL.py

This file was deleted.

10 changes: 0 additions & 10 deletions python/plugins/processing/algs/qgis/QgisAlgorithmProvider.py
Expand Up @@ -63,8 +63,6 @@
from .PointsFromLines import PointsFromLines
from .PointsToPaths import PointsToPaths
from .PolarPlot import PolarPlot
from .Polygonize import Polygonize
from .PostGISExecuteSQL import PostGISExecuteSQL
from .PostGISExecuteAndLoadSQL import PostGISExecuteAndLoadSQL
from .RandomExtractWithinSubsets import RandomExtractWithinSubsets
from .RandomPointsAlongLines import RandomPointsAlongLines
Expand All @@ -82,8 +80,6 @@
from .SelectByExpression import SelectByExpression
from .SetRasterStyle import SetRasterStyle
from .SetVectorStyle import SetVectorStyle
from .SnapGeometries import SnapGeometriesToLayer
from .SpatialiteExecuteSQL import SpatialiteExecuteSQL
from .SpatialJoinSummary import SpatialJoinSummary
from .StatisticsByCategories import StatisticsByCategories
from .TextToFloat import TextToFloat
Expand All @@ -95,7 +91,6 @@
from .VectorLayerHistogram import VectorLayerHistogram
from .VectorLayerScatterplot import VectorLayerScatterplot
from .VectorLayerScatterplot3D import VectorLayerScatterplot3D
from .VectorSplit import VectorSplit
from .VoronoiPolygons import VoronoiPolygons


Expand Down Expand Up @@ -144,8 +139,6 @@ def getAlgs(self):
PointsFromLines(),
PointsToPaths(),
PolarPlot(),
Polygonize(),
PostGISExecuteSQL(),
PostGISExecuteAndLoadSQL(),
RandomExtractWithinSubsets(),
RandomPointsAlongLines(),
Expand All @@ -163,8 +156,6 @@ def getAlgs(self):
SelectByExpression(),
SetRasterStyle(),
SetVectorStyle(),
SnapGeometriesToLayer(),
SpatialiteExecuteSQL(),
SpatialJoinSummary(),
StatisticsByCategories(),
TextToFloat(),
Expand All @@ -177,7 +168,6 @@ def getAlgs(self):
VectorLayerHistogram(),
VectorLayerScatterplot(),
VectorLayerScatterplot3D(),
VectorSplit(),
VoronoiPolygons(),
]

Expand Down

0 comments on commit 0df50ca

Please sign in to comment.