Advertisement
Guest User

osm.xml

a guest
Oct 21st, 2011
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 271.47 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!DOCTYPE Map [
  3. <!ENTITY % entities SYSTEM "inc/entities.xml.inc">
  4. %entities;
  5. ]>
  6. <!-- This stylesheet uses features only available in mapnik builds with
  7.      libxml2 as the XML parser. Furthermore, there are other features
  8.      and behaviour that necessitate an upgrade to mapnik 0.7.1 -->
  9. <Map bgcolor="#b5d0d0" srs="&srs900913;" minimum_version="0.7.1">
  10.   &fontset-settings;
  11. <Style name="turning_circle-casing">
  12.     <Rule>
  13.       &maxscale_zoom15;
  14.       &minscale_zoom16;
  15.       <Filter>[int_tc_type]='tertiary'</Filter>
  16.       <PointSymbolizer file="&symbols;/turning_circle-tert-casing.18.png" allow_overlap="true" />
  17.     </Rule>
  18.     <Rule>
  19.       &maxscale_zoom15;
  20.       &minscale_zoom15;
  21.       <Filter>[int_tc_type]='residential' or [int_tc_type]='unclassified'</Filter>
  22.       <PointSymbolizer file="&symbols;/turning_circle-uncl-casing.16.png" allow_overlap="true" />
  23.     </Rule>
  24.     <Rule>
  25.       &maxscale_zoom15;
  26.       &minscale_zoom15;
  27.       <Filter>[int_tc_type]='living_street'</Filter>
  28.       <PointSymbolizer file="&symbols;/turning_circle-uncl-fill.16.png" allow_overlap="true" />
  29.     </Rule>
  30.     <Rule>
  31.       &maxscale_zoom16;
  32.       &minscale_zoom16;
  33.       <Filter>[int_tc_type]='residential' or [int_tc_type]='unclassified'</Filter>
  34.       <PointSymbolizer file="&symbols;/turning_circle-uncl-casing.18.png" allow_overlap="true" />
  35.     </Rule>
  36.     <Rule>
  37.       &maxscale_zoom16;
  38.       &minscale_zoom16;
  39.       <Filter>[int_tc_type]='service'</Filter>
  40.       <PointSymbolizer file="&symbols;/turning_circle-uncl-casing.14.png" allow_overlap="true" />
  41.     </Rule>
  42.     <Rule>
  43.       &maxscale_zoom16;
  44.       &minscale_zoom16;
  45.       <Filter>[int_tc_type]='living_street'</Filter>
  46.       <PointSymbolizer file="&symbols;/turning_circle-uncl-fill.18.png" allow_overlap="true" />
  47.     </Rule>
  48.     <Rule>
  49.       &maxscale_zoom17;
  50.       <Filter>[int_tc_type]='tertiary'</Filter>
  51.       <PointSymbolizer file="&symbols;/turning_circle-tert-casing.24.png" allow_overlap="true" />
  52.     </Rule>
  53.     <Rule>
  54.       &maxscale_zoom17;
  55.       <Filter>[int_tc_type]='residential' or [int_tc_type]='unclassified'</Filter>
  56.       <PointSymbolizer file="&symbols;/turning_circle-uncl-casing.24.png" allow_overlap="true" />
  57.     </Rule>
  58.     <Rule>
  59.       &maxscale_zoom17;
  60.       <Filter>[int_tc_type]='service'</Filter>
  61.       <PointSymbolizer file="&symbols;/turning_circle-uncl-casing.16.png" allow_overlap="true" />
  62.     </Rule>
  63.     <Rule>
  64.       &maxscale_zoom17;
  65.       <Filter>[int_tc_type]='living_street'</Filter>
  66.       <PointSymbolizer file="&symbols;/turning_circle-uncl-fill.24.png" allow_overlap="true" />
  67.     </Rule>
  68. </Style>
  69. <Style name="turning_circle-fill">
  70.     <Rule>
  71.       &maxscale_zoom15;
  72.       &minscale_zoom16;
  73.       <Filter>[int_tc_type]='tertiary'</Filter>
  74.       <PointSymbolizer file="&symbols;/turning_circle-tert-fill.16.png" allow_overlap="true" />
  75.     </Rule>
  76.     <Rule>
  77.       &maxscale_zoom15;
  78.       &minscale_zoom15;
  79.       <Filter>[int_tc_type]='residential' or [int_tc_type]='unclassified'</Filter>
  80.       <PointSymbolizer file="&symbols;/turning_circle-uncl-fill.14.png" allow_overlap="true" />
  81.     </Rule>
  82.     <Rule>
  83.       &maxscale_zoom15;
  84.       &minscale_zoom15;
  85.       <Filter>[int_tc_type]='living_street'</Filter>
  86.       <PointSymbolizer file="&symbols;/turning_circle-livs-fill.14.png" allow_overlap="true" />
  87.     </Rule>
  88.     <Rule>
  89.       &maxscale_zoom16;
  90.       &minscale_zoom16;
  91.       <Filter>[int_tc_type]='residential' or [int_tc_type]='unclassified'</Filter>
  92.       <PointSymbolizer file="&symbols;/turning_circle-uncl-fill.16.png" allow_overlap="true" />
  93.     </Rule>
  94.     <Rule>
  95.       &maxscale_zoom16;
  96.       &minscale_zoom16;
  97.       <Filter>[int_tc_type]='service'</Filter>
  98.       <PointSymbolizer file="&symbols;/turning_circle-uncl-fill.12.png" allow_overlap="true" />
  99.     </Rule>
  100.     <Rule>
  101.       &maxscale_zoom16;
  102.       &minscale_zoom16;
  103.       <Filter>[int_tc_type]='living_street'</Filter>
  104.       <PointSymbolizer file="&symbols;/turning_circle-livs-fill.16.png" allow_overlap="true" />
  105.     </Rule>
  106.     <Rule>
  107.       &maxscale_zoom17;
  108.       <Filter>[int_tc_type]='tertiary'</Filter>
  109.       <PointSymbolizer file="&symbols;/turning_circle-tert-fill.22.png" allow_overlap="true" />
  110.     </Rule>
  111.     <Rule>
  112.       &maxscale_zoom17;
  113.       <Filter>[int_tc_type]='residential' or [int_tc_type]='unclassified'</Filter>
  114.       <PointSymbolizer file="&symbols;/turning_circle-uncl-fill.22.png" allow_overlap="true" />
  115.     </Rule>
  116.     <Rule>
  117.       &maxscale_zoom17;
  118.       <Filter>[int_tc_type]='service'</Filter>
  119.       <PointSymbolizer file="&symbols;/turning_circle-uncl-fill.14.png" allow_overlap="true" />
  120.     </Rule>
  121.     <Rule>
  122.       &maxscale_zoom17;
  123.       <Filter>[int_tc_type]='living_street'</Filter>
  124.       <PointSymbolizer file="&symbols;/turning_circle-livs-fill.22.png" allow_overlap="true" />
  125.     </Rule>
  126. </Style>
  127. <Style name="highway-area-casing">
  128.    <Rule>
  129.       <Filter>[highway] = 'residential' or [highway]='unclassified'</Filter>
  130.       &maxscale_zoom14;
  131.       <LineSymbolizer>
  132.         <CssParameter name="stroke">#999</CssParameter>
  133.     <CssParameter name="stroke-width">1</CssParameter>
  134.       </LineSymbolizer>
  135.    </Rule>
  136.    <Rule>
  137.       <Filter>[highway] = 'pedestrian' or [highway]='service' or [highway]='footway' or [highway]='path'</Filter>
  138.       &maxscale_zoom14;
  139.       <LineSymbolizer>
  140.         <CssParameter name="stroke">grey</CssParameter>
  141.     <CssParameter name="stroke-width">1</CssParameter>
  142.       </LineSymbolizer>
  143.    </Rule>
  144.    <Rule>
  145.       <Filter>[highway] = 'track'</Filter>
  146.       &maxscale_zoom14;
  147.       <LineSymbolizer>
  148.         <CssParameter name="stroke">#996600</CssParameter>
  149.     <CssParameter name="stroke-width">2</CssParameter>
  150.       </LineSymbolizer>
  151.    </Rule>
  152.     <Rule>
  153.       <Filter>[highway] = 'platform' or [railway] = 'platform'</Filter>
  154.       &maxscale_zoom16;
  155.       <LineSymbolizer>
  156.         <CssParameter name="stroke">grey</CssParameter>
  157.         <CssParameter name="stroke-width">2</CssParameter>
  158.         <CssParameter name="stroke-linejoin">round</CssParameter>
  159.         <CssParameter name="stroke-linecap">round</CssParameter>
  160.       </LineSymbolizer>
  161.     </Rule>
  162. </Style>
  163. <Style name="highway-area-fill">
  164.     <Rule>
  165.       <Filter>[highway] = 'living_street'</Filter>
  166.       &maxscale_zoom14;
  167.       <PolygonSymbolizer>
  168.         <CssParameter name="fill">#ccc</CssParameter>
  169.       </PolygonSymbolizer>
  170.    </Rule>
  171.    <Rule>
  172.       <Filter>[highway] = 'residential' or [highway]='unclassified' or [highway]='service'</Filter>
  173.       &maxscale_zoom14;
  174.       <PolygonSymbolizer>
  175.         <CssParameter name="fill">#fff</CssParameter>
  176.       </PolygonSymbolizer>
  177.    </Rule>
  178.    <Rule>
  179.       <Filter>[highway] = 'pedestrian' or [highway]='footway' or [highway]='path'</Filter>
  180.       &maxscale_zoom14;
  181.       <PolygonSymbolizer>
  182.         <CssParameter name="fill">#ededed</CssParameter>
  183.       </PolygonSymbolizer>
  184.    </Rule>  
  185.    <Rule>
  186.       <Filter>[highway] = 'track'</Filter>
  187.       &maxscale_zoom14;
  188.       <PolygonSymbolizer>
  189.         <CssParameter name="fill">#dfcc66</CssParameter>
  190.       </PolygonSymbolizer>
  191.    </Rule>
  192.     <Rule>
  193.       <Filter>[highway] = 'platform' or [railway] = 'platform'</Filter>
  194.       &maxscale_zoom16;
  195.       <PolygonSymbolizer>
  196.         <CssParameter name="fill">#bbbbbb</CssParameter>
  197.         <CssParameter name="gamma">.65</CssParameter>
  198.       </PolygonSymbolizer>
  199.     </Rule>
  200.     <Rule>
  201.       <Filter>[aeroway] = 'runway'</Filter>
  202.       &maxscale_zoom11;
  203.       <PolygonSymbolizer>
  204.         <CssParameter name="fill">#bbc</CssParameter>
  205.       </PolygonSymbolizer>
  206.     </Rule>
  207.     <Rule>
  208.       <Filter>[aeroway] = 'taxiway'</Filter>
  209.       &maxscale_zoom13;
  210.       <PolygonSymbolizer>
  211.         <CssParameter name="fill">#bbc</CssParameter>
  212.       </PolygonSymbolizer>
  213.     </Rule>
  214.     <Rule>
  215.       <Filter>[aeroway] = 'helipad'</Filter>
  216.       &maxscale_zoom16;
  217.       <PolygonSymbolizer>
  218.         <CssParameter name="fill">#bbc</CssParameter>
  219.       </PolygonSymbolizer>
  220.     </Rule>
  221. </Style>
  222. <Style name="landuse_overlay">
  223.     <Rule>
  224.       &maxscale_zoom10;
  225.       &minscale_zoom18;
  226.       <Filter>[landuse]='military'</Filter>
  227.       <PolygonPatternSymbolizer file="&symbols;/military_red_hz2.png" />
  228.       <LineSymbolizer>
  229.         <CssParameter name="stroke">#f55</CssParameter>
  230.         <CssParameter name="stroke-width">3</CssParameter>
  231.         <CssParameter name="stroke-opacity">0.329</CssParameter>
  232.       </LineSymbolizer>
  233.     </Rule>
  234.     <Rule>
  235.       <Filter>[leisure] = 'nature_reserve'</Filter>
  236.       &maxscale_zoom10;
  237.       &minscale_zoom13;
  238.       <PolygonPatternSymbolizer file="&symbols;/nature_reserve5.png" />
  239.       <LineSymbolizer>
  240.         <CssParameter name="stroke">#6c3</CssParameter>
  241.       <CssParameter name="stroke-width">0.5</CssParameter>
  242.       </LineSymbolizer>
  243.     </Rule>
  244.     <Rule>
  245.       <Filter>[leisure] = 'nature_reserve'</Filter>
  246.       &maxscale_zoom14;
  247.       <PolygonPatternSymbolizer file="&symbols;/nature_reserve6.png" />
  248.       <LineSymbolizer>
  249.         <CssParameter name="stroke">#6c3</CssParameter>
  250.       <CssParameter name="stroke-width">1</CssParameter>
  251.       </LineSymbolizer>
  252.     </Rule>
  253. </Style>
  254. <Style name="area-text">
  255.     <Rule>
  256.       <Filter>[way_area] &gt;= 150000</Filter>
  257.       &maxscale_zoom14;
  258.       <TextSymbolizer name="name" fontset_name="book-fonts" size="10" fill="#000033" halo_radius="1" wrap_width="20"/>
  259.     </Rule>
  260.     <Rule>
  261.       <Filter>[way_area] &gt;= 80000 and [way_area] &lt; 150000</Filter>
  262.       &maxscale_zoom15;
  263.       <TextSymbolizer name="name" fontset_name="book-fonts" size="10" fill="#000033" halo_radius="1" wrap_width="20"/>
  264.     </Rule>
  265.     <Rule>
  266.       <Filter>[way_area] &gt;= 20000 and [way_area] &lt; 80000</Filter>
  267.       &maxscale_zoom16;
  268.       <TextSymbolizer name="name" fontset_name="book-fonts" size="10" fill="#000033" halo_radius="1" wrap_width="20"/>
  269.     </Rule>
  270.     <Rule>
  271.       <Filter>[way_area] &lt; 20000</Filter>
  272.       &maxscale_zoom17;
  273.       <TextSymbolizer name="name" fontset_name="book-fonts" size="10" fill="#000033" halo_radius="1" wrap_width="20"/>
  274.     </Rule>
  275. </Style>
  276. <Style name="highway-junctions">
  277.     <Rule>
  278.       &maxscale_zoom11;
  279.       &minscale_zoom11;
  280.       <TextSymbolizer name="ref" fontset_name="oblique-fonts" size="9" fill="#6666ff" halo_radius="1" wrap_width="12" min_distance="2" />
  281.     </Rule>
  282.     <Rule>
  283.       &maxscale_zoom12;
  284.       &minscale_zoom14;
  285.       <TextSymbolizer name="ref" fontset_name="oblique-fonts" size="9" fill="#6666ff" halo_radius="1" wrap_width="12" min_distance="2"/>
  286.       <TextSymbolizer name="name" fontset_name="oblique-fonts" size="8" fill="#6666ff" halo_radius="1" wrap_width="2" dy="-8" min_distance="2" wrap_character=";" />
  287.     </Rule>
  288.     <Rule>
  289.       &maxscale_zoom15;
  290.       <TextSymbolizer name="ref" fontset_name="oblique-fonts" size="12" fill="#6666ff" halo_radius="1" wrap_width="12" min_distance="2"/>
  291.       <TextSymbolizer name="name" fontset_name="oblique-fonts" size="11" fill="#6666ff" halo_radius="1" wrap_width="2" dy="-10" min_distance="2" wrap_character=";" />
  292.     </Rule>
  293. </Style>
  294. <Style name="text">
  295.     <Rule>
  296.       <Filter>[place] = 'island'</Filter>
  297.       &maxscale_zoom12;
  298.       &minscale_zoom18;
  299.       <TextSymbolizer name="name" fontset_name="oblique-fonts" size="9" fill="#000" dy="0" halo_radius="1" wrap_width="0"/>
  300.     </Rule>
  301.     <Rule>
  302.       <Filter>[amenity]='pub' or [amenity]='restaurant' or [amenity]='cafe' or [amenity]='fast_food' or [amenity]='biergarten'</Filter>
  303.       &maxscale_zoom17;
  304.       <TextSymbolizer name="name" fontset_name="bold-fonts" size="10" fill="#734a08" dy="9" halo_radius="1" wrap_width="34"/>
  305.     </Rule>
  306.     <Rule>
  307.       <Filter>[amenity]='bar'</Filter>
  308.       &maxscale_zoom17;
  309.       <TextSymbolizer name="name" fontset_name="bold-fonts" size="10" fill="#734a08" dy="11" halo_radius="1" wrap_width="0"/>
  310.     </Rule>
  311.     <Rule>
  312.       <Filter>[amenity]='library' or [amenity]='theatre' or [amenity]='courthouse'</Filter>
  313.       &maxscale_zoom17;
  314.       <TextSymbolizer name="name" fontset_name="bold-fonts" size="10" fill="#734a08" dy="12" halo_radius="1" wrap_width="0"/>
  315.     </Rule>
  316.     <Rule>
  317.       <Filter>[amenity]='cinema'</Filter>
  318.       &maxscale_zoom17;
  319.       <TextSymbolizer name="name" fontset_name="bold-fonts" size="10" fill="#734a08" dy="14" halo_radius="1" wrap_width="0"/>
  320.     </Rule>
  321.     <Rule>
  322.       <Filter>[amenity]='parking' and ([access] = 'public' or not [access] != '')</Filter>
  323.       &maxscale_zoom17;
  324.       <TextSymbolizer name="name" fontset_name="book-fonts" size="9" fill="#0066ff" dy="9" halo_radius="1" wrap_width="34"/>
  325.     </Rule>
  326.     <Rule>
  327.       <Filter>[amenity]='parking' and ([access] != '' and not [access] = 'public')</Filter>
  328.       &maxscale_zoom17;
  329.       <TextSymbolizer name="name" fontset_name="book-fonts" size="9" fill="#66ccaf" dy="9" halo_radius="1" wrap_width="34"/>
  330.     </Rule>
  331.      <Rule>
  332.       <Filter>[amenity] = 'police'</Filter>
  333.       &maxscale_zoom17;
  334.       <TextSymbolizer name="name" fontset_name="book-fonts" size="10" fill="#734a08" dy="10" halo_radius="1" wrap_width="30"/>
  335.     </Rule>
  336.     <Rule>
  337.       <Filter>[amenity] = 'fire_station'</Filter>
  338.       &maxscale_zoom17;
  339.       <TextSymbolizer name="name" fontset_name="book-fonts" size="10" fill="#734a08" dy="9" halo_radius="1" wrap_width="30"/>
  340.     </Rule>
  341.      <Rule>
  342.       <Filter>[amenity] = 'place_of_worship'</Filter>
  343.       &maxscale_zoom17;
  344.       <TextSymbolizer name="name" fontset_name="book-fonts" size="10" fill="#000033" dy="11" halo_radius="1" wrap_width="30"/>
  345.     </Rule>
  346.     <Rule>
  347.       <Filter>[natural] = 'wood'</Filter>
  348.       &maxscale_zoom15;
  349.       <TextSymbolizer name="name" fontset_name="book-fonts" size="10" fill="#000" halo_radius="2" wrap_width="10"/>
  350.     </Rule>
  351.     <Rule>
  352.       <Filter>[natural] = 'peak'</Filter>
  353.       &maxscale_zoom13;
  354.       <TextSymbolizer name="name" fontset_name="book-fonts" size="10" fill="brown" dy="5" halo_radius="1"/>
  355.     </Rule>
  356.     <Rule>
  357.       <Filter>[natural] = 'peak' and not [name] != ''</Filter>
  358.       &maxscale_zoom14;
  359.       <TextSymbolizer name="ele" fontset_name="oblique-fonts" size="9" fill="brown" dy="6" halo_radius="1"/>
  360.     </Rule>
  361.     <Rule>
  362.       <Filter>[natural] = 'peak' and [name] != ''</Filter>
  363.       &maxscale_zoom14;
  364.       <TextSymbolizer name="ele" fontset_name="oblique-fonts" size="9" fill="brown" dy="18" halo_radius="1"/>
  365.     </Rule>
  366.     <Rule>
  367.       <Filter>[natural] = 'volcano'</Filter>
  368.       &maxscale_zoom13;
  369.       <TextSymbolizer name="name" fontset_name="book-fonts" size="10" fill="brown" dy="5" halo_radius="1"/>
  370.     </Rule>
  371.     <Rule>
  372.       <Filter>[natural] = 'volcano' and not [name] != ''</Filter>
  373.       &maxscale_zoom14;
  374.       <TextSymbolizer name="ele" fontset_name="oblique-fonts" size="9" fill="brown" dy="6" halo_radius="1"/>
  375.     </Rule>
  376.     <Rule>
  377.       <Filter>[natural] = 'volcano' and [name] != ''</Filter>
  378.       &maxscale_zoom14;
  379.       <TextSymbolizer name="ele" fontset_name="oblique-fonts" size="9" fill="brown" dy="16" halo_radius="1"/>
  380.     </Rule>
  381.     <Rule>
  382.       <Filter>[natural] = 'cave_entrance'</Filter>
  383.       &maxscale_zoom15;
  384.       <TextSymbolizer name="name" fontset_name="book-fonts" size="10" fill="brown" dy="9" halo_radius="1" wrap_width="20" />
  385.     </Rule>
  386.     <Rule>
  387.       <Filter>[historic] = 'memorial' or [historic]='archaeological_site'</Filter>
  388.       &maxscale_zoom17;
  389.       <TextSymbolizer name="name" fontset_name="book-fonts" size="9" fill="brown" dy="12" halo_radius="1" wrap_width="20" />
  390.     </Rule>
  391.     <Rule>
  392.       <Filter>[natural] = 'water' or [natural] = 'lake' or [landuse] = 'reservoir' or [landuse] = 'basin'</Filter>
  393.       &maxscale_zoom15;
  394.       <TextSymbolizer name="name" fontset_name="book-fonts" size="10" fill="#6699cc" halo_radius="1" wrap_width="20"/>
  395.     </Rule>
  396.     <Rule>
  397.       <Filter>([leisure] != '' or [landuse] != '') and [point] = 'yes'</Filter>
  398.       &maxscale_zoom15;
  399.       <TextSymbolizer name="name" fontset_name="book-fonts" size="9" fill="#000" halo_radius="2" wrap_width="10"/>
  400.     </Rule>
  401.     <Rule>
  402.       <Filter>[natural] = 'bay'</Filter>
  403.       &maxscale_zoom14;
  404.       <TextSymbolizer name="name" fontset_name="book-fonts" size="10" fill="#6699cc" halo_radius="1" wrap_width="20"/>
  405.     </Rule>
  406.     <Rule>
  407.       <Filter>[natural] = 'spring'</Filter>
  408.       &maxscale_zoom16;
  409.       <TextSymbolizer name="name" fontset_name="book-fonts" size="8" fill="#6699cc" dy="10" halo_radius="1" wrap_width="20"/>
  410.     </Rule>
  411.     <Rule>
  412.       <Filter>[tourism] = 'alpine_hut'</Filter>
  413.       &maxscale_zoom15;
  414.       <TextSymbolizer name="name" fontset_name="book-fonts" size="9" fill="#6699cc" dy="10" halo_radius="1"/>
  415.     </Rule>
  416.     <Rule>
  417.       <Filter>[tourism] = 'alpine_hut'</Filter>
  418.       &maxscale_zoom16;
  419.       <TextSymbolizer name="ele" fontset_name="oblique-fonts" size="8" fill="#6699cc" dy="22" halo_radius="1"/>
  420.     </Rule>
  421.     <Rule>
  422.       <Filter>[amenity]='shelter'</Filter>
  423.       &maxscale_zoom17;
  424.       <TextSymbolizer name="name" fontset_name="book-fonts" size="9" fill="#6699cc" dy="10" halo_radius="1"/>
  425.       <TextSymbolizer name="ele" fontset_name="oblique-fonts" size="8" fill="#6699cc" dy="22" halo_radius="1"/>
  426.     </Rule>
  427.     <Rule>
  428.       <Filter>[amenity] = 'bank'</Filter>
  429.       &maxscale_zoom17;
  430.       <TextSymbolizer name="name" fontset_name="book-fonts" size="9" fill="black" dy="9" halo_radius="1" wrap_width="0"/>
  431.     </Rule>
  432.     <Rule>
  433.       <Filter>[tourism] = 'hotel' or [tourism]='hostel' or [tourism]='chalet'</Filter>
  434.       &maxscale_zoom17;
  435.       <TextSymbolizer name="name" fontset_name="book-fonts" size="10" fill="#0066ff" dy="11" halo_radius="1" wrap_width="0"/>
  436.     </Rule>
  437.     <Rule>
  438.       <Filter>[amenity] = 'embassy'</Filter>
  439.       &maxscale_zoom17;
  440.       <TextSymbolizer name="name" fontset_name="book-fonts" size="9" fill="#0066ff" dy="8" halo_radius="1" wrap_width="0"/>
  441.     </Rule>
  442.     <Rule>
  443.       <Filter>[tourism]='guest_house'</Filter>
  444.       &maxscale_zoom17;
  445.       <TextSymbolizer name="name" fontset_name="book-fonts" size="8" fill="#0066ff" dy="9" halo_radius="1" wrap_width="0"/>
  446.     </Rule>
  447.     <Rule>
  448.       <Filter>[tourism]='bed_and_breakfast'</Filter>
  449.       &maxscale_zoom17;
  450.       <TextSymbolizer name="name" fontset_name="book-fonts" size="8" fill="#0066ff" dy="7" halo_radius="1" wrap_width="0"/>
  451.     </Rule>
  452.     <Rule>
  453.       <Filter>[amenity] = 'fuel' or [amenity]='bus_station'</Filter>
  454.       &maxscale_zoom17;
  455.       <TextSymbolizer name="name" fontset_name="book-fonts" size="9" fill="#0066ff" dy="9" halo_radius="1" wrap_width="0"/>
  456.     </Rule>
  457.     <Rule>
  458.       <Filter>[tourism] = 'camp_site'</Filter>
  459.       &maxscale_zoom17;
  460.       <TextSymbolizer name="name" fontset_name="book-fonts" size="10" fill="#0066ff" dy="15" halo_radius="1" wrap_width="70"/>
  461.     </Rule>
  462.     <Rule>
  463.       <Filter>[tourism] = 'caravan_site'</Filter>
  464.       &maxscale_zoom17;
  465.       <TextSymbolizer name="name" fontset_name="book-fonts" size="10" fill="#0066ff" dy="19" halo_radius="1" wrap_width="70"/>
  466.     </Rule>
  467.     <Rule>
  468.       <Filter>[waterway] = 'lock'</Filter>
  469.       &maxscale_zoom15;
  470.       <TextSymbolizer name="name" fontset_name="book-fonts" size="9" fill="#0066ff" dy="10" halo_radius="1" wrap_width="70"/>
  471.     </Rule>
  472.     <Rule>
  473.       <Filter>[leisure] = 'marina'</Filter>
  474.       &maxscale_zoom15;
  475.       &minscale_zoom16;
  476.       <TextSymbolizer name="name" fontset_name="book-fonts" size="8" fill="blue" halo_radius="1" wrap_width="30"/>
  477.     </Rule>
  478.     <Rule>
  479.       <Filter>[leisure] = 'marina'</Filter>
  480.       &maxscale_zoom17;
  481.       <TextSymbolizer name="name" fontset_name="book-fonts" size="10" fill="blue" halo_radius="1" wrap_width="30"/>
  482.     </Rule>
  483.     <Rule>
  484.       <Filter>[tourism] = 'theme_park'</Filter>
  485.       &maxscale_zoom14;
  486.       &minscale_zoom15;
  487.       <TextSymbolizer name="name" fontset_name="book-fonts" size="8" fill="#734a08" halo_radius="1" wrap_width="30"/>
  488.     </Rule>
  489.     <Rule>
  490.       <Filter>[tourism] = 'theme_park'</Filter>
  491.       &maxscale_zoom16;
  492.       <TextSymbolizer name="name" fontset_name="book-fonts" size="10" fill="#734a08" halo_radius="1" wrap_width="30"/>
  493.     </Rule>
  494.     <Rule>
  495.       <Filter>[tourism]='museum'</Filter>
  496.       &maxscale_zoom17;
  497.       <TextSymbolizer name="name" fontset_name="book-fonts" size="10" fill="#734a08" dy="10" halo_radius="1" wrap_width="0"/>
  498.     </Rule>
  499.     <Rule>
  500.       <Filter>[amenity]='prison'</Filter>
  501.       &maxscale_zoom17;
  502.       <TextSymbolizer name="name" fontset_name="book-fonts" size="10" fill="#734a08" dy="16" halo_radius="1" wrap_width="0"/>
  503.     </Rule>
  504.     <Rule>
  505.       <Filter>[tourism] = 'attraction'</Filter>
  506.       &maxscale_zoom16;
  507.       <TextSymbolizer name="name" fontset_name="book-fonts" size="10" fill="#660033" halo_radius="2" wrap_width="10"/>
  508.     </Rule>
  509.     <Rule>
  510.       <Filter>[amenity] = 'university'</Filter>
  511.       &maxscale_zoom15;
  512.       <TextSymbolizer name="name" fontset_name="bold-fonts" size="9" fill="#000033" halo_radius="1" wrap_width="16"/>
  513.     </Rule>
  514.     <Rule>
  515.       <Filter>[amenity] = 'school' or [amenity] = 'college'</Filter>
  516.       &maxscale_zoom15;
  517.       <TextSymbolizer name="name" fontset_name="book-fonts" size="9" fill="#000033" halo_radius="1" wrap_width="14"/>
  518.     </Rule>
  519.     <Rule>
  520.       <Filter>[amenity] = 'kindergarten'</Filter>
  521.       &maxscale_zoom16;
  522.       <TextSymbolizer name="name" fontset_name="book-fonts" size="8" fill="#000033" halo_radius="1" wrap_width="14"/>
  523.     </Rule>
  524.     <Rule>
  525.       <Filter>[man_made] = 'lighthouse'</Filter>
  526.       &maxscale_zoom15;
  527.       <TextSymbolizer name="name" fontset_name="book-fonts" size="9" fill="#000033" dy="16" halo_radius="2" wrap_width="12"/>
  528.     </Rule>
  529.     <Rule>
  530.       <Filter>[man_made] = 'windmill'</Filter>
  531.       &maxscale_zoom17;
  532.       <TextSymbolizer name="name" fontset_name="book-fonts" size="9" fill="#734a08" dy="12" halo_radius="1" wrap_width="20"/>
  533.     </Rule>
  534.     <Rule>
  535.       <Filter>[amenity] = 'hospital'</Filter>
  536.       &maxscale_zoom16;
  537.       <TextSymbolizer name="name" fontset_name="book-fonts" size="8" fill="#da0092" dy="10" halo_radius="2" wrap_width="24"/>
  538.     </Rule>
  539.     <Rule>
  540.       <Filter>[amenity] = 'pharmacy'</Filter>
  541.       &maxscale_zoom17;
  542.       <TextSymbolizer name="name" fontset_name="book-fonts" size="8" fill="#da0092" dy="9" halo_radius="1" wrap_width="12"/>
  543.     </Rule>
  544.     <Rule>
  545.       <Filter>[shop]='bakery' or [shop]='clothes' or [shop]='fashion' or [shop]='convenience' or [shop]='doityourself' or [shop]='hairdresser' or [shop]='butcher' or [shop]='car' or [shop]='car_repair' or [shop]='bicycle' or [shop]='florist'</Filter>
  546.       &maxscale_zoom17;
  547.       <TextSymbolizer name="name" fontset_name="book-fonts" size="8" fill="#939" dy="9" halo_radius="1" wrap_width="12"/>
  548.     </Rule>
  549.     <Rule>
  550.       <Filter>[shop]='supermarket' or [shop]='department_store'</Filter>
  551.       &maxscale_zoom16;
  552.       <TextSymbolizer name="name" fontset_name="book-fonts" size="9" fill="#939" dy="9" halo_radius="1" wrap_width="20"/>
  553.     </Rule>
  554.     <Rule>
  555.       <Filter>[military] = 'danger_area'</Filter>
  556.       &maxscale_zoom12;
  557.       <TextSymbolizer name="name" fontset_name="bold-fonts" size="9" fill="pink" halo_radius="1" wrap_width="10"/>
  558.     </Rule>
  559.     <Rule>
  560.       <Filter>[aeroway] = 'gate'</Filter>
  561.       &maxscale_zoom17;
  562.       <TextSymbolizer name="ref" fontset_name="book-fonts" size="10" fill="#aa66cc" halo_radius="1" wrap_width="10"/>
  563.     </Rule>
  564. </Style>
  565. <Style name="tunnels-casing">
  566.     <Rule>
  567.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  568.       &maxscale_zoom12;
  569.       &minscale_zoom12;
  570.       <LineSymbolizer>
  571.         <CssParameter name="stroke">#506077</CssParameter>
  572.         <CssParameter name="stroke-width">3</CssParameter>
  573.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  574.       </LineSymbolizer>
  575.     </Rule>
  576.     <Rule>
  577.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  578.       &maxscale_zoom13;
  579.       &minscale_zoom14;
  580.       <LineSymbolizer>
  581.         <CssParameter name="stroke">#506077</CssParameter>
  582.         <CssParameter name="stroke-width">6.5</CssParameter>
  583.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  584.       </LineSymbolizer>
  585.     </Rule>
  586.     <Rule>
  587.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  588.       &maxscale_zoom15;
  589.       &minscale_zoom16;
  590.       <LineSymbolizer>
  591.         <CssParameter name="stroke">#506077</CssParameter>
  592.         <CssParameter name="stroke-width">10</CssParameter>
  593.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  594.       </LineSymbolizer>
  595.     </Rule>
  596.     <Rule>
  597.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  598.       &maxscale_zoom17;
  599.       &minscale_zoom18;
  600.       <LineSymbolizer>
  601.         <CssParameter name="stroke">#506077</CssParameter>
  602.         <CssParameter name="stroke-width">13</CssParameter>
  603.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  604.       </LineSymbolizer>
  605.     </Rule>
  606.     <Rule>
  607.       <Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
  608.       &maxscale_zoom12;
  609.       &minscale_zoom12;
  610.       <LineSymbolizer>
  611.         <CssParameter name="stroke">#477147</CssParameter>
  612.         <CssParameter name="stroke-width">4</CssParameter>
  613.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  614.       </LineSymbolizer>
  615.     </Rule>
  616.     <Rule>
  617.       <Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
  618.       &maxscale_zoom13;
  619.       &minscale_zoom14;
  620.       <LineSymbolizer>
  621.         <CssParameter name="stroke">#477147</CssParameter>
  622.         <CssParameter name="stroke-width">8</CssParameter>
  623.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  624.       </LineSymbolizer>
  625.     </Rule>
  626.     <Rule>
  627.      <Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
  628.       &maxscale_zoom15;
  629.       &minscale_zoom16;
  630.       <LineSymbolizer>
  631.         <CssParameter name="stroke">#477147</CssParameter>
  632.         <CssParameter name="stroke-width">11</CssParameter>
  633.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  634.       </LineSymbolizer>
  635.     </Rule>
  636.     <Rule>
  637.      <Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
  638.       &maxscale_zoom17;
  639.       &minscale_zoom18;
  640.       <LineSymbolizer>
  641.         <CssParameter name="stroke">#477147</CssParameter>
  642.         <CssParameter name="stroke-width">14</CssParameter>
  643.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  644.       </LineSymbolizer>
  645.     </Rule>
  646.     <Rule>
  647.       <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
  648.       &maxscale_zoom12;
  649.       &minscale_zoom12;
  650.       <LineSymbolizer>
  651.         <CssParameter name="stroke">#8d4346</CssParameter>
  652.         <CssParameter name="stroke-width">4</CssParameter>
  653.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  654.       </LineSymbolizer>
  655.     </Rule>
  656.     <Rule>
  657.       <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
  658.       &maxscale_zoom13;
  659.       &minscale_zoom14;
  660.       <LineSymbolizer>
  661.         <CssParameter name="stroke">#8d4346</CssParameter>
  662.         <CssParameter name="stroke-width">8</CssParameter>
  663.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  664.       </LineSymbolizer>
  665.     </Rule>
  666.    <Rule>
  667.       <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
  668.       &maxscale_zoom15;
  669.       &minscale_zoom16;
  670.       <LineSymbolizer>
  671.         <CssParameter name="stroke">#8d4346</CssParameter>
  672.         <CssParameter name="stroke-width">11</CssParameter>
  673.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  674.       </LineSymbolizer>
  675.     </Rule>
  676.     <Rule>
  677.       <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
  678.       &maxscale_zoom17;
  679.       &minscale_zoom18;
  680.       <LineSymbolizer>
  681.         <CssParameter name="stroke">#8d4346</CssParameter>
  682.         <CssParameter name="stroke-width">14</CssParameter>
  683.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  684.       </LineSymbolizer>
  685.     </Rule>
  686.     <Rule>
  687.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  688.       &maxscale_zoom12;
  689.       &minscale_zoom12;
  690.       <LineSymbolizer>
  691.         <CssParameter name="stroke">#a37b48</CssParameter>
  692.         <CssParameter name="stroke-width">4</CssParameter>
  693.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  694.       </LineSymbolizer>
  695.     </Rule>
  696.     <Rule>
  697.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  698.       &maxscale_zoom13;
  699.       &minscale_zoom14;
  700.       <LineSymbolizer>
  701.         <CssParameter name="stroke">#a37b48</CssParameter>
  702.         <CssParameter name="stroke-width">10</CssParameter>
  703.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  704.       </LineSymbolizer>
  705.     </Rule>
  706.     <Rule>
  707.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  708.       &maxscale_zoom15;
  709.       &minscale_zoom16;
  710.       <LineSymbolizer>
  711.         <CssParameter name="stroke">#a37b48</CssParameter>
  712.         <CssParameter name="stroke-width">12</CssParameter>
  713.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  714.       </LineSymbolizer>
  715.     </Rule>
  716.     <Rule>
  717.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  718.       &maxscale_zoom17;
  719.       &minscale_zoom18;
  720.       <LineSymbolizer>
  721.         <CssParameter name="stroke">#a37b48</CssParameter>
  722.         <CssParameter name="stroke-width">17</CssParameter>
  723.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  724.       </LineSymbolizer>
  725.     </Rule>
  726.     <Rule>
  727.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  728.       &maxscale_zoom13;
  729.       &minscale_zoom13;
  730.       <LineSymbolizer>
  731.         <CssParameter name="stroke">#999</CssParameter>
  732.         <CssParameter name="stroke-width">6</CssParameter>
  733.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  734.       </LineSymbolizer>
  735.     </Rule>
  736.     <Rule>
  737.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  738.       &maxscale_zoom14;
  739.       &minscale_zoom14;
  740.       <LineSymbolizer>
  741.         <CssParameter name="stroke">#999</CssParameter>
  742.         <CssParameter name="stroke-width">7.5</CssParameter>
  743.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  744.       </LineSymbolizer>
  745.     </Rule>
  746.     <Rule>
  747.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  748.       &maxscale_zoom13;
  749.       &minscale_zoom13;
  750.       <LineSymbolizer>
  751.         <CssParameter name="stroke">#999</CssParameter>
  752.         <CssParameter name="stroke-width">3</CssParameter>
  753.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  754.       </LineSymbolizer>
  755.     </Rule>
  756.     <Rule>
  757.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  758.       &maxscale_zoom14;
  759.       &minscale_zoom14;
  760.       <LineSymbolizer>
  761.         <CssParameter name="stroke">#999</CssParameter>
  762.         <CssParameter name="stroke-width">4.5</CssParameter>
  763.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  764.       </LineSymbolizer>
  765.     </Rule>
  766.     <Rule>
  767.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  768.       &maxscale_zoom15;
  769.       &minscale_zoom15;
  770.       <LineSymbolizer>
  771.         <CssParameter name="stroke">#999</CssParameter>
  772.         <CssParameter name="stroke-width">8</CssParameter>
  773.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  774.       </LineSymbolizer>
  775.     </Rule>
  776.     <Rule>
  777.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  778.       &maxscale_zoom16;
  779.       &minscale_zoom16;
  780.       <LineSymbolizer>
  781.         <CssParameter name="stroke">#999</CssParameter>
  782.         <CssParameter name="stroke-width">11</CssParameter>
  783.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  784.       </LineSymbolizer>
  785.     </Rule>
  786.     <Rule>
  787.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  788.       &maxscale_zoom15;
  789.       &minscale_zoom16;
  790.       <LineSymbolizer>
  791.         <CssParameter name="stroke">#999</CssParameter>
  792.         <CssParameter name="stroke-width">11</CssParameter>
  793.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  794.       </LineSymbolizer>
  795.     </Rule>
  796.     <Rule>
  797.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link' or [highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  798.       &maxscale_zoom17;
  799.       &minscale_zoom18;
  800.       <LineSymbolizer>
  801.         <CssParameter name="stroke">#999</CssParameter>
  802.         <CssParameter name="stroke-width">16</CssParameter>
  803.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  804.       </LineSymbolizer>
  805.     </Rule>
  806. </Style>
  807. <Style name="tunnels-fill">
  808.     <Rule>
  809.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  810.       &maxscale_zoom12;
  811.       &minscale_zoom12;
  812.       <LineSymbolizer>
  813.         <CssParameter name="stroke">#d6dfea</CssParameter>
  814.         <CssParameter name="stroke-width">2</CssParameter>
  815.         <CssParameter name="stroke-linejoin">round</CssParameter>
  816.         <CssParameter name="stroke-linecap">round</CssParameter>
  817.       </LineSymbolizer>
  818.     </Rule>
  819.     <Rule>
  820.       <Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
  821.       &maxscale_zoom13;
  822.       &minscale_zoom14;
  823.       <LineSymbolizer>
  824.         <CssParameter name="stroke">#d6dfea</CssParameter>
  825.         <CssParameter name="stroke-width">5</CssParameter>
  826.         <CssParameter name="stroke-linejoin">round</CssParameter>
  827.         <CssParameter name="stroke-linecap">round</CssParameter>
  828.       </LineSymbolizer>
  829.     </Rule>
  830.     <Rule>
  831.       <Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
  832.       &maxscale_zoom15;
  833.       &minscale_zoom16;
  834.       <LineSymbolizer>
  835.         <CssParameter name="stroke">#d6dfea</CssParameter>
  836.         <CssParameter name="stroke-width">8.5</CssParameter>
  837.         <CssParameter name="stroke-linejoin">round</CssParameter>
  838.         <CssParameter name="stroke-linecap">round</CssParameter>
  839.       </LineSymbolizer>
  840.     </Rule>
  841.     <Rule>
  842.       <Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
  843.       &maxscale_zoom17;
  844.       &minscale_zoom18;
  845.       <LineSymbolizer>
  846.         <CssParameter name="stroke">#d6dfea</CssParameter>
  847.         <CssParameter name="stroke-width">11</CssParameter>
  848.         <CssParameter name="stroke-linejoin">round</CssParameter>
  849.         <CssParameter name="stroke-linecap">round</CssParameter>
  850.       </LineSymbolizer>
  851.     </Rule>
  852.     <Rule>
  853.       <Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
  854.       &maxscale_zoom12;
  855.       &minscale_zoom12;
  856.       <LineSymbolizer>
  857.         <CssParameter name="stroke">#cdeacd</CssParameter>
  858.         <CssParameter name="stroke-width">2.5</CssParameter>
  859.         <CssParameter name="stroke-linejoin">round</CssParameter>
  860.         <CssParameter name="stroke-linecap">round</CssParameter>
  861.       </LineSymbolizer>
  862.     </Rule>
  863.     <Rule>
  864.       <Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
  865.       &maxscale_zoom13;
  866.       &minscale_zoom14;
  867.       <LineSymbolizer>
  868.         <CssParameter name="stroke">#cdeacd</CssParameter>
  869.         <CssParameter name="stroke-width">6.5</CssParameter>
  870.         <CssParameter name="stroke-linejoin">round</CssParameter>
  871.         <CssParameter name="stroke-linecap">round</CssParameter>
  872.       </LineSymbolizer>
  873.     </Rule>    
  874.     <Rule>
  875.       <Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
  876.       &maxscale_zoom15;
  877.       &minscale_zoom16;
  878.       <LineSymbolizer>
  879.         <CssParameter name="stroke">#cdeacd</CssParameter>
  880.         <CssParameter name="stroke-width">9</CssParameter>
  881.         <CssParameter name="stroke-linejoin">round</CssParameter>
  882.         <CssParameter name="stroke-linecap">round</CssParameter>
  883.       </LineSymbolizer>
  884.     </Rule>
  885.     <Rule>
  886.       <Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
  887.       &maxscale_zoom17;
  888.       &minscale_zoom18;
  889.       <LineSymbolizer>
  890.         <CssParameter name="stroke">#cdeacd</CssParameter>
  891.         <CssParameter name="stroke-width">12</CssParameter>
  892.         <CssParameter name="stroke-linejoin">round</CssParameter>
  893.         <CssParameter name="stroke-linecap">round</CssParameter>
  894.       </LineSymbolizer>
  895.     </Rule>
  896.     <Rule>
  897.       <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
  898.       &maxscale_zoom12;
  899.       &minscale_zoom12;
  900.       <LineSymbolizer>
  901.         <CssParameter name="stroke">#f4c3c4</CssParameter>
  902.         <CssParameter name="stroke-width">2.5</CssParameter>
  903.         <CssParameter name="stroke-linejoin">round</CssParameter>
  904.         <CssParameter name="stroke-linecap">round</CssParameter>
  905.       </LineSymbolizer>
  906.     </Rule>
  907.     <Rule>
  908.       <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
  909.       &maxscale_zoom13;
  910.       &minscale_zoom14;
  911.       <LineSymbolizer>
  912.         <CssParameter name="stroke">#f4c3c4</CssParameter>
  913.         <CssParameter name="stroke-width">6.5</CssParameter>
  914.         <CssParameter name="stroke-linejoin">round</CssParameter>
  915.         <CssParameter name="stroke-linecap">round</CssParameter>
  916.       </LineSymbolizer>
  917.     </Rule>
  918.     <Rule>
  919.       <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
  920.       &maxscale_zoom15;
  921.       &minscale_zoom16;
  922.       <LineSymbolizer>
  923.         <CssParameter name="stroke">#f4c3c4</CssParameter>
  924.         <CssParameter name="stroke-width">9</CssParameter>
  925.         <CssParameter name="stroke-linejoin">round</CssParameter>
  926.         <CssParameter name="stroke-linecap">round</CssParameter>
  927.       </LineSymbolizer>
  928.     </Rule>
  929.     <Rule>
  930.       <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
  931.       &maxscale_zoom17;
  932.       &minscale_zoom18;
  933.       <LineSymbolizer>
  934.         <CssParameter name="stroke">#f4c3c4</CssParameter>
  935.         <CssParameter name="stroke-width">12</CssParameter>
  936.         <CssParameter name="stroke-linejoin">round</CssParameter>
  937.         <CssParameter name="stroke-linecap">round</CssParameter>
  938.       </LineSymbolizer>
  939.     </Rule>
  940.     <Rule>
  941.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  942.       &maxscale_zoom12;
  943.       &minscale_zoom12;
  944.       <LineSymbolizer>
  945.         <CssParameter name="stroke">#fee0b8</CssParameter>
  946.         <CssParameter name="stroke-width">2</CssParameter>
  947.         <CssParameter name="stroke-linejoin">round</CssParameter>
  948.         <CssParameter name="stroke-linecap">round</CssParameter>
  949.       </LineSymbolizer>
  950.     </Rule>
  951.     <Rule>
  952.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  953.       &maxscale_zoom13;
  954.       &minscale_zoom14;
  955.       <LineSymbolizer>
  956.         <CssParameter name="stroke">#fee0b8</CssParameter>
  957.         <CssParameter name="stroke-width">8</CssParameter>
  958.         <CssParameter name="stroke-linejoin">round</CssParameter>
  959.         <CssParameter name="stroke-linecap">round</CssParameter>
  960.       </LineSymbolizer>
  961.     </Rule>
  962.     <Rule>
  963.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  964.       &maxscale_zoom15;
  965.       &minscale_zoom16;
  966.       <LineSymbolizer>
  967.         <CssParameter name="stroke">#fee0b8</CssParameter>
  968.         <CssParameter name="stroke-width">10</CssParameter>
  969.         <CssParameter name="stroke-linejoin">round</CssParameter>
  970.         <CssParameter name="stroke-linecap">round</CssParameter>
  971.       </LineSymbolizer>
  972.     </Rule>
  973.     <Rule>
  974.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  975.       &maxscale_zoom17;
  976.       &minscale_zoom18;
  977.       <LineSymbolizer>
  978.         <CssParameter name="stroke">#fee0b8</CssParameter>
  979.         <CssParameter name="stroke-width">14</CssParameter>
  980.         <CssParameter name="stroke-linejoin">round</CssParameter>
  981.         <CssParameter name="stroke-linecap">round</CssParameter>
  982.       </LineSymbolizer>
  983.     </Rule>
  984.     <Rule>
  985.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  986.       &maxscale_zoom13;
  987.       &minscale_zoom13;
  988.       <LineSymbolizer>
  989.         <CssParameter name="stroke">#ffc</CssParameter>
  990.         <CssParameter name="stroke-width">5</CssParameter>
  991.         <CssParameter name="stroke-linejoin">round</CssParameter>
  992.         <CssParameter name="stroke-linecap">round</CssParameter>
  993.       </LineSymbolizer>
  994.     </Rule>
  995.     <Rule>
  996.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  997.       &maxscale_zoom14;
  998.       &minscale_zoom14;
  999.       <LineSymbolizer>
  1000.         <CssParameter name="stroke">#ffc</CssParameter>
  1001.         <CssParameter name="stroke-width">6.5</CssParameter>
  1002.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1003.         <CssParameter name="stroke-linecap">round</CssParameter>
  1004.       </LineSymbolizer>
  1005.     </Rule>
  1006.     <Rule>
  1007.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  1008.       &maxscale_zoom13;
  1009.       &minscale_zoom13;
  1010.       <LineSymbolizer>
  1011.         <CssParameter name="stroke">#fff</CssParameter>
  1012.         <CssParameter name="stroke-width">2</CssParameter>
  1013.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1014.         <CssParameter name="stroke-linecap">round</CssParameter>
  1015.       </LineSymbolizer>
  1016.     </Rule>
  1017.     <Rule>
  1018.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  1019.       &maxscale_zoom14;
  1020.       &minscale_zoom14;
  1021.       <LineSymbolizer>
  1022.         <CssParameter name="stroke">#fff</CssParameter>
  1023.         <CssParameter name="stroke-width">3</CssParameter>
  1024.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1025.         <CssParameter name="stroke-linecap">round</CssParameter>
  1026.       </LineSymbolizer>
  1027.     </Rule>
  1028.     <Rule>
  1029.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  1030.       &maxscale_zoom15;
  1031.       &minscale_zoom16;
  1032.       <LineSymbolizer>
  1033.         <CssParameter name="stroke">#ffc</CssParameter>
  1034.         <CssParameter name="stroke-width">9.4</CssParameter>
  1035.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1036.         <CssParameter name="stroke-linecap">round</CssParameter>
  1037.       </LineSymbolizer>
  1038.     </Rule>
  1039.     <Rule>
  1040.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  1041.       &maxscale_zoom17;
  1042.       &minscale_zoom18;
  1043.       <LineSymbolizer>
  1044.         <CssParameter name="stroke">#ffc</CssParameter>
  1045.         <CssParameter name="stroke-width">13</CssParameter>
  1046.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1047.         <CssParameter name="stroke-linecap">round</CssParameter>
  1048.       </LineSymbolizer>
  1049.     </Rule>
  1050.     <Rule>
  1051.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  1052.       &maxscale_zoom15;
  1053.       &minscale_zoom15;
  1054.       <LineSymbolizer>
  1055.         <CssParameter name="stroke">#fff</CssParameter>
  1056.         <CssParameter name="stroke-width">6.5</CssParameter>
  1057.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1058.         <CssParameter name="stroke-linecap">round</CssParameter>
  1059.       </LineSymbolizer>
  1060.     </Rule>
  1061.     <Rule>
  1062.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  1063.       &maxscale_zoom16;
  1064.       &minscale_zoom16;
  1065.       <LineSymbolizer>
  1066.         <CssParameter name="stroke">#fff</CssParameter>
  1067.         <CssParameter name="stroke-width">9.4</CssParameter>
  1068.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1069.         <CssParameter name="stroke-linecap">round</CssParameter>
  1070.       </LineSymbolizer>
  1071.     </Rule>
  1072.     <Rule>
  1073.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  1074.       &maxscale_zoom17;
  1075.       &minscale_zoom18;
  1076.       <LineSymbolizer>
  1077.         <CssParameter name="stroke">#fff</CssParameter>
  1078.         <CssParameter name="stroke-width">13</CssParameter>
  1079.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1080.         <CssParameter name="stroke-linecap">round</CssParameter>
  1081.       </LineSymbolizer>
  1082.     </Rule>
  1083. </Style>
  1084. <Style name="minor-roads-casing-links">
  1085.     <Rule>
  1086.       <Filter>[highway]='raceway'</Filter>
  1087.       &maxscale_zoom12;
  1088.       &minscale_zoom12;
  1089.       <LineSymbolizer>
  1090.         <CssParameter name="stroke">pink</CssParameter>
  1091.         <CssParameter name="stroke-width">1.2</CssParameter>
  1092.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1093.       </LineSymbolizer>
  1094.     </Rule>
  1095.     <Rule>
  1096.       <Filter>[highway]='raceway'</Filter>
  1097.       &maxscale_zoom13;
  1098.       &minscale_zoom14;
  1099.       <LineSymbolizer>
  1100.         <CssParameter name="stroke">pink</CssParameter>
  1101.         <CssParameter name="stroke-width">4</CssParameter>
  1102.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1103.       </LineSymbolizer>
  1104.     </Rule>
  1105.     <Rule>
  1106.       <Filter>[highway]='raceway'</Filter>
  1107.       &maxscale_zoom15;
  1108.       &minscale_zoom18;
  1109.       <LineSymbolizer>
  1110.         <CssParameter name="stroke">pink</CssParameter>
  1111.         <CssParameter name="stroke-width">7</CssParameter>
  1112.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1113.       </LineSymbolizer>
  1114.     </Rule>
  1115.     <Rule>
  1116.       <Filter>[highway]='motorway_link' and not [tunnel] = 'yes'</Filter>
  1117.       &maxscale_zoom12;
  1118.       &minscale_zoom12;
  1119.       <LineSymbolizer>
  1120.         <CssParameter name="stroke">#506077</CssParameter>
  1121.         <CssParameter name="stroke-width">1.5</CssParameter>
  1122.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1123.       </LineSymbolizer>
  1124.     </Rule>
  1125.     <Rule>
  1126.       <Filter>[highway]='motorway_link' and not [tunnel] = 'yes'</Filter>
  1127.       &maxscale_zoom13;
  1128.       &minscale_zoom14;
  1129.       <LineSymbolizer>
  1130.         <CssParameter name="stroke">#506077</CssParameter>
  1131.         <CssParameter name="stroke-width">4.5</CssParameter>
  1132.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1133.       </LineSymbolizer>
  1134.     </Rule>
  1135.     <Rule>
  1136.       <Filter>[highway]='motorway_link' and not [tunnel] = 'yes'</Filter>
  1137.       &maxscale_zoom15;
  1138.       &minscale_zoom16;
  1139.       <LineSymbolizer>
  1140.         <CssParameter name="stroke">#506077</CssParameter>
  1141.         <CssParameter name="stroke-width">8</CssParameter>
  1142.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1143.       </LineSymbolizer>
  1144.     </Rule>
  1145.     <Rule>
  1146.       <Filter>[highway]='motorway_link' and not [tunnel] = 'yes'</Filter>
  1147.       &maxscale_zoom17;
  1148.       &minscale_zoom18;
  1149.       <LineSymbolizer>
  1150.         <CssParameter name="stroke">#506077</CssParameter>
  1151.         <CssParameter name="stroke-width">11</CssParameter>
  1152.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1153.       </LineSymbolizer>
  1154.     </Rule>
  1155.     <Rule>
  1156.      <Filter>[highway] = 'trunk_link' and not [tunnel] = 'yes'</Filter>
  1157.       &maxscale_zoom12;
  1158.       &minscale_zoom12;
  1159.       <LineSymbolizer>
  1160.         <CssParameter name="stroke">#477147</CssParameter>
  1161.         <CssParameter name="stroke-width">3</CssParameter>
  1162.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1163.       </LineSymbolizer>
  1164.     </Rule>
  1165.     <Rule>
  1166.      <Filter>[highway] = 'trunk_link' and not [tunnel] = 'yes'</Filter>
  1167.       &maxscale_zoom13;
  1168.       &minscale_zoom14;
  1169.       <LineSymbolizer>
  1170.         <CssParameter name="stroke">#477147</CssParameter>
  1171.         <CssParameter name="stroke-width">7.5</CssParameter>
  1172.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1173.       </LineSymbolizer>
  1174.     </Rule>
  1175.     <Rule>
  1176.      <Filter>[highway] = 'trunk_link' and not [tunnel] = 'yes'</Filter>
  1177.       &maxscale_zoom15;
  1178.       &minscale_zoom16;
  1179.       <LineSymbolizer>
  1180.         <CssParameter name="stroke">#477147</CssParameter>
  1181.         <CssParameter name="stroke-width">11.5</CssParameter>
  1182.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1183.       </LineSymbolizer>
  1184.     </Rule>
  1185.     <Rule>
  1186.      <Filter>[highway] = 'trunk_link' and not [tunnel] = 'yes'</Filter>
  1187.       &maxscale_zoom17;
  1188.       &minscale_zoom18;
  1189.       <LineSymbolizer>
  1190.         <CssParameter name="stroke">#477147</CssParameter>
  1191.         <CssParameter name="stroke-width">16</CssParameter>
  1192.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1193.       </LineSymbolizer>
  1194.     </Rule>
  1195.     <Rule>
  1196.       <Filter>[highway] = 'primary_link' and not [tunnel] = 'yes'</Filter>
  1197.       &maxscale_zoom12;      
  1198.       &minscale_zoom12;
  1199.       <LineSymbolizer>
  1200.         <CssParameter name="stroke">#8d4346</CssParameter>
  1201.         <CssParameter name="stroke-width">3</CssParameter>
  1202.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1203.       </LineSymbolizer>
  1204.     </Rule>
  1205.     <Rule>
  1206.       <Filter>[highway] = 'primary_link' and not [tunnel] = 'yes'</Filter>
  1207.       &maxscale_zoom13;      
  1208.       &minscale_zoom14;
  1209.       <LineSymbolizer>
  1210.         <CssParameter name="stroke">#8d4346</CssParameter>
  1211.         <CssParameter name="stroke-width">7.5</CssParameter>
  1212.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1213.       </LineSymbolizer>
  1214.     </Rule>
  1215.     <Rule>
  1216.       <Filter>[highway] = 'primary_link' and not [tunnel] = 'yes'</Filter>
  1217.       &maxscale_zoom15;      
  1218.       &minscale_zoom16;
  1219.       <LineSymbolizer>
  1220.         <CssParameter name="stroke">#8d4346</CssParameter>
  1221.         <CssParameter name="stroke-width">11.5</CssParameter>
  1222.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1223.       </LineSymbolizer>
  1224.     </Rule>
  1225.     <Rule>
  1226.       <Filter>[highway] = 'primary_link' and not [tunnel] = 'yes'</Filter>
  1227.       &maxscale_zoom17;      
  1228.       &minscale_zoom18;
  1229.       <LineSymbolizer>
  1230.         <CssParameter name="stroke">#8d4346</CssParameter>
  1231.         <CssParameter name="stroke-width">16</CssParameter>
  1232.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1233.       </LineSymbolizer>
  1234.     </Rule>
  1235.     <Rule>
  1236.       <Filter>[highway] = 'secondary_link' and not [tunnel] = 'yes'</Filter>
  1237.       &maxscale_zoom12;
  1238.       &minscale_zoom12;
  1239.       <LineSymbolizer>
  1240.         <CssParameter name="stroke">#a37b48</CssParameter>
  1241.         <CssParameter name="stroke-width">2.5</CssParameter>
  1242.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1243.         <CssParameter name="stroke-linecap">round</CssParameter>
  1244.       </LineSymbolizer>
  1245.     </Rule>
  1246.     <Rule>
  1247.       <Filter>[highway] = 'secondary_link' and not [tunnel] = 'yes'</Filter>
  1248.       &maxscale_zoom13;
  1249.       &minscale_zoom14;
  1250.       <LineSymbolizer>
  1251.         <CssParameter name="stroke">#a37b48</CssParameter>
  1252.         <CssParameter name="stroke-width">8.5</CssParameter>
  1253.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1254.         <CssParameter name="stroke-linecap">round</CssParameter>
  1255.       </LineSymbolizer>
  1256.     </Rule>
  1257.     <Rule>
  1258.       <Filter>[highway] = 'secondary_link' and not [tunnel] = 'yes'</Filter>
  1259.       &maxscale_zoom15;
  1260.       &minscale_zoom16;
  1261.       <LineSymbolizer>
  1262.         <CssParameter name="stroke">#a37b48</CssParameter>
  1263.         <CssParameter name="stroke-width">11.5</CssParameter>
  1264.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1265.         <CssParameter name="stroke-linecap">round</CssParameter>
  1266.       </LineSymbolizer>
  1267.     </Rule>
  1268.     <Rule>
  1269.       <Filter>[highway] = 'secondary_link' and not [tunnel] = 'yes'</Filter>
  1270.       &maxscale_zoom17;
  1271.       &minscale_zoom18;
  1272.       <LineSymbolizer>
  1273.         <CssParameter name="stroke">#a37b48</CssParameter>
  1274.         <CssParameter name="stroke-width">16</CssParameter>
  1275.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1276.         <CssParameter name="stroke-linecap">round</CssParameter>
  1277.       </LineSymbolizer>
  1278.     </Rule>
  1279.     <Rule>
  1280.       <Filter>[highway] = 'tertiary_link' and not [tunnel]='yes'</Filter>
  1281.       &maxscale_zoom13;
  1282.       &minscale_zoom13;
  1283.       <LineSymbolizer>
  1284.         <CssParameter name="stroke">#bbb</CssParameter>
  1285.         <CssParameter name="stroke-width">6</CssParameter>
  1286.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1287.         <CssParameter name="stroke-linecap">round</CssParameter>
  1288.       </LineSymbolizer>
  1289.     </Rule>
  1290.     <Rule>
  1291.       <Filter>[highway] = 'tertiary_link' and not [tunnel]='yes'</Filter>
  1292.       &maxscale_zoom14;
  1293.       &minscale_zoom14;
  1294.       <LineSymbolizer>
  1295.         <CssParameter name="stroke">#bbb</CssParameter>
  1296.         <CssParameter name="stroke-width">7.5</CssParameter>
  1297.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1298.         <CssParameter name="stroke-linecap">round</CssParameter>
  1299.       </LineSymbolizer>
  1300.     </Rule>
  1301.     <Rule>
  1302.       <Filter>[highway] = 'tertiary_link' and not [tunnel]='yes'</Filter>
  1303.       &maxscale_zoom15;
  1304.       &minscale_zoom16;
  1305.       <LineSymbolizer>
  1306.         <CssParameter name="stroke">#bbb</CssParameter>
  1307.         <CssParameter name="stroke-width">11</CssParameter>
  1308.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1309.         <CssParameter name="stroke-linecap">round</CssParameter>
  1310.       </LineSymbolizer>
  1311.     </Rule>
  1312.     <Rule>
  1313.       <Filter>[highway] = 'tertiary_link' and not [tunnel]='yes'</Filter>
  1314.       &maxscale_zoom17;
  1315.       &minscale_zoom18;
  1316.       <LineSymbolizer>
  1317.         <CssParameter name="stroke">#bbb</CssParameter>
  1318.         <CssParameter name="stroke-width">16</CssParameter>
  1319.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1320.         <CssParameter name="stroke-linecap">round</CssParameter>
  1321.       </LineSymbolizer>
  1322.     </Rule>
  1323. </Style>
  1324. <Style name="minor-roads-casing">
  1325.     <Rule>
  1326.       <Filter>[highway] = 'motorway' and not [tunnel] = 'yes'</Filter>
  1327.       &maxscale_zoom12;
  1328.       &minscale_zoom12;
  1329.       <LineSymbolizer>
  1330.         <CssParameter name="stroke">#506077</CssParameter>
  1331.         <CssParameter name="stroke-width">3</CssParameter>
  1332.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1333.       </LineSymbolizer>
  1334.     </Rule>
  1335.     <Rule>
  1336.      <Filter>[highway] = 'trunk' and not [tunnel] = 'yes'</Filter>
  1337.       &maxscale_zoom12;
  1338.       &minscale_zoom12;
  1339.       <LineSymbolizer>
  1340.         <CssParameter name="stroke">#477147</CssParameter>
  1341.         <CssParameter name="stroke-width">3</CssParameter>
  1342.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1343.       </LineSymbolizer>
  1344.     </Rule>
  1345.     <Rule>
  1346.       <Filter>[highway] = 'primary' and not [tunnel] = 'yes'</Filter>
  1347.       &maxscale_zoom12;      
  1348.       &minscale_zoom12;
  1349.       <LineSymbolizer>
  1350.         <CssParameter name="stroke">#8d4346</CssParameter>
  1351.         <CssParameter name="stroke-width">3</CssParameter>
  1352.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1353.       </LineSymbolizer>
  1354.     </Rule>
  1355.     <Rule>
  1356.       <Filter>[highway] = 'secondary' and not [tunnel] = 'yes'</Filter>
  1357.       &maxscale_zoom12;
  1358.       &minscale_zoom12;
  1359.       <LineSymbolizer>
  1360.         <CssParameter name="stroke">#a37b48</CssParameter>
  1361.         <CssParameter name="stroke-width">2.5</CssParameter>
  1362.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1363.         <CssParameter name="stroke-linecap">round</CssParameter>
  1364.       </LineSymbolizer>
  1365.     </Rule>
  1366.     <Rule>
  1367.       <Filter>[highway] = 'motorway' and not [tunnel] = 'yes'</Filter>
  1368.       &maxscale_zoom13;
  1369.       &minscale_zoom14;
  1370.       <LineSymbolizer>
  1371.         <CssParameter name="stroke">#506077</CssParameter>
  1372.         <CssParameter name="stroke-width">6.5</CssParameter>
  1373.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1374.       </LineSymbolizer>
  1375.     </Rule>
  1376.     <Rule>
  1377.      <Filter>[highway] = 'trunk' and not [tunnel] = 'yes'</Filter>
  1378.       &maxscale_zoom13;
  1379.       &minscale_zoom14;
  1380.       <LineSymbolizer>
  1381.         <CssParameter name="stroke">#477147</CssParameter>
  1382.         <CssParameter name="stroke-width">7.5</CssParameter>
  1383.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1384.       </LineSymbolizer>
  1385.     </Rule>
  1386.     <Rule>
  1387.       <Filter>[highway] = 'primary' and not [tunnel] = 'yes'</Filter>
  1388.       &maxscale_zoom13;      
  1389.       &minscale_zoom14;
  1390.       <LineSymbolizer>
  1391.         <CssParameter name="stroke">#8d4346</CssParameter>
  1392.         <CssParameter name="stroke-width">7.5</CssParameter>
  1393.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1394.       </LineSymbolizer>
  1395.     </Rule>
  1396.     <Rule>
  1397.       <Filter>[highway] = 'secondary' and not [tunnel] = 'yes'</Filter>
  1398.       &maxscale_zoom13;
  1399.       &minscale_zoom14;
  1400.       <LineSymbolizer>
  1401.         <CssParameter name="stroke">#a37b48</CssParameter>
  1402.         <CssParameter name="stroke-width">8.5</CssParameter>
  1403.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1404.         <CssParameter name="stroke-linecap">round</CssParameter>
  1405.       </LineSymbolizer>
  1406.     </Rule>
  1407.     <Rule>
  1408.       <Filter>[highway] = 'motorway' and not [tunnel] = 'yes'</Filter>
  1409.       &maxscale_zoom15;
  1410.       &minscale_zoom16;
  1411.       <LineSymbolizer>
  1412.         <CssParameter name="stroke">#506077</CssParameter>
  1413.         <CssParameter name="stroke-width">10</CssParameter>
  1414.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1415.       </LineSymbolizer>
  1416.     </Rule>
  1417.     <Rule>
  1418.      <Filter>[highway] = 'trunk' and not [tunnel] = 'yes'</Filter>
  1419.       &maxscale_zoom15;
  1420.       &minscale_zoom16;
  1421.       <LineSymbolizer>
  1422.         <CssParameter name="stroke">#477147</CssParameter>
  1423.         <CssParameter name="stroke-width">11.5</CssParameter>
  1424.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1425.       </LineSymbolizer>
  1426.     </Rule>
  1427.     <Rule>
  1428.       <Filter>[highway] = 'primary' and not [tunnel] = 'yes'</Filter>
  1429.       &maxscale_zoom15;      
  1430.       &minscale_zoom16;
  1431.       <LineSymbolizer>
  1432.         <CssParameter name="stroke">#8d4346</CssParameter>
  1433.         <CssParameter name="stroke-width">11.5</CssParameter>
  1434.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1435.       </LineSymbolizer>
  1436.     </Rule>
  1437.     <Rule>
  1438.       <Filter>[highway] = 'secondary' and not [tunnel] = 'yes'</Filter>
  1439.       &maxscale_zoom15;
  1440.       &minscale_zoom16;
  1441.       <LineSymbolizer>
  1442.         <CssParameter name="stroke">#a37b48</CssParameter>
  1443.         <CssParameter name="stroke-width">11.5</CssParameter>
  1444.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1445.         <CssParameter name="stroke-linecap">round</CssParameter>
  1446.       </LineSymbolizer>
  1447.     </Rule>
  1448.     <Rule>
  1449.       <Filter>[highway] = 'motorway' and not [tunnel] = 'yes'</Filter>
  1450.       &maxscale_zoom17;
  1451.       &minscale_zoom18;
  1452.       <LineSymbolizer>
  1453.         <CssParameter name="stroke">#506077</CssParameter>
  1454.         <CssParameter name="stroke-width">13</CssParameter>
  1455.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1456.       </LineSymbolizer>
  1457.     </Rule>
  1458.     <Rule>
  1459.      <Filter>[highway] = 'trunk' and not [tunnel] = 'yes'</Filter>
  1460.       &maxscale_zoom17;
  1461.       &minscale_zoom18;
  1462.       <LineSymbolizer>
  1463.         <CssParameter name="stroke">#477147</CssParameter>
  1464.         <CssParameter name="stroke-width">16</CssParameter>
  1465.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1466.       </LineSymbolizer>
  1467.     </Rule>
  1468.     <Rule>
  1469.       <Filter>[highway] = 'primary' and not [tunnel] = 'yes'</Filter>
  1470.       &maxscale_zoom17;      
  1471.       &minscale_zoom18;
  1472.       <LineSymbolizer>
  1473.         <CssParameter name="stroke">#8d4346</CssParameter>
  1474.         <CssParameter name="stroke-width">16</CssParameter>
  1475.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1476.       </LineSymbolizer>
  1477.     </Rule>
  1478.     <Rule>
  1479.       <Filter>[highway] = 'secondary' and not [tunnel] = 'yes'</Filter>
  1480.       &maxscale_zoom17;
  1481.       &minscale_zoom18;
  1482.       <LineSymbolizer>
  1483.         <CssParameter name="stroke">#a37b48</CssParameter>
  1484.         <CssParameter name="stroke-width">16</CssParameter>
  1485.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1486.         <CssParameter name="stroke-linecap">round</CssParameter>
  1487.       </LineSymbolizer>
  1488.     </Rule>
  1489.     <Rule>
  1490.       <Filter>[highway] = 'tertiary' and not [tunnel]='yes'</Filter>
  1491.       &maxscale_zoom13;
  1492.       &minscale_zoom13;
  1493.       <LineSymbolizer>
  1494.         <CssParameter name="stroke">#bbb</CssParameter>
  1495.         <CssParameter name="stroke-width">6</CssParameter>
  1496.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1497.         <CssParameter name="stroke-linecap">round</CssParameter>
  1498.       </LineSymbolizer>
  1499.     </Rule>
  1500.    
  1501.     <Rule>
  1502.       <Filter>([highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road') and not [tunnel]='yes'</Filter>
  1503.       &maxscale_zoom13;
  1504.       &minscale_zoom13;
  1505.       <LineSymbolizer>
  1506.         <CssParameter name="stroke">#999</CssParameter>
  1507.         <CssParameter name="stroke-width">3</CssParameter>
  1508.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1509.         <CssParameter name="stroke-linecap">round</CssParameter>
  1510.       </LineSymbolizer>
  1511.     </Rule>
  1512.    
  1513.     <Rule>
  1514.       <Filter>[highway] = 'tertiary' and not [tunnel]='yes'</Filter>
  1515.       &maxscale_zoom14;
  1516.       &minscale_zoom14;
  1517.       <LineSymbolizer>
  1518.         <CssParameter name="stroke">#bbb</CssParameter>
  1519.         <CssParameter name="stroke-width">7.5</CssParameter>
  1520.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1521.         <CssParameter name="stroke-linecap">round</CssParameter>
  1522.       </LineSymbolizer>
  1523.     </Rule>
  1524.    
  1525.     <Rule>
  1526.       <Filter>([highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road') and not [tunnel]='yes'</Filter>
  1527.       &maxscale_zoom14;
  1528.       &minscale_zoom14;
  1529.       <LineSymbolizer>
  1530.         <CssParameter name="stroke">#999</CssParameter>
  1531.         <CssParameter name="stroke-width">4.5</CssParameter>
  1532.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1533.         <CssParameter name="stroke-linecap">round</CssParameter>
  1534.       </LineSymbolizer>
  1535.     </Rule>
  1536.     <Rule>
  1537.       <Filter>([highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road') and not [tunnel]='yes'</Filter>
  1538.       &maxscale_zoom15;
  1539.       &minscale_zoom15;
  1540.       <LineSymbolizer>
  1541.         <CssParameter name="stroke">#bbb</CssParameter>
  1542.         <CssParameter name="stroke-width">8</CssParameter>
  1543.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1544.         <CssParameter name="stroke-linecap">round</CssParameter>
  1545.       </LineSymbolizer>
  1546.     </Rule>
  1547.     <Rule>
  1548.       <Filter>([highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road') and not [tunnel]='yes'</Filter>
  1549.       &maxscale_zoom16;
  1550.       &minscale_zoom16;
  1551.       <LineSymbolizer>
  1552.         <CssParameter name="stroke">#bbb</CssParameter>
  1553.         <CssParameter name="stroke-width">11</CssParameter>
  1554.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1555.         <CssParameter name="stroke-linecap">round</CssParameter>
  1556.       </LineSymbolizer>
  1557.     </Rule>
  1558.     <Rule>
  1559.       <Filter>[highway] = 'tertiary' and not [tunnel]='yes'</Filter>
  1560.       &maxscale_zoom15;
  1561.       &minscale_zoom16;
  1562.       <LineSymbolizer>
  1563.         <CssParameter name="stroke">#bbb</CssParameter>
  1564.         <CssParameter name="stroke-width">11</CssParameter>
  1565.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1566.         <CssParameter name="stroke-linecap">round</CssParameter>
  1567.       </LineSymbolizer>
  1568.     </Rule>
  1569.     <Rule>
  1570.       <Filter>([highway] = 'tertiary' or [highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road') and not [tunnel]='yes'</Filter>
  1571.       &maxscale_zoom17;
  1572.       &minscale_zoom18;
  1573.       <LineSymbolizer>
  1574.         <CssParameter name="stroke">#bbb</CssParameter>
  1575.         <CssParameter name="stroke-width">16</CssParameter>
  1576.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1577.         <CssParameter name="stroke-linecap">round</CssParameter>
  1578.       </LineSymbolizer>
  1579.     </Rule>
  1580.    
  1581.     <Rule>
  1582.       <Filter>[highway] = 'service' and not ([service]='INT-minor' or [tunnel]='yes')</Filter>
  1583.       &maxscale_zoom14;
  1584.       &minscale_zoom15;
  1585.       <LineSymbolizer>
  1586.         <CssParameter name="stroke">#999</CssParameter>
  1587.         <CssParameter name="stroke-width">2.5</CssParameter>
  1588.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1589.         <CssParameter name="stroke-linecap">round</CssParameter>
  1590.       </LineSymbolizer>
  1591.     </Rule>
  1592.     <Rule>
  1593.       <Filter>[highway] = 'service' and [tunnel]='yes'</Filter>
  1594.       &maxscale_zoom14;
  1595.       &minscale_zoom15;
  1596.       <LineSymbolizer>
  1597.         <CssParameter name="stroke">#999</CssParameter>
  1598.         <CssParameter name="stroke-width">2.5</CssParameter>
  1599.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  1600.       </LineSymbolizer>
  1601.     </Rule>
  1602.     <Rule>
  1603.       <Filter>[highway] = 'service' and not ([service]='INT-minor' or [tunnel]='yes')</Filter>
  1604.       &maxscale_zoom16;
  1605.       &minscale_zoom18;
  1606.       <LineSymbolizer>
  1607.         <CssParameter name="stroke">#999</CssParameter>
  1608.         <CssParameter name="stroke-width">7</CssParameter>
  1609.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1610.         <CssParameter name="stroke-linecap">round</CssParameter>
  1611.       </LineSymbolizer>
  1612.    </Rule>
  1613.    <Rule>
  1614.       <Filter>[highway] = 'service' and [tunnel]='yes'</Filter>
  1615.       &maxscale_zoom16;
  1616.       &minscale_zoom18;
  1617.       <LineSymbolizer>
  1618.         <CssParameter name="stroke">#999</CssParameter>
  1619.         <CssParameter name="stroke-width">7</CssParameter>
  1620.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  1621.       </LineSymbolizer>
  1622.    </Rule>
  1623.    <Rule>
  1624.       <Filter>[highway] = 'service' and [service]='INT-minor'</Filter>
  1625.       &maxscale_zoom16;
  1626.       &minscale_zoom18;
  1627.       <LineSymbolizer>
  1628.         <CssParameter name="stroke">#999</CssParameter>
  1629.         <CssParameter name="stroke-width">4</CssParameter>
  1630.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1631.         <CssParameter name="stroke-linecap">round</CssParameter>
  1632.       </LineSymbolizer>
  1633.    </Rule>
  1634.    <Rule>
  1635.       <Filter>[highway] = 'pedestrian' and not [tunnel]='yes'</Filter>
  1636.       &maxscale_zoom13;
  1637.       &minscale_zoom13;
  1638.       <LineSymbolizer>
  1639.         <CssParameter name="stroke">grey</CssParameter>
  1640.         <CssParameter name="stroke-width">2</CssParameter>
  1641.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1642.         <CssParameter name="stroke-linecap">round</CssParameter>
  1643.       </LineSymbolizer>
  1644.    </Rule>
  1645.    <Rule>
  1646.       <Filter>[highway] = 'pedestrian' and [tunnel]='yes'</Filter>
  1647.       &maxscale_zoom13;
  1648.       &minscale_zoom13;
  1649.       <LineSymbolizer>
  1650.         <CssParameter name="stroke">grey</CssParameter>
  1651.         <CssParameter name="stroke-width">2</CssParameter>
  1652.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  1653.       </LineSymbolizer>
  1654.    </Rule>
  1655.    <Rule>
  1656.       <Filter>[highway] = 'pedestrian' and not [tunnel]='yes'</Filter>
  1657.       &maxscale_zoom14;
  1658.       &minscale_zoom14;
  1659.       <LineSymbolizer>
  1660.         <CssParameter name="stroke">grey</CssParameter>
  1661.         <CssParameter name="stroke-width">3.6</CssParameter>
  1662.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1663.         <CssParameter name="stroke-linecap">round</CssParameter>
  1664.       </LineSymbolizer>
  1665.    </Rule>
  1666.    <Rule>
  1667.       <Filter>[highway] = 'pedestrian' and [tunnel]='yes'</Filter>
  1668.       &maxscale_zoom14;
  1669.       &minscale_zoom14;
  1670.       <LineSymbolizer>
  1671.         <CssParameter name="stroke">grey</CssParameter>
  1672.         <CssParameter name="stroke-width">3.6</CssParameter>
  1673.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  1674.       </LineSymbolizer>
  1675.    </Rule>
  1676.    <Rule>
  1677.       <Filter>[highway] = 'pedestrian' and not [tunnel]='yes'</Filter>
  1678.       &maxscale_zoom15;
  1679.       &minscale_zoom15;
  1680.       <LineSymbolizer>
  1681.         <CssParameter name="stroke">grey</CssParameter>
  1682.         <CssParameter name="stroke-width">6.5</CssParameter>
  1683.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1684.         <CssParameter name="stroke-linecap">round</CssParameter>
  1685.       </LineSymbolizer>
  1686.    </Rule>
  1687.    <Rule>
  1688.       <Filter>[highway] = 'pedestrian' and [tunnel]='yes'</Filter>
  1689.       &maxscale_zoom15;
  1690.       &minscale_zoom15;
  1691.       <LineSymbolizer>
  1692.         <CssParameter name="stroke">grey</CssParameter>
  1693.         <CssParameter name="stroke-width">6.5</CssParameter>
  1694.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  1695.       </LineSymbolizer>
  1696.    </Rule>
  1697.    <Rule>
  1698.       <Filter>[highway] = 'pedestrian' and not [tunnel]='yes'</Filter>
  1699.       &maxscale_zoom16;
  1700.       <LineSymbolizer>
  1701.         <CssParameter name="stroke">grey</CssParameter>
  1702.         <CssParameter name="stroke-width">9</CssParameter>
  1703.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1704.         <CssParameter name="stroke-linecap">round</CssParameter>
  1705.       </LineSymbolizer>
  1706.    </Rule>
  1707.    <Rule>
  1708.       <Filter>[highway] = 'pedestrian' and [tunnel]='yes'</Filter>
  1709.       &maxscale_zoom16;
  1710.       <LineSymbolizer>
  1711.         <CssParameter name="stroke">grey</CssParameter>
  1712.         <CssParameter name="stroke-width">9</CssParameter>
  1713.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  1714.       </LineSymbolizer>
  1715.     </Rule>
  1716.     <Rule>
  1717.       <Filter>[highway] = 'living_street'</Filter>
  1718.       &maxscale_zoom12;
  1719.       &minscale_zoom13;
  1720.       <LineSymbolizer>
  1721.         <CssParameter name="stroke">white</CssParameter>
  1722.         <CssParameter name="stroke-width">2.5</CssParameter>
  1723.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1724.         <CssParameter name="stroke-linecap">round</CssParameter>
  1725.       </LineSymbolizer>
  1726.     </Rule>
  1727.     <Rule>
  1728.       <Filter>[highway] = 'living_street'</Filter>
  1729.       &maxscale_zoom14;
  1730.       &minscale_zoom14;
  1731.       <LineSymbolizer>
  1732.         <CssParameter name="stroke">white</CssParameter>
  1733.         <CssParameter name="stroke-width">4</CssParameter>
  1734.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1735.         <CssParameter name="stroke-linecap">round</CssParameter>
  1736.       </LineSymbolizer>
  1737.     </Rule>
  1738.     <Rule>
  1739.       <Filter>[highway] = 'living_street'</Filter>
  1740.       &maxscale_zoom15;
  1741.       &minscale_zoom15;
  1742.       <LineSymbolizer>
  1743.         <CssParameter name="stroke">white</CssParameter>
  1744.         <CssParameter name="stroke-width">6</CssParameter>
  1745.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1746.         <CssParameter name="stroke-linecap">round</CssParameter>
  1747.       </LineSymbolizer>
  1748.     </Rule>
  1749.    <Rule>
  1750.       <Filter>[highway] = 'living_street'</Filter>
  1751.       &maxscale_zoom16;
  1752.       &minscale_zoom16;
  1753.       <LineSymbolizer>
  1754.         <CssParameter name="stroke">white</CssParameter>
  1755.         <CssParameter name="stroke-width">9</CssParameter>
  1756.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1757.         <CssParameter name="stroke-linecap">round</CssParameter>
  1758.       </LineSymbolizer>
  1759.     </Rule>
  1760.    <Rule>
  1761.       <Filter>[highway] = 'living_street'</Filter>
  1762.       &maxscale_zoom17;
  1763.       &minscale_zoom18;
  1764.       <LineSymbolizer>
  1765.         <CssParameter name="stroke">white</CssParameter>
  1766.         <CssParameter name="stroke-width">14.5</CssParameter>
  1767.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1768.         <CssParameter name="stroke-linecap">round</CssParameter>
  1769.       </LineSymbolizer>
  1770.     </Rule>
  1771.  
  1772. </Style>
  1773. <Style name="minor-roads-fill-links">
  1774.     <Rule>
  1775.       <Filter>[highway]='motorway_link' and not [tunnel] = 'yes'</Filter>
  1776.       &maxscale_zoom12;
  1777.       &minscale_zoom12;
  1778.       <LineSymbolizer>
  1779.         <CssParameter name="stroke">#809bc0</CssParameter>
  1780.         <CssParameter name="stroke-width">0.5</CssParameter>
  1781.       </LineSymbolizer>
  1782.     </Rule>
  1783.     <Rule>
  1784.       <Filter>[highway] = 'motorway_link' and not [tunnel] = 'yes'</Filter>
  1785.       &maxscale_zoom13;
  1786.       &minscale_zoom14;
  1787.       <LineSymbolizer>
  1788.         <CssParameter name="stroke">#809bc0</CssParameter>
  1789.         <CssParameter name="stroke-width">3</CssParameter>
  1790.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1791.         <CssParameter name="stroke-linecap">round</CssParameter>
  1792.       </LineSymbolizer>
  1793.     </Rule>
  1794.     <Rule>
  1795.       <Filter>[highway] = 'motorway_link' and not [tunnel] = 'yes'</Filter>
  1796.       &maxscale_zoom15;
  1797.       &minscale_zoom16;
  1798.       <LineSymbolizer>
  1799.         <CssParameter name="stroke">#809bc0</CssParameter>
  1800.         <CssParameter name="stroke-width">6.5</CssParameter>
  1801.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1802.         <CssParameter name="stroke-linecap">round</CssParameter>
  1803.       </LineSymbolizer>
  1804.     </Rule>
  1805.     <Rule>
  1806.       <Filter>[highway] = 'motorway_link' and not [tunnel] = 'yes'</Filter>
  1807.       &maxscale_zoom17;
  1808.       &minscale_zoom18;
  1809.       <LineSymbolizer>
  1810.         <CssParameter name="stroke">#809bc0</CssParameter>
  1811.         <CssParameter name="stroke-width">9</CssParameter>
  1812.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1813.         <CssParameter name="stroke-linecap">round</CssParameter>
  1814.       </LineSymbolizer>
  1815.     </Rule>
  1816.     <Rule>
  1817.       <Filter>[highway] = 'trunk_link' and not [tunnel] = 'yes'</Filter>
  1818.       &maxscale_zoom12;
  1819.       &minscale_zoom12;
  1820.       <LineSymbolizer>
  1821.         <CssParameter name="stroke">#a9dba9</CssParameter>
  1822.         <CssParameter name="stroke-width">2.5</CssParameter>
  1823.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1824.         <CssParameter name="stroke-linecap">round</CssParameter>
  1825.       </LineSymbolizer>
  1826.     </Rule>
  1827.     <Rule>
  1828.       <Filter>[highway] = 'trunk_link' and not [tunnel] = 'yes'</Filter>
  1829.       &maxscale_zoom13;
  1830.       &minscale_zoom14;
  1831.       <LineSymbolizer>
  1832.         <CssParameter name="stroke">#a9dba9</CssParameter>
  1833.         <CssParameter name="stroke-width">7</CssParameter>
  1834.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1835.         <CssParameter name="stroke-linecap">round</CssParameter>
  1836.       </LineSymbolizer>
  1837.     </Rule>
  1838.     <Rule>
  1839.       <Filter>[highway] = 'trunk_link' and not [tunnel] = 'yes'</Filter>
  1840.       &maxscale_zoom15;
  1841.       &minscale_zoom16;
  1842.       <LineSymbolizer>
  1843.         <CssParameter name="stroke">#a9dba9</CssParameter>
  1844.         <CssParameter name="stroke-width">11</CssParameter>
  1845.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1846.         <CssParameter name="stroke-linecap">round</CssParameter>
  1847.       </LineSymbolizer>
  1848.     </Rule>
  1849.     <Rule>
  1850.       <Filter>[highway] = 'trunk_link' and not [tunnel] = 'yes'</Filter>
  1851.       &maxscale_zoom17;
  1852.       &minscale_zoom18;
  1853.       <LineSymbolizer>
  1854.         <CssParameter name="stroke">#a9dba9</CssParameter>
  1855.         <CssParameter name="stroke-width">15.5</CssParameter>
  1856.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1857.         <CssParameter name="stroke-linecap">round</CssParameter>
  1858.       </LineSymbolizer>
  1859.    </Rule>
  1860.    <Rule>
  1861.       <Filter>[highway] = 'primary_link' and not [tunnel] = 'yes'</Filter>
  1862.       &maxscale_zoom12;
  1863.       &minscale_zoom12;
  1864.       <LineSymbolizer>
  1865.         <CssParameter name="stroke">#ec989a</CssParameter>
  1866.         <CssParameter name="stroke-width">2.5</CssParameter>
  1867.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1868.         <CssParameter name="stroke-linecap">round</CssParameter>
  1869.       </LineSymbolizer>
  1870.     </Rule>
  1871.     <Rule>
  1872.       <Filter>[highway] = 'primary_link' and not [tunnel] = 'yes'</Filter>
  1873.       &maxscale_zoom13;
  1874.       &minscale_zoom14;
  1875.       <LineSymbolizer>
  1876.         <CssParameter name="stroke">#ec989a</CssParameter>
  1877.         <CssParameter name="stroke-width">7</CssParameter>
  1878.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1879.         <CssParameter name="stroke-linecap">round</CssParameter>
  1880.       </LineSymbolizer>
  1881.     </Rule>
  1882.     <Rule>
  1883.       <Filter>[highway] = 'primary_link' and not [tunnel] = 'yes'</Filter>
  1884.       &maxscale_zoom15;
  1885.       &minscale_zoom16;
  1886.       <LineSymbolizer>
  1887.         <CssParameter name="stroke">#ec989a</CssParameter>
  1888.         <CssParameter name="stroke-width">11</CssParameter>
  1889.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1890.         <CssParameter name="stroke-linecap">round</CssParameter>
  1891.       </LineSymbolizer>
  1892.     </Rule>
  1893.     <Rule>
  1894.       <Filter>[highway] = 'primary_link' and not [tunnel] = 'yes'</Filter>
  1895.       &maxscale_zoom17;
  1896.       &minscale_zoom18;
  1897.       <LineSymbolizer>
  1898.         <CssParameter name="stroke">#ec989a</CssParameter>
  1899.         <CssParameter name="stroke-width">15.5</CssParameter>
  1900.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1901.         <CssParameter name="stroke-linecap">round</CssParameter>
  1902.       </LineSymbolizer>
  1903.     </Rule>
  1904.    <Rule>
  1905.       <Filter>[highway] = 'secondary_link' and not [tunnel]='yes'</Filter>
  1906.       &maxscale_zoom12;
  1907.       &minscale_zoom12;
  1908.       <LineSymbolizer>
  1909.         <CssParameter name="stroke">#fed7a5</CssParameter>
  1910.         <CssParameter name="stroke-width">2</CssParameter>
  1911.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1912.         <CssParameter name="stroke-linecap">round</CssParameter>
  1913.       </LineSymbolizer>
  1914.     </Rule>
  1915.     <Rule>
  1916.       <Filter>[highway] = 'secondary_link' and not [tunnel]='yes'</Filter>
  1917.       &maxscale_zoom13;
  1918.       &minscale_zoom14;
  1919.       <LineSymbolizer>
  1920.         <CssParameter name="stroke">#fed7a5</CssParameter>
  1921.         <CssParameter name="stroke-width">8</CssParameter>
  1922.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1923.         <CssParameter name="stroke-linecap">round</CssParameter>
  1924.       </LineSymbolizer>
  1925.     </Rule>
  1926.     <Rule>
  1927.       <Filter>[highway] = 'secondary_link' and not [tunnel]='yes'</Filter>
  1928.       &maxscale_zoom15;
  1929.       &minscale_zoom16;
  1930.       <LineSymbolizer>
  1931.         <CssParameter name="stroke">#fed7a5</CssParameter>
  1932.         <CssParameter name="stroke-width">11</CssParameter>
  1933.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1934.         <CssParameter name="stroke-linecap">round</CssParameter>
  1935.       </LineSymbolizer>
  1936.     </Rule>
  1937.     <Rule>
  1938.       <Filter>[highway] = 'secondary_link' and not [tunnel]='yes'</Filter>
  1939.       &maxscale_zoom17;
  1940.       &minscale_zoom18;
  1941.       <LineSymbolizer>
  1942.         <CssParameter name="stroke">#fed7a5</CssParameter>
  1943.         <CssParameter name="stroke-width">15.5</CssParameter>
  1944.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1945.         <CssParameter name="stroke-linecap">round</CssParameter>
  1946.       </LineSymbolizer>
  1947.     </Rule>
  1948.     <Rule>
  1949.       <Filter>[highway] = 'tertiary_link' and not [tunnel]='yes'</Filter>
  1950.       &maxscale_zoom13;
  1951.       &minscale_zoom13;
  1952.       <LineSymbolizer>
  1953.         <CssParameter name="stroke">#ffffb3</CssParameter>
  1954.         <CssParameter name="stroke-width">4.5</CssParameter>
  1955.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1956.         <CssParameter name="stroke-linecap">round</CssParameter>
  1957.       </LineSymbolizer>
  1958.     </Rule>
  1959.     <Rule>
  1960.       <Filter>[highway] = 'tertiary_link' and not [tunnel]='yes'</Filter>
  1961.       &maxscale_zoom14;
  1962.       &minscale_zoom14;
  1963.       <LineSymbolizer>
  1964.         <CssParameter name="stroke">#ffffb3</CssParameter>
  1965.         <CssParameter name="stroke-width">6</CssParameter>
  1966.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1967.         <CssParameter name="stroke-linecap">round</CssParameter>
  1968.       </LineSymbolizer>
  1969.     </Rule>
  1970.     <Rule>
  1971.       <Filter>[highway] = 'tertiary_link' and not [tunnel]='yes'</Filter>
  1972.       &maxscale_zoom15;
  1973.       &minscale_zoom16;
  1974.       <LineSymbolizer>
  1975.         <CssParameter name="stroke">#ffffb3</CssParameter>
  1976.         <CssParameter name="stroke-width">9.4</CssParameter>
  1977.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1978.         <CssParameter name="stroke-linecap">round</CssParameter>
  1979.       </LineSymbolizer>
  1980.     </Rule>
  1981.     <Rule>
  1982.       <Filter>[highway] = 'tertiary_link' and not [tunnel]='yes'</Filter>
  1983.       &maxscale_zoom17;
  1984.       &minscale_zoom18;
  1985.       <LineSymbolizer>
  1986.         <CssParameter name="stroke">#ffffb3</CssParameter>
  1987.         <CssParameter name="stroke-width">13</CssParameter>
  1988.         <CssParameter name="stroke-linejoin">round</CssParameter>
  1989.         <CssParameter name="stroke-linecap">round</CssParameter>
  1990.       </LineSymbolizer>
  1991.     </Rule>
  1992. </Style>
  1993. <Style name="minor-roads-fill">
  1994.     <Rule>
  1995.       &maxscale_zoom12;
  1996.       &minscale_zoom12;
  1997.       <Filter>([highway] = 'proposed' or [highway]='construction') and not [construction] != ''</Filter>
  1998.       <LineSymbolizer>
  1999.         <CssParameter name="stroke">#9cc</CssParameter>
  2000.         <CssParameter name="stroke-width">2</CssParameter>
  2001.       </LineSymbolizer>
  2002.       <LineSymbolizer>
  2003.         <CssParameter name="stroke">white</CssParameter>
  2004.         <CssParameter name="stroke-width">2</CssParameter>
  2005.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  2006.       </LineSymbolizer>
  2007.     </Rule>
  2008.     <Rule>
  2009.       &maxscale_zoom12;
  2010.       &minscale_zoom12;
  2011.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='motorway' or [construction]='motorway_link')</Filter>
  2012.       <LineSymbolizer>
  2013.         <CssParameter name="stroke">#809bc0</CssParameter>
  2014.         <CssParameter name="stroke-width">2</CssParameter>
  2015.       </LineSymbolizer>
  2016.       <LineSymbolizer>
  2017.         <CssParameter name="stroke">white</CssParameter>
  2018.         <CssParameter name="stroke-width">2</CssParameter>
  2019.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  2020.       </LineSymbolizer>
  2021.     </Rule>
  2022.     <Rule>
  2023.       &maxscale_zoom12;
  2024.       &minscale_zoom12;
  2025.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='trunk' or [construction]='trunk_link')</Filter>
  2026.       <LineSymbolizer>
  2027.         <CssParameter name="stroke">#a9dba9</CssParameter>
  2028.         <CssParameter name="stroke-width">2</CssParameter>
  2029.       </LineSymbolizer>
  2030.       <LineSymbolizer>
  2031.         <CssParameter name="stroke">white</CssParameter>
  2032.         <CssParameter name="stroke-width">2</CssParameter>
  2033.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  2034.       </LineSymbolizer>
  2035.     </Rule>
  2036.     <Rule>
  2037.       &maxscale_zoom12;
  2038.       &minscale_zoom12;
  2039.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='primary' or [construction]='primary_link')</Filter>
  2040.       <LineSymbolizer>
  2041.         <CssParameter name="stroke">#ec989a</CssParameter>
  2042.         <CssParameter name="stroke-width">2</CssParameter>
  2043.       </LineSymbolizer>
  2044.       <LineSymbolizer>
  2045.         <CssParameter name="stroke">white</CssParameter>
  2046.         <CssParameter name="stroke-width">2</CssParameter>
  2047.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  2048.       </LineSymbolizer>
  2049.     </Rule>
  2050.     <Rule>
  2051.       &maxscale_zoom12;
  2052.       &minscale_zoom12;
  2053.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='secondary' or [construction]='secondary_link')</Filter>
  2054.       <LineSymbolizer>
  2055.         <CssParameter name="stroke">#fed7a5</CssParameter>
  2056.         <CssParameter name="stroke-width">2</CssParameter>
  2057.       </LineSymbolizer>
  2058.       <LineSymbolizer>
  2059.         <CssParameter name="stroke">white</CssParameter>
  2060.         <CssParameter name="stroke-width">2</CssParameter>
  2061.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  2062.       </LineSymbolizer>
  2063.     </Rule>
  2064.     <Rule>
  2065.       &maxscale_zoom13;
  2066.       &minscale_zoom15;
  2067.       <Filter>([highway] = 'proposed' or [highway]='construction') and not [construction] != ''</Filter>
  2068.       <LineSymbolizer>
  2069.         <CssParameter name="stroke">#9cc</CssParameter>
  2070.         <CssParameter name="stroke-width">4</CssParameter>
  2071.       </LineSymbolizer>
  2072.       <LineSymbolizer>
  2073.         <CssParameter name="stroke">white</CssParameter>
  2074.         <CssParameter name="stroke-width">3.5</CssParameter>
  2075.         <CssParameter name="stroke-dasharray">6,4</CssParameter>
  2076.       </LineSymbolizer>
  2077.     </Rule>
  2078.     <Rule>
  2079.       &maxscale_zoom13;
  2080.       &minscale_zoom15;
  2081.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='motorway' or [construction]='motorway_link')</Filter>
  2082.       <LineSymbolizer>
  2083.         <CssParameter name="stroke">#809bc0</CssParameter>
  2084.         <CssParameter name="stroke-width">4</CssParameter>
  2085.       </LineSymbolizer>
  2086.       <LineSymbolizer>
  2087.         <CssParameter name="stroke">white</CssParameter>
  2088.         <CssParameter name="stroke-width">3.5</CssParameter>
  2089.         <CssParameter name="stroke-dasharray">6,4</CssParameter>
  2090.       </LineSymbolizer>
  2091.     </Rule>
  2092.     <Rule>
  2093.       &maxscale_zoom13;
  2094.       &minscale_zoom15;
  2095.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='trunk' or [construction]='trunk_link')</Filter>
  2096.       <LineSymbolizer>
  2097.         <CssParameter name="stroke">#a9dba9</CssParameter>
  2098.         <CssParameter name="stroke-width">4</CssParameter>
  2099.       </LineSymbolizer>
  2100.       <LineSymbolizer>
  2101.         <CssParameter name="stroke">white</CssParameter>
  2102.         <CssParameter name="stroke-width">3.5</CssParameter>
  2103.         <CssParameter name="stroke-dasharray">6,4</CssParameter>
  2104.       </LineSymbolizer>
  2105.     </Rule>
  2106.     <Rule>
  2107.       &maxscale_zoom13;
  2108.       &minscale_zoom15;
  2109.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='primary' or [construction]='primary_link')</Filter>
  2110.       <LineSymbolizer>
  2111.         <CssParameter name="stroke">#ec989a</CssParameter>
  2112.         <CssParameter name="stroke-width">4</CssParameter>
  2113.       </LineSymbolizer>
  2114.       <LineSymbolizer>
  2115.         <CssParameter name="stroke">white</CssParameter>
  2116.         <CssParameter name="stroke-width">3.5</CssParameter>
  2117.         <CssParameter name="stroke-dasharray">6,4</CssParameter>
  2118.       </LineSymbolizer>
  2119.     </Rule>
  2120.     <Rule>
  2121.       &maxscale_zoom13;
  2122.       &minscale_zoom15;
  2123.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='secondary' or [construction]='secondary_link')</Filter>
  2124.       <LineSymbolizer>
  2125.         <CssParameter name="stroke">#fed7a5</CssParameter>
  2126.         <CssParameter name="stroke-width">4</CssParameter>
  2127.       </LineSymbolizer>
  2128.       <LineSymbolizer>
  2129.         <CssParameter name="stroke">white</CssParameter>
  2130.         <CssParameter name="stroke-width">3.5</CssParameter>
  2131.         <CssParameter name="stroke-dasharray">6,4</CssParameter>
  2132.       </LineSymbolizer>
  2133.     </Rule>
  2134.     <Rule>
  2135.       &maxscale_zoom13;
  2136.       &minscale_zoom15;
  2137.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='tertiary' or [construction]='tertiary_link')</Filter>
  2138.       <LineSymbolizer>
  2139.         <CssParameter name="stroke">#ffffb3</CssParameter>
  2140.         <CssParameter name="stroke-width">4</CssParameter>
  2141.       </LineSymbolizer>
  2142.       <LineSymbolizer>
  2143.         <CssParameter name="stroke">white</CssParameter>
  2144.         <CssParameter name="stroke-width">3.5</CssParameter>
  2145.         <CssParameter name="stroke-dasharray">6,4</CssParameter>
  2146.       </LineSymbolizer>
  2147.     </Rule>
  2148.     <Rule>
  2149.       &maxscale_zoom13;
  2150.       &minscale_zoom15;
  2151.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='residential' or [construction]='unclassified' or [construction]='living_street' or [construction]='service')</Filter>
  2152.       <LineSymbolizer>
  2153.         <CssParameter name="stroke">#aaa</CssParameter>
  2154.         <CssParameter name="stroke-width">4</CssParameter>
  2155.       </LineSymbolizer>
  2156.       <LineSymbolizer>
  2157.         <CssParameter name="stroke">white</CssParameter>
  2158.         <CssParameter name="stroke-width">3.5</CssParameter>
  2159.         <CssParameter name="stroke-dasharray">6,4</CssParameter>
  2160.       </LineSymbolizer>
  2161.     </Rule>
  2162.     <Rule>
  2163.       &maxscale_zoom16;
  2164.       &minscale_zoom18;
  2165.       <Filter>([highway] = 'proposed' or [highway]='construction') and not [construction] != ''</Filter>
  2166.       <LineSymbolizer>
  2167.         <CssParameter name="stroke">#9cc</CssParameter>
  2168.         <CssParameter name="stroke-width">8</CssParameter>
  2169.       </LineSymbolizer>
  2170.       <LineSymbolizer>
  2171.         <CssParameter name="stroke">white</CssParameter>
  2172.         <CssParameter name="stroke-width">7</CssParameter>
  2173.         <CssParameter name="stroke-dasharray">8,6</CssParameter>
  2174.       </LineSymbolizer>
  2175.     </Rule>
  2176.     <Rule>
  2177.       &maxscale_zoom16;
  2178.       &minscale_zoom18;
  2179.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='motorway' or [construction]='motorway_link')</Filter>
  2180.       <LineSymbolizer>
  2181.         <CssParameter name="stroke">#809bc0</CssParameter>
  2182.         <CssParameter name="stroke-width">8</CssParameter>
  2183.       </LineSymbolizer>
  2184.       <LineSymbolizer>
  2185.         <CssParameter name="stroke">white</CssParameter>
  2186.         <CssParameter name="stroke-width">7</CssParameter>
  2187.         <CssParameter name="stroke-dasharray">8,6</CssParameter>
  2188.       </LineSymbolizer>
  2189.     </Rule>
  2190.     <Rule>
  2191.       &maxscale_zoom16;
  2192.       &minscale_zoom18;
  2193.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='trunk' or [construction]='trunk_link')</Filter>
  2194.       <LineSymbolizer>
  2195.         <CssParameter name="stroke">#a9dba9</CssParameter>
  2196.         <CssParameter name="stroke-width">8</CssParameter>
  2197.       </LineSymbolizer>
  2198.       <LineSymbolizer>
  2199.         <CssParameter name="stroke">white</CssParameter>
  2200.         <CssParameter name="stroke-width">7</CssParameter>
  2201.         <CssParameter name="stroke-dasharray">8,6</CssParameter>
  2202.       </LineSymbolizer>
  2203.     </Rule>
  2204.     <Rule>
  2205.       &maxscale_zoom16;
  2206.       &minscale_zoom18;
  2207.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='primary' or [construction]='primary_link')</Filter>
  2208.       <LineSymbolizer>
  2209.         <CssParameter name="stroke">#ec989a</CssParameter>
  2210.         <CssParameter name="stroke-width">8</CssParameter>
  2211.       </LineSymbolizer>
  2212.       <LineSymbolizer>
  2213.         <CssParameter name="stroke">white</CssParameter>
  2214.         <CssParameter name="stroke-width">7</CssParameter>
  2215.         <CssParameter name="stroke-dasharray">8,6</CssParameter>
  2216.       </LineSymbolizer>
  2217.     </Rule>
  2218.     <Rule>
  2219.       &maxscale_zoom16;
  2220.       &minscale_zoom18;
  2221.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='secondary' or [construction]='secondary_link')</Filter>
  2222.       <LineSymbolizer>
  2223.         <CssParameter name="stroke">#fed7a5</CssParameter>
  2224.         <CssParameter name="stroke-width">8</CssParameter>
  2225.       </LineSymbolizer>
  2226.       <LineSymbolizer>
  2227.         <CssParameter name="stroke">white</CssParameter>
  2228.         <CssParameter name="stroke-width">7</CssParameter>
  2229.         <CssParameter name="stroke-dasharray">8,6</CssParameter>
  2230.       </LineSymbolizer>
  2231.     </Rule>
  2232.     <Rule>
  2233.       &maxscale_zoom16;
  2234.       &minscale_zoom18;
  2235.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='tertiary' or [construction]='tertiary_link')</Filter>
  2236.       <LineSymbolizer>
  2237.         <CssParameter name="stroke">#ffffb3</CssParameter>
  2238.         <CssParameter name="stroke-width">8</CssParameter>
  2239.       </LineSymbolizer>
  2240.       <LineSymbolizer>
  2241.         <CssParameter name="stroke">white</CssParameter>
  2242.         <CssParameter name="stroke-width">7</CssParameter>
  2243.         <CssParameter name="stroke-dasharray">8,6</CssParameter>
  2244.       </LineSymbolizer>
  2245.     </Rule>
  2246.     <Rule>
  2247.       &maxscale_zoom16;
  2248.       &minscale_zoom18;
  2249.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='residential' or [construction]='unclassified' or [construction]='living_street' or [construction]='service')</Filter>
  2250.       <LineSymbolizer>
  2251.         <CssParameter name="stroke">#aaa</CssParameter>
  2252.         <CssParameter name="stroke-width">8</CssParameter>
  2253.       </LineSymbolizer>
  2254.       <LineSymbolizer>
  2255.         <CssParameter name="stroke">white</CssParameter>
  2256.         <CssParameter name="stroke-width">7</CssParameter>
  2257.         <CssParameter name="stroke-dasharray">8,6</CssParameter>
  2258.       </LineSymbolizer>
  2259.     </Rule>
  2260.     <Rule>
  2261.       &maxscale_zoom14;
  2262.       &minscale_zoom18;
  2263.       <Filter>([highway] = 'proposed' or [highway]='construction') and [construction]='cycleway'</Filter>
  2264.       <LineSymbolizer>
  2265.         <CssParameter name="stroke">white</CssParameter>
  2266.         <CssParameter name="stroke-width">3</CssParameter>
  2267.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2268.         <CssParameter name="stroke-linecap">round</CssParameter>
  2269.         <CssParameter name="stroke-opacity">0.4</CssParameter>
  2270.       </LineSymbolizer>
  2271.       <LineSymbolizer>
  2272.         <CssParameter name="stroke">#69f</CssParameter>
  2273.         <CssParameter name="stroke-width">1.2</CssParameter>
  2274.         <CssParameter name="stroke-dasharray">2,6</CssParameter>
  2275.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2276.         <CssParameter name="stroke-linecap">round</CssParameter>
  2277.       </LineSymbolizer>
  2278.     </Rule>
  2279.     <Rule>
  2280.       <Filter>[highway] = 'motorway' and not [tunnel] = 'yes'</Filter>
  2281.       &maxscale_zoom12;
  2282.       &minscale_zoom12;
  2283.       <LineSymbolizer>
  2284.         <CssParameter name="stroke">#809bc0</CssParameter>
  2285.         <CssParameter name="stroke-width">2</CssParameter>
  2286.       </LineSymbolizer>
  2287.     </Rule>
  2288.     <Rule>
  2289.       <Filter>[highway] = 'motorway' and not [tunnel] = 'yes'</Filter>
  2290.       &maxscale_zoom13;
  2291.       &minscale_zoom14;
  2292.       <LineSymbolizer>
  2293.         <CssParameter name="stroke">#809bc0</CssParameter>
  2294.         <CssParameter name="stroke-width">5</CssParameter>
  2295.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2296.         <CssParameter name="stroke-linecap">round</CssParameter>
  2297.       </LineSymbolizer>
  2298.     </Rule>
  2299.     <Rule>
  2300.       <Filter>[highway] = 'motorway' and not [tunnel] = 'yes'</Filter>
  2301.       &maxscale_zoom15;
  2302.       &minscale_zoom16;
  2303.       <LineSymbolizer>
  2304.         <CssParameter name="stroke">#809bc0</CssParameter>
  2305.         <CssParameter name="stroke-width">8.5</CssParameter>
  2306.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2307.         <CssParameter name="stroke-linecap">round</CssParameter>
  2308.       </LineSymbolizer>
  2309.     </Rule>
  2310.     <Rule>
  2311.       <Filter>[highway] = 'motorway' and not [tunnel] = 'yes'</Filter>
  2312.       &maxscale_zoom17;
  2313.       &minscale_zoom18;
  2314.       <LineSymbolizer>
  2315.         <CssParameter name="stroke">#809bc0</CssParameter>
  2316.         <CssParameter name="stroke-width">11</CssParameter>
  2317.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2318.         <CssParameter name="stroke-linecap">round</CssParameter>
  2319.       </LineSymbolizer>
  2320.     </Rule>
  2321.     <Rule>
  2322.       <Filter>[highway] = 'trunk' and not [tunnel] = 'yes'</Filter>
  2323.       &maxscale_zoom12;
  2324.       &minscale_zoom12;
  2325.       <LineSymbolizer>
  2326.         <CssParameter name="stroke">#a9dba9</CssParameter>
  2327.         <CssParameter name="stroke-width">2.5</CssParameter>
  2328.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2329.         <CssParameter name="stroke-linecap">round</CssParameter>
  2330.       </LineSymbolizer>
  2331.     </Rule>
  2332.     <Rule>
  2333.       <Filter>[highway] = 'trunk' and not [tunnel] = 'yes'</Filter>
  2334.       &maxscale_zoom13;
  2335.       &minscale_zoom14;
  2336.       <LineSymbolizer>
  2337.         <CssParameter name="stroke">#a9dba9</CssParameter>
  2338.         <CssParameter name="stroke-width">7</CssParameter>
  2339.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2340.         <CssParameter name="stroke-linecap">round</CssParameter>
  2341.       </LineSymbolizer>
  2342.     </Rule>
  2343.     <Rule>
  2344.       <Filter>[highway] = 'trunk' and not [tunnel] = 'yes'</Filter>
  2345.       &maxscale_zoom15;
  2346.       &minscale_zoom16;
  2347.       <LineSymbolizer>
  2348.         <CssParameter name="stroke">#a9dba9</CssParameter>
  2349.         <CssParameter name="stroke-width">11</CssParameter>
  2350.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2351.         <CssParameter name="stroke-linecap">round</CssParameter>
  2352.       </LineSymbolizer>
  2353.     </Rule>
  2354.     <Rule>
  2355.       <Filter>[highway] = 'trunk' and not [tunnel] = 'yes'</Filter>
  2356.       &maxscale_zoom17;
  2357.       &minscale_zoom18;
  2358.       <LineSymbolizer>
  2359.         <CssParameter name="stroke">#a9dba9</CssParameter>
  2360.         <CssParameter name="stroke-width">15.5</CssParameter>
  2361.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2362.         <CssParameter name="stroke-linecap">round</CssParameter>
  2363.       </LineSymbolizer>
  2364.    </Rule>
  2365.    <Rule>
  2366.       <Filter>[highway] = 'primary' and not [tunnel] = 'yes'</Filter>
  2367.       &maxscale_zoom11;
  2368.       &minscale_zoom12;
  2369.       <LineSymbolizer>
  2370.         <CssParameter name="stroke">#ec989a</CssParameter>
  2371.         <CssParameter name="stroke-width">2.5</CssParameter>
  2372.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2373.         <CssParameter name="stroke-linecap">round</CssParameter>
  2374.       </LineSymbolizer>
  2375.     </Rule>
  2376.     <Rule>
  2377.       <Filter>[highway] = 'primary' and not [tunnel] = 'yes'</Filter>
  2378.       &maxscale_zoom13;
  2379.       &minscale_zoom14;
  2380.       <LineSymbolizer>
  2381.         <CssParameter name="stroke">#ec989a</CssParameter>
  2382.         <CssParameter name="stroke-width">7</CssParameter>
  2383.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2384.         <CssParameter name="stroke-linecap">round</CssParameter>
  2385.       </LineSymbolizer>
  2386.     </Rule>
  2387.     <Rule>
  2388.       <Filter>[highway] = 'primary' and not [tunnel] = 'yes'</Filter>
  2389.       &maxscale_zoom15;
  2390.       &minscale_zoom16;
  2391.       <LineSymbolizer>
  2392.         <CssParameter name="stroke">#ec989a</CssParameter>
  2393.         <CssParameter name="stroke-width">11</CssParameter>
  2394.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2395.         <CssParameter name="stroke-linecap">round</CssParameter>
  2396.       </LineSymbolizer>
  2397.     </Rule>
  2398.     <Rule>
  2399.       <Filter>[highway] = 'primary' and not [tunnel] = 'yes'</Filter>
  2400.       &maxscale_zoom17;
  2401.       &minscale_zoom18;
  2402.       <LineSymbolizer>
  2403.         <CssParameter name="stroke">#ec989a</CssParameter>
  2404.         <CssParameter name="stroke-width">15.5</CssParameter>
  2405.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2406.         <CssParameter name="stroke-linecap">round</CssParameter>
  2407.       </LineSymbolizer>
  2408.     </Rule>
  2409.    <Rule>
  2410.       <Filter>[highway] = 'secondary' and not [tunnel]='yes'</Filter>
  2411.       &maxscale_zoom12;
  2412.       &minscale_zoom12;
  2413.       <LineSymbolizer>
  2414.         <CssParameter name="stroke">#fed7a5</CssParameter>
  2415.         <CssParameter name="stroke-width">2</CssParameter>
  2416.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2417.         <CssParameter name="stroke-linecap">round</CssParameter>
  2418.       </LineSymbolizer>
  2419.     </Rule>
  2420.     <Rule>
  2421.       <Filter>[highway] = 'secondary' and not [tunnel]='yes'</Filter>
  2422.       &maxscale_zoom13;
  2423.       &minscale_zoom14;
  2424.       <LineSymbolizer>
  2425.         <CssParameter name="stroke">#fed7a5</CssParameter>
  2426.         <CssParameter name="stroke-width">8</CssParameter>
  2427.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2428.         <CssParameter name="stroke-linecap">round</CssParameter>
  2429.       </LineSymbolizer>
  2430.     </Rule>
  2431.     <Rule>
  2432.       <Filter>[highway] = 'secondary' and not [tunnel]='yes'</Filter>
  2433.       &maxscale_zoom15;
  2434.       &minscale_zoom16;
  2435.       <LineSymbolizer>
  2436.         <CssParameter name="stroke">#fed7a5</CssParameter>
  2437.         <CssParameter name="stroke-width">11</CssParameter>
  2438.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2439.         <CssParameter name="stroke-linecap">round</CssParameter>
  2440.       </LineSymbolizer>
  2441.     </Rule>
  2442.     <Rule>
  2443.       <Filter>[highway] = 'secondary' and not [tunnel]='yes'</Filter>
  2444.       &maxscale_zoom17;
  2445.       &minscale_zoom18;
  2446.       <LineSymbolizer>
  2447.         <CssParameter name="stroke">#fed7a5</CssParameter>
  2448.         <CssParameter name="stroke-width">15.5</CssParameter>
  2449.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2450.         <CssParameter name="stroke-linecap">round</CssParameter>
  2451.       </LineSymbolizer>
  2452.     </Rule>
  2453.     <Rule>
  2454.       &maxscale_zoom13;
  2455.       &minscale_zoom18;
  2456.       <Filter>[railway] = 'rail' and [tunnel] = 'yes'</Filter>
  2457.       <LineSymbolizer>
  2458.         <CssParameter name="stroke">#ffffff</CssParameter>
  2459.         <CssParameter name="stroke-width">3</CssParameter>
  2460.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2461.         <CssParameter name="stroke-dasharray">1,9</CssParameter>
  2462.       </LineSymbolizer>
  2463.       <LineSymbolizer>
  2464.         <CssParameter name="stroke">#fdfdfd</CssParameter>
  2465.         <CssParameter name="stroke-width">3</CssParameter>
  2466.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2467.         <CssParameter name="stroke-dasharray">0,1,1,8</CssParameter>
  2468.       </LineSymbolizer>
  2469.       <LineSymbolizer>
  2470.         <CssParameter name="stroke">#ececec</CssParameter>
  2471.         <CssParameter name="stroke-width">3</CssParameter>
  2472.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2473.         <CssParameter name="stroke-dasharray">0,2,1,7</CssParameter>
  2474.       </LineSymbolizer>
  2475.       <LineSymbolizer>
  2476.         <CssParameter name="stroke">#cacaca</CssParameter>
  2477.         <CssParameter name="stroke-width">3</CssParameter>
  2478.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2479.         <CssParameter name="stroke-dasharray">0,3,1,6</CssParameter>
  2480.       </LineSymbolizer>
  2481.       <LineSymbolizer>
  2482.         <CssParameter name="stroke">#afafaf</CssParameter>
  2483.         <CssParameter name="stroke-width">3</CssParameter>
  2484.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2485.         <CssParameter name="stroke-dasharray">0,4,1,5</CssParameter>
  2486.       </LineSymbolizer>
  2487.       <LineSymbolizer>
  2488.         <CssParameter name="stroke">#a1a1a1</CssParameter>
  2489.         <CssParameter name="stroke-width">3</CssParameter>
  2490.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2491.         <CssParameter name="stroke-dasharray">0,5,1,4</CssParameter>
  2492.       </LineSymbolizer>
  2493.       <LineSymbolizer>
  2494.         <CssParameter name="stroke">#9b9b9b</CssParameter>
  2495.         <CssParameter name="stroke-width">3</CssParameter>
  2496.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2497.         <CssParameter name="stroke-dasharray">0,6,1,3</CssParameter>
  2498.       </LineSymbolizer>
  2499.     </Rule>
  2500.     <Rule>
  2501.       &maxscale_zoom13;
  2502.       &minscale_zoom18;
  2503.       <Filter>([railway] = 'disused' or [railway] = 'abandoned' or [railway]='construction') and not [highway] != ''</Filter>
  2504.       <LineSymbolizer>
  2505.         <CssParameter name="stroke">grey</CssParameter>
  2506.         <CssParameter name="stroke-width">2</CssParameter>
  2507.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2508.         <CssParameter name="stroke-dasharray">2,4</CssParameter>
  2509.       </LineSymbolizer>
  2510.     </Rule>
  2511.     <Rule>
  2512.       &maxscale_zoom13;
  2513.       &minscale_zoom13;
  2514.       <Filter>[railway] = 'rail' and not [tunnel] = 'yes'</Filter>
  2515.       <LineSymbolizer>
  2516.         <CssParameter name="stroke">#999999</CssParameter>
  2517.         <CssParameter name="stroke-width">3</CssParameter>
  2518.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2519.       </LineSymbolizer>
  2520.       <LineSymbolizer>
  2521.         <CssParameter name="stroke">white</CssParameter>
  2522.         <CssParameter name="stroke-width">1</CssParameter>
  2523.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2524.         <CssParameter name="stroke-dasharray">8,12</CssParameter>
  2525.       </LineSymbolizer>
  2526.     </Rule>
  2527.     <Rule>
  2528.       &maxscale_zoom14;
  2529.       &minscale_zoom18;
  2530.       <Filter>[railway] = 'rail' and not [tunnel]='yes'</Filter>
  2531.       <LineSymbolizer>
  2532.         <CssParameter name="stroke">#999999</CssParameter>
  2533.         <CssParameter name="stroke-width">3</CssParameter>
  2534.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2535.       </LineSymbolizer>
  2536.       <LineSymbolizer>
  2537.         <CssParameter name="stroke">white</CssParameter>
  2538.         <CssParameter name="stroke-width">1</CssParameter>
  2539.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2540.         <CssParameter name="stroke-dasharray">0,11,8,1</CssParameter>
  2541.       </LineSymbolizer>
  2542.     </Rule>
  2543.     <Rule>
  2544.       &maxscale_zoom11;
  2545.       &minscale_zoom12;
  2546.       <Filter>[railway] = 'spur-siding-yard'</Filter>
  2547.       <LineSymbolizer>
  2548.         <CssParameter name="stroke">#aaa</CssParameter>
  2549.         <CssParameter name="stroke-width">1</CssParameter>
  2550.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2551.       </LineSymbolizer>
  2552.     </Rule>
  2553.     <Rule>
  2554.       &maxscale_zoom13;
  2555.       &minscale_zoom18;
  2556.       <Filter>[railway] = 'spur-siding-yard' and [tunnel] = 'yes'</Filter>
  2557.       <LineSymbolizer>
  2558.         <CssParameter name="stroke">#ffffff</CssParameter>
  2559.         <CssParameter name="stroke-width">2</CssParameter>
  2560.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2561.         <CssParameter name="stroke-dasharray">1,9</CssParameter>
  2562.       </LineSymbolizer>
  2563.       <LineSymbolizer>
  2564.         <CssParameter name="stroke">#fdfdfd</CssParameter>
  2565.         <CssParameter name="stroke-width">2</CssParameter>
  2566.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2567.         <CssParameter name="stroke-dasharray">0,1,1,8</CssParameter>
  2568.       </LineSymbolizer>
  2569.       <LineSymbolizer>
  2570.         <CssParameter name="stroke">#ececec</CssParameter>
  2571.         <CssParameter name="stroke-width">2</CssParameter>
  2572.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2573.         <CssParameter name="stroke-dasharray">0,2,1,7</CssParameter>
  2574.       </LineSymbolizer>
  2575.       <LineSymbolizer>
  2576.         <CssParameter name="stroke">#cacaca</CssParameter>
  2577.         <CssParameter name="stroke-width">2</CssParameter>
  2578.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2579.         <CssParameter name="stroke-dasharray">0,3,1,6</CssParameter>
  2580.       </LineSymbolizer>
  2581.       <LineSymbolizer>
  2582.         <CssParameter name="stroke">#afafaf</CssParameter>
  2583.         <CssParameter name="stroke-width">2</CssParameter>
  2584.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2585.         <CssParameter name="stroke-dasharray">0,4,1,5</CssParameter>
  2586.       </LineSymbolizer>
  2587.       <LineSymbolizer>
  2588.         <CssParameter name="stroke">#a1a1a1</CssParameter>
  2589.         <CssParameter name="stroke-width">2</CssParameter>
  2590.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2591.         <CssParameter name="stroke-dasharray">0,5,1,4</CssParameter>
  2592.       </LineSymbolizer>
  2593.       <LineSymbolizer>
  2594.         <CssParameter name="stroke">#9b9b9b</CssParameter>
  2595.         <CssParameter name="stroke-width">2</CssParameter>
  2596.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2597.         <CssParameter name="stroke-dasharray">0,6,1,3</CssParameter>
  2598.       </LineSymbolizer>
  2599.     </Rule>
  2600.     <Rule>
  2601.       &maxscale_zoom13;
  2602.       &minscale_zoom18;
  2603.       <Filter>[railway] = 'spur-siding-yard' and not [tunnel] = 'yes'</Filter>
  2604.       <LineSymbolizer>
  2605.         <CssParameter name="stroke">#999999</CssParameter>
  2606.         <CssParameter name="stroke-width">2</CssParameter>
  2607.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2608.       </LineSymbolizer>
  2609.       <LineSymbolizer>
  2610.         <CssParameter name="stroke">white</CssParameter>
  2611.         <CssParameter name="stroke-width">0.8</CssParameter>
  2612.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2613.         <CssParameter name="stroke-dasharray">0,8,11,1</CssParameter>
  2614.       </LineSymbolizer>
  2615.     </Rule>
  2616.     <Rule>
  2617.       &maxscale_zoom13;
  2618.       &minscale_zoom18;
  2619.       <Filter>([railway]='narrow_gauge' or [railway]='funicular') and not [tunnel]='yes'</Filter>
  2620.       <LineSymbolizer>
  2621.         <CssParameter name="stroke">#666</CssParameter>
  2622.         <CssParameter name="stroke-width">2</CssParameter>
  2623.       </LineSymbolizer>
  2624.     </Rule>
  2625.     <Rule>
  2626.       &maxscale_zoom13;
  2627.       &minscale_zoom18;
  2628.       <Filter>([railway]='narrow_gauge' or [railway]='funicular') and [tunnel]='yes'</Filter>
  2629.       <LineSymbolizer>
  2630.         <CssParameter name="stroke">#666</CssParameter>
  2631.         <CssParameter name="stroke-width">5</CssParameter>
  2632.       <CssParameter name="stroke-dasharray">5,3</CssParameter>
  2633.       </LineSymbolizer>
  2634.       <LineSymbolizer>
  2635.         <CssParameter name="stroke">#fff</CssParameter>
  2636.         <CssParameter name="stroke-width">4</CssParameter>
  2637.       </LineSymbolizer>
  2638.       <LineSymbolizer>
  2639.         <CssParameter name="stroke">#aaa</CssParameter>
  2640.         <CssParameter name="stroke-width">1.5</CssParameter>
  2641.       </LineSymbolizer>
  2642.     </Rule>
  2643.     <Rule>
  2644.       &maxscale_zoom15;
  2645.       &minscale_zoom18;
  2646.       <Filter>[railway]='miniature'</Filter>
  2647.       <LineSymbolizer>
  2648.         <CssParameter name="stroke">#999</CssParameter>
  2649.         <CssParameter name="stroke-width">1.2</CssParameter>
  2650.       </LineSymbolizer>
  2651.       <LineSymbolizer>
  2652.         <CssParameter name="stroke">#999</CssParameter>
  2653.         <CssParameter name="stroke-width">3</CssParameter>
  2654.         <CssParameter name="stroke-dasharray">1,10</CssParameter>
  2655.       </LineSymbolizer>
  2656.     </Rule>
  2657.     <Rule>
  2658.       &maxscale_zoom13;
  2659.       &minscale_zoom14;
  2660.       <Filter>[railway]='tram' and [tunnel]='yes'</Filter>
  2661.       <LineSymbolizer>
  2662.         <CssParameter name="stroke">#444</CssParameter>
  2663.         <CssParameter name="stroke-width">1</CssParameter>
  2664.         <CssParameter name="stroke-dasharray">5,3</CssParameter>
  2665.       </LineSymbolizer>
  2666.     </Rule>
  2667.     <Rule>
  2668.       &maxscale_zoom15;
  2669.       &minscale_zoom18;
  2670.       <Filter>[railway]='tram' and [tunnel]='yes'</Filter>
  2671.       <LineSymbolizer>
  2672.         <CssParameter name="stroke">#444</CssParameter>
  2673.         <CssParameter name="stroke-width">2</CssParameter>
  2674.         <CssParameter name="stroke-dasharray">5,3</CssParameter>
  2675.       </LineSymbolizer>
  2676.     </Rule>
  2677.     <Rule>
  2678.       &maxscale_zoom13;
  2679.       &minscale_zoom18;
  2680.       <Filter>[railway]='light_rail' and [tunnel] = 'yes'</Filter>
  2681.       <LineSymbolizer>
  2682.         <CssParameter name="stroke">#666</CssParameter>
  2683.         <CssParameter name="stroke-width">2</CssParameter>
  2684.         <CssParameter name="stroke-dasharray">5,3</CssParameter>
  2685.       </LineSymbolizer>
  2686.     </Rule>
  2687.      <Rule>
  2688.       &maxscale_zoom13;
  2689.       &minscale_zoom18;
  2690.       <Filter>[railway]='light_rail' and not [tunnel] = 'yes'</Filter>
  2691.       <LineSymbolizer>
  2692.         <CssParameter name="stroke">#666</CssParameter>
  2693.         <CssParameter name="stroke-width">2</CssParameter>
  2694.       </LineSymbolizer>
  2695.     </Rule>
  2696.     <Rule>
  2697.       &maxscale_zoom12;
  2698.       &minscale_zoom18;
  2699.       <Filter>[railway]='subway' and [tunnel] = 'yes'</Filter>
  2700.       <LineSymbolizer>
  2701.         <CssParameter name="stroke">#999</CssParameter>
  2702.         <CssParameter name="stroke-width">2</CssParameter>
  2703.         <CssParameter name="stroke-dasharray">5,3</CssParameter>
  2704.       </LineSymbolizer>
  2705.     </Rule>
  2706.     <Rule>
  2707.       &maxscale_zoom12;
  2708.       &minscale_zoom18;
  2709.       <Filter>[railway]='subway' and not [tunnel] = 'yes'</Filter>
  2710.       <LineSymbolizer>
  2711.         <CssParameter name="stroke">#999</CssParameter>
  2712.         <CssParameter name="stroke-width">2</CssParameter>
  2713.       </LineSymbolizer>
  2714.     </Rule>
  2715.     <Rule>
  2716.       <Filter>[highway] = 'tertiary' or [highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  2717.       &maxscale_zoom10;
  2718.       &minscale_zoom12;
  2719.       <LineSymbolizer>
  2720.         <CssParameter name="stroke">#bbb</CssParameter>
  2721.         <CssParameter name="stroke-width">1</CssParameter>
  2722.       </LineSymbolizer>
  2723.     </Rule>
  2724.     <Rule>
  2725.       <Filter>[highway] = 'road'</Filter>
  2726.       &maxscale_zoom13;
  2727.       &minscale_zoom13;
  2728.       <LineSymbolizer>
  2729.         <CssParameter name="stroke">#ddd</CssParameter>
  2730.         <CssParameter name="stroke-width">2</CssParameter>
  2731.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2732.         <CssParameter name="stroke-linecap">round</CssParameter>
  2733.       </LineSymbolizer>
  2734.     </Rule>
  2735.     <Rule>
  2736.       <Filter>[highway] = 'road'</Filter>
  2737.       &maxscale_zoom14;
  2738.       &minscale_zoom14;
  2739.       <LineSymbolizer>
  2740.         <CssParameter name="stroke">#ddd</CssParameter>
  2741.         <CssParameter name="stroke-width">3</CssParameter>
  2742.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2743.         <CssParameter name="stroke-linecap">round</CssParameter>
  2744.       </LineSymbolizer>
  2745.     </Rule>
  2746.     <Rule>
  2747.       <Filter>[highway] = 'road'</Filter>
  2748.       &maxscale_zoom15;
  2749.       &minscale_zoom15;
  2750.       <LineSymbolizer>
  2751.         <CssParameter name="stroke">#ddd</CssParameter>
  2752.         <CssParameter name="stroke-width">6.5</CssParameter>
  2753.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2754.         <CssParameter name="stroke-linecap">round</CssParameter>
  2755.       </LineSymbolizer>
  2756.     </Rule>
  2757.     <Rule>
  2758.       <Filter>[highway] = 'road'</Filter>
  2759.       &maxscale_zoom16;
  2760.       &minscale_zoom16;
  2761.       <LineSymbolizer>
  2762.         <CssParameter name="stroke">#ddd</CssParameter>
  2763.         <CssParameter name="stroke-width">9.4</CssParameter>
  2764.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2765.         <CssParameter name="stroke-linecap">round</CssParameter>
  2766.       </LineSymbolizer>
  2767.     </Rule>
  2768.     <Rule>
  2769.       <Filter>[highway] = 'road'</Filter>
  2770.       &maxscale_zoom17;
  2771.       &minscale_zoom18;
  2772.       <LineSymbolizer>
  2773.         <CssParameter name="stroke">#ddd</CssParameter>
  2774.         <CssParameter name="stroke-width">13</CssParameter>
  2775.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2776.         <CssParameter name="stroke-linecap">round</CssParameter>
  2777.       </LineSymbolizer>
  2778.     </Rule>
  2779.     <Rule>
  2780.       <Filter>([highway] = 'residential' or [highway] = 'unclassified') and not [tunnel] = 'yes'</Filter>
  2781.       &maxscale_zoom13;
  2782.       &minscale_zoom13;
  2783.       <LineSymbolizer>
  2784.         <CssParameter name="stroke">#fff</CssParameter>
  2785.         <CssParameter name="stroke-width">2</CssParameter>
  2786.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2787.         <CssParameter name="stroke-linecap">round</CssParameter>
  2788.       </LineSymbolizer>
  2789.     </Rule>
  2790.     <Rule>
  2791.       <Filter>([highway] = 'residential' or [highway] = 'unclassified') and not [tunnel] = 'yes'</Filter>
  2792.       &maxscale_zoom14;
  2793.       &minscale_zoom14;
  2794.       <LineSymbolizer>
  2795.         <CssParameter name="stroke">#fff</CssParameter>
  2796.         <CssParameter name="stroke-width">3</CssParameter>
  2797.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2798.         <CssParameter name="stroke-linecap">round</CssParameter>
  2799.       </LineSymbolizer>
  2800.     </Rule>
  2801.     <Rule>
  2802.       <Filter>([highway] = 'residential' or [highway] = 'unclassified') and not [tunnel] = 'yes'</Filter>
  2803.       &maxscale_zoom15;
  2804.       &minscale_zoom15;
  2805.       <LineSymbolizer>
  2806.         <CssParameter name="stroke">#fff</CssParameter>
  2807.         <CssParameter name="stroke-width">6.5</CssParameter>
  2808.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2809.         <CssParameter name="stroke-linecap">round</CssParameter>
  2810.       </LineSymbolizer>
  2811.     </Rule>
  2812.     <Rule>
  2813.       <Filter>([highway] = 'residential' or [highway] = 'unclassified') and not [tunnel] = 'yes'</Filter>
  2814.       &maxscale_zoom16;
  2815.       &minscale_zoom16;
  2816.       <LineSymbolizer>
  2817.         <CssParameter name="stroke">#fff</CssParameter>
  2818.         <CssParameter name="stroke-width">9.4</CssParameter>
  2819.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2820.         <CssParameter name="stroke-linecap">round</CssParameter>
  2821.       </LineSymbolizer>
  2822.     </Rule>
  2823.     <Rule>
  2824.       <Filter>([highway] = 'residential' or [highway] = 'unclassified') and not [tunnel] = 'yes'</Filter>
  2825.       &maxscale_zoom17;
  2826.       &minscale_zoom18;
  2827.       <LineSymbolizer>
  2828.         <CssParameter name="stroke">#fff</CssParameter>
  2829.         <CssParameter name="stroke-width">13</CssParameter>
  2830.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2831.         <CssParameter name="stroke-linecap">round</CssParameter>
  2832.       </LineSymbolizer>
  2833.     </Rule>
  2834.     <Rule>
  2835.       <Filter>[highway] = 'living_street'</Filter>
  2836.       &maxscale_zoom12;
  2837.       &minscale_zoom13;
  2838.       <LineSymbolizer>
  2839.         <CssParameter name="stroke">#ccc</CssParameter>
  2840.         <CssParameter name="stroke-width">1.5</CssParameter>
  2841.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2842.         <CssParameter name="stroke-linecap">round</CssParameter>
  2843.       </LineSymbolizer>
  2844.     </Rule>
  2845.     <Rule>
  2846.       <Filter>[highway] = 'living_street'</Filter>
  2847.       &maxscale_zoom14;
  2848.       &minscale_zoom14;
  2849.       <LineSymbolizer>
  2850.         <CssParameter name="stroke">#ccc</CssParameter>
  2851.         <CssParameter name="stroke-width">3</CssParameter>
  2852.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2853.         <CssParameter name="stroke-linecap">round</CssParameter>
  2854.       </LineSymbolizer>
  2855.     </Rule>
  2856.     <Rule>
  2857.       <Filter>[highway] = 'living_street'</Filter>
  2858.       &maxscale_zoom15;
  2859.       &minscale_zoom15;
  2860.       <LineSymbolizer>
  2861.         <CssParameter name="stroke">#ccc</CssParameter>
  2862.         <CssParameter name="stroke-width">4.7</CssParameter>
  2863.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2864.         <CssParameter name="stroke-linecap">round</CssParameter>
  2865.       </LineSymbolizer>
  2866.     </Rule>
  2867.     <Rule>
  2868.       <Filter>[highway] = 'living_street'</Filter>
  2869.       &maxscale_zoom16;
  2870.       &minscale_zoom16;
  2871.       <LineSymbolizer>
  2872.         <CssParameter name="stroke">#ccc</CssParameter>
  2873.         <CssParameter name="stroke-width">7.4</CssParameter>
  2874.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2875.         <CssParameter name="stroke-linecap">round</CssParameter>
  2876.       </LineSymbolizer>
  2877.     </Rule>
  2878.     <Rule>
  2879.       <Filter>[highway] = 'living_street'</Filter>
  2880.       &maxscale_zoom17;
  2881.       &minscale_zoom18;
  2882.       <LineSymbolizer>
  2883.         <CssParameter name="stroke">#ccc</CssParameter>
  2884.         <CssParameter name="stroke-width">13</CssParameter>
  2885.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2886.         <CssParameter name="stroke-linecap">round</CssParameter>
  2887.       </LineSymbolizer>
  2888.     </Rule>
  2889.     <Rule>
  2890.       <Filter>[highway] = 'tertiary' and not [tunnel]='yes'</Filter>
  2891.       &maxscale_zoom13;
  2892.       &minscale_zoom13;
  2893.       <LineSymbolizer>
  2894.         <CssParameter name="stroke">#ffffb3</CssParameter>
  2895.         <CssParameter name="stroke-width">4.5</CssParameter>
  2896.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2897.         <CssParameter name="stroke-linecap">round</CssParameter>
  2898.       </LineSymbolizer>
  2899.     </Rule>
  2900.     <Rule>
  2901.       <Filter>[highway] = 'tertiary' and not [tunnel]='yes'</Filter>
  2902.       &maxscale_zoom14;
  2903.       &minscale_zoom14;
  2904.       <LineSymbolizer>
  2905.         <CssParameter name="stroke">#ffffb3</CssParameter>
  2906.         <CssParameter name="stroke-width">6</CssParameter>
  2907.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2908.         <CssParameter name="stroke-linecap">round</CssParameter>
  2909.       </LineSymbolizer>
  2910.     </Rule>
  2911.     <Rule>
  2912.       <Filter>[highway] = 'tertiary' and not [tunnel]='yes'</Filter>
  2913.       &maxscale_zoom15;
  2914.       &minscale_zoom16;
  2915.       <LineSymbolizer>
  2916.         <CssParameter name="stroke">#ffffb3</CssParameter>
  2917.         <CssParameter name="stroke-width">9.4</CssParameter>
  2918.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2919.         <CssParameter name="stroke-linecap">round</CssParameter>
  2920.       </LineSymbolizer>
  2921.     </Rule>
  2922.     <Rule>
  2923.       <Filter>[highway] = 'tertiary' and not [tunnel]='yes'</Filter>
  2924.       &maxscale_zoom17;
  2925.       &minscale_zoom18;
  2926.       <LineSymbolizer>
  2927.         <CssParameter name="stroke">#ffffb3</CssParameter>
  2928.         <CssParameter name="stroke-width">13</CssParameter>
  2929.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2930.         <CssParameter name="stroke-linecap">round</CssParameter>
  2931.       </LineSymbolizer>
  2932.     </Rule>
  2933.     <Rule>
  2934.       <Filter>[highway] = 'service' and not [service]='INT-minor'</Filter>
  2935.       &maxscale_zoom13;
  2936.       &minscale_zoom13;
  2937.       <LineSymbolizer>
  2938.         <CssParameter name="stroke">#bbbbbb</CssParameter>
  2939.         <CssParameter name="stroke-width">1</CssParameter>
  2940.       </LineSymbolizer>
  2941.     </Rule>
  2942.     <Rule>
  2943.       <Filter>[highway] = 'service' and not [service]='INT-minor'</Filter>
  2944.       &maxscale_zoom14;
  2945.       &minscale_zoom15;
  2946.       <LineSymbolizer>
  2947.         <CssParameter name="stroke">white</CssParameter>
  2948.         <CssParameter name="stroke-width">2</CssParameter>
  2949.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2950.         <CssParameter name="stroke-linecap">round</CssParameter>
  2951.       </LineSymbolizer>
  2952.    </Rule>
  2953.    <Rule>
  2954.       <Filter>[highway] = 'service' and not [service]='INT-minor'</Filter>
  2955.       &maxscale_zoom16;
  2956.       &minscale_zoom18;
  2957.       <LineSymbolizer>
  2958.         <CssParameter name="stroke">white</CssParameter>
  2959.         <CssParameter name="stroke-width">6</CssParameter>
  2960.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2961.         <CssParameter name="stroke-linecap">round</CssParameter>
  2962.       </LineSymbolizer>
  2963.    </Rule>
  2964.    <Rule>
  2965.       <Filter>[highway] = 'service' and [service]='INT-minor'</Filter>
  2966.       &maxscale_zoom16;
  2967.       &minscale_zoom18;
  2968.       <LineSymbolizer>
  2969.         <CssParameter name="stroke">#fff</CssParameter>
  2970.         <CssParameter name="stroke-width">3</CssParameter>
  2971.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2972.         <CssParameter name="stroke-linecap">round</CssParameter>
  2973.       </LineSymbolizer>
  2974.    </Rule>
  2975.    <Rule>
  2976.       <Filter>[highway] = 'pedestrian'</Filter>
  2977.       &maxscale_zoom13;
  2978.       &minscale_zoom13;
  2979.       <LineSymbolizer>
  2980.         <CssParameter name="stroke">#ededed</CssParameter>
  2981.         <CssParameter name="stroke-width">1.5</CssParameter>
  2982.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2983.         <CssParameter name="stroke-linecap">round</CssParameter>
  2984.       </LineSymbolizer>
  2985.     </Rule>
  2986.     <Rule>
  2987.       <Filter>[highway] = 'pedestrian'</Filter>
  2988.       &maxscale_zoom14;
  2989.       &minscale_zoom14;
  2990.       <LineSymbolizer>
  2991.         <CssParameter name="stroke">#ededed</CssParameter>
  2992.         <CssParameter name="stroke-width">3</CssParameter>
  2993.         <CssParameter name="stroke-linejoin">round</CssParameter>
  2994.         <CssParameter name="stroke-linecap">round</CssParameter>
  2995.       </LineSymbolizer>
  2996.     </Rule>
  2997.     <Rule>
  2998.       <Filter>[highway] = 'pedestrian'</Filter>
  2999.       &maxscale_zoom15;
  3000.       &minscale_zoom15;
  3001.       <LineSymbolizer>
  3002.         <CssParameter name="stroke">#ededed</CssParameter>
  3003.         <CssParameter name="stroke-width">5.5</CssParameter>
  3004.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3005.         <CssParameter name="stroke-linecap">round</CssParameter>
  3006.       </LineSymbolizer>
  3007.     </Rule>
  3008.     <Rule>
  3009.       <Filter>[highway] = 'pedestrian'</Filter>
  3010.       &maxscale_zoom16;
  3011.       <LineSymbolizer>
  3012.         <CssParameter name="stroke">#ededed</CssParameter>
  3013.         <CssParameter name="stroke-width">8</CssParameter>
  3014.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3015.         <CssParameter name="stroke-linecap">round</CssParameter>
  3016.       </LineSymbolizer>
  3017.     </Rule>
  3018.     <Rule>
  3019.        <Filter>[highway] = 'platform' or [railway] = 'platform'</Filter>
  3020.        &maxscale_zoom16;
  3021.        <LineSymbolizer>
  3022.          <CssParameter name="stroke">grey</CssParameter>
  3023.          <CssParameter name="stroke-width">6</CssParameter>
  3024.          <CssParameter name="stroke-linejoin">round</CssParameter>
  3025.          <CssParameter name="stroke-linecap">round</CssParameter>
  3026.        </LineSymbolizer>
  3027.     </Rule>
  3028.     <Rule>
  3029.       <Filter>[highway] = 'steps'</Filter>
  3030.       &maxscale_zoom15;
  3031.       <LineSymbolizer>
  3032.         <CssParameter name="stroke">salmon</CssParameter>
  3033.         <CssParameter name="stroke-width">5.0</CssParameter>
  3034.         <CssParameter name="stroke-dasharray">2,1</CssParameter>
  3035.       </LineSymbolizer>
  3036.     </Rule>  
  3037.     <Rule>
  3038.       <Filter>([highway] = 'bridleway' or ([highway] = 'path' and [horse] = 'designated')) and not [tunnel]='yes'</Filter>
  3039.       &maxscale_zoom13;
  3040.       <LineSymbolizer>
  3041.         <CssParameter name="stroke">#fff</CssParameter>
  3042.         <CssParameter name="stroke-width">3</CssParameter>
  3043.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3044.         <CssParameter name="stroke-linecap">round</CssParameter>
  3045.         <CssParameter name="stroke-opacity">0.4</CssParameter>
  3046.       </LineSymbolizer>
  3047.       <LineSymbolizer>
  3048.         <CssParameter name="stroke">green</CssParameter>
  3049.         <CssParameter name="stroke-width">1.2</CssParameter>
  3050.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  3051.       </LineSymbolizer>
  3052.     </Rule>  
  3053.     <Rule>
  3054.       <Filter>([highway] = 'footway' or ([highway] = 'path' and [foot] = 'designated')) and not [tunnel]='yes'</Filter>
  3055.       &maxscale_zoom13;
  3056.       <LineSymbolizer>
  3057.         <CssParameter name="stroke">#fff</CssParameter>
  3058.         <CssParameter name="stroke-width">4</CssParameter>
  3059.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3060.         <CssParameter name="stroke-linecap">round</CssParameter>
  3061.         <CssParameter name="stroke-opacity">0.4</CssParameter>
  3062.       </LineSymbolizer>
  3063.       <LineSymbolizer>
  3064.         <CssParameter name="stroke">salmon</CssParameter>
  3065.         <CssParameter name="stroke-width">1.5</CssParameter>
  3066.         <CssParameter name="stroke-dasharray">1,3</CssParameter>
  3067.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3068.         <CssParameter name="stroke-linecap">round</CssParameter>
  3069.       </LineSymbolizer>
  3070.     </Rule>  
  3071.     <Rule>
  3072.       <Filter>[highway] = 'path' and not ([bicycle] = 'designated' or [foot] = 'designated' or [horse] = 'designated') and not [tunnel] = 'yes'</Filter>
  3073.       &maxscale_zoom13;
  3074.       <LineSymbolizer>
  3075.         <CssParameter name="stroke">white</CssParameter>
  3076.         <CssParameter name="stroke-width">1.0</CssParameter>
  3077.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3078.         <CssParameter name="stroke-linecap">round</CssParameter>
  3079.         <CssParameter name="stroke-opacity">0.4</CssParameter>
  3080.      </LineSymbolizer>
  3081.      <LineSymbolizer>
  3082.        <CssParameter name="stroke">black</CssParameter>
  3083.        <CssParameter name="stroke-width">0.5</CssParameter>
  3084.        <CssParameter name="stroke-dasharray">6,3</CssParameter>
  3085.        <CssParameter name="stroke-linejoin">round</CssParameter>
  3086.        <CssParameter name="stroke-linecap">round</CssParameter>
  3087.     </LineSymbolizer>
  3088.     </Rule>
  3089.     <Rule>
  3090.        <Filter>[highway] = 'platform' or [railway] = 'platform'</Filter>
  3091.        &maxscale_zoom16;
  3092.        <LineSymbolizer>
  3093.          <CssParameter name="stroke">#bbbbbb</CssParameter>
  3094.          <CssParameter name="stroke-width">4</CssParameter>
  3095.          <CssParameter name="stroke-linejoin">round</CssParameter>
  3096.          <CssParameter name="stroke-linecap">round</CssParameter>
  3097.        </LineSymbolizer>
  3098.      </Rule>
  3099.     <Rule>
  3100.       <Filter>[highway] = 'steps'</Filter>
  3101.       &maxscale_zoom13;
  3102.       &minscale_zoom14;
  3103.       <LineSymbolizer>
  3104.         <CssParameter name="stroke">#fff</CssParameter>
  3105.         <CssParameter name="stroke-width">6</CssParameter>
  3106.         <CssParameter name="stroke-opacity">0.4</CssParameter>
  3107.       </LineSymbolizer>
  3108.       <LineSymbolizer>
  3109.         <CssParameter name="stroke">salmon</CssParameter>
  3110.         <CssParameter name="stroke-width">2.0</CssParameter>
  3111.         <CssParameter name="stroke-dasharray">1,3</CssParameter>
  3112.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3113.         <CssParameter name="stroke-linecap">round</CssParameter>
  3114.       </LineSymbolizer>
  3115.     </Rule>
  3116.     <Rule>
  3117.       <Filter>([highway] = 'cycleway' or ([highway] = 'path' and [bicycle] = 'designated')) and not [tunnel] = 'yes'</Filter>
  3118.       &maxscale_zoom13;
  3119.       <LineSymbolizer>
  3120.         <CssParameter name="stroke">white</CssParameter>
  3121.         <CssParameter name="stroke-width">3</CssParameter>
  3122.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3123.         <CssParameter name="stroke-linecap">round</CssParameter>
  3124.         <CssParameter name="stroke-opacity">0.4</CssParameter>
  3125.       </LineSymbolizer>
  3126.       <LineSymbolizer>
  3127.         <CssParameter name="stroke">blue</CssParameter>
  3128.         <CssParameter name="stroke-width">1.2</CssParameter>
  3129.         <CssParameter name="stroke-dasharray">1,3</CssParameter>
  3130.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3131.         <CssParameter name="stroke-linecap">round</CssParameter>
  3132.       </LineSymbolizer>
  3133.     </Rule>
  3134.     <Rule>
  3135.       <Filter>[highway] = 'byway'</Filter>
  3136.       &maxscale_zoom13;
  3137.       <LineSymbolizer>
  3138.         <CssParameter name="stroke">white</CssParameter>
  3139.         <CssParameter name="stroke-width">4</CssParameter>
  3140.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3141.         <CssParameter name="stroke-linecap">round</CssParameter>
  3142.         <CssParameter name="stroke-opacity">0.4</CssParameter>
  3143.       </LineSymbolizer>
  3144.       <LineSymbolizer>
  3145.         <CssParameter name="stroke">#ffcc00</CssParameter>
  3146.         <CssParameter name="stroke-width">1.5</CssParameter>
  3147.         <CssParameter name="stroke-dasharray">3,4</CssParameter>
  3148.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3149.         <CssParameter name="stroke-linecap">round</CssParameter>
  3150.       </LineSymbolizer>
  3151.     </Rule>
  3152.     <Rule>
  3153.       <Filter>[highway] = 'track'</Filter>
  3154.       &maxscale_zoom13;
  3155.       &minscale_zoom13;
  3156.       <LineSymbolizer>
  3157.         <CssParameter name="stroke">white</CssParameter>
  3158.         <CssParameter name="stroke-width">2.5</CssParameter>
  3159.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3160.         <CssParameter name="stroke-linecap">round</CssParameter>
  3161.         <CssParameter name="stroke-opacity">0.4</CssParameter>
  3162.       </LineSymbolizer>
  3163.       <LineSymbolizer>
  3164.         <CssParameter name="stroke">#996600</CssParameter>
  3165.         <CssParameter name="stroke-width">1.2</CssParameter>
  3166.         <CssParameter name="stroke-dasharray">3,4</CssParameter>
  3167.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3168.         <CssParameter name="stroke-linecap">round</CssParameter>
  3169.       </LineSymbolizer>
  3170.      </Rule>    
  3171.     <Rule>
  3172.       <Filter>[highway] = 'unsurfaced'</Filter>
  3173.       &maxscale_zoom13;
  3174.       &minscale_zoom13;
  3175.       <LineSymbolizer>
  3176.         <CssParameter name="stroke">#fff</CssParameter>
  3177.         <CssParameter name="stroke-width">3.5</CssParameter>
  3178.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3179.         <CssParameter name="stroke-linecap">round</CssParameter>
  3180.         <CssParameter name="stroke-opacity">0.4</CssParameter>
  3181.       </LineSymbolizer>
  3182.       <LineSymbolizer>
  3183.         <CssParameter name="stroke">#debd9c</CssParameter>
  3184.         <CssParameter name="stroke-width">2.5</CssParameter>
  3185.         <CssParameter name="stroke-dasharray">2,4</CssParameter>
  3186.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3187.         <CssParameter name="stroke-linecap">round</CssParameter>
  3188.       </LineSymbolizer>
  3189.     </Rule>
  3190.     <Rule>
  3191.       <Filter>[highway] = 'unsurfaced'</Filter>
  3192.       &maxscale_zoom14;
  3193.       <LineSymbolizer>
  3194.         <CssParameter name="stroke">#fff</CssParameter>
  3195.         <CssParameter name="stroke-width">5</CssParameter>
  3196.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3197.         <CssParameter name="stroke-linecap">round</CssParameter>
  3198.         <CssParameter name="stroke-opacity">0.4</CssParameter>
  3199.       </LineSymbolizer>
  3200.       <LineSymbolizer>
  3201.         <CssParameter name="stroke">#debd9c</CssParameter>
  3202.         <CssParameter name="stroke-width">4</CssParameter>
  3203.         <CssParameter name="stroke-dasharray">4,6</CssParameter>
  3204.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3205.         <CssParameter name="stroke-linecap">round</CssParameter>
  3206.       </LineSymbolizer>
  3207.     </Rule>
  3208.     <Rule>
  3209.       <Filter>[aeroway] = 'runway'</Filter>
  3210.       &maxscale_zoom11;
  3211.       &minscale_zoom11;
  3212.       <LineSymbolizer>
  3213.         <CssParameter name="stroke">#bbc</CssParameter>
  3214.         <CssParameter name="stroke-width">2</CssParameter>
  3215.       </LineSymbolizer>
  3216.     </Rule>
  3217.     <Rule>
  3218.       <Filter>[aeroway] = 'runway'</Filter>
  3219.       &maxscale_zoom12;
  3220.       &minscale_zoom12;
  3221.       <LineSymbolizer>
  3222.         <CssParameter name="stroke">#bbc</CssParameter>
  3223.         <CssParameter name="stroke-width">4</CssParameter>
  3224.       </LineSymbolizer>
  3225.     </Rule>
  3226.     <Rule>
  3227.       <Filter>[aeroway] = 'runway'</Filter>
  3228.       &maxscale_zoom13;
  3229.       &minscale_zoom13;
  3230.       <LineSymbolizer>
  3231.         <CssParameter name="stroke">#bbc</CssParameter>
  3232.         <CssParameter name="stroke-width">7</CssParameter>
  3233.       </LineSymbolizer>
  3234.     </Rule>
  3235.     <Rule>
  3236.       <Filter>[aeroway] = 'runway' and not [bridge]='yes'</Filter>
  3237.       &maxscale_zoom14;
  3238.       <LineSymbolizer>
  3239.         <CssParameter name="stroke">#bbc</CssParameter>
  3240.         <CssParameter name="stroke-width">18</CssParameter>
  3241.       </LineSymbolizer>
  3242.     </Rule>
  3243.     <Rule>
  3244.       <Filter>[aeroway] = 'taxiway'</Filter>
  3245.       &maxscale_zoom11;
  3246.       &minscale_zoom13;
  3247.       <LineSymbolizer>
  3248.         <CssParameter name="stroke">#bbc</CssParameter>
  3249.         <CssParameter name="stroke-width">1</CssParameter>
  3250.       </LineSymbolizer>
  3251.     </Rule>
  3252.     <Rule>
  3253.       <Filter>[aeroway] = 'taxiway' and not [bridge]='yes'</Filter>
  3254.       &maxscale_zoom14;
  3255.       &minscale_zoom14;
  3256.       <LineSymbolizer>
  3257.         <CssParameter name="stroke">#bbc</CssParameter>
  3258.         <CssParameter name="stroke-width">4</CssParameter>
  3259.       </LineSymbolizer>
  3260.     </Rule>
  3261.     <Rule>
  3262.       <Filter>[aeroway] = 'taxiway' and not [bridge]='yes'</Filter>
  3263.       &maxscale_zoom15;
  3264.       <LineSymbolizer>
  3265.         <CssParameter name="stroke">#bbc</CssParameter>
  3266.         <CssParameter name="stroke-width">6</CssParameter>
  3267.       </LineSymbolizer>
  3268.     </Rule>
  3269.     <!--Rule>
  3270.       <ElseFilter/>
  3271.       &maxscale_zoom9;
  3272.       &minscale_zoom18;
  3273.       <LineSymbolizer>
  3274.         <CssParameter name="stroke">black</CssParameter>
  3275.         <CssParameter name="stroke-width">2</CssParameter>
  3276.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3277.         <CssParameter name="stroke-linecap">round</CssParameter>
  3278.         <CssParameter name="stroke-dasharray">4,4</CssParameter>
  3279.       </LineSymbolizer>
  3280.     </Rule-->
  3281. </Style>
  3282. <Style name="access">
  3283.      <Rule>
  3284.       <Filter>[access] = 'permissive' and ([highway]='unclassified' or [highway]='residential' or [highway]='footway')</Filter>
  3285.       &maxscale_zoom15;
  3286.       &minscale_zoom15;
  3287.       <LineSymbolizer>
  3288.         <CssParameter name="stroke">#cf9</CssParameter>
  3289.         <CssParameter name="stroke-width">6</CssParameter>
  3290.         <CssParameter name="stroke-dasharray">6,8</CssParameter>
  3291.         <CssParameter name="stroke-opacity">0.5</CssParameter>
  3292.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3293.         <CssParameter name="stroke-linecap">round</CssParameter>
  3294.       </LineSymbolizer>
  3295.     </Rule>
  3296.      <Rule>
  3297.       <Filter>[access] = 'permissive' and ([highway] = 'service' and not [service] = 'INT-minor')</Filter>
  3298.       &maxscale_zoom15;
  3299.       &minscale_zoom15;
  3300.       <LineSymbolizer>
  3301.         <CssParameter name="stroke">#cf9</CssParameter>
  3302.         <CssParameter name="stroke-width">3</CssParameter>
  3303.         <CssParameter name="stroke-dasharray">6,8</CssParameter>
  3304.         <CssParameter name="stroke-opacity">0.5</CssParameter>
  3305.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3306.         <CssParameter name="stroke-linecap">round</CssParameter>
  3307.       </LineSymbolizer>
  3308.     </Rule>
  3309.      <Rule>
  3310.       <Filter>[access] = 'permissive' and ([highway]='unclassified' or [highway]='residential' or [highway]='footway' or [highway]='service')</Filter>
  3311.       &maxscale_zoom16;
  3312.       <LineSymbolizer>
  3313.         <CssParameter name="stroke">#cf9</CssParameter>
  3314.         <CssParameter name="stroke-width">6</CssParameter>
  3315.         <CssParameter name="stroke-dasharray">6,8</CssParameter>
  3316.         <CssParameter name="stroke-opacity">0.5</CssParameter>
  3317.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3318.         <CssParameter name="stroke-linecap">round</CssParameter>
  3319.       </LineSymbolizer>
  3320.     </Rule>
  3321.     <Rule>
  3322.       <Filter>[access]='destination' and ([highway]='unclassified' or [highway]='residential')</Filter>
  3323.       &maxscale_zoom15;
  3324.       &minscale_zoom15;
  3325.       <LineSymbolizer>
  3326.         <CssParameter name="stroke">#c2e0ff</CssParameter>
  3327.         <CssParameter name="stroke-width">6</CssParameter>
  3328.         <CssParameter name="stroke-dasharray">6,8</CssParameter>
  3329.         <CssParameter name="stroke-opacity">0.5</CssParameter>
  3330.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3331.         <CssParameter name="stroke-linecap">round</CssParameter>
  3332.       </LineSymbolizer>
  3333.     </Rule>
  3334.     <Rule>
  3335.       <Filter>[access]='destination' and ([highway] = 'service' and not [service] = 'INT-minor')</Filter>
  3336.       &maxscale_zoom15;
  3337.       &minscale_zoom15;
  3338.       <LineSymbolizer>
  3339.         <CssParameter name="stroke">#c2e0ff</CssParameter>
  3340.         <CssParameter name="stroke-width">3</CssParameter>
  3341.         <CssParameter name="stroke-dasharray">6,8</CssParameter>
  3342.         <CssParameter name="stroke-opacity">0.5</CssParameter>
  3343.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3344.         <CssParameter name="stroke-linecap">round</CssParameter>
  3345.       </LineSymbolizer>
  3346.     </Rule>
  3347.     <Rule>
  3348.       <Filter>[access]='destination' and ([highway]='unclassified' or [highway]='residential' or [highway]='service')</Filter>
  3349.       &maxscale_zoom16;
  3350.       <LineSymbolizer>
  3351.         <CssParameter name="stroke">#c2e0ff</CssParameter>
  3352.         <CssParameter name="stroke-width">6</CssParameter>
  3353.         <CssParameter name="stroke-dasharray">6,8</CssParameter>
  3354.         <CssParameter name="stroke-opacity">0.5</CssParameter>
  3355.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3356.         <CssParameter name="stroke-linecap">round</CssParameter>
  3357.       </LineSymbolizer>
  3358.     </Rule>
  3359.     <Rule>
  3360.       <Filter>([access] = 'private' or [access] = 'no') and not [highway] = 'service'</Filter>
  3361.       &maxscale_zoom15;
  3362.       &minscale_zoom15;
  3363.       <LineSymbolizer>
  3364.         <CssParameter name="stroke">#efa9a9</CssParameter>
  3365.         <CssParameter name="stroke-width">6</CssParameter>
  3366.         <CssParameter name="stroke-dasharray">6,8</CssParameter>
  3367.         <CssParameter name="stroke-opacity">0.5</CssParameter>
  3368.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3369.         <CssParameter name="stroke-linecap">round</CssParameter>
  3370.       </LineSymbolizer>
  3371.     </Rule>
  3372.     <Rule>
  3373.       <Filter>([access] = 'private' or [access] = 'no') and ([highway] = 'service' and not [service] = 'INT-minor')</Filter>
  3374.       &maxscale_zoom15;
  3375.       &minscale_zoom15;
  3376.       <LineSymbolizer>
  3377.         <CssParameter name="stroke">#efa9a9</CssParameter>
  3378.         <CssParameter name="stroke-width">3</CssParameter>
  3379.         <CssParameter name="stroke-dasharray">6,8</CssParameter>
  3380.         <CssParameter name="stroke-opacity">0.5</CssParameter>
  3381.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3382.         <CssParameter name="stroke-linecap">round</CssParameter>
  3383.       </LineSymbolizer>
  3384.     </Rule>
  3385.     <Rule>
  3386.       <Filter>[access] = 'private' or [access] = 'no'</Filter>
  3387.       &maxscale_zoom16;
  3388.       <LineSymbolizer>
  3389.         <CssParameter name="stroke">#efa9a9</CssParameter>
  3390.         <CssParameter name="stroke-width">6</CssParameter>
  3391.         <CssParameter name="stroke-dasharray">6,8</CssParameter>
  3392.         <CssParameter name="stroke-opacity">0.5</CssParameter>
  3393.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3394.         <CssParameter name="stroke-linecap">round</CssParameter>
  3395.       </LineSymbolizer>
  3396.     </Rule>
  3397. </Style>
  3398. <Style name="footbikecycle-tunnels">
  3399.     <Rule>
  3400.       <Filter>[highway] = 'bridleway' or ([highway] = 'path' and [horse] = 'designated')</Filter>
  3401.       &maxscale_zoom13;
  3402.       <LineSymbolizer>
  3403.         <CssParameter name="stroke">grey</CssParameter>
  3404.         <CssParameter name="stroke-width">5</CssParameter>
  3405.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  3406.       </LineSymbolizer>
  3407.       <LineSymbolizer>
  3408.         <CssParameter name="stroke">#fff</CssParameter>
  3409.         <CssParameter name="stroke-width">3</CssParameter>
  3410.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3411.         <CssParameter name="stroke-linecap">round</CssParameter>
  3412.       </LineSymbolizer>
  3413.       <LineSymbolizer>
  3414.         <CssParameter name="stroke">green</CssParameter>
  3415.         <CssParameter name="stroke-width">2</CssParameter>
  3416.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  3417.         <CssParameter name="stroke-opacity">0.5</CssParameter>
  3418.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3419.         <CssParameter name="stroke-linecap">round</CssParameter>
  3420.       </LineSymbolizer>
  3421.     </Rule>
  3422.     <Rule>
  3423.       <Filter>[highway] = 'footway' or ([highway] = 'path' and [foot] = 'designated')</Filter>
  3424.       &maxscale_zoom13;
  3425.       <LineSymbolizer>
  3426.         <CssParameter name="stroke">grey</CssParameter>
  3427.         <CssParameter name="stroke-width">5.5</CssParameter>
  3428.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  3429.       </LineSymbolizer>
  3430.       <LineSymbolizer>
  3431.         <CssParameter name="stroke">#fff</CssParameter>
  3432.         <CssParameter name="stroke-width">3.5</CssParameter>
  3433.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3434.         <CssParameter name="stroke-linecap">round</CssParameter>
  3435.       </LineSymbolizer>
  3436.       <LineSymbolizer>
  3437.         <CssParameter name="stroke">salmon</CssParameter>
  3438.         <CssParameter name="stroke-width">2.5</CssParameter>
  3439.         <CssParameter name="stroke-dasharray">1,3</CssParameter>
  3440.         <CssParameter name="stroke-opacity">0.5</CssParameter>
  3441.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3442.         <CssParameter name="stroke-linecap">round</CssParameter>
  3443.       </LineSymbolizer>
  3444.     </Rule>
  3445.     <Rule>
  3446.       <Filter>[highway] = 'path' and not ([bicycle] = 'designated' or [foot] = 'designated' or [horse] = 'designated')</Filter>
  3447.       &maxscale_zoom13;
  3448.       <LineSymbolizer>
  3449.         <CssParameter name="stroke">grey</CssParameter>
  3450.         <CssParameter name="stroke-width">5.5</CssParameter>
  3451.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  3452.       </LineSymbolizer>
  3453.       <LineSymbolizer>
  3454.         <CssParameter name="stroke">white</CssParameter>
  3455.         <CssParameter name="stroke-width">1.0</CssParameter>
  3456.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3457.         <CssParameter name="stroke-linecap">round</CssParameter>
  3458.         <CssParameter name="stroke-opacity">0.4</CssParameter>
  3459.      </LineSymbolizer>
  3460.      <LineSymbolizer>
  3461.        <CssParameter name="stroke">black</CssParameter>
  3462.        <CssParameter name="stroke-width">0.5</CssParameter>
  3463.        <CssParameter name="stroke-dasharray">6,3</CssParameter>
  3464.        <CssParameter name="stroke-linejoin">round</CssParameter>
  3465.        <CssParameter name="stroke-linecap">round</CssParameter>
  3466.     </LineSymbolizer>
  3467.     </Rule>
  3468.     <Rule>
  3469.       <Filter>[highway] = 'cycleway' or ([highway] = 'path' and [bicycle] = 'designated')</Filter>
  3470.       &maxscale_zoom13;
  3471.       <LineSymbolizer>
  3472.         <CssParameter name="stroke">grey</CssParameter>
  3473.         <CssParameter name="stroke-width">5</CssParameter>
  3474.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  3475.       </LineSymbolizer>
  3476.       <LineSymbolizer>
  3477.         <CssParameter name="stroke">white</CssParameter>
  3478.         <CssParameter name="stroke-width">3</CssParameter>
  3479.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3480.         <CssParameter name="stroke-linecap">round</CssParameter>
  3481.       </LineSymbolizer>
  3482.       <LineSymbolizer>
  3483.         <CssParameter name="stroke">blue</CssParameter>
  3484.         <CssParameter name="stroke-width">2</CssParameter>
  3485.         <CssParameter name="stroke-dasharray">1,3</CssParameter>
  3486.         <CssParameter name="stroke-opacity">0.5</CssParameter>
  3487.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3488.         <CssParameter name="stroke-linecap">round</CssParameter>
  3489.       </LineSymbolizer>
  3490.     </Rule>
  3491. </Style>
  3492. <Style name="tracks-notunnel-nobridge">
  3493.     <Rule>
  3494.       <Filter>[tracktype]='grade1'</Filter>
  3495.       &maxscale_zoom14;
  3496.       <LineSymbolizer>
  3497.         <CssParameter name="stroke">white</CssParameter>
  3498.         <CssParameter name="stroke-width">3.5</CssParameter>
  3499.         <CssParameter name="stroke-opacity">0.4</CssParameter>
  3500.       </LineSymbolizer>
  3501.       <LineSymbolizer>
  3502.         <CssParameter name="stroke">#b37700</CssParameter>
  3503.         <CssParameter name="stroke-width">2</CssParameter>
  3504.         <CssParameter name="stroke-opacity">0.7</CssParameter>
  3505.       </LineSymbolizer>
  3506.     </Rule>
  3507.     <Rule>
  3508.       <Filter>[tracktype]='grade2'</Filter>
  3509.       &maxscale_zoom14;
  3510.       <LineSymbolizer>
  3511.         <CssParameter name="stroke">white</CssParameter>
  3512.         <CssParameter name="stroke-width">3</CssParameter>
  3513.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3514.         <CssParameter name="stroke-linecap">round</CssParameter>
  3515.         <CssParameter name="stroke-opacity">0.4</CssParameter>
  3516.       </LineSymbolizer>
  3517.       <LineSymbolizer>
  3518.         <CssParameter name="stroke">#a87000</CssParameter>
  3519.         <CssParameter name="stroke-width">1.5</CssParameter>
  3520.         <CssParameter name="stroke-dasharray">9,4</CssParameter>
  3521.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3522.         <CssParameter name="stroke-linecap">round</CssParameter>
  3523.         <CssParameter name="stroke-opacity">0.8</CssParameter>
  3524.       </LineSymbolizer>
  3525.     </Rule>
  3526.     <Rule>
  3527.       <Filter>[tracktype]='grade3'</Filter>
  3528.       &maxscale_zoom14;
  3529.       <LineSymbolizer>
  3530.         <CssParameter name="stroke">white</CssParameter>
  3531.         <CssParameter name="stroke-width">3</CssParameter>
  3532.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3533.         <CssParameter name="stroke-linecap">round</CssParameter>
  3534.         <CssParameter name="stroke-opacity">0.4</CssParameter>
  3535.       </LineSymbolizer>
  3536.       <LineSymbolizer>
  3537.         <CssParameter name="stroke">#996600</CssParameter>
  3538.         <CssParameter name="stroke-width">1.5</CssParameter>
  3539.         <CssParameter name="stroke-dasharray">3,4</CssParameter>
  3540.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3541.         <CssParameter name="stroke-linecap">round</CssParameter>
  3542.         <CssParameter name="stroke-opacity">0.8</CssParameter>
  3543.       </LineSymbolizer>
  3544.     </Rule>
  3545.     <Rule>
  3546.       <Filter>[tracktype]='grade4'</Filter>
  3547.       &maxscale_zoom14;
  3548.       <LineSymbolizer>
  3549.         <CssParameter name="stroke">white</CssParameter>
  3550.         <CssParameter name="stroke-width">3</CssParameter>
  3551.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3552.         <CssParameter name="stroke-linecap">round</CssParameter>
  3553.         <CssParameter name="stroke-opacity">0.4</CssParameter>
  3554.       </LineSymbolizer>
  3555.       <LineSymbolizer>
  3556.         <CssParameter name="stroke">#996600</CssParameter>
  3557.         <CssParameter name="stroke-width">2</CssParameter>
  3558.         <CssParameter name="stroke-dasharray">4,7,1,5</CssParameter>
  3559.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3560.         <CssParameter name="stroke-linecap">round</CssParameter>
  3561.         <CssParameter name="stroke-opacity">0.8</CssParameter>
  3562.       </LineSymbolizer>
  3563.     </Rule>
  3564.     <Rule>
  3565.       <Filter>[tracktype]='grade5'</Filter>
  3566.       &maxscale_zoom14;
  3567.       <LineSymbolizer>
  3568.         <CssParameter name="stroke">white</CssParameter>
  3569.         <CssParameter name="stroke-width">3</CssParameter>
  3570.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3571.         <CssParameter name="stroke-linecap">round</CssParameter>
  3572.         <CssParameter name="stroke-opacity">0.4</CssParameter>
  3573.       </LineSymbolizer>
  3574.       <LineSymbolizer>
  3575.         <CssParameter name="stroke">#996600</CssParameter>
  3576.         <CssParameter name="stroke-width">2</CssParameter>
  3577.         <CssParameter name="stroke-dasharray">1,5</CssParameter>
  3578.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3579.         <CssParameter name="stroke-linecap">round</CssParameter>
  3580.         <CssParameter name="stroke-opacity">0.8</CssParameter>
  3581.       </LineSymbolizer>
  3582.     </Rule>
  3583.     <Rule>
  3584.       <ElseFilter/>
  3585.       &maxscale_zoom14;
  3586.       <LineSymbolizer>
  3587.         <CssParameter name="stroke">white</CssParameter>
  3588.         <CssParameter name="stroke-width">3</CssParameter>
  3589.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3590.         <CssParameter name="stroke-linecap">round</CssParameter>
  3591.         <CssParameter name="stroke-opacity">0.4</CssParameter>
  3592.       </LineSymbolizer>
  3593.       <LineSymbolizer>
  3594.         <CssParameter name="stroke">#996600</CssParameter>
  3595.         <CssParameter name="stroke-width">1.5</CssParameter>
  3596.         <CssParameter name="stroke-dasharray">3,4</CssParameter>
  3597.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3598.         <CssParameter name="stroke-linecap">round</CssParameter>
  3599.       </LineSymbolizer>
  3600.      </Rule>    
  3601. </Style>
  3602. <Style name="tracks-tunnels">
  3603.     <Rule>
  3604.      <Filter>[tracktype]='grade1'</Filter>
  3605.      &maxscale_zoom14;
  3606.      <LineSymbolizer>
  3607.         <CssParameter name="stroke">grey</CssParameter>
  3608.         <CssParameter name="stroke-width">5</CssParameter>
  3609.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  3610.       </LineSymbolizer>
  3611.       <LineSymbolizer>
  3612.         <CssParameter name="stroke">white</CssParameter>
  3613.         <CssParameter name="stroke-width">3.5</CssParameter>
  3614.       </LineSymbolizer>
  3615.       <LineSymbolizer>
  3616.         <CssParameter name="stroke">#b37700</CssParameter>
  3617.         <CssParameter name="stroke-width">2</CssParameter>
  3618.         <CssParameter name="stroke-opacity">0.5</CssParameter>
  3619.       </LineSymbolizer>
  3620.     </Rule>
  3621.     <Rule>
  3622.      <Filter>[tracktype]='grade2'</Filter>
  3623.      &maxscale_zoom14;
  3624.      <LineSymbolizer>
  3625.         <CssParameter name="stroke">grey</CssParameter>
  3626.         <CssParameter name="stroke-width">4.5</CssParameter>
  3627.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  3628.       </LineSymbolizer>
  3629.       <LineSymbolizer>
  3630.         <CssParameter name="stroke">white</CssParameter>
  3631.         <CssParameter name="stroke-width">3</CssParameter>
  3632.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3633.         <CssParameter name="stroke-linecap">round</CssParameter>
  3634.       </LineSymbolizer>
  3635.       <LineSymbolizer>
  3636.         <CssParameter name="stroke">#a87000</CssParameter>
  3637.         <CssParameter name="stroke-width">1.5</CssParameter>
  3638.         <CssParameter name="stroke-dasharray">3,4</CssParameter>
  3639.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3640.         <CssParameter name="stroke-linecap">round</CssParameter>
  3641.         <CssParameter name="stroke-opacity">0.5</CssParameter>
  3642.       </LineSymbolizer>
  3643.     </Rule>
  3644.     <Rule>
  3645.      <Filter>[tracktype]='grade3'</Filter>
  3646.      &maxscale_zoom14;
  3647.      <LineSymbolizer>
  3648.         <CssParameter name="stroke">grey</CssParameter>
  3649.         <CssParameter name="stroke-width">4.5</CssParameter>
  3650.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  3651.       </LineSymbolizer>
  3652.       <LineSymbolizer>
  3653.         <CssParameter name="stroke">white</CssParameter>
  3654.         <CssParameter name="stroke-width">3.5</CssParameter>
  3655.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3656.         <CssParameter name="stroke-linecap">round</CssParameter>
  3657.       </LineSymbolizer>
  3658.       <LineSymbolizer>
  3659.         <CssParameter name="stroke">#996600</CssParameter>
  3660.         <CssParameter name="stroke-width">2</CssParameter>
  3661.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3662.         <CssParameter name="stroke-linecap">round</CssParameter>
  3663.         <CssParameter name="stroke-opacity">0.5</CssParameter>
  3664.       </LineSymbolizer>
  3665.     </Rule>
  3666.     <Rule>
  3667.      <Filter>[tracktype]='grade4'</Filter>
  3668.      &maxscale_zoom14;
  3669.      <LineSymbolizer>
  3670.         <CssParameter name="stroke">grey</CssParameter>
  3671.         <CssParameter name="stroke-width">4.5</CssParameter>
  3672.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  3673.       </LineSymbolizer>
  3674.       <LineSymbolizer>
  3675.         <CssParameter name="stroke">white</CssParameter>
  3676.         <CssParameter name="stroke-width">3</CssParameter>
  3677.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3678.         <CssParameter name="stroke-linecap">round</CssParameter>
  3679.       </LineSymbolizer>
  3680.       <LineSymbolizer>
  3681.         <CssParameter name="stroke">#996600</CssParameter>
  3682.         <CssParameter name="stroke-width">2</CssParameter>
  3683.         <CssParameter name="stroke-dasharray">4,7,1,5</CssParameter>
  3684.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3685.         <CssParameter name="stroke-linecap">round</CssParameter>
  3686.         <CssParameter name="stroke-opacity">0.5</CssParameter>
  3687.       </LineSymbolizer>
  3688.     </Rule>
  3689.     <Rule>
  3690.      <Filter>[tracktype]='grade5'</Filter>
  3691.      &maxscale_zoom14;
  3692.      <LineSymbolizer>
  3693.         <CssParameter name="stroke">grey</CssParameter>
  3694.         <CssParameter name="stroke-width">4.5</CssParameter>
  3695.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  3696.       </LineSymbolizer>
  3697.       <LineSymbolizer>
  3698.         <CssParameter name="stroke">white</CssParameter>
  3699.         <CssParameter name="stroke-width">3</CssParameter>
  3700.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3701.         <CssParameter name="stroke-linecap">round</CssParameter>
  3702.       </LineSymbolizer>
  3703.       <LineSymbolizer>
  3704.         <CssParameter name="stroke">#996600</CssParameter>
  3705.         <CssParameter name="stroke-width">2</CssParameter>
  3706.         <CssParameter name="stroke-dasharray">1,5</CssParameter>
  3707.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3708.         <CssParameter name="stroke-linecap">round</CssParameter>
  3709.         <CssParameter name="stroke-opacity">0.5</CssParameter>
  3710.       </LineSymbolizer>
  3711.     </Rule>
  3712.     <Rule>
  3713.       <ElseFilter/>
  3714.       &maxscale_zoom14;
  3715.      <LineSymbolizer>
  3716.         <CssParameter name="stroke">grey</CssParameter>
  3717.         <CssParameter name="stroke-width">4.5</CssParameter>
  3718.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  3719.       </LineSymbolizer>
  3720.       <LineSymbolizer>
  3721.         <CssParameter name="stroke">white</CssParameter>
  3722.         <CssParameter name="stroke-width">3</CssParameter>
  3723.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3724.         <CssParameter name="stroke-linecap">round</CssParameter>
  3725.       </LineSymbolizer>
  3726.       <LineSymbolizer>
  3727.         <CssParameter name="stroke">#996600</CssParameter>
  3728.         <CssParameter name="stroke-width">1.5</CssParameter>
  3729.         <CssParameter name="stroke-dasharray">3,4</CssParameter>
  3730.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3731.         <CssParameter name="stroke-linecap">round</CssParameter>
  3732.         <CssParameter name="stroke-opacity">0.5</CssParameter>
  3733.       </LineSymbolizer>
  3734.      </Rule>    
  3735. </Style>
  3736. <Style name="waterway-bridges">
  3737.     <Rule>
  3738.       &maxscale_zoom14;
  3739.       &minscale_zoom16;
  3740.       <LineSymbolizer>
  3741.         <CssParameter name="stroke">#000</CssParameter>
  3742.         <CssParameter name="stroke-width">7</CssParameter>
  3743.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3744.       </LineSymbolizer>
  3745.       <LineSymbolizer>
  3746.         <CssParameter name="stroke">#b5d0d0</CssParameter>
  3747.         <CssParameter name="stroke-width">6</CssParameter>
  3748.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3749.         <CssParameter name="stroke-linecap">round</CssParameter>
  3750.       </LineSymbolizer>
  3751.       <TextSymbolizer name="name" fontset_name="book-fonts" size="9" fill="#6699cc" halo_radius="1" placement="line"/>
  3752.     </Rule>
  3753.     <Rule>
  3754.       &maxscale_zoom17;
  3755.       &minscale_zoom18;
  3756.       <LineSymbolizer>
  3757.         <CssParameter name="stroke">#000</CssParameter>
  3758.         <CssParameter name="stroke-width">11</CssParameter>
  3759.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3760.       </LineSymbolizer>
  3761.       <LineSymbolizer>
  3762.         <CssParameter name="stroke">#b5d0d0</CssParameter>
  3763.         <CssParameter name="stroke-width">10</CssParameter>
  3764.         <CssParameter name="stroke-linejoin">round</CssParameter>
  3765.         <CssParameter name="stroke-linecap">round</CssParameter>
  3766.       </LineSymbolizer>
  3767.       <TextSymbolizer name="name" fontset_name="book-fonts" size="9" fill="#6699cc" halo_radius="1" placement="line"/>
  3768.     </Rule>
  3769. </Style>
  3770. <Style name="bridges_casing">
  3771.      <Rule>
  3772.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  3773.       &maxscale_zoom12;
  3774.       &minscale_zoom12;
  3775.         <LineSymbolizer>
  3776.         <CssParameter name="stroke">#506077</CssParameter>
  3777.         <CssParameter name="stroke-width">3</CssParameter>
  3778.       </LineSymbolizer>
  3779.     </Rule>
  3780.     <Rule>
  3781.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  3782.       &maxscale_zoom13;
  3783.       &minscale_zoom14;
  3784.         <LineSymbolizer>
  3785.         <CssParameter name="stroke">black</CssParameter>
  3786.         <CssParameter name="stroke-width">6.5</CssParameter>
  3787.       </LineSymbolizer>
  3788.     </Rule>    
  3789.     <Rule>
  3790.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  3791.       &maxscale_zoom15;
  3792.       &minscale_zoom16;
  3793.         <LineSymbolizer>
  3794.         <CssParameter name="stroke">black</CssParameter>
  3795.         <CssParameter name="stroke-width">9</CssParameter>
  3796.       </LineSymbolizer>
  3797.     </Rule>
  3798.     <Rule>
  3799.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  3800.       &maxscale_zoom17;
  3801.       &minscale_zoom18;
  3802.         <LineSymbolizer>
  3803.         <CssParameter name="stroke">black</CssParameter>
  3804.         <CssParameter name="stroke-width">12</CssParameter>
  3805.       </LineSymbolizer>
  3806.     </Rule>
  3807.     <Rule>
  3808.       <Filter>[highway] = 'trunk' or [highway]='trunk_link'</Filter>
  3809.       &maxscale_zoom12;
  3810.       &minscale_zoom12;
  3811.         <LineSymbolizer>
  3812.         <CssParameter name="stroke">#477147</CssParameter>
  3813.         <CssParameter name="stroke-width">4</CssParameter>
  3814.       </LineSymbolizer>
  3815.     </Rule>
  3816.     <Rule>
  3817.       <Filter>[highway] = 'trunk' or [highway]='trunk_link'</Filter>
  3818.       &maxscale_zoom13;
  3819.       &minscale_zoom14;
  3820.         <LineSymbolizer>
  3821.         <CssParameter name="stroke">black</CssParameter>
  3822.         <CssParameter name="stroke-width">8</CssParameter>
  3823.       </LineSymbolizer>
  3824.     </Rule>
  3825.     <Rule>
  3826.       <Filter>[highway] = 'trunk' or [highway]='trunk_link'</Filter>
  3827.       &maxscale_zoom15;
  3828.       &minscale_zoom16;
  3829.         <LineSymbolizer>
  3830.         <CssParameter name="stroke">black</CssParameter>
  3831.         <CssParameter name="stroke-width">11</CssParameter>
  3832.       </LineSymbolizer>
  3833.     </Rule>
  3834.     <Rule>
  3835.       <Filter>[highway] = 'trunk' or [highway]='trunk_link'</Filter>
  3836.       &maxscale_zoom17;
  3837.       &minscale_zoom18;
  3838.         <LineSymbolizer>
  3839.         <CssParameter name="stroke">black</CssParameter>
  3840.         <CssParameter name="stroke-width">16</CssParameter>
  3841.       </LineSymbolizer>
  3842.     </Rule>
  3843.     <Rule>
  3844.       <Filter>[highway] = 'primary' or [highway]='primary_link'</Filter>
  3845.       &maxscale_zoom12;
  3846.       &minscale_zoom12;
  3847.         <LineSymbolizer>
  3848.         <CssParameter name="stroke">#8d4346</CssParameter>
  3849.         <CssParameter name="stroke-width">4</CssParameter>
  3850.       </LineSymbolizer>
  3851.     </Rule>
  3852.     <Rule>
  3853.       <Filter>[highway] = 'primary' or [highway]='primary_link'</Filter>
  3854.       &maxscale_zoom13;
  3855.       &minscale_zoom14;
  3856.         <LineSymbolizer>
  3857.         <CssParameter name="stroke">black</CssParameter>
  3858.         <CssParameter name="stroke-width">8</CssParameter>
  3859.       </LineSymbolizer>
  3860.     </Rule>
  3861.     <Rule>
  3862.       <Filter>[highway] = 'primary' or [highway]='primary_link'</Filter>
  3863.       &maxscale_zoom15;
  3864.       &minscale_zoom16;
  3865.         <LineSymbolizer>
  3866.         <CssParameter name="stroke">black</CssParameter>
  3867.         <CssParameter name="stroke-width">11</CssParameter>
  3868.       </LineSymbolizer>
  3869.     </Rule>
  3870.     <Rule>
  3871.       <Filter>[highway] = 'primary' or [highway]='primary_link'</Filter>
  3872.       &maxscale_zoom17;
  3873.       &minscale_zoom18;
  3874.         <LineSymbolizer>
  3875.         <CssParameter name="stroke">black</CssParameter>
  3876.         <CssParameter name="stroke-width">16</CssParameter>
  3877.       </LineSymbolizer>
  3878.     </Rule>
  3879.     <Rule>
  3880.       <Filter>[highway] = 'secondary' or [highway]='secondary_link'</Filter>
  3881.       &maxscale_zoom13;
  3882.       &minscale_zoom14;
  3883.       <LineSymbolizer>
  3884.         <CssParameter name="stroke">black</CssParameter>
  3885.         <CssParameter name="stroke-width">10</CssParameter>
  3886.       </LineSymbolizer>
  3887.     </Rule>
  3888.     <Rule>
  3889.       <Filter>[highway] = 'secondary' or [highway]='secondary_link'</Filter>
  3890.       &maxscale_zoom15;
  3891.       &minscale_zoom16;
  3892.       <LineSymbolizer>
  3893.         <CssParameter name="stroke">black</CssParameter>
  3894.         <CssParameter name="stroke-width">12</CssParameter>
  3895.       </LineSymbolizer>
  3896.     </Rule>
  3897.     <Rule>
  3898.       <Filter>[highway] = 'secondary' or [highway]='secondary_link'</Filter>
  3899.       &maxscale_zoom17;
  3900.       &minscale_zoom18;
  3901.       <LineSymbolizer>
  3902.         <CssParameter name="stroke">black</CssParameter>
  3903.         <CssParameter name="stroke-width">16</CssParameter>
  3904.       </LineSymbolizer>
  3905.     </Rule>
  3906.     <Rule>
  3907.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  3908.       &maxscale_zoom14;
  3909.       &minscale_zoom14;
  3910.       <LineSymbolizer>
  3911.         <CssParameter name="stroke">black</CssParameter>
  3912.         <CssParameter name="stroke-width">7.5</CssParameter>
  3913.       </LineSymbolizer>
  3914.     </Rule>
  3915.     <Rule>
  3916.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  3917.       &maxscale_zoom15;
  3918.       &minscale_zoom16;
  3919.       <LineSymbolizer>
  3920.         <CssParameter name="stroke">black</CssParameter>
  3921.         <CssParameter name="stroke-width">11</CssParameter>
  3922.       </LineSymbolizer>
  3923.     </Rule>
  3924.     <Rule>
  3925.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  3926.       &maxscale_zoom17;
  3927.       &minscale_zoom18;
  3928.       <LineSymbolizer>
  3929.         <CssParameter name="stroke">black</CssParameter>
  3930.         <CssParameter name="stroke-width">16</CssParameter>
  3931.       </LineSymbolizer>
  3932.     </Rule>
  3933.     <Rule>
  3934.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  3935.       &maxscale_zoom14;
  3936.       &minscale_zoom14;
  3937.       <LineSymbolizer>
  3938.         <CssParameter name="stroke">black</CssParameter>
  3939.         <CssParameter name="stroke-width">4.5</CssParameter>
  3940.       </LineSymbolizer>
  3941.     </Rule>
  3942.     <Rule>
  3943.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  3944.       &maxscale_zoom15;
  3945.       &minscale_zoom15;
  3946.       <LineSymbolizer>
  3947.         <CssParameter name="stroke">black</CssParameter>
  3948.         <CssParameter name="stroke-width">9</CssParameter>
  3949.       </LineSymbolizer>
  3950.     </Rule>
  3951.     <Rule>
  3952.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  3953.       &maxscale_zoom16;
  3954.       &minscale_zoom16;
  3955.       <LineSymbolizer>
  3956.         <CssParameter name="stroke">black</CssParameter>
  3957.         <CssParameter name="stroke-width">11</CssParameter>
  3958.       </LineSymbolizer>
  3959.     </Rule>
  3960.     <Rule>
  3961.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  3962.       &maxscale_zoom17;
  3963.       &minscale_zoom18;
  3964.       <LineSymbolizer>
  3965.         <CssParameter name="stroke">black</CssParameter>
  3966.         <CssParameter name="stroke-width">16</CssParameter>
  3967.       </LineSymbolizer>
  3968.     </Rule>
  3969.     <Rule>
  3970.       <Filter>[highway] = 'service'</Filter>
  3971.       &maxscale_zoom14;
  3972.       &minscale_zoom15;
  3973.       <LineSymbolizer>
  3974.         <CssParameter name="stroke">black</CssParameter>
  3975.         <CssParameter name="stroke-width">3</CssParameter>
  3976.       </LineSymbolizer>
  3977.     </Rule>
  3978.     <Rule>
  3979.       <Filter>[highway] = 'service'</Filter>
  3980.       &maxscale_zoom16;
  3981.       &minscale_zoom18;
  3982.       <LineSymbolizer>
  3983.         <CssParameter name="stroke">black</CssParameter>
  3984.         <CssParameter name="stroke-width">8</CssParameter>
  3985.       </LineSymbolizer>
  3986.     </Rule>
  3987.     <Rule>
  3988.       <Filter>[highway] = 'pedestrian'</Filter>
  3989.       &maxscale_zoom13;
  3990.       &minscale_zoom13;
  3991.       <LineSymbolizer>
  3992.         <CssParameter name="stroke">black</CssParameter>
  3993.         <CssParameter name="stroke-width">2.2</CssParameter>
  3994.       </LineSymbolizer>
  3995.     </Rule>
  3996.     <Rule>
  3997.       <Filter>[highway] = 'pedestrian'</Filter>
  3998.       &maxscale_zoom14;
  3999.       &minscale_zoom14;
  4000.       <LineSymbolizer>
  4001.         <CssParameter name="stroke">black</CssParameter>
  4002.         <CssParameter name="stroke-width">3.8</CssParameter>
  4003.       </LineSymbolizer>
  4004.     </Rule>
  4005.     <Rule>
  4006.       <Filter>[highway] = 'pedestrian'</Filter>
  4007.       &maxscale_zoom15;
  4008.       &minscale_zoom15;
  4009.       <LineSymbolizer>
  4010.         <CssParameter name="stroke">black</CssParameter>
  4011.         <CssParameter name="stroke-width">7</CssParameter>
  4012.       </LineSymbolizer>
  4013.     </Rule>
  4014.     <Rule>
  4015.       <Filter>[highway] = 'pedestrian'</Filter>
  4016.       &maxscale_zoom16;
  4017.       <LineSymbolizer>
  4018.         <CssParameter name="stroke">black</CssParameter>
  4019.         <CssParameter name="stroke-width">9.5</CssParameter>
  4020.       </LineSymbolizer>
  4021.     </Rule>
  4022.     <Rule>
  4023.       <Filter>[aeroway] = 'runway'</Filter>
  4024.       &maxscale_zoom14;
  4025.       <LineSymbolizer>
  4026.         <CssParameter name="stroke">black</CssParameter>
  4027.         <CssParameter name="stroke-width">19</CssParameter>
  4028.       </LineSymbolizer>
  4029.     </Rule>
  4030.     <Rule>
  4031.       <Filter>[aeroway] = 'taxiway'</Filter>
  4032.       &maxscale_zoom14;
  4033.       &minscale_zoom14;
  4034.       <LineSymbolizer>
  4035.         <CssParameter name="stroke">black</CssParameter>
  4036.         <CssParameter name="stroke-width">5</CssParameter>
  4037.       </LineSymbolizer>
  4038.     </Rule>
  4039.     <Rule>
  4040.       <Filter>[aeroway] = 'taxiway'</Filter>
  4041.       &maxscale_zoom15;
  4042.       <LineSymbolizer>
  4043.         <CssParameter name="stroke">black</CssParameter>
  4044.         <CssParameter name="stroke-width">7</CssParameter>
  4045.       </LineSymbolizer>
  4046.     </Rule>
  4047.      <Rule>
  4048.       &maxscale_zoom14;
  4049.       &minscale_zoom18;
  4050.       <Filter>[railway]='subway'</Filter>
  4051.       <LineSymbolizer>
  4052.         <CssParameter name="stroke">black</CssParameter>
  4053.         <CssParameter name="stroke-width">5.5</CssParameter>
  4054.       </LineSymbolizer>
  4055.      </Rule>
  4056.      <Rule>
  4057.       &maxscale_zoom14;
  4058.       &minscale_zoom18;
  4059.       <Filter>[railway]='light_rail' or [railway]='narrow_gauge'</Filter>
  4060.       <LineSymbolizer>
  4061.         <CssParameter name="stroke">#555</CssParameter>
  4062.         <CssParameter name="stroke-width">5.5</CssParameter>
  4063.       </LineSymbolizer>
  4064.     </Rule>
  4065.     <Rule>
  4066.       <Filter>[highway] = 'unsurfaced'</Filter>
  4067.       &maxscale_zoom13;
  4068.       &minscale_zoom13;
  4069.       <LineSymbolizer>
  4070.         <CssParameter name="stroke">black</CssParameter>
  4071.         <CssParameter name="stroke-width">5</CssParameter>
  4072.       </LineSymbolizer>
  4073.     </Rule>
  4074.     <Rule>
  4075.       <Filter>[highway] = 'unsurfaced'</Filter>
  4076.       &maxscale_zoom14;
  4077.       <LineSymbolizer>
  4078.         <CssParameter name="stroke">black</CssParameter>
  4079.         <CssParameter name="stroke-width">6.5</CssParameter>
  4080.       </LineSymbolizer>
  4081.     </Rule>
  4082.     <Rule>
  4083.       <Filter>[highway] = 'bridleway' or ([highway] = 'path' and [horse] = 'designated')</Filter>
  4084.       &maxscale_zoom14;
  4085.       <LineSymbolizer>
  4086.         <CssParameter name="stroke">black</CssParameter>
  4087.         <CssParameter name="stroke-width">5.5</CssParameter>
  4088.       </LineSymbolizer>
  4089.     </Rule>
  4090.     <Rule>
  4091.       <Filter>[highway] = 'footway' or ([highway] = 'path' and [foot] = 'designated')</Filter>
  4092.       &maxscale_zoom14;
  4093.       <LineSymbolizer>
  4094.         <CssParameter name="stroke">black</CssParameter>
  4095.         <CssParameter name="stroke-width">6</CssParameter>
  4096.       </LineSymbolizer>
  4097.     </Rule>
  4098.     <Rule>
  4099.       <Filter>[highway] = 'path' and not ([bicycle] = 'designated' or [foot] = 'designated' or [horse] = 'designated')</Filter>
  4100.       &maxscale_zoom14;  
  4101.       <LineSymbolizer>
  4102.         <CssParameter name="stroke">black</CssParameter>
  4103.         <CssParameter name="stroke-width">4</CssParameter>
  4104.       </LineSymbolizer>      
  4105.     </Rule>        
  4106.     <Rule>
  4107.       <Filter>[highway] = 'cycleway' or ([highway] = 'path' and [bicycle] = 'designated')</Filter>
  4108.       &maxscale_zoom14;
  4109.       <LineSymbolizer>
  4110.         <CssParameter name="stroke">black</CssParameter>
  4111.         <CssParameter name="stroke-width">5.5</CssParameter>
  4112.       </LineSymbolizer>
  4113.     </Rule>
  4114.     <Rule>
  4115.       <Filter>[highway] = 'byway'</Filter>
  4116.       &maxscale_zoom14;
  4117.       <LineSymbolizer>
  4118.         <CssParameter name="stroke">black</CssParameter>
  4119.         <CssParameter name="stroke-width">5.5</CssParameter>
  4120.       </LineSymbolizer>
  4121.     </Rule>
  4122.     <Rule>
  4123.       &maxscale_zoom13;
  4124.       &minscale_zoom18;
  4125.       <Filter>[railway] = 'rail'</Filter>
  4126.       <LineSymbolizer>
  4127.         <CssParameter name="stroke">black</CssParameter>
  4128.         <CssParameter name="stroke-width">6.5</CssParameter>
  4129.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4130.       </LineSymbolizer>
  4131.     </Rule>
  4132.     <Rule>
  4133.       &maxscale_zoom13;
  4134.       &minscale_zoom18;
  4135.       <Filter>[railway] = 'INT-spur-siding-yard'</Filter>
  4136.       <LineSymbolizer>
  4137.         <CssParameter name="stroke">black</CssParameter>
  4138.         <CssParameter name="stroke-width">5.7</CssParameter>
  4139.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4140.       </LineSymbolizer>
  4141.     </Rule>
  4142.     <Rule>
  4143.       &maxscale_zoom13;
  4144.       &minscale_zoom18;
  4145.       <Filter>([railway] = 'disused' or [railway] = 'abandoned' or [railway]='construction') and not [highway] != ''</Filter>
  4146.       <LineSymbolizer>
  4147.         <CssParameter name="stroke">black</CssParameter>
  4148.         <CssParameter name="stroke-width">6</CssParameter>
  4149.       </LineSymbolizer>
  4150.     </Rule>
  4151.     <Rule>
  4152.      <Filter>[highway] = 'track' and [tracktype] = 'grade1'</Filter>
  4153.      &maxscale_zoom14;
  4154.      <LineSymbolizer>
  4155.         <CssParameter name="stroke">black</CssParameter>
  4156.         <CssParameter name="stroke-width">5</CssParameter>
  4157.       </LineSymbolizer>
  4158.     </Rule>
  4159.     <Rule>
  4160.      <Filter>[highway] = 'track' and [tracktype] = 'grade2'</Filter>
  4161.      &maxscale_zoom14;
  4162.      <LineSymbolizer>
  4163.         <CssParameter name="stroke">black</CssParameter>
  4164.         <CssParameter name="stroke-width">4.5</CssParameter>
  4165.       </LineSymbolizer>
  4166.     </Rule>
  4167.     <Rule>
  4168.      <Filter>[highway] = 'track' and [tracktype] = 'grade3'</Filter>
  4169.      &maxscale_zoom14;
  4170.      <LineSymbolizer>
  4171.         <CssParameter name="stroke">black</CssParameter>
  4172.         <CssParameter name="stroke-width">4.5</CssParameter>
  4173.       </LineSymbolizer>
  4174.     </Rule>
  4175.     <Rule>
  4176.      <Filter>[highway] = 'track' and [tracktype] = 'grade4'</Filter>
  4177.      &maxscale_zoom14;
  4178.      <LineSymbolizer>
  4179.         <CssParameter name="stroke">black</CssParameter>
  4180.         <CssParameter name="stroke-width">4.5</CssParameter>
  4181.       </LineSymbolizer>
  4182.     </Rule>
  4183.     <Rule>
  4184.      <Filter>[highway] = 'track' and [tracktype] = 'grade5'</Filter>
  4185.      &maxscale_zoom14;
  4186.      <LineSymbolizer>
  4187.         <CssParameter name="stroke">black</CssParameter>
  4188.         <CssParameter name="stroke-width">4.5</CssParameter>
  4189.       </LineSymbolizer>
  4190.     </Rule>
  4191.     <Rule>
  4192.       <Filter>[highway] = 'track' and not [tracktype] != ''</Filter>
  4193.       &maxscale_zoom14;
  4194.      <LineSymbolizer>
  4195.         <CssParameter name="stroke">black</CssParameter>
  4196.         <CssParameter name="stroke-width">4.5</CssParameter>
  4197.       </LineSymbolizer>
  4198.      </Rule>    
  4199. </Style>
  4200. <Style name="bridges_casing2">
  4201.     <Rule>
  4202.       &maxscale_zoom14;
  4203.       &minscale_zoom18;
  4204.       <Filter>[railway]='subway'</Filter>
  4205.       <LineSymbolizer>
  4206.         <CssParameter name="stroke">white</CssParameter>
  4207.         <CssParameter name="stroke-width">4</CssParameter>
  4208.       </LineSymbolizer>
  4209.     </Rule>
  4210.     <Rule>
  4211.       &maxscale_zoom14;
  4212.       &minscale_zoom18;
  4213.       <Filter>[railway]='light_rail' or [railway]='narrow_gauge'</Filter>
  4214.       <LineSymbolizer>
  4215.         <CssParameter name="stroke">white</CssParameter>
  4216.         <CssParameter name="stroke-width">4</CssParameter>
  4217.       </LineSymbolizer>
  4218.     </Rule>
  4219.     <Rule>
  4220.       <Filter>[highway] = 'unsurfaced'</Filter>
  4221.       &maxscale_zoom13;
  4222.       &minscale_zoom13;
  4223.       <LineSymbolizer>
  4224.         <CssParameter name="stroke">white</CssParameter>
  4225.         <CssParameter name="stroke-width">4</CssParameter>
  4226.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4227.         <CssParameter name="stroke-linecap">round</CssParameter>
  4228.       </LineSymbolizer>
  4229.     </Rule>
  4230.     <Rule>
  4231.       <Filter>[highway] = 'unsurfaced'</Filter>
  4232.       &maxscale_zoom14;
  4233.       <LineSymbolizer>
  4234.         <CssParameter name="stroke">white</CssParameter>
  4235.         <CssParameter name="stroke-width">5</CssParameter>
  4236.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4237.         <CssParameter name="stroke-linecap">round</CssParameter>
  4238.       </LineSymbolizer>
  4239.     </Rule>
  4240.     <Rule>
  4241.       <Filter>[highway] = 'bridleway' or ([highway] = 'path' and [horse] = 'designated')</Filter>
  4242.       &maxscale_zoom14;
  4243.       <LineSymbolizer>
  4244.         <CssParameter name="stroke">white</CssParameter>
  4245.         <CssParameter name="stroke-width">4</CssParameter>
  4246.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4247.         <CssParameter name="stroke-linecap">round</CssParameter>
  4248.       </LineSymbolizer>
  4249.     </Rule>
  4250.     <Rule>
  4251.       <Filter>[highway] = 'footway' or ([highway] = 'path' and [foot] = 'designated')</Filter>
  4252.       &maxscale_zoom14;
  4253.       <LineSymbolizer>
  4254.         <CssParameter name="stroke">white</CssParameter>
  4255.         <CssParameter name="stroke-width">4.5</CssParameter>
  4256.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4257.         <CssParameter name="stroke-linecap">round</CssParameter>
  4258.       </LineSymbolizer>
  4259.     </Rule>
  4260.     <Rule>
  4261.       <Filter>[highway] = 'path' and not ([bicycle] = 'designated' or [foot] = 'designated' or [horse] = 'designated')</Filter>
  4262.       &maxscale_zoom14;  
  4263.       <LineSymbolizer>
  4264.         <CssParameter name="stroke">white</CssParameter>
  4265.         <CssParameter name="stroke-width">2.5</CssParameter>
  4266.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4267.         <CssParameter name="stroke-linecap">round</CssParameter>
  4268.       </LineSymbolizer>      
  4269.     </Rule>        
  4270.     <Rule>
  4271.       <Filter>[highway] = 'cycleway' or ([highway] = 'path' and [bicycle] = 'designated')</Filter>
  4272.       &maxscale_zoom14;
  4273.       <LineSymbolizer>
  4274.         <CssParameter name="stroke">white</CssParameter>
  4275.         <CssParameter name="stroke-width">4</CssParameter>
  4276.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4277.         <CssParameter name="stroke-linecap">round</CssParameter>
  4278.       </LineSymbolizer>
  4279.     </Rule>
  4280.     <Rule>
  4281.       <Filter>[highway] = 'byway'</Filter>
  4282.       &maxscale_zoom14;
  4283.       <LineSymbolizer>
  4284.         <CssParameter name="stroke">white</CssParameter>
  4285.         <CssParameter name="stroke-width">4</CssParameter>
  4286.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4287.         <CssParameter name="stroke-linecap">round</CssParameter>
  4288.       </LineSymbolizer>
  4289.     </Rule>
  4290.     <Rule>
  4291.       &maxscale_zoom13;
  4292.       &minscale_zoom18;
  4293.       <Filter>[railway] = 'rail'</Filter>
  4294.       <LineSymbolizer>
  4295.         <CssParameter name="stroke">white</CssParameter>
  4296.         <CssParameter name="stroke-width">5</CssParameter>
  4297.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4298.       </LineSymbolizer>
  4299.     </Rule>
  4300.     <Rule>
  4301.       &maxscale_zoom13;
  4302.       &minscale_zoom18;
  4303.       <Filter>[railway] = 'INT-spur-siding-yard'</Filter>
  4304.       <LineSymbolizer>
  4305.         <CssParameter name="stroke">white</CssParameter>
  4306.         <CssParameter name="stroke-width">4</CssParameter>
  4307.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4308.       </LineSymbolizer>
  4309.     </Rule>
  4310.     <Rule>
  4311.       &maxscale_zoom13;
  4312.       &minscale_zoom18;
  4313.       <Filter>([railway] = 'disused' or [railway] = 'abandoned' or [railway]='construction') and not [highway] != ''</Filter>
  4314.       <LineSymbolizer>
  4315.         <CssParameter name="stroke">white</CssParameter>
  4316.         <CssParameter name="stroke-width">4.5</CssParameter>
  4317.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4318.         <CssParameter name="stroke-linecap">round</CssParameter>
  4319.       </LineSymbolizer>
  4320.     </Rule>
  4321.     <Rule>
  4322.      <Filter>[highway] = 'track' and [tracktype] = 'grade1'</Filter>
  4323.      &maxscale_zoom14;
  4324.       <LineSymbolizer>
  4325.         <CssParameter name="stroke">white</CssParameter>
  4326.         <CssParameter name="stroke-width">3.5</CssParameter>
  4327.       </LineSymbolizer>
  4328.     </Rule>
  4329.     <Rule>
  4330.      <Filter>[highway] = 'track' and [tracktype] = 'grade2'</Filter>
  4331.      &maxscale_zoom14;
  4332.       <LineSymbolizer>
  4333.         <CssParameter name="stroke">white</CssParameter>
  4334.         <CssParameter name="stroke-width">3</CssParameter>
  4335.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4336.         <CssParameter name="stroke-linecap">round</CssParameter>
  4337.       </LineSymbolizer>
  4338.     </Rule>
  4339.     <Rule>
  4340.      <Filter>[highway] = 'track' and [tracktype] = 'grade3'</Filter>
  4341.      &maxscale_zoom14;
  4342.       <LineSymbolizer>
  4343.         <CssParameter name="stroke">white</CssParameter>
  4344.         <CssParameter name="stroke-width">3.5</CssParameter>
  4345.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4346.         <CssParameter name="stroke-linecap">round</CssParameter>
  4347.       </LineSymbolizer>
  4348.     </Rule>
  4349.     <Rule>
  4350.      <Filter>[highway] = 'track' and [tracktype] = 'grade4'</Filter>
  4351.      &maxscale_zoom14;
  4352.       <LineSymbolizer>
  4353.         <CssParameter name="stroke">white</CssParameter>
  4354.         <CssParameter name="stroke-width">3</CssParameter>
  4355.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4356.         <CssParameter name="stroke-linecap">round</CssParameter>
  4357.       </LineSymbolizer>
  4358.     </Rule>
  4359.     <Rule>
  4360.      <Filter>[highway] = 'track' and [tracktype] = 'grade5'</Filter>
  4361.      &maxscale_zoom14;
  4362.       <LineSymbolizer>
  4363.         <CssParameter name="stroke">white</CssParameter>
  4364.         <CssParameter name="stroke-width">3</CssParameter>
  4365.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4366.         <CssParameter name="stroke-linecap">round</CssParameter>
  4367.       </LineSymbolizer>
  4368.     </Rule>
  4369.     <Rule>
  4370.       <Filter>[highway] = 'track' and not [tracktype] != ''</Filter>
  4371.       &maxscale_zoom14;
  4372.       <LineSymbolizer>
  4373.         <CssParameter name="stroke">white</CssParameter>
  4374.         <CssParameter name="stroke-width">3</CssParameter>
  4375.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4376.         <CssParameter name="stroke-linecap">round</CssParameter>
  4377.       </LineSymbolizer>
  4378.      </Rule>    
  4379. </Style>
  4380. <Style name="bridges_fill">
  4381.      <Rule>
  4382.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  4383.       &maxscale_zoom12;
  4384.       &minscale_zoom12;
  4385.       <LineSymbolizer>
  4386.         <CssParameter name="stroke">#809bc0</CssParameter>
  4387.         <CssParameter name="stroke-width">2</CssParameter>
  4388.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4389.         <CssParameter name="stroke-linecap">round</CssParameter>
  4390.       </LineSymbolizer>
  4391.     </Rule>  
  4392.     <Rule>
  4393.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  4394.       &maxscale_zoom13;
  4395.       &minscale_zoom14;
  4396.       <LineSymbolizer>
  4397.         <CssParameter name="stroke">#809bc0</CssParameter>
  4398.         <CssParameter name="stroke-width">5.5</CssParameter>
  4399.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4400.         <CssParameter name="stroke-linecap">round</CssParameter>
  4401.       </LineSymbolizer>
  4402.     </Rule>  
  4403.     <Rule>
  4404.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  4405.       &maxscale_zoom15;
  4406.       &minscale_zoom16;
  4407.       <LineSymbolizer>
  4408.         <CssParameter name="stroke">#809bc0</CssParameter>
  4409.         <CssParameter name="stroke-width">7.5</CssParameter>
  4410.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4411.         <CssParameter name="stroke-linecap">round</CssParameter>
  4412.       </LineSymbolizer>
  4413.     </Rule>
  4414.    <Rule>
  4415.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  4416.       &maxscale_zoom17;
  4417.       &minscale_zoom18;
  4418.       <LineSymbolizer>
  4419.         <CssParameter name="stroke">#809bc0</CssParameter>
  4420.         <CssParameter name="stroke-width">10</CssParameter>
  4421.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4422.         <CssParameter name="stroke-linecap">round</CssParameter>
  4423.       </LineSymbolizer>
  4424.     </Rule>
  4425.     <Rule>
  4426.       <Filter>[highway] = 'trunk' or [highway]='trunk_link'</Filter>
  4427.       &maxscale_zoom12;
  4428.       &minscale_zoom12;
  4429.       <LineSymbolizer>
  4430.         <CssParameter name="stroke">#a9dba9</CssParameter>
  4431.         <CssParameter name="stroke-width">3</CssParameter>
  4432.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4433.         <CssParameter name="stroke-linecap">round</CssParameter>
  4434.       </LineSymbolizer>
  4435.     </Rule>
  4436.     <Rule>
  4437.       <Filter>[highway] = 'trunk' or [highway]='trunk_link'</Filter>
  4438.       &maxscale_zoom13;
  4439.       &minscale_zoom14;
  4440.       <LineSymbolizer>
  4441.         <CssParameter name="stroke">#a9dba9</CssParameter>
  4442.         <CssParameter name="stroke-width">7</CssParameter>
  4443.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4444.         <CssParameter name="stroke-linecap">round</CssParameter>
  4445.       </LineSymbolizer>
  4446.     </Rule>
  4447.     <Rule>
  4448.       <Filter>[highway] = 'trunk' or [highway]='trunk_link'</Filter>
  4449.       &maxscale_zoom15;
  4450.       &minscale_zoom16;
  4451.       <LineSymbolizer>
  4452.         <CssParameter name="stroke">#a9dba9</CssParameter>
  4453.         <CssParameter name="stroke-width">9.5</CssParameter>
  4454.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4455.         <CssParameter name="stroke-linecap">round</CssParameter>
  4456.       </LineSymbolizer>
  4457.     </Rule>
  4458.     <Rule>
  4459.       <Filter>[highway] = 'trunk' or [highway]='trunk_link'</Filter>
  4460.       &maxscale_zoom17;
  4461.       &minscale_zoom18;
  4462.       <LineSymbolizer>
  4463.         <CssParameter name="stroke">#a9dba9</CssParameter>
  4464.         <CssParameter name="stroke-width">14.5</CssParameter>
  4465.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4466.         <CssParameter name="stroke-linecap">round</CssParameter>
  4467.       </LineSymbolizer>
  4468.     </Rule>
  4469.     <Rule>
  4470.       <Filter>[highway] = 'primary' or [highway]='primary_link'</Filter>
  4471.       &maxscale_zoom12;
  4472.       &minscale_zoom12;
  4473.       <LineSymbolizer>
  4474.         <CssParameter name="stroke">#ec989a</CssParameter>
  4475.         <CssParameter name="stroke-width">3</CssParameter>
  4476.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4477.         <CssParameter name="stroke-linecap">round</CssParameter>
  4478.       </LineSymbolizer>
  4479.     </Rule>
  4480.     <Rule>
  4481.       <Filter>[highway] = 'primary' or [highway]='primary_link'</Filter>
  4482.       &maxscale_zoom13;
  4483.       &minscale_zoom14;
  4484.       <LineSymbolizer>
  4485.         <CssParameter name="stroke">#ec989a</CssParameter>
  4486.         <CssParameter name="stroke-width">7</CssParameter>
  4487.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4488.         <CssParameter name="stroke-linecap">round</CssParameter>
  4489.       </LineSymbolizer>
  4490.     </Rule>  
  4491.     <Rule>
  4492.       <Filter>[highway] = 'primary' or [highway]='primary_link'</Filter>
  4493.       &maxscale_zoom15;
  4494.       &minscale_zoom16;
  4495.       <LineSymbolizer>
  4496.         <CssParameter name="stroke">#ec989a</CssParameter>
  4497.         <CssParameter name="stroke-width">9.5</CssParameter>
  4498.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4499.         <CssParameter name="stroke-linecap">round</CssParameter>
  4500.       </LineSymbolizer>
  4501.     </Rule>
  4502.     <Rule>
  4503.       <Filter>[highway] = 'primary' or [highway]='primary_link'</Filter>
  4504.       &maxscale_zoom17;
  4505.       &minscale_zoom18;
  4506.       <LineSymbolizer>
  4507.         <CssParameter name="stroke">#ec989a</CssParameter>
  4508.         <CssParameter name="stroke-width">14.5</CssParameter>
  4509.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4510.         <CssParameter name="stroke-linecap">round</CssParameter>
  4511.       </LineSymbolizer>
  4512.     </Rule>
  4513.     <Rule>
  4514.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  4515.       &maxscale_zoom13;
  4516.       &minscale_zoom14;
  4517.       <LineSymbolizer>
  4518.         <CssParameter name="stroke">#fed7a5</CssParameter>
  4519.         <CssParameter name="stroke-width">9</CssParameter>
  4520.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4521.         <CssParameter name="stroke-linecap">round</CssParameter>
  4522.       </LineSymbolizer>
  4523.     </Rule>
  4524.     <Rule>
  4525.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  4526.       &maxscale_zoom15;
  4527.       &minscale_zoom16;
  4528.       <LineSymbolizer>
  4529.         <CssParameter name="stroke">#fed7a5</CssParameter>
  4530.         <CssParameter name="stroke-width">10.5</CssParameter>
  4531.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4532.         <CssParameter name="stroke-linecap">round</CssParameter>
  4533.       </LineSymbolizer>
  4534.     </Rule>  
  4535.     <Rule>
  4536.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  4537.       &maxscale_zoom17;
  4538.       &minscale_zoom18;
  4539.       <LineSymbolizer>
  4540.         <CssParameter name="stroke">#fed7a5</CssParameter>
  4541.         <CssParameter name="stroke-width">14.5</CssParameter>
  4542.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4543.         <CssParameter name="stroke-linecap">round</CssParameter>
  4544.       </LineSymbolizer>
  4545.     </Rule>
  4546.     <Rule>
  4547.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  4548.       &maxscale_zoom14;
  4549.       &minscale_zoom14;
  4550.       <LineSymbolizer>
  4551.         <CssParameter name="stroke">#ffffb3</CssParameter>
  4552.         <CssParameter name="stroke-width">6</CssParameter>
  4553.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4554.         <CssParameter name="stroke-linecap">round</CssParameter>
  4555.       </LineSymbolizer>
  4556.     </Rule>
  4557.     <Rule>
  4558.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  4559.       &maxscale_zoom15;
  4560.       &minscale_zoom16;
  4561.       <LineSymbolizer>
  4562.         <CssParameter name="stroke">#ffffb3</CssParameter>
  4563.         <CssParameter name="stroke-width">9.5</CssParameter>
  4564.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4565.         <CssParameter name="stroke-linecap">round</CssParameter>
  4566.       </LineSymbolizer>
  4567.     </Rule>
  4568.     <Rule>
  4569.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  4570.       &maxscale_zoom17;
  4571.       &minscale_zoom18;
  4572.       <LineSymbolizer>
  4573.         <CssParameter name="stroke">#ffffb3</CssParameter>
  4574.         <CssParameter name="stroke-width">14</CssParameter>
  4575.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4576.         <CssParameter name="stroke-linecap">round</CssParameter>
  4577.       </LineSymbolizer>
  4578.     </Rule>
  4579.     <Rule>
  4580.       <Filter>[highway] = 'road'</Filter>
  4581.       &maxscale_zoom14;
  4582.       &minscale_zoom14;
  4583.       <LineSymbolizer>
  4584.         <CssParameter name="stroke">#ddd</CssParameter>
  4585.         <CssParameter name="stroke-width">3.5</CssParameter>
  4586.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4587.         <CssParameter name="stroke-linecap">round</CssParameter>
  4588.       </LineSymbolizer>
  4589.     </Rule>
  4590.     <Rule>
  4591.       <Filter>[highway] = 'road'</Filter>
  4592.       &maxscale_zoom15;
  4593.       &minscale_zoom16;
  4594.       <LineSymbolizer>
  4595.         <CssParameter name="stroke">#ddd</CssParameter>
  4596.         <CssParameter name="stroke-width">9.5</CssParameter>
  4597.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4598.         <CssParameter name="stroke-linecap">round</CssParameter>
  4599.       </LineSymbolizer>
  4600.     </Rule>
  4601.     <Rule>
  4602.       <Filter>[highway] = 'road'</Filter>
  4603.       &maxscale_zoom17;
  4604.       &minscale_zoom18;
  4605.       <LineSymbolizer>
  4606.         <CssParameter name="stroke">#ddd</CssParameter>
  4607.         <CssParameter name="stroke-width">14</CssParameter>
  4608.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4609.         <CssParameter name="stroke-linecap">round</CssParameter>
  4610.       </LineSymbolizer>
  4611.     </Rule>
  4612.     <Rule>
  4613.       <Filter>[highway] = 'residential' or [highway] = 'unclassified'</Filter>
  4614.       &maxscale_zoom14;
  4615.       &minscale_zoom14;
  4616.       <LineSymbolizer>
  4617.         <CssParameter name="stroke">white</CssParameter>
  4618.         <CssParameter name="stroke-width">3.5</CssParameter>
  4619.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4620.         <CssParameter name="stroke-linecap">round</CssParameter>
  4621.       </LineSymbolizer>
  4622.     </Rule>
  4623.    <Rule>
  4624.       <Filter>[highway] = 'residential' or [highway] = 'unclassified'</Filter>
  4625.       &maxscale_zoom15;
  4626.       &minscale_zoom15;
  4627.       <LineSymbolizer>
  4628.         <CssParameter name="stroke">white</CssParameter>
  4629.         <CssParameter name="stroke-width">7.5</CssParameter>
  4630.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4631.         <CssParameter name="stroke-linecap">round</CssParameter>
  4632.       </LineSymbolizer>
  4633.     </Rule>
  4634.     <Rule>
  4635.       <Filter>[highway] = 'residential' or [highway] = 'unclassified'</Filter>
  4636.       &maxscale_zoom16;
  4637.       &minscale_zoom16;
  4638.       <LineSymbolizer>
  4639.         <CssParameter name="stroke">white</CssParameter>
  4640.         <CssParameter name="stroke-width">9.5</CssParameter>
  4641.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4642.         <CssParameter name="stroke-linecap">round</CssParameter>
  4643.       </LineSymbolizer>
  4644.     </Rule>
  4645.     <Rule>
  4646.       <Filter>[highway] = 'residential' or [highway] = 'unclassified'</Filter>
  4647.       &maxscale_zoom17;
  4648.       &minscale_zoom18;
  4649.       <LineSymbolizer>
  4650.         <CssParameter name="stroke">white</CssParameter>
  4651.         <CssParameter name="stroke-width">14</CssParameter>
  4652.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4653.         <CssParameter name="stroke-linecap">round</CssParameter>
  4654.       </LineSymbolizer>
  4655.     </Rule>
  4656.     <Rule>
  4657.       <Filter>[highway] = 'service'</Filter>
  4658.       &maxscale_zoom14;
  4659.       &minscale_zoom15;
  4660.       <LineSymbolizer>
  4661.         <CssParameter name="stroke">white</CssParameter>
  4662.         <CssParameter name="stroke-width">2</CssParameter>
  4663.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4664.         <CssParameter name="stroke-linecap">round</CssParameter>
  4665.       </LineSymbolizer>
  4666.     </Rule>
  4667.     <Rule>
  4668.       <Filter>[highway] = 'service'</Filter>
  4669.       &maxscale_zoom16;
  4670.       &minscale_zoom18;
  4671.       <LineSymbolizer>
  4672.         <CssParameter name="stroke">white</CssParameter>
  4673.         <CssParameter name="stroke-width">6</CssParameter>
  4674.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4675.         <CssParameter name="stroke-linecap">round</CssParameter>
  4676.       </LineSymbolizer>
  4677.     </Rule>
  4678.     <Rule>
  4679.       <Filter>[highway] = 'pedestrian'</Filter>
  4680.       &maxscale_zoom13;
  4681.       &minscale_zoom13;
  4682.       <LineSymbolizer>
  4683.         <CssParameter name="stroke">#ededed</CssParameter>
  4684.         <CssParameter name="stroke-width">1.5</CssParameter>
  4685.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4686.         <CssParameter name="stroke-linecap">round</CssParameter>
  4687.       </LineSymbolizer>
  4688.     </Rule>
  4689.     <Rule>
  4690.       <Filter>[highway] = 'pedestrian'</Filter>
  4691.       &maxscale_zoom14;
  4692.       &minscale_zoom14;
  4693.       <LineSymbolizer>
  4694.         <CssParameter name="stroke">#ededed</CssParameter>
  4695.         <CssParameter name="stroke-width">3</CssParameter>
  4696.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4697.         <CssParameter name="stroke-linecap">round</CssParameter>
  4698.       </LineSymbolizer>
  4699.     </Rule>
  4700.     <Rule>
  4701.       <Filter>[highway] = 'pedestrian'</Filter>
  4702.       &maxscale_zoom15;
  4703.       &minscale_zoom15;
  4704.       <LineSymbolizer>
  4705.         <CssParameter name="stroke">#ededed</CssParameter>
  4706.         <CssParameter name="stroke-width">5.5</CssParameter>
  4707.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4708.         <CssParameter name="stroke-linecap">round</CssParameter>
  4709.       </LineSymbolizer>
  4710.     </Rule>
  4711.     <Rule>
  4712.       <Filter>[highway] = 'pedestrian'</Filter>
  4713.       &maxscale_zoom16;
  4714.       <LineSymbolizer>
  4715.         <CssParameter name="stroke">#ededed</CssParameter>
  4716.         <CssParameter name="stroke-width">8</CssParameter>
  4717.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4718.         <CssParameter name="stroke-linecap">round</CssParameter>
  4719.       </LineSymbolizer>
  4720.     </Rule>
  4721.     <Rule>
  4722.       <Filter>[aeroway] = 'runway'</Filter>
  4723.       &maxscale_zoom14;
  4724.       <LineSymbolizer>
  4725.         <CssParameter name="stroke">#bbc</CssParameter>
  4726.         <CssParameter name="stroke-width">18</CssParameter>
  4727.       </LineSymbolizer>
  4728.     </Rule>
  4729.     <Rule>
  4730.       <Filter>[aeroway] = 'taxiway'</Filter>
  4731.       &maxscale_zoom14;
  4732.       &minscale_zoom14;
  4733.       <LineSymbolizer>
  4734.         <CssParameter name="stroke">#bbc</CssParameter>
  4735.         <CssParameter name="stroke-width">4</CssParameter>
  4736.       </LineSymbolizer>
  4737.     </Rule>
  4738.     <Rule>
  4739.       <Filter>[aeroway] = 'taxiway'</Filter>
  4740.       &maxscale_zoom15;
  4741.       <LineSymbolizer>
  4742.         <CssParameter name="stroke">#bbc</CssParameter>
  4743.         <CssParameter name="stroke-width">6</CssParameter>
  4744.       </LineSymbolizer>
  4745.     </Rule>
  4746.     <Rule>
  4747.       &maxscale_zoom14;
  4748.       &minscale_zoom18;
  4749.       <Filter>[railway]='subway'</Filter>
  4750.       <LineSymbolizer>
  4751.         <CssParameter name="stroke">#999</CssParameter>
  4752.         <CssParameter name="stroke-width">2</CssParameter>
  4753.       </LineSymbolizer>
  4754.     </Rule>
  4755.     <Rule>
  4756.       &maxscale_zoom14;
  4757.       &minscale_zoom18;
  4758.       <Filter>[railway]='light_rail' or [railway]='narrow_gauge'</Filter>
  4759.       <LineSymbolizer>
  4760.         <CssParameter name="stroke">#666</CssParameter>
  4761.         <CssParameter name="stroke-width">2</CssParameter>
  4762.       </LineSymbolizer>
  4763.     </Rule>
  4764.     <Rule>
  4765.       <Filter>[highway] = 'unsurfaced'</Filter>
  4766.       &maxscale_zoom13;
  4767.       &minscale_zoom13;
  4768.       <LineSymbolizer>
  4769.         <CssParameter name="stroke">#debd9c</CssParameter>
  4770.         <CssParameter name="stroke-width">3</CssParameter>
  4771.         <CssParameter name="stroke-dasharray">2,4</CssParameter>
  4772.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4773.         <CssParameter name="stroke-linecap">round</CssParameter>
  4774.       </LineSymbolizer>
  4775.     </Rule>
  4776.     <Rule>
  4777.       <Filter>[highway] = 'unsurfaced'</Filter>
  4778.       &maxscale_zoom14;
  4779.       <LineSymbolizer>
  4780.         <CssParameter name="stroke">#debd9c</CssParameter>
  4781.         <CssParameter name="stroke-width">4</CssParameter>
  4782.         <CssParameter name="stroke-dasharray">4,6</CssParameter>
  4783.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4784.         <CssParameter name="stroke-linecap">round</CssParameter>
  4785.       </LineSymbolizer>
  4786.     </Rule>
  4787.     <Rule>
  4788.       <Filter>[highway] = 'bridleway' or ([highway] = 'path' and [horse] = 'designated')</Filter>
  4789.       &maxscale_zoom14;
  4790.       <LineSymbolizer>
  4791.         <CssParameter name="stroke">green</CssParameter>
  4792.         <CssParameter name="stroke-width">1.5</CssParameter>
  4793.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  4794.       </LineSymbolizer>
  4795.     </Rule>
  4796.     <Rule>
  4797.       <Filter>[highway] = 'footway' or ([highway] = 'path' and [foot] = 'designated')</Filter>
  4798.       &maxscale_zoom14;
  4799.       <LineSymbolizer>
  4800.         <CssParameter name="stroke">salmon</CssParameter>
  4801.         <CssParameter name="stroke-width">2.0</CssParameter>
  4802.         <CssParameter name="stroke-dasharray">1,3</CssParameter>
  4803.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4804.         <CssParameter name="stroke-linecap">round</CssParameter>
  4805.       </LineSymbolizer>
  4806.     </Rule>
  4807.     <Rule>
  4808.       <Filter>[highway] = 'path' and not ([bicycle] = 'designated' or [foot] = 'designated' or [horse] = 'designated')</Filter>
  4809.       &maxscale_zoom14;  
  4810.       <LineSymbolizer>
  4811.         <CssParameter name="stroke">black</CssParameter>
  4812.         <CssParameter name="stroke-width">0.5</CssParameter>
  4813.         <CssParameter name="stroke-dasharray">6,3</CssParameter>   
  4814.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4815.         <CssParameter name="stroke-linecap">round</CssParameter>
  4816.       </LineSymbolizer>
  4817.     </Rule>        
  4818.     <Rule>
  4819.       <Filter>[highway] = 'cycleway' or ([highway] = 'path' and [bicycle] = 'designated')</Filter>
  4820.       &maxscale_zoom14;
  4821.       <LineSymbolizer>
  4822.         <CssParameter name="stroke">blue</CssParameter>
  4823.         <CssParameter name="stroke-width">1.5</CssParameter>
  4824.         <CssParameter name="stroke-dasharray">1,3</CssParameter>
  4825.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4826.         <CssParameter name="stroke-linecap">round</CssParameter>
  4827.       </LineSymbolizer>
  4828.     </Rule>
  4829.     <Rule>
  4830.       <Filter>[highway] = 'byway'</Filter>
  4831.       &maxscale_zoom14;
  4832.       <LineSymbolizer>
  4833.         <CssParameter name="stroke">#ffcc00</CssParameter>
  4834.         <CssParameter name="stroke-width">1.5</CssParameter>
  4835.         <CssParameter name="stroke-dasharray">3,4</CssParameter>
  4836.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4837.         <CssParameter name="stroke-linecap">round</CssParameter>
  4838.       </LineSymbolizer>
  4839.     </Rule>
  4840.     <Rule>
  4841.       &maxscale_zoom13;
  4842.       &minscale_zoom13;
  4843.       <Filter>[railway] = 'rail'</Filter>
  4844.       <LineSymbolizer>
  4845.         <CssParameter name="stroke">#999999</CssParameter>
  4846.         <CssParameter name="stroke-width">3</CssParameter>
  4847.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4848.       </LineSymbolizer>
  4849.       <LineSymbolizer>
  4850.         <CssParameter name="stroke">white</CssParameter>
  4851.         <CssParameter name="stroke-width">1</CssParameter>
  4852.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4853.         <CssParameter name="stroke-dasharray">8,12</CssParameter>
  4854.       </LineSymbolizer>
  4855.     </Rule>
  4856.     <Rule>
  4857.       &maxscale_zoom14;
  4858.       &minscale_zoom18;
  4859.       <Filter>[railway] = 'rail'</Filter>
  4860.       <LineSymbolizer>
  4861.         <CssParameter name="stroke">#999999</CssParameter>
  4862.         <CssParameter name="stroke-width">3</CssParameter>
  4863.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4864.       </LineSymbolizer>
  4865.       <LineSymbolizer>
  4866.         <CssParameter name="stroke">white</CssParameter>
  4867.         <CssParameter name="stroke-width">1</CssParameter>
  4868.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4869.         <CssParameter name="stroke-dasharray">0,11,8,1</CssParameter>
  4870.       </LineSymbolizer>
  4871.     </Rule>
  4872.     <Rule>
  4873.       &maxscale_zoom13;
  4874.       &minscale_zoom18;
  4875.       <Filter>[railway] = 'INT-spur-siding-yard'</Filter>
  4876.       <LineSymbolizer>
  4877.         <CssParameter name="stroke">#999999</CssParameter>
  4878.         <CssParameter name="stroke-width">2</CssParameter>
  4879.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4880.       </LineSymbolizer>
  4881.       <LineSymbolizer>
  4882.         <CssParameter name="stroke">white</CssParameter>
  4883.         <CssParameter name="stroke-width">0.8</CssParameter>
  4884.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4885.         <CssParameter name="stroke-dasharray">0,8,11,1</CssParameter>
  4886.       </LineSymbolizer>
  4887.     </Rule>
  4888.     <Rule>
  4889.       &maxscale_zoom13;
  4890.       &minscale_zoom18;
  4891.       <Filter>([railway] = 'disused' or [railway] = 'abandoned' or [railway]='construction') and not [highway] != ''</Filter>
  4892.       <LineSymbolizer>
  4893.         <CssParameter name="stroke">grey</CssParameter>
  4894.         <CssParameter name="stroke-width">2</CssParameter>
  4895.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4896.         <CssParameter name="stroke-dasharray">2,4</CssParameter>
  4897.       </LineSymbolizer>
  4898.     </Rule>
  4899.     <Rule>
  4900.      <Filter>[highway] = 'track' and [tracktype] = 'grade1'</Filter>
  4901.      &maxscale_zoom14;
  4902.       <LineSymbolizer>
  4903.         <CssParameter name="stroke">#b37700</CssParameter>
  4904.         <CssParameter name="stroke-width">2</CssParameter>
  4905.         <CssParameter name="stroke-opacity">0.7</CssParameter>
  4906.       </LineSymbolizer>
  4907.     </Rule>
  4908.     <Rule>
  4909.      <Filter>[highway] = 'track' and [tracktype] = 'grade2'</Filter>
  4910.      &maxscale_zoom14;
  4911.       <LineSymbolizer>
  4912.         <CssParameter name="stroke">#a87000</CssParameter>
  4913.         <CssParameter name="stroke-width">1.5</CssParameter>
  4914.         <CssParameter name="stroke-dasharray">3,4</CssParameter>
  4915.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4916.         <CssParameter name="stroke-linecap">round</CssParameter>
  4917.         <CssParameter name="stroke-opacity">0.8</CssParameter>
  4918.       </LineSymbolizer>
  4919.     </Rule>
  4920.     <Rule>
  4921.      <Filter>[highway] = 'track' and [tracktype] = 'grade3'</Filter>
  4922.      &maxscale_zoom14;
  4923.       <LineSymbolizer>
  4924.         <CssParameter name="stroke">#996600</CssParameter>
  4925.         <CssParameter name="stroke-width">2</CssParameter>
  4926.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4927.         <CssParameter name="stroke-linecap">round</CssParameter>
  4928.         <CssParameter name="stroke-opacity">0.7</CssParameter>
  4929.       </LineSymbolizer>
  4930.     </Rule>
  4931.     <Rule>
  4932.      <Filter>[highway] = 'track' and [tracktype] = 'grade4'</Filter>
  4933.      &maxscale_zoom14;
  4934.       <LineSymbolizer>
  4935.         <CssParameter name="stroke">#996600</CssParameter>
  4936.         <CssParameter name="stroke-width">2</CssParameter>
  4937.         <CssParameter name="stroke-dasharray">4,7,1,5</CssParameter>
  4938.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4939.         <CssParameter name="stroke-linecap">round</CssParameter>
  4940.         <CssParameter name="stroke-opacity">0.8</CssParameter>
  4941.       </LineSymbolizer>
  4942.     </Rule>
  4943.     <Rule>
  4944.      <Filter>[highway] = 'track' and [tracktype] = 'grade5'</Filter>
  4945.      &maxscale_zoom14;
  4946.       <LineSymbolizer>
  4947.         <CssParameter name="stroke">#996600</CssParameter>
  4948.         <CssParameter name="stroke-width">2</CssParameter>
  4949.         <CssParameter name="stroke-dasharray">1,5</CssParameter>
  4950.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4951.         <CssParameter name="stroke-linecap">round</CssParameter>
  4952.         <CssParameter name="stroke-opacity">0.8</CssParameter>
  4953.       </LineSymbolizer>
  4954.     </Rule>
  4955.     <Rule>
  4956.       <Filter>[highway] = 'track' and not [tracktype] != ''</Filter>
  4957.       &maxscale_zoom14;
  4958.       <LineSymbolizer>
  4959.         <CssParameter name="stroke">#996600</CssParameter>
  4960.         <CssParameter name="stroke-width">1.5</CssParameter>
  4961.         <CssParameter name="stroke-dasharray">3,4</CssParameter>
  4962.         <CssParameter name="stroke-linejoin">round</CssParameter>
  4963.         <CssParameter name="stroke-linecap">round</CssParameter>
  4964.       </LineSymbolizer>
  4965.      </Rule>    
  4966. </Style>
  4967. <Style name="roads">
  4968.     <Rule>
  4969.       <Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
  4970.       &maxscale_zoom5;
  4971.       &minscale_zoom6;
  4972.       <LineSymbolizer>
  4973.         <CssParameter name="stroke">#809bc0</CssParameter>
  4974.         <CssParameter name="stroke-width">0.5</CssParameter>
  4975.       </LineSymbolizer>
  4976.     </Rule>
  4977.     <Rule>
  4978.       <Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
  4979.       &maxscale_zoom7;
  4980.       &minscale_zoom8;
  4981.       <LineSymbolizer>
  4982.        <CssParameter name="stroke">#809bc0</CssParameter>
  4983.        <CssParameter name="stroke-width">1</CssParameter>
  4984.       </LineSymbolizer>
  4985.     </Rule>
  4986. <Rule>
  4987.       <Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
  4988.       &maxscale_zoom9;
  4989.       &minscale_zoom9;
  4990.       <LineSymbolizer>
  4991.        <CssParameter name="stroke">#809bc0</CssParameter>
  4992.        <CssParameter name="stroke-width">1.4</CssParameter>
  4993.       </LineSymbolizer>
  4994.     </Rule>
  4995.    <Rule>
  4996.      <Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
  4997.       &maxscale_zoom10;
  4998.       &minscale_zoom10;
  4999.       <LineSymbolizer>
  5000.       <CssParameter name="stroke">#809bc0</CssParameter>
  5001.       <CssParameter name="stroke-width">2</CssParameter>
  5002.     </LineSymbolizer>
  5003.    </Rule>
  5004.    <Rule>
  5005.      <Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
  5006.       &maxscale_zoom11;
  5007.       &minscale_zoom11;
  5008.       <LineSymbolizer>
  5009.       <CssParameter name="stroke">#809bc0</CssParameter>
  5010.       <CssParameter name="stroke-width">2.5</CssParameter>
  5011.     </LineSymbolizer>
  5012.    </Rule>
  5013.     <!-- TRUNK -->
  5014.     <Rule>
  5015.       <Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
  5016.       &maxscale_zoom5;
  5017.       &minscale_zoom6;
  5018.       <LineSymbolizer>
  5019.         <CssParameter name="stroke">#a9dba9</CssParameter>
  5020.         <CssParameter name="stroke-width">0.4</CssParameter>
  5021.       </LineSymbolizer>
  5022.     </Rule>
  5023.    <Rule>
  5024.       <Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
  5025.       &maxscale_zoom7;
  5026.       &minscale_zoom8;
  5027.       <LineSymbolizer>
  5028.         <CssParameter name="stroke">#97d397</CssParameter>
  5029.         <CssParameter name="stroke-width">1</CssParameter>
  5030.       </LineSymbolizer>
  5031.     </Rule>
  5032.     <Rule>
  5033.       <Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
  5034.       &maxscale_zoom9;
  5035.       &minscale_zoom10;
  5036.       <LineSymbolizer>
  5037.         <CssParameter name="stroke">#97d397</CssParameter>
  5038.         <CssParameter name="stroke-width">2</CssParameter>
  5039.       </LineSymbolizer>
  5040.     </Rule>
  5041.     <Rule>
  5042.       <Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
  5043.       &maxscale_zoom11;
  5044.       &minscale_zoom11;
  5045.       <LineSymbolizer>
  5046.         <CssParameter name="stroke">#97d397</CssParameter>
  5047.         <CssParameter name="stroke-width">2.5</CssParameter>
  5048.       </LineSymbolizer>
  5049.     </Rule>
  5050.    <!-- PRIMARY-->
  5051.    <Rule>
  5052.       <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
  5053.       &maxscale_zoom7;
  5054.       &minscale_zoom8;
  5055.       <LineSymbolizer>
  5056.         <CssParameter name="stroke">#ec989a</CssParameter>
  5057.         <CssParameter name="stroke-width">0.5</CssParameter>
  5058.       </LineSymbolizer>
  5059.     </Rule>
  5060.     <Rule>
  5061.       <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
  5062.       &maxscale_zoom9;
  5063.       &minscale_zoom9;
  5064.       <LineSymbolizer>
  5065.         <CssParameter name="stroke">#ec989a</CssParameter>
  5066.         <CssParameter name="stroke-width">1.2</CssParameter>
  5067.       </LineSymbolizer>
  5068.     </Rule>
  5069.     <Rule>
  5070.       <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
  5071.       &maxscale_zoom10;
  5072.       &minscale_zoom10;
  5073.       <LineSymbolizer>
  5074.         <CssParameter name="stroke">#ec989a</CssParameter>
  5075.         <CssParameter name="stroke-width">2</CssParameter>
  5076.       </LineSymbolizer>
  5077.     </Rule>
  5078.     <Rule>
  5079.       <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
  5080.       &maxscale_zoom11;
  5081.       &minscale_zoom11;
  5082.       <LineSymbolizer>
  5083.         <CssParameter name="stroke">#ec989a</CssParameter>
  5084.         <CssParameter name="stroke-width">2.5</CssParameter>
  5085.       </LineSymbolizer>
  5086.     </Rule>
  5087.     <!-- SECONDARY -->
  5088.     <Rule>
  5089.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  5090.       &maxscale_zoom9;
  5091.       &minscale_zoom10;
  5092.       <LineSymbolizer>
  5093.         <CssParameter name="stroke">#fecc8b</CssParameter>
  5094.         <CssParameter name="stroke-width">1</CssParameter>
  5095.       </LineSymbolizer>
  5096.     </Rule>
  5097.     <Rule>
  5098.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  5099.       &maxscale_zoom11;
  5100.       &minscale_zoom11;
  5101.       <LineSymbolizer>
  5102.         <CssParameter name="stroke">#fecc8b</CssParameter>
  5103.         <CssParameter name="stroke-width">2</CssParameter>
  5104.       </LineSymbolizer>
  5105.     </Rule>
  5106.     <!-- RAIL -->
  5107.     <Rule>
  5108.       &maxscale_zoom6;
  5109.       &minscale_zoom8;
  5110.       <Filter>[railway] = 'rail'</Filter>
  5111.        <LineSymbolizer>
  5112.         <CssParameter name="stroke">#aaa</CssParameter>
  5113.         <CssParameter name="stroke-width">0.6</CssParameter>
  5114.       </LineSymbolizer>
  5115.     </Rule>
  5116.     <Rule>
  5117.       &maxscale_zoom9;
  5118.       &minscale_zoom9;
  5119.       <Filter>[railway] = 'rail' and not [tunnel]='yes'</Filter>
  5120.        <LineSymbolizer>
  5121.         <CssParameter name="stroke">#aaa</CssParameter>
  5122.         <CssParameter name="stroke-width">1</CssParameter>
  5123.       </LineSymbolizer>
  5124.     </Rule>
  5125.     <Rule>
  5126.       &maxscale_zoom9;
  5127.       &minscale_zoom9;
  5128.       <Filter>[railway] = 'rail' and [tunnel]='yes'</Filter>
  5129.        <LineSymbolizer>
  5130.         <CssParameter name="stroke">#aaa</CssParameter>
  5131.         <CssParameter name="stroke-width">1</CssParameter>
  5132.         <CssParameter name="stroke-dasharray">5,2</CssParameter>
  5133.       </LineSymbolizer>
  5134.     </Rule>
  5135.     <Rule>
  5136.       &maxscale_zoom8;
  5137.       &minscale_zoom9;
  5138.       <Filter>[railway] = 'tram' or [railway] = 'light_rail' or [railway] = 'narrow_gauge' or [railway]='funicular'</Filter>
  5139.        <LineSymbolizer>
  5140.         <CssParameter name="stroke">#ccc</CssParameter>
  5141.         <CssParameter name="stroke-width">1</CssParameter>
  5142.       </LineSymbolizer>
  5143.     </Rule>
  5144.     <Rule>
  5145.       &maxscale_zoom10;
  5146.       &minscale_zoom12;
  5147.       <Filter>[railway] = 'rail' and not [tunnel]='yes'</Filter>
  5148.        <LineSymbolizer>
  5149.         <CssParameter name="stroke">#aaa</CssParameter>
  5150.         <CssParameter name="stroke-width">2</CssParameter>
  5151.       </LineSymbolizer>
  5152.     </Rule>
  5153.     <Rule>
  5154.       &maxscale_zoom10;
  5155.       &minscale_zoom12;
  5156.       <Filter>[railway] = 'rail' and [tunnel]='yes'</Filter>
  5157.        <LineSymbolizer>
  5158.         <CssParameter name="stroke">#aaa</CssParameter>
  5159.         <CssParameter name="stroke-width">2</CssParameter>
  5160.         <CssParameter name="stroke-dasharray">5,2</CssParameter>
  5161.       </LineSymbolizer>
  5162.     </Rule>
  5163.     <Rule>
  5164.       &maxscale_zoom10;
  5165.       &minscale_zoom12;
  5166.       <Filter>[railway] = 'tram' or [railway] = 'light_rail' or [railway] = 'narrow_gauge' or [railway]='funicular'</Filter>
  5167.        <LineSymbolizer>
  5168.         <CssParameter name="stroke">#aaa</CssParameter>
  5169.         <CssParameter name="stroke-width">1</CssParameter>
  5170.       </LineSymbolizer>
  5171.     </Rule>
  5172.     <Rule>
  5173.       &maxscale_zoom12;
  5174.       &minscale_zoom12;
  5175.       <Filter>[railway] = 'preserved'</Filter>
  5176.       <LineSymbolizer>
  5177.         <CssParameter name="stroke">#aaa</CssParameter>
  5178.         <CssParameter name="stroke-width">1.5</CssParameter>
  5179.         <CssParameter name="stroke-linejoin">round</CssParameter>
  5180.       </LineSymbolizer>
  5181.     </Rule>
  5182.     <Rule>
  5183.       &maxscale_zoom13;
  5184.       &minscale_zoom18;
  5185.       <Filter>[railway] = 'preserved'</Filter>
  5186.       <LineSymbolizer>
  5187.         <CssParameter name="stroke">#999999</CssParameter>
  5188.         <CssParameter name="stroke-width">3</CssParameter>
  5189.         <CssParameter name="stroke-linejoin">round</CssParameter>
  5190.       </LineSymbolizer>
  5191.       <LineSymbolizer>
  5192.         <CssParameter name="stroke">white</CssParameter>
  5193.         <CssParameter name="stroke-width">1</CssParameter>
  5194.         <CssParameter name="stroke-linejoin">round</CssParameter>
  5195.         <CssParameter name="stroke-dasharray">0,1,8,1</CssParameter>
  5196.       </LineSymbolizer>
  5197.     </Rule>
  5198.     <Rule>
  5199.       &maxscale_zoom12;
  5200.       &minscale_zoom12;
  5201.       <Filter>[railway] = 'INT-preserved-ssy'</Filter>
  5202.       <LineSymbolizer>
  5203.         <CssParameter name="stroke">#aaa</CssParameter>
  5204.         <CssParameter name="stroke-width">1</CssParameter>
  5205.         <CssParameter name="stroke-linejoin">round</CssParameter>
  5206.       </LineSymbolizer>
  5207.     </Rule>
  5208.     <Rule>
  5209.       &maxscale_zoom13;
  5210.       &minscale_zoom18;
  5211.       <Filter>[railway] = 'INT-preserved-ssy'</Filter>
  5212.       <LineSymbolizer>
  5213.         <CssParameter name="stroke">#999999</CssParameter>
  5214.         <CssParameter name="stroke-width">2</CssParameter>
  5215.         <CssParameter name="stroke-linejoin">round</CssParameter>
  5216.       </LineSymbolizer>
  5217.       <LineSymbolizer>
  5218.         <CssParameter name="stroke">white</CssParameter>
  5219.         <CssParameter name="stroke-width">0.8</CssParameter>
  5220.         <CssParameter name="stroke-linejoin">round</CssParameter>
  5221.         <CssParameter name="stroke-dasharray">0,1,8,1</CssParameter>
  5222.       </LineSymbolizer>
  5223.     </Rule>
  5224.     <Rule>
  5225.       &maxscale_zoom14;
  5226.       &minscale_zoom18;
  5227.       <Filter>[railway]='monorail'</Filter>
  5228.       <LineSymbolizer>
  5229.         <CssParameter name="stroke">#fff</CssParameter>
  5230.         <CssParameter name="stroke-width">4</CssParameter>
  5231.         <CssParameter name="stroke-linejoin">round</CssParameter>
  5232.         <CssParameter name="stroke-linecap">round</CssParameter>
  5233.         <CssParameter name="stroke-opacity">0.4</CssParameter>
  5234.       </LineSymbolizer>
  5235.       <LineSymbolizer>
  5236.         <CssParameter name="stroke">#777</CssParameter>
  5237.         <CssParameter name="stroke-width">3.0</CssParameter>
  5238.         <CssParameter name="stroke-dasharray">2,3</CssParameter>
  5239.         <CssParameter name="stroke-linejoin">round</CssParameter>
  5240.         <CssParameter name="stroke-linecap">round</CssParameter>
  5241.       </LineSymbolizer>
  5242.     </Rule>
  5243. </Style>
  5244. <Style name="trams">
  5245.     <Rule>
  5246.       <Filter>[railway] = 'tram'</Filter>
  5247.       &maxscale_zoom13;
  5248.       &minscale_zoom14;
  5249.       <LineSymbolizer>
  5250.         <CssParameter name="stroke">#444</CssParameter>
  5251.         <CssParameter name="stroke-width">1</CssParameter>
  5252.       </LineSymbolizer>
  5253.     </Rule>
  5254.     <Rule>
  5255.       <Filter>[railway] = 'tram' and not [bridge]='yes'</Filter>
  5256.       &maxscale_zoom15;
  5257.       &minscale_zoom18;
  5258.       <LineSymbolizer>
  5259.         <CssParameter name="stroke">#444</CssParameter>
  5260.         <CssParameter name="stroke-width">2</CssParameter>
  5261.       </LineSymbolizer>
  5262.     </Rule>
  5263.     <Rule>
  5264.       <Filter>[railway] = 'tram' and [bridge]='yes'</Filter>
  5265.       &maxscale_zoom15;
  5266.       &minscale_zoom18;
  5267.       <LineSymbolizer>
  5268.         <CssParameter name="stroke">black</CssParameter>
  5269.         <CssParameter name="stroke-width">5</CssParameter>
  5270.       </LineSymbolizer>
  5271.       <LineSymbolizer>
  5272.         <CssParameter name="stroke">white</CssParameter>
  5273.         <CssParameter name="stroke-width">4</CssParameter>
  5274.       </LineSymbolizer>
  5275.       <LineSymbolizer>
  5276.         <CssParameter name="stroke">#444</CssParameter>
  5277.         <CssParameter name="stroke-width">2</CssParameter>
  5278.       </LineSymbolizer>
  5279.     </Rule>
  5280. </Style>
  5281. <Style name="guideways">
  5282. <Rule>
  5283.       &maxscale_zoom13;
  5284.       &minscale_zoom13;
  5285.       <LineSymbolizer>
  5286.         <CssParameter name="stroke">#6666ff</CssParameter>
  5287.         <CssParameter name="stroke-width">3</CssParameter>
  5288.         <CssParameter name="stroke-linejoin">round</CssParameter>
  5289.       </LineSymbolizer>
  5290.       <LineSymbolizer>
  5291.         <CssParameter name="stroke">white</CssParameter>
  5292.         <CssParameter name="stroke-width">1</CssParameter>
  5293.         <CssParameter name="stroke-linejoin">round</CssParameter>
  5294.         <CssParameter name="stroke-dasharray">8,12</CssParameter>
  5295.       </LineSymbolizer>
  5296.     </Rule>
  5297.     <Rule>
  5298.       &maxscale_zoom14;
  5299.       &minscale_zoom18;
  5300.       <LineSymbolizer>
  5301.         <CssParameter name="stroke">#6666ff</CssParameter>
  5302.         <CssParameter name="stroke-width">3</CssParameter>
  5303.         <CssParameter name="stroke-linejoin">round</CssParameter>
  5304.       </LineSymbolizer>
  5305.       <LineSymbolizer>
  5306.         <CssParameter name="stroke">white</CssParameter>
  5307.         <CssParameter name="stroke-width">1</CssParameter>
  5308.         <CssParameter name="stroke-linejoin">round</CssParameter>
  5309.         <CssParameter name="stroke-dasharray">0,11,8,1</CssParameter>
  5310.       </LineSymbolizer>
  5311.     </Rule>
  5312. </Style>
  5313. <Style name="roads-text-low-zoom">
  5314.     <Rule>
  5315.       <Filter>[highway] = 'motorway' and [length] = 1</Filter>
  5316.       &maxscale_zoom10;
  5317.       &minscale_zoom12;
  5318.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/mot_shield1.png" min_distance="30" spacing="750"/>
  5319.     </Rule>
  5320.     <Rule>
  5321.       <Filter>[highway] = 'motorway' and [length] = 2</Filter>
  5322.       &maxscale_zoom10;
  5323.       &minscale_zoom12;
  5324.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/mot_shield2.png" min_distance="30" spacing="750"/>
  5325.     </Rule>
  5326.     <Rule>
  5327.       <Filter>[highway] = 'motorway' and [length] = 3</Filter>
  5328.       &maxscale_zoom10;
  5329.       &minscale_zoom12;
  5330.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/mot_shield3.png" min_distance="30" spacing="750"/>
  5331.     </Rule>
  5332.     <Rule>
  5333.       <Filter>[highway] = 'motorway' and [length] = 4</Filter>
  5334.       &maxscale_zoom10;
  5335.       &minscale_zoom12;
  5336.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/mot_shield4.png" min_distance="30" spacing="750"/>
  5337.     </Rule>
  5338.     <Rule>
  5339.       <Filter>[highway] = 'motorway' and [length] = 5</Filter>
  5340.       &maxscale_zoom10;
  5341.       &minscale_zoom12;
  5342.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/mot_shield5.png" min_distance="30" spacing="750"/>
  5343.     </Rule>
  5344.     <Rule>
  5345.       <Filter>[highway] = 'motorway' and [length] = 6</Filter>
  5346.       &maxscale_zoom10;
  5347.       &minscale_zoom12;
  5348.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/mot_shield6.png" min_distance="30" spacing="750"/>
  5349.     </Rule>
  5350.     <Rule>
  5351.       <Filter>[highway] = 'motorway' and [length] = 7</Filter>
  5352.       &maxscale_zoom10;
  5353.       &minscale_zoom12;
  5354.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/mot_shield6.png" min_distance="30" spacing="750"/>
  5355.     </Rule>
  5356.     <Rule>
  5357.       <Filter>[highway] = 'motorway' and [length] = 8</Filter>
  5358.       &maxscale_zoom10;
  5359.       &minscale_zoom12;
  5360.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/mot_shield7.png" min_distance="30" spacing="750"/>
  5361.     </Rule>
  5362.     <Rule>
  5363.       <Filter>[highway] = 'trunk' and [length] = 1</Filter>
  5364.       &maxscale_zoom11;
  5365.       &minscale_zoom12;
  5366.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/tru_shield1.png" min_distance="30" spacing="750"/>
  5367.     </Rule>
  5368.     <Rule>
  5369.       <Filter>[highway] = 'trunk' and [length] = 2</Filter>
  5370.       &maxscale_zoom11;
  5371.       &minscale_zoom12;
  5372.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/tru_shield2.png" min_distance="30" spacing="750"/>
  5373.     </Rule>
  5374.     <Rule>
  5375.       <Filter>[highway] = 'trunk' and [length] = 3</Filter>
  5376.       &maxscale_zoom11;
  5377.       &minscale_zoom12;
  5378.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/tru_shield3.png" min_distance="24" spacing="750"/>
  5379.     </Rule>
  5380.     <Rule>
  5381.       <Filter>[highway] = 'trunk' and [length] = 4</Filter>
  5382.       &maxscale_zoom11;
  5383.       &minscale_zoom12;
  5384.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/tru_shield4.png" min_distance="30" spacing="750"/>
  5385.     </Rule>
  5386.     <Rule>
  5387.       <Filter>[highway] = 'trunk' and [length] = 5</Filter>
  5388.       &maxscale_zoom11;
  5389.       &minscale_zoom12;
  5390.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/tru_shield5.png" min_distance="30" spacing="750"/>
  5391.     </Rule>
  5392.     <Rule>
  5393.       <Filter>[highway] = 'trunk' and [length] = 6</Filter>
  5394.       &maxscale_zoom11;
  5395.       &minscale_zoom12;
  5396.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/tru_shield6.png" min_distance="30" spacing="750"/>
  5397.     </Rule>
  5398.     <Rule>
  5399.       <Filter>[highway] = 'trunk' and [length] = 7</Filter>
  5400.       &maxscale_zoom11;
  5401.       &minscale_zoom12;
  5402.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/tru_shield7.png" min_distance="30" spacing="750"/>
  5403.     </Rule>
  5404.     <Rule>
  5405.       <Filter>[highway] = 'trunk' and [length] = 8</Filter>
  5406.       &maxscale_zoom11;
  5407.       &minscale_zoom12;
  5408.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/tru_shield8.png" min_distance="30" spacing="750"/>
  5409.     </Rule>
  5410.     <Rule>
  5411.       <Filter>[highway] = 'primary' and [length] = 1</Filter>
  5412.       &maxscale_zoom11;
  5413.       &minscale_zoom12;
  5414.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/pri_shield1.png" min_distance="30" spacing="750"/>
  5415.     </Rule>
  5416.     <Rule>
  5417.       <Filter>[highway] = 'primary' and [length] = 2</Filter>
  5418.       &maxscale_zoom11;
  5419.       &minscale_zoom12;
  5420.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/pri_shield2.png" min_distance="30" spacing="750"/>
  5421.     </Rule>
  5422.     <Rule>
  5423.       <Filter>[highway] = 'primary' and [length] = 3</Filter>
  5424.       &maxscale_zoom11;
  5425.       &minscale_zoom12;
  5426.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/pri_shield3.png" min_distance="30" spacing="750"/>
  5427.     </Rule>
  5428.     <Rule>
  5429.       <Filter>[highway] = 'primary' and [length] = 4</Filter>
  5430.       &maxscale_zoom11;
  5431.       &minscale_zoom12;
  5432.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/pri_shield4.png" min_distance="30" spacing="750"/>
  5433.     </Rule>
  5434.     <Rule>
  5435.       <Filter>[highway] = 'primary' and [length] = 5</Filter>
  5436.       &maxscale_zoom11;
  5437.       &minscale_zoom12;
  5438.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/pri_shield5.png" min_distance="30" spacing="750"/>
  5439.     </Rule>
  5440.     <Rule>
  5441.       <Filter>[highway] = 'primary' and [length] = 6</Filter>
  5442.       &maxscale_zoom11;
  5443.       &minscale_zoom12;
  5444.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/pri_shield6.png" min_distance="30" spacing="750"/>
  5445.     </Rule>
  5446.     <Rule>
  5447.       <Filter>[highway] = 'primary' and [length] = 7</Filter>
  5448.       &maxscale_zoom11;
  5449.       &minscale_zoom12;
  5450.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/pri_shield7.png" min_distance="30" spacing="750"/>
  5451.     </Rule>
  5452.     <Rule>
  5453.       <Filter>[highway] = 'primary' and [length] = 8</Filter>
  5454.       &maxscale_zoom11;
  5455.       &minscale_zoom12;
  5456.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/pri_shield8.png" min_distance="30" spacing="750"/>
  5457.     </Rule>
  5458. </Style>
  5459. <Style name="roads-text">
  5460.     <Rule>
  5461.       <Filter>[highway] = 'motorway' and [length] = 1</Filter>
  5462.       &maxscale_zoom13;
  5463.       &minscale_zoom18;
  5464.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/mot_shield1.png" min_distance="30" spacing="750"/>
  5465.     </Rule>
  5466.     <Rule>
  5467.       <Filter>[highway] = 'motorway' and [length] = 2</Filter>
  5468.       &maxscale_zoom13;
  5469.       &minscale_zoom18;
  5470.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/mot_shield2.png" min_distance="30" spacing="750"/>
  5471.     </Rule>
  5472.     <Rule>
  5473.       <Filter>[highway] = 'motorway' and [length] = 3</Filter>
  5474.       &maxscale_zoom13;
  5475.       &minscale_zoom18;
  5476.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/mot_shield3.png" min_distance="30" spacing="750"/>
  5477.     </Rule>
  5478.     <Rule>
  5479.       <Filter>[highway] = 'motorway' and [length] = 4</Filter>
  5480.       &maxscale_zoom13;
  5481.       &minscale_zoom18;
  5482.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/mot_shield4.png" min_distance="30" spacing="750"/>
  5483.     </Rule>
  5484.     <Rule>
  5485.       <Filter>[highway] = 'motorway' and [length] = 5</Filter>
  5486.       &maxscale_zoom13;
  5487.       &minscale_zoom18;
  5488.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/mot_shield5.png" min_distance="30" spacing="750"/>
  5489.     </Rule>
  5490.     <Rule>
  5491.       <Filter>[highway] = 'motorway' and [length] = 6</Filter>
  5492.       &maxscale_zoom13;
  5493.       &minscale_zoom18;
  5494.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/mot_shield6.png" min_distance="30" spacing="750"/>
  5495.     </Rule>
  5496.     <Rule>
  5497.       <Filter>[highway] = 'motorway' and [length] = 7</Filter>
  5498.       &maxscale_zoom13;
  5499.       &minscale_zoom18;
  5500.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/mot_shield6.png" min_distance="30" spacing="750"/>
  5501.     </Rule>
  5502.     <Rule>
  5503.       <Filter>[highway] = 'motorway' and [length] = 8</Filter>
  5504.       &maxscale_zoom13;
  5505.       &minscale_zoom18;
  5506.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/mot_shield7.png" min_distance="30" spacing="750"/>
  5507.     </Rule>
  5508.     <Rule>
  5509.       <Filter>[highway] = 'trunk' and [length] = 1</Filter>
  5510.       &maxscale_zoom13;
  5511.       &minscale_zoom18;
  5512.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/tru_shield1.png" min_distance="30" spacing="750"/>
  5513.     </Rule>
  5514.     <Rule>
  5515.       <Filter>[highway] = 'trunk' and [length] = 2</Filter>
  5516.       &maxscale_zoom13;
  5517.       &minscale_zoom18;
  5518.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/tru_shield2.png" min_distance="30" spacing="750"/>
  5519.     </Rule>
  5520.     <Rule>
  5521.       <Filter>[highway] = 'trunk' and [length] = 3</Filter>
  5522.       &maxscale_zoom13;
  5523.       &minscale_zoom18;
  5524.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/tru_shield3.png" min_distance="24" spacing="750"/>
  5525.     </Rule>
  5526.     <Rule>
  5527.       <Filter>[highway] = 'trunk' and [length] = 4</Filter>
  5528.       &maxscale_zoom13;
  5529.       &minscale_zoom18;
  5530.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/tru_shield4.png" min_distance="30" spacing="750"/>
  5531.     </Rule>
  5532.     <Rule>
  5533.       <Filter>[highway] = 'trunk' and [length] = 5</Filter>
  5534.       &maxscale_zoom13;
  5535.       &minscale_zoom18;
  5536.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/tru_shield5.png" min_distance="30" spacing="750"/>
  5537.     </Rule>
  5538.     <Rule>
  5539.       <Filter>[highway] = 'trunk' and [length] = 6</Filter>
  5540.       &maxscale_zoom13;
  5541.       &minscale_zoom18;
  5542.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/tru_shield6.png" min_distance="30" spacing="750"/>
  5543.     </Rule>
  5544.     <Rule>
  5545.       <Filter>[highway] = 'trunk' and [length] = 7</Filter>
  5546.       &maxscale_zoom13;
  5547.       &minscale_zoom18;
  5548.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/tru_shield7.png" min_distance="30" spacing="750"/>
  5549.     </Rule>
  5550.     <Rule>
  5551.       <Filter>[highway] = 'trunk' and [length] = 8</Filter>
  5552.       &maxscale_zoom13;
  5553.       &minscale_zoom18;
  5554.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/tru_shield8.png" min_distance="30" spacing="750"/>
  5555.     </Rule>
  5556.     <Rule>
  5557.       <Filter>[highway] = 'primary' and [length] = 1</Filter>
  5558.       &maxscale_zoom13;
  5559.       &minscale_zoom18;
  5560.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/pri_shield1.png" min_distance="30" spacing="750"/>
  5561.     </Rule>
  5562.     <Rule>
  5563.       <Filter>[highway] = 'primary' and [length] = 2</Filter>
  5564.       &maxscale_zoom13;
  5565.       &minscale_zoom18;
  5566.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/pri_shield2.png" min_distance="30" spacing="750"/>
  5567.     </Rule>
  5568.     <Rule>
  5569.       <Filter>[highway] = 'primary' and [length] = 3</Filter>
  5570.       &maxscale_zoom13;
  5571.       &minscale_zoom18;
  5572.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/pri_shield3.png" min_distance="30" spacing="750"/>
  5573.     </Rule>
  5574.     <Rule>
  5575.       <Filter>[highway] = 'primary' and [length] = 4</Filter>
  5576.       &maxscale_zoom13;
  5577.       &minscale_zoom18;
  5578.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/pri_shield4.png" min_distance="30" spacing="750"/>
  5579.     </Rule>
  5580.     <Rule>
  5581.       <Filter>[highway] = 'primary' and [length] = 5</Filter>
  5582.       &maxscale_zoom13;
  5583.       &minscale_zoom18;
  5584.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/pri_shield5.png" min_distance="30" spacing="750"/>
  5585.     </Rule>
  5586.     <Rule>
  5587.       <Filter>[highway] = 'primary' and [length] = 6</Filter>
  5588.       &maxscale_zoom13;
  5589.       &minscale_zoom18;
  5590.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/pri_shield6.png" min_distance="30" spacing="750"/>
  5591.     </Rule>
  5592.     <Rule>
  5593.       <Filter>[highway] = 'primary' and [length] = 7</Filter>
  5594.       &maxscale_zoom13;
  5595.       &minscale_zoom18;
  5596.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/pri_shield7.png" min_distance="30" spacing="750"/>
  5597.     </Rule>
  5598.     <Rule>
  5599.       <Filter>[highway] = 'primary' and [length] = 8</Filter>
  5600.       &maxscale_zoom13;
  5601.       &minscale_zoom18;
  5602.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/pri_shield8.png" min_distance="30" spacing="750"/>
  5603.     </Rule>
  5604.     <Rule>
  5605.       <Filter>([highway] = 'secondary' and [length] = 1) and not [bridge]='yes'</Filter>
  5606.       &maxscale_zoom12;
  5607.       &minscale_zoom18;
  5608.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/sec_shield1.png" min_distance="40" spacing="750"/>
  5609.     </Rule>
  5610.     <Rule>
  5611.       <Filter>([highway] = 'secondary' and [length] = 2) and not [bridge]='yes'</Filter>
  5612.       &maxscale_zoom12;
  5613.       &minscale_zoom18;
  5614.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/sec_shield2.png" min_distance="40" spacing="750"/>
  5615.     </Rule>
  5616.     <Rule>
  5617.       <Filter>([highway] = 'secondary' and [length] = 3) and not [bridge]='yes'</Filter>
  5618.       &maxscale_zoom12;
  5619.       &minscale_zoom18;
  5620.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/sec_shield3.png" min_distance="40" spacing="750"/>
  5621.     </Rule>
  5622.     <Rule>
  5623.       <Filter>([highway] = 'secondary' and [length] = 4) and not [bridge]='yes'</Filter>
  5624.       &maxscale_zoom12;
  5625.       &minscale_zoom18;
  5626.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/sec_shield4.png" min_distance="40" spacing="750"/>
  5627.     </Rule>
  5628.     <Rule>
  5629.       <Filter>([highway] = 'secondary' and [length] = 5) and not [bridge]='yes'</Filter>
  5630.       &maxscale_zoom12;
  5631.       &minscale_zoom18;
  5632.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/sec_shield5.png" min_distance="40" spacing="750"/>
  5633.     </Rule>
  5634.     <Rule>
  5635.       <Filter>([highway] = 'secondary' and [length] = 6) and not [bridge]='yes'</Filter>
  5636.       &maxscale_zoom12;
  5637.       &minscale_zoom18;
  5638.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/sec_shield6.png" min_distance="40" spacing="750"/>
  5639.     </Rule>
  5640.     <Rule>
  5641.       <Filter>([highway] = 'secondary' and [length] = 7) and not [bridge]='yes'</Filter>
  5642.       &maxscale_zoom12;
  5643.       &minscale_zoom18;
  5644.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/sec_shield7.png" min_distance="40" spacing="750"/>
  5645.     </Rule>
  5646.     <Rule>
  5647.       <Filter>([highway] = 'secondary' and [length] = 8) and not [bridge]='yes'</Filter>
  5648.       &maxscale_zoom12;
  5649.       &minscale_zoom18;
  5650.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/sec_shield8.png" min_distance="40" spacing="750"/>
  5651.     </Rule>
  5652.     <Rule>
  5653.       <Filter>([highway] = 'tertiary' and [length] = 1) and not [bridge]='yes'</Filter>
  5654.       &maxscale_zoom13;
  5655.       &minscale_zoom18;
  5656.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/ter_shield1.png" min_distance="40" spacing="750"/>
  5657.     </Rule>
  5658.     <Rule>
  5659.       <Filter>([highway] = 'tertiary' and [length] = 2) and not [bridge]='yes'</Filter>
  5660.       &maxscale_zoom13;
  5661.       &minscale_zoom18;
  5662.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/ter_shield2.png" min_distance="40" spacing="750"/>
  5663.     </Rule>
  5664.     <Rule>
  5665.       <Filter>([highway] = 'tertiary' and [length] = 3) and not [bridge]='yes'</Filter>
  5666.       &maxscale_zoom13;
  5667.       &minscale_zoom18;
  5668.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/ter_shield3.png" min_distance="40" spacing="750"/>
  5669.     </Rule>
  5670.     <Rule>
  5671.       <Filter>([highway] = 'tertiary' and [length] = 4) and not [bridge]='yes'</Filter>
  5672.       &maxscale_zoom13;
  5673.       &minscale_zoom18;
  5674.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/ter_shield4.png" min_distance="40" spacing="750"/>
  5675.     </Rule>
  5676.     <Rule>
  5677.       <Filter>([highway] = 'tertiary' and [length] = 5) and not [bridge]='yes'</Filter>
  5678.       &maxscale_zoom13;
  5679.       &minscale_zoom18;
  5680.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/ter_shield5.png" min_distance="40" spacing="750"/>
  5681.     </Rule>
  5682.     <Rule>
  5683.       <Filter>([highway] = 'tertiary' and [length] = 6) and not [bridge]='yes'</Filter>
  5684.       &maxscale_zoom13;
  5685.       &minscale_zoom18;
  5686.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/ter_shield6.png" min_distance="40" spacing="750"/>
  5687.     </Rule>
  5688.     <Rule>
  5689.       <Filter>([highway] = 'tertiary' and [length] = 7) and not [bridge]='yes'</Filter>
  5690.       &maxscale_zoom13;
  5691.       &minscale_zoom18;
  5692.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/ter_shield7.png" min_distance="40" spacing="750"/>
  5693.     </Rule>
  5694.     <Rule>
  5695.       <Filter>([highway] = 'tertiary' and [length] = 8) and not [bridge]='yes'</Filter>
  5696.       &maxscale_zoom13;
  5697.       &minscale_zoom18;
  5698.       <ShieldSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#fff" placement="line" file="&symbols;/ter_shield8.png" min_distance="40" spacing="750"/>
  5699.     </Rule>
  5700.     <Rule>
  5701.       <Filter>([highway] = 'unclassified' or [highway]='residential') and not [bridge]='yes'</Filter>
  5702.       &maxscale_zoom15;
  5703.       <TextSymbolizer name="ref" fontset_name="bold-fonts" size="10" fill="#000" halo_radius="1"  min_distance="18" spacing="750"/>
  5704.     </Rule>
  5705.     <Rule>
  5706.       <Filter>([aeroway] = 'runway' or [aeroway]='taxiway') and not [bridge]='yes'</Filter>
  5707.       &maxscale_zoom15;
  5708.       <TextSymbolizer name="ref" fontset_name="book-fonts" size="10" fill="#333" halo_radius="1"  min_distance="18" spacing="750" placement="line"/>
  5709.     </Rule>
  5710.     <Rule>
  5711.       <Filter>[highway] = 'trunk' or [highway] = 'primary'</Filter>
  5712.       &maxscale_zoom13;
  5713.       &minscale_zoom13;
  5714.       <TextSymbolizer name="name" fontset_name="book-fonts" size="8" fill="black" halo_radius="0" placement="line"/>
  5715.     </Rule>
  5716.     <Rule>
  5717.       <Filter>[highway] = 'secondary'</Filter>
  5718.       &maxscale_zoom13;
  5719.       &minscale_zoom13;
  5720.       <TextSymbolizer name="name" fontset_name="book-fonts" size="8" fill="black" halo_radius="1" halo_fill="#fed7a5" placement="line"/>
  5721.     </Rule>
  5722.     <Rule>
  5723.       <Filter>[highway] = 'trunk' or [highway] = 'primary'</Filter>
  5724.       &maxscale_zoom14;
  5725.       &minscale_zoom14;
  5726.       <TextSymbolizer name="name" fontset_name="book-fonts" size="9" fill="black" halo_radius="0" placement="line"/>
  5727.     </Rule>
  5728.     <Rule>
  5729.       <Filter>[highway] = 'trunk' or [highway] = 'primary'</Filter>
  5730.       &maxscale_zoom15;
  5731.       &minscale_zoom18;
  5732.       <TextSymbolizer name="name" fontset_name="book-fonts" size="10" fill="black" halo_radius="0" placement="line"/>
  5733.     </Rule>
  5734.     <Rule>
  5735.       <Filter>[highway] = 'secondary'</Filter>
  5736.       &maxscale_zoom14;
  5737.       &minscale_zoom14;
  5738.       <TextSymbolizer name="name" fontset_name="book-fonts" size="9" fill="black" halo_radius="1" halo_fill="#fed7a5" placement="line"/>
  5739.     </Rule><Rule>
  5740.       <Filter>[highway] = 'secondary'</Filter>
  5741.       &maxscale_zoom15;
  5742.       &minscale_zoom18;
  5743.       <TextSymbolizer name="name" fontset_name="book-fonts" size="10" fill="black" halo_radius="1" halo_fill="#fed7a5" placement="line"/>
  5744.     </Rule>
  5745.     <Rule>
  5746.       <Filter>[highway] = 'tertiary'</Filter>
  5747.       &maxscale_zoom15;
  5748.       &minscale_zoom16;
  5749.       <TextSymbolizer name="name" fontset_name="book-fonts" size="9" fill="#000" halo_radius="1"  placement="line" />
  5750.     </Rule>
  5751.     <Rule>
  5752.       <Filter>[highway] = 'tertiary'</Filter>
  5753.       &maxscale_zoom17;
  5754.       &minscale_zoom18;
  5755.       <TextSymbolizer name="name" fontset_name="book-fonts" size="11" fill="#000" halo_radius="1"  placement="line" />
  5756.     </Rule>
  5757.     <Rule>
  5758.       &maxscale_zoom13;
  5759.       &minscale_zoom15;
  5760.       <Filter>[highway] = 'proposed' or [highway]='construction'</Filter>
  5761.       <TextSymbolizer name="name" fontset_name="book-fonts" size="9" fill="#000" halo_radius="1"  placement="line" />
  5762.     </Rule>
  5763.     <Rule>
  5764.       &maxscale_zoom16;
  5765.       &minscale_zoom18;
  5766.       <Filter>[highway] = 'proposed' or [highway]='construction'</Filter>
  5767.       <TextSymbolizer name="name" fontset_name="book-fonts" size="11" fill="#000" halo_radius="1"  placement="line" />
  5768.     </Rule>
  5769.     <Rule>
  5770.       <Filter>[highway] = 'unclassified' or [highway] = 'residential'</Filter>
  5771.       &maxscale_zoom15;
  5772.       &minscale_zoom15;
  5773.       <TextSymbolizer name="name" fontset_name="book-fonts" size="8" fill="#000" halo_radius="1" spacing="300" placement="line" />
  5774.     </Rule>
  5775.     <Rule>
  5776.       <Filter>[highway] = 'unclassified' or [highway] = 'residential'</Filter>
  5777.       &maxscale_zoom16;
  5778.       &minscale_zoom16;
  5779.       <TextSymbolizer name="name" fontset_name="book-fonts" size="9" fill="#000" halo_radius="1" spacing="300" placement="line" />
  5780.     </Rule>
  5781.     <Rule>
  5782.       <Filter>[highway] = 'unclassified' or [highway] = 'residential'</Filter>
  5783.       &maxscale_zoom17;
  5784.       &minscale_zoom18;
  5785.       <TextSymbolizer name="name" fontset_name="book-fonts" size="11" fill="#000" halo_radius="1" spacing="400" placement="line" />
  5786.     </Rule>
  5787.     <Rule>
  5788.       <ElseFilter/>
  5789.       &maxscale_zoom15;
  5790.       &minscale_zoom16;
  5791.       <TextSymbolizer name="name" fontset_name="book-fonts" size="9" fill="#000" halo_radius="1" placement="line" />
  5792.     </Rule>
  5793.     <Rule>
  5794.       <ElseFilter/>
  5795.       &maxscale_zoom17;
  5796.       &minscale_zoom18;
  5797.       <TextSymbolizer name="name" fontset_name="book-fonts" size="11" fill="#000" halo_radius="1" placement="line" />
  5798.     </Rule>
  5799. </Style>
  5800. <Style name="cliffs">
  5801.      <Rule>
  5802.       &maxscale_zoom13;
  5803.       &minscale_zoom14;
  5804.       <Filter>[natural] = 'cliff'</Filter>      
  5805.        <LinePatternSymbolizer file="&symbols;/cliff.png" />
  5806.     </Rule>
  5807.     <Rule>
  5808.       &maxscale_zoom15;
  5809.       <Filter>[natural] = 'cliff'</Filter>
  5810.        <LinePatternSymbolizer file="&symbols;/cliff2.png" />
  5811.     </Rule>
  5812.     <Rule>
  5813.       &maxscale_zoom15;
  5814.       <Filter>[man_made] = 'embankment'</Filter>
  5815.        <LinePatternSymbolizer file="&symbols;/cliff.png" />
  5816.     </Rule>
  5817. </Style>
  5818. <Style name="barriers_area">
  5819.     <Rule>
  5820.       <Filter>[natural]='hedge' or [barrier] = 'hedge'</Filter>
  5821.       &maxscale_zoom16;
  5822.       <PolygonSymbolizer>
  5823.         <CssParameter name="fill">#aed1a0</CssParameter>
  5824.      </PolygonSymbolizer>
  5825.     </Rule>
  5826.     <Rule>
  5827.       &maxscale_zoom16;
  5828.       <Filter>[barrier] != '' and not [barrier] = 'hedge'</Filter>
  5829.       <LineSymbolizer>
  5830.         <CssParameter name="stroke">#444</CssParameter>
  5831.         <CssParameter name="stroke-width">0.4</CssParameter>
  5832.       </LineSymbolizer>
  5833.     </Rule>
  5834. </Style>
  5835. <Style name="barriers">
  5836.     <Rule>
  5837.       &maxscale_zoom14;
  5838.       <Filter>[barrier] = 'embankment'</Filter>
  5839.       <LineSymbolizer>
  5840.         <CssParameter name="stroke">#444</CssParameter>
  5841.         <CssParameter name="stroke-width">0.4</CssParameter>
  5842.       </LineSymbolizer>
  5843.     </Rule>
  5844.     <Rule>
  5845.       &maxscale_zoom16;
  5846.       <Filter>[natural]='hedge' or [barrier] = 'hedge'</Filter>
  5847.       <LineSymbolizer>
  5848.         <CssParameter name="stroke">#aed1a0</CssParameter>
  5849.         <CssParameter name="stroke-width">3</CssParameter>
  5850.       </LineSymbolizer>
  5851.     </Rule>
  5852.     <Rule>
  5853.       &maxscale_zoom16;
  5854.       <Filter>[barrier] != '' and not ([barrier] = 'hedge' or [barrier] = 'embankment')</Filter>
  5855.       <LineSymbolizer>
  5856.         <CssParameter name="stroke">#444</CssParameter>
  5857.         <CssParameter name="stroke-width">0.4</CssParameter>
  5858.       </LineSymbolizer>
  5859.     </Rule>
  5860. </Style>
  5861. <Style name="directions">
  5862.     <Rule>
  5863.       <Filter>[oneway] = 'yes'</Filter>
  5864.       &maxscale_zoom16;
  5865.       <LineSymbolizer>
  5866.         <CssParameter name="stroke">#6c70d5</CssParameter>
  5867.         <CssParameter name="stroke-width">1</CssParameter>
  5868.         <CssParameter name="stroke-linejoin">bevel</CssParameter>
  5869.         <CssParameter name="stroke-dasharray">0,12,10,152</CssParameter>
  5870.       </LineSymbolizer>
  5871.       <LineSymbolizer>
  5872.         <CssParameter name="stroke">#6c70d5</CssParameter>
  5873.         <CssParameter name="stroke-width">2</CssParameter>
  5874.         <CssParameter name="stroke-linejoin">bevel</CssParameter>
  5875.         <CssParameter name="stroke-dasharray">0,12,9,153</CssParameter>
  5876.       </LineSymbolizer>
  5877.       <LineSymbolizer>
  5878.         <CssParameter name="stroke">#6c70d5</CssParameter>
  5879.         <CssParameter name="stroke-width">3</CssParameter>
  5880.         <CssParameter name="stroke-linejoin">bevel</CssParameter>
  5881.         <CssParameter name="stroke-dasharray">0,18,2,154</CssParameter>
  5882.       </LineSymbolizer>
  5883.       <LineSymbolizer>
  5884.         <CssParameter name="stroke">#6c70d5</CssParameter>
  5885.         <CssParameter name="stroke-width">4</CssParameter>
  5886.         <CssParameter name="stroke-linejoin">bevel</CssParameter>
  5887.         <CssParameter name="stroke-dasharray">0,18,1,155</CssParameter>
  5888.       </LineSymbolizer>
  5889.     </Rule>
  5890.     <Rule>
  5891.       <Filter>[oneway] = '-1'</Filter>
  5892.       &maxscale_zoom16;
  5893.       <LineSymbolizer>
  5894.         <CssParameter name="stroke">#6c70d5</CssParameter>
  5895.         <CssParameter name="stroke-width">1</CssParameter>
  5896.         <CssParameter name="stroke-linejoin">bevel</CssParameter>
  5897.         <CssParameter name="stroke-dasharray">0,12,10,152</CssParameter>
  5898.       </LineSymbolizer>
  5899.       <LineSymbolizer>
  5900.         <CssParameter name="stroke">#6c70d5</CssParameter>
  5901.         <CssParameter name="stroke-width">2</CssParameter>
  5902.         <CssParameter name="stroke-linejoin">bevel</CssParameter>
  5903.         <CssParameter name="stroke-dasharray">0,13,9,152</CssParameter>
  5904.       </LineSymbolizer>
  5905.       <LineSymbolizer>
  5906.         <CssParameter name="stroke">#6c70d5</CssParameter>
  5907.         <CssParameter name="stroke-width">3</CssParameter>
  5908.         <CssParameter name="stroke-linejoin">bevel</CssParameter>
  5909.         <CssParameter name="stroke-dasharray">0,14,2,158</CssParameter>
  5910.       </LineSymbolizer>
  5911.       <LineSymbolizer>
  5912.         <CssParameter name="stroke">#6c70d5</CssParameter>
  5913.         <CssParameter name="stroke-width">4</CssParameter>
  5914.         <CssParameter name="stroke-linejoin">bevel</CssParameter>
  5915.         <CssParameter name="stroke-dasharray">0,15,1,158</CssParameter>
  5916.       </LineSymbolizer>
  5917.     </Rule>
  5918. </Style>
  5919. <Style name="boundary">
  5920.     <Rule>
  5921.       &maxscale_zoom7;
  5922.       &minscale_zoom9;
  5923.       <PolygonSymbolizer>
  5924.         <CssParameter name="fill">green</CssParameter>
  5925.         <CssParameter name="fill-opacity">0.05</CssParameter>
  5926.       </PolygonSymbolizer>
  5927.       <LineSymbolizer>
  5928.         <CssParameter name="stroke">green</CssParameter>
  5929.         <CssParameter name="stroke-width">1.5</CssParameter>
  5930.         <CssParameter name="stroke-dasharray">4,2</CssParameter>
  5931.         <CssParameter name="stroke-opacity">0.15</CssParameter>
  5932.       </LineSymbolizer>
  5933.     </Rule>
  5934.     <Rule>
  5935.       &maxscale_zoom10;
  5936.       &minscale_zoom12;
  5937.       <PolygonSymbolizer>
  5938.         <CssParameter name="fill">green</CssParameter>
  5939.         <CssParameter name="fill-opacity">0.05</CssParameter>
  5940.       </PolygonSymbolizer>
  5941.       <LineSymbolizer>
  5942.         <CssParameter name="stroke">green</CssParameter>
  5943.         <CssParameter name="stroke-width">3</CssParameter>
  5944.         <CssParameter name="stroke-dasharray">6,2</CssParameter>
  5945.         <CssParameter name="stroke-opacity">0.15</CssParameter>
  5946.       </LineSymbolizer>
  5947.     </Rule>
  5948.     <Rule>
  5949.       &maxscale_zoom13;
  5950.       &minscale_zoom18;
  5951.       <LineSymbolizer>
  5952.         <CssParameter name="stroke">green</CssParameter>
  5953.         <CssParameter name="stroke-width">3</CssParameter>
  5954.         <CssParameter name="stroke-dasharray">6,2</CssParameter>
  5955.         <CssParameter name="stroke-opacity">0.15</CssParameter>
  5956.       </LineSymbolizer>
  5957.     </Rule>
  5958.     <Rule>
  5959.       <Filter>[way_area] &gt;= 200000000</Filter>
  5960.       &maxscale_zoom8;
  5961.       &minscale_zoom9;
  5962.         <TextSymbolizer name="name" fontset_name="bold-fonts" size="8" fill="#9c9" halo_radius="1" wrap_width="14"/>
  5963.     </Rule>
  5964.     <Rule>
  5965.       &maxscale_zoom10;
  5966.       &minscale_zoom11;
  5967.         <TextSymbolizer name="name" fontset_name="bold-fonts" size="11" fill="#9c9" halo_radius="1" wrap_width="14"/>
  5968.     </Rule>
  5969. </Style>
  5970. <Style name="theme_park">
  5971. <Rule>
  5972.       &maxscale_zoom13;
  5973.       &minscale_zoom14;
  5974.       <Filter>[tourism]='theme_park'</Filter>
  5975.       <LineSymbolizer>
  5976.         <CssParameter name="stroke">#734a08</CssParameter>
  5977.         <CssParameter name="stroke-width">1.5</CssParameter>
  5978.         <CssParameter name="stroke-dasharray">9,3</CssParameter>
  5979.         <CssParameter name="stroke-opacity">0.6</CssParameter>
  5980.       </LineSymbolizer>
  5981.     </Rule>
  5982.     <Rule>
  5983.       &maxscale_zoom15;
  5984.       &minscale_zoom18;
  5985.       <Filter>[tourism]='theme_park'</Filter>
  5986.       <LineSymbolizer>
  5987.         <CssParameter name="stroke">#734a08</CssParameter>
  5988.         <CssParameter name="stroke-width">2.5</CssParameter>
  5989.         <CssParameter name="stroke-dasharray">9,3</CssParameter>
  5990.         <CssParameter name="stroke-opacity">0.6</CssParameter>
  5991.       </LineSymbolizer>
  5992.     </Rule>
  5993. </Style>
  5994.  
  5995. &layer-shapefiles;
  5996. &layer-landcover;
  5997. &layer-water;
  5998. &layer-water_features;
  5999. <Layer name="tunnels" status="on" srs="&osm2pgsql_projection;">
  6000.     <StyleName>tunnels-casing</StyleName>
  6001.     <StyleName>tunnels-fill</StyleName>
  6002.     <Datasource>
  6003.       <Parameter name="table">
  6004.       (select way,highway from &prefix;_line where highway in ('motorway','motorway_link','trunk','trunk_link','primary','primary_link','secondary','secondary_link','tertiary','tertiary_link','residential','unclassified') and tunnel in ('yes','true','1') order by z_order) as roads
  6005.       </Parameter>
  6006.       &datasource-settings;
  6007.     </Datasource>
  6008. </Layer>
  6009. &layer-citywall;
  6010. <Layer name="landuse_overlay" status="on" srs="&osm2pgsql_projection;">
  6011.     <StyleName>landuse_overlay</StyleName>
  6012.     <Datasource>
  6013.       <Parameter name="table">
  6014.       (select way,landuse,leisure
  6015.        from &prefix;_polygon
  6016.        where landuse = 'military' or leisure='nature_reserve'
  6017.       ) as landuse_overlay
  6018.       </Parameter>
  6019.       &datasource-settings;
  6020.     </Datasource>
  6021. </Layer>
  6022. <Layer name="turning_circle-casing" status="on" srs="&osm2pgsql_projection;">
  6023.     <StyleName>turning_circle-casing</StyleName>    
  6024.     <Datasource>
  6025.       <Parameter name="table">
  6026.       (select distinct on (p.way) p.way as way,l.highway as int_tc_type
  6027.        from &prefix;_point p
  6028.        join &prefix;_line l
  6029.         on ST_DWithin(p.way,l.way,&dwithin_node_way;)
  6030.        join (values
  6031.         ('tertiary',1),
  6032.         ('unclassified',2),
  6033.         ('residential',3),
  6034.         ('living_street',4),
  6035.         ('service',5)
  6036.        ) as v (highway,prio)
  6037.         on v.highway=l.highway
  6038.        where p.highway='turning_circle'
  6039.        order by p.way,v.prio
  6040.       ) as turning_circle
  6041.       </Parameter>
  6042.       &datasource-settings;
  6043.     </Datasource>
  6044. </Layer>
  6045. <!-- clear_label_cache="on" needs to follow immediately after the turning_circle-casing layer -->
  6046. <Layer name="footbikecycle-tunnels" status="on" srs="&osm2pgsql_projection;" clear_label_cache="on">
  6047.     <StyleName>footbikecycle-tunnels</StyleName>
  6048.     <Datasource>
  6049.       <Parameter name="table">
  6050.       (select way,highway,horse,foot,bicycle from &prefix;_line where highway in ('bridleway','footway','cycleway','path') and tunnel in ('yes','true','1') order by z_order) as roads
  6051.       </Parameter>
  6052.       &datasource-settings;
  6053.     </Datasource>
  6054. </Layer>
  6055. <Layer name="tracks-tunnels" status="on" srs="&osm2pgsql_projection;">
  6056.     <StyleName>tracks-tunnels</StyleName>
  6057.     <Datasource>
  6058.       <Parameter name="table">
  6059.       (select way,tracktype from &prefix;_line where highway='track' and tunnel in ('yes','true','1')) as tracks
  6060.       </Parameter>
  6061.       &datasource-settings;
  6062.     </Datasource>
  6063. </Layer>
  6064. <Layer name="line features" status="on" srs="&osm2pgsql_projection;">
  6065.      <StyleName>cliffs</StyleName>
  6066.      <StyleName>barriers</StyleName>
  6067.      <Datasource>
  6068.       <Parameter name="table">
  6069.       (select way,barrier,"natural",man_made from &prefix;_line where barrier is not null or "natural" in ('hedge','cliff') or man_made='embankment') as roads
  6070.       </Parameter>
  6071.       &datasource-settings;
  6072.     </Datasource>
  6073. </Layer>
  6074. <Layer name="polygon barriers" status="on" srs="&osm2pgsql_projection;">
  6075.       <StyleName>barriers_area</StyleName>
  6076.       <Datasource>
  6077.              <Parameter name="table">
  6078.        (select way,barrier,"natural" from &prefix;_polygon where barrier is not null or "natural"='hedge') as barriers
  6079.        </Parameter>
  6080.       &datasource-settings;
  6081.     </Datasource>
  6082. </Layer>
  6083. <Layer name="highway-area-casing" status="on" srs="&osm2pgsql_projection;">
  6084.     <StyleName>highway-area-casing</StyleName>
  6085.     <Datasource>
  6086.       <Parameter name="table">
  6087.       (select way,highway,railway from &prefix;_polygon
  6088.        where highway in ('residential','unclassified','pedestrian','service','footway','track','path','platform')
  6089.           or railway='platform'
  6090.        order by z_order,way_area desc) as roads
  6091.       </Parameter>
  6092.       &datasource-settings;
  6093.     </Datasource>
  6094. </Layer>
  6095. <Layer name="minor-roads-casing" status="on" srs="&osm2pgsql_projection;">
  6096.     <StyleName>minor-roads-casing-links</StyleName>
  6097.     <StyleName>minor-roads-casing</StyleName>
  6098.     <Datasource>
  6099.       <Parameter name="table">
  6100.       (select way,highway,
  6101.        case when tunnel in ('yes','true','1') then 'yes'::text else tunnel end as tunnel,
  6102.        case when service in ('parking_aisle','drive-through','driveway') then 'INT-minor'::text else service end as service
  6103.        from &prefix;_line
  6104.        where highway in ('motorway','motorway_link','trunk','trunk_link','primary','primary_link','secondary','secondary_link','tertiary','tertiary_link','residential','unclassified','road','service','pedestrian','raceway','living_street')
  6105.        order by z_order) as roads
  6106.       </Parameter>
  6107.       &datasource-settings;
  6108.     </Datasource>
  6109. </Layer>
  6110. <Layer name="highway-area-fill" status="on" srs="&osm2pgsql_projection;">
  6111.     <StyleName>highway-area-fill</StyleName>
  6112.     <Datasource>
  6113.       <Parameter name="table">
  6114.       (select way,highway,railway,aeroway from &prefix;_polygon
  6115.        where highway in ('residential','unclassified','pedestrian','service','footway','living_street','track','path','platform','services')
  6116.           or railway='platform'
  6117.           or aeroway in ('runway','taxiway','helipad')
  6118.        order by z_order,way_area desc) as roads
  6119.       </Parameter>
  6120.       &datasource-settings;
  6121.     </Datasource>
  6122. </Layer>
  6123. &layer-buildings;
  6124. <Layer name="turning_circle-fill" status="on" srs="&osm2pgsql_projection;">
  6125.     <StyleName>turning_circle-fill</StyleName>    
  6126.     <Datasource>
  6127.       <Parameter name="table">
  6128.       (select distinct on (p.way) p.way as way,l.highway as int_tc_type
  6129.        from &prefix;_point p
  6130.        join &prefix;_line l
  6131.         on ST_DWithin(p.way,l.way,&dwithin_node_way;)
  6132.        join (values
  6133.         ('tertiary',1),
  6134.         ('unclassified',2),
  6135.         ('residential',3),
  6136.         ('living_street',4),
  6137.         ('service',5)
  6138.        ) as v (highway,prio)
  6139.         on v.highway=l.highway
  6140.        where p.highway='turning_circle'
  6141.        order by p.way,v.prio
  6142.       ) as turning_circle
  6143.       </Parameter>
  6144.       &datasource-settings;
  6145.     </Datasource>
  6146. </Layer>
  6147. <Layer name="tracks-notunnel-nobridge" status="on" srs="&osm2pgsql_projection;">
  6148.     <StyleName>tracks-notunnel-nobridge</StyleName>
  6149.     <Datasource>
  6150.       <Parameter name="table">
  6151.       (select way,tracktype from &prefix;_line where highway='track' and (bridge is null or bridge in ('no','false','0')) and (tunnel is null or tunnel in ('no','false','0'))) as tracks
  6152.       </Parameter>
  6153.       &datasource-settings;
  6154.     </Datasource>
  6155. </Layer>
  6156. <Layer name="minor-roads-fill" status="on" srs="&osm2pgsql_projection;">
  6157.     <StyleName>minor-roads-fill-links</StyleName>
  6158.     <StyleName>minor-roads-fill</StyleName>
  6159.     <Datasource>
  6160.       <Parameter name="table">
  6161.       (select way,highway,horse,bicycle,foot,construction,aeroway,
  6162.        case when tunnel in ('yes','true','1') then 'yes'::text else tunnel end as tunnel,
  6163.        case when bridge in ('yes','true','1','viaduct') then 'yes'::text else bridge end as bridge,
  6164.        case when railway in ('spur','siding')
  6165.               or (railway='rail' and service in ('spur','siding','yard'))
  6166.             then 'spur-siding-yard'::text else railway end as railway,
  6167.        case when service in ('parking_aisle','drive-through','driveway') then 'INT-minor'::text else service end as service
  6168.        from &prefix;_line
  6169.        where highway is not null
  6170.           or aeroway in ('runway','taxiway')
  6171.           or railway in ('light_rail','narrow_gauge','funicular','rail','subway','tram','spur','siding','platform','disused','abandoned','construction','miniature')
  6172.        order by z_order) as roads
  6173.       </Parameter>
  6174.       &datasource-settings;
  6175.     </Datasource>
  6176. </Layer>
  6177. &layer-ferry-routes;
  6178. &layer-aerialways;
  6179. <Layer name="roads" status="on" srs="&osm2pgsql_projection;">
  6180.     <StyleName>roads</StyleName>
  6181.     <Datasource>
  6182.       <Parameter name="table">
  6183.       (select way,highway,
  6184.        case when tunnel in ('yes','true','1') then 'yes'::text else tunnel end as tunnel,
  6185.        case when railway='preserved' and service in ('spur','siding','yard') then 'INT-preserved-ssy'::text else railway end as railway
  6186.        from &prefix;_roads
  6187.        where highway is not null
  6188.           or (railway is not null and railway!='preserved' and (service is null or service not in ('spur','siding','yard')))
  6189.           or railway='preserved'
  6190.        order by z_order
  6191.       ) as roads
  6192.       </Parameter>
  6193.       &datasource-settings;
  6194.     </Datasource>
  6195. </Layer>
  6196. <Layer name="waterway-bridges" status="on" srs="&osm2pgsql_projection;">
  6197.     <StyleName>waterway-bridges</StyleName>
  6198.     <Datasource>
  6199.       <Parameter name="table">(select way,name from &prefix;_line where waterway='canal' and bridge in ('yes','true','1','aqueduct') order by z_order) as water</Parameter>
  6200.       &datasource-settings;
  6201.     </Datasource>
  6202. </Layer>
  6203. <Layer name="access-pre_bridges" status="on" srs="&osm2pgsql_projection;">
  6204.     <StyleName>access</StyleName>
  6205.     <Datasource>
  6206.       <Parameter name="table">
  6207.       (select way,access,highway,
  6208.        case when service in ('parking_aisle','drive-through','driveway') then 'INT-minor'::text end as service
  6209.        from &prefix;_line
  6210.        where access is not null and highway is not null
  6211.          and (bridge is null or bridge not in ('yes','true','1','viaduct'))
  6212.       ) as access
  6213.       </Parameter>
  6214.       &datasource-settings;
  6215.     </Datasource>
  6216. </Layer>
  6217. <Layer name="direction_pre_bridges" status="on" srs="&osm2pgsql_projection;">
  6218.      <StyleName>directions</StyleName>
  6219.      <Datasource>
  6220.       <Parameter name="table">
  6221.       (select way,
  6222.        case when oneway in ('yes','true','1') then 'yes'::text else oneway end as oneway
  6223.        from &prefix;_line
  6224.        where oneway is not null
  6225.          and (highway is not null or railway is not null or waterway is not null)
  6226.          and (bridge is null or bridge not in ('yes','true','1','viaduct'))
  6227.       ) as directions
  6228.       </Parameter>
  6229.       &datasource-settings;
  6230.     </Datasource>
  6231. </Layer>
  6232. <Layer name="bridges_layer0" status="on" srs="&osm2pgsql_projection;">
  6233.     <StyleName>bridges_casing</StyleName>
  6234.     <StyleName>bridges_casing2</StyleName>
  6235.     <StyleName>bridges_fill</StyleName>
  6236.     <Datasource>
  6237.       <Parameter name="table">
  6238.       (select way,highway,aeroway,horse,bicycle,foot,tracktype,
  6239.        case when railway in ('spur','siding')
  6240.               or (railway='rail' and service in ('spur','siding','yard'))
  6241.             then 'INT-spur-siding-yard'::text else railway end as railway
  6242.        from &prefix;_line
  6243.        where (highway is not null
  6244.               or aeroway in ('runway','taxiway')
  6245.               or railway in ('light_rail','subway','narrow_gauge','rail','spur','siding','disused','abandoned','construction'))
  6246.          and bridge in ('yes','true','1','viaduct')
  6247.          and (layer is null or layer = '0')
  6248.        order by z_order
  6249.       ) as roads
  6250.       </Parameter>
  6251.       &datasource-settings;
  6252.     </Datasource>
  6253. </Layer>
  6254. <Layer name="bridges_access0" status="on" srs="&osm2pgsql_projection;">
  6255.     <StyleName>access</StyleName>
  6256.     <Datasource>
  6257.       <Parameter name="table">
  6258.       (select way,access,highway,
  6259.        case when service in ('parking_aisle','drive-through','driveway') then 'INT-minor'::text end as service
  6260.        from &prefix;_line
  6261.        where access is not null and highway is not null
  6262.          and bridge in ('yes','true','1','viaduct')
  6263.          and (layer is null or layer in ('-5','-4','-3','-2','-1','0'))
  6264.       ) as access
  6265.       </Parameter>
  6266.       &datasource-settings;
  6267.     </Datasource>
  6268. </Layer>
  6269. <Layer name="bridges_directions0" status="on" srs="&osm2pgsql_projection;">
  6270.      <StyleName>directions</StyleName>
  6271.      <Datasource>
  6272.       <Parameter name="table">
  6273.       (select way,
  6274.        case when oneway in ('yes','true','1') then 'yes'::text else oneway end as oneway
  6275.        from &prefix;_line
  6276.        where oneway is not null
  6277.          and (highway is not null or railway is not null or waterway is not null)
  6278.          and bridge in ('yes','true','1','viaduct')
  6279.          and (layer is null or layer in ('-5','-4','-3','-2','-1','0'))
  6280.       ) as directions
  6281.       </Parameter>
  6282.       &datasource-settings;
  6283.     </Datasource>
  6284. </Layer>
  6285. <Layer name="bridges_layer1" status="on" srs="&osm2pgsql_projection;">
  6286.     <StyleName>bridges_casing</StyleName>
  6287.     <StyleName>bridges_casing2</StyleName>
  6288.     <StyleName>bridges_fill</StyleName>
  6289.     <Datasource>
  6290.       <Parameter name="table">
  6291.       (select way,highway,aeroway,horse,bicycle,foot,tracktype,
  6292.        case when railway in ('spur','siding')
  6293.               or (railway='rail' and service in ('spur','siding','yard'))
  6294.             then 'INT-spur-siding-yard'::text else railway end as railway
  6295.        from &prefix;_line
  6296.        where (highway is not null
  6297.               or aeroway in ('runway','taxiway')
  6298.               or railway in ('light_rail','subway','narrow_gauge','rail','spur','siding','disused','abandoned','construction'))
  6299.          and bridge in ('yes','true','1','viaduct')
  6300.          and layer = '1'
  6301.        order by z_order
  6302.       ) as roads
  6303.       </Parameter>
  6304.       &datasource-settings;
  6305.     </Datasource>
  6306. </Layer>
  6307. <Layer name="bridges_access1" status="on" srs="&osm2pgsql_projection;">
  6308.     <StyleName>access</StyleName>
  6309.     <Datasource>
  6310.       <Parameter name="table">
  6311.       (select way,access,highway,
  6312.        case when service in ('parking_aisle','drive-through','driveway') then 'INT-minor'::text end as service
  6313.        from &prefix;_line
  6314.        where access is not null and highway is not null
  6315.          and bridge in ('yes','true','1','viaduct')
  6316.          and layer = '1'
  6317.       ) as access
  6318.       </Parameter>
  6319.       &datasource-settings;
  6320.     </Datasource>
  6321. </Layer>
  6322. <Layer name="bridges_directions1" status="on" srs="&osm2pgsql_projection;">
  6323.      <StyleName>directions</StyleName>
  6324.      <Datasource>
  6325.       <Parameter name="table">
  6326.       (select way,
  6327.        case when oneway in ('yes','true','1') then 'yes'::text else oneway end as oneway
  6328.        from &prefix;_line
  6329.        where oneway is not null
  6330.          and (highway is not null or railway is not null or waterway is not null)
  6331.          and bridge in ('yes','true','1','viaduct')
  6332.          and layer = '1'
  6333.       ) as directions
  6334.       </Parameter>
  6335.       &datasource-settings;
  6336.     </Datasource>
  6337. </Layer>
  6338. <Layer name="bridges_layer2" status="on" srs="&osm2pgsql_projection;">
  6339.     <StyleName>bridges_casing</StyleName>
  6340.     <StyleName>bridges_casing2</StyleName>
  6341.     <StyleName>bridges_fill</StyleName>
  6342.     <Datasource>
  6343.       <Parameter name="table">
  6344.       (select way,highway,aeroway,horse,bicycle,foot,tracktype,
  6345.        case when railway in ('spur','siding')
  6346.               or (railway='rail' and service in ('spur','siding','yard'))
  6347.             then 'INT-spur-siding-yard'::text else railway end as railway
  6348.        from &prefix;_line
  6349.        where (highway is not null
  6350.               or aeroway in ('runway','taxiway')
  6351.               or railway in ('light_rail','subway','narrow_gauge','rail','spur','siding','disused','abandoned','construction'))
  6352.          and bridge in ('yes','true','1','viaduct')
  6353.          and layer = '2'
  6354.        order by z_order
  6355.       ) as roads
  6356.       </Parameter>
  6357.       &datasource-settings;
  6358.     </Datasource>
  6359. </Layer>
  6360. <Layer name="bridges_access2" status="on" srs="&osm2pgsql_projection;">
  6361.     <StyleName>access</StyleName>
  6362.     <Datasource>
  6363.       <Parameter name="table">
  6364.       (select way,access,highway,
  6365.        case when service in ('parking_aisle','drive-through','driveway') then 'INT-minor'::text end as service
  6366.        from &prefix;_line
  6367.        where access is not null and highway is not null
  6368.          and bridge in ('yes','true','1','viaduct')
  6369.          and layer = '2'
  6370.       ) as access
  6371.       </Parameter>
  6372.       &datasource-settings;
  6373.     </Datasource>
  6374. </Layer>
  6375. <Layer name="bridges_directions2" status="on" srs="&osm2pgsql_projection;">
  6376.      <StyleName>directions</StyleName>
  6377.      <Datasource>
  6378.       <Parameter name="table">
  6379.       (select way,
  6380.        case when oneway in ('yes','true','1') then 'yes'::text else oneway end as oneway
  6381.        from &prefix;_line
  6382.        where oneway is not null
  6383.          and (highway is not null or railway is not null or waterway is not null)
  6384.          and bridge in ('yes','true','1','viaduct')
  6385.          and layer = '2'
  6386.       ) as directions
  6387.       </Parameter>
  6388.       &datasource-settings;
  6389.     </Datasource>
  6390. </Layer>
  6391. <Layer name="bridges_layer3" status="on" srs="&osm2pgsql_projection;">
  6392.     <StyleName>bridges_casing</StyleName>
  6393.     <StyleName>bridges_casing2</StyleName>
  6394.     <StyleName>bridges_fill</StyleName>
  6395.     <Datasource>
  6396.       <Parameter name="table">
  6397.       (select way,highway,aeroway,horse,bicycle,foot,tracktype,
  6398.        case when railway in ('spur','siding')
  6399.               or (railway='rail' and service in ('spur','siding','yard'))
  6400.             then 'INT-spur-siding-yard'::text else railway end as railway
  6401.        from &prefix;_line
  6402.        where (highway is not null
  6403.               or aeroway in ('runway','taxiway')
  6404.               or railway in ('light_rail','subway','narrow_gauge','rail','spur','siding','disused','abandoned','construction'))
  6405.          and bridge in ('yes','true','1','viaduct')
  6406.          and layer = '3'
  6407.        order by z_order
  6408.       ) as roads
  6409.       </Parameter>
  6410.       &datasource-settings;
  6411.     </Datasource>
  6412. </Layer>
  6413. <Layer name="bridges_access3" status="on" srs="&osm2pgsql_projection;">
  6414.     <StyleName>access</StyleName>
  6415.     <Datasource>
  6416.       <Parameter name="table">
  6417.       (select way,access,highway,
  6418.        case when service in ('parking_aisle','drive-through','driveway') then 'INT-minor'::text end as service
  6419.        from &prefix;_line
  6420.        where access is not null and highway is not null
  6421.          and bridge in ('yes','true','1','viaduct')
  6422.          and layer = '3'
  6423.       ) as access
  6424.       </Parameter>
  6425.       &datasource-settings;
  6426.     </Datasource>
  6427. </Layer>
  6428. <Layer name="bridges_directions3" status="on" srs="&osm2pgsql_projection;">
  6429.      <StyleName>directions</StyleName>
  6430.      <Datasource>
  6431.       <Parameter name="table">
  6432.       (select way,
  6433.        case when oneway in ('yes','true','1') then 'yes'::text else oneway end as oneway
  6434.        from &prefix;_line
  6435.        where oneway is not null
  6436.          and (highway is not null or railway is not null or waterway is not null)
  6437.          and bridge in ('yes','true','1','viaduct')
  6438.          and layer = '3'
  6439.       ) as directions
  6440.       </Parameter>
  6441.       &datasource-settings;
  6442.     </Datasource>
  6443. </Layer>
  6444. <Layer name="bridges_layer4" status="on" srs="&osm2pgsql_projection;">
  6445.     <StyleName>bridges_casing</StyleName>
  6446.     <StyleName>bridges_casing2</StyleName>
  6447.     <StyleName>bridges_fill</StyleName>
  6448.     <Datasource>
  6449.       <Parameter name="table">
  6450.       (select way,highway,aeroway,horse,bicycle,foot,tracktype,
  6451.        case when railway in ('spur','siding')
  6452.               or (railway='rail' and service in ('spur','siding','yard'))
  6453.             then 'INT-spur-siding-yard'::text else railway end as railway
  6454.        from &prefix;_line
  6455.        where (highway is not null
  6456.               or aeroway in ('runway','taxiway')
  6457.               or railway in ('light_rail','subway','narrow_gauge','rail','spur','siding','disused','abandoned','construction'))
  6458.          and bridge in ('yes','true','1','viaduct')
  6459.          and layer = '4'
  6460.        order by z_order
  6461.       ) as roads
  6462.       </Parameter>
  6463.       &datasource-settings;
  6464.     </Datasource>
  6465. </Layer>
  6466. <Layer name="bridges_access4" status="on" srs="&osm2pgsql_projection;">
  6467.     <StyleName>access</StyleName>
  6468.     <Datasource>
  6469.       <Parameter name="table">
  6470.       (select way,access,highway,
  6471.        case when service in ('parking_aisle','drive-through','driveway') then 'INT-minor'::text end as service
  6472.        from &prefix;_line
  6473.        where access is not null and highway is not null
  6474.          and bridge in ('yes','true','1','viaduct')
  6475.          and layer = '4'
  6476.       ) as access
  6477.       </Parameter>
  6478.       &datasource-settings;
  6479.     </Datasource>
  6480. </Layer>
  6481. <Layer name="bridges_directions4" status="on" srs="&osm2pgsql_projection;">
  6482.      <StyleName>directions</StyleName>
  6483.      <Datasource>
  6484.       <Parameter name="table">
  6485.       (select way,
  6486.        case when oneway in ('yes','true','1') then 'yes'::text else oneway end as oneway
  6487.        from &prefix;_line
  6488.        where oneway is not null
  6489.          and (highway is not null or railway is not null or waterway is not null)
  6490.          and bridge in ('yes','true','1','viaduct')
  6491.          and layer = '4'
  6492.       ) as directions
  6493.       </Parameter>
  6494.       &datasource-settings;
  6495.     </Datasource>
  6496. </Layer>
  6497. <Layer name="bridges_layer5" status="on" srs="&osm2pgsql_projection;">
  6498.     <StyleName>bridges_casing</StyleName>
  6499.     <StyleName>bridges_casing2</StyleName>
  6500.     <StyleName>bridges_fill</StyleName>
  6501.     <Datasource>
  6502.       <Parameter name="table">
  6503.       (select way,highway,aeroway,horse,bicycle,foot,tracktype,
  6504.        case when railway in ('spur','siding')
  6505.               or (railway='rail' and service in ('spur','siding','yard'))
  6506.             then 'INT-spur-siding-yard'::text else railway end as railway
  6507.        from &prefix;_line
  6508.        where (highway is not null
  6509.               or aeroway in ('runway','taxiway')
  6510.               or railway in ('light_rail','subway','narrow_gauge','rail','spur','siding','disused','abandoned','construction'))
  6511.          and bridge in ('yes','true','1','viaduct')
  6512.          and layer = '5'
  6513.        order by z_order
  6514.       ) as roads
  6515.       </Parameter>
  6516.       &datasource-settings;
  6517.     </Datasource>
  6518. </Layer>
  6519. <Layer name="bridges_access5" status="on" srs="&osm2pgsql_projection;">
  6520.     <StyleName>access</StyleName>
  6521.     <Datasource>
  6522.       <Parameter name="table">
  6523.       (select way,access,highway,
  6524.        case when service in ('parking_aisle','drive-through','driveway') then 'INT-minor'::text end as service
  6525.        from &prefix;_line
  6526.        where access is not null and highway is not null
  6527.          and bridge in ('yes','true','1','viaduct')
  6528.          and layer = '5'
  6529.       ) as access
  6530.       </Parameter>
  6531.       &datasource-settings;
  6532.     </Datasource>
  6533. </Layer>
  6534. <Layer name="bridges_directions5" status="on" srs="&osm2pgsql_projection;">
  6535.      <StyleName>directions</StyleName>
  6536.      <Datasource>
  6537.       <Parameter name="table">
  6538.       (select way,
  6539.        case when oneway in ('yes','true','1') then 'yes'::text else oneway end as oneway
  6540.        from &prefix;_line
  6541.        where oneway is not null
  6542.          and (highway is not null or railway is not null or waterway is not null)
  6543.          and bridge in ('yes','true','1','viaduct')
  6544.          and layer = '5'
  6545.       ) as directions
  6546.       </Parameter>
  6547.       &datasource-settings;
  6548.     </Datasource>
  6549. </Layer>
  6550. <Layer name="trams" status="on" srs="&osm2pgsql_projection;">
  6551.     <StyleName>trams</StyleName>
  6552.     <Datasource>
  6553.       <Parameter name="table">
  6554.       (select way,railway,bridge from &prefix;_line where railway='tram' and (tunnel is null or tunnel not in ('yes','true','1'))) as trams
  6555.       </Parameter>
  6556.       &datasource-settings;
  6557.     </Datasource>
  6558. </Layer>
  6559. <Layer name="guideways" status="on" srs="&osm2pgsql_projection;">
  6560.     <StyleName>guideways</StyleName>
  6561.     <Datasource>
  6562.       <Parameter name="table">
  6563.       (select way from &prefix;_line where highway='bus_guideway' and (tunnel is null or tunnel not in ('yes','true','1'))) as guideways
  6564.       </Parameter>
  6565.       &datasource-settings;
  6566.     </Datasource>
  6567. </Layer>
  6568. &layer-admin;
  6569. &layer-placenames;
  6570. &layer-amenity-stations;
  6571. &layer-amenity-symbols;
  6572. &layer-amenity-points;
  6573. &layer-power;
  6574. <Layer name="planet roads text osm low zoom" status="on" srs="&osm2pgsql_projection;">
  6575.      <StyleName>roads-text-low-zoom</StyleName>
  6576.      <Datasource>
  6577.       <Parameter name="table">
  6578.       (select way,highway,ref,char_length(ref) as length
  6579.        from &prefix;_roads
  6580.        where highway in ('motorway','trunk','primary')
  6581.          and ref is not null
  6582.       ) as roads
  6583.       </Parameter>
  6584.       &datasource-settings;
  6585.     </Datasource>
  6586. </Layer>
  6587. <Layer name="highway-junctions" status="on" srs="&osm2pgsql_projection;">
  6588.     <StyleName>highway-junctions</StyleName>
  6589.     <Datasource>
  6590.      <Parameter name="table">
  6591.      (select way,ref,name
  6592.       from &prefix;_point
  6593.       where highway='motorway_junction'
  6594.      ) as junctions
  6595.      </Parameter>
  6596.      &datasource-settings;
  6597.     </Datasource>
  6598. </Layer>
  6599. <Layer name="planet roads text osm" status="on" srs="&osm2pgsql_projection;">
  6600.      <StyleName>roads-text</StyleName>
  6601.      <Datasource>
  6602.       <Parameter name="table">
  6603.       (select way,highway,aeroway,name,ref,char_length(ref) as length,
  6604.        case when bridge in ('yes','true','1') then 'yes'::text else bridge end as bridge
  6605.        from &prefix;_line
  6606.        where waterway IS NULL
  6607.          and leisure IS NULL
  6608.          and landuse IS NULL
  6609.          and (name is not null or ((highway is not null or aeroway is not null) and ref is not null))
  6610.       ) as roads
  6611.       </Parameter>
  6612.       &datasource-settings;
  6613.     </Datasource>
  6614. </Layer>
  6615. <Layer name="text" status="on" srs="&osm2pgsql_projection;">
  6616.     <StyleName>text</StyleName>
  6617.     <Datasource>
  6618.       <Parameter name="table">
  6619.       (select way,amenity,shop,access,leisure,landuse,man_made,"natural",place,tourism,ele,name,ref,military,aeroway,waterway,historic,'yes'::text as point
  6620.        from &prefix;_point
  6621.        where amenity is not null
  6622.           or shop in ('supermarket','bakery','clothes','fashion','convenience','doityourself','hairdresser','department_store','butcher','car','car_repair','bicycle','florist')
  6623.           or leisure is not null
  6624.           or landuse is not null
  6625.           or tourism is not null
  6626.           or "natural" is not null
  6627.           or man_made in ('lighthouse','windmill')
  6628.           or place='island'
  6629.           or military='danger_area'
  6630.           or aeroway='gate'
  6631.           or waterway='lock'
  6632.           or historic in ('memorial','archaeological_site')
  6633.       ) as text
  6634.       </Parameter>
  6635.       &datasource-settings;
  6636.     </Datasource>
  6637. </Layer>
  6638. <Layer name="text-poly" status="on" srs="&osm2pgsql_projection;">
  6639.     <StyleName>text</StyleName>
  6640.     <Datasource>
  6641.       <Parameter name="table">
  6642.       (select way,aeroway,shop,access,amenity,leisure,landuse,man_made,"natural",place,tourism,NULL as ele,name,ref,military,waterway,historic,'no'::text as point
  6643.        from &prefix;_polygon
  6644.        where amenity is not null
  6645.           or shop in ('supermarket','bakery','clothes','fashion','convenience','doityourself','hairdresser','department_store', 'butcher','car','car_repair','bicycle')
  6646.           or leisure is not null
  6647.           or landuse is not null
  6648.           or tourism is not null
  6649.           or "natural" is not null
  6650.           or man_made in ('lighthouse','windmill')
  6651.           or place='island'
  6652.           or military='danger_area'
  6653.           or historic in ('memorial','archaeological_site')
  6654.       ) as text
  6655.       </Parameter>
  6656.       &datasource-settings;
  6657.     </Datasource>
  6658. </Layer>
  6659. <Layer name="area-text" status="on" srs="&osm2pgsql_projection;">
  6660.     <StyleName>area-text</StyleName>
  6661.     <Datasource>
  6662.       <Parameter name="table">
  6663.       (select way,way_area,name
  6664.        from &prefix;_polygon
  6665.        where name is not null
  6666.          and (waterway is null or waterway != 'riverbank')
  6667.          and place is null
  6668.        order by way_area desc
  6669.       ) as text
  6670.       </Parameter>
  6671.       &datasource-settings;
  6672.     </Datasource>
  6673. </Layer>
  6674. &layer-addressing;
  6675. <Layer name="misc_boundaries" status="on" srs="&osm2pgsql_projection;">
  6676.     <StyleName>boundary</StyleName>
  6677.     <Datasource>
  6678.       <Parameter name="table">
  6679.       (select way,way_area,name,boundary from &prefix;_polygon where boundary='national_park') as boundary
  6680.       </Parameter>
  6681.       &datasource-settings;
  6682.     </Datasource>
  6683. </Layer>
  6684. <Layer name="theme_park" status="on" srs="&osm2pgsql_projection;">
  6685.     <StyleName>theme_park</StyleName>
  6686.     <Datasource>
  6687.       <Parameter name="table">
  6688.       (select way,name,tourism from &prefix;_polygon where tourism='theme_park') as theme_park
  6689.       </Parameter>
  6690.       &datasource-settings;
  6691.     </Datasource>
  6692. </Layer>
  6693. </Map>
  6694.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement