Nyall Dawson
c91fd5a067
[reports] Tweak sub-section logic for multi-layer reports
...
Instead of requiring a single layer for use with nested field group
sections, allow use of different layers. In this case the child
layers are filtered so that any fields with names matching their
parent groups are filtered to match the parent section's value.
Also only include headers and footers for child field group sections
if the child has matching features found.
2018-01-23 17:51:50 +11:00
Nyall Dawson
d415ad84c9
[processing] Fix extent and CRS parameters do not evaluate in
...
models when linked to a layer parameter/output value
References discussion on dev mailing list
2018-01-23 12:35:29 +11:00
Nyall Dawson
7a2ab1cc7c
[layouts] Fix multiframe items (tables, html) cannot be pasted
...
Fixes #10456 , #17882
2018-01-23 07:14:44 +11:00
Nyall Dawson
35a77013ca
Fix handling of multiframe objects in layout templates
2018-01-23 07:14:44 +11:00
David
efe378d646
fixed indentation in python
...
fixed indentation in python unittest
2018-01-22 04:59:23 -09:00
David
2dba9fc807
take list instead of map for test
...
in unittest it needs to take a list instaed of the map as a test of valuemap
2018-01-22 04:59:23 -09:00
Nyall Dawson
05161362d3
Keep label settings when changing between rulebased/simple labeling
...
Fixes #17734
2018-01-20 06:10:51 +10:00
Nyall Dawson
aa0d377164
Add separate bool for controlling whether vector layer labels
...
are enabled
Instead of clearing the labeling configuration in order to
disable labels, we need a way to disable them without
losing the configuration. Labels are oftern temporarily
switched on/off as an analysis tool, and we don't want the
settings to be lost as a result
Refs #17656
2018-01-20 06:10:51 +10:00
Blottiere Paul
172b21742e
Merge pull request #5899 from peppsac/fix_17668
...
[server] Fix layers group handling
2018-01-18 10:23:18 +00:00
Nyall Dawson
6c392124ca
Fix virtual layers fail if table field names have special characters
...
Fixes #16943
2018-01-18 16:23:49 +10:00
Nyall Dawson
a1618c7df6
Add test mask
2018-01-18 10:37:33 +10:00
Nyall Dawson
c8fe22c558
Add test for hiding partial labels with rotated canvas
2018-01-18 10:37:33 +10:00
Nyall Dawson
d8402acee8
Remove composer from more code, port georeferencer reports to layouts
2018-01-18 09:21:45 +10:00
Nyall Dawson
5804745326
Port more tests to layouts, drop more QgsCompositions use
2018-01-18 09:21:45 +10:00
Nyall Dawson
fe48aeca0c
Fix crash with undo/redo and layout multiframes, restore test
2018-01-18 09:21:45 +10:00
Alessandro Pasotti
479358ea77
Merge pull request #6089 from elpaso/server-exception-on-image-overflow
...
Server exception on image overflow
2018-01-17 17:34:29 +01:00
Martin Dobias
ccd98f5d6c
Added test
2018-01-17 15:38:27 +01:00
Denis Rouzaud
4a0eedde2e
version compare is not strict
...
also fix sipify test
2018-01-17 10:16:37 -04:00
Alessandro Pasotti
4fc2b3e808
[server][test] Add protocol and host:port to path in the test server
2018-01-17 13:09:28 +01:00
pierre-eric
ac27347a9e
[server] Fix layers group handling
...
Load layers groups from project file to be able to use them in queries.
Fixes #17668
2018-01-17 10:51:34 +01:00
Nyall Dawson
fe2292c59a
Fix default value 'apply on update' setting not correctly restored
...
Fixes #17712
2018-01-16 16:09:41 +10:00
Nyall Dawson
f3f1b8eaa3
Save/restore form "editable" and "label on top" settings
...
Fixes #17860
2018-01-16 16:09:41 +10:00
Etienne Trimaille
2c511d25dc
return empty CRS instead of 4326 if the XML is empty
2018-01-16 14:17:42 +10:00
Nyall Dawson
6c57654d2c
Indentation
2018-01-16 13:57:14 +10:00
Nyall Dawson
38062ec649
Add test for indexed memory provider thread safety
...
Refs #17705
2018-01-16 13:57:14 +10:00
Nyall Dawson
741afdca55
Add provider suite test for thread safety of provider getFeatures()
...
Hammers providers by iterating through features from multiple threads
2018-01-16 13:57:14 +10:00
Denis Rouzaud
f952fe62da
rmove entry from acceptable missing doc
2018-01-15 11:55:23 -04:00
Matthias Kuhn
168c469b32
Rename QgsGPS prefixed classes to QgsGps
2018-01-15 11:55:23 -04:00
Blottiere Paul
4e3abbc4b7
Add test
2018-01-15 07:57:16 +00:00
Nyall Dawson
ded9b0978d
Rename QgsVectorLayer::pkAttributeList to primaryKeyAttributes() for consistency
2018-01-15 11:27:22 +10:00
Nyall Dawson
21c8956b18
Drop QgsVectorLayer::pendingFeatureCount()
...
Use QgsVectorLayer::featureCount() instead.
2018-01-15 11:27:22 +10:00
Nyall Dawson
1da17904b8
Drop QgsVectorLayer::pendingAllAttributesList()
...
Use QgsVectorLayer::allAttributes() instead.
2018-01-15 11:27:22 +10:00
Nyall Dawson
068d51c3be
Drop QgsVectorLayer::pendingFields()
...
Use QgsVectorLayer::fields() instead.
2018-01-15 11:27:22 +10:00
Alessandro Pasotti
545ac27e33
[layout] Import guides from 2.x composition
2018-01-12 07:45:18 +10:00
rldhont
0bc3d68162
[BUGFIX][Server] imageQuality has to be used for JPEG images not PNG
...
During the server refactoring, the imageQuality has been applied to all format even if this option has been defined only for JPEG.
This bugfix respects the initial proposition https://github.com/qgis/QGIS/pull/1403
QGIS Server - new project option imageQuality used for JPEG images #1403
2018-01-11 15:10:43 +01:00
Alessandro Pasotti
d63f4c7658
[server][test] GetPrint test with two maps template
...
This is to test that map0 and map1 actually refer to the
correct maps
2018-01-11 11:20:08 +01:00
Harrissou Sant-anna
e137ea8a9d
Add lpad truncate test ( #5947 )
2018-01-11 12:29:25 +07:00
Nyall Dawson
322f2e8c38
Drop composer class from gui library
2018-01-11 08:00:00 +10:00
Alessandro Pasotti
ba5b88c2cc
[layout][server] Const correctnes and typos
2018-01-10 22:00:25 +01:00
Alessandro Pasotti
a117b6b9ea
[layout][server] Update tests and mask images
2018-01-10 21:25:24 +01:00
Alessandro Pasotti
902dfb859c
Disable diff image encoded output
2018-01-10 20:11:56 +01:00
Alessandro Pasotti
eedb7c795f
[layout][server] composer -> layout in getprint
2018-01-10 18:03:08 +01:00
Alessandro Pasotti
34c80f9f55
[layout] Address PR comments and add test for layoutObjects template
2018-01-09 13:34:25 +01:00
Alessandro Pasotti
353b88a857
[layout] Update reference images
2018-01-09 13:34:18 +01:00
Alessandro Pasotti
8f3692aa85
Fix test after composition bindings removal
2018-01-09 09:25:39 +01:00
Alessandro Pasotti
f297e86201
[layout] Import attribute table from composition
2018-01-09 08:08:26 +01:00
Alessandro Pasotti
2b2dae828f
[layout] Import HTML and atlas from 2.x composition
2018-01-09 08:08:26 +01:00
Alessandro Pasotti
b40a5986f6
[layout] Fix title from name when converting a composition
2018-01-09 08:08:26 +01:00
Alessandro Pasotti
858a71f863
[layout] Add map rendering to tests
2018-01-09 08:08:26 +01:00
Alessandro Pasotti
7062f90b9f
[layout] Check for pointer as bool instead of compare
...
Travis does not like the second.
2018-01-09 08:08:26 +01:00