Jochen<br>I've just noticed a possible problem with the <addclass> instruction in Osmarender.<br><br>The sequence in which subordinate rules are processed within an <addclass> instruction are not strictly honoured.  Consider the following example:
<br><br><addclass k="oneway" v="1|yes|true" class="oneway"><br>    <rule e="way" k="highway" v="secondary"><br>        <line class='highway-secondary' />
<br>    </rule><br>    <rule e="way" k="highway" v="primary"><br>        <line class='highway-primary' /><br>    </rule><br></addclass><br><br>Normally you would expect all secondary ways to be rendered and then all primary ways.  However, with the introduction of the <addclass> instruction the rendering order becomes:
<br><br>1 one-way secondary<br>2 one-way primary<br>3 two-way secondary<br>4 two-way primary<br><br>So when you have a two-way secondary that meets a one-way primary the rounded end of the secondary road is rendered over the primary rather than under it.
<br><br>You can see an extreme example of this here, where lots of residential roads meet a main road: <a href="http://www.informationfreeway.org/?lat=51.46575646757731&lon=-0.29377692535288097&user=80n&zoom=17&layers=0B00F00">
http://www.informationfreeway.org/?lat=51.46575646757731&lon=-0.29377692535288097&user=80n&zoom=17&layers=0B00F00</a><br><br>Any ideas about how to fix this?<br><br>Etienne<br><br>