There is also a proposal here [1] for a stroke-border attribute which
would allow this to be done is one style:
[1] http://trac.mapnik.org/ticket/51
Dane
On Jan 27, 2009, at 3:32 AM, Ed Loach wrote:
Ivo wrote:
minor-roads
minor-roads-casing
5 000
1 000
☡
([highway] = 'secondary' or [highway] = 'secondary_link') and not
([tunnel]='yes' or [tunnel]='true')
CSS:
stroke: #a37b48 stroke-dasharray: stroke-
linecap: round stroke-linejoin: round stroke-width: 17;
minor-roads-fill
5 000
1 000
☡
([highway] = 'secondary' or [highway] = 'secondary_link') and not
([tunnel]='yes' or [tunnel]='true')
CSS:
stroke: #fdbf6f stroke-dasharray: stroke-
linecap: round stroke-linejoin: round stroke-width: 14
Where is the difference between "fill" and the "casing"? The
conditions are the same, aren't they?
The conditions are the same, but if you look at the Mapnik layer
carefully at maximum zoom you will see that secondary roads have
very thin lines (the casing) along the sides of the main part (the
fill).
Ed (and forgive this horribly formatted reply – can’t work out
how to stop Outlook sticking blue lines next to my reply when I want
to reply below the original text)
_______________________________________________
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev
_______________________________________________
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev