Denis Rouzaud
c5766dc83b
Merge pull request #33262 from 3nids/log_impr
...
Classification methods: save/read parameters, improve negative value handling in log method
2019-12-10 23:20:58 +01:00
Matthias Kuhn
65eed59ed0
Link expression button enabled state to layer on value relation widget
...
Right now the button would just do nothing if clicked before a layer was set.
2019-12-11 04:49:43 +10:00
Alexander Bruy
243cd6ce8b
use setValue() instead of setLayer() to handle different value types
...
(strings, variants, layers)
2019-12-11 04:49:14 +10:00
Alexander Bruy
dcdcb334ef
use active layer only if there is no default value
2019-12-11 04:49:14 +10:00
Alexander Bruy
f37a75923f
[processing] use active layer in the widget wrapper only for
...
non-optional parameters otherwise use default value
2019-12-11 04:49:14 +10:00
nirvn
89394a0ef1
Also insure that a tbl_projection is always present
2019-12-11 04:47:43 +10:00
nirvn
93f16c087b
Insure that a tbl_srs is always present(most likely fixes #32866 )
2019-12-11 04:47:43 +10:00
nirvn
2dc16dd588
Use mkpath when creating a profile directory(prevents problems when root directory isn't present to begin with)
2019-12-11 04:47:43 +10:00
rldhont
c5126e0f3b
Use debug message level in labeling from SLD
2019-12-11 04:45:30 +10:00
rldhont
9172c31329
[Bugfix] Segfault in rule based labeling from SLD
...
The settings for QgsRuleBasedLabeling::Rule has to be cloned with new QgsPalLayerSettings.
2019-12-11 04:45:30 +10:00
Alexander Bruy
ab5f9d0539
mark unused parameters
2019-12-10 11:22:59 +02:00
Denis Rouzaud
ba3c4432a7
remove pythonic syntax
2019-12-10 10:02:33 +01:00
Alexander Bruy
8fb28c8657
update menu entries
2019-12-10 10:33:32 +02:00
Nyall Dawson
b40ee5f554
More test updates
2019-12-10 18:28:11 +10:00
Nyall Dawson
4ddf31ef0b
Test updates again
2019-12-10 18:28:11 +10:00
Nyall Dawson
dfeef1f89d
Indentation
2019-12-10 18:28:11 +10:00
Nyall Dawson
adb2c377fb
Remove unused variables
2019-12-10 18:28:11 +10:00
Nyall Dawson
b9356eacd6
Avoid some unnecessary label index construction
...
The pal library was originally designed so that features would be
registered once and used across multiple map redraws. We don't utilise
that, and we are gauranteed that all registered features and obstacles
already fall within the desired map boundary.
2019-12-10 18:28:11 +10:00
Nyall Dawson
25988ffbca
Don't try to build genericspatialindex test on windows
...
Can't find the magic formula to make msvc happy here!
2019-12-10 18:28:11 +10:00
Nyall Dawson
6ab265873f
Add test masks
2019-12-10 18:28:11 +10:00
Nyall Dawson
b0dc935568
Use a report for selective mask tests, try to make tests stable
2019-12-10 18:28:11 +10:00
Nyall Dawson
02f883f111
More test updates
2019-12-10 18:28:11 +10:00
Nyall Dawson
4a6b6bd533
Test updates
2019-12-10 18:28:11 +10:00
Nyall Dawson
0517da1116
More test image updates
2019-12-10 18:28:11 +10:00
Nyall Dawson
25db33cc8e
Update some label reference images
2019-12-10 18:28:11 +10:00
Nyall Dawson
7935b2e848
Avoid recursive index calls
2019-12-10 18:28:11 +10:00
Nyall Dawson
036266519d
Don't use a recursive mutex
...
Earlier versions of libspatialindex on linux had their own internal
(non-recursive) mutex, so to behavior consistent across different environments
we need to ensure we can survive without a non-recursive external mutex
2019-12-10 18:28:11 +10:00
Nyall Dawson
ef15d76917
Spelling
2019-12-10 18:28:11 +10:00
Nyall Dawson
56bab7860e
Unit tests for QgsGenericSpatialIndex
2019-12-10 18:28:11 +10:00
Nyall Dawson
e521829621
Stop fighting with templates and take the shortcut approach
2019-12-10 18:28:11 +10:00
Nyall Dawson
c4a28a25fb
Dox++
2019-12-10 18:28:11 +10:00
Nyall Dawson
fb5aa9bcea
Avoid ugly const casts
2019-12-10 18:28:11 +10:00
Nyall Dawson
3ae1b27299
Dox, nicer naming
2019-12-10 18:28:11 +10:00
Nyall Dawson
d804de0e82
Remove dead code
2019-12-10 18:28:11 +10:00
Nyall Dawson
a66e575798
Simplify code and remove dead code
2019-12-10 18:28:11 +10:00
Nyall Dawson
617defd247
Simplify code
2019-12-10 18:28:11 +10:00
Nyall Dawson
e28ad5a998
Simplify code
2019-12-10 18:28:11 +10:00
Nyall Dawson
f7d937dd69
Drop some more unused pal code
2019-12-10 18:28:11 +10:00
Nyall Dawson
d15c9e73b0
Death to pal::RTree
2019-12-10 18:28:11 +10:00
Nyall Dawson
f9a3d0589a
Remove last use of pal::RTree
2019-12-10 18:28:11 +10:00
Nyall Dawson
727a4da01f
More pal::rtree swaps
2019-12-10 18:28:11 +10:00
Nyall Dawson
94306655b7
More pal::rtree -> QgsGenericSpatialIndex ports
2019-12-10 18:28:11 +10:00
Nyall Dawson
7bbc727d9a
Start on QgsGenericSpatialIndex to replace pal rtree with libspatialindex based backend
2019-12-10 18:28:11 +10:00
Nyall Dawson
69844ec896
Start moving some spatial index related functions to QgsSpatialIndexUtils
2019-12-10 18:28:11 +10:00
Alexander Bruy
3a206a6bba
move guts of the set layer style to prepareAlgorithm() to keep it
...
threaded
2019-12-10 09:41:57 +02:00
Alexander Bruy
bd72e02e55
optimize nearest neighbour analysis by storing geometries in the spatial
...
index and using index to retrieve them instead of making single-feature
requests
2019-12-10 09:28:41 +02:00
Alexander Bruy
363d8d053c
const correctness
2019-12-10 09:28:37 +02:00
Alexander Bruy
a5c9c72e26
move QgsDistanceArea initialization to prepareAlgorithm
2019-12-10 09:28:16 +02:00
Alexander Bruy
3910d7774b
use deprecated flag instead of hidden
2019-12-10 08:42:33 +02:00
Alexander Bruy
f803b7babb
fix strings
2019-12-10 08:39:00 +02:00