5934 Commits

Author SHA1 Message Date
Alessandro Pasotti
4304d8636d Fix precision in test 2020-06-20 04:30:18 +10:00
Alessandro Pasotti
50f66ba3cb Increase tolerance when comparing floats in processing tests 2020-06-20 04:30:18 +10:00
Even Rouault
93bc7c2f04 Raster rendering: enable provider-side resampling when available, and reprojection is done 2020-06-20 04:29:36 +10:00
Nyall Dawson
ef19911f11 [processing][grass] Correctly return the actual generated filename
locations as the algorithm results, don't just echo back the parameter
value

Otherwise we don't return the correct value for temporary file locations
or for file paths during model execution

Fixes #36379
2020-06-12 05:00:49 +10:00
Alexander Bruy
7d58502b3b
Merge pull request #37097 from alexbruy/processing-tests
reduce precision when checking service area test results
2020-06-10 17:09:04 +03:00
Alexander Bruy
de6ec479f0 reduce precision when checking service area test results 2020-06-10 14:44:41 +03:00
Alessandro Pasotti
954ab15276
Merge pull request #37074 from alexbruy/fix-servicearea
fix saving attributes in the service area algorithm
2020-06-10 09:26:59 +02:00
nirvn
5385ae64d4 [processing] Make gdaladdo optional parameters truly optional 2020-06-10 13:13:58 +07:00
Alexander Bruy
18195e2ad0 fix saving attributes in the service area algorithm 2020-06-10 07:44:52 +03:00
nirvn
291ba7f2dc {Qgis,QGis} -> QGIS 2020-06-06 17:45:43 +07:00
Alexander Bruy
9e27f1487c fix menu entry for Split Vector Layer algorithm 2020-06-04 05:36:19 +10:00
Nyall Dawson
48c465e9b5 [processing] Port "Aggregate" algorithm to c++
No more silly breakages!

Refs #36843
2020-06-03 15:17:56 +10:00
Nyall Dawson
d5a340f886 [processing] Port aggregates widget wrapper to c++
And add a TON of tests

Fixes #36843
2020-06-03 15:17:56 +10:00
Nyall Dawson
4fdfa949cf [processing] Start porting Aggregates parameters to C++
Port parameter type to c++
2020-06-03 15:17:56 +10:00
Nyall Dawson
b4c3acd447 Remove unused file 2020-06-02 08:43:54 +10:00
Nyall Dawson
f0bb647c61 [processing] Add a stable way to get processing widgets to stretch vertically 2020-06-02 08:43:54 +10:00
Nyall Dawson
146094f6b2 [processing] Port field mapper wrapper and widget to c++
Fixes #36706
2020-06-02 08:43:54 +10:00
Nyall Dawson
dbe9aa0902 [processing] Port Refactor Fields to c++
Having this core algorithm in Python has proved just too unreliable

Refs #36706, refs #36843
2020-06-02 08:43:54 +10:00
Nyall Dawson
191e362ed4 Move FieldMapper parameter type to c++
Fixes sip "forgeting" about Python overrides for the type definition

Refs #36706
2020-06-02 08:43:54 +10:00
Alexander Bruy
072c76747c fix calculating raster size in the TIN and IDW algorithms to maintain
accurate pixel size (fix #31970)
2020-05-29 11:26:22 +03:00
José de Paula Rodrigues Neto Assis
97e0651555 Be more lenient on accepting SAGA versions
Even though SAGA explicitly does't follow semver conventions, there are
advances, and not all changes on their part break the API. Since the
user is already warned in big letters that versions different from 2.3
are unsupported, in beta status, we've changed the requirement for SAGA
"beta" from 7.3 to everything in version 7.
2020-05-29 03:57:15 +10:00
Alexander Bruy
2a2fe1e095
Merge pull request #36731 from alexbruy/relief-results
check return value from the QgsRelief and notify user about errors (fix #17452)
2020-05-26 15:02:16 +03:00
Nyall Dawson
adeca2f586 [processing] Fix double-evaluation of warp output parameter
Causes an incorrect warning about layer not being generated to appear
after running the algorithm

Fixes #30095
2020-05-26 15:45:40 +10:00
Nyall Dawson
bd8b94aa53 [processing] Avoid showing raw html tags when reporting that layers could not be generated 2020-05-26 15:45:40 +10:00
Alexander Bruy
5d03f2bb99 check return value from the QgsRelief and notify user (fix #17452) 2020-05-26 08:37:13 +03:00
Alexander Bruy
a20fe6f527
Merge pull request #36645 from alexbruy/r-tileset
fix r.tileset Processing GRASS algorithm
2020-05-25 09:04:32 +03:00
Nyall Dawson
97d098884a Fix oriented minimum bounding box calculation is wrong in some cases
Fixes #36632
2020-05-25 13:37:58 +10:00
Alexander Bruy
683f69c6cf add ext module for r.tileset 2020-05-24 20:39:24 +03:00
Alexander Bruy
779bd52a79 add test 2020-05-24 20:39:23 +03:00
Alexander Bruy
e014684b56 [processing] fix r.tileset algorithm 2020-05-24 20:38:28 +03:00
Alexander Bruy
53d70ea357 add tests 2020-05-24 08:52:53 +03:00
Alexander Bruy
263d2a871d [processing] redirect tool standard output to fake Processing output in
some GRASS algorithms (fix #36520)
2020-05-24 08:52:53 +03:00
Alexander Bruy
585db6440f
Merge pull request #36618 from alexbruy/grass-tempfile
[processing] fix handling for stdout and file outputs in GRASS
2020-05-24 08:51:50 +03:00
Nyall Dawson
f676c821d9 Flag SAGA 'Merge Layers' algorithm as having known issues
Fixes #36375
2020-05-22 21:21:42 +10:00
Alexander Bruy
938dc618b1 update algorithms which use "ext" mechanism 2020-05-22 11:13:22 +03:00
Alexander Bruy
b5d323c583 [processing] fix handling for stdout and file outputs in GRASS
algorithms when temporary files are used
2020-05-22 10:30:07 +03:00
Nyall Dawson
5cc0f0964b Fix resetting fields in Refactor Fields algorithm dialog 2020-05-22 07:14:14 +10:00
Nyall Dawson
169ca650fe [processing] Fix exception when changing layer in Refactor Fields algorithm
Fixes #36582
2020-05-22 07:14:14 +10:00
Nyall Dawson
92ebf7bc8d [processing] Fix running script algorithm from editor dialog
We have to keep a local reference to the dialog, otherwise sip suddenly
"forgets" about the python subclass and treats the dialog as just
the parent c++ class. Really weird, thanks sip.

Fixes #36436
2020-05-20 18:21:02 +10:00
Nyall Dawson
c6690c2ee8 Create runtime profiles for various startup/provider initialisation
tasks in processing

Attempting to diagnose occasional very slow QGIS startup times
2020-05-19 04:35:34 +10:00
sshuair
b32d68ef34
fix translate text spell error 2020-05-18 13:55:44 +08:00
Juergen E. Fischer
b1edb5e70c test_defwindowtitle.sh: also check Dialog 2020-05-16 20:55:59 +02:00
Alexander Bruy
3a51f93498 fix tests 2020-05-12 20:32:15 +03:00
Alexander Bruy
23ee945b0a update tests and cleanup help file 2020-05-12 13:48:07 +03:00
Alexander Bruy
8591950349 [processing] port Snap Geometries algorithm to C++ 2020-05-12 13:40:35 +03:00
Alexander Bruy
b4a52d38c2 [processing] port Polygonize algorithm to C++ 2020-05-11 15:19:36 +03:00
Alexander Bruy
c0e8178366 [processing] port SpatiaLite Execute SQL algorithm to C++ 2020-05-11 13:11:28 +03:00
Alexander Bruy
e91b6c615e [processing] port PostGIS Execute SQL algorithm to C++ 2020-05-11 12:35:05 +03:00
Alexander Bruy
072d27dfd8 [processing] port Split vector layer algorithm to C++ 2020-05-11 12:17:50 +03:00
Nyall Dawson
e76013e9cd Fix F523 flake issues 2020-05-12 14:24:40 +10:00