As promised here is the result of my SVG generation script.
http://www.cloudengineering.nl/osmsvg/
(use ctrl +/- to zoom in/out)
I generated a single tile it contains, house numbers, street names and symbols for supermarket
It far is from finished, street names repeat for every part and are not in the middle of the road. text renders over other text that happens to be in the same place and it doesn’t wrap.
Other than that it gives me a good idea of what would be possible. I think an SVG should be seen as a graphic format not as vector tile data format. render times are very acceptable. I opened the SVG on my 3 year old OnePlus 3 and it shows instantly.
A down side from using CSS with SVG is that it has to be inline. It does not work with an
tag. so I injected it into the HTML with javascript.
My main goal was to learn about OSM data and how maps can be drawn from it.
It has been a lot of fun playing around with the tool chain.