7442 Commits

Author SHA1 Message Date
Alessandro Pasotti
0290342e6e
Merge pull request #30271 from elpaso/bugfix-gh30264-wms-bbox-wrong-transform-empty-layers
Server wms bbox wrong transform on empty layers
2019-06-20 10:55:25 +02:00
Alessandro Pasotti
c838161f64 Catch coord transform exception and log it
Skip the layer if there are any exceptions.
2019-06-20 07:22:57 +02:00
Nyall Dawson
3bd3aba25b [needs-docs] [labeling] Allow data defined control over line placement options
Allows users to override the line placement settings (e.g.
above/below/on line options) on a per-feature basis. Somehow
this one was the only(?) setting from labeling which
was missing a data defined control...
2019-06-20 10:24:16 +07:00
Nyall Dawson
04c51db551 Fix priority of parallel placements
Ensure that above line placement is preferred when both above
and below line placements are valid
2019-06-20 12:50:35 +10:00
Nyall Dawson
a8d212b129 Fix tests 2019-06-20 09:40:47 +10:00
Nyall Dawson
11e1862f86 Fix logic for picking default field for display expression
And add test
2019-06-20 09:40:47 +10:00
Alessandro Pasotti
9868d86f0d Reference file for regression 30264 2019-06-19 15:49:59 +02:00
Alessandro Pasotti
6cfc7b09bd Server WMS getcapabilities wrong bbox in case of empty layers
... and different CRS

Fixes #30264
2019-06-19 15:46:51 +02:00
lbartoletti
c3f5f71752 more tests 2019-06-19 05:19:10 +10:00
lbartoletti
a022cbb21b Fix reshape for snapped point with Z and add test 2019-06-19 05:19:10 +10:00
Matthias Kuhn
24e56a810c
Merge pull request #30176 from jgrocha/redmine2github
References to issues.qgis.org updated
2019-06-17 11:34:12 +02:00
Nyall Dawson
de672e3127 Allow storing layer WKB type in QgsMimeDataUtils::Uri 2019-06-17 18:17:10 +10:00
Nyall Dawson
0389ebeab5 Fix collecting geometries when one of the added geometries is already multi-part
Fixes #30208
2019-06-17 06:27:36 +10:00
Alex
a02a4ede6e Allow calculating aggregates using a subset of fids only 2019-06-16 07:00:26 +10:00
Tamas Szekeres
6c6c145590 Fix writing geometries with M values, adding tests for Z/M/ZM geometries 2019-06-15 15:16:42 +10:00
Tamas Szekeres
7d1b0cb70b Adding test for curve geometries 2019-06-15 15:16:42 +10:00
Nyall Dawson
b25fa7a2e3 Try to fix crash on travis 2019-06-15 15:05:48 +10:00
Nyall Dawson
fbd243be65 [processing] Port map layer selection combobox widget to c++
And:

- fix enable state of selected features only after changing between
map layers with/without selections
- fix state of selected features only when running an algorithm
from the history list, e.g. respect original setting for
selected features only (or not)
- ensure no duplicate changed signals are sent, and correctly
emit changed signals in all applicable circumstances
- handle drag and dropped layers from browser panel (UX fix)
- soak with unit tests
2019-06-15 15:05:48 +10:00
Nyall Dawson
9d82273208 Fix duplicate (and missing) signals from QgsMapLayerComboBox, add tests 2019-06-15 15:05:48 +10:00
rldhont
0499a933c1 [Test][Server] GetContext: Fix hidden attribute 2019-06-14 14:35:25 +02:00
Nyall Dawson
ad4a38d1c0 [layouts] Improve north arrow export time validity check to also test
for north arrows by checking their default id string
2019-06-14 08:02:34 +07:00
Nyall Dawson
ab92deee03 [layouts] Warn when exporting a layout with a north arrow not
linked to a map item
2019-06-14 08:02:34 +07:00
Matthias Kuhn
586d216735
Merge pull request #30185 from m-kuhn/update_on_split
Update default values with "apply on update" on split
2019-06-13 07:01:21 +02:00
Nyall Dawson
1c5ebe8ebd Spelling 2019-06-13 04:57:37 +10:00
Nyall Dawson
d56ddc25fb Minor refactor of QgsMapLayerProxyModel 2019-06-13 04:57:37 +10:00
Nyall Dawson
760af67d0f Cleanup handling of QgsMimeDataUtils::Uri corresponding to project layers
And add tests
2019-06-13 04:57:37 +10:00
Nyall Dawson
5bc50ff820 [processing] Fix iterating mode when output is a temporary layer
Credit to @volaya for this fix!

Fixes #29340
2019-06-13 02:43:06 +10:00
Matthias Kuhn
492ce0c9f1 Recalculate "evaluate on update" default expressions always
... no mather what attributes are provided. Default values with evaluate on update
should really just always be calculated.

Fix #30164
Fix #29683
2019-06-12 13:11:38 +02:00
Jorge Gustavo Rocha
38c8e757aa References to issues.qgis.org updated 2019-06-12 00:10:43 +01:00
Matthias Kuhn
b34539ad6f
Merge pull request #30155 from m-kuhn/qobjectuniqueptr
QObjectUniquePtr
2019-06-11 21:07:34 +02:00
Matthias Kuhn
3f136b8920 Use QgsApplication for test 2019-06-11 15:37:59 +02:00
Matthias Kuhn
b55f22119e Add deleteLater test 2019-06-11 11:21:21 +02:00
Alessandro Pasotti
e740688faa
Merge pull request #30151 from elpaso/bugfix-gh30115-value-relation-widget-match-name-if-id-fails
When loading a QLR, try to match the layer name if id does not
2019-06-11 11:20:30 +02:00
Alessandro Pasotti
fc20e31fa3 Add resolveByIdOrNameOnly and use it (with a test) 2019-06-11 08:50:08 +02:00
Matthias Kuhn
0c3540c66a QCompare is not that flexible 2019-06-10 21:06:37 +02:00
Matthias Kuhn
0bd8df5945 Fix tests and docstrings 2019-06-10 19:52:00 +02:00
Matthias Kuhn
d790ab2a89 Add more tests 2019-06-10 19:31:02 +02:00
Matthias Kuhn
590f654f3f Add get() and operator bool() to QObjectUniquePointer 2019-06-10 19:19:23 +02:00
Matthias Kuhn
01f2ba9e4f Add QObjectUniquePtr 2019-06-10 17:29:02 +02:00
Alessandro Pasotti
13099cc4fa
Merge pull request #30137 from elpaso/bugfix-gh30131-postgres-json
Fix json hanlding of bools and complete json(b) PG support
2019-06-10 14:22:14 +02:00
Alessandro Pasotti
dcc779a62d Added a test and fix layer config in the wrapper too 2019-06-10 12:32:30 +02:00
Alessandro Pasotti
660e451f07 More tests for json values, fix boolean representation 2019-06-10 09:15:00 +02:00
Alessandro Pasotti
114affc549 Handle strings with chars that require escaping 2019-06-10 08:33:16 +02:00
Nyall Dawson
3cad7ed106 [layouts] Fix attribute table filtering to items within atlas feature
when atlas feature has a different CRS to table layer

And greatly improve performance when using an attribute table
filtered to the atlas feature
2019-06-10 12:37:47 +10:00
Nyall Dawson
182b1e1279 Use * to fetch all fields from feature services, don't list them one by one
Otherwise we often exceed the maximum size of a get query
2019-06-10 12:28:32 +10:00
Nyall Dawson
762ea69cd2 [layouts] Fix filtering of attribute table to visible features
when linked map is rotated

The rotation wasn't being taken into account, which meant that
visible features weren't shown (and vice versa)
2019-06-10 08:24:11 +10:00
Alessandro Pasotti
5aa5a841cb Update test because now we are correctly returning null 2019-06-09 12:54:03 +02:00
Alessandro Pasotti
574d40a506 Fix test QCOMPARE 2019-06-09 10:47:27 +02:00
Alessandro Pasotti
79219dae23 Forward port of histogram binding fix with a bonus test
Fwd port of PR #30033
Fixes #29700

With a new test for the bug.
2019-06-09 10:25:50 +02:00
Alessandro Pasotti
3ea542a433 Fix json hanlding of bools and complete json(b) PG support
Fixes #30131 and add tests for jsonutils
2019-06-08 20:29:48 +02:00