[mapserver-users] Invalid pdf file from WMS

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Wed Aug 17 09:40:16 EDT 2011


Hi,

This request from Mapserver 6.0 gives me a nice pdf file:
http://188.64.1.61/cgi-bin/osm-mapserver_i?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&WIDTH=864&HEIGHT=662&LAYERS=default&TRANSPARENT=TRUE&FORMAT=application/x-pdf&BBOX=3409763.750050978,6956187.032331026,3411904.266676571,6957827.104097395&SRS=EPSG:2393&STYLES=

However, if I double the bounding box the resulting pdf cannot be opened by Acrobat reader.
http://188.64.1.61/cgi-bin/osm-mapserver_i?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&WIDTH=1728&HEIGHT=1324&LAYERS=default&TRANSPARENT=TRUE&FORMAT=application/x-pdf&BBOX=3409763.750050978,6956187.032331026,3411904.266676571,6957827.104097395&SRS=EPSG:2393&STYLES=

The latter gives fine image with format=image/png. Any idea about what is going wrong?

-Jukka Rahkonen-


More information about the mapserver-users mailing list