145 Commits

Author SHA1 Message Date
Nyall Dawson
95930ed68c [processing] Fix IDW parameter value creation 2019-03-15 08:38:01 +10:00
Nyall Dawson
c24f51ece8 [processing] Fix exception in IDW interpolation
Fixes #21578
2019-03-15 08:38:01 +10:00
Nyall Dawson
6021683c35 Capitalization 2019-02-20 05:39:04 +10:00
Nyall Dawson
346f33544c [processing] Expose correct expression context in Refactor fields alg 2019-02-20 05:39:04 +10:00
volaya
eb47288fac [processing] correctly set output styles for models
fixes #20573
2019-01-23 08:02:19 +01:00
Alexander Bruy
0c4c8feb70
Merge pull request #8945 from alexbruy/processing-fieldcalc
[processing] use active layer by default in field calculator algorithm (fix #19686)
2019-01-22 15:25:20 +02:00
Alexander Bruy
95209d134c [processing] use active layer by default in field calculator algorithm
(fix #19686)
2019-01-22 11:04:49 +02:00
Alexander Bruy
17fd86e723 [processing] use complex delimiter for interpolation data to avoid
overlaps with charactes which can be used in the layers source URI (fix #20490)
2019-01-22 10:15:07 +02:00
Alexander Bruy
5813b96159 add cell size option to IDW and TIN interpolation algorithms 2018-12-30 06:44:09 +02:00
Alexander Bruy
357cf270ff add value changed signal for custom interpolation parameter wrapper
move duplicated code into common file
2018-12-30 06:44:09 +02:00
Alessandro Pasotti
1672d434ce Raster calc: refresh layers list if a layer is renamed or added/removed
Fixes #20601 - bug: Raster calculator produces empty results layer and no error message if input layer is one that has been renamed in QGIS layers panel
2018-11-29 18:30:01 +01:00
Alessandro Pasotti
18854dc7b6 Do not add duplicates in raster calc layers list
Related to #20601
2018-11-29 12:26:57 +01:00
Nyall Dawson
f3e9aaf79a Fix some inefficient python dictionary iteration 2018-10-31 08:42:51 +10:00
Juergen E. Fischer
9ad01cf9ba replace three dots with ellipsises in translation strings 2018-10-27 19:06:37 +02:00
Nyall Dawson
c8abd40250 [processing] Fix gdal algorithm use of old wrapper API 2018-09-11 15:40:27 +10:00
Luigi Pirelli
e611756f09 fix error because constant is not iterable 2018-09-07 20:40:35 +10:00
Luigi Pirelli
95a4c00584 fix reference to widget as instance attribute not through a method 2018-09-07 20:40:35 +10:00
Luigi Pirelli
580ecafa32
Merge pull request #7396 from luipir/rastercalculator_model_fix
[processing] Rebirth RasterCalculator in Modeler. Fixes #19302
2018-09-04 18:13:04 +02:00
Nyall Dawson
644ef6a752 [processing] Initial work on porting base GUI classes to c++
- Add abstract base class for Processing widget wrappers to c++
- Add wrapper factory interface to c++
- Make QgsProcessingGuiRegistry also register widget wrapper
factories, and be responsible for creation of new c++
processing widget wrapper instances
- Start on private c++ implementation of boolean widget wrapper,
including unit tests
2018-09-04 19:06:07 +10:00
Luigi Pirelli
5ebe5d6c5b show variableDescription as shown in the list of variables 2018-08-28 17:06:08 +02:00
Nyall Dawson
6c014b46ba [processing] Use c++ recent algorithm log, remove python log
Indirectly fixes #19218
2018-07-05 02:37:03 +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
Nyall Dawson
6e7c07bc86 Mark regex 2018-06-22 13:37:58 +10:00
Nyall Dawson
c0d9528090 Silence python warnings from 3rd party libraries on startup 2018-05-22 06:02:55 +10:00
Blottiere Paul
599799d264 Remove unused import 2018-05-18 08:29:33 +01:00
Blottiere Paul
e74e836017 Use parameter's name instead of description to save sql query 2018-05-18 07:05:56 +01:00
gacarrillor
387e724b0f [processing] Refactor Fields algorithm: avoid unnecessary confirmation dialogs 2018-04-30 11:14:36 -05:00
Blottiere Paul
aef2b6e3e7 Update ExecuteSQL to be configurable with expressions 2018-04-26 09:47:40 +01:00
nirvn
7d787980f5 followup a463858: fix interpol. data widget setValue function 2018-04-20 10:13:35 +07:00
nirvn
a463858bf3 [processing] restore TIN / IDW interpolation algorithms 2018-04-19 17:19:07 +07:00
nirvn
7d43e7b876 fix interpolation data widget 2018-04-19 17:19:07 +07:00
Nyall Dawson
ccccad54c0 [processing] Fix exception in processing.run when feedback
object is not specified
2018-04-09 09:18:04 +10:00
Nyall Dawson
ff6ea33686 [processing] Fix broken Aggregate algorithm
Fixes #18349
2018-03-20 08:06:38 +11:00
Nyall Dawson
654a4a4af6 [processing] Fix algorithm progress bar resets to 0 when an algorithm
reports a non-fatal error

Fixes the "flashy" progress bar when an algorithm encounters a lot
of errors.
2018-03-15 13:43:01 +11:00
Matthias Kuhn
592c9b24b9 Expose fields mapping parameter to modeler 2018-03-01 08:13:08 -05:00
Juergen E. Fischer
2c53630747 add missing copyright headers 2018-02-18 20:53:40 +01:00
Denis Rouzaud
3dc3d9d1b2 unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
make enum items lower case
remove unused QgsMessageLog::None and All
2018-02-06 08:56:40 -04:00
Alexander Bruy
eb7a187a88 [processing] add missed imports (fix #17843) 2018-01-15 20:13:38 +02:00
Alexander Bruy
7cad24d82f [processing] improve layout of the raster calculator dialog 2018-01-15 19:25:08 +02:00
Alexander Bruy
490aad112f [processing] quote layer names in raster calculator (fix #17847) 2018-01-15 19:25:08 +02:00
volaya
418d58752f [processing] added missing method to custom field calculator dialog
A much better way of doing this would be to have the dialog extend qgsprocessingalgorithmdialogbase, or to take an approach like the one used in the raster calculator, with wrapper widgets.
This is just a patch, since that option might require a larger amount of work.
2018-01-15 14:56:36 +01:00
Matthias Kuhn
b619dcb00a Refactor fields configuration in the modeler does not insist on layer
Inside the modeler, there is not enough knowledge about the layer on
which the refactor fields algorithm will run.
Let's be graceful with error messages here therefore.
2017-12-14 09:04:07 +01:00
Matthias Kuhn
e9d4c06cb2 Make string translatable 2017-12-14 09:04:07 +01:00
Alexander Bruy
3d4a59bb8b [processing] cleanup files from unused code and remove some files 2017-11-28 12:27:45 +02:00
Alexander Bruy
0059b2b692 [processing] remove Python 2 compatibility layer 2017-11-28 12:27:45 +02:00
Mathieu Pellerin
97f749e6b4
[processing] fix error when adding refactor fields alg in empty model
(fixes #17421)
2017-11-24 18:04:50 +07:00
Alexander Bruy
ee8ef42c42 [processing] boolean fieds support in the Refactor Fields algorithm (fix #17168) 2017-11-16 12:46:00 +02:00
Nyall Dawson
e91ee5b71c More flexible API for interpolation
E.g. adds API support for interpolating by m value
2017-11-03 09:18:45 +10:00
Nyall Dawson
73306f1266 Update python code 2017-11-03 07:47:40 +10:00
Nyall Dawson
247d2657ca Fix invalid regular expression warnings 2017-09-01 09:00:57 +10:00