58789 Commits

Author SHA1 Message Date
rldhont
1d3b90bb2d [Server] Update WMTS tests for round extent in GetCapabilities 2019-11-20 21:46:56 +01:00
rldhont
9b731edbd7 [Server] tests: Add masks 2019-11-20 21:46:56 +01:00
rldhont
656f9e04bc [Bugfix][Server] Use floor and ceil for round extent coordinates in services capabilities 2019-11-20 21:46:56 +01:00
rldhont
747f785eb6 [Bugfix][Server] Correctly round extent coordinates in services capabilities
QString::number does not correctly round double. It can truncate double so the extent display explains in services capabilities could be clipped.

To fix it, QGIS provides qgsDoubleToString.
2019-11-20 21:46:56 +01:00
Blottiere Paul
e8b38c36b1
Merge pull request #32666 from pblottiere/fix_emblayer_qgz
Read qgz project when embedding layers/groups. Fixes #28280
2019-11-20 15:05:42 +01:00
Denis Rouzaud
0e110cf01a [FEATURE][labels] allow to delete custom label rotation
by pressing DEL key when moving the label
2019-11-20 11:46:20 +01:00
Denis Rouzaud
99bf9687aa [FEATURE][labels] allow to delete custom label position
by pressing DEL key when moving the label
2019-11-20 11:46:20 +01:00
Blottiere Paul
0aea46bb28 Add unit test for qgslayerdefinition 2019-11-20 11:36:36 +01:00
Even Rouault
08d5b83f6a
Merge pull request #32811 from troopa81/fix_wfs_cache
fix cache read on wfs request
2019-11-20 10:56:59 +01:00
Matthias Kuhn
59a766e22a
Merge pull request #32807 from lbartoletti/patch-1
Fix compilation with llvm > 6 (and arch=i386)
2019-11-20 10:27:42 +01:00
Nyall Dawson
2b9921ac2c Lower precision of grass centrality test
Refs #32562
2019-11-20 18:43:29 +10:00
Nyall Dawson
1ca926d72a [FEATURE][layouts] Add search box to layout manager
Allows filtering the list of layouts in a project by name, handy
when a project has many layouts
2019-11-20 17:38:28 +10:00
Denis Rouzaud
f1e6745fe7
[quick] add utility method to select feature using their IDs from QML (#32735)
* [quick] add utility method to select feature using their IDs from QML

* Update qgsquickutils.cpp
2019-11-20 08:07:09 +01:00
Nyall Dawson
129165a100 Fix warning 2019-11-20 10:08:13 +10:00
Nyall Dawson
0b688348f1 Fix build 2019-11-20 10:08:13 +10:00
Nyall Dawson
9a2e015158 Move QObject declaration to header 2019-11-20 10:08:13 +10:00
Nyall Dawson
986aa713ef Identation 2019-11-20 10:08:13 +10:00
Nyall Dawson
1c128f9df4 Line based exclusion doesn't seem to work with lambdas... 2019-11-20 10:08:13 +10:00
Nyall Dawson
6ce8856741 Fix clazy warnings 2019-11-20 10:08:13 +10:00
Nyall Dawson
c8bf6a9b74 Another unused string: 2019-11-20 10:08:13 +10:00
Nyall Dawson
85227322d6 Clear clazy unused variable warning on proj < 6 builds 2019-11-20 10:08:13 +10:00
Nyall Dawson
3b03b87822 Add missing Q_OBJECT macro 2019-11-20 10:08:13 +10:00
Nyall Dawson
942b74fa84 Remove unused QString 2019-11-20 10:08:13 +10:00
Nyall Dawson
8f1cf97f50 Remove unused QString 2019-11-20 10:08:13 +10:00
Nyall Dawson
fd68d8ee97 Use QHash instead of QMap with pointer key 2019-11-20 10:08:13 +10:00
Nyall Dawson
a882ece4f5 Remove unused QString 2019-11-20 10:08:13 +10:00
Nyall Dawson
fe9e6c6934 Fix typos 2019-11-20 10:08:13 +10:00
Nyall Dawson
9fc5d86d74 Add missing Q_OBJECT macro 2019-11-20 10:08:13 +10:00
Nyall Dawson
214bbe9e36 Fix clazy fully-qualified-moc-types warnings 2019-11-20 10:08:13 +10:00
Nyall Dawson
4b8f37da39 Enable some more safe clazy checks 2019-11-20 10:08:13 +10:00
Nyall Dawson
664223c504 Add backport bot workflow yml 2019-11-20 09:31:40 +10:00
Julien Cabieces
c2a3a855dd Test cache read 2019-11-19 17:54:37 +01:00
Blottiere Paul
0770ca9121 Add unit tests for qgsproject 2019-11-19 17:50:32 +01:00
nirvn
e109dc6ac5 [processing] Fix wrong label description for the centroid alg's all parts parameter
(fixes #32940)
2019-11-19 21:09:51 +10:00
Juergen E. Fischer
8fedf7c72a debian packaging: python-gdal still needed for gdal python scripts 2019-11-19 10:52:14 +01:00
nirvn
f63c747c50 [processing] Fix missing icon for polygon to lines algoritghm
The icon went missing when porting the algorithm from
python to a native
2019-11-19 16:35:58 +07:00
Nyall Dawson
0d6599a7b6 [labeling] Fix evalution of letter/word spacing when font size is map units
Fixes #32825
2019-11-19 16:46:54 +10:00
Nyall Dawson
19d0b118a5 Optimise some trivial point/rectangle intersection tests 2019-11-19 16:41:48 +10:00
Alessandro Pasotti
f9f00d3388 Fix fid regenerate on GPKG vector layer exported
Fixes #32927
2019-11-19 06:20:57 +10:00
Juergen E. Fischer
d401c84008 another translation string fix 2019-11-18 18:21:06 +01:00
Juergen E. Fischer
74a6871d9e translation string fixes 2019-11-18 13:19:25 +01:00
Blottiere Paul
35c2a9a6f3 Load embedded group from qgz project 2019-11-18 12:30:05 +01:00
Blottiere Paul
9a9778af41 Fix reloading project with embedded layers from qgz 2019-11-18 12:30:05 +01:00
Blottiere Paul
e5eb23e30c Read qgz project when embedding layers. Fixes #28280 2019-11-18 12:30:05 +01:00
Peter Petrik
90cbcc92b1 fix crash when gps source is not available (e.g. missing QT plugins) 2019-11-18 10:20:18 +01:00
Peter Petrik
65182a2775 fix compilation of qgsquick plugin on win 2019-11-18 10:20:18 +01:00
Nyall Dawson
3b29dbafa6 Resolve cpu spikes when options dialog is shown
Disable auto-update of the advanced settings tree widget. This is causing
CPU spikes every 2 seconds while the dialog is open. It's useless for QGIS,
because this dialog is modal and blocking, and changes to settings aren't
saved until the dialog is dismissed. So basically nothing should be updating
these settings while the dialog is opened anyway...

Fixes #32892
2019-11-18 18:29:41 +10:00
nirvn
617955ac1e [expression] Language support for format_date() and to_{date,datetime,time}()
By default, those expression use the application's locale. The addition of an optional
language parameter allows handling of dates that wouldn't match that default
locale (say for e.g. an English system running QGIS trying to transform a
French-formatted string into a date object).
2019-11-18 12:13:47 +07:00
Pete King
0e7edd5588 [feature] is_valid expression
Returns true if a geometry is considered valid according to the OGC validity rules
2019-11-18 02:31:48 +10:00
Nyall Dawson
3b8565115a Also lazy load numpy 2019-11-17 17:08:12 +10:00