[OSM-dev] Mapnik Q: enhance resolution?
Tom Hughes
tom at compton.nu
Wed Mar 12 00:41:11 GMT 2008
In message <6F7BBD13-FF02-4A41-B0B9-C3896CF92524 at gmail.com>
Artem Pavlenko <artem.mapnik at googlemail.com> wrote:
> On 9 Mar 2008, at 10:42, Tom Hughes wrote:
>
> >> 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?
> >
> > I did look at this briefly - one issue is whether to wrap the cairo
> > surface object that is passed to the renderer using boost::python as
> > for everything else, or to use the existing cairo python bindings.
>
> Good point. How about supporting both?
Well after several days doing battle with boost::python I seem to
have something that works (requires the Pycairo python bindings for
cairo) so I just committed python bindings for cairo rendering.
Tom
--
Tom Hughes (tom at compton.nu)
http://www.compton.nu/
More information about the dev
mailing list