artemp/trac2github — Issue #682: SVG rasterising goes a bit nuts some times
Author: artemp
Created: 2011-10-09 20:46:51+00:00
State: open
Labels: Agg_Renderer

I have an SVG file that renders with artefacts (bank1.svg and bank1.png). I noticed in Inkscape that at the location of the artefacts there are nodes on top of one another, so maybe there's a maths error going on there with zero-length edges.

However, when I move the duplicated nodes to one side by a small amount (bank2.svg bank2.png) mapnik goes completely nuts and the contents of the icon end up rendered all over the place.

I've checked the .svg files in Inkscape, Firefox, Chrome and the Gimp, and they all render it similarly, although I don't know if those four share an SVG library.

These are rendering to a png output using generate_image.py. Mapnik trunk r2427