569 Commits

Author SHA1 Message Date
Martin Dobias
2e56fadcd1 Add 3D map print layout item
So far this is just support in the layout framework, not yet exposed to the GUI.
2018-08-21 12:59:47 +02:00
Peter Petrik
419ec1f736 [mesh] fix bug in rendering datasets with inactive faces 2018-08-20 11:56:27 +02:00
Martin Dobias
f37aa8c6e3
Merge pull request #7613 from wonder-sk/mesh-gui-fixes
Mesh layer fixes and improvements
2018-08-16 09:28:19 +02:00
Martin Dobias
c0f190d070 Address Nyall's point from review 2018-08-15 15:20:00 +02:00
Martin Dobias
90e764dfab Update test images for mesh layer renderer test
Before the mesh layer used by default QSettings-dependent color ramp
(and it was hot-to-cold rather than cold-to-hot)
2018-08-14 16:42:13 +02:00
Stéphane Brunner
24f97f0205 Fix the Access control in the WMS groups
- Reactivate the tests
- Split the tests in more then one file
- Add WMS groups tests
- Use standard test font
2018-08-14 11:31:00 +02:00
Martin Dobias
9ea06e1cbb Add expected iages for 3D rendering tests 2018-07-26 08:34:38 +02:00
Nyall Dawson
959dd5b051 Test mask 2018-07-24 03:54:44 +10:00
Nyall Dawson
19f8a0078d [FEATURE] Allow embedding SVG images in projects in base64 format
Allows SVG images for symbology, labels, etc to be directly embedded
inside a project file (or QML style, or QPT print template!)
by encoding the svg as a standard base64 string.

Sponsored by SMEC/SJ
2018-07-24 03:54:44 +10:00
Peter Petrik
252e41d3dc fix travis issues: docs, sip, test 2018-06-26 11:07:45 +02:00
Martin Dobias
61f84ce7f6
Merge pull request #7008 from PeterPetrik/qgsmeshlayer_2_scalar_vector_datasets
[mesh] Rendering of scalar and vector datasets
2018-05-24 07:43:14 -04:00
Blottiere Paul
96a0b4777c Add unit test 2018-05-17 13:17:28 +01:00
Peter Petrik
3fc99c04c1 code cleanup 2018-05-16 17:02:35 +02:00
Peter Petrik
aea3dccea7 [FEATURE] Rendering of vector data on mesh layers
Rudimentary support of rendering of vector data (e.g. velocity) on mesh map layers.
Rendering can be adjusted by QgsMeshRenderer*Settings. Only in Python
API, no GUI widgets for styling present.
2018-05-16 12:56:35 +02:00
Nyall Dawson
3d03cfba8c Update test masks 2018-05-11 17:48:45 +10:00
Tudor Bărăscu
cdca7084c4 add GetMap DPI mask image, fixes local test 2018-05-08 16:07:53 +10:00
Martin Dobias
ade216d02d
Merge pull request #6820 from PeterPetrik/QgsMeshLayer_1_mesh
[FEATURE] QgsMeshLayer part 1: Reading raw mesh
2018-04-25 09:02:24 +02:00
Martin Dobias
f1a31d09f1 Use standard font for text on symbol 2018-04-19 14:23:49 +02:00
Peter Petrik
50422a1165 [FEATURE] QgsMeshLayer part 1: Reading raw mesh
Introducting MDAL, QgsMeshLayer, mesh data providers (mesh_memory, mdal)
to read and visualize raw meshes: vertices and faces. Support dragging
2dm files from browser on canvas to visualize 2dm meshes.
Support for QgsMeshLayer in Python API.
2018-04-19 10:50:33 +02:00
Martin Dobias
49b02bf562 [FEATURE] Legend: optional text on top of symbols for vector layers
In some cases it is useful to add extra information to the symbols in the legend.
This work allows definition of additional labels in vector layer properties > Legend tab.
2018-04-18 21:52:56 +02:00
Blottiere Paul
2d340a0de2 Update unit test with symbology depending on @map variables 2018-04-13 09:50:18 +01:00
Blottiere Paul
e8ce121bc5 Add unit test to check symbol's rotation coming from a project variable 2018-04-12 14:21:53 +01:00
Nyall Dawson
887db6e7b2 Better SVG downloading icon 2018-04-09 12:43:05 +10:00
Nyall Dawson
3bfcbaa163 Update unit tests 2018-04-09 12:43:05 +10:00
Blottiere Paul
5014d95d6e
Merge pull request #6450 from tudorbarascu/filter_test
add GetMap FILTER test with multiple filters
2018-04-06 11:07:17 +01:00
Tudor Bărăscu
499e395ab5 add mask image 2018-03-30 21:24:03 +03:00
Tudor Bărăscu
ef83d18c9b add GetMap FILTER test with multiple filters 2018-03-30 21:23:19 +03:00
Nyall Dawson
b805b60389 Test masks 2018-03-29 19:50:44 +11:00
Nyall Dawson
3f733e7061 Use a checkerboard background in svg cache tests 2018-03-29 19:50:44 +11:00
Nyall Dawson
77941442c7 When a remote SVG is requested but fails, use the missing SVG icon
as an indicator for users that something went wrong

This was previously only used for replies with incorrect mime
types or authentication errors, but it meant that an incorrect
SVG url would silently result in no symbols rendered.

Also add unit tests for fetching remote svg images
2018-03-29 19:50:44 +11:00
Nyall Dawson
44143c1bf9 Restore a disabled test for Qt5 which works OK now 2018-03-29 13:26:51 +11:00
Tudor Bărăscu
10cfca48d6 add server test for GetMap with styles and opacities
Covers https://issues.qgis.org/issues/15553 case
2018-03-09 13:20:20 +02:00
Nyall Dawson
00802e5cb2 Update test mask image 2018-03-09 13:34:40 +11:00
Nyall Dawson
454cce89f1 Don't try to render non-finite points
They occur as a result of reprojection errors, and cause a line
to be extend to the top-left of the canvas.

Fixes #9392
2018-03-06 10:26:52 +11:00
Denis Rouzaud
f7220c89c6 more test masks 2018-02-27 08:29:20 -09:00
Denis Rouzaud
eb6a216325 update test masks 2018-02-27 05:47:51 -09:00
Alessandro Pasotti
91b9a69d3e
Merge pull request #6470 from elpaso/template-convert
[layout] Automatic conversion of 2.x composition templates to layouts
2018-02-27 09:14:03 +00:00
Alessandro Pasotti
27ab59c628 Fixed mask image and docs 2018-02-27 08:46:30 +00:00
Denis Rouzaud
cc6e2d46e7 update test masks 2018-02-26 17:26:39 -09:00
Alessandro Pasotti
5fbcb8e5ed Update mask images 2018-02-26 19:37:10 +00:00
Alessandro Pasotti
02e75a7347 Update control images 2018-02-26 19:04:11 +00:00
Nyall Dawson
703898e923 Update test masks 2018-02-25 12:47:58 +11:00
Blottiere Paul
46eb6e34b2 Update mask image 2018-02-23 15:42:00 +00:00
Blottiere Paul
42ca67e3fd Add test 2018-02-23 13:51:39 +00:00
Tudor Bărăscu
fbc6e4d11d add Server DPI test 2018-02-12 10:45:03 +02:00
Nyall Dawson
16e98f205a Default to a dark gray instead of black for symbol outlines
Avoiding the very high constrast pure black results in cartographically
more pleasing styles, so it's nice to do this by default.

This should result in nicer looking maps being created in QGIS
when users don't do any manual style tweaks.
2018-02-02 15:59:13 +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
5804745326 Port more tests to layouts, drop more QgsCompositions use 2018-01-18 09:21:45 +10: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