You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Despite I've compiled mapnik with SVG_RENDERER = True in the file config.py, I can't get access to the svg renderer : in python, mapnik.has_svg_renderer() returns False, an im.save('bug.svg') throws RuntimeError: unknown file type: svg and a mapnik.render_to_file(m, "image.svg") throws RuntimeError: Cairo backend not available, cannot write to format: svg. mapnik-config --cflags does return -DSVG_RENDERER.
The text was updated successfully, but these errors were encountered:
I made a mistake, I was building python-mapnik without removing the build/ directory. Now, mapnik.has_svg_renderer() returns TrueBUT I still get RuntimeError when I try to export a map in svg …
Despite I've compiled mapnik with
SVG_RENDERER = True
in the fileconfig.py
, I can't get access to the svg renderer : in python,mapnik.has_svg_renderer()
returnsFalse
, anim.save('bug.svg')
throwsRuntimeError: unknown file type: svg
and amapnik.render_to_file(m, "image.svg")
throwsRuntimeError: Cairo backend not available, cannot write to format: svg
.mapnik-config --cflags
does return-DSVG_RENDERER
.The text was updated successfully, but these errors were encountered: