3269 Commits

Author SHA1 Message Date
Sylvain POULAIN
78cea71e00 Missing options for r.neighbors in processing
All options added : https://grass.osgeo.org/grass78/manuals/r.neighbors.html
2020-08-05 06:28:12 +10:00
Andrea Giudiceandrea
ef11ad32b1 Don't load GRASS algs if GRASS is not installed
Fixes qgis_process that incorrectly lists GRASS algorithms among the available processing algs even when GRASS is not installed in the system
2020-08-04 14:51:34 +10:00
rldhont
6c44073ff0 [Processing] Fix GDAL Assign Projection: update QgsRasterLayer crs
Even if the projection is assign, the QgsRasterLayer and the QgsRasterDataProvider was not updated.

The fix reloads the QgsRasterDataProvider's data and updates the QgsRasterLayer's crs.

Fixed #37920
2020-07-31 14:32:48 +02:00
Nyall Dawson
fd19167c0a [processing] Show some more warnings when spatial indexes are missing but desirable 2020-07-31 03:07:07 +10:00
Nyall Dawson
68c7cfb65f Use correct coordinate transform context in Raster Calculator algorithm 2020-07-30 08:26:40 +10:00
Nyall Dawson
0a556a8161 Gracefully handle no project available in context in algorithms
where a project is only required in some circumstances
2020-07-30 08:26:40 +10:00
Nyall Dawson
d57a638ec4 Add a processing algorithm flag to indicate that an algorithm requires
a valid project to be set in the context in order to execute

And flag a bunch of algorithms which require this
2020-07-30 08:26:40 +10:00
Nyall Dawson
687398415b [processing] Flag a bunch of algorithms to hide them from qgis_process 2020-07-30 08:26:40 +10:00
Nyall Dawson
b40bfbbf4c Use direct getters for ellipsoid/units in processing algs
Refs #37988
2020-07-30 08:26:40 +10:00
Nyall Dawson
19504adf55 Allow running "Add x/y fields" in place 2020-07-28 14:18:20 +10:00
Peter Petrik
d9f18ccb9c
Fix spelling (#37849)
fix the spelling errors
2020-07-21 12:51:48 +02: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
nirvn
5385ae64d4 [processing] Make gdaladdo optional parameters truly optional 2020-06-10 13:13:58 +07:00
nirvn
291ba7f2dc {Qgis,QGis} -> QGIS 2020-06-06 17:45:43 +07: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
Alexander Bruy
5d03f2bb99 check return value from the QgsRelief and notify user (fix #17452) 2020-05-26 08:37:13 +03:00
Alexander Bruy
683f69c6cf add ext module for r.tileset 2020-05-24 20:39:24 +03:00
Alexander Bruy
e014684b56 [processing] fix r.tileset algorithm 2020-05-24 20:38:28 +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
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
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
Nyall Dawson
b6a7a10703 Fix some more python formatting issues, remove more flake exceptions 2020-05-11 11:41:50 +10:00
Alexander Bruy
30219ecd65 [processing] fix file filter for i.landsat.toar (fix #36290) 2020-05-09 13:33:17 +03:00
Alexander Bruy
4d5a8a391c [processing] rename Graphics group to Plots as this better reflects
purpose of the algorithms inside it (fix #33310)
2020-05-07 03:31:22 +10:00
Matthias Kuhn
841328e0a7 Remove unused code 2020-05-06 00:06:23 +02:00
Matthias Kuhn
a5f557f085 Fix escaping issues 2020-05-05 23:22:12 +02:00