<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.apple-tab-span
        {mso-style-name:apple-tab-span;}
span.anchor
        {mso-style-name:anchor;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Tahoma","sans-serif";
        color:purple;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-GB link=blue vlink=purple style='word-wrap: break-word;
-webkit-nbsp-mode: space;-webkit-line-break: after-white-space'>

<div class=Section1>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:purple'>Ivo,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:purple'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:purple'>Casing is the border of the road, whereas the fill is the colour
in the centre. You’ll see that these are two overlapping lines, with the casing
slightly wider than the fill, such that just either edge shows through once the
fill is drawn on top.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:purple'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:purple'>Cheers,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:purple'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:purple'>Gregory<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:purple'><o:p> </o:p></span></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> dev-bounces@openstreetmap.org
[mailto:dev-bounces@openstreetmap.org] <b>On Behalf Of </b>Ivo Brodien<br>
<b>Sent:</b> 27 January 2009 10:59<br>
<b>To:</b> Jon Burgess<br>
<b>Cc:</b> dev@openstreetmap.org<br>
<b>Subject:</b> Re: [OSM-dev] Are there a feature rendering rules for Mapnik?<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Hi,<o:p></o:p></p>

<div>

<div>

<p class=MsoNormal><br>
<br>
<o:p></o:p></p>

<p class=MsoNormal><span class=apple-style-span><span style='font-size:10.5pt;
font-family:"Helvetica","sans-serif";color:black'>The nicest way I know is
using some xslt from here:</span></span><span style='font-size:10.5pt;
font-family:"Helvetica","sans-serif";color:black'><br>
<span class=apple-style-span><a
href="https://lists.berlios.de/pipermail/mapnik-users/2008-June/000986.html">https://lists.berlios.de/pipermail/mapnik-users/2008-June/000986.html</a></span><br>
<br>
<span class=apple-style-span>This produces a neatly formatted page listing all
the layers, styles and</span><br>
<span class=apple-style-span>rules with min/max zooms and mouse-overs with
details of css parameters</span><br>
<span class=apple-style-span>etc.</span></span><o:p></o:p></p>

</div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

<div>

<p class=MsoNormal>I took a closer look now and it is really neat, but I don't
understand this:<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

<div>

<p class=MsoNormal>minor-roads<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span class=apple-tab-span>          </span>minor-roads-casing<span
class=apple-style-span>                  </span><o:p></o:p></p>

</div>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
 style='width:100.0%;border-collapse:collapse'>
 <tr>
  <td width=128 valign=top style='width:96.0pt;background:#F8F8F8;padding:1.5pt 1.5pt 1.5pt 1.5pt'>
  <p class=MsoNormal align=right style='text-align:right'>5 000<o:p></o:p></p>
  </td>
  <td width=96 valign=top style='width:72.0pt;background:#F8F8F8;padding:1.5pt 1.5pt 1.5pt 1.5pt'>
  <p class=MsoNormal align=right style='text-align:right'>1 000<o:p></o:p></p>
  </td>
  <td width=16 valign=top style='width:12.0pt;background:#F8F8F8;padding:1.5pt 1.5pt 1.5pt 1.5pt'></td>
  <td width=16 valign=top style='width:12.0pt;background:#F8F8F8;padding:1.5pt 1.5pt 1.5pt 1.5pt'>
  <div>
  <p class=MsoNormal align=center style='text-align:center'><span class=anchor><span
  style='font-family:"MS Mincho";color:#A37B48'>☡</span></span><o:p></o:p></p>
  </div>
  </td>
  <td width=16 valign=top style='width:12.0pt;background:#F8F8F8;padding:1.5pt 1.5pt 1.5pt 1.5pt'></td>
  <td width=16 valign=top style='width:12.0pt;background:#F8F8F8;padding:1.5pt 1.5pt 1.5pt 1.5pt'></td>
  <td width=16 valign=top style='width:12.0pt;background:#F8F8F8;padding:1.5pt 1.5pt 1.5pt 1.5pt'></td>
  <td valign=top style='background:#F8F8F8;padding:1.5pt 1.5pt 1.5pt 1.5pt'>
  <p class=MsoNormal>([highway] = 'secondary' or [highway] = 'secondary_link')
  and not ([tunnel]='yes' or [tunnel]='true')<o:p></o:p></p>
  </td>
 </tr>
</table>

<div>

<p class=MsoNormal><span class=apple-tab-span>          </span>CSS:<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span class=apple-tab-span>                      </span>stroke:
#a37b48 stroke-dasharray: stroke-linecap: round stroke-linejoin: round
stroke-width: 17;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span class=apple-tab-span>                      </span><br>
<br>
<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span class=apple-tab-span>          </span><span
class=apple-style-span>minor-roads-fill                                   </span><o:p></o:p></p>

</div>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
 style='width:100.0%;border-collapse:collapse'>
 <tr>
  <td width=128 valign=top style='width:96.0pt;background:#F8F8F8;padding:1.5pt 1.5pt 1.5pt 1.5pt'>
  <p class=MsoNormal align=right style='text-align:right'>5 000<o:p></o:p></p>
  </td>
  <td width=96 valign=top style='width:72.0pt;background:#F8F8F8;padding:1.5pt 1.5pt 1.5pt 1.5pt'>
  <p class=MsoNormal align=right style='text-align:right'>1 000<o:p></o:p></p>
  </td>
  <td width=16 valign=top style='width:12.0pt;background:#F8F8F8;padding:1.5pt 1.5pt 1.5pt 1.5pt'></td>
  <td width=16 valign=top style='width:12.0pt;background:#F8F8F8;padding:1.5pt 1.5pt 1.5pt 1.5pt'>
  <div>
  <p class=MsoNormal align=center style='text-align:center'><span class=anchor><span
  style='font-family:"MS Mincho";color:#FDBF6F'>☡</span></span><o:p></o:p></p>
  </div>
  </td>
  <td width=16 valign=top style='width:12.0pt;background:#F8F8F8;padding:1.5pt 1.5pt 1.5pt 1.5pt'></td>
  <td width=16 valign=top style='width:12.0pt;background:#F8F8F8;padding:1.5pt 1.5pt 1.5pt 1.5pt'></td>
  <td width=16 valign=top style='width:12.0pt;background:#F8F8F8;padding:1.5pt 1.5pt 1.5pt 1.5pt'></td>
  <td valign=top style='background:#F8F8F8;padding:1.5pt 1.5pt 1.5pt 1.5pt'>
  <p class=MsoNormal>([highway] = 'secondary' or [highway] = 'secondary_link')
  and not ([tunnel]='yes' or [tunnel]='true')<o:p></o:p></p>
  </td>
 </tr>
</table>

<p class=MsoNormal><span class=apple-tab-span>          </span><span
class=apple-style-span>CSS:</span><br>
<br>
<o:p></o:p></p>

<div>

<p class=MsoNormal><span class=apple-tab-span>                      </span><span
class=apple-style-span><span style='font-size:10.5pt'>stroke: #fdbf6f
stroke-dasharray: stroke-linecap: round stroke-linejoin: round stroke-width: 14</span></span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

<div>

<p class=MsoNormal>Where is the difference between "fill" and the
"casing"? The conditions are the same, aren't they?<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

<div>

<p class=MsoNormal>What do I miss here?<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

<div>

<p class=MsoNormal>Thanks<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>Ivo<o:p></o:p></p>

</div>

</div>

</div>

</body>

</html>