Many problems again. I can not decode getPrint response of png image
bytearray. Is there a particular decode method?
Thanks again
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/Qgis-server-getPrint-problems-tp5023188p5023209.html
Sent from the Quantum GIS - User mailing
Hi Marco,
thank you for your reply. I solved changing FORMAT output (in getPrint
request) from "pdf" to "png". So i have only to convert the output image to
pdf before sending file to client.
If someone uses qgis-web-client the code to modify is the following:
In WebgisInit.js file:
- Define v
Hi Mirko
For svg fill, line pattern fill and point fill, Qt needs an x-server for
printing to pdf (therefore the crash).
Two workarounds are possible:
- Print composition as raster (in that case, the whole content is
printed to a QImage first)
- Run an x-server on the server machine.
Regards
I have some issues printing my map using getPrint service. If i use a simple
symbol it works fine, but if i use composed symbol i get "Internal server
error" after doing print request.
Correct code of symbols: