47139 Commits

Author SHA1 Message Date
Nyall Dawson
bf0c4f9413 [processing] Accept strings of form "(1,2") for point parameters too
Since the help text above a point parameter indicates the acceptable
format is "(x, y)", it can be confusing for users to know whether
the brackets should be entered here. So be forgiving and accept
strings with or without brackets.

Refs https://gis.stackexchange.com/questions/278765/how-do-i-enter-start-point-in-shortest-path-algorithm-in-qgis-3-0-1
2018-04-11 04:56:12 +10:00
rldhont
c625f95bef [BUGFIX][Server] Segfault in WFS GetCapabilities 2018-04-10 13:55:50 +02:00
David
254ceae91a indentation fix 2018-04-10 13:15:36 +02:00
Martin Dobias
4a885e6e9c Misc project storage fixes from Nyall's testing
- fix a crash when opening a project from unavailable connection
- make some messages in postgresql project storage translatable
- show the reason why a project was not read/written in storage if there is a message available
- push a message when reading a project that does not exist in postgresql storage
2018-04-10 11:28:34 +02:00
David
7018cb01a6 Save and load alpha of conditional style color
Alpha (saturation) will be saved and loaded for the conditional style color of text and background.
Before there was not only the problem, that it was not saved - it was additional the issue, that background with no color had after reopening the project the alpha(saturation) of FF and the color black.
This is fixed now.
2018-04-10 11:26:40 +02:00
David
4d984793e9 Conditional formatting on relation reference widget
in case we have additional display expressions there does use the conditional formatting for the row
and in case there is only one fieldname used in the display expression it does use this as well

Fix: #18521
2018-04-10 11:10:12 +02:00
Nyall Dawson
37295ec48e Expose extra arguments to QgsGeometry::transform
Previously these were only available via the raw QgsAbstractGeometry
API.

Also add more unit tests for QgsGeometry::transform
2018-04-10 17:49:18 +10:00
Nyall Dawson
1357a4716a [processing] Fix Select/Extract by Location algs with PostGIS layers
Fixes #18038
2018-04-10 16:55:41 +10:00
Nyall Dawson
b8e8541f0b Fix build on Qt 5.5 2018-04-10 16:53:43 +10:00
Matthias Kuhn
1aa7bbc285
Merge pull request #6604 from 3nids/prefixpath
fix QgsApplication::setPrefixPath
2018-04-10 06:43:54 +02:00
Nyall Dawson
405d8f29d4 [processing] Skip more unnecessary geometry checks 2018-04-10 12:27:46 +10:00
Nyall Dawson
0a1a6769d2 Fix build with Qt 5.5 2018-04-10 10:15:19 +10:00
Nyall Dawson
f66993edbb More hash updates 2018-04-10 09:57:58 +10:00
Nyall Dawson
fc133ef578 Update tests for travis 2018-04-10 09:57:58 +10:00
Nyall Dawson
7544cdb2ee [processing][grass] Disable some failing tests 2018-04-10 09:57:58 +10:00
Nyall Dawson
e83cd6155f [processing] Better debugging for failed tests 2018-04-10 09:57:58 +10:00
Nyall Dawson
20bbef3800 [processing][grass] Fix broken r.lake algorithm 2018-04-10 09:57:58 +10:00
Nyall Dawson
cba395e8c4 [processing][grass] Fix broken r.his algorithm 2018-04-10 09:57:58 +10:00
Nyall Dawson
89a3dd5e15 [processing][grass] Fix broken r.cost algorithm 2018-04-10 09:57:58 +10:00
Nyall Dawson
f03baa871a [processing][grass] Don't try to create skipped optional outputs 2018-04-10 09:57:58 +10:00
Nyall Dawson
ee185cce4d [processing] Fix python runAlgorithm when algorithm has missing optional outputs 2018-04-10 09:57:58 +10:00
Nyall Dawson
60efbb539e [processing][grass] Fix broken r.li.renyi.ascii alg 2018-04-10 09:57:58 +10:00
Nyall Dawson
1fc5a0e597 [processing][grass] Fix broken r.statistics alg 2018-04-10 09:57:58 +10:00
Nyall Dawson
3455c13fa0 Don't remove python 2 from docker build-deps
Since grass package still depends on it
2018-04-10 09:57:58 +10:00
Nyall Dawson
7d66f034ad Add saga to docker build-deps 2018-04-10 09:57:58 +10:00
Nyall Dawson
41a27f700f Attempt SAGA tests on Travis 2018-04-10 09:57:58 +10:00
Nyall Dawson
ea24847adf [processing] Try to resurrect grass tests 2018-04-10 09:57:58 +10:00
Matthias Kuhn
3f7042d104
Merge pull request #6768 from m-kuhn/remove_plugin_builder
Remove plugin builder code
2018-04-09 22:33:23 +02:00
Matthias Kuhn
02da420ea4 Add a remaining docstring 2018-04-09 22:24:12 +02:00
Matthias Kuhn
925d9af93f [processing] Remove some unrequired geometry checks 2018-04-10 06:09:54 +10:00
Matthias Kuhn
605ef7d829 Remove plugin_template 2018-04-09 18:02:35 +02:00
Denis Rouzaud
810241ffca one level deeper 2018-04-09 10:27:31 -04:00
Denis Rouzaud
304275ab01 fix QgsApplication::setPrefixPath
setPrefixPath was useless outside of the app since mPrefixPath was overwritten by env variables
2018-04-09 10:23:47 -04:00
Matthias Kuhn
41b47a297f Add more feature filter algorithm tests 2018-04-09 13:10:49 +02:00
Matthias Kuhn
6dd89b5675 Really do not care about invalid geometries
in feature filter algorithm. We just leave the geometry alone in whatever
state it may be. If the consumers of our features have a problem with that,
let them take care of it. Just because THEY do not like invalid geometries
does not mean WE have to adjust our behavior here.
2018-04-09 13:10:49 +02:00
Matthias Kuhn
d7b75d1e99 Immediately apply configuration after change 2018-04-09 13:10:49 +02:00
Matthias Kuhn
8d9a978e9f Properly initialize filter configuration table 2018-04-09 13:10:49 +02:00
Matthias Kuhn
4462dbae12 Do not complain on invalid geometries 2018-04-09 13:10:49 +02:00
Matthias Kuhn
ae1ea91801 Better error reporting 2018-04-09 13:10:49 +02:00
Matthias Kuhn
080c5804e7 Rename "Filter" to "Feature Filter" 2018-04-09 13:10:49 +02:00
Matthias Kuhn
17b537249b Show expression builder and checkbox in filter configuration 2018-04-09 13:10:49 +02:00
Matthias Kuhn
bb9154963a Plug memory leak 2018-04-09 13:10:48 +02:00
Matthias Kuhn
f06f65285d Fix api doc and sip issues 2018-04-09 13:10:48 +02:00
Matthias Kuhn
641cbe3765 fixup testdata 2018-04-09 13:10:48 +02:00
Matthias Kuhn
4ee7f3c5f4 for : in 2018-04-09 13:10:48 +02:00
Matthias Kuhn
af18f46c85 Add filter feature processing test 2018-04-09 13:10:48 +02:00
Matthias Kuhn
ef676cffc8 Make models available in processing tests 2018-04-09 13:10:48 +02:00
Matthias Kuhn
dbced352b8 Fix use before assign 2018-04-09 13:10:48 +02:00
Matthias Kuhn
0e1852ce34 Throw exception when sink cannot be created 2018-04-09 13:10:48 +02:00
Matthias Kuhn
3d9b8bbd69 Add missing docstring 2018-04-09 13:10:48 +02:00