8476 Commits

Author SHA1 Message Date
Kanahiro
e3a89bf794 lint 2022-08-14 00:29:29 +09:00
Kanahiro
3690e65048 specify Error in try-except 2022-08-14 00:27:05 +09:00
Kanahiro
4a2a5b2904 Merge branch 'fix/grass7-unicodeerror' of github.com:Kanahiro/QGIS into fix/grass7-unicodeerror 2022-08-14 00:26:16 +09:00
Kanahiro
d442230bd0 wrap stdout decode in saga, improve docstr 2022-08-14 00:25:38 +09:00
Loïc Bartoletti
3908efb4ba
Use expect UnicodeDecodeError
Avoid too broad exception

Co-authored-by: nicogodet <39594821+nicogodet@users.noreply.github.com>
2022-07-20 07:38:53 +02:00
Kanahiro
b417842d38 change replace char to empty 2022-07-20 13:03:57 +09:00
Kanahiro
563767971e lint 2022-07-03 14:29:15 +09:00
Kanahiro
a632932b09 wrap decode stdout with try-except 2022-07-03 14:17:55 +09:00
Kanahiro
2b2f0eb642 wrap decode stdout with try-except 2022-07-03 13:59:25 +09:00
Thomas Stocker
a3a34e0de0
Enable Journal Wal, increase Timeout use only sqlite transaction (#49090)
Fixes Multithreading issues with Mbtile Creation on slow disks and or Machines with a lot of threads.

Fixes #47738
2022-06-22 09:50:56 +10:00
Andrea Giudiceandrea
2c807f918b Add tests for native:setzfromraster with offset 2022-06-18 05:44:28 +10:00
Nyall Dawson
c1dbc90d30 [db manager] Don't load preview layers into project
Fixes #47159
2022-06-16 13:54:55 +10:00
Sandro Santilli
8c18fa28b6 Drop gpkg_metadata_reference_column_name_update trigger generated by GDAL < 2.4.0
Presence of this trigger results in QGIS dropping it whenever the file
is opened in read-write mode (as it happens with vector layer is
created from it)

See https://github.com/qgis/QGIS/issues/48937#issuecomment-1152726973
2022-06-11 01:35:14 +02:00
Tom Kralidis
ff036a2e6f MetaSearch: update OARec record model links 2022-05-30 09:22:00 +10:00
Nyall Dawson
8feb106fd5 Fix processing gui test on newer python versions 2022-05-24 13:21:34 +10:00
Alexander Bruy
0434469dd0 fill in inputs in the Processing batch dialog starting from the first
empty row (fix #43869)
2022-05-19 14:48:13 +10:00
Alexander Bruy
5958b6b06f correctly restore state of the Processing settings when search text is
cleared (fix #34543)
2022-05-19 13:12:57 +10:00
Jan Caha
061a96a9e7 fix missing bracket 2022-05-07 06:53:08 +10:00
Jan Caha
ab16477158 fix line break 2022-05-07 06:53:08 +10:00
Jan Caha
46dd681fd5 fix widget data reading - i.e. from History 2022-05-07 06:53:08 +10:00
Andrea Giudiceandrea
1eda8b21ae
[MetaSearch] Fix error navigating the search results (#48298)
Fix the "Search error: list object has no attribute 'toXML'" that occurs navigating the search results after the second time the navigation buttons are pressed
2022-05-05 07:36:38 -04:00
Andrea Giudiceandrea
29b40e48da
[MetaSearch] fix CSW search when user/passwords are empty (Fix #48201) (#48288)
* [MetaSearch] fix CSW search when user/passwords are empty

* [MetaSearch] avoid to send username/passwords if empty
2022-05-05 06:37:21 -04:00
Alexander Bruy
7743cf4641 fix tests 2022-05-02 15:55:01 +10:00
Alexander Bruy
34a20f8b2d add tests 2022-05-02 15:55:01 +10:00
Juergen E. Fischer
4fb5e0a11d processing: fix scripts directory reset on windows 2022-04-11 09:50:16 +10:00
Even Rouault
34f057261d
Merge pull request #47724 from tomkralidis/metasearch-offset
MetaSearch: update startindex to items
2022-04-08 14:27:26 +02:00
Germán Carrillo
94d5eec6d7 Insert processing results at the top of the optional results group (followup #37595) 2022-04-04 09:49:10 +10:00
Nyall Dawson
497e46bc32 Don't try to store child inputs for model executions in history register 2022-03-31 06:32:33 +10:00
Nyall Dawson
b752d56186 Remove some unused methods 2022-03-30 15:41:23 +10:00
Nyall Dawson
dd89f3779a [processing] Always use the same method to launder names
Ultimately avoids forced removal of _ characters in model
parameter names
2022-03-30 15:41:23 +10:00
Germán Carrillo
20dfa3c038 UI: Make sure users cannot enter values that are lower than the minimum value allowed in 'points displacement' algorithm 2022-03-29 06:22:14 +10:00
Tom Kralidis
3d508284e7
Update search_backend.py 2022-03-24 04:03:46 -04:00
Nyall Dawson
07ee0bb7e4 Fix some tests on newer GEOS 2022-03-17 18:12:27 +10:00
Nyall Dawson
290154744b [feature][processing] Add "Keep disjoint features separate" option
for dissolve algorithm

If enabled, this option will cause disjoint features and parts to
be exported as separate features (instead of as parts of a
single multipart feature).
2022-03-17 18:12:27 +10:00
Nyall Dawson
092279e90d [feature] Run batch processing steps in tasks
Instead of forcing all steps in the batch processing dialog to execute
in the main thread, we now run each step as a separate task whenever
possible. This keeps the UI nice and responsive, and permits
responsive cancelation and progress reporting.

Individual steps are still run sequentially, not in parallel (yet!)
2022-03-15 11:44:08 +10:00
Nyall Dawson
5dd473d682 Move batch feedback subclass to c++ 2022-03-15 11:44:08 +10:00
webmaster
b420a23acd [processing] Fix erroneous call to secsTo when it should be msecsTo
(fixes #47727)
2022-03-11 10:27:11 +01:00
Tom Kralidis
e8aab87a2a set zero-based offset for OARec 2022-03-10 19:21:47 -05:00
Tom Kralidis
c48f2b8e9d MetaSearch: update startindex to items 2022-03-10 13:27:18 -05:00
Germán Carrillo
ec23963359 Add tests for join attributes table with name conflicts (fix for #47650) 2022-03-09 11:07:01 +10:00
Nyall Dawson
385c67aaa7 Revert "processing: fix scripts folder reset on windows"
This reverts commit efea53f51227189275df4067b4fc05bb781e8158.
2022-03-07 08:33:06 +10:00
Juergen E. Fischer
efea53f512 processing: fix scripts folder reset on windows 2022-03-05 19:42:48 +01:00
Nyall Dawson
5df4882380 Fix exception when editing outputs in models 2022-02-28 19:57:15 +10:00
Nyall Dawson
d62d0b82e3 Port model help editor dialog to c++ 2022-02-28 17:33:49 +10:00
Nyall Dawson
fffc3a768b Don't show 'model was correctly saved' notification when saving models
We don't do this elsewhere (e.g. saving QGIS projects), and it makes
it sound like it's suprising that the save worked correctly..!
2022-02-28 17:33:36 +10:00
Nyall Dawson
817895d6d3 [processing] When an input parameter is renamed in the model designer,
also update the internal name of that parameter and all child algorithms
in the model accordingly

Before we just "faked" this by changing the parameter's description
only, but that meant that the old name was permenantly stuck and
had to be used in qgis_process or when calling the model via
python.
2022-02-28 17:33:19 +10:00
Tom Kralidis
15a2030e80 make exception finer grained 2022-02-28 11:41:39 +10:00
Tom Kralidis
0f98e3c5cf [MetaSearch] safeguard OWSLib version handling (#47360) 2022-02-28 11:41:39 +10:00
Sandro Santilli
51da2ef551 Trust primary key of layers setup by DBManager TopoViewer plugin
Removes two very expensive queries per TopoViewer instance
Closes #47389
2022-02-16 16:35:37 +01:00
Nyall Dawson
ef85926a5d Correctly raise exceptions from XYZ tiles algorithm threads, and fix Python 3.10 compatibility 2022-02-14 16:20:55 +10:00