Skip to content

Commit 0df50ca

Browse files
authoredMay 15, 2020
Merge pull request #36372 from alexbruy/processing-cpp
port more Processing algorithms to C++
2 parents 8866021 + 319d34c commit 0df50ca

23 files changed

+1144
-614
lines changed
 

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

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -252,18 +252,9 @@ qgis:polygoncentroids: >
252252

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

255-
qgis:polygonize: >
256-
This algorithm takes a lines layer and creates a polygon layer, with polygons generated from the lines in the input layer.
257-
258255
qgis:polygonstolines: >
259256
This algorithm takes a polygon layer and creates a line layer, with lines representing the rings of the polygons in the input layer.
260257

261-
qgis:spatialiteexecutesql: >
262-
This algorithm performs a SQL database query on a SpatiaLite database.
263-
264-
qgis:postgisexecutesql: >
265-
This algorithm performs a SQL database query on a PostgreSQL database connected to QGIS.
266-
267258
qgis:postgisexecuteandloadsql: >
268259
This algorithm performs a SQL database query on a PostGIS database connected to QGIS and loads the query results as a new layer.
269260

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

363-
qgis:snapgeometries: >
364-
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.
365-
366-
A tolerance is specified in layer units to control how close vertices need to be to the reference layer geometries before they are snapped.
367-
368-
Snapping occurs to both nodes and edges. Depending on the snapping behavior, either nodes or edges will be preferred.
369-
370-
Vertices will be inserted or removed as required to make the geometries match the reference geometries.
371-
372354
qgis:splitwithlines: >
373355
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.
374356

375357
Output will contain multi geometries for split features.
376358

377-
qgis:splitvectorlayer: >
378-
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.
379-
380-
The number of files generated is equal to the number of different values found for the specified attribute.
381-
382359
qgis:statisticsbycategories: >
383360
This algorithm calculates statistics of fields depending on a parent class.
384361

‎python/plugins/processing/algs/qgis/Polygonize.py

Lines changed: 0 additions & 123 deletions
This file was deleted.

‎python/plugins/processing/algs/qgis/PostGISExecuteSQL.py

Lines changed: 0 additions & 82 deletions
This file was deleted.

‎python/plugins/processing/algs/qgis/QgisAlgorithmProvider.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@
6363
from .PointsFromLines import PointsFromLines
6464
from .PointsToPaths import PointsToPaths
6565
from .PolarPlot import PolarPlot
66-
from .Polygonize import Polygonize
67-
from .PostGISExecuteSQL import PostGISExecuteSQL
6866
from .PostGISExecuteAndLoadSQL import PostGISExecuteAndLoadSQL
6967
from .RandomExtractWithinSubsets import RandomExtractWithinSubsets
7068
from .RandomPointsAlongLines import RandomPointsAlongLines
@@ -82,8 +80,6 @@
8280
from .SelectByExpression import SelectByExpression
8381
from .SetRasterStyle import SetRasterStyle
8482
from .SetVectorStyle import SetVectorStyle
85-
from .SnapGeometries import SnapGeometriesToLayer
86-
from .SpatialiteExecuteSQL import SpatialiteExecuteSQL
8783
from .SpatialJoinSummary import SpatialJoinSummary
8884
from .StatisticsByCategories import StatisticsByCategories
8985
from .TextToFloat import TextToFloat
@@ -95,7 +91,6 @@
9591
from .VectorLayerHistogram import VectorLayerHistogram
9692
from .VectorLayerScatterplot import VectorLayerScatterplot
9793
from .VectorLayerScatterplot3D import VectorLayerScatterplot3D
98-
from .VectorSplit import VectorSplit
9994
from .VoronoiPolygons import VoronoiPolygons
10095

10196

@@ -144,8 +139,6 @@ def getAlgs(self):
144139
PointsFromLines(),
145140
PointsToPaths(),
146141
PolarPlot(),
147-
Polygonize(),
148-
PostGISExecuteSQL(),
149142
PostGISExecuteAndLoadSQL(),
150143
RandomExtractWithinSubsets(),
151144
RandomPointsAlongLines(),
@@ -163,8 +156,6 @@ def getAlgs(self):
163156
SelectByExpression(),
164157
SetRasterStyle(),
165158
SetVectorStyle(),
166-
SnapGeometriesToLayer(),
167-
SpatialiteExecuteSQL(),
168159
SpatialJoinSummary(),
169160
StatisticsByCategories(),
170161
TextToFloat(),
@@ -177,7 +168,6 @@ def getAlgs(self):
177168
VectorLayerHistogram(),
178169
VectorLayerScatterplot(),
179170
VectorLayerScatterplot3D(),
180-
VectorSplit(),
181171
VoronoiPolygons(),
182172
]
183173

0 commit comments

Comments
 (0)
Please sign in to comment.