Thanks Dane,<br>I'll go and sort out a 300dpi style sheet for my printed output, and add some info to your trac ticket.<br><br>Graham.<br><br><div class="gmail_quote">On 8 February 2010 04:21, Dane Springmeyer <span dir="ltr"><<a href="mailto:blake@hailmail.net">blake@hailmail.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="word-wrap: break-word;"><div><div><div class="im"><div>On Feb 6, 2010, at 11:48 AM, Graham Jones wrote:</div>
<br><blockquote type="cite"><div>Hi,</div> <div>My apologies - this is probably more of a Mapnik question than an OSM one, but I am using the OSM stylesheet, so I hope someone knows the answer!</div> <div> </div> <div>I am working on a little application to generate PDF map output with points of interest highlighted (ie to produce a 'restaurant guide' or 'tourist attractions guide' for an area) (<a href="http://www.townguide.webhop.net/" target="_blank">http://www.townguide.webhop.net</a>).</div>
 <div> </div> <div>If I select my map size to give 100 dpi resolution, the text size looks ok, but the output is a bit fuzzy (because it is only 100dpi).  If I increase the resolution to 300dpi by increasing the number of pixels I tell mapnik to use the text size reduces (or maybe it stays the same in pixels, but is smaller because I am printing at higher resolution) and it is no easier to read - it looks like mapnik uses a different zoom level because extra detail appears that I do not really want.</div>
 <div>For examples please see <a href="http://www.townguide.webhop.net/output/73/townguide_poster.pdf" target="_blank">http://www.townguide.webhop.net/output/73/townguide_poster.pdf</a> and <a href="http://townguide.webhop.net/output/72/townguide_poster.pdf" target="_blank">http://townguide.webhop.net/output/72/townguide_poster.pdf</a> for the 100 and 300 dpi versions respectively.</div>
 <div> </div> <div>Is there a way to tell mapnik what output resolution I want so that the font sizes, road widths etc. come out correct at different resolutions, </div></blockquote><div><br></div></div>Coming soon (likely will land by the next minor release - Mapnik 0.8.0):</div>
<div><br></div><div><a href="http://trac.mapnik.org/ticket/343" target="_blank">http://trac.mapnik.org/ticket/343</a></div><div><div class="im"><br><blockquote type="cite"><div>or will I have to re-process the style sheet for different resolutions?.<br clear="all">
</div></blockquote><div><br></div></div>Yes, thats the recommended workaround for now. Holger (<a href="http://www.ancalime.de/" target="_blank">http://www.ancalime.de/</a>) had a ruby script to do this that might be useful.</div>
<div><div class="im"><br><blockquote type="cite"><div> </div> <div>Any pointers would be appreciated please!</div></blockquote><div><br></div></div>It would be great if you would attach sample images, with the bbox used to generate them, along with any comments to that ticket. Once it rises to a high enough priority to revise work on... the more examples for testing the better.</div>
<div><br></div><font color="#888888"><div>Dane</div><div><br></div></font></div></div></blockquote></div><br><br clear="all"><br>-- <br>Dr. Graham Jones<br>Hartlepool, UK<br>email: <a href="mailto:grahamjones139@gmail.com">grahamjones139@gmail.com</a><br>