[Qgis-user] QGIS Server 1.8 getPrint returns empty map

Anita Graser anitagraser at gmx.at
Wed Feb 13 01:43:18 PST 2013


Hi,

I have a QGIS Server 1.8 instance running and trying to use getPrint.
I manage to get a PDF with the labels I created in composer and the
legend displays correctly but the map is empty (just the frame is
visible). I've posted the request below. CRS and extent should be
correct. I don't understand the width and height parameter in this
case though. Is there something obviously wrong? Should it work in
1.8? Maybe I should note that the WMS works fine in my OpenLayers web
client.

http://10.101.21.28/cgi-bin/qgis_mapserv.fcgi?MAP=/usr/lib/cgi-bin/vienna/vienna.qgs&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetPrint&TEMPLATE=Composer
1&map0:extent=16.1,48.0,16.6,48.4&BBOX=16.1,48.0,16.6,48.4&CRS=EPSG:4326&WIDTH=1467&HEIGHT=729&FORMAT=pdf&DPI=300&TRANSPARENT=true

Best wishes,
Anita



More information about the Qgis-user mailing list