Matthias Kuhn
9602e0faad
Fix imports
2020-05-05 23:36:06 +02:00
Matthias Kuhn
a5f557f085
Fix escaping issues
2020-05-05 23:22:12 +02:00
Matthias Kuhn
f39a5b62fe
Fix code issues
2020-05-05 22:39:53 +02:00
Matthias Kuhn
0457875f00
noqa
2020-05-05 22:39:40 +02:00
Matthias Kuhn
9eae0caa09
Add missing imports
2020-05-05 22:39:16 +02:00
Matthias Kuhn
a7e0831dcf
Code style
2020-05-05 22:38:37 +02:00
Germap
5623229f8c
[processing] Set distanceArea CRS properly in SumLineLengths algorithm
...
Fix #36135
2020-05-04 06:26:56 +10:00
Germán Carrillo
a6db48151b
Missing dockwidget object name (useful for addTabifiedDockWidget)
2020-05-03 15:34:46 +10:00
Alexander Bruy
5d7871fa0c
fix tests
2020-04-30 18:52:35 +03:00
Alexander Bruy
9a53837946
add new parameter and hide old one
2020-04-30 07:46:05 +03:00
Nyall Dawson
69e841a256
Allow specifying hidden parameter values when setting initial parameter values for an algorithm dialog
2020-04-29 17:10:52 +10:00
Nyall Dawson
e89b7283fe
Fix exception when editing certain model algorithms
...
Fixes #36036
2020-04-28 19:21:24 +10:00
Nyall Dawson
40db7f9efd
[processing] Fix subset string is ignored for vector layers when
...
running GDAL algorithms
If a subset string is set, we must export the subset of the layer
for use by the GDAL command*
Fixes #35981
* well, we probably **should** just build the gdal command to include
the SQL definition of the subset filter, but that's non-trivial, so
this fix is a good simple solution for now
2020-04-28 19:21:00 +10:00
Matthias Kuhn
d62c982b6f
Merge pull request #35983 from espinafre/dbmanager_pgsql_constraint_trigger
...
Handle CONSTRAINT TRIGGER on DB Manager/PostgreSQL.
2020-04-27 08:01:22 +02:00
uclaros
f2353ec934
Make progress count from 0 to 100
2020-04-27 13:41:58 +10:00
José de Paula Rodrigues Neto Assis
304a3d9509
Comment clarifying query against pg_catalog
2020-04-26 15:02:43 -03:00
Juergen E. Fischer
2e7bebcf20
add code_layout test to verify that UIs either have a non-default window title or are not marked for translation
2020-04-24 16:30:45 +02:00
Juergen E. Fischer
067e9254e7
translation string fixes
2020-04-24 16:30:45 +02:00
José de Paula Rodrigues Neto Assis
689bcc6020
Handle CONSTRAINT TRIGGER on DB Manager/PostgreSQL.
...
Fixes #35967
2020-04-24 11:27:43 -03:00
Long Huan
f3c8a27743
Update CMakeLists.txt
2020-04-24 14:46:06 +10:00
Long Huan
70eccf30ac
SET CMAKE_AUTORCC ON
2020-04-24 14:46:06 +10:00
Nyall Dawson
5b6589f6dc
Cleanup QgsCoordinateReferenceSystem WKT enum
...
- alias WKT_2018* to new WKT_2019* values, since the spec is actually
2019, not 2018
- add WKT_PREFERRED value which currently aliases to WKT2_2019, but
can be changed if/when future bumps to the WKT spec happen
- add WKT_PREFERRED_GDAL which should be used whenever a CRS is
exported to WKT for use with GDAL API. Aliases to WKT2_2019 currently,
but can be changed if/when a new spec is released and GDAL supports it
2020-04-24 03:59:28 +10:00
Alexander Bruy
88a9bea48a
add missed comma
2020-04-20 09:34:26 +03:00
Nyall Dawson
60f40f066a
[processing] Fix crashes when running algs in "in place" mode
...
Fixes #35844
2020-04-20 12:01:46 +10:00
Alexander Bruy
9a6b0f58f5
[dbmanager] syntax highlighting for PostGIS raster fucntions ( fix #16010 )
2020-04-20 09:28:17 +10:00
Håvard Tveite
860645ab42
Offer a per feature, as well as a global minimum distance parameter, for the Random points on lines algorithm ( #35793 )
2020-04-19 14:21:55 +10:00
Nyall Dawson
6a1a2e9af0
[processing] Fix handling of vrt, SAGA tif output file names
...
Fixes #35755 , fixes #35770
2020-04-17 16:18:09 +10:00
Nyall Dawson
05bc716827
Move model child algorithm dependencies selection widget to c++, make inline panel
2020-04-16 16:02:53 +10:00
Nyall Dawson
acc68447c3
Validate models before running from designer, showing a summary of issues
2020-04-14 20:27:21 +10:00
Nyall Dawson
2dc07ee8f7
[processing] Show warnings in model designer message bar if algorithm
...
definition is incomplete/invalid after editing a child algorithm
2020-04-14 20:27:21 +10:00
Nyall Dawson
f476fe7fc4
[processing] Don't force a child algorithm in a model to have all valid values upfront
...
This allows defered setting of parameter values, e.g. if you add an algorithm, fill in
half the parameter values, then realise you need to add a new input to the model, you
don't have to lose all your filled in values...
2020-04-14 20:27:21 +10:00
root676
4d4a7a4a08
remove old python teststring
2020-04-14 09:20:56 +10:00
Nyall Dawson
847aadfd08
Fix possible exception in processing history panel
2020-04-13 17:13:24 +10:00
Nyall Dawson
0396162d1f
[processing] De-emphasise SAGA results when searching in toolbox
...
This change "dims" the results from the SAGA provider when a search
is made in the toolbox, to visually push users towards picking alternative
algorithms instead.
The Processing implementation of SAGA algorithms are a constant source
of critical bugs for users, causing incorrect analysis results. There's
zero community interest in actively maintaining this provider, so we
need to take steps to push users to stop picking these algorithms
wherever alternative (QGIS/GRASS/GDAL based) equivalents exist.
And for 4.0, seriously re-consider dropping this provider from the
out of the box install. We are causing more harm then good by offering
it to users.
2020-04-13 17:12:14 +10:00
Alexander Bruy
6c2937fd86
[processing] set correct filter for v.in.lidar ( fix #35700 )
2020-04-11 05:22:09 +10:00
Paul Wicks
b73bd58cfb
[FEATURE][processing] New algorithm "Contour Polygons"
...
With similar functionality to the existing GDAL contour algorithm, but exporting polygon representations of the contours
2020-04-08 08:34:55 +10:00
Nyall Dawson
6326ac6b5e
Silly sip nonsense
2020-04-07 17:05:44 +10:00
Nyall Dawson
872b4640c1
Revert "fix script path on windows"
...
This reverts commit aa1c3e11e84f77584e7cd835d896379aad81b284.
The change breaks a test
2020-04-06 10:42:43 +10:00
Juergen E. Fischer
aa1c3e11e8
fix script path on windows
2020-04-05 18:26:33 +02:00
Alexander Bruy
076a0268ab
cleanup imports
2020-04-05 05:23:29 +10:00
Alexander Bruy
91229e366a
[processing] port map layer parameter definition widget to C++
2020-04-05 05:23:29 +10:00
Alexander Bruy
abe12c4cd4
[processing] port distance parameter definition widget to C++
2020-04-05 05:23:29 +10:00
Alexander Bruy
ffd21f3ceb
[processing] port scale parameter definition widget to C++
2020-04-05 05:23:29 +10:00
Alexander Bruy
bae6d214d8
[processing] port number parameter definition widget to C++
2020-04-05 05:23:29 +10:00
Alexander Bruy
7330ca8e37
[processing] port vector layer and feature source parameter definition
...
widgets to C++
2020-04-05 05:23:29 +10:00
Alexander Bruy
6f84358a9f
[processing] port multiple layers parameter defintion widget to C++
2020-04-05 05:23:29 +10:00
Alexander Bruy
ebd0a72025
[processing] port field parameter definition widget to C++, expose
...
defaultToAll option to modeler parameter definition dialog
2020-04-05 05:23:29 +10:00
Alexander Bruy
a2ed502cf5
[processing] port band parameter definition widget to C++, expose
...
option to define multiple bands parameter in modeler parameter defintion
dialog
2020-04-05 05:23:29 +10:00
Nyall Dawson
d69519a91e
Move parameter retrieval logic from dialog to ParametersPanel
...
This is cleaner, because the panel owns all the wrappers required
to evaluate the parameter values
2020-04-04 17:58:55 +10:00
Nyall Dawson
a80bdc47e5
[processing] Add API and interfaces so that widget wrappers can retrieve the
...
current set of parameters for other parameters when required
2020-04-04 17:58:55 +10:00