[OSM-dev] Mapnik Q: enhance resolution?

Tom Hughes tom at compton.nu
Sun Mar 9 16:07:51 GMT 2008

In message <47D3EB34.2000701 at remote.org>
          Frederik Ramm <frederik at remote.org> wrote:

> Hi,
> > 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.
> Is that a matter of configuration or do I change something in the source
> and recompile? Which source files or documents can I read to find out
> what to do?

Well in C/C++ you just create a cairo_renderer instead of an
agg_renderer, and then pass it a Cairo::Surface object to render

As Artem said, the Python binding don't support it yet...


Tom Hughes (tom at compton.nu)

More information about the dev mailing list