1328 Commits

Author SHA1 Message Date
nicogodet
bb3d9ad973 add test 2021-06-15 08:40:17 +02:00
Nyall Dawson
e70cf8da27 Fix zonal statistics does not correctly handle coordinate transforms
Fixes #26858
2021-06-11 06:16:53 +10:00
Andrea Giudiceandrea
7d57aeef22
Add test for GRASS r.proj alg 2021-06-04 16:52:57 +02:00
rldhont
943acfd344 [Processing] Fix getParameterFromString to get Vector Layer data types like Feature Source
In Processing parameter description QgsProcessingParameterVectorLayer multi data types does not work as QgsProcessingParameterFeatureSource.
2021-05-13 06:51:29 +10:00
rldhont
bb5871c8c6 [Processing][Test] QgsProcessingParameterVectorLayer description string - Deactivated tests
QgsProcessingParameterVectorLayer multi data types does not work as QgsProcessingParameterFeatureSource
2021-05-07 08:41:51 +10:00
rldhont
cde42b8bab [Processing][Test] QgsProcessingParameterRasterLayer description string 2021-05-07 08:41:51 +10:00
rldhont
9438291a11 [Processing][Test] QgsProcessingParameterVectorLayer description string 2021-05-07 08:41:51 +10:00
rldhont
873307fa06 [Processing][Test] QgsProcessingParameterFeatureSource description string 2021-05-07 08:41:51 +10:00
rldhont
ed37c049f4 [Processing][Test] QgsProcessingParameterFileDestination description string 2021-05-04 15:01:03 +02:00
rldhont
a30f5fe2d4 [Processing][Test] QgsProcessingParameterFolderDestination description string 2021-05-04 15:01:03 +02:00
rldhont
59ab80bb32 [Processing][Test] QgsProcessingParameterRasterDestination description string 2021-05-04 15:01:03 +02:00
rldhont
13bb8627da [Processing][Test] QgsProcessingParameterVectorDestination description string 2021-05-04 15:01:03 +02:00
rldhont
bb57221f9c [Processing][Test] QgsProcessingParameterFile description string 2021-05-04 15:01:03 +02:00
Nyall Dawson
f093c17ac7 Update python/plugins/processing/tests/ParametersTest.py 2021-05-04 10:09:47 +10:00
rldhont
d8188ec238 fix number 2021-05-04 10:09:47 +10:00
rldhont
6a3fad81ea Tests QgsProcessingParameterExtent 2021-05-04 10:09:47 +10:00
rldhont
8d232b247b Tests QgsProcessingParameterCrs 2021-05-04 10:09:47 +10:00
rldhont
2754f829dd Tests QgsProcessingParameterBoolean 2021-05-04 10:09:47 +10:00
rldhont
08947d7ba0 Fix number 2021-05-04 10:09:47 +10:00
rldhont
44a5c97324 Tests QgsProcessingParameterNumber 2021-05-04 10:09:47 +10:00
rldhont
7b97bd9ad2 fix lint 2021-05-04 10:09:47 +10:00
rldhont
b32a9ea46f [Tests][Processing] Add getParameterFromString tests
The Procesing plugins provide a method to get parameter from string.
The string can be based on the QGIS parameter `asScriptCode` / `fromScriptCode` string definition or
on the QGIS definitions used in description file.
2021-05-04 10:09:47 +10:00
nirvn
410f4d024f Add test, fix issue raised by test 2021-03-31 11:50:23 +07:00
nicogodet
bf9efccff2
Fix GDAL overwrite and some minor fixes (#42447)
Automatically overwrite files in some gdal algorithms, in order to match the behavior of other processing algorithms which automatically overwrite existing files

Fixes #42248
2021-03-25 09:17:41 +10:00
Harrissou Sant-anna
6e20ee86ae
Use correct spelling for qgsProcessingException class
Fix typo
2021-03-16 04:49:35 +01:00
talledodiego
0e6ffc7045
[gdal] rasterize - Include the possibility to use Z of feature to extract burn values 2021-03-03 11:16:13 +10:00
Nyall Dawson
7e5b6dde2f Loosen test precision following Geographiclib area calculation switch 2021-02-27 13:15:22 +10:00
Nyall Dawson
c5dd8714a8 [processing] Fix escaping of srcnodata argument in Build Virtual Raster
alg
2021-02-26 12:02:59 +10:00
Nyall Dawson
33b0dbe761 [processing][gdal] Fix escaping of delimiter parameter in retile
algorithm
2021-02-26 11:50:51 +10:00
Nyall Dawson
ea113cbf4a [processing][gdal] ";" characters must be escaped when running gdal
commands
2021-02-26 11:30:49 +10:00
Nyall Dawson
e11801d34e Require Proj version 6 or later, drop old proj 4 compatibility code 2021-02-23 12:47:04 +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
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
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