[Tilesathome] Using "scale" parameter in style sheets
Matthias Julius
lists at julius-net.net
Mon Aug 11 14:53:04 BST 2008
Frederik Ramm <frederik at remote.org> writes:
> 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 ;-)
I was considering to make orp.pl understand a --scale option. Then
tilesGen.pl would be in control of it as well as the Inkscape
parameters. Didn't know there is a "scale" parameter in the style
sheets...
>
> 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.
Correct me if I am talking stupid stuff. Inkscape knows a
--export-area-canvas option. Could or/p set the canvas size? Then
the client wouldn't need to know.
Matthias
More information about the Tilesathome
mailing list