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

SteveC steve at asklater.com
Sun Oct 22 21:41:10 BST 2006


I think that if mikel has time to write up a post mortem of his nestoria
google tiles generation...

...then a WMS server could be written which accepts arbitrary requests.
If there's no tile available then it renders just lines (very quick) and
puts the request in a database. Then osm at home-like things could ask the
tile server what it wants rendered. They could render this (as a cool
screensaver maybe, or just in the background) and upload it to the tile
server so the next time, that tile is returned.

Squid would handle the cache expiration and so newer versions of tiles
would be generated according to whatever scheme squid used to forget
tiles.

Oh and I'm hacking on tile at the moment if anyone wonders why it's
spitting out garbage.

Food for thought.

* @ 22/10/06 12:48:59 PM openstreetmap at gagravarr.org wrote:
> 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
> 
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

have fun,

SteveC steve at asklater.com http://www.asklater.com/steve/




More information about the dev mailing list