8296 Commits

Author SHA1 Message Date
Giovanni Manghi
ffff5e1899 Fix the Profile From Lines SAGA tool 2021-02-02 06:51:04 +10:00
Morten Sickel
ead85b1004
Make the db managers import function more robust towards (some types of) invalid layers.
Fix #41152
2021-01-27 18:17:17 +10:00
Alessandro Pasotti
f4c21f5c9d
Merge pull request #41161 from elpaso/bugfix-gh41109-followup
Followup #41109: fix algorithms
2021-01-26 16:36:49 +01:00
Alessandro Pasotti
6e9389c4b2 Fix test result (because NULL is a distinct value like in PG SQL) 2021-01-26 13:17:17 +01:00
Alessandro Pasotti
9d18fe14f7 Fix basicstatisticsforfields tests 2021-01-26 09:58:53 +01:00
Evan Derickson
d79100a204 List comprehension formatting 2021-01-24 16:34:35 -08:00
Evan Derickson
fe184e8e71 Formatting list comprehension 2021-01-24 16:34:03 -08:00
Evan Derickson
63e77371f6 List comprehensions to generators 2021-01-24 16:26:53 -08:00
Evan Derickson
8cd0f92139 Undo removal of else 2021-01-24 16:09:53 -08:00
Evan Derickson
beefb9ed45 Replace str format with str cast 2021-01-23 20:09:01 -08:00
Evan Derickson
4e41ee6db2 More list comprehensions, str.join() 2021-01-23 20:06:27 -08:00
Evan Derickson
4b50c1a7a7 For loops to list comprehension 2021-01-23 16:06:29 -08:00
Andrea Giudiceandrea
95f25cc079 [MetaSearch] Update UK and UNEP GRID CSW servers
The new CSW servers substitute the unavailable or unreliable and soon to be deactivated old ones.
2021-01-20 09:29:40 +10:00
Nyall Dawson
10789b12fc Fix comparison sort order for points to path test 2021-01-20 09:08:35 +10:00
uclaros
9a2e9001a2 Fix failing test
Output feature order cannot be made backwards compatible so we're forced to modify the test to pass.
2021-01-19 05:09:48 +10:00
uclaros
43e673a143 Complete points to paths port 2021-01-19 05:09:48 +10:00
Nyall Dawson
814b65ba1c Cleaner approach -- create expression contexts in modeler parameter
definition dialogs using expression context and processing context
generators
2021-01-14 16:15:06 +10:00
nirvn
8a85cae92c [processing] Add 'thiessen' tag to QGIS' voronoi polygons algorithm 2021-01-13 15:42:06 +10:00
Julien Cabieces
579d55f286
[OTB] Fixes empty string parameters (#40957) 2021-01-13 11:16:18 +10:00
Nyall Dawson
3feda231b8 Update comment 2021-01-12 13:47:19 +10:00
Nyall Dawson
9cf44e4a66 Loosen grass test crs requirement to allow passing on proj < 6 2021-01-12 13:47:19 +10:00
Nyall Dawson
b295bd5803 [processing][grass] Export CRS definitions as WKT2 strings instead
of proj strings wherever possible

Because proj strings are lossy

Fixes #18596
2021-01-12 13:47:19 +10:00
Nyall Dawson
c703d81c9c [processing] Fix exception after running algorithm in modeler
Fixes #40907
2021-01-12 13:38:01 +10:00
Nyall Dawson
9ee5e5646a Update tests 2021-01-09 07:16:14 +10:00
Nyall Dawson
716e74c74a [processing] Use correct means to escape " values in GDAL commands 2021-01-09 07:16:14 +10:00
Nyall Dawson
b14dc49c85 [processing] Catch the gdal process console progress report output
and show algorithm progress bars when running GDAL algorithms
2021-01-09 07:16:14 +10:00
Nyall Dawson
54ec5acf1f [processing] GDAL algorithms can now be canceled!
Previously there was no way to terminate the GDAL process, so if you
accidently got some parameter values wrong it was very easy to end
up with a quasi-endless, non-cancelable gdal algorithm burning away cpu in the
background of a qgis session... ouch!
2021-01-09 07:16:14 +10:00
Nyall Dawson
50b5e563af [processing] Use QgsBlockingProcess instead of subprocess to run GDAL algorithms
This gives us much more flexibility when running the process, as we can
now do things like report feedback messages directly without having
to resort to potentially unsafe event loops regardless of whether the
algorithm is run in the main or a background thread.
2021-01-09 07:16:14 +10:00
Nyall Dawson
e79922b2cc [processing] Return log lines from GdalUtils.runGdal instead of storing
in a class member

The previous approach was NOT thread safe, and it's easy to avoid
2021-01-09 07:16:14 +10:00
Nyall Dawson
02f861c339 [processing] Translate some strings when running gdal algorithms 2021-01-09 07:16:14 +10:00
Andrea Giudiceandrea
4f786ae5a7 [MetaSearch] Reset rubber band when treeRecords selection is changed 2021-01-06 08:36:29 +10:00
Andrea Giudiceandrea
fd9b246ac5 [MetaSearch] Also disable buttons after inspecting CSW in server tab
in order to fix "AttributeError: 'CatalogueServiceWeb' object has no attribute 'records'" python error
2021-01-06 08:36:29 +10:00
Andrea Giudiceandrea
1559908c73 [MetaSearch] Fix navigation through the results pages 2021-01-06 08:00:04 +10:00
Julien Cabieces
5c19845d32 Keep only vector layer file path when calling an OTB algorithm 2021-01-06 07:58:17 +10:00
Julien Cabieces
454c4f6eba Fix otbalgorithm when several band are selected 2021-01-06 07:58:17 +10:00
Julien Cabieces
52f2a4d7bc Fix QGIS/OTB interface for field parameters 2021-01-06 07:58:17 +10:00
Julien Cabieces
bb3e1a554c [processing][OTB] deal with parameter type Enum and Band 2021-01-06 07:58:17 +10:00
roya0045
d11d28ca3e re-commit variable changes 2021-01-05 18:24:06 +10:00
roya0045
5920ded609 invert logic 2021-01-05 18:24:06 +10:00
roya0045
d45b6144e4 add skip kwarg 2021-01-05 18:24:06 +10:00
Alex
b3794cef32 Don't save defaults 2021-01-05 18:24:06 +10:00
Nyall Dawson
b740bf201a [processing] Fix exception when calling "Select from Files" in batch mode
on a file parameter

Fixes #40705
2021-01-05 08:32:10 +10:00
Tom Kralidis
65a134ca47 MetaSearch: update bbox CRS 2020-12-30 08:25:51 +10:00
Alex
b686336513
[bugfix] PTP check for output folder. (#40488)
Fixes #40486
2020-12-22 13:47:03 +10:00
Alessandro Pasotti
3a2b8f889a Optimize column information 2020-12-21 11:36:47 +01:00
Julien Cabieces
c66d36c16f [processing][OTB] Don't remove parameter if its value is 0 2020-12-07 10:08:02 +10:00
Alex
50696f9936
[processing] fix exception when clicking help button in modeler
Fixes #40453
2020-12-07 09:26:17 +10:00
dhdeangelis
cc0f186b09 updated Swedish national catalogue 2020-12-07 09:09:06 +10:00
Matthias Kuhn
bcbf71ea2f
Merge pull request #39947 from m-kuhn/db_mgr_error
[db manager] Show error messages directly in place
2020-11-29 20:33:43 +01:00
Alexander Bruy
7c1d29c363 override default value only when tool executed from GUI 2020-11-27 16:45:59 +02:00