Nyall Dawson
af0fb8bb87
[processing] Fix GDAL algorithms hang when gdal command is not available to run
2021-02-21 15:04:31 +10:00
Evan Derickson
0a3b7d36f8
Make argument setting consistent
2021-02-20 12:26:00 +10:00
Evan Derickson
5302feb2dd
Add line break for consistency
2021-02-20 12:26:00 +10:00
Evan Derickson
f87386aa0a
Making formatting consistent
2021-02-20 12:26:00 +10:00
Evan Derickson
f3a60ebfe7
Simplify other_fields checker
2021-02-20 12:26:00 +10:00
Evan Derickson
6d5bf2b5c4
Revert f-string conversion
2021-02-20 12:26:00 +10:00
Evan Derickson
a366d5b26c
Refactor climb.py
2021-02-20 12:26:00 +10:00
Evan Derickson
26ad7c6a46
Simplify other_field checker
2021-02-20 12:26:00 +10:00
Evan Derickson
97880d74d5
Simplify other_fields detection
2021-02-20 12:26:00 +10:00
Evan Derickson
ef6799fad4
More append thinning
...
Along with some other loop optimizations
2021-02-20 12:26:00 +10:00
Evan Derickson
0e63799012
Reduce appends
2021-02-20 12:26:00 +10:00
Evan Derickson
dcde81fb1b
Thin out unneeded function calls
2021-02-20 12:26:00 +10:00
Jean-François Bourdon
64d921fe53
Reformat elapsed time in processing to express time in hours, minutes and seconds ( #41573 )
...
When appropriate, express the elapsed time in hours, minutes and seconds in addition to cumulative seconds.
2021-02-20 06:35:16 +10:00
Nyall Dawson
c8d61499ff
[processing] Instead of a hidden parameter for verbose model logging,
...
add an explicit log level getter/setter to QgsProcessingContext which
algorithms can use to determine an appropriate level of feedback
to push to users.
Initially the verbose log only triggers the full verbose output
of model executions (which is also used when running models through
the model designer), but the intention is that more algorithms
will fine tune their output based on the logging level.
qgis_process also gains a new --verbose switch to enable verbose
log output.
2021-02-20 05:04:00 +10:00
Giovanni Manghi
92a4899210
fix GRASS v_net_visibility module ( #41515 )
...
Fixes #41030
2021-02-16 08:54:36 +10:00
Luigi Pirelli
2f7d6defee
Added sanity check of links between graphicitems showing error in dialog. Fixes #40724 #39260
2021-02-11 11:47:28 +10:00
Nyall Dawson
b4025442e8
[processing] Automatically load the native and 3d providers
...
when a script calls Processing.initialize() if they are not
already loaded
This means the following ugly code can be avoided:
Processing.initialize()
QgsApplication.processingRegistry().addProvider(QgsNativeAlgorithms(QgsApplication.processingRegistry()))
QgsApplication.processingRegistry().addProvider(Qgs3DAlgorithms(QgsApplication.processingRegistry()))
and instead the call to Processing.initialize() is sufficient to load
ALL providers
Fixes #41310
2021-02-09 20:13:01 +10:00
Nyall Dawson
645397e83d
Fix restoring previous GDAL alg raster creation options when running an algorithm from processing history
2021-02-09 15:14:44 +10:00
Nyall Dawson
c7a25c6275
Split grass raster tests into two blocks
2021-02-09 09:31:44 +10:00
Nyall Dawson
2bc9f98bdd
Another SAGA hash
2021-02-08 13:23:41 +10:00
Nyall Dawson
36a07f795a
SAGA test hash
2021-02-08 13:23:41 +10:00
Nyall Dawson
2aacc6def0
Saga tolerance
2021-02-08 13:23:41 +10:00
Nyall Dawson
4005768f5b
Check in mask files
2021-02-08 13:23:41 +10:00
Nyall Dawson
63bc64d1fa
SAGA test tolerance
2021-02-08 13:23:41 +10:00
Nyall Dawson
6f8833d070
More saga test tolerance
2021-02-08 13:23:40 +10:00
Nyall Dawson
32df2d7966
SAGA silliness
2021-02-08 13:23:40 +10:00
Nyall Dawson
6c0fbe822e
More tolerance in SAGA tests
2021-02-08 13:23:40 +10:00
Nyall Dawson
22fc50f6bf
Disable r.rescale test -- cause intermitten segfaults in GRASS on CI (not our fault)
2021-02-08 13:23:40 +10:00
Nyall Dawson
7e691b561e
Disable the i.pansharpen test -- GRASS on CI raises a python exception when running this tool (not our fault)
2021-02-08 13:23:40 +10:00
Nyall Dawson
39acbf86c7
More SAGA test nonsense
2021-02-08 13:23:40 +10:00
Nyall Dawson
bbe2ffeeef
Disable some SAGA tests, make others more tolerant
...
Life is too short to deal with SAGA
2021-02-08 13:23:40 +10:00
Nyall Dawson
deea4fbe58
Update grass tests
2021-02-08 13:23:40 +10:00
Nyall Dawson
3f2dc1504f
On newer GRASS versions i.eb.hsebal01 requires a raster layer for vapourpressureactual, not a numeric value
2021-02-08 13:23:40 +10:00
Nyall Dawson
1629a576dc
Add grass raster hashes
2021-02-08 13:23:40 +10:00
Nyall Dawson
1be431d93e
v.rast.stats refuses to create shapefiles in newer grass versions, so use a different format
2021-02-08 13:23:40 +10:00
Nyall Dawson
404d2bc563
Add a reference hash
2021-02-08 13:23:40 +10:00
Nyall Dawson
0573a8dba6
Fix crs of reference dataset
2021-02-08 13:23:40 +10:00
Nyall Dawson
43b5f00267
Trust GDAL gives correct results given that we are confident we are creating the correct command line string
2021-02-08 13:23:40 +10:00
Nyall Dawson
1e82802d41
Fix SHAPE_ENCODING argument should not always get escaped
2021-02-08 13:23:40 +10:00
Nyall Dawson
61c1efe954
Add reference prj file for proj 6+
2021-02-08 13:23:40 +10:00
Nyall Dawson
d4f2b842ba
Allow for multiple reference text files
2021-02-08 13:23:40 +10:00
Nyall Dawson
0db5fabd05
Fix comparison of GDAL crs arguments to expected on proj 6+
2021-02-08 13:23:40 +10:00
Nyall Dawson
988ad72926
Quotes also need to be escaped in gdal argument values
2021-02-08 13:23:40 +10:00
Nyall Dawson
fdb53fe0bf
Add a test hash
2021-02-08 13:23:40 +10:00
Nyall Dawson
735c62d93b
No need to compare result from GDAL contour alg -- we already have lots of tests covering the creation
...
of the matching GDAL command, and we can trust that GDAL will generate contours correctly
Avoids fragility in the test when underlying GDAL contour algorithm/logic changes
2021-02-08 13:23:40 +10:00
Nyall Dawson
25886c30de
A bit of repairs to vector tiles algorithm test
2021-02-08 13:23:39 +10:00
Nyall Dawson
465fe14ea8
More tolerance in some tests
2021-02-08 13:23:39 +10:00
Nyall Dawson
c9ca4febfe
Add secondary reference layer for tapered buffer alg
2021-02-08 13:23:39 +10:00
Nyall Dawson
3b57b53851
Fix passing geometry compare options to checkLayersEqual
2021-02-08 13:23:39 +10:00
Nyall Dawson
5ad24de4cc
Temporarily disable the Find Projection test, which is very slow to run on proj 6+ builds
2021-02-08 13:23:39 +10:00