[OSM-dev] tilesAtHome stylesheet duplication

Robert (Jamie) Munro rjmunro at arjam.net
Tue May 1 23:51:36 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sebastian Spaeth wrote:
> I am just about to grasp how all the xslt stylesheet thingies work. What 
> strucks me as complicated though is the complete duplication of 
> stylesheets for all zoom levels. AFAIK XSLT can embed or import 
> stylesheets, right? Why wouldn't we want a common stylesheet which does 
> not change for all zoomlevels and some zoom-level specific extensions?
> 
> Would that be possible? Has it just to be done?

IMHO it would be desirable. It might not be practical, though - I don't
know. You could try merging them by running diff -D foo file1 file2 then
searching for occurrences of "foo" in the file and changing them into
some sort of include.

> On a side note, I still find that "improvements" to osmarender should 
> automatically be used by t at h, ie. symlinking standard.xml or something 
> like that.

This I definitely disagree with. t at h style should only change when a t at h
update is circulated. The whole world should be rendered the same style.
It's true that t at h development is moving very fast at the moment, so
this is irrelevant, but as t at h stabilises, we don't want the world to
start rendering different because people have updated parts of the
standard osmarender stylesheet.

Robert (Jamie) Munro
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGN8R1z+aYVHdncI0RAvI1AKChsHPN6PP/BrkezGVuhV/5KiIaagCZARQz
GYYF1p6TnFmwGvLAJqhP7Yk=
=Htxl
-----END PGP SIGNATURE-----




More information about the dev mailing list