[Mapbender-users] Printing 288dpi Raster layers problem [Antwort]

andreas.hundertmark at lecos-gmbh.de andreas.hundertmark at lecos-gmbh.de
Thu Feb 2 03:55:47 EST 2012

Hallo David,

Have a look at the logfiles in ...mapbender/log - Folder. Is there any 
entry in the error - log?

In the variables from printPDF you can set logRequests to true and then 
you will get an entry in the acces - logfile. 
With copy and paste open the request in a Browser und you could see the 
output from the mapserver.

I think the version 3.0 from the mapserver ist old. I use the version 6. 
so I can use the debug - function from the mapserver.

Mit freundlichen Grüßen
Andreas Hundertmark


daveyclark <dclark at tayside-vjb.gov.uk>
Mapbender_users at lists.osgeo.org
01.02.2012 15:27
[Mapbender-users] Printing 288dpi Raster layers problem
Gesendet von:
mapbender_users-bounces at lists.osgeo.org


I am having problems printing with my mapbender/mapserver GIS application. 
am using Mapbender version 2.7 and mapserver 3.0. I am using the PDF print
in mapbender when you select print and then a new window comes up which 
Download: Map as PDF... and then a pdf comes up when you click the link. 

Printing vector and raster in 72dpi works fine. However, printing in 
I am having trouble with. Firstly, I couldn't print anything in 288dpi. 
I am able to print vector layers fine as I have increased the maxsize in 
mapfile. However, I am unable to print raster layers in 288dpi, all that I
am getting in my pdf is my boundary lines, which are a vector layer over 
raster tif. As I said, if i print the same raster in 72dpi, I get the 
with the boundary lines aswell in the pdf output. 

I am thinking it may be something to do with image types. I have 
png24" defined in my wms.map and also my Metadata "wms_format" 
in the wms.map. 

When, in mapbender, I do my update wms, I get the following info: 

version: 1.1.1 
title: *** WMS Server 
abstract: This server was setup by **** and is powered by MapServer. 
gui_wms_mapformat: image/png 
gui_wms_featureinfoformat: text/html 
gui_wms_exceptionformat: application/vnd.ogc.se_inimage 
gui_wms_epsg: EPSG:27700 
wms_srs: EPSG:27700 
gui_wms_visible: 1 
gui_wms_opacity: 100 
support_sld: 1 
map -> image/tiff 
map -> image/gif 
map -> image/png 
map -> image/png; mode=24bit 
map -> image/jpeg 
map -> image/vnd.wap.wbmp 
map -> image/svg+xml 
featureinfo -> text/plain 
featureinfo -> text/html 
featureinfo -> application/vnd.ogc.gml 
exception -> application/vnd.ogc.se_xml 
exception -> application/vnd.ogc.se_inimage 
exception -> application/vnd.ogc.se_blank 

To me, this looks like it should be able to handle any kind of raster 
Is the problem that my raster's are tif's and i have IMAGETYPE png24 and a
"wms format" "image/gif" defined at the top of my wms.map file? Also, 
are these image types defined that appear when I update my wms.map? Do I
perhaps need an OUTPUTFORMAT defined in the mapfile? or is this defined

Any help would be very much appreciated. 

Many Thanks 
David Clark 

View this message in context: 

Sent from the mapbender-users mailing list archive at Nabble.com.
Mapbender_users mailing list
Mapbender_users at lists.osgeo.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapbender_users/attachments/20120202/22942810/attachment.html

More information about the Mapbender_users mailing list