I'm using osmarender (well - actually tilesAtHome) to build a cycle oriented map.<br><br>So far I have greyed out all the roads to make them less prominent. I would like to add color: red to any highways with a route=ncn tag
<br><br>I'm just looking at the addclass statement in osmarender, but I'm a little unsure - can anyone see if the following makes sense?<br><br><addclass k="route" v="ncn" class="route-ncn">
<br>                        <rule e="segment|way" k="highway" v="primary"><br>                            <line class='highway-core highway-primary-core' /><br>                        </rule>
<br>                        <rule e="segment|way" k="highway" v="secondary"><br>                            <line class='highway-core highway-secondary-core' /><br>                       </rule>
<br>...<br></addclass><br><br>I'm also unsure, if it does add the class, what will take precedence  e.g. highway-primary-core (color: #c0c0c0;) or route-ncn (color: red;) ?<br><br>If anyone has a good osmarender rule set for cycling that would help..!
<br><br>Also, I'm very new to this xsl / svg stuff, so any tips on debugging would be really, really usefull.<br><br>cheers,<br><br>mike<br><br>