artemp/mapnik — Issue #726: nik2img stdout only supports PNG?
Author: artemp
Created: 2011-10-11 16:33:45+00:00
State: open
Labels: Agg_Renderer

This works (SVG to file):

nik2img.py my.mml out.svg --srs 900913 --bbox -89.27 42.82 -88.4 41.60 -v --aspect-fix-mode=SHRINK_CANVAS -d 600 600 -f svg

So does this (PNG to stdout):

nik2img.py my.mml - --srs 900913 --bbox -89.27 42.82 -88.4 41.60 -v --aspect-fix-mode=SHRINK_CANVAS -d 600 600 -f png

But not this (SVG to stdout):

nik2img.py my.mml - --srs 900913 --bbox -89.27 42.82 -88.4 41.60 -v --aspect-fix-mode=SHRINK_CANVAS -d 600 600 -f svg

With error

RuntimeError: unknown filetype: svg

Using nik2img 0.7.0 and mapnik 0.7.1.