[OSM-dev] Static tile generation using xalan and batik?

Nick Burch openstreetmap at gagravarr.org
Sun Oct 22 12:48:59 BST 2006


On Sun, 22 Oct 2006, Nick Whitelegg wrote:
> The two key steps are XSLT transformation of .osm data to SVG, then
> transformation of SVG to PNG. The former can be accomplished with xalan, the
> latter with Batik.

I've never had much luck with getting Batik to produce sensible PNGs. I've 
always gone with inkscape, which does seem to do a good job, and is 
available for linux and windows

> Thus it seems (as long as people are happy with using a Java-based 
> solution) a command-line application, or a pair of command-line 
> applications run through a shell script, could be developed to automate 
> all this - including upload to a server.

It wouldn't be too hard to change the osm at home script to work on windows 
too (though windows users would need to install perl)

Nick




More information about the dev mailing list