605 Commits

Author SHA1 Message Date
Nyall Dawson
a97d335f31 Fix tests, test mask updates 2018-12-07 08:08:52 +10:00
Nyall Dawson
58219d66f8 Test mask updates 2018-12-06 09:22:50 +10:00
nirvn
c6425338ee [FEATURE] Raster image marker 2018-12-05 15:44:44 +07:00
nirvn
60442980dd Add dox comment, fix travis 2018-12-05 11:14:13 +07:00
Nyall Dawson
c1df802769 Add method to QgsImageCache to retrieve original image size 2018-12-05 11:14:13 +07:00
Nyall Dawson
84838d1ec6 [FEATURE][API] Add a content cache for raster images
This new class QgsImageCache is the equivalent of QgsSvgCache
but for raster images.

QgsImageCache stores pre-rendered resampled versions of raster
image files, allowing efficient reuse without incurring the
cost of resampling on every render.

Additionally, it offers the other benefits QgsSvgCache has,
such as thread safety, ability to transparently download remote
images, and support for base64 encoded strings.
2018-12-05 11:14:13 +07:00
Nyall Dawson
c5549bea48 Update test mask 2018-11-28 08:27:22 +10:00
Martin Dobias
d4ef55dadb
Merge pull request #8509 from wonder-sk/terrain-map-themes
[FEATURE] Optionally use a map theme to render terrain textures
2018-11-22 09:24:27 +01:00
Martin Dobias
afd3525297 Add test for terrain theme + do not use project singleton 2018-11-21 16:29:42 +01:00
Tudor Bărăscu
2cf8f74c71 test server rendering debian buster bug #18988 2018-11-16 08:49:55 +02:00
Nyall Dawson
30214538c2 [FEATURE] Add option to simple line and marker line to only
render exterior ring or interior rings

This option is shown whenever a simple line symbol or
marker line symbol is used as part of a fill symbol for
rendering polygons.

The default behavior is to render both interior and exterior
rings, but this new setting allows users to set the symbol
layer to render only for the exterior ring OR only
for interior rings.

This allows for symbolisation which wasn't directly possible
before, such as a marker line with markers for interior
rings angled toward the interior of the polygon.

Sponsored by the German QGIS User Group

Fixes #12652
2018-11-09 19:06:48 +10:00
Nyall Dawson
73d0ced5df [FEATURE] Add option to force right-hand-rule during polygon symbol rendering
This new option, available under the "Advanced" button for fill symbols,
allows forcing rendered polygons to follow the standard "right hand
rule" for ring orientation (where exterior ring is clockwise, and
interior rings are all counter-clockwise).

The orientation fix is applied while rendering only, and the original
feature geometry is unchanged.

This allows for creation of fill symbols with consistent appearance,
regardless of the dataset being rendered and the ring orientation
of individual features.

Refs #12652
2018-11-09 19:06:48 +10:00
rldhont
b64e72a89d [Bugfix][Server] Use Project selection color in GetPrint 3.4 2018-10-31 09:38:28 +01:00
rldhont
6249b07f7c
Merge pull request #8320 from rldhont/server-reactivate-print-selection-3
[Server] Reactivate the capability to print selection with Server 3.4
2018-10-26 14:23:09 +02:00
rldhont
c47c0ef7d5 [Server][Tests] Update WMS GetPrint Selection 2018-10-26 11:36:28 +02:00
Nyall Dawson
f0735d9171 Update test masks 2018-10-26 15:03:54 +10:00
rldhont
eae047e9dd [Server][Tests] Update WMS GetMap Selection
The selection color is read from the project and apply to the map.
2018-10-25 16:40:53 +02:00
Peter Petrik
b0bd629336 fix #19939: render mesh arrows also on the edge of the canvas 2018-10-25 13:16:17 +02:00
Denis Rouzaud
49e8e86029 add rendering tests for HiDPI (device pixel ratio) 2018-10-23 16:25:23 -04:00
Nyall Dawson
0f056b500a Fix line pattern fill symbol corruption with negative angles 2018-10-13 06:31:56 +10:00
Nyall Dawson
5b4ed16cf9 Fix line pattern fill offsets are always treated as positive,
even when offset is negative
2018-10-13 06:31:56 +10:00
Blottiere Paul
5496442ca1 Add mask image 2018-09-28 08:42:18 +01:00
Peter Petrik
1b82abfd87 fix test images for mesh rendering 2018-09-24 11:04:50 +02:00
Tudor Bărăscu
1955ebb7c9 server disabled test for failing getmap req with Line sld 2018-09-21 10:14:38 +03:00
Tudor Bărăscu
f125d3f792 add image mask and make travis happy 2018-09-20 20:42:13 +03:00
Tudor Bărăscu
7a9d08eddf add test for Point SLD highlight on server 2018-09-20 14:06:38 +03:00
Matthias Kuhn
195539d7d3
Merge pull request #7913 from m-kuhn/filenmode
Fix file mode
2018-09-16 15:21:47 +02:00
Matthias Kuhn
e306aaaaef
Fix file mode 2018-09-16 14:18:39 +02:00
Blottiere Paul
d30f93ffe9 Add unit tests 2018-09-13 15:32:13 +01:00
Blottiere Paul
a6b44b15b3 Add unit test for OGC filters with multiple layers 2018-09-07 05:32:58 +01:00
Blottiere Paul
34c1d7acce Add unit test for empty OGC filter 2018-09-07 05:32:58 +01:00
Peter Petrik
c89b7722a3 fix review items from Nyall 2018-09-05 09:00:30 +02:00
Peter Petrik
6ee9a47463 [mesh] [feature] allow render vectors/arrows on the user-defined grid 2018-09-03 16:31:35 +02:00
rldhont
65f4bf1956
Merge pull request #7514 from rldhont/server-cache-manager
[Server][Feature][needs-docs] Server cache manager and WMTS service
2018-08-28 18:05:42 +02:00
rldhont
2075141af9 [Server] Fixing tests 2018-08-21 15:11:51 +02:00
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
rldhont
385de9db00 [Server][Feature][needs-docs] Create WMTS service Tests 2018-08-20 11:23:50 +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