[Tilesathome] Osmarender colours and stylesheets

Matthias Julius lists at julius-net.net
Thu Aug 7 22:06:10 BST 2008


"Jiri Klement" <jiri.klement at gmail.com> writes:

>>
>> I think it would be great if pixels in style definitions would
>> represent rendered pixels and not be scaled after rendering.  This
>> would simplify designing styles and probably avoid the need for having
>> a seperate style for every zoom level.
>
> Stylesheets are a bit confusing but it seems that pixels in
> stylesheets actually represent rendered pixels. Even if I'm wrong,
> global transformation can be defined for svg file so 1 unit = 1
> rendered pixel.

This is not as used in osmarender.  Line widths get smaller for higher
zoom levels, often by factor 0.5 resulting in the same rendered width.

What is a pixel in SVG anyway?

Matthias




More information about the Tilesathome mailing list