SVG marker/point-file display issues, weird grey boxes.
Hi,
I'm trying to display svg map icons downloaded from http://www.sjjb.co.uk/mapicons/downloads.
Currently there are grey boxes appearing, seemingly, at random.

carto is:
#porto {
marker-file: url(icons/marina.svg);
marker-allow-overlap: true;
}
please instruct...
Comments are currently closed for this discussion. You can start a new one.
2 Posted by pguilford on 14 Mar, 2012 05:52 PM
might this be an issue with the icon xml, or possibly the shapefile attributes?
does anyone know of a online xml reference for beginners?
3 Posted by Matt on 19 Mar, 2012 04:11 PM
Hi,
Mapnik is sometimes finicky when it comes to rendering SVGs (https://github.com/mapnik/mapnik/issues/search?utf8=%E2%9C%93&q...). You might try loading them in a vector editor like Inkscape and re-saving them and see if that fixes anything.
Matt
Support Staff 4 Posted by Dane on 20 Mar, 2012 04:47 PM
Yes, this is a Mapnik bug. I've never seen it before because it appears that those SVG icons are using some fancy display tricks. We should support these tricks, and especially these icons (whose png versions were designed specifically for OSM mapnik rendering).
I have created a new issue upstream at the mapnik site: https://github.com/mapnik/mapnik/issues/1137.
At my comment: https://github.com/mapnik/mapnik/issues/1137#issuecomment-4599752 you can find a modified version of this svg file that should work in TileMill.
Closing.
Dane closed this discussion on 20 Mar, 2012 04:47 PM.