<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
To answer my own question: PDF output is supported but raster layers are rendered as JPG and not PNG.
<div><br>
</div>
<div>Would it be possible to render raster layers with a lossless image compression for better quality? I guess Mapfish Print still has its place because it supports nice marginalia. However, with PDF output support I would suspect Mapserver to be a lot quicker
because it has direct access to the spatial db. </div>
<div><br>
</div>
<div>Wouldn't it be possible to request a PDF from Mapserver and then simply draw it onto another PDF with the marginalia around it? That would mean speed AND nicely formatted output.</div>
<div><br>
</div>
<div>Regards,</div>
<div>Tim<br>
<br>
<div class="gmail_quote">On Tue, Jul 24, 2012 at 11:09 PM, Tim-Hinnerk Heuer <span dir="ltr">
<<a href="mailto:heuert@landcareresearch.co.nz" target="_blank">heuert@landcareresearch.co.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Thomas,
<div><br>
</div>
<div>Does Mapserver support PDF output? What about marginalia?</div>
<div><br>
</div>
<div>Regards,</div>
<div>Tim
<div>
<div class="h5"><br>
<br>
<div class="gmail_quote">On Tue, Jul 24, 2012 at 10:11 PM, thomas bonfort <span dir="ltr">
<<a href="mailto:thomas.bonfort@gmail.com" target="_blank">thomas.bonfort@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The pdf is problably generated at 72 dpi, i.e. approx 28 pixels/cm<br>
<br>
1000 pixels / (28 pixels/cm) = 35.71 cm, i.e. with rounding occuring<br>
close to your 352 mm.<br>
<br>
reagrds,<br>
thomas<br>
<div>
<div><br>
On Tue, Jul 24, 2012 at 12:06 PM, Sven Geggus<br>
<<a href="mailto:lists@fuchsschwanzdomain.de" target="_blank">lists@fuchsschwanzdomain.de</a>> wrote:<br>
> Hello,<br>
><br>
> for PDF generation I would usually like to output Data in Papersizes (A3,<br>
> A4, ...) but in shp2img or CGI Interface I can only specify pixels.<br>
><br>
> How does this size correspond to the size shown in acrobat reader?<br>
><br>
> If I take 1000 Pixels this will result in 352.8mm<br>
><br>
> Where does this factor of 2.838 originate from?<br>
><br>
><br>
> Regards<br>
><br>
> Sven<br>
><br>
> --<br>
> .. this message has been created using an outdated OS (UNIX-like) with an<br>
> outdated mail- or newsreader (text-only) :-P<br>
><br>
> /me is giggls@ircnet, <a href="http://sven.gegg.us/" target="_blank">http://sven.gegg.us/</a> on the Web<br>
> _______________________________________________<br>
> mapserver-users mailing list<br>
> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">
http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
</div>
</div>
<span class="HOEnZb"><font color="#888888">-- <br>
Tim-Hinnerk Heuer
<div><br>
<div>Web Developer</div>
<div>Landcare Research (<a href="http://www.landcareresearch.co.nz" target="_blank">http://www.landcareresearch.co.nz</a>)</div>
</div>
<div>Informatics (<a href="http://wiki.zen.landcareresearch.co.nz" target="_blank">http://wiki.zen.landcareresearch.co.nz</a>)</div>
<div>Ph: <a href="tel:%2B64%206%20353%204872" value="+6463534872" target="_blank">
+64 6 353 4872</a></div>
<br>
</font></span></div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
Tim-Hinnerk Heuer
<div><br>
<div>Web Developer</div>
<div>Landcare Research (<a href="http://www.landcareresearch.co.nz" target="_blank">http://www.landcareresearch.co.nz</a>)</div>
</div>
<div>Informatics (<a href="http://wiki.zen.landcareresearch.co.nz" target="_blank">http://wiki.zen.landcareresearch.co.nz</a>)</div>
<div>Ph: +64 6 353 4872</div>
<br>
</div>
<br>
<hr>
<font face="Arial" color="Green" size="1">Please consider the environment before printing this email<br>
Warning: This electronic message together with any attachments is confidential. If you receive it in error: (i) you must not read, use, disclose, copy or retain it; (ii) please contact the sender immediately by reply email and then delete the emails.<br>
The views expressed in this email may not be those of Landcare Research New Zealand Limited. http://www.landcareresearch.co.nz<br>
</font>
</body>
</html>