Hi all,

I'm puzzled with two possible issues in QGIS Server 2.18.10 (actually
one of the two is Desktop related) and would like some feedback.

1) any try to print via getprint a layout that contains a text box
(html or not) returns a "Internal Server Error", I have seen this on
QGIS Server installed on Windows but also on my QGIS Server
installation on Ubuntu Desktop. As soon as I switch to 2.14.16 it
works as expected


2) was the option "none" for the "map" option of a legend object in
print composer removed on purpose from 2.18(.10)? I still see it in
2.14.16 and it was *very important* to get "fixed" legends -via
GetPrint- in QGIS Server. If it was removed by design I suppose there
is another way to achieve that in 2.18... some can point me to it? If
the option was just removed and I'm not missing anything then now via
GetPrint is not possible to have layouts printed with "fixed" legends
(the layer name appears, not its symbology class/es).

see the following two examples.

The first is the result of a getprint from a project saved within 2.14
where the legend option "map" was set to "none"

https://www.dropbox.com/s/f1jtr2i8qfbm5sw/qgis_server_with_none_option.pdf?dl=0

The second is the result of a getprint from a project saved within
2.18 where the legend option "map" was set to "map0" because there is
no "none" option (or within 2.14 setting always the option to "map0")

https://www.dropbox.com/s/svgbmx8sor7jjuz/qgis_server_without_none_option.pdf?dl=0

both requests were made via QGIS Server 2.18 using a project with
several layers but actually only one was added in the request (using
Lizmap demo project here if anyone is interested):

http://localhost/cgi-bin/qgis_mapserv.fcgi?map=/path/to/my/project.qgs&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetPrint&FORMAT=pdf&TRANSPARENT=true&SRS=EPSG:3857&DPI=100&TEMPLATE=Landscape%20A4&map0:extent=420232.0463583274,5395327.438198717,443932.6162906727,5414427.897511283&map0:scale=100000&map0:LAYERS=points%20of%20interest&LAYERS=points%20of%20interest


thanks for your feedback

cheers

-- G --
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to