8307 Commits

Author SHA1 Message Date
nicogodet
f6e20c3e0b fix tiny mistakes 2021-10-07 08:31:54 +10:00
Augustin Trancart
061b810dac Fix behaviour of triggers when logging an existing layer
When adding logging via db manager to an existing layer, all the
time_start of existing features are still null. When we modify one
feature for the first time, the update trigger fires and insert a row
for the past state of the feature. In turn, this fires the INSERT
trigger for this row, and the execution goes inside the `if
NEW.time_start is NULL`, which set the end timestamp to NULL, making the
old row still visible in the _current view.

In other word, the insert trigger makes the assumption that a null start
timestamp means now, which is not true in the case described above.

This commit fixes this assumption by initially setting it to `-infinity`
for existing rows.
2021-10-06 12:00:39 +10:00
PeterPetrik
0150ab8708 fix #41870 force UTF-8 encoding for prj files 2021-10-06 06:10:30 +10:00
Mario Locati
1abf47f73f Fixed the endpoint URL 2021-10-05 10:50:42 +10:00
Mario Locati
708a89e345 Addition of the INGV endpoint 2021-10-05 10:50:42 +10:00
Alessandro Pasotti
5a572dacaa Fix DB manager postgis double query
Fixes #45318
2021-10-02 07:18:18 +10:00
Loïc Bartoletti
98ff01ea1c
Fix Z/M dimension URI via DB Manager. Fixes #34894 (#45223) 2021-09-28 21:14:45 +02:00
Antoine
030bfd96b5 change the var with another 2021-09-27 16:13:20 +10:00
Alexander Bruy
1e2bb8e053 fix tests 2021-09-24 08:24:31 +10:00
BergWerkGIS
82b2f2745c add tests 2021-09-24 08:24:31 +10:00
BergWerkGIS
fd3143ce23 add expected fixtures 2021-09-24 08:24:31 +10:00
BergWerkGIS
6c45715345 add cost columns to test network 2021-09-24 08:24:31 +10:00
BergWerkGIS
38ac086670 mark 'method' parameter as optional 2021-09-24 08:24:31 +10:00
BergWerkGIS
b55db15f85 Processing: v.net.alloc add 'method' parameter 2021-09-24 08:24:31 +10:00
Joonalai
b61fe2734e Remove redundant progress text 2021-09-20 16:47:15 +10:00
Joonalai
60b74efdc1 [processing] log the start time (fix #44292) 2021-09-20 16:47:15 +10:00
Nyall Dawson
c2c0f2574d [processing] Add parameter type for annotation layers 2021-09-11 07:59:51 +10:00
Andrea Giudiceandrea
1b1e80de86 Fix test for gdal_merge with nodata value 2021-09-11 06:15:47 +10:00
Andrea Giudiceandrea
44744e2679 [processing] Fix NODATA parameters in GDAL Merge alg
Set NODATA_INPUT and NODATA_OUTPUT as QgsProcessingParameterNumber.Double parameters, instead of QgsProcessingParameterNumber.Integer
2021-09-11 06:15:47 +10:00
Alexander Bruy
3a082f5738 tests for r.path algorithms 2021-09-08 07:26:15 +10:00
Giovanni Manghi
e3a159f102 make parameters mandatory 2021-09-08 07:26:15 +10:00
Giovanni Manghi
91b1d2e98e split tool 2021-09-08 07:26:15 +10:00
Giovanni Manghi
dfc2d7408b add GRASS r.path 2021-09-08 07:26:15 +10:00
Mathieu Pellerin
4d2c24e850 [processing] Adjust st-dbscan algorithm to new duration parameter, change default unit to hours 2021-09-06 16:57:36 +10:00
pathmapper
54e7e33d12 Translate also ":"
for languages which don't use a ":" character
2021-09-06 16:25:13 +10:00
pathmapper
c8e814a995 Don't include HTML tags for translations 2021-09-06 16:25:13 +10:00
pathmapper
5c4ab41886 Add missing information to HTML preview
and use same wording as in qgsprocessingutils
2021-09-06 16:25:13 +10:00
pathmapper
39b6d035bd Add only parameters with description and headers with parameters 2021-09-06 16:25:13 +10:00
pathmapper
4659870d5f Remove algorithm description header 2021-09-06 16:25:13 +10:00
pathmapper
dcef058ac1 Don't add ouputs to input parameters 2021-09-06 16:25:13 +10:00
nirvn
75c8eb7798 Add T test 2021-08-31 14:31:12 +07:00
Alexander Bruy
cfc72ca5f9 handle new point cloud parameter in description files (follow up
f801cb6816)
2021-08-23 09:18:35 +10:00
Nyall Dawson
cf40573d2c [feature][processing] Add new "Select within distance" and
"Extract within distance" algorithms

These algorithms allow users to select or extract features from one
layer which are within a certain distance of features from another
reference layer.

The distance checking is heavily optimised, using spatial indices
to restrict the number of features retrieved, and also automatically
handing the check off to the database server for postgis layers.

The distance parameter can also be data-defined.

Sponsored by QTIBIA Engineering
2021-08-06 17:37:09 +10:00
Juergen E. Fischer
2f3e32a5ba fix msvc build 2021-08-05 23:24:11 +02:00
alitka
2b04a0801c updated connections-default.xml
line 18 - added the German spatial data catalogue (GDI-DE Geodatenkatalog.de) of the Spatial Data Infrastructure Germany (GDI-DE) to the list of the default connections
2021-08-06 07:15:58 +10:00
Nyall Dawson
4f56a42275 Fix processing algs 2021-08-04 09:54:32 +10:00
Nyall Dawson
bcf964aac5 [processing] Fix evaluation of empty file names for file parameters
in test suite
2021-08-02 12:17:59 +10:00
Loïc Bartoletti
72a0c41ea3 add tests 2021-07-28 09:13:46 +10:00
nirvn
6b993f6b98 [FEATURE][processing] Brand new duration parameter 2021-07-27 13:46:09 +07:00
nirvn
f68ef8fb60 [feature][processing] A brand new spatiotemporal ST-DBSCAN clustering algorithm 2021-07-26 10:30:14 +10:00
Alessandro Pasotti
387c403c2f First nail in the coffin of DB Manager
Replace DB Manager legend custom menu action with
C++ implementation for SQL layer
2021-07-22 10:18:13 +10:00
Alexander Bruy
9098f2c6f9 warn when adding model with the same name as the existing one (fix #42184)
confirm model overwrite if model file has the same name as the existing
one
2021-07-21 20:47:57 +10:00
nirvn
19eaec7436 [processing] Clear python command in history dialog when selecting a non-algorithm item (i.e. folder) 2021-06-28 00:15:40 -07:00
nirvn
a777ba8a26 [ui][processing] Fix broken enter key showing help instead of running algorithm in history dialog 2021-06-28 00:15:40 -07:00
nicogodet
681ff42938 exit fillTree() if no log entries 2021-06-28 06:44:31 +10:00
Andrea Giudiceandrea
f55b5b9e6f Fix UnicodeDecodeError in Processing history 2021-06-24 07:53:51 +10:00
nicogodet
908e38a20a typo 2021-06-24 04:36:26 +10:00
Alexander Bruy
8541162003 restore moved test data 2021-06-21 07:17:42 +03:00
Alexander Bruy
fba25dce83 tests for SAGA provider 2021-06-21 07:17:36 +03:00
Alexander Bruy
a0945cfdfe tests for GRASS provider 2021-06-21 07:17:36 +03:00