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
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
The text was updated successfully, but these errors were encountered:
[thjc] I think this is caused by a relative move command (m) in the path after a close command (z). I think the path parsing code doesn't actually reset the cursor to the start of the path after a close event so the next polygon is incorrectly drawn relative to the last point instead of the start of the last polygon.
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
The text was updated successfully, but these errors were encountered: