Nyall Dawson
68aae3a0e6
Replace processing modeler toolbox with common widget/model
2018-07-16 11:38:13 +10:00
Nyall Dawson
1134386825
Fix crash on exit
2018-07-16 11:38:13 +10:00
Nyall Dawson
101c98fd17
Move toolbox tree view to c++ class
2018-07-16 11:38:13 +10:00
Nyall Dawson
810cb9c0f7
Start replacing python model
2018-07-16 11:38:13 +10:00
Nyall Dawson
69ab3c9e0c
Start on history item
2018-07-16 11:38:13 +10:00
Salvatore Larosa
f993ec05be
Fixes #19417 - AttributeError: 'BatchInputSelectionPanel' object has no attribute 'getText'
2018-07-16 09:00:10 +10:00
Luigi Pirelli
f7a1ef1431
Added test for gdal_fillnodata used inside processing
2018-07-13 12:19:40 +02:00
Luigi Pirelli
95246e76cd
Mask parameter was wrongly set. Fixes #19409
2018-07-13 11:47:03 +02:00
Nyall Dawson
93146f7c9f
[processing][saga] Outputs from snap algorithms should both be optional
2018-07-12 11:32:37 +10:00
Nyall Dawson
82364e4295
[processing][saga] Unit tests for snap points to lines/points algs
2018-07-12 11:32:37 +10:00
Rudi von Staden
64352fb159
Fix input parameter types for SAGA SnapPointstoLines
2018-07-12 11:32:37 +10:00
Rudi von Staden
dd4c49deae
Fix input parameters of SAGA SnapPointstoPoints
...
Fixes #19382
2018-07-12 11:32:37 +10:00
Nyall Dawson
a5992d0178
[processing] Fail model drop if model file could not be successfully read
2018-07-12 10:14:03 +10:00
Nyall Dawson
61cc8b5774
[processing] Fix exception when dropping model file on qgis window
2018-07-12 10:14:03 +10:00
Luigi Pirelli
1875b025da
Merge pull request #7362 from rudivs/update_maplayerwidgetwrapper
...
Add 'not selected' option for optional layer parameters in processing models
2018-07-11 15:25:12 +02:00
Alexander Bruy
6d751dcb70
Merge pull request #7363 from alexbruy/fix-sampling
...
[processing] fix Random extract/select within subset algorithms
2018-07-04 19:53:53 +03:00
Nyall Dawson
6c014b46ba
[processing] Use c++ recent algorithm log, remove python log
...
Indirectly fixes #19218
2018-07-05 02:37:03 +10:00
Alexander Bruy
b72f5d1a53
[processing] log cases when subset is smaller than requested number of
...
features
2018-07-04 19:15:29 +03:00
Alexander Bruy
29207a1617
[processing] fix Random extract/select within subset when subset is
...
smaller than number of requested features (fix #19322 )
2018-07-04 18:30:30 +03:00
Rudi von Staden
57fb4ef27c
Add 'not selected' option for optional layer parameters in processing model view
...
Fixes #19329 (https://issues.qgis.org/issues/19329 )
Optional layer parameters in processing algorithms used in the graphical modeler
add an empty string as the default parameter value, which can raise an exception
during algorithm execution. This update replaces the default empty string with a
default 'Not selected' option.
2018-07-04 13:45:46 +02:00
Nyall Dawson
f43adf7a8b
Fix test
2018-07-03 09:43:40 +10:00
Nyall Dawson
2cc9bc8f73
[processing] Fix unexpected newlines showing in python command in history dialog
2018-07-03 09:43:40 +10:00
Nyall Dawson
1621402652
[processing] Fix exception when clicking alg with distance param in history dialog
2018-07-03 09:43:40 +10:00
nirvn
7cb80a2308
Rename mActionDraw.svg to more appropriate mActionRefresh.svg
...
(in doing so, rename current mActionRefresh.svg to mActionReload.svg)
2018-07-02 12:51:44 +07:00
Juergen E. Fischer
ac63b8e16e
Translation fix
2018-07-02 02:47:09 +02:00
Håvard Tveite
a756fb1034
Fix parameter type for the BUFFER parameter of the Voronoi polygons alg
...
Fixes #19294
2018-06-29 23:02:03 +10:00
Nyall Dawson
9fe26af8fa
Allow processing tests to specify ellipsoid/project CRS
2018-06-29 07:12:48 +10:00
Nyall Dawson
34b9d39b27
[FEATURE][processing] K Means clustering algorithm
...
Adds a native k-means clustering algorithm.
Based on a port of PostGIS' ST_ClusterKMeans function, this
new algorithm adds a new cluster ID field to a set of input
features identify the feature's cluster based on the k-means
clustering approach. If non-point geometries are used as input,
the clustering is based off the centroid of the input geometries.
2018-06-29 07:12:48 +10:00
Nyall Dawson
85fba799ea
[processing] Don't abort when missing field name specified in
...
delete columns algorithm
Fixes #19256
2018-06-28 17:10:23 +10:00
Nyall Dawson
6f5405a829
[processing] Be more careful with output geometries added as a
...
result of clipping
2018-06-28 17:09:51 +10:00
Nyall Dawson
31330ddffb
[processing] Fix random selection algorithm when filter is set on layer
2018-06-28 15:02:06 +10:00
Nyall Dawson
977e14b058
[processing] Fix potential crash when calling processing.run with
...
custom context, but no feedback object
2018-06-28 14:12:37 +10:00
Matthias Kuhn
7acfe037c4
Merge pull request #7064 from anitagraser/patch-1
...
[FEATURE] Create PostGISExecuteAndLoadSQL.py
2018-06-25 08:17:04 +02:00
Anita Graser
4a48f50a85
Add qgis:postgisexecuteandloadsql
2018-06-22 21:35:26 +02:00
Nyall Dawson
5b7eefa6ae
[FEATURE][processing] New 'Raster pixels to polygons' algorithm
...
Converts a raster layer into a vector layer, with a polygon feature
corresponding to each pixel from the raster and a single field
containing the band value from the raster.
Sponsored by SMEC/SJ
2018-06-23 04:42:10 +10:00
Anita Graser
bebadef101
Fix parameter names
2018-06-22 18:40:17 +02:00
Martin Dobias
80b0c72c50
Fix a Python error in Processing GUI
...
It turns out that an empty QComboBox evaluates to False:
>>> t=QLineEdit()
>>> bool(t)
True
>>> c=QComboBox()
>>> bool(c)
False
Due to that, the 'TABLE' parameter was missing if its (editable) combo box was empty.
Original error - while updating an algorithm's parameters (gdal:importvectorintopostgisdatabaseavailableconnections)
Traceback (most recent call last):
File "/home/martin/qgis/git-master/build-debug/output/python/plugins/processing/algs/gdal/GdalAlgorithmDialog.py", line 121, in parametersHaveChanged
or (not p.checkValueIsAcceptable(parameters[p.name()])):
KeyError: 'TABLE'
2018-06-22 13:30:26 +02:00
Nyall Dawson
41d6b9d967
Silence more plotly warnings on import
2018-06-22 14:26:55 +10:00
Nyall Dawson
6e7c07bc86
Mark regex
2018-06-22 13:37:58 +10:00
Nyall Dawson
4132dbc1c8
Typo
2018-06-20 15:06:36 +10:00
Nyall Dawson
8d6ce61a70
[processing] Silence warnings thrown from within plotly on import
2018-06-20 08:07:23 +10:00
Nyall Dawson
16ac437780
[processing] Fix bar and box plot exception when category field has NULL values
2018-06-20 08:07:23 +10:00
Nyall Dawson
a17b77be56
[processing][gdal] Add missing parameters for buildvrt algorithm
2018-06-18 10:28:27 +10:00
Nyall Dawson
76b13ff4c4
[processing][gdal] More descriptive name for separate parameter
...
in buildvrt algorithm
Fixes #19212
2018-06-18 10:28:27 +10:00
Nyall Dawson
8323462f3b
[processing][saga] Fix definition of cross profiles alg, add test
2018-06-16 15:35:31 +10:00
Nyall Dawson
6b08eff655
Spelling
2018-06-15 13:48:43 +10:00
Nyall Dawson
55a54b0971
[processing][saga] Fix duplicate confusion matrix algs
...
Fixes #19188
2018-06-15 13:48:43 +10:00
Nyall Dawson
37e379836b
[processing][saga] Fix duplicate cluster analysis algs
2018-06-15 13:48:43 +10:00
Nyall Dawson
a8c0cef49a
[processing][saga] Fix params for IDW alg
2018-06-15 13:48:43 +10:00
Nyall Dawson
d04fee69b3
[processing][saga] Remove duplicate GWR algs, fix params
2018-06-15 13:48:43 +10:00