[Tilesathome] Using "scale" parameter in style sheets

Frederik Ramm frederik at remote.org
Sun Aug 10 20:19:37 BST 2008


Hi,

    this is just a side note in case anyone ever wants to create their 
own local slippy map with their own custom styles using t at h technology.

If you change the "scale" parameter in the style sheets - currently set 
to "1" for all zoom levels - to achieve thicker/slimer roads and 
larger/smaller text and so on, everything will break ;-)

You *will* have to make sure to multiply the values given to inkscape in 
the --export-area parameter by the "scale" that you specify in the style 
file.

I thought about fixing this in the client but it would require 
pre-parsing of the rules files and make everything more difficult to 
understand for a seldom-used corner case so I didn't bother.

Bye
Frederik

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




More information about the Tilesathome mailing list