Nyall Dawson
22a98fb680
[processing] Allow choice of field prefix for Join algorithms
...
Avoids clash of field names resulting in potentially misleading results
2018-06-07 14:24:16 +10:00
Nyall Dawson
cbbe905fae
[processing] Fix missing schemas in postgis destination selection panel
2018-06-06 06:27:03 +10:00
Tom Chadwin
9780068548
Avoid deprecated regex
...
Avoid invalid escape sequence via raw string:
`re.compile('^[^\s\(]+')` > `re.compile(r'^[^\s\(]+')`
2018-06-06 06:24:24 +10:00
Tom Chadwin
fab563fe71
Processing: avoid deprecated regex
...
Invalid escape sequence avoided via raw string:
`re.findall("\d+|[a-zA-Z]+", rep[0][0])` > `re.findall(r"\d+|[a-zA-Z]+", rep[0][0])`
2018-06-06 06:24:24 +10:00
Tom Chadwin
6a8a622ea4
Processing: Avoid deprecated regex
...
Escape sequence avoided in DefinProjection by using raw string:
`re.compile('\|.*')` > `re.compile(r'\|.*')`
2018-06-06 06:24:24 +10:00
Luigi Pirelli
fa7879ade1
[processing] Correct management of optional rasters in batch mode. Fixes #19115
2018-06-05 11:53:52 +02:00
Nyall Dawson
8c689b2d36
[processing] Fix create constant raster layer modifies pixel size
...
Fixes #18446
2018-06-05 16:15:58 +10:00
Nyall Dawson
e91aed6617
[processing] Force model outputs to respect constraints set by
...
their underlying algorithm's provider
E.g. for model outputs generated by a saga algorithm, only
sdat and shp files are valid outputs. So only give users choices
of these instead of all formats.
Also fixes temporary file names generated as part of model
execution may use formats which are not compatible with the
algorithm's provider.
Fixes #18908
2018-06-05 10:05:32 +10:00
Nyall Dawson
8307264c3b
[processing][SAGA] Avoid unicode errors when parsing description files
...
Fixes #19062
2018-06-05 05:25:16 +10:00
Nyall Dawson
3b2f690d26
[processing] Also add table output for raster unique values report algorithm
...
Allows values to be used within models
2018-06-04 21:30:12 +10:00
Andrea Giudiceandrea
adf5eb77cf
Add vector icons to some qgs algorithms ( fixes #19082 ) ( #7149 )
2018-06-04 13:32:56 +07:00
Nyall Dawson
b8ff44e63d
[processing][saga] Fix error in merge vector layers
...
Fixes #18545
2018-06-04 15:15:46 +10:00
Nyall Dawson
1bc1790b7b
[processing][SAGA] Resync kriging parameters with saga manual
...
And remove duplicate kriging algorithms, add tests
Fixes #18191
2018-06-04 15:05:15 +10:00
Nyall Dawson
268aa171cb
[processing][saga] Fix error in raster calculator
...
Fixes #18751
2018-06-04 14:01:24 +10:00
Nyall Dawson
433513005a
[processing][SAGA] Fix missing outputs from some algorithms
...
Fixes #19103
2018-06-04 13:16:08 +10:00
Nyall Dawson
f6ac45a510
[processing][saga] Add unit test for reclassify values (simple)
2018-06-04 12:58:12 +10:00
Nyall Dawson
3dde95de5d
[processing][SAGA] Fix broken reclassify values algorithm
...
Fixes #18750
2018-06-04 12:58:12 +10:00
Nyall Dawson
4b354984e8
[processing] Matrix parameter values are always 1-dimensional
...
Fix gui wrapper returns 2-dimensional parameters, which don't
match with the expectations of QgsProcessingParameterMatrix
2018-06-04 12:58:12 +10:00
Nyall Dawson
f85a3d6bc0
[processing][SAGA] Fix exposed output formats to include only those supported by SAGA
...
Refs #18908
2018-06-04 12:00:28 +10:00
Nyall Dawson
1395dc0e9c
Add missing license headers
2018-06-04 11:30:32 +10:00
Nyall Dawson
bd65fc607b
[processing][gdal] Don't double quote output paths
...
Breaks for some drivers, e.g. KML
Fixes #18264
2018-06-01 18:21:41 +10:00
Nyall Dawson
30ecb33855
[processing][GRASS] Fix some algorithms always export as GPKG, regardless of format selected
2018-06-01 16:53:00 +10:00
Nyall Dawson
60a87e9497
[processing] Fix error when creating tests and raster output
...
no longer exists
Fixes #16123
2018-06-01 16:20:12 +10:00
Nyall Dawson
4289bcb3cb
[processing][saga] Fix some field parameters are incorrectly defined as feature sources
...
Fixes #18193
2018-06-01 15:55:11 +10:00
Nyall Dawson
950d042e72
[processing] Fix errors when filling parameters in batch panel
...
Fixes #18408
2018-06-01 15:55:11 +10:00
Nyall Dawson
dcba919eef
Add another acceptable hash
2018-06-01 11:54:31 +10:00
Nyall Dawson
4719a7c1f5
See if test now passes on Travis
2018-06-01 11:54:31 +10:00
Nyall Dawson
09d21cf920
Resurrect another GRASS test
2018-06-01 11:54:31 +10:00
Nyall Dawson
3f456993d6
Resurrect a GRASS test
2018-06-01 11:54:31 +10:00
Nyall Dawson
0e7c31e9e7
[processing][grass] Fix handling of optional file parameters
2018-06-01 11:54:31 +10:00
Nyall Dawson
e273ac2815
[processing] Some test debugging help
2018-06-01 11:54:31 +10:00
Nyall Dawson
46a4c23648
Resurrect a grass test
2018-06-01 11:54:31 +10:00
Nyall Dawson
ae95adba40
[processing][GRASS] Fix r.relief.scaling has inverted min/max values for altitude and azimuth parameters
...
Fixes #19076
2018-06-01 09:36:24 +10:00
Nyall Dawson
f7a6864b9c
[processing] Fix invalid characters in HTML for 'Raster layer unique values' report
2018-06-01 08:53:20 +10:00
Anita Graser
60d5e4cfa1
Autopep8
2018-05-31 13:43:00 +02:00
Luigi Pirelli
8968b63efd
from unicode to str
2018-05-31 13:06:00 +02:00
Luigi Pirelli
4f415c56e5
typo
2018-05-31 13:06:00 +02:00
Luigi Pirelli
878ab41ad3
Set permission to certs to allow correct removing on win
2018-05-31 13:06:00 +02:00
Matthias Kuhn
8cf7447a2c
Merge pull request #7124 from nyalldawson/fix_16428
...
[processing] Hopefully fix bad layout for docks in modeler
2018-05-31 09:49:07 +02:00
Nyall Dawson
1d62d106fb
[processing] Don't hold on to algorithm instances for menu items
...
Instead, only store references to the algorithm id string, and
use this to retrieve algorithms when the actions are triggered.
This avoids errors caused by the algorithm instances being
removed, e.g. due to plugin removal or reload of providers
(e.g. by opening options dialog).
Fixes #19070
2018-05-31 15:28:12 +10:00
Nyall Dawson
59d425c5b0
[processing] Fix some incorrect formatting of algorithm titles
2018-05-31 15:27:51 +10:00
Nyall Dawson
612d61dc09
[processing] Tweak algorithHelp formatting
2018-05-31 15:27:34 +10:00
Nyall Dawson
db916bc238
[processing] Show accepted data types for parameters in processing.algorithmHelp
2018-05-31 15:27:34 +10:00
Nyall Dawson
db2c3d4986
[processing] Show search icon in search boxes
2018-05-31 12:51:53 +10:00
Nyall Dawson
879622547c
[processing] Fix bad layout for docks in modeler
...
Because there's some deep underlying issue which causes the dock
layouts to get corrupted in certain circumstances, avoid the
issue entirely by moving construction of the docks out of
the .ui file and instead do it all manually via Python code.
Fixes #16428 , #19068
2018-05-31 12:45:47 +10:00
Nyall Dawson
37b06bcf29
[processing] Fix Rectangles/Ovals/...(variable) chokes on angle values of 0
...
Change the test to a NULL test instead, as angle values of 0 are valid
2018-05-31 08:55:26 +10:00
Nyall Dawson
6bf5274b11
[processing] Fix some missing references warnings
2018-05-30 08:51:30 +10:00
Nyall Dawson
aabbb307fa
[processing] Fix clearing destination doesn't actually reset to temporary output
...
Even though the UI makes it look like it did
2018-05-30 07:45:34 +10:00
Nyall Dawson
ce2f7739e7
[processing] Correct text for temporary folder output
2018-05-30 07:45:34 +10:00
Nyall Dawson
d157b6e661
[processing] Fix destination folder param is not updated after
...
picking from the file dialog alone
2018-05-30 06:12:09 +10:00