On 9 Mar 2008, at 09:31, Tom Hughes wrote: > In message <[EMAIL PROTECTED]> > Frederik Ramm <[EMAIL PROTECTED]> wrote: > >> I have Mapnik set up and it's generating the image I want fine. >> However, I would now like to double the resolution without any >> change in >> the image, i.e. I want the bitmap to look exactly the same in print, >> just with smoother fonts etc. > > Why not use the cairo backend instead of the agg backend. Then you > can render to SVG or PDF and scale it to whatever size you like and > get a smooth result.
Yes, cairo_renderer is great for print ready maps. > > The only problem will be icons (pubs, churchs, etc) which are bitmap > sources and hence will get blocky if you scale them too much. > Vector based symbols are on my TODO list. Should we aim to support SVG (ie. tiny profile) ? Or something simpler like filled/stroked paths would suffice ? Main problem with cairo - it is not reflected in Python bindings, yet. Should we have something like : agg = agg_renderer(m, im) agg.render() cairo = cairo_renderer(m,im) cairo.render() Ideas? > -- > Tom Hughes ([EMAIL PROTECTED]) > http://www.compton.nu/ > Cheers Artem > _______________________________________________ > dev mailing list > dev@openstreetmap.org > http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev _______________________________________________ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev