55237 Commits

Author SHA1 Message Date
Matthias Kuhn
6a3cd82d9c
Merge pull request #9908 from raymondnijssen/roundextent
Round values in ExtentFromLayer processing algorithm
2019-05-13 10:12:30 +02:00
Nyall Dawson
84a98917fe Remove leftover code 2019-05-13 16:26:26 +10:00
Nyall Dawson
e409c31d38 Use proj to identify auth/codes from a proj string, instead of
QGIS' internal crs db
2019-05-13 16:26:26 +10:00
Nyall Dawson
ccb8e164d4 Always get full proj string, including towgs parameters
See https://lists.osgeo.org/pipermail/proj/2019-May/008565.html

Fixes some unit test failures
2019-05-13 16:26:26 +10:00
Nyall Dawson
83adb92eab Ensure that temporary map canvas atlas variables are never written to projects
Causes a crash on debug builds, and is generally undesirable anyway
2019-05-13 14:36:10 +10:00
Nyall Dawson
279139b4ac Avoid crashes on debug builds when trying to write xml for more value types 2019-05-13 14:36:10 +10:00
Nyall Dawson
4db0f5bf6c More proj6 test fixes 2019-05-13 10:38:26 +10:00
Nyall Dawson
fcf59bb471 Try to fix proj4 build 2019-05-13 10:38:26 +10:00
Nyall Dawson
2debb89c2c Indentation 2019-05-13 10:38:26 +10:00
Nyall Dawson
0b8e38e780 Leave broken code in place for now, it can't hurt, can it? 2019-05-13 10:38:26 +10:00
Nyall Dawson
0a7f5fcd46 Disable some tests, add some temporary results for now 2019-05-13 10:38:26 +10:00
Nyall Dawson
d42baf4931 Be less fussy when matching proj strings to auth/code from qgis db on proj 6
The db has many more entries, and ideally the matching using qgis db
is going to be removed asap (as soon as proj can correctly perform
this identification itself)
2019-05-13 10:38:26 +10:00
Nyall Dawson
20c458feb7 Failed attempt to use proj to identify auth/codes from proj strings 2019-05-13 10:38:26 +10:00
Nyall Dawson
6fe2450252 Fallback to regex to get ellipsoid and op code from proj string -- not possible from proj api 2019-05-13 10:38:26 +10:00
Nyall Dawson
60d6ec1d14 Crs sync work 2019-05-13 10:38:26 +10:00
Nyall Dawson
1fac288e29 Add method to get SingleCrs from crs 2019-05-13 10:38:26 +10:00
Nyall Dawson
18fb3f2bad Wip conversion to proj6 db instead of gdal csv files for population of CRS db 2019-05-13 10:38:26 +10:00
Nyall Dawson
8c132299c3 Remove old manual crs db overrides 2019-05-13 10:38:26 +10:00
Juergen E. Fischer
e9a80d6799 fix build 2019-05-12 17:19:50 +02:00
Nyall Dawson
f56429a392 Tiny bit of extra safety 2019-05-12 15:00:25 +10:00
Nyall Dawson
9cde65457b Ensure correct thread locale QgsNetworkAccessManager is used during
o2 requests

Otherwise the main thread manager is always used, resulting in
lots of warnings and potential crashes
2019-05-12 15:00:25 +10:00
Nyall Dawson
ba8f8e3f07 [o2] A new refresh_token is not a mandatory part of the response
after requesting a refresh

The server will always return a new access_token, but returning
a new refresh_token is optional
2019-05-12 15:00:25 +10:00
Chris Mayo
152a556887 INSTALL: document Python 3 as a build tool
Needed for scripts/process_function_template.py run by
src/core/CMakeLists.txt.

Enforced since commit:
f16fe73476 ("Python is a hard build time dependency", 2015-09-20)
2019-05-11 09:01:58 +02:00
Raymond Nijssen
6e62c0246d tests for rounded values in polygonfromlayerextent algorithm 2019-05-11 08:42:27 +02:00
Raymond Nijssen
59367618cd improved description 2019-05-11 08:39:41 +02:00
Raymond Nijssen
95c8cfed5f use distance instead of number parameter, and set advanced flag 2019-05-11 08:39:41 +02:00
Raymond Nijssen
a6d9d26e7d fix keyword 2019-05-11 08:39:41 +02:00
Raymond Nijssen
052db03919 Round values in ExtentFromLayer processing algorithm 2019-05-11 08:39:41 +02:00
Alessandro Pasotti
d174840e05
Merge pull request #9970 from elpaso/bugfix-fix-plugin-deps
Fix plugin dependencies
2019-05-10 11:33:38 +02:00
Alessandro Pasotti
9a612d4e19
Merge pull request #9832 from elpaso/qjson-nlohmann
Fast (and beautiful) json serializing
2019-05-10 11:33:10 +02:00
Alessandro Pasotti
46a4435e65 Use a function to access plugins_metadata_parser global object 2019-05-10 10:21:05 +02:00
nirvn
89693606bf [themes] Fix field expression widget not playing nice with themes 2019-05-10 15:16:56 +07:00
Alessandro Pasotti
0081ad026a Faster build times with fwd include 2019-05-10 09:37:25 +02:00
Nyall Dawson
2a457f0e44 Use a message bar in Style Manager dialog to avoid annoying
success message boxes after performing import actions
2019-05-10 13:46:32 +10:00
Nyall Dawson
85ff9aea31 Add method to retrieve map extent to QgsRenderContext
Previously only a "layer clipping extent" was available for retrieval
from a QgsRenderContext instance, yet there's a need for rendering
operations to have access to the original full extent of the map
being rendered.
2019-05-10 06:31:00 +10:00
Nyall Dawson
15f55d5689 Fix constraint expression and description are flipped
Fixes #22016
2019-05-10 06:30:36 +10:00
Nyall Dawson
2e5257372b [FEATURE] Add order by support to expression aggregate and concatenation functions
Because certain aggregates and concatenation requires results in
a certain order, this change allows specific control of the order
features are added to the aggregate during an expression evaluation.

E.g.

concatenate("Station",concatenator:=',', order_by:="Station")

will give a comma separated list of station names in alphabetical
order, rather than layer feature order.

Sponsored by SMEC/SJ
2019-05-10 06:23:56 +10:00
Nyall Dawson
6b16218c0f Allow setting order by clause for aggregate calculation 2019-05-10 06:23:56 +10:00
Juergen E. Fischer
9f4d41bb4c fix #22039 2019-05-09 17:42:16 +02:00
Alessandro Pasotti
0b3043fc75 Fix plugin dependencies 2019-05-09 13:53:42 +02:00
nirvn
10dd209e4a [effects] when creating the preview image, disable effects to avoid 'double apply' 2019-05-09 15:54:59 +07:00
nirvn
4bc8325737 [ui] Fix missing disabled state for {check/radio/group}box 2019-05-09 11:20:22 +07:00
Nyall Dawson
69c89151ef Add extra raster hashes 2019-05-09 14:04:30 +10:00
Nyall Dawson
6ec58f90c8 Spelling, formatting 2019-05-09 14:04:30 +10:00
Nyall Dawson
e2bd17f3c9 Split processing test files into multiple batches
There's two motivations for this:
- the existing one was getting massive and took ages to run, which was
a pain when developing. Smaller batches allow just a subset of test to
be run which is much faster.
- There's a random segfault on test exit which occurs on Travis. Rather
then disabling these absolutely critical tests altogether, I'm using
this as a method of bisecting exactly which alg is causing this.
2019-05-09 14:04:30 +10:00
Alexander Bruy
f085f55276 rename method so API is compatible with recent changes and other wrappers 2019-05-09 08:14:12 +10:00
Alexander Bruy
f8890d8f04 [processing] populate batch interface with rows when multiple layers
selected (fix #21859)
2019-05-09 08:14:12 +10:00
yoichigmf
7279269eaf bug fix can't open file using Japanese Character in name 2019-05-09 07:45:42 +10:00
Stephen Knox
a5cc1842a2 Add boolean type to DB Manager PostGIS provider 2019-05-09 07:44:56 +10:00
Matthias Kuhn
12de739adb
Merge pull request #9957 from daniviga/rpm-qt-private
[RPM] Add qt5-qtbase-private-devel build dep for F30+
2019-05-08 18:11:04 +02:00