681 Commits

Author SHA1 Message Date
Nyall Dawson
336b603b3a Add support for more data definable properties to diagrams:
- Distance
- Priority
- ZIndex
- IsObstacle
- Show
- AlwaysShow
- Diagram Start Angle
2017-01-23 12:45:21 +10:00
Nyall Dawson
07315bfedd Add tests for data defined diagram properties 2017-01-23 12:45:21 +10:00
Nyall Dawson
4a800a13c2 Fix tests 2017-01-22 21:29:23 +10:00
rldhont
ad963e69c3 Merge pull request #3996 from jgrocha/literal
SLD parsing: handling ogc:Literal within CssParameter
2017-01-21 10:55:34 +01:00
rldhont
d1f233d083 [Server] SELECTION tests
Update GetMap SELECTION test
Add GetPrint SELECTION test

!GetPrint SELECTION has to be fixed!
2017-01-19 16:41:43 +01:00
Jorge Gustavo Rocha
65c01775f6 DDL update: saving layer styles on databases
Fix #11421
2017-01-18 20:02:48 +00:00
Nyall Dawson
9a6d714061 [FEATURE][composer] Allow choice of CRS for map items
This allows the CRS for map items to differ from the canvas/project
CRS. It also allows different map items to have different CRS,
eg an overview map can be set to a different CRS to the main map.

An unfortunate side effect of this change and the ongoing work
to separate compositions from canvas is that datum transforms
are no longer supported in composer. This cannot be fixed until
the datum transform store is rewritten to not depend on canvas
(ie, it's also broken for upcoming multi-canvas work)
2017-01-17 19:18:47 +10:00
Jorge Gustavo Rocha
5c2fec325a SLD parsing: handling ogc:Literal within CssParameter 2017-01-17 01:39:01 +00:00
Denis Rouzaud
0a63d1f2c2 [spellcheck] properly look into various cases and add more fixes" 2017-01-16 16:39:20 +01:00
Blottiere Paul
932d9fb5d3 [server] parallel map rendering 2017-01-13 09:24:31 +01:00
Denis Rouzaud
6c74e4ea5d spelling fixes 2017-01-12 22:01:50 +01:00
rldhont
bf73e2c240 [BUGFIX][Server] Re-enable Transparent and Bgcolor parameter for GetMap
Fixed #15990 wms png transparency not honoured

And add tests for transparent and bgcolor in GetMap and GetLegendGraphic
2017-01-11 09:48:10 +01:00
rldhont
3e80a52995 Revert "Merge pull request #3886 from pblottiere/servermultithread"
This reverts commit 350a2b513446462120946241cf7fb1bb67ca828b, reversing
changes made to 590a981195289be702bc7bf5382ece25a09ae6bb.
2017-01-09 14:05:28 +01:00
rldhont
350a2b5134 Merge pull request #3886 from pblottiere/servermultithread
[server] parallel map rendering
2017-01-09 13:38:04 +01:00
Alexander Bruy
12ab928e4b Merge pull request #3918 from alexbruy/processing-providers
Processing providers updates
2017-01-05 11:02:19 +02:00
rldhont
8475fc36f3 Update [QGIS Server] CITE WMS 130 Test project 2017-01-03 14:55:00 +01:00
rldhont
454df31b17 [BUGFIX][Server] WMS compliance: stretched, distort, increase, decrease
The commit d44f1eba2fed18b3fef8d8865d79b3b6d8bc4d69 seems to break some WMS 1.3.0 client and WMS compliancy.
The commit d44f1eba2fed18b3fef8d8865d79b3b6d8bc4d69 has been written to fix an issue with QGIS WMS Client and to render image like other WMS Server.

This commit has been written to fix issue introduce by d44f1eba2fed18b3fef8d8865d79b3b6d8bc4d69.
It is based on MapServer code:
* https://github.com/mapserver/mapserver/blob/master/mapdraw.c#L115
* https://github.com/mapserver/mapserver/blob/master/HISTORY.TXT#L3768

And take account of axis invertion for output CRS.
2017-01-03 14:55:00 +01:00
Blottiere Paul
f7729b3096 [server] parallel map rendering 2017-01-02 22:13:45 +01:00
Alexander Bruy
c5835e9adc [processing] fix test and menus after renaming GdalOgr provider 2016-12-31 09:09:07 +02:00
nirvn
181f84b86f [raster] move pseudocolor renderer classification out of gui into core 2016-12-27 10:16:51 +07:00
Matthias Kuhn
dbbf062e5d Fix bindings and tests 2016-12-20 01:20:08 +01:00
Matthias Kuhn
930ce545a8 Fix failing tests 2016-12-20 01:20:08 +01:00
Alexander Bruy
417a5cdba3 Merge pull request #3861 from alexbruy/svg-cleanup
clean up SVG files from unnecessary data
2016-12-15 12:48:41 +02:00
Juergen E. Fischer
a85fe1fa44 [FEATURE] DWG import into geopackage using libdxfrw 2016-12-14 22:15:15 +01:00
Alexander Bruy
81e2f87fd0 update test masks 2016-12-14 13:46:19 +02:00
rldhont
287ed2d39c Fix test for WMS 1.3. compliance: distort image if width/height ratio of bbox is different to WIDTH/HEIGHT of requested image 2016-12-13 20:10:40 +01:00
rldhont
e59bad53fb Fix test for WMS 1.3. compliance: distort image if width/height ratio of bbox is different to WIDTH/HEIGHT of requested image 2016-12-13 16:40:05 +01:00
rldhont
56633baffc [QGIS Server] CITE WMS 130 Test project
Add a project for OGC CITE WMS 130 tests
2016-12-13 13:07:51 +01:00
Mathieu Pellerin
a8b9723cbc [FEATURE] allow customization of line spacing for legend item labels (#3632)
* [FEATURE] allow customization of line spacing for legend item labels
* add test for legend line spacing and update control images
2016-12-13 12:09:13 +07:00
rldhont
7028eee198 Merge pull request #3809 from pblottiere/render
replace QgsMapRenderer
2016-12-12 14:07:37 +01:00
rldhont
29a05dfa9c Adapt WFS capabilties in server test for WMS 1.3.0 compliance 2016-12-12 14:06:14 +01:00
Blottiere Paul
8cda1bbb79 fix getLegendGraphics when BBox parameter is used 2016-12-12 08:16:18 +01:00
Blottiere Paul
f3a5c98178 remove QgsMapRenderer 2016-12-12 07:50:22 +01:00
Alessandro Pasotti
3ec5f92f0f Replaced the expired SSL certificate and re-enabled OWS PKI test 2016-12-05 10:31:10 +01:00
Marco Hugentobler
e6d4010eb6 Adapt expected capabilities / project settings response in server test for WMS 1.3.0 compliance 2016-12-01 10:30:04 +01:00
Alessandro Pasotti
a0e0fcf9a9 [tests] WMS/WFS PKI authentication test 2016-11-04 12:09:57 +01:00
Nyall Dawson
9a2ca1cebd Merge pull request #3673 from nyalldawson/constraints
[FEATURE] Improved constraint handling, pt 1
2016-11-04 10:34:15 +10:00
nirvn
769c82b579 [pal] fix curved labels failure with zero-width characters
(fixes 15801)
2016-11-03 13:35:51 +07:00
Nyall Dawson
d1fd588499 Add method to fetch constraints from a vector data provider
Implemented for unique and not null constraints for postgres
provider
2016-11-02 11:07:07 +10:00
Martin Dobias
b798040040 Fixed legend renderer expected images 2016-11-01 11:41:23 +08:00
Nyall Dawson
a5356011fc Test masks 2016-10-24 12:02:00 +10:00
Nyall Dawson
08143475ed [FEATURE] QgsTextRenderer class for rich text rendering
Moves all the drawing code out of labeling into a new class
which just handles rendering text. This allows other parts
of the code to utilise all the advanced formatting options
that labeling supports, eg rendering text with shadows,
buffers and backgrounds.
2016-10-24 12:02:00 +10:00
nirvn
455874258c [legend] insure multi-line labels are vertically centered with tall symbols 2016-10-19 10:02:43 +07:00
rldhont
a51ef42924 [BUGFIX][QGIS Server] GetLegendGraphic: if LAYERTITLE is false disable layer name in legend
If the layer has only one legend node, it is embedded in parent.
In QGIS Server the user can specify no layer title, so the layer title has not be displayed.
2016-10-18 12:17:45 +02:00
Nyall Dawson
a6148deb30 [FEATURE] Data defined symbol layer visibility
Adds a data defined override to control a symbol layer's
visibility. Allows users to disable drawing certain symbol layers
for matching features.
2016-10-18 13:22:22 +10:00
Nyall Dawson
b8c2e68fc5 [FEATURE] Allow symbol layers to be temporarily disabled
Adds a new checkbox at the bottom of each symbol layer's
properties which allows you to control whether the layer is
enabled or not.

Disabled layers are not drawn, but are saved and can be
enabled at a later stage.

This makes it easier to tweak symbol appearance without
having to totally delete a symbol layer.
2016-10-18 13:22:22 +10:00
nirvn
ec2d7fea0c [FEATURE] control over drawing of composer table grid horizontal & vertical lines 2016-10-14 13:20:59 +07:00
Nyall Dawson
ddfe91f763 Fix @geometry_point_num and @geometry_point_count for marker lines
Fixes #15673
2016-10-10 19:53:15 +10:00
Nyall Dawson
748d8acddb Fix first marker is drawn twice for marker line interval mode 2016-10-10 19:53:15 +10:00
Juergen E. Fischer
daf8f7a244 fix PyQgsAppStartup (followup d9349e5) 2016-10-06 15:54:27 +02:00