15 Commits

Author SHA1 Message Date
Nyall Dawson
dd27f72b0e Convert doxygen \throws to Sphinx :raises: syntax in sipify 2019-08-14 06:45:54 +10:00
rldhont
98235eb46b [Bugfix][Server] QGIS Server removes empty string in style parameter even if it describes default style
In OGC WMS standard, the empty string represents the default style.

QGIS Server when it parses the parameters, QGIS Server when it parses parameters it removes empty parts.
When all requested styles are default ones it's equal to an empty parameter STYLE, as defined in the standard.
When only one layer is requested, there is no issue with custom or default style.
When multiple layers are requested and some with custom styles, because QGIS Server does not retain empty strings, it loses the layer / style match.

To fix it, keeps empty parts for not empty styles parameters.
2019-04-05 09:29:21 +02:00
Nyall Dawson
b6d66becab Sipify 2019-02-27 09:41:11 +10:00
Blottiere Paul
0a76d7c108 Fixes unit tests 2019-02-26 08:24:37 +00:00
rldhont
c15f05b4c9 [Bugfix][Server] Add WMS SLD parameter support
Fixed #19795 QGIS Server 3 / WMS: the SLD parameter support has been removed

To reactivate SLD parameter support, we add a new conversion capability in server parameter `toUrl`. And the capabilty to load the content associted to an URL.

Then if the SLD parameter is defined, the content is loaded and the SLD_BODY is set.
2018-09-27 21:08:33 +02:00
Blottiere Paul
e48de2048a Fix doc 2018-07-23 08:07:08 +01:00
Blottiere Paul
fb75580b65 Add doc for QgsServerParameterDefinition 2018-07-23 08:07:08 +01:00
Blottiere Paul
3e00b10cc2 Update doc for QgsServerParameters and QgsServerParameter 2018-07-23 08:07:07 +01:00
Blottiere Paul
ffddc9a015 Update doc for QgsServerParameters 2018-07-23 08:07:07 +01:00
Blottiere Paul
7b32f8c61b Add virtual default destructors 2018-07-23 08:07:07 +01:00
Blottiere Paul
555b9471b2 Update sip binding 2018-07-23 08:07:07 +01:00
Blottiere Paul
6e1f14bd9e Fix sip binding 2018-07-23 08:07:07 +01:00
Blottiere Paul
683975c74e Add a layoutParameter method to search in unmanaged parameters 2018-07-23 08:07:07 +01:00
Blottiere Paul
a946c528c4 Update sip binding 2018-07-23 08:07:07 +01:00
Blottiere Paul
950f7d7d35 Update sip 2018-07-23 08:07:07 +01:00