59257 Commits

Author SHA1 Message Date
Alexander Bruy
ddb93602ef address comments 2019-12-13 13:41:27 +02:00
Alexander Bruy
d167bab49a [processing] optimize random extract algorithm 2019-12-12 19:17:53 +02:00
Alexander Bruy
19596a8f4b [processing] make pole of inaccessibility feature-based 2019-12-12 16:53:11 +02:00
Alexander Bruy
8bc571c51b [processing] make extract vertices feature-based 2019-12-12 16:04:28 +02:00
Alexander Bruy
61032f0eaf [processing] make extract specific vertices feature-based 2019-12-12 15:40:46 +02:00
Peter Petrik
6febf38e10 [mesh] support active flag capability of MDAL. mesh layers for datasets that does not support active flags should not take less memory and load faster 2019-12-12 08:37:55 +01:00
Peter Petrik
4988468e26 update to MDAL 0.4.92, second beta release for QGIS 3.12. it speeds up and optimize memory usage by allowing QGIS to check if driver/dataset uses active flag or not 2019-12-12 08:37:55 +01:00
Peter Petrik
a9826bbd97 replace averaging widget with something nicer 2019-12-12 08:37:55 +01:00
Alexander Bruy
0219d0019e
Merge pull request #33290 from alexbruy/port-algorithms
[processing] port some algorithms to C++
2019-12-12 08:21:57 +02:00
Nyall Dawson
66fefdc668 Fix warning 2019-12-12 14:44:50 +10:00
Nyall Dawson
bc41f145e1 Fix infinite recursion on proj < 6 builds 2019-12-12 14:44:50 +10:00
Nyall Dawson
b6e46325d3 Fix travis build 2019-12-12 14:44:50 +10:00
Nyall Dawson
de109b67d2 Fix deadlock 2019-12-12 14:44:50 +10:00
Nyall Dawson
187b8f3325 When saving a user crs, if a WKT representation of the CRS is available,
then store and save that

Proj string representations of CRSes are lossy, so we should always prefer
WKT when it's available
2019-12-12 14:44:50 +10:00
Nyall Dawson
4e4cd313bd Add a WKT column to tbl_srs
proj string definitions of CRSes are lossy, so we need to gradually
transition to WKT definitions instead
2019-12-12 14:44:50 +10:00
Nyall Dawson
3d4b5fb09a Don't flag CRSes created from a WKT which doesn't correspond to any
known authorities as invalid

If proj is happy to accept the WKT string, then it's valid
2019-12-12 14:44:50 +10:00
Nyall Dawson
c847e004dd Fix another unicode string on windows 2019-12-12 11:53:30 +10:00
Nyall Dawson
b613830491 Skip mesh calculator test on CI
This test is fragile and fails > 50% of the time
2019-12-12 09:29:58 +10:00
Daniele Viganò
73ca958fc4 [RPM] Remove qgis-zh-Hant.qm from RPM packages 2019-12-12 09:18:52 +10:00
Nyall Dawson
898205e7d8 Fix dox 2019-12-12 07:44:11 +10:00
Nyall Dawson
b1bbc8511b [labeling] Move settings related to removing labels (e.g. max no
of labels, min size for labels) to a new class QgsLabelThinningSettings

This new class is designed to contain settings related to how the label
engine removes candidate label positions and reduces the number of
displayed labels.
2019-12-12 07:44:11 +10:00
Nyall Dawson
2e25151786 Fix escape and enter don't work to close color or symbol selector dialogs
Fixes #27602
2019-12-12 07:39:41 +10:00
Nyall Dawson
e2e1bd35de Fix ellipsis characters in button text show incorrectly on windows
Fixes #33209
2019-12-12 07:39:20 +10:00
Alexander Bruy
4d9b3b2b80 strore layer id instead of pointer to layer 2019-12-11 09:40:33 +02:00
Matthias Kuhn
f597f72c22
Merge pull request #33266 from signedav/cachedshared
Being solid against field names variation in expressions on WFS
2019-12-11 08:30:36 +01:00
Samweli
e61ca04340 Deselecting tables after addition in Data Source Manager 2019-12-11 14:07:31 +10:00
Nyall Dawson
0d3984632b Fix grass build 2019-12-11 14:05:44 +10:00
Nyall Dawson
df9ede3d29 Fix build 2019-12-11 14:05:44 +10:00
Nyall Dawson
03803b08c3 Also move app labeling files to dedicated subdirectory 2019-12-11 14:05:44 +10:00
Nyall Dawson
d3da0e0281 Also move labeling gui files to dedicated subdirectory 2019-12-11 14:05:44 +10:00
Nyall Dawson
a8adb2d6c2 Code shuffle: move all labeling related code into src/core/labeling
So that these files are all grouped together, making it easier to locate
all the components of the labeling engine and hopefully making things
easier to navigate
2019-12-11 14:05:44 +10:00
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