[Tilesathome] Osmarender colours and stylesheets

Frederik Ramm frederik at remote.org
Fri Aug 8 08:31:00 BST 2008


Hi,

> I think symbols used to be shared. There is a feature in osmarender  
> that lets you set a directory where the icons are separate files that  
> all get mashed together in the resulting svg.

In Osmarender4, Jochen had made an effort to put all symbols into an 
external directory and also make them all the same scale etc., even 
providing a demo svg that would pull them all in for easy viewing, but 
somehow this got lost in later versions and symbols are now back in the 
rules files themselves; don't know what need triggered that but a trip 
back through subversion might unearth these features.

> Frederik: I think I saw something about this not being implemented in  
> or/p? If not it shouldn't be too hard to fix, you can probably find  
> examples of how this used to be done by looking at some fairly old svn  
> revisions.

Yes, there was a bit of code in the SVG that I did not understand and 
that wasn't obviously used. Maybe one can even produce .svg files that 
simply href external symbols?

> It might also be possible to minimize the changes needed between  
> zoomlevels by playing with the scale parameter (and then also  
> adjusting every other parameter), but I'm really not sure how that  
> work so I might be talking nonsense there.

I think the latter is the case ;-), as using scale will make rendering 
look very different.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"




More information about the Tilesathome mailing list