Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
<Style name="roads-casing">
<!-- zoom 11 -->
<Rule>
&maxscale_zoom11;
&minscale_zoom11;
<Filter>[highway] = 'motorway' or [highway] = 'trunk'</Filter>
<LineSymbolizer stroke="black" stroke-width="5" />
</Rule>
<Rule>
&maxscale_zoom11;
&minscale_zoom11;
<Filter>[highway] = 'motorway_link' or [highway] = 'trunk_link'</Filter>
<LineSymbolizer stroke="black" stroke-width="3" />
</Rule>
<Rule>
&maxscale_zoom11;
&minscale_zoom11;
<Filter>([highway] = 'primary_link' or [highway] = 'secondary' or [highway] = 'tertiary' or [highway] = 'tertiary_link')</Filter>
<LineSymbolizer stroke="black" stroke-width="2" />
</Rule>
<Rule>
&maxscale_zoom11;
&minscale_zoom11;
<Filter>[highway] = 'primary'</Filter>
<LineSymbolizer stroke="black" stroke-width="3.5" />
</Rule>
<Rule>
&maxscale_zoom11;
&minscale_zoom11;
<Filter>[highway] = 'secondary_link'</Filter>
<LineSymbolizer stroke="black" stroke-width="1.7" />
</Rule>
<!-- zoom 12 -->
<Rule>
&maxscale_zoom12;
&minscale_zoom12;
<Filter>[highway] = 'motorway'</Filter>
<LineSymbolizer stroke="black" stroke-width="6" />
</Rule>
<Rule>
&maxscale_zoom12;
&minscale_zoom12;
<Filter>[highway] = 'trunk'</Filter>
<LineSymbolizer stroke="black" stroke-width="4.8" />
</Rule>
<Rule>
&maxscale_zoom12;
&minscale_zoom12;
<Filter>[highway] = 'primary'</Filter>
<LineSymbolizer stroke="black" stroke-width="3.5" />
</Rule>
<Rule>
&maxscale_zoom12;
&minscale_zoom12;
<Filter>[highway] = 'motorway_link'</Filter>
<LineSymbolizer stroke="black" stroke-width="3.3" />
</Rule>
<Rule>
&maxscale_zoom12;
&minscale_zoom12;
<Filter>[highway] = 'secondary' or [highway] = 'trunk_link'</Filter>
<LineSymbolizer stroke="black" stroke-width="3" />
</Rule>
<Rule>
&maxscale_zoom12;
&minscale_zoom12;
<Filter>[highway] = 'primary_link'</Filter>
<LineSymbolizer stroke="black" stroke-width="2.5" />
</Rule>
<Rule>
&maxscale_zoom12;
&minscale_zoom12;
<Filter>[highway] = 'tertiary' or [highway] = 'tertiary_link'</Filter>
<LineSymbolizer stroke="black" stroke-width="2.2" />
</Rule>
<Rule>
&maxscale_zoom12;
&minscale_zoom12;
<Filter>[highway] = 'secondary_link'</Filter>
<LineSymbolizer stroke="black" stroke-width="2" />
</Rule>
<Rule>
&maxscale_zoom12;
&minscale_zoom12;
<Filter>[highway] = 'unclassified'</Filter>
<LineSymbolizer stroke="black" stroke-width="0.6" />
</Rule>
<Rule>
&maxscale_zoom12;
&minscale_zoom12;
<Filter>([highway] = 'track') and ([tracktype] = 'grade1')</Filter>
<LineSymbolizer stroke="black" stroke-width="0.5" />
</Rule>
<Rule>
&maxscale_zoom12;
&minscale_zoom12;
<Filter>[highway] = 'residential' or [highway] = 'road' or [highway] = 'living_street' or [highway] = 'pedestrian'</Filter>
<LineSymbolizer stroke="black" stroke-width="0.4" />
</Rule>
<!-- zoom 13 -->
<Rule>
&maxscale_zoom13;
&minscale_zoom13;
<Filter>[highway] = 'motorway'</Filter>
<LineSymbolizer stroke="black" stroke-width="7" />
</Rule>
<Rule>
&maxscale_zoom13;
&minscale_zoom13;
<Filter>[highway] = 'trunk'</Filter>
<LineSymbolizer stroke="black" stroke-width="5.9" />
</Rule>
<Rule>
&maxscale_zoom13;
&minscale_zoom13;
<Filter>[highway] = 'motorway_link' or [highway] = 'primary' or [highway] = 'secondary'</Filter>
<LineSymbolizer stroke="black" stroke-width="4" />
</Rule>
<Rule>
&maxscale_zoom13;
&minscale_zoom13;
<Filter>[highway] = 'tertiary'</Filter>
<LineSymbolizer stroke="black" stroke-width="3.3" />
</Rule>
<Rule>
&maxscale_zoom13;
&minscale_zoom13;
<Filter>[highway] = 'trunk_link' or [highway] = 'primary_link' or [highway] = 'secondary_link' or [highway] = 'tertiary_link'</Filter>
<LineSymbolizer stroke="black" stroke-width="3" />
</Rule>
<Rule>
&maxscale_zoom13;
&minscale_zoom13;
<Filter>[highway] = 'unclassified'</Filter>
<LineSymbolizer stroke="black" stroke-width="2.9" />
</Rule>
<Rule>
&maxscale_zoom13;
&minscale_zoom13;
<Filter>[highway] = 'residential' or [highway] = 'road' or [highway] = 'living_street' or [highway] = 'pedestrian'</Filter>
<LineSymbolizer stroke="black" stroke-width="2.6" />
</Rule>
<Rule>
&maxscale_zoom13;
&minscale_zoom13;
<Filter>[highway] = 'service'</Filter>
<LineSymbolizer stroke="black" stroke-width="1.6" />
</Rule>
<Rule>
&maxscale_zoom13;
&minscale_zoom13;
<Filter>[highway] = 'track' and [tracktype] = 'grade1'</Filter>
<LineSymbolizer stroke="black" stroke-width="1.2" />
</Rule>
<Rule>
&maxscale_zoom13;
&minscale_zoom13;
<Filter>([highway] = 'track' and [tracktype] = 'grade2') or [highway] = 'cycleway' or ([highway] = 'path' and [surface] = 'asphalt')</Filter>
<LineSymbolizer stroke="black" stroke-width="0.5" />
</Rule>
<Rule>
&maxscale_zoom13;
&minscale_zoom13;
<Filter>[highway] = 'raceway'</Filter>
<LineSymbolizer stroke="black" stroke-width="3.5" />
</Rule>
<!-- zoom 14 -->
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>[highway] = 'motorway'</Filter>
<LineSymbolizer stroke="black" stroke-width="8.5" />
</Rule>
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>[highway] = 'trunk'</Filter>
<LineSymbolizer stroke="black" stroke-width="7.5" />
</Rule>
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>[highway] = 'primary' or [highway] = 'secondary'</Filter>
<LineSymbolizer stroke="black" stroke-width="5" />
</Rule>
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>[highway] = 'motorway_link'</Filter>
<LineSymbolizer stroke="black" stroke-width="4.5" />
</Rule>
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>[highway] = 'trunk_link' or [highway] = 'primary_link' or [highway] = 'secondary_link'</Filter>
<LineSymbolizer stroke="black" stroke-width="4" />
</Rule>
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>[highway] = 'unclassified'</Filter>
<LineSymbolizer stroke="black" stroke-width="3.9" />
</Rule>
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>[highway] = 'tertiary' or [highway] = 'tertiary_link'</Filter>
<LineSymbolizer stroke="black" stroke-width="3.6" />
</Rule>
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>[highway] = 'residential' or [highway] = 'road' or [highway] = 'living_street' or [highway] = 'pedestrian'</Filter>
<LineSymbolizer stroke="black" stroke-width="3.1" />
</Rule>
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>[highway] = 'track' and [tracktype] = 'grade1'</Filter>
<LineSymbolizer stroke="black" stroke-width="2.5" />
</Rule>
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>[highway] = 'service'</Filter>
<LineSymbolizer stroke="black" stroke-width="2.2" />
</Rule>
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>[highway] = 'track' and (not
([tracktype] = 'grade1' or [tracktype] = 'grade3' or [tracktype] = 'grade4' or [tracktype] = 'grade5' )) or([highway] = 'cycleway') or ([highway] = 'path' and [surface] = 'asphalt')</Filter>
<LineSymbolizer stroke="black" stroke-width="1" />
</Rule>
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>[highway] = 'track' and ([tracktype] = 'grade3' or [tracktype] = 'grade4')</Filter>
<LineSymbolizer stroke="black" stroke-width="0.5" />
</Rule>
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>[highway] = 'track' and [tracktype] = 'grade5'</Filter>
<LineSymbolizer stroke="black" stroke-width="0.5" stroke-dasharray="3,3" />
</Rule>
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>[highway] = 'steps'</Filter>
<LineSymbolizer stroke="black" stroke-width="1.5" stroke-dasharray="1.2,1.2"/>
</Rule>
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>[highway] = 'raceway'</Filter>
<LineSymbolizer stroke="black" stroke-width="4.5" />
</Rule>
<!-- paths -->
<!-- a tiny line for all paths to connect the dots -->
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>([highway] = 'path' and [surface] != 'asphalt') or [highway] = 'footway' or [highway] = 'via_ferrata'</Filter>
<LineSymbolizer stroke="black" stroke-width="0.8" stroke-opacity="0.1"/>
</Rule>
<!-- visible path, sac_scale=T1-2, no ferrata, "normal way" -->
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>([trail_visibility] is null or ([trail_visibility]!='no' and [trail_visibility]!='horrible' and [trail_visibility]!='bad')) and ([via_ferrata_scale] is null or [via_ferrata_scale] = '0') and ([sac_scale] is null or [sac_scale] = 'hiking' or [sac_scale] = 'mountain_hiking') and (([highway] = 'path' and [surface] != 'asphalt') or [highway] = 'footway' or [highway] = 'bridleway')</Filter>
<LineSymbolizer stroke="black" stroke-width="0.7" stroke-dasharray="1.6,1.6"/>
</Rule>
<!-- visible path, sac_scale=T3-4, no ferrata -->
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>([trail_visibility] is null or ([trail_visibility]!='no' and [trail_visibility]!='horrible' and [trail_visibility]!='bad')) and ([via_ferrata_scale] is null or [via_ferrata_scale] = '0') and ([sac_scale] = 'demanding_mountain_hiking' or [sac_scale] = 'alpine_hiking') and ([highway] = 'path' or [highway] = 'footway')</Filter>
<LineSymbolizer stroke="black" stroke-width="0.8" stroke-dasharray="1.6,1.6,1.6,1.6,1.6,4.5"/>
</Rule>
<!-- visible path, sac_scale=T5-6, no ferrata -->
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>([trail_visibility] is null or ([trail_visibility]!='no' and [trail_visibility]!='horrible' and [trail_visibility]!='bad')) and ([via_ferrata_scale] is null or [via_ferrata_scale] = '0') and ([sac_scale] = 'demanding_alpine_hiking' or [sac_scale] = 'difficult_alpine_hiking') and ([highway] = 'path' or [highway] = 'footway')</Filter>
<LineSymbolizer stroke="black" stroke-width="0.8" stroke-dasharray="1.6,1.6,1.6,5"/>
</Rule>
<!-- invisible path, sac_scale=T1-2, no ferrata, "normal hidden way" -->
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>([trail_visibility]='no' or [trail_visibility]='horrible' or [trail_visibility]='bad') and ([via_ferrata_scale] is null or [via_ferrata_scale] = '0') and ([sac_scale] is null or [sac_scale] = 'hiking' or [sac_scale] = 'mountain_hiking') and (([highway] = 'path' and [surface] != 'asphalt') or [highway] = 'footway' or [highway] = 'bridleway')</Filter>
<LineSymbolizer stroke="black" stroke-width="0.8" stroke-dasharray="1.6,1.6" stroke-opacity="0.5"/>
</Rule>
<!-- invisible path, sac_scale=T3-4, no ferrata -->
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>([trail_visibility]='no' or [trail_visibility]='horrible' or [trail_visibility]='bad') and ([via_ferrata_scale] is null or [via_ferrata_scale] = '0') and ([sac_scale] = 'demanding_mountain_hiking' or [sac_scale] = 'alpine_hiking') and ([highway] = 'path' or [highway] = 'footway')</Filter>
<LineSymbolizer stroke="black" stroke-width="0.8" stroke-dasharray="1.6,1.6,1.6,1.6,1.6,4.5" stroke-opacity="0.6"/>
</Rule>
<!-- invisible path, sac_scale=T5-6, no ferrata -->
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>([trail_visibility]='no' or [trail_visibility]='horrible' or [trail_visibility]='bad') and ([via_ferrata_scale] is null or [via_ferrata_scale] = '0') and ([sac_scale] = 'demanding_alpine_hiking' or [sac_scale] = 'difficult_alpine_hiking') and ([highway] = 'path' or [highway] = 'footway')</Filter>
<LineSymbolizer stroke="black" stroke-width="0.8" stroke-dasharray="1.6,1.6,1.6,5" stroke-opacity="0.6"/>
</Rule>
<!-- ferratas are rendered like visible T5-6 -->
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>([highway] = 'via_ferrata') or (([via_ferrata_scale] != null and [via_ferrata_scale] != '0') and ([highway] = 'path' or [highway] = 'footway'))</Filter>
<LineSymbolizer stroke="black" stroke-width="0.8" stroke-dasharray="1.6,1.6,1.6,5"/>
</Rule>
<!-- end of paths -->
<!-- zoom 15 -->
<Rule>
&maxscale_zoom15;
&minscale_zoom15;
<Filter>[highway] = 'motorway' or [highway] = 'trunk'</Filter>
<LineSymbolizer stroke="black" stroke-width="9" />
</Rule>
<Rule>
&maxscale_zoom15;
&minscale_zoom15;
<Filter>[highway] = 'motorway_link' or [highway] = 'primary' or [highway] = 'secondary'</Filter>
<LineSymbolizer stroke="black" stroke-width="6" />
</Rule>
<Rule>
&maxscale_zoom15;
&minscale_zoom15;
<Filter>[highway] = 'trunk_link' or [highway] = 'primary_link' or [highway] = 'secondary_link'</Filter>
<LineSymbolizer stroke="black" stroke-width="5" />
</Rule>
<Rule>
&maxscale_zoom15;
&minscale_zoom15;
<Filter>[highway] = 'tertiary' or [highway] = 'tertiary_link' or [highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road' or [highway] = 'living_street' or [highway] = 'pedestrian'</Filter>
<LineSymbolizer stroke="black" stroke-width="4.5" />
</Rule>
<Rule>
&maxscale_zoom15;
&minscale_zoom15;
<Filter>[highway] = 'track' and [tracktype] = 'grade1'</Filter>
<LineSymbolizer stroke="black" stroke-width="3" />
</Rule>
<Rule>
&maxscale_zoom15;
&minscale_zoom15;
<Filter>[highway] = 'service'</Filter>
<LineSymbolizer stroke="black" stroke-width="2.7" />
</Rule>
<Rule>
&maxscale_zoom15;
&minscale_zoom17;
<Filter>[highway] = 'track' and (not ([tracktype] = 'grade1' or [tracktype] = 'grade3' or [tracktype] = 'grade4' or [tracktype] = 'grade5') ) or [highway] = 'cycleway' or ([highway] = 'path' and [surface] = 'asphalt')</Filter>
<LineSymbolizer stroke="black" stroke-width="1.5" />
</Rule>
<Rule>
&maxscale_zoom15;
&minscale_zoom17;
<Filter>[highway] = 'track' and ([tracktype] = 'grade3' or [tracktype] = 'grade4')</Filter>
<LineSymbolizer stroke="black" stroke-width="1" />
</Rule>
<Rule>
&maxscale_zoom15;
&minscale_zoom17;
<Filter>[highway] = 'track' and [tracktype] = 'grade5'</Filter>
<LineSymbolizer stroke="black" stroke-width="0.9" stroke-dasharray="4,4" />
</Rule>
<!-- pathes -->
<!-- a tiny line for alle pathes to connect the dots -->
<Rule>
&maxscale_zoom15;
&minscale_zoom17;
<Filter>([highway] = 'path' and [surface] != 'asphalt') or [highway] = 'footway' or [highway] = 'via_ferrata'</Filter>
<LineSymbolizer stroke="black" stroke-width="1" stroke-opacity="0.05"/>
</Rule>
<!-- visible path, sac_scale=T1-2, no ferrata, "normal way" -->
<Rule>
&maxscale_zoom15;
&minscale_zoom17;
<Filter>([trail_visibility] is null or ([trail_visibility]!='no' and [trail_visibility]!='horrible' and [trail_visibility]!='bad')) and ([via_ferrata_scale] is null or [via_ferrata_scale] = '0') and ([sac_scale] is null or [sac_scale] = 'hiking' or [sac_scale] = 'mountain_hiking') and (([highway] = 'path' and [surface] != 'asphalt') or [highway] = 'footway' or [highway] = 'bridleway')</Filter>
<LineSymbolizer stroke="black" stroke-width="1" stroke-dasharray="1.1,2"/>
</Rule>
<!-- visible path, sac_scale=T3-4, no ferrata -->
<Rule>
&maxscale_zoom15;
&minscale_zoom17;
<Filter>([trail_visibility] is null or ([trail_visibility]!='no' and [trail_visibility]!='horrible' and [trail_visibility]!='bad')) and ([via_ferrata_scale] is null or [via_ferrata_scale] = '0') and ([sac_scale] = 'demanding_mountain_hiking' or [sac_scale] = 'alpine_hiking') and ([highway] = 'path' or [highway] = 'footway')</Filter>
<LineSymbolizer stroke="black" stroke-width="1" stroke-dasharray="1.1,2,1.1,2,1.1,6"/>
</Rule>
<!-- visible path, sac_scale=T5-6, no ferrata -->
<Rule>
&maxscale_zoom15;
&minscale_zoom17;
<Filter>([trail_visibility] is null or ([trail_visibility]!='no' and [trail_visibility]!='horrible' and [trail_visibility]!='bad')) and ([via_ferrata_scale] is null or [via_ferrata_scale] = '0') and ([sac_scale] = 'demanding_alpine_hiking' or [sac_scale] = 'difficult_alpine_hiking') and ([highway] = 'path' or [highway] = 'footway')</Filter>
<LineSymbolizer stroke="black" stroke-width="1" stroke-dasharray="1.1,2,1.1,8"/>
</Rule>
<!-- invisible path, sac_scale=T1-2, no ferrata, "normal hidden way" -->
<Rule>
&maxscale_zoom15;
&minscale_zoom17;
<Filter>([trail_visibility]='no' or [trail_visibility]='horrible' or [trail_visibility]='bad') and ([via_ferrata_scale] is null or [via_ferrata_scale] = '0') and ([sac_scale] is null or [sac_scale] = 'hiking' or [sac_scale] = 'mountain_hiking') and (([highway] = 'path' and [surface] != 'asphalt') or [highway] = 'footway' or [highway] = 'bridleway')</Filter>
<LineSymbolizer stroke="black" stroke-width="1" stroke-dasharray="1.1,2" stroke-opacity="0.5"/>
</Rule>
<!-- invisible path, sac_scale=T3-4, no ferrata -->
<Rule>
&maxscale_zoom15;
&minscale_zoom17;
<Filter>([trail_visibility]='no' or [trail_visibility]='horrible' or [trail_visibility]='bad') and ([via_ferrata_scale] is null or [via_ferrata_scale] = '0') and ([sac_scale] = 'demanding_mountain_hiking' or [sac_scale] = 'alpine_hiking') and ([highway] = 'path' or [highway] = 'footway')</Filter>
<LineSymbolizer stroke="black" stroke-width="1" stroke-dasharray="1.1,2,1.1,2,1.1,6" stroke-opacity="0.6"/>
</Rule>
<!-- invisible path, sac_scale=T5-6, no ferrata -->
<Rule>
&maxscale_zoom15;
&minscale_zoom17;
<Filter>([trail_visibility]='no' or [trail_visibility]='horrible' or [trail_visibility]='bad') and ([via_ferrata_scale] is null or [via_ferrata_scale] = '0') and ([sac_scale] = 'demanding_alpine_hiking' or [sac_scale] = 'difficult_alpine_hiking') and ([highway] = 'path' or [highway] = 'footway')</Filter>
<LineSymbolizer stroke="black" stroke-width="1" stroke-dasharray="1.1,2,1.1,8" stroke-opacity="0.6"/>
</Rule>
<!-- ferratas are rendered like visible T5-6 -->
<Rule>
&maxscale_zoom15;
&minscale_zoom17;
<Filter>([highway] = 'via_ferrata') or (([via_ferrata_scale] != null and [via_ferrata_scale] != '0') and ([highway] = 'path' or [highway] = 'footway'))</Filter>
<LineSymbolizer stroke="black" stroke-width="1" stroke-dasharray="1.1,2,1.1,8"/>
</Rule>
<!-- end of pathes -->
<Rule>
&maxscale_zoom15;
&minscale_zoom15;
<Filter>[highway] = 'steps'</Filter>
<LineSymbolizer stroke="black" stroke-width="2" stroke-dasharray="1.1,2"/>
</Rule>
<Rule>
&maxscale_zoom15;
&minscale_zoom15;
<Filter>[highway] = 'raceway'</Filter>
<LineSymbolizer stroke="black" stroke-width="6" />
</Rule>
<!-- zoom 16 -->
<Rule>
&maxscale_zoom16;
&minscale_zoom16;
<Filter>[highway] = 'motorway' or [highway] = 'trunk' or [highway] = 'primary' or [highway] = 'secondary' or [highway] = 'tertiary' or [highway] = 'unclassified' or [highway] = 'residential' or [highway] = 'road' or [highway] = 'living_street' or [highway] = 'pedestrian'</Filter>
<LineSymbolizer stroke="black" stroke-width="8" stroke-linecap="round" />
</Rule>
<Rule>
&maxscale_zoom16;
&minscale_zoom16;
<Filter>([highway] = 'service' and [service] = null) or [highway] = 'motorway_link' or [highway] = 'trunk_link' or [highway] = 'primary_link' or [highway] = 'secondary_link' or [highway] = 'tertiary_link'</Filter>
<LineSymbolizer stroke="black" stroke-width="6" stroke-linecap="round" />
</Rule>
<Rule>
&maxscale_zoom16;
&minscale_zoom16;
<Filter>([highway] = 'track' and [tracktype] = 'grade1') or ([highway] = 'service' and [service] != null)</Filter>
<LineSymbolizer stroke="black" stroke-width="4.5" stroke-linecap="round" />
</Rule>
<Rule>
&maxscale_zoom16;
&minscale_zoom16;
<Filter>[highway] = 'steps'</Filter>
<LineSymbolizer stroke="black" stroke-width="3" stroke-dasharray="1.1,2"/>
</Rule>
<Rule>
&maxscale_zoom16;
&minscale_zoom16;
<Filter>[highway] = 'raceway'</Filter>
<LineSymbolizer stroke="black" stroke-width="8" />
</Rule>
<!-- zoom 17 -->
<Rule>
&maxscale_zoom17;
&minscale_zoom17;
<Filter>[highway] = 'motorway' or [highway] = 'trunk'</Filter>
<LineSymbolizer stroke="black" stroke-width="12" stroke-linecap="round" />
</Rule>
<Rule>
&maxscale_zoom17;
&minscale_zoom17;
<Filter>[highway] = 'primary'</Filter>
<LineSymbolizer stroke="black" stroke-width="11.5" stroke-linecap="round" />
</Rule>
<Rule>
&maxscale_zoom17;
&minscale_zoom17;
<Filter>[highway] = 'secondary' or [highway] = 'tertiary'</Filter>
<LineSymbolizer stroke="black" stroke-width="10.5" stroke-linecap="round" />
</Rule>
<Rule>
&maxscale_zoom17;
&minscale_zoom17;
<Filter>[highway] = 'unclassified' or [highway] = 'residential' or [highway] = 'road'</Filter>
<LineSymbolizer stroke="black" stroke-width="9.5" stroke-linecap="round" />
</Rule>
<Rule>
&maxscale_zoom17;
&minscale_zoom17;
<Filter>[highway] = 'raceway'</Filter>
<LineSymbolizer stroke="black" stroke-width="8" />
</Rule>
<Rule>
&maxscale_zoom17;
&minscale_zoom17;
<Filter>([highway] = 'service' and [service] = null) or [highway] = 'living_street' or [highway] = 'pedestrian' or [highway] = 'motorway_link' or [highway] = 'trunk_link' or [highway] = 'primary_link' or [highway] = 'secondary_link' or [highway] = 'tertiary_link'</Filter>
<LineSymbolizer stroke="black" stroke-width="7.5" stroke-linecap="round" />
</Rule>
<Rule>
&maxscale_zoom17;
&minscale_zoom17;
<Filter>([highway] = 'track' and [tracktype] = 'grade1') or ([highway] = 'service' and [service] != null)</Filter>
<LineSymbolizer stroke="black" stroke-width="4" stroke-linecap="round" />
</Rule>
<Rule>
&maxscale_zoom17;
&minscale_zoom17;
<Filter>[highway] = 'steps'</Filter>
<LineSymbolizer stroke="black" stroke-width="3" stroke-dasharray="1.1,2"/>
</Rule>
<!--<Rule>
&maxscale_zoom17;
&minscale_zoom17;
<Filter>[highway] != null and [lanes] = '2'</Filter>
<LineSymbolizer stroke="black" stroke-width="10" stroke-linecap="round" />
</Rule>
<Rule>
&maxscale_zoom17;
&minscale_zoom17;
<Filter>[highway] != null and [lanes] = '3'</Filter>
<LineSymbolizer stroke="black" stroke-width="14" stroke-linecap="round" />
</Rule>
<Rule>
&maxscale_zoom17;
&minscale_zoom17;
<Filter>[highway] != null and [lanes] = '4'</Filter>
<LineSymbolizer stroke="black" stroke-width="18" stroke-linecap="round" />
</Rule>
<Rule>
&maxscale_zoom17;
&minscale_zoom17;
<Filter>[highway] != null and [lanes] &gt; '4'</Filter>
<LineSymbolizer stroke="black" stroke-width="22" stroke-linecap="round" />
</Rule>-->
<!-- embankments for highway=motorway/trunk -->
<Rule>
&maxscale_zoom13;
&minscale_zoom13;
<Filter>[highway] = 'motorway' and [embankment] = 'yes'</Filter>
<LinePatternSymbolizer file="symbols-otm/embankment_9px.png"/>
</Rule>
<Rule>
&maxscale_zoom14;
&minscale_zoom15;
<Filter>[highway] = 'motorway' and [embankment] = 'yes'</Filter>
<LinePatternSymbolizer file="symbols-otm/embankment_12px.png"/>
</Rule>
<Rule>
&maxscale_zoom16;
&minscale_zoom16;
<Filter>[highway] = 'motorway' and [embankment] = 'yes'</Filter>
<LinePatternSymbolizer file="symbols-otm/embankment_11px.png"/>
</Rule>
<Rule>
&maxscale_zoom13;
&minscale_zoom13;
<Filter>[highway] = 'trunk' and [embankment] = 'yes'</Filter>
<LinePatternSymbolizer file="symbols-otm/embankment_6px.png"/>
</Rule>
<Rule>
&maxscale_zoom14;
&minscale_zoom15;
<Filter>[highway] = 'trunk' and [embankment] = 'yes'</Filter>
<LinePatternSymbolizer file="symbols-otm/embankment_12px.png"/>
</Rule>
<Rule>
&maxscale_zoom16;
&minscale_zoom16;
<Filter>[highway] = 'trunk' and [embankment] = 'yes'</Filter>
<LinePatternSymbolizer file="symbols-otm/embankment_11px.png"/>
</Rule>
<!-- embankments for highway=primary/secondary -->
<Rule>
&maxscale_zoom13;
&minscale_zoom13;
<Filter>([highway] = 'motorway_link' or [highway] = 'primary' or [highway] = 'secondary') and [embankment] = 'yes'</Filter>
<LinePatternSymbolizer file="symbols-otm/embankment_6px.png"/>
</Rule>
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>([highway] = 'primary' or [highway] = 'secondary') and [embankment] = 'yes'</Filter>
<LinePatternSymbolizer file="symbols-otm/embankment_8px.png"/>
</Rule>
<Rule>
&maxscale_zoom15;
&minscale_zoom15;
<Filter>([highway] = 'primary' or [highway] = 'secondary') and ([embankment] = 'yes')</Filter>
<LinePatternSymbolizer file="symbols-otm/embankment_10px.png"/>
</Rule>
<Rule>
&maxscale_zoom16;
&minscale_zoom16;
<Filter>([highway] = 'primary' or [highway] = 'secondary') and ([embankment] = 'yes')</Filter>
<LinePatternSymbolizer file="symbols-otm/embankment_12px.png"/>
</Rule>
<Rule>
&maxscale_zoom17;
&minscale_zoom17;
<Filter>([highway] = 'motorway' or [highway] = 'trunk' or [highway] = 'primary' or [highway] = 'secondary') and ([embankment] = 'yes')</Filter>
<LinePatternSymbolizer file="symbols-otm/embankment_15px.png"/>
</Rule>
<!-- bobsleigh and summer toboggan-->
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>([leisure] = 'track' and ( [sport] = 'bobsleigh' or [surface] = 'ice' or [surface] = 'snow' ))</Filter>
<LineSymbolizer stroke="#333377" stroke-width="1.5" />
</Rule>
<Rule>
&maxscale_zoom15;
&minscale_zoom15;
<Filter>([leisure] = 'track' and ( [sport] = 'bobsleigh' or [surface] = 'ice' or [surface] = 'snow' ))</Filter>
<LineSymbolizer stroke="#333377" stroke-width="2" />
</Rule>
<Rule>
&maxscale_zoom16;
&minscale_zoom17;
<Filter>([leisure] = 'track' and ( [sport] = 'bobsleigh' or [surface] = 'ice' or [surface] = 'snow' ))</Filter>
<LineSymbolizer stroke="#333377" stroke-width="3" />
</Rule>
<Rule>
&maxscale_zoom17;
&minscale_zoom17;
<Filter>([leisure] = 'track' and ( [sport] = 'bobsleigh' or [surface] = 'ice' or [surface] = 'snow' ))</Filter>
<LineSymbolizer stroke="#333377" stroke-width="3.5" />
</Rule>
<Rule>
&maxscale_zoom14;
&minscale_zoom14;
<Filter>[attraction]='summer_toboggan'</Filter>
<LineSymbolizer stroke="#333333" stroke-width="1.3" />
</Rule>
<Rule>
&maxscale_zoom15;
&minscale_zoom15;
<Filter>[attraction]='summer_toboggan'</Filter>
<LineSymbolizer stroke="#333333" stroke-width="1.8" />
</Rule>
<Rule>
&maxscale_zoom16;
&minscale_zoom17;
<Filter>[attraction]='summer_toboggan'</Filter>
<LineSymbolizer stroke="#333333" stroke-width="2.7" />
</Rule>
<Rule>
&maxscale_zoom17;
&minscale_zoom17;
<Filter>[attraction]='summer_toboggan'</Filter>
<LineSymbolizer stroke="#333333" stroke-width="3.2" />
</Rule>
</Style>