[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

www.lecos-gmbh.de 




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



Hi 

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: 

id: 
version: 1.1.1 
title: *** WMS Server 
abstract: This server was setup by **** and is powered by MapServer. 
maprequest:
http://****/cgi-bin/mapserv.exe?MAP=p:/ms4w/apps/tutorial/htdocs/wms.map& 
capabilitiesrequest:
http://****/cgi-bin/mapserv.exe?MAP=p:/ms4w/apps/tutorial/htdocs/wms.map& 
featureinforequest:
http://****/cgi-bin/mapserv.exe?MAP=p:/ms4w/apps/tutorial/htdocs/wms.map& 
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
elsewhere? 

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.
_______________________________________________
Mapbender_users mailing list
Mapbender_users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapbender_users


-------------- 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