[Mapbender-users] Printing 288dpi Raster layers problem

daveyclark dclark at tayside-vjb.gov.uk
Wed Feb 1 09:27:36 EST 2012


I am having problems printing with my mapbender/mapserver GIS application. I
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 says
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 288dpi
I am having trouble with. Firstly, I couldn't print anything in 288dpi. Now,
I am able to print vector layers fine as I have increased the maxsize in the
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 my
raster tif. As I said, if i print the same raster in 72dpi, I get the raster
with the boundary lines aswell in the pdf output. 

I am thinking it may be something to do with image types. I have "IMAGETYPE
png24" defined in my wms.map and also my Metadata "wms_format" "image/gif",
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 layer.
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, where
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: http://osgeo-org.1560.n6.nabble.com/Printing-288dpi-Raster-layers-problem-tp4356479p4356479.html
Sent from the mapbender-users mailing list archive at Nabble.com.

More information about the Mapbender_users mailing list