This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

my osm.xml

By: a guest on Sep 12th, 2012  |  syntax: XML  |  size: 170.82 KB  |  views: 64  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!DOCTYPE Map [
  3. <!ENTITY % entities SYSTEM "inc/entities.xml.inc">
  4. %entities;
  5. ]>
  6. <Map background-color="#b5d0d0" srs="&srs900913;" minimum-version="2.0.0">
  7.   &fontset-settings;
  8. <Style name="turning_circle-casing">
  9.     <Rule>
  10.       &maxscale_zoom15;
  11.       &minscale_zoom16;
  12.       <Filter>[int_tc_type]='tertiary'</Filter>
  13.       <PointSymbolizer file="&symbols;/turning_circle-tert-casing.18.png" allow-overlap="true" ignore-placement="true"/>
  14.     </Rule>
  15.     <Rule>
  16.       &maxscale_zoom15;
  17.       &minscale_zoom15;
  18.       <Filter>[int_tc_type]='residential' or [int_tc_type]='unclassified'</Filter>
  19.       <PointSymbolizer file="&symbols;/turning_circle-uncl-casing.14.png" allow-overlap="true" ignore-placement="true"/>
  20.     </Rule>
  21.     <Rule>
  22.       &maxscale_zoom15;
  23.       &minscale_zoom15;
  24.       <Filter>[int_tc_type]='living_street'</Filter>
  25.       <PointSymbolizer file="&symbols;/turning_circle-uncl-fill.14.png" allow-overlap="true" ignore-placement="true"/>
  26.     </Rule>
  27.     <Rule>
  28.       &maxscale_zoom16;
  29.       &minscale_zoom16;
  30.       <Filter>[int_tc_type]='residential' or [int_tc_type]='unclassified'</Filter>
  31.       <PointSymbolizer file="&symbols;/turning_circle-uncl-casing.18.png" allow-overlap="true" ignore-placement="true"/>
  32.     </Rule>
  33.     <Rule>
  34.       &maxscale_zoom16;
  35.       &minscale_zoom16;
  36.       <Filter>[int_tc_type]='service'</Filter>
  37.       <PointSymbolizer file="&symbols;/turning_circle-uncl-casing.14.png" allow-overlap="true" ignore-placement="true"/>
  38.     </Rule>
  39.     <Rule>
  40.       &maxscale_zoom16;
  41.       &minscale_zoom16;
  42.       <Filter>[int_tc_type]='living_street'</Filter>
  43.       <PointSymbolizer file="&symbols;/turning_circle-uncl-fill.18.png" allow-overlap="true" ignore-placement="true"/>
  44.     </Rule>
  45.     <Rule>
  46.       &maxscale_zoom17;
  47.       <Filter>[int_tc_type]='tertiary'</Filter>
  48.       <PointSymbolizer file="&symbols;/turning_circle-tert-casing.24.png" allow-overlap="true" ignore-placement="true"/>
  49.     </Rule>
  50.     <Rule>
  51.       &maxscale_zoom17;
  52.       <Filter>[int_tc_type]='residential' or [int_tc_type]='unclassified'</Filter>
  53.       <PointSymbolizer file="&symbols;/turning_circle-uncl-casing.24.png" allow-overlap="true" ignore-placement="true"/>
  54.     </Rule>
  55.     <Rule>
  56.       &maxscale_zoom17;
  57.       <Filter>[int_tc_type]='service'</Filter>
  58.       <PointSymbolizer file="&symbols;/turning_circle-uncl-casing.16.png" allow-overlap="true" ignore-placement="true"/>
  59.     </Rule>
  60.     <Rule>
  61.       &maxscale_zoom17;
  62.       <Filter>[int_tc_type]='living_street'</Filter>
  63.       <PointSymbolizer file="&symbols;/turning_circle-uncl-fill.24.png" allow-overlap="true" ignore-placement="true"/>
  64.     </Rule>
  65. </Style>
  66. <Style name="turning_circle-fill">
  67.     <Rule>
  68.       &maxscale_zoom15;
  69.       &minscale_zoom16;
  70.       <Filter>[int_tc_type]='tertiary'</Filter>
  71.       <PointSymbolizer file="&symbols;/turning_circle-tert-fill.16.png" allow-overlap="true" ignore-placement="true"/>
  72.     </Rule>
  73.     <Rule>
  74.       &maxscale_zoom15;
  75.       &minscale_zoom15;
  76.       <Filter>[int_tc_type]='residential' or [int_tc_type]='unclassified'</Filter>
  77.       <PointSymbolizer file="&symbols;/turning_circle-uncl-fill.12.png" allow-overlap="true" ignore-placement="true"/>
  78.     </Rule>
  79.     <Rule>
  80.       &maxscale_zoom15;
  81.       &minscale_zoom15;
  82.       <Filter>[int_tc_type]='living_street'</Filter>
  83.       <PointSymbolizer file="&symbols;/turning_circle-livs-fill.12.png" allow-overlap="true" ignore-placement="true"/>
  84.     </Rule>
  85.     <Rule>
  86.       &maxscale_zoom16;
  87.       &minscale_zoom16;
  88.       <Filter>[int_tc_type]='residential' or [int_tc_type]='unclassified'</Filter>
  89.       <PointSymbolizer file="&symbols;/turning_circle-uncl-fill.16.png" allow-overlap="true" ignore-placement="true"/>
  90.     </Rule>
  91.     <Rule>
  92.       &maxscale_zoom16;
  93.       &minscale_zoom16;
  94.       <Filter>[int_tc_type]='service'</Filter>
  95.       <PointSymbolizer file="&symbols;/turning_circle-uncl-fill.12.png" allow-overlap="true" ignore-placement="true"/>
  96.     </Rule>
  97.     <Rule>
  98.       &maxscale_zoom16;
  99.       &minscale_zoom16;
  100.       <Filter>[int_tc_type]='living_street'</Filter>
  101.       <PointSymbolizer file="&symbols;/turning_circle-livs-fill.16.png" allow-overlap="true" ignore-placement="true"/>
  102.     </Rule>
  103.     <Rule>
  104.       &maxscale_zoom17;
  105.       <Filter>[int_tc_type]='tertiary'</Filter>
  106.       <PointSymbolizer file="&symbols;/turning_circle-tert-fill.22.png" allow-overlap="true" ignore-placement="true"/>
  107.     </Rule>
  108.     <Rule>
  109.       &maxscale_zoom17;
  110.       <Filter>[int_tc_type]='residential' or [int_tc_type]='unclassified'</Filter>
  111.       <PointSymbolizer file="&symbols;/turning_circle-uncl-fill.22.png" allow-overlap="true" ignore-placement="true"/>
  112.     </Rule>
  113.     <Rule>
  114.       &maxscale_zoom17;
  115.       <Filter>[int_tc_type]='service'</Filter>
  116.       <PointSymbolizer file="&symbols;/turning_circle-uncl-fill.14.png" allow-overlap="true" ignore-placement="true"/>
  117.     </Rule>
  118.     <Rule>
  119.       &maxscale_zoom17;
  120.       <Filter>[int_tc_type]='living_street'</Filter>
  121.       <PointSymbolizer file="&symbols;/turning_circle-livs-fill.22.png" allow-overlap="true" ignore-placement="true"/>
  122.     </Rule>
  123. </Style>
  124. <Style name="highway-area-casing">
  125.    <Rule>
  126.       <Filter>[highway] = 'residential' or [highway]='unclassified'</Filter>
  127.       &maxscale_zoom14;
  128.       <LineSymbolizer stroke="#999" stroke-width="1"/>
  129.    </Rule>
  130.    <Rule>
  131.       <Filter>[highway] = 'pedestrian' or [highway]='service' or [highway]='footway' or [highway]='path'</Filter>
  132.       &maxscale_zoom14;
  133.       <LineSymbolizer stroke="grey" stroke-width="1"/>
  134.    </Rule>
  135.    <Rule>
  136.       <Filter>[highway] = 'track'</Filter>
  137.       &maxscale_zoom14;
  138.       <LineSymbolizer stroke="#996600" stroke-width="2"/>
  139.    </Rule>
  140.     <Rule>
  141.       <Filter>[highway] = 'platform' or [railway] = 'platform'</Filter>
  142.       &maxscale_zoom16;
  143.       <LineSymbolizer stroke-linejoin="round" stroke="grey" stroke-width="2" stroke-linecap="round"/>
  144.     </Rule>
  145. </Style>
  146. <Style name="highway-area-fill">
  147.     <Rule>
  148.       <Filter>[highway] = 'living_street'</Filter>
  149.       &maxscale_zoom14;
  150.       <PolygonSymbolizer fill="#ccc"/>
  151.    </Rule>
  152.    <Rule>
  153.       <Filter>[highway] = 'residential' or [highway]='unclassified' or [highway]='service'</Filter>
  154.       &maxscale_zoom14;
  155.       <PolygonSymbolizer fill="#fff"/>
  156.    </Rule>
  157.    <Rule>
  158.       <Filter>[highway] = 'pedestrian' or [highway]='footway' or [highway]='path'</Filter>
  159.       &maxscale_zoom14;
  160.       <PolygonSymbolizer fill="#ededed"/>
  161.    </Rule>  
  162.    <Rule>
  163.       <Filter>[highway] = 'track'</Filter>
  164.       &maxscale_zoom14;
  165.       <PolygonSymbolizer fill="#dfcc66"/>
  166.    </Rule>
  167.     <Rule>
  168.       <Filter>[highway] = 'platform' or [railway] = 'platform'</Filter>
  169.       &maxscale_zoom16;
  170.       <PolygonSymbolizer gamma=".65" fill="#bbbbbb"/>
  171.     </Rule>
  172.     <Rule>
  173.       <Filter>[aeroway] = 'runway'</Filter>
  174.       &maxscale_zoom11;
  175.       <PolygonSymbolizer fill="#bbc"/>
  176.     </Rule>
  177.     <Rule>
  178.       <Filter>[aeroway] = 'taxiway'</Filter>
  179.       &maxscale_zoom13;
  180.       <PolygonSymbolizer fill="#bbc"/>
  181.     </Rule>
  182.     <Rule>
  183.       <Filter>[aeroway] = 'helipad'</Filter>
  184.       &maxscale_zoom16;
  185.       <PolygonSymbolizer fill="#bbc"/>
  186.     </Rule>
  187. </Style>
  188. <Style name="landuse_overlay">
  189.     <Rule>
  190.       &maxscale_zoom10;
  191.       &minscale_zoom18;
  192.       <Filter>[landuse]='military'</Filter>
  193.       <PolygonPatternSymbolizer file="&symbols;/military_red_hz2.png" />
  194.       <LineSymbolizer stroke="#f55" stroke-width="3" stroke-opacity="0.329"/>
  195.     </Rule>
  196.     <Rule>
  197.       <Filter>[leisure] = 'nature_reserve'</Filter>
  198.       &maxscale_zoom10;
  199.       &minscale_zoom13;
  200.       <PolygonPatternSymbolizer file="&symbols;/nature_reserve5.png" />
  201.       <LineSymbolizer stroke="#6c3" stroke-width="0.5"/>
  202.     </Rule>
  203.     <Rule>
  204.       <Filter>[leisure] = 'nature_reserve'</Filter>
  205.       &maxscale_zoom14;
  206.       <PolygonPatternSymbolizer file="&symbols;/nature_reserve6.png" />
  207.       <LineSymbolizer stroke="#6c3" stroke-width="1"/>
  208.     </Rule>
  209. </Style>
  210. <Style name="area-text">
  211.     <Rule>
  212.       <Filter>[way_area] &gt;= 150000</Filter>
  213.       &maxscale_zoom14;
  214.       <TextSymbolizer size="10" fill="#000033" fontset-name="book-fonts" halo-radius="1" wrap-width="20" placement="interior">[name]</TextSymbolizer>
  215.     </Rule>
  216.     <Rule>
  217.       <Filter>[way_area] &gt;= 80000 and [way_area] &lt; 150000</Filter>
  218.       &maxscale_zoom15;
  219.       <TextSymbolizer size="10" fill="#000033" fontset-name="book-fonts" halo-radius="1" wrap-width="20" placement="interior">[name]</TextSymbolizer>
  220.     </Rule>
  221.     <Rule>
  222.       <Filter>[way_area] &gt;= 20000 and [way_area] &lt; 80000</Filter>
  223.       &maxscale_zoom16;
  224.       <TextSymbolizer size="10" fill="#000033" fontset-name="book-fonts" halo-radius="1" wrap-width="20" placement="interior">[name]</TextSymbolizer>
  225.     </Rule>
  226.     <Rule>
  227.       <Filter>[way_area] &lt; 20000</Filter>
  228.       &maxscale_zoom17;
  229.       <TextSymbolizer size="10" fill="#000033" fontset-name="book-fonts" halo-radius="1" wrap-width="20" placement="interior">[name]</TextSymbolizer>
  230.     </Rule>
  231. </Style>
  232. <Style name="highway-junctions">
  233.     <Rule>
  234.       &maxscale_zoom11;
  235.       &minscale_zoom11;
  236.       <TextSymbolizer size="9" fill="#6666ff" minimum-distance="2" fontset-name="oblique-fonts" halo-radius="1" wrap-width="12">[ref]</TextSymbolizer>
  237.     </Rule>
  238.     <Rule>
  239.       &maxscale_zoom12;
  240.       &minscale_zoom14;
  241.       <TextSymbolizer size="9" fill="#6666ff" minimum-distance="2" fontset-name="oblique-fonts" halo-radius="1" wrap-width="12">[ref]</TextSymbolizer>
  242.       <TextSymbolizer size="8" fill="#6666ff" dy="-8" minimum-distance="2" fontset-name="oblique-fonts" halo-radius="1" wrap-width="2" wrap-character=";">[name]</TextSymbolizer>
  243.     </Rule>
  244.     <Rule>
  245.       &maxscale_zoom15;
  246.       <TextSymbolizer size="12" fill="#6666ff" minimum-distance="2" fontset-name="oblique-fonts" halo-radius="1" wrap-width="12">[ref]</TextSymbolizer>
  247.       <TextSymbolizer size="11" fill="#6666ff" dy="-10" minimum-distance="2" fontset-name="oblique-fonts" halo-radius="1" wrap-width="2" wrap-character=";">[name]</TextSymbolizer>
  248.     </Rule>
  249. </Style>
  250. <Style name="text">
  251.     <Rule>
  252.       <Filter>[place] = 'island'</Filter>
  253.       &maxscale_zoom12;
  254.       &minscale_zoom18;
  255.       <TextSymbolizer size="9" fill="#000" dy="0" fontset-name="oblique-fonts" halo-radius="1" wrap-width="0" placement="interior">[name]</TextSymbolizer>
  256.     </Rule>
  257.     <Rule>
  258.       <Filter>[amenity]='pub' or [amenity]='restaurant' or [amenity]='cafe' or [amenity]='fast_food' or [amenity]='biergarten'</Filter>
  259.       &maxscale_zoom17;
  260.       <TextSymbolizer size="10" fill="#734a08" dy="9" fontset-name="bold-fonts" halo-radius="1" wrap-width="34" placement="interior">[name]</TextSymbolizer>
  261.     </Rule>
  262.     <Rule>
  263.       <Filter>[amenity]='bar'</Filter>
  264.       &maxscale_zoom17;
  265.       <TextSymbolizer size="10" fill="#734a08" dy="11" fontset-name="bold-fonts" halo-radius="1" wrap-width="0" placement="interior">[name]</TextSymbolizer>
  266.     </Rule>
  267.     <Rule>
  268.       <Filter>[amenity]='library' or [amenity]='theatre' or [amenity]='courthouse'</Filter>
  269.       &maxscale_zoom17;
  270.       <TextSymbolizer size="10" fill="#734a08" dy="12" fontset-name="bold-fonts" halo-radius="1" wrap-width="0" placement="interior">[name]</TextSymbolizer>
  271.     </Rule>
  272.     <Rule>
  273.       <Filter>[amenity]='cinema'</Filter>
  274.       &maxscale_zoom17;
  275.       <TextSymbolizer size="10" fill="#734a08" dy="14" fontset-name="bold-fonts" halo-radius="1" wrap-width="0" placement="interior">[name]</TextSymbolizer>
  276.     </Rule>
  277.     <Rule>
  278.       <Filter>[amenity]='parking' and ([access] = 'public' or not [access] != '')</Filter>
  279.       &maxscale_zoom17;
  280.       <TextSymbolizer size="9" fill="#0066ff" dy="9" fontset-name="book-fonts" halo-radius="1" wrap-width="34" placement="interior">[name]</TextSymbolizer>
  281.     </Rule>
  282.     <Rule>
  283.       <Filter>[amenity]='parking' and ([access] != '' and not [access] = 'public')</Filter>
  284.       &maxscale_zoom17;
  285.       <TextSymbolizer size="9" fill="#66ccaf" dy="9" fontset-name="book-fonts" halo-radius="1" wrap-width="34" placement="interior">[name]</TextSymbolizer>
  286.     </Rule>
  287.      <Rule>
  288.       <Filter>[amenity] = 'police'</Filter>
  289.       &maxscale_zoom17;
  290.       <TextSymbolizer size="10" fill="#734a08" dy="10" fontset-name="book-fonts" halo-radius="1" wrap-width="30" placement="interior">[name]</TextSymbolizer>
  291.     </Rule>
  292.     <Rule>
  293.       <Filter>[amenity] = 'fire_station'</Filter>
  294.       &maxscale_zoom17;
  295.       <TextSymbolizer size="10" fill="#734a08" dy="9" fontset-name="book-fonts" halo-radius="1" wrap-width="30" placement="interior">[name]</TextSymbolizer>
  296.     </Rule>
  297.      <Rule>
  298.       <Filter>[amenity] = 'place_of_worship'</Filter>
  299.       &maxscale_zoom17;
  300.       <TextSymbolizer size="10" fill="#000033" dy="11" fontset-name="book-fonts" halo-radius="1" wrap-width="30" placement="interior">[name]</TextSymbolizer>
  301.     </Rule>
  302.     <Rule>
  303.       <Filter>[natural] = 'wood'</Filter>
  304.       &maxscale_zoom15;
  305.       <TextSymbolizer size="10" fill="#000" fontset-name="book-fonts" halo-radius="2" wrap-width="10" placement="interior">[name]</TextSymbolizer>
  306.     </Rule>
  307.     <Rule>
  308.       <Filter>[natural] = 'peak'</Filter>
  309.       &maxscale_zoom13;
  310.       <TextSymbolizer size="10" fill="brown" dy="5" fontset-name="book-fonts" halo-radius="1" placement="interior">[name]</TextSymbolizer>
  311.     </Rule>
  312.     <Rule>
  313.       <Filter>[natural] = 'peak' and not [name] != ''</Filter>
  314.       &maxscale_zoom14;
  315.       <TextSymbolizer size="9" fill="brown" dy="6" fontset-name="oblique-fonts" halo-radius="1" placement="interior">[ele]</TextSymbolizer>
  316.     </Rule>
  317.     <Rule>
  318.       <Filter>[natural] = 'peak' and [name] != ''</Filter>
  319.       &maxscale_zoom14;
  320.       <TextSymbolizer size="9" fill="brown" dy="18" fontset-name="oblique-fonts" halo-radius="1" placement="interior">[ele]</TextSymbolizer>
  321.     </Rule>
  322.     <Rule>
  323.       <Filter>[natural] = 'volcano'</Filter>
  324.       &maxscale_zoom13;
  325.       <TextSymbolizer size="10" fill="brown" dy="5" fontset-name="book-fonts" halo-radius="1" placement="interior">[name]</TextSymbolizer>
  326.     </Rule>
  327.     <Rule>
  328.       <Filter>[natural] = 'volcano' and not [name] != ''</Filter>
  329.       &maxscale_zoom14;
  330.       <TextSymbolizer size="9" fill="brown" dy="6" fontset-name="oblique-fonts" halo-radius="1" placement="interior">[ele]</TextSymbolizer>
  331.     </Rule>
  332.     <Rule>
  333.       <Filter>[natural] = 'volcano' and [name] != ''</Filter>
  334.       &maxscale_zoom14;
  335.       <TextSymbolizer size="9" fill="brown" dy="16" fontset-name="oblique-fonts" halo-radius="1" placement="interior">[ele]</TextSymbolizer>
  336.     </Rule>
  337.     <Rule>
  338.       <Filter>[natural] = 'cave_entrance'</Filter>
  339.       &maxscale_zoom15;
  340.       <TextSymbolizer size="10" fill="brown" dy="9" fontset-name="book-fonts" halo-radius="1" wrap-width="20" placement="interior">[name]</TextSymbolizer>
  341.     </Rule>
  342.     <Rule>
  343.       <Filter>[historic] = 'memorial' or [historic]='archaeological_site'</Filter>
  344.       &maxscale_zoom17;
  345.       <TextSymbolizer size="9" fill="brown" dy="12" fontset-name="book-fonts" halo-radius="1" wrap-width="20" placement="interior">[name]</TextSymbolizer>
  346.     </Rule>
  347.     <Rule>
  348.       <Filter>[natural] = 'water' or [natural] = 'lake' or [landuse] = 'reservoir' or [landuse] = 'basin'</Filter>
  349.       &maxscale_zoom15;
  350.       <TextSymbolizer size="10" fill="#6699cc" fontset-name="book-fonts" halo-radius="1" wrap-width="20" placement="interior">[name]</TextSymbolizer>
  351.     </Rule>
  352.     <Rule>
  353.       <Filter>([leisure] != '' or [landuse] != '') and [point] = 'yes'</Filter>
  354.       &maxscale_zoom15;
  355.       <TextSymbolizer size="9" fill="#000" fontset-name="book-fonts" halo-radius="2" wrap-width="10">[name]</TextSymbolizer>
  356.     </Rule>
  357.     <Rule>
  358.       <Filter>[natural] = 'bay'</Filter>
  359.       &maxscale_zoom14;
  360.       <TextSymbolizer size="10" fill="#6699cc" fontset-name="book-fonts" halo-radius="1" wrap-width="20" placement="interior">[name]</TextSymbolizer>
  361.     </Rule>
  362.     <Rule>
  363.       <Filter>[natural] = 'spring'</Filter>
  364.       &maxscale_zoom16;
  365.       <TextSymbolizer size="8" fill="#6699cc" dy="10" fontset-name="book-fonts" halo-radius="1" wrap-width="20" placement="interior">[name]</TextSymbolizer>
  366.     </Rule>
  367.     <Rule>
  368.       <Filter>[tourism] = 'alpine_hut'</Filter>
  369.       &maxscale_zoom15;
  370.       <TextSymbolizer size="9" fill="#6699cc" dy="10" fontset-name="book-fonts" halo-radius="1" placement="interior">[name]</TextSymbolizer>
  371.     </Rule>
  372.     <Rule>
  373.       <Filter>[tourism] = 'alpine_hut'</Filter>
  374.       &maxscale_zoom16;
  375.       <TextSymbolizer size="8" fill="#6699cc" dy="22" fontset-name="oblique-fonts" halo-radius="1" placement="interior">[ele]</TextSymbolizer>
  376.     </Rule>
  377.     <Rule>
  378.       <Filter>[amenity]='shelter'</Filter>
  379.       &maxscale_zoom17;
  380.       <TextSymbolizer size="9" fill="#6699cc" dy="10" fontset-name="book-fonts" halo-radius="1" placement="interior">[name]</TextSymbolizer>
  381.       <TextSymbolizer size="8" fill="#6699cc" dy="22" fontset-name="oblique-fonts" halo-radius="1" placement="interior">[ele]</TextSymbolizer>
  382.     </Rule>
  383.     <Rule>
  384.       <Filter>[amenity] = 'bank'</Filter>
  385.       &maxscale_zoom17;
  386.       <TextSymbolizer size="9" fill="black" dy="9" fontset-name="book-fonts" halo-radius="1" wrap-width="0" placement="interior">[name]</TextSymbolizer>
  387.     </Rule>
  388.     <Rule>
  389.       <Filter>[tourism] = 'hotel' or [tourism]='hostel' or [tourism]='chalet'</Filter>
  390.       &maxscale_zoom17;
  391.       <TextSymbolizer size="10" fill="#0066ff" dy="11" fontset-name="book-fonts" halo-radius="1" wrap-width="0" placement="interior">[name]</TextSymbolizer>
  392.     </Rule>
  393.     <Rule>
  394.       <Filter>[amenity] = 'embassy'</Filter>
  395.       &maxscale_zoom17;
  396.       <TextSymbolizer size="9" fill="#0066ff" dy="8" fontset-name="book-fonts" halo-radius="1" wrap-width="0" placement="interior">[name]</TextSymbolizer>
  397.     </Rule>
  398.     <Rule>
  399.       <Filter>[tourism]='guest_house'</Filter>
  400.       &maxscale_zoom17;
  401.       <TextSymbolizer size="8" fill="#0066ff" dy="9" fontset-name="book-fonts" halo-radius="1" wrap-width="0" placement="interior">[name]</TextSymbolizer>
  402.     </Rule>
  403.     <Rule>
  404.       <Filter>[tourism]='bed_and_breakfast'</Filter>
  405.       &maxscale_zoom17;
  406.       <TextSymbolizer size="8" fill="#0066ff" dy="7" fontset-name="book-fonts" halo-radius="1" wrap-width="0" placement="interior">[name]</TextSymbolizer>
  407.     </Rule>
  408.     <Rule>
  409.       <Filter>[amenity] = 'fuel' or [amenity]='bus_station'</Filter>
  410.       &maxscale_zoom17;
  411.       <TextSymbolizer size="9" fill="#0066ff" dy="9" fontset-name="book-fonts" halo-radius="1" wrap-width="0" placement="interior">[name]</TextSymbolizer>
  412.     </Rule>
  413.     <Rule>
  414.       <Filter>[tourism] = 'camp_site'</Filter>
  415.       &maxscale_zoom17;
  416.       <TextSymbolizer size="10" fill="#0066ff" dy="15" fontset-name="book-fonts" halo-radius="1" wrap-width="70" placement="interior">[name]</TextSymbolizer>
  417.     </Rule>
  418.     <Rule>
  419.       <Filter>[tourism] = 'caravan_site'</Filter>
  420.       &maxscale_zoom17;
  421.       <TextSymbolizer size="10" fill="#0066ff" dy="19" fontset-name="book-fonts" halo-radius="1" wrap-width="70" placement="interior">[name]</TextSymbolizer>
  422.     </Rule>
  423.     <Rule>
  424.       <Filter>[waterway] = 'lock'</Filter>
  425.       &maxscale_zoom15;
  426.       <TextSymbolizer size="9" fill="#0066ff" dy="10" fontset-name="book-fonts" halo-radius="1" wrap-width="70" placement="interior">[name]</TextSymbolizer>
  427.     </Rule>
  428.     <Rule>
  429.       <Filter>[leisure] = 'marina'</Filter>
  430.       &maxscale_zoom15;
  431.       &minscale_zoom16;
  432.       <TextSymbolizer size="8" fill="blue" fontset-name="book-fonts" halo-radius="1" wrap-width="30" placement="interior">[name]</TextSymbolizer>
  433.     </Rule>
  434.     <Rule>
  435.       <Filter>[leisure] = 'marina'</Filter>
  436.       &maxscale_zoom17;
  437.       <TextSymbolizer size="10" fill="blue" fontset-name="book-fonts" halo-radius="1" wrap-width="30" placement="interior">[name]</TextSymbolizer>
  438.     </Rule>
  439.     <Rule>
  440.       <Filter>[tourism] = 'theme_park'</Filter>
  441.       &maxscale_zoom14;
  442.       &minscale_zoom15;
  443.       <TextSymbolizer size="8" fill="#734a08" fontset-name="book-fonts" halo-radius="1" wrap-width="30" placement="interior">[name]</TextSymbolizer>
  444.     </Rule>
  445.     <Rule>
  446.       <Filter>[tourism] = 'theme_park'</Filter>
  447.       &maxscale_zoom16;
  448.       <TextSymbolizer size="10" fill="#734a08" fontset-name="book-fonts" halo-radius="1" wrap-width="30" placement="interior">[name]</TextSymbolizer>
  449.     </Rule>
  450.     <Rule>
  451.       <Filter>[tourism]='museum'</Filter>
  452.       &maxscale_zoom17;
  453.       <TextSymbolizer size="10" fill="#734a08" dy="10" fontset-name="book-fonts" halo-radius="1" wrap-width="0" placement="interior">[name]</TextSymbolizer>
  454.     </Rule>
  455.     <Rule>
  456.       <Filter>[amenity]='prison'</Filter>
  457.       &maxscale_zoom17;
  458.       <TextSymbolizer size="10" fill="#734a08" dy="16" fontset-name="book-fonts" halo-radius="1" wrap-width="0" placement="interior">[name]</TextSymbolizer>
  459.     </Rule>
  460.     <Rule>
  461.       <Filter>[tourism] = 'attraction'</Filter>
  462.       &maxscale_zoom16;
  463.       <TextSymbolizer size="10" fill="#660033" fontset-name="book-fonts" halo-radius="2" wrap-width="10" placement="interior">[name]</TextSymbolizer>
  464.     </Rule>
  465.     <Rule>
  466.       <Filter>[amenity] = 'university'</Filter>
  467.       &maxscale_zoom15;
  468.       <TextSymbolizer size="9" fill="#000033" fontset-name="bold-fonts" halo-radius="1" wrap-width="16" placement="interior">[name]</TextSymbolizer>
  469.     </Rule>
  470.     <Rule>
  471.       <Filter>[amenity] = 'school' or [amenity] = 'college'</Filter>
  472.       &maxscale_zoom15;
  473.       <TextSymbolizer size="9" fill="#000033" fontset-name="book-fonts" halo-radius="1" wrap-width="14" placement="interior">[name]</TextSymbolizer>
  474.     </Rule>
  475.     <Rule>
  476.       <Filter>[amenity] = 'kindergarten'</Filter>
  477.       &maxscale_zoom16;
  478.       <TextSymbolizer size="8" fill="#000033" fontset-name="book-fonts" halo-radius="1" wrap-width="14" placement="interior">[name]</TextSymbolizer>
  479.     </Rule>
  480.     <Rule>
  481.       <Filter>[man_made] = 'lighthouse'</Filter>
  482.       &maxscale_zoom15;
  483.       <TextSymbolizer size="9" fill="#000033" dy="16" fontset-name="book-fonts" halo-radius="2" wrap-width="12" placement="interior">[name]</TextSymbolizer>
  484.     </Rule>
  485.     <Rule>
  486.       <Filter>[man_made] = 'windmill'</Filter>
  487.       &maxscale_zoom17;
  488.       <TextSymbolizer size="9" fill="#734a08" dy="12" fontset-name="book-fonts" halo-radius="1" wrap-width="20" placement="interior">[name]</TextSymbolizer>
  489.     </Rule>
  490.     <Rule>
  491.       <Filter>[amenity] = 'hospital'</Filter>
  492.       &maxscale_zoom16;
  493.       <TextSymbolizer size="8" fill="#da0092" dy="10" fontset-name="book-fonts" halo-radius="2" wrap-width="24" placement="interior">[name]</TextSymbolizer>
  494.     </Rule>
  495.     <Rule>
  496.       <Filter>[amenity] = 'pharmacy'</Filter>
  497.       &maxscale_zoom17;
  498.       <TextSymbolizer size="8" fill="#da0092" dy="9" fontset-name="book-fonts" halo-radius="1" wrap-width="12" placement="interior">[name]</TextSymbolizer>
  499.     </Rule>
  500.     <Rule>
  501.       <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>
  502.       &maxscale_zoom17;
  503.       <TextSymbolizer size="8" fill="#939" dy="9" fontset-name="book-fonts" halo-radius="1" wrap-width="12" placement="interior">[name]</TextSymbolizer>
  504.     </Rule>
  505.     <Rule>
  506.       <Filter>[shop]='supermarket' or [shop]='department_store'</Filter>
  507.       &maxscale_zoom16;
  508.       <TextSymbolizer size="9" fill="#939" dy="9" fontset-name="book-fonts" halo-radius="1" wrap-width="20" placement="interior">[name]</TextSymbolizer>
  509.     </Rule>
  510.     <Rule>
  511.       <Filter>[military] = 'danger_area'</Filter>
  512.       &maxscale_zoom12;
  513.       <TextSymbolizer size="9" fill="pink" fontset-name="bold-fonts" halo-radius="1" wrap-width="10" placement="interior">[name]</TextSymbolizer>
  514.     </Rule>
  515.     <Rule>
  516.       <Filter>[aeroway] = 'gate'</Filter>
  517.       &maxscale_zoom17;
  518.       <TextSymbolizer size="10" fill="#aa66cc" fontset-name="book-fonts" halo-radius="1" wrap-width="10" placement="interior">[ref]</TextSymbolizer>
  519.     </Rule>
  520. </Style>
  521. <Style name="tunnels-casing">
  522.     <Rule>
  523.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  524.       &maxscale_zoom12;
  525.       &minscale_zoom12;
  526.       <LineSymbolizer stroke="#506077" stroke-width="3" stroke-dasharray="4,2"/>
  527.     </Rule>
  528.     <Rule>
  529.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  530.       &maxscale_zoom13;
  531.       &minscale_zoom14;
  532.       <LineSymbolizer stroke="#506077" stroke-width="6.5" stroke-dasharray="4,2"/>
  533.     </Rule>
  534.     <Rule>
  535.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  536.       &maxscale_zoom15;
  537.       &minscale_zoom16;
  538.       <LineSymbolizer stroke="#506077" stroke-width="10" stroke-dasharray="4,2"/>
  539.     </Rule>
  540.     <Rule>
  541.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  542.       &maxscale_zoom17;
  543.       &minscale_zoom18;
  544.       <LineSymbolizer stroke="#506077" stroke-width="13" stroke-dasharray="4,2"/>
  545.     </Rule>
  546.     <Rule>
  547.       <Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
  548.       &maxscale_zoom12;
  549.       &minscale_zoom12;
  550.       <LineSymbolizer stroke="#477147" stroke-width="4" stroke-dasharray="4,2"/>
  551.     </Rule>
  552.     <Rule>
  553.       <Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
  554.       &maxscale_zoom13;
  555.       &minscale_zoom14;
  556.       <LineSymbolizer stroke="#477147" stroke-width="8" stroke-dasharray="4,2"/>
  557.     </Rule>
  558.     <Rule>
  559.      <Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
  560.       &maxscale_zoom15;
  561.       &minscale_zoom16;
  562.       <LineSymbolizer stroke="#477147" stroke-width="11" stroke-dasharray="4,2"/>
  563.     </Rule>
  564.     <Rule>
  565.      <Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
  566.       &maxscale_zoom17;
  567.       &minscale_zoom18;
  568.       <LineSymbolizer stroke="#477147" stroke-width="14" stroke-dasharray="4,2"/>
  569.     </Rule>
  570.     <Rule>
  571.       <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
  572.       &maxscale_zoom12;
  573.       &minscale_zoom12;
  574.       <LineSymbolizer stroke="#8d4346" stroke-width="4" stroke-dasharray="4,2"/>
  575.     </Rule>
  576.     <Rule>
  577.       <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
  578.       &maxscale_zoom13;
  579.       &minscale_zoom14;
  580.       <LineSymbolizer stroke="#8d4346" stroke-width="8" stroke-dasharray="4,2"/>
  581.     </Rule>
  582.    <Rule>
  583.       <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
  584.       &maxscale_zoom15;
  585.       &minscale_zoom16;
  586.       <LineSymbolizer stroke="#8d4346" stroke-width="11" stroke-dasharray="4,2"/>
  587.     </Rule>
  588.     <Rule>
  589.       <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
  590.       &maxscale_zoom17;
  591.       &minscale_zoom18;
  592.       <LineSymbolizer stroke="#8d4346" stroke-width="14" stroke-dasharray="4,2"/>
  593.     </Rule>
  594.     <Rule>
  595.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  596.       &maxscale_zoom12;
  597.       &minscale_zoom12;
  598.       <LineSymbolizer stroke="#a37b48" stroke-width="4" stroke-dasharray="4,2"/>
  599.     </Rule>
  600.     <Rule>
  601.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  602.       &maxscale_zoom13;
  603.       &minscale_zoom14;
  604.       <LineSymbolizer stroke="#a37b48" stroke-width="10" stroke-dasharray="4,2"/>
  605.     </Rule>
  606.     <Rule>
  607.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  608.       &maxscale_zoom15;
  609.       &minscale_zoom16;
  610.       <LineSymbolizer stroke="#a37b48" stroke-width="12" stroke-dasharray="4,2"/>
  611.     </Rule>
  612.     <Rule>
  613.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  614.       &maxscale_zoom17;
  615.       &minscale_zoom18;
  616.       <LineSymbolizer stroke="#a37b48" stroke-width="17" stroke-dasharray="4,2"/>
  617.     </Rule>
  618.     <Rule>
  619.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  620.       &maxscale_zoom13;
  621.       &minscale_zoom13;
  622.       <LineSymbolizer stroke="#999" stroke-width="6" stroke-dasharray="4,2"/>
  623.     </Rule>
  624.     <Rule>
  625.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  626.       &maxscale_zoom14;
  627.       &minscale_zoom14;
  628.       <LineSymbolizer stroke="#999" stroke-width="7.5" stroke-dasharray="4,2"/>
  629.     </Rule>
  630.     <Rule>
  631.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  632.       &maxscale_zoom13;
  633.       &minscale_zoom13;
  634.       <LineSymbolizer stroke="#999" stroke-width="3" stroke-dasharray="4,2"/>
  635.     </Rule>
  636.     <Rule>
  637.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  638.       &maxscale_zoom14;
  639.       &minscale_zoom14;
  640.       <LineSymbolizer stroke="#999" stroke-width="4.5" stroke-dasharray="4,2"/>
  641.     </Rule>
  642.     <Rule>
  643.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  644.       &maxscale_zoom15;
  645.       &minscale_zoom15;
  646.       <LineSymbolizer stroke="#999" stroke-width="8" stroke-dasharray="4,2"/>
  647.     </Rule>
  648.     <Rule>
  649.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  650.       &maxscale_zoom16;
  651.       &minscale_zoom16;
  652.       <LineSymbolizer stroke="#999" stroke-width="11" stroke-dasharray="4,2"/>
  653.     </Rule>
  654.     <Rule>
  655.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  656.       &maxscale_zoom15;
  657.       &minscale_zoom16;
  658.       <LineSymbolizer stroke="#999" stroke-width="11" stroke-dasharray="4,2"/>
  659.     </Rule>
  660.     <Rule>
  661.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link' or [highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  662.       &maxscale_zoom17;
  663.       &minscale_zoom18;
  664.       <LineSymbolizer stroke="#999" stroke-width="16" stroke-dasharray="4,2"/>
  665.     </Rule>
  666. </Style>
  667. <Style name="tunnels-fill">
  668.     <Rule>
  669.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  670.       &maxscale_zoom12;
  671.       &minscale_zoom12;
  672.       <LineSymbolizer stroke-linejoin="round" stroke="#d6dfea" stroke-width="2" stroke-linecap="round"/>
  673.     </Rule>
  674.     <Rule>
  675.       <Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
  676.       &maxscale_zoom13;
  677.       &minscale_zoom14;
  678.       <LineSymbolizer stroke-linejoin="round" stroke="#d6dfea" stroke-width="5" stroke-linecap="round"/>
  679.     </Rule>
  680.     <Rule>
  681.       <Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
  682.       &maxscale_zoom15;
  683.       &minscale_zoom16;
  684.       <LineSymbolizer stroke-linejoin="round" stroke="#d6dfea" stroke-width="8.5" stroke-linecap="round"/>
  685.     </Rule>
  686.     <Rule>
  687.       <Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
  688.       &maxscale_zoom17;
  689.       &minscale_zoom18;
  690.       <LineSymbolizer stroke-linejoin="round" stroke="#d6dfea" stroke-width="11" stroke-linecap="round"/>
  691.     </Rule>
  692.     <Rule>
  693.       <Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
  694.       &maxscale_zoom12;
  695.       &minscale_zoom12;
  696.       <LineSymbolizer stroke-linejoin="round" stroke="#cdeacd" stroke-width="2.5" stroke-linecap="round"/>
  697.     </Rule>
  698.     <Rule>
  699.       <Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
  700.       &maxscale_zoom13;
  701.       &minscale_zoom14;
  702.       <LineSymbolizer stroke-linejoin="round" stroke="#cdeacd" stroke-width="6.5" stroke-linecap="round"/>
  703.     </Rule>    
  704.     <Rule>
  705.       <Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
  706.       &maxscale_zoom15;
  707.       &minscale_zoom16;
  708.       <LineSymbolizer stroke-linejoin="round" stroke="#cdeacd" stroke-width="9" stroke-linecap="round"/>
  709.     </Rule>
  710.     <Rule>
  711.       <Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
  712.       &maxscale_zoom17;
  713.       &minscale_zoom18;
  714.       <LineSymbolizer stroke-linejoin="round" stroke="#cdeacd" stroke-width="12" stroke-linecap="round"/>
  715.     </Rule>
  716.     <Rule>
  717.       <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
  718.       &maxscale_zoom12;
  719.       &minscale_zoom12;
  720.       <LineSymbolizer stroke-linejoin="round" stroke="#f4c3c4" stroke-width="2.5" stroke-linecap="round"/>
  721.     </Rule>
  722.     <Rule>
  723.       <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
  724.       &maxscale_zoom13;
  725.       &minscale_zoom14;
  726.       <LineSymbolizer stroke-linejoin="round" stroke="#f4c3c4" stroke-width="6.5" stroke-linecap="round"/>
  727.     </Rule>
  728.     <Rule>
  729.       <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
  730.       &maxscale_zoom15;
  731.       &minscale_zoom16;
  732.       <LineSymbolizer stroke-linejoin="round" stroke="#f4c3c4" stroke-width="9" stroke-linecap="round"/>
  733.     </Rule>
  734.     <Rule>
  735.       <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
  736.       &maxscale_zoom17;
  737.       &minscale_zoom18;
  738.       <LineSymbolizer stroke-linejoin="round" stroke="#f4c3c4" stroke-width="12" stroke-linecap="round"/>
  739.     </Rule>
  740.     <Rule>
  741.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  742.       &maxscale_zoom12;
  743.       &minscale_zoom12;
  744.       <LineSymbolizer stroke-linejoin="round" stroke="#fee0b8" stroke-width="2" stroke-linecap="round"/>
  745.     </Rule>
  746.     <Rule>
  747.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  748.       &maxscale_zoom13;
  749.       &minscale_zoom14;
  750.       <LineSymbolizer stroke-linejoin="round" stroke="#fee0b8" stroke-width="8" stroke-linecap="round"/>
  751.     </Rule>
  752.     <Rule>
  753.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  754.       &maxscale_zoom15;
  755.       &minscale_zoom16;
  756.       <LineSymbolizer stroke-linejoin="round" stroke="#fee0b8" stroke-width="10" stroke-linecap="round"/>
  757.     </Rule>
  758.     <Rule>
  759.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  760.       &maxscale_zoom17;
  761.       &minscale_zoom18;
  762.       <LineSymbolizer stroke-linejoin="round" stroke="#fee0b8" stroke-width="14" stroke-linecap="round"/>
  763.     </Rule>
  764.     <Rule>
  765.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  766.       &maxscale_zoom13;
  767.       &minscale_zoom13;
  768.       <LineSymbolizer stroke-linejoin="round" stroke="#ffc" stroke-width="5" stroke-linecap="round"/>
  769.     </Rule>
  770.     <Rule>
  771.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  772.       &maxscale_zoom14;
  773.       &minscale_zoom14;
  774.       <LineSymbolizer stroke-linejoin="round" stroke="#ffc" stroke-width="6.5" stroke-linecap="round"/>
  775.     </Rule>
  776.     <Rule>
  777.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  778.       &maxscale_zoom13;
  779.       &minscale_zoom13;
  780.       <LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="2" stroke-linecap="round"/>
  781.     </Rule>
  782.     <Rule>
  783.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  784.       &maxscale_zoom14;
  785.       &minscale_zoom14;
  786.       <LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="3" stroke-linecap="round"/>
  787.     </Rule>
  788.     <Rule>
  789.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  790.       &maxscale_zoom15;
  791.       &minscale_zoom16;
  792.       <LineSymbolizer stroke-linejoin="round" stroke="#ffc" stroke-width="9.4" stroke-linecap="round"/>
  793.     </Rule>
  794.     <Rule>
  795.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  796.       &maxscale_zoom17;
  797.       &minscale_zoom18;
  798.       <LineSymbolizer stroke-linejoin="round" stroke="#ffc" stroke-width="13" stroke-linecap="round"/>
  799.     </Rule>
  800.     <Rule>
  801.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  802.       &maxscale_zoom15;
  803.       &minscale_zoom15;
  804.       <LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="6.5" stroke-linecap="round"/>
  805.     </Rule>
  806.     <Rule>
  807.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  808.       &maxscale_zoom16;
  809.       &minscale_zoom16;
  810.       <LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="9.4" stroke-linecap="round"/>
  811.     </Rule>
  812.     <Rule>
  813.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  814.       &maxscale_zoom17;
  815.       &minscale_zoom18;
  816.       <LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="13" stroke-linecap="round"/>
  817.     </Rule>
  818. </Style>
  819. <Style name="minor-roads-casing-links">
  820.     <Rule>
  821.       <Filter>[highway]='raceway'</Filter>
  822.       &maxscale_zoom12;
  823.       &minscale_zoom12;
  824.       <LineSymbolizer stroke-linejoin="round" stroke="pink" stroke-width="1.2"/>
  825.     </Rule>
  826.     <Rule>
  827.       <Filter>[highway]='raceway'</Filter>
  828.       &maxscale_zoom13;
  829.       &minscale_zoom14;
  830.       <LineSymbolizer stroke-linejoin="round" stroke="pink" stroke-width="4"/>
  831.     </Rule>
  832.     <Rule>
  833.       <Filter>[highway]='raceway'</Filter>
  834.       &maxscale_zoom15;
  835.       &minscale_zoom18;
  836.       <LineSymbolizer stroke-linejoin="round" stroke="pink" stroke-width="7"/>
  837.     </Rule>
  838.     <Rule>
  839.       <Filter>[highway]='motorway_link' and not [tunnel] = 'yes'</Filter>
  840.       &maxscale_zoom12;
  841.       &minscale_zoom12;
  842.       <LineSymbolizer stroke-linejoin="round" stroke="#506077" stroke-width="1.5"/>
  843.     </Rule>
  844.     <Rule>
  845.       <Filter>[highway]='motorway_link' and not [tunnel] = 'yes'</Filter>
  846.       &maxscale_zoom13;
  847.       &minscale_zoom14;
  848.       <LineSymbolizer stroke-linejoin="round" stroke="#506077" stroke-width="4.5"/>
  849.     </Rule>
  850.     <Rule>
  851.       <Filter>[highway]='motorway_link' and not [tunnel] = 'yes'</Filter>
  852.       &maxscale_zoom15;
  853.       &minscale_zoom16;
  854.       <LineSymbolizer stroke-linejoin="round" stroke="#506077" stroke-width="8"/>
  855.     </Rule>
  856.     <Rule>
  857.       <Filter>[highway]='motorway_link' and not [tunnel] = 'yes'</Filter>
  858.       &maxscale_zoom17;
  859.       &minscale_zoom18;
  860.       <LineSymbolizer stroke-linejoin="round" stroke="#506077" stroke-width="11"/>
  861.     </Rule>
  862.     <Rule>
  863.      <Filter>[highway] = 'trunk_link' and not [tunnel] = 'yes'</Filter>
  864.       &maxscale_zoom12;
  865.       &minscale_zoom12;
  866.       <LineSymbolizer stroke-linejoin="round" stroke="#477147" stroke-width="3"/>
  867.     </Rule>
  868.     <Rule>
  869.      <Filter>[highway] = 'trunk_link' and not [tunnel] = 'yes'</Filter>
  870.       &maxscale_zoom13;
  871.       &minscale_zoom14;
  872.       <LineSymbolizer stroke-linejoin="round" stroke="#477147" stroke-width="7.5"/>
  873.     </Rule>
  874.     <Rule>
  875.      <Filter>[highway] = 'trunk_link' and not [tunnel] = 'yes'</Filter>
  876.       &maxscale_zoom15;
  877.       &minscale_zoom16;
  878.       <LineSymbolizer stroke-linejoin="round" stroke="#477147" stroke-width="11.5"/>
  879.     </Rule>
  880.     <Rule>
  881.      <Filter>[highway] = 'trunk_link' and not [tunnel] = 'yes'</Filter>
  882.       &maxscale_zoom17;
  883.       &minscale_zoom18;
  884.       <LineSymbolizer stroke-linejoin="round" stroke="#477147" stroke-width="16"/>
  885.     </Rule>
  886.     <Rule>
  887.       <Filter>[highway] = 'primary_link' and not [tunnel] = 'yes'</Filter>
  888.       &maxscale_zoom12;      
  889.       &minscale_zoom12;
  890.       <LineSymbolizer stroke-linejoin="round" stroke="#8d4346" stroke-width="3"/>
  891.     </Rule>
  892.     <Rule>
  893.       <Filter>[highway] = 'primary_link' and not [tunnel] = 'yes'</Filter>
  894.       &maxscale_zoom13;      
  895.       &minscale_zoom14;
  896.       <LineSymbolizer stroke-linejoin="round" stroke="#8d4346" stroke-width="7.5"/>
  897.     </Rule>
  898.     <Rule>
  899.       <Filter>[highway] = 'primary_link' and not [tunnel] = 'yes'</Filter>
  900.       &maxscale_zoom15;      
  901.       &minscale_zoom16;
  902.       <LineSymbolizer stroke-linejoin="round" stroke="#8d4346" stroke-width="11.5"/>
  903.     </Rule>
  904.     <Rule>
  905.       <Filter>[highway] = 'primary_link' and not [tunnel] = 'yes'</Filter>
  906.       &maxscale_zoom17;      
  907.       &minscale_zoom18;
  908.       <LineSymbolizer stroke-linejoin="round" stroke="#8d4346" stroke-width="16"/>
  909.     </Rule>
  910.     <Rule>
  911.       <Filter>[highway] = 'secondary_link' and not [tunnel] = 'yes'</Filter>
  912.       &maxscale_zoom12;
  913.       &minscale_zoom12;
  914.       <LineSymbolizer stroke-linejoin="round" stroke="#a37b48" stroke-width="2.5" stroke-linecap="round"/>
  915.     </Rule>
  916.     <Rule>
  917.       <Filter>[highway] = 'secondary_link' and not [tunnel] = 'yes'</Filter>
  918.       &maxscale_zoom13;
  919.       &minscale_zoom14;
  920.       <LineSymbolizer stroke-linejoin="round" stroke="#a37b48" stroke-width="8.5" stroke-linecap="round"/>
  921.     </Rule>
  922.     <Rule>
  923.       <Filter>[highway] = 'secondary_link' and not [tunnel] = 'yes'</Filter>
  924.       &maxscale_zoom15;
  925.       &minscale_zoom16;
  926.       <LineSymbolizer stroke-linejoin="round" stroke="#a37b48" stroke-width="11.5" stroke-linecap="round"/>
  927.     </Rule>
  928.     <Rule>
  929.       <Filter>[highway] = 'secondary_link' and not [tunnel] = 'yes'</Filter>
  930.       &maxscale_zoom17;
  931.       &minscale_zoom18;
  932.       <LineSymbolizer stroke-linejoin="round" stroke="#a37b48" stroke-width="16" stroke-linecap="round"/>
  933.     </Rule>
  934.     <Rule>
  935.       <Filter>[highway] = 'tertiary_link' and not [tunnel]='yes'</Filter>
  936.       &maxscale_zoom13;
  937.       &minscale_zoom13;
  938.       <LineSymbolizer stroke-linejoin="round" stroke="#bbb" stroke-width="6" stroke-linecap="round"/>
  939.     </Rule>
  940.     <Rule>
  941.       <Filter>[highway] = 'tertiary_link' and not [tunnel]='yes'</Filter>
  942.       &maxscale_zoom14;
  943.       &minscale_zoom14;
  944.       <LineSymbolizer stroke-linejoin="round" stroke="#bbb" stroke-width="7.5" stroke-linecap="round"/>
  945.     </Rule>
  946.     <Rule>
  947.       <Filter>[highway] = 'tertiary_link' and not [tunnel]='yes'</Filter>
  948.       &maxscale_zoom15;
  949.       &minscale_zoom16;
  950.       <LineSymbolizer stroke-linejoin="round" stroke="#bbb" stroke-width="11" stroke-linecap="round"/>
  951.     </Rule>
  952.     <Rule>
  953.       <Filter>[highway] = 'tertiary_link' and not [tunnel]='yes'</Filter>
  954.       &maxscale_zoom17;
  955.       &minscale_zoom18;
  956.       <LineSymbolizer stroke-linejoin="round" stroke="#bbb" stroke-width="16" stroke-linecap="round"/>
  957.     </Rule>
  958. </Style>
  959. <Style name="minor-roads-casing">
  960.     <Rule>
  961.       <Filter>[highway] = 'motorway' and not [tunnel] = 'yes'</Filter>
  962.       &maxscale_zoom12;
  963.       &minscale_zoom12;
  964.       <LineSymbolizer stroke-linejoin="round" stroke="#506077" stroke-width="3"/>
  965.     </Rule>
  966.     <Rule>
  967.      <Filter>[highway] = 'trunk' and not [tunnel] = 'yes'</Filter>
  968.       &maxscale_zoom12;
  969.       &minscale_zoom12;
  970.       <LineSymbolizer stroke-linejoin="round" stroke="#477147" stroke-width="3"/>
  971.     </Rule>
  972.     <Rule>
  973.       <Filter>[highway] = 'primary' and not [tunnel] = 'yes'</Filter>
  974.       &maxscale_zoom12;      
  975.       &minscale_zoom12;
  976.       <LineSymbolizer stroke-linejoin="round" stroke="#8d4346" stroke-width="3"/>
  977.     </Rule>
  978.     <Rule>
  979.       <Filter>[highway] = 'secondary' and not [tunnel] = 'yes'</Filter>
  980.       &maxscale_zoom12;
  981.       &minscale_zoom12;
  982.       <LineSymbolizer stroke-linejoin="round" stroke="#a37b48" stroke-width="2.5" stroke-linecap="round"/>
  983.     </Rule>
  984.     <Rule>
  985.       <Filter>[highway] = 'motorway' and not [tunnel] = 'yes'</Filter>
  986.       &maxscale_zoom13;
  987.       &minscale_zoom14;
  988.       <LineSymbolizer stroke-linejoin="round" stroke="#506077" stroke-width="6.5"/>
  989.     </Rule>
  990.     <Rule>
  991.      <Filter>[highway] = 'trunk' and not [tunnel] = 'yes'</Filter>
  992.       &maxscale_zoom13;
  993.       &minscale_zoom14;
  994.       <LineSymbolizer stroke-linejoin="round" stroke="#477147" stroke-width="7.5"/>
  995.     </Rule>
  996.     <Rule>
  997.       <Filter>[highway] = 'primary' and not [tunnel] = 'yes'</Filter>
  998.       &maxscale_zoom13;      
  999.       &minscale_zoom14;
  1000.       <LineSymbolizer stroke-linejoin="round" stroke="#8d4346" stroke-width="7.5"/>
  1001.     </Rule>
  1002.     <Rule>
  1003.       <Filter>[highway] = 'secondary' and not [tunnel] = 'yes'</Filter>
  1004.       &maxscale_zoom13;
  1005.       &minscale_zoom14;
  1006.       <LineSymbolizer stroke-linejoin="round" stroke="#a37b48" stroke-width="8.5" stroke-linecap="round"/>
  1007.     </Rule>
  1008.     <Rule>
  1009.       <Filter>[highway] = 'motorway' and not [tunnel] = 'yes'</Filter>
  1010.       &maxscale_zoom15;
  1011.       &minscale_zoom16;
  1012.       <LineSymbolizer stroke-linejoin="round" stroke="#506077" stroke-width="10"/>
  1013.     </Rule>
  1014.     <Rule>
  1015.      <Filter>[highway] = 'trunk' and not [tunnel] = 'yes'</Filter>
  1016.       &maxscale_zoom15;
  1017.       &minscale_zoom16;
  1018.       <LineSymbolizer stroke-linejoin="round" stroke="#477147" stroke-width="11.5"/>
  1019.     </Rule>
  1020.     <Rule>
  1021.       <Filter>[highway] = 'primary' and not [tunnel] = 'yes'</Filter>
  1022.       &maxscale_zoom15;      
  1023.       &minscale_zoom16;
  1024.       <LineSymbolizer stroke-linejoin="round" stroke="#8d4346" stroke-width="11.5"/>
  1025.     </Rule>
  1026.     <Rule>
  1027.       <Filter>[highway] = 'secondary' and not [tunnel] = 'yes'</Filter>
  1028.       &maxscale_zoom15;
  1029.       &minscale_zoom16;
  1030.       <LineSymbolizer stroke-linejoin="round" stroke="#a37b48" stroke-width="11.5" stroke-linecap="round"/>
  1031.     </Rule>
  1032.     <Rule>
  1033.       <Filter>[highway] = 'motorway' and not [tunnel] = 'yes'</Filter>
  1034.       &maxscale_zoom17;
  1035.       &minscale_zoom18;
  1036.       <LineSymbolizer stroke-linejoin="round" stroke="#506077" stroke-width="13"/>
  1037.     </Rule>
  1038.     <Rule>
  1039.      <Filter>[highway] = 'trunk' and not [tunnel] = 'yes'</Filter>
  1040.       &maxscale_zoom17;
  1041.       &minscale_zoom18;
  1042.       <LineSymbolizer stroke-linejoin="round" stroke="#477147" stroke-width="16"/>
  1043.     </Rule>
  1044.     <Rule>
  1045.       <Filter>[highway] = 'primary' and not [tunnel] = 'yes'</Filter>
  1046.       &maxscale_zoom17;      
  1047.       &minscale_zoom18;
  1048.       <LineSymbolizer stroke-linejoin="round" stroke="#8d4346" stroke-width="16"/>
  1049.     </Rule>
  1050.     <Rule>
  1051.       <Filter>[highway] = 'secondary' and not [tunnel] = 'yes'</Filter>
  1052.       &maxscale_zoom17;
  1053.       &minscale_zoom18;
  1054.       <LineSymbolizer stroke-linejoin="round" stroke="#a37b48" stroke-width="16" stroke-linecap="round"/>
  1055.     </Rule>
  1056.     <Rule>
  1057.       <Filter>[highway] = 'tertiary' and not [tunnel]='yes'</Filter>
  1058.       &maxscale_zoom13;
  1059.       &minscale_zoom13;
  1060.       <LineSymbolizer stroke-linejoin="round" stroke="#bbb" stroke-width="6" stroke-linecap="round"/>
  1061.     </Rule>
  1062.     <Rule>
  1063.       <Filter>([highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road') and not [tunnel]='yes'</Filter>
  1064.       &maxscale_zoom13;
  1065.       &minscale_zoom13;
  1066.       <LineSymbolizer stroke-linejoin="round" stroke="#999" stroke-width="3" stroke-linecap="round"/>
  1067.     </Rule>
  1068.     <Rule>
  1069.       <Filter>[highway] = 'tertiary' and not [tunnel]='yes'</Filter>
  1070.       &maxscale_zoom14;
  1071.       &minscale_zoom14;
  1072.       <LineSymbolizer stroke-linejoin="round" stroke="#bbb" stroke-width="7.5" stroke-linecap="round"/>
  1073.     </Rule>
  1074.     <Rule>
  1075.       <Filter>([highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road') and not [tunnel]='yes'</Filter>
  1076.       &maxscale_zoom14;
  1077.       &minscale_zoom14;
  1078.       <LineSymbolizer stroke-linejoin="round" stroke="#999" stroke-width="4.5" stroke-linecap="round"/>
  1079.     </Rule>
  1080.     <Rule>
  1081.       <Filter>([highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road') and not [tunnel]='yes'</Filter>
  1082.       &maxscale_zoom15;
  1083.       &minscale_zoom15;
  1084.       <LineSymbolizer stroke-linejoin="round" stroke="#bbb" stroke-width="8" stroke-linecap="round"/>
  1085.     </Rule>
  1086.     <Rule>
  1087.       <Filter>([highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road') and not [tunnel]='yes'</Filter>
  1088.       &maxscale_zoom16;
  1089.       &minscale_zoom16;
  1090.       <LineSymbolizer stroke-linejoin="round" stroke="#bbb" stroke-width="11" stroke-linecap="round"/>
  1091.     </Rule>
  1092.     <Rule>
  1093.       <Filter>[highway] = 'tertiary' and not [tunnel]='yes'</Filter>
  1094.       &maxscale_zoom15;
  1095.       &minscale_zoom16;
  1096.       <LineSymbolizer stroke-linejoin="round" stroke="#bbb" stroke-width="11" stroke-linecap="round"/>
  1097.     </Rule>
  1098.     <Rule>
  1099.       <Filter>([highway] = 'tertiary' or [highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road') and not [tunnel]='yes'</Filter>
  1100.       &maxscale_zoom17;
  1101.       &minscale_zoom18;
  1102.       <LineSymbolizer stroke-linejoin="round" stroke="#bbb" stroke-width="16" stroke-linecap="round"/>
  1103.     </Rule>
  1104.     <Rule>
  1105.       <Filter>[highway] = 'service' and not ([service]='INT-minor' or [tunnel]='yes')</Filter>
  1106.       &maxscale_zoom14;
  1107.       &minscale_zoom15;
  1108.       <LineSymbolizer stroke-linejoin="round" stroke="#999" stroke-width="2.5" stroke-linecap="round"/>
  1109.     </Rule>
  1110.     <Rule>
  1111.       <Filter>[highway] = 'service' and [tunnel]='yes'</Filter>
  1112.       &maxscale_zoom14;
  1113.       &minscale_zoom15;
  1114.       <LineSymbolizer stroke="#999" stroke-width="2.5" stroke-dasharray="4,2"/>
  1115.     </Rule>
  1116.     <Rule>
  1117.       <Filter>[highway] = 'service' and not ([service]='INT-minor' or [tunnel]='yes')</Filter>
  1118.       &maxscale_zoom16;
  1119.       &minscale_zoom18;
  1120.       <LineSymbolizer stroke-linejoin="round" stroke="#999" stroke-width="7" stroke-linecap="round"/>
  1121.    </Rule>
  1122.    <Rule>
  1123.       <Filter>[highway] = 'service' and [tunnel]='yes'</Filter>
  1124.       &maxscale_zoom16;
  1125.       &minscale_zoom18;
  1126.       <LineSymbolizer stroke="#999" stroke-width="7" stroke-dasharray="4,2"/>
  1127.    </Rule>
  1128.    <Rule>
  1129.       <Filter>[highway] = 'service' and [service]='INT-minor'</Filter>
  1130.       &maxscale_zoom16;
  1131.       &minscale_zoom18;
  1132.       <LineSymbolizer stroke-linejoin="round" stroke="#999" stroke-width="4" stroke-linecap="round"/>
  1133.    </Rule>
  1134.    <Rule>
  1135.       <Filter>[highway] = 'pedestrian' and not [tunnel]='yes'</Filter>
  1136.       &maxscale_zoom13;
  1137.       &minscale_zoom13;
  1138.       <LineSymbolizer stroke-linejoin="round" stroke="grey" stroke-width="2" stroke-linecap="round"/>
  1139.    </Rule>
  1140.    <Rule>
  1141.       <Filter>[highway] = 'pedestrian' and [tunnel]='yes'</Filter>
  1142.       &maxscale_zoom13;
  1143.       &minscale_zoom13;
  1144.       <LineSymbolizer stroke="grey" stroke-width="2" stroke-dasharray="4,2"/>
  1145.    </Rule>
  1146.    <Rule>
  1147.       <Filter>[highway] = 'pedestrian' and not [tunnel]='yes'</Filter>
  1148.       &maxscale_zoom14;
  1149.       &minscale_zoom14;
  1150.       <LineSymbolizer stroke-linejoin="round" stroke="grey" stroke-width="3.6" stroke-linecap="round"/>
  1151.    </Rule>
  1152.    <Rule>
  1153.       <Filter>[highway] = 'pedestrian' and [tunnel]='yes'</Filter>
  1154.       &maxscale_zoom14;
  1155.       &minscale_zoom14;
  1156.       <LineSymbolizer stroke="grey" stroke-width="3.6" stroke-dasharray="4,2"/>
  1157.    </Rule>
  1158.    <Rule>
  1159.       <Filter>[highway] = 'pedestrian' and not [tunnel]='yes'</Filter>
  1160.       &maxscale_zoom15;
  1161.       &minscale_zoom15;
  1162.       <LineSymbolizer stroke-linejoin="round" stroke="grey" stroke-width="6.5" stroke-linecap="round"/>
  1163.    </Rule>
  1164.    <Rule>
  1165.       <Filter>[highway] = 'pedestrian' and [tunnel]='yes'</Filter>
  1166.       &maxscale_zoom15;
  1167.       &minscale_zoom15;
  1168.       <LineSymbolizer stroke="grey" stroke-width="6.5" stroke-dasharray="4,2"/>
  1169.    </Rule>
  1170.    <Rule>
  1171.       <Filter>[highway] = 'pedestrian' and not [tunnel]='yes'</Filter>
  1172.       &maxscale_zoom16;
  1173.       <LineSymbolizer stroke-linejoin="round" stroke="grey" stroke-width="9" stroke-linecap="round"/>
  1174.    </Rule>
  1175.    <Rule>
  1176.       <Filter>[highway] = 'pedestrian' and [tunnel]='yes'</Filter>
  1177.       &maxscale_zoom16;
  1178.       <LineSymbolizer stroke="grey" stroke-width="9" stroke-dasharray="4,2"/>
  1179.     </Rule>
  1180.     <Rule>
  1181.       <Filter>[highway] = 'living_street'</Filter>
  1182.       &maxscale_zoom12;
  1183.       &minscale_zoom13;
  1184.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="2.5" stroke-linecap="round"/>
  1185.     </Rule>
  1186.     <Rule>
  1187.       <Filter>[highway] = 'living_street'</Filter>
  1188.       &maxscale_zoom14;
  1189.       &minscale_zoom14;
  1190.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="4" stroke-linecap="round"/>
  1191.     </Rule>
  1192.     <Rule>
  1193.       <Filter>[highway] = 'living_street'</Filter>
  1194.       &maxscale_zoom15;
  1195.       &minscale_zoom15;
  1196.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="6" stroke-linecap="round"/>
  1197.     </Rule>
  1198.    <Rule>
  1199.       <Filter>[highway] = 'living_street'</Filter>
  1200.       &maxscale_zoom16;
  1201.       &minscale_zoom16;
  1202.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="9" stroke-linecap="round"/>
  1203.     </Rule>
  1204.    <Rule>
  1205.       <Filter>[highway] = 'living_street'</Filter>
  1206.       &maxscale_zoom17;
  1207.       &minscale_zoom18;
  1208.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="14.5" stroke-linecap="round"/>
  1209.     </Rule>
  1210. </Style>
  1211. <Style name="minor-roads-fill-links">
  1212.     <Rule>
  1213.       <Filter>[highway]='motorway_link' and not [tunnel] = 'yes'</Filter>
  1214.       &maxscale_zoom12;
  1215.       &minscale_zoom12;
  1216.       <LineSymbolizer stroke="#809bc0" stroke-width="0.5"/>
  1217.     </Rule>
  1218.     <Rule>
  1219.       <Filter>[highway] = 'motorway_link' and not [tunnel] = 'yes'</Filter>
  1220.       &maxscale_zoom13;
  1221.       &minscale_zoom14;
  1222.       <LineSymbolizer stroke-linejoin="round" stroke="#809bc0" stroke-width="3" stroke-linecap="round"/>
  1223.     </Rule>
  1224.     <Rule>
  1225.       <Filter>[highway] = 'motorway_link' and not [tunnel] = 'yes'</Filter>
  1226.       &maxscale_zoom15;
  1227.       &minscale_zoom16;
  1228.       <LineSymbolizer stroke-linejoin="round" stroke="#809bc0" stroke-width="6.5" stroke-linecap="round"/>
  1229.     </Rule>
  1230.     <Rule>
  1231.       <Filter>[highway] = 'motorway_link' and not [tunnel] = 'yes'</Filter>
  1232.       &maxscale_zoom17;
  1233.       &minscale_zoom18;
  1234.       <LineSymbolizer stroke-linejoin="round" stroke="#809bc0" stroke-width="9" stroke-linecap="round"/>
  1235.     </Rule>
  1236.     <Rule>
  1237.       <Filter>[highway] = 'trunk_link' and not [tunnel] = 'yes'</Filter>
  1238.       &maxscale_zoom12;
  1239.       &minscale_zoom12;
  1240.       <LineSymbolizer stroke-linejoin="round" stroke="#a9dba9" stroke-width="2.5" stroke-linecap="round"/>
  1241.     </Rule>
  1242.     <Rule>
  1243.       <Filter>[highway] = 'trunk_link' and not [tunnel] = 'yes'</Filter>
  1244.       &maxscale_zoom13;
  1245.       &minscale_zoom14;
  1246.       <LineSymbolizer stroke-linejoin="round" stroke="#a9dba9" stroke-width="7" stroke-linecap="round"/>
  1247.     </Rule>
  1248.     <Rule>
  1249.       <Filter>[highway] = 'trunk_link' and not [tunnel] = 'yes'</Filter>
  1250.       &maxscale_zoom15;
  1251.       &minscale_zoom16;
  1252.       <LineSymbolizer stroke-linejoin="round" stroke="#a9dba9" stroke-width="11" stroke-linecap="round"/>
  1253.     </Rule>
  1254.     <Rule>
  1255.       <Filter>[highway] = 'trunk_link' and not [tunnel] = 'yes'</Filter>
  1256.       &maxscale_zoom17;
  1257.       &minscale_zoom18;
  1258.       <LineSymbolizer stroke-linejoin="round" stroke="#a9dba9" stroke-width="15.5" stroke-linecap="round"/>
  1259.    </Rule>
  1260.    <Rule>
  1261.       <Filter>[highway] = 'primary_link' and not [tunnel] = 'yes'</Filter>
  1262.       &maxscale_zoom12;
  1263.       &minscale_zoom12;
  1264.       <LineSymbolizer stroke-linejoin="round" stroke="#ec989a" stroke-width="2.5" stroke-linecap="round"/>
  1265.     </Rule>
  1266.     <Rule>
  1267.       <Filter>[highway] = 'primary_link' and not [tunnel] = 'yes'</Filter>
  1268.       &maxscale_zoom13;
  1269.       &minscale_zoom14;
  1270.       <LineSymbolizer stroke-linejoin="round" stroke="#ec989a" stroke-width="7" stroke-linecap="round"/>
  1271.     </Rule>
  1272.     <Rule>
  1273.       <Filter>[highway] = 'primary_link' and not [tunnel] = 'yes'</Filter>
  1274.       &maxscale_zoom15;
  1275.       &minscale_zoom16;
  1276.       <LineSymbolizer stroke-linejoin="round" stroke="#ec989a" stroke-width="11" stroke-linecap="round"/>
  1277.     </Rule>
  1278.     <Rule>
  1279.       <Filter>[highway] = 'primary_link' and not [tunnel] = 'yes'</Filter>
  1280.       &maxscale_zoom17;
  1281.       &minscale_zoom18;
  1282.       <LineSymbolizer stroke-linejoin="round" stroke="#ec989a" stroke-width="15.5" stroke-linecap="round"/>
  1283.     </Rule>
  1284.    <Rule>
  1285.       <Filter>[highway] = 'secondary_link' and not [tunnel]='yes'</Filter>
  1286.       &maxscale_zoom12;
  1287.       &minscale_zoom12;
  1288.       <LineSymbolizer stroke-linejoin="round" stroke="#fed7a5" stroke-width="2" stroke-linecap="round"/>
  1289.     </Rule>
  1290.     <Rule>
  1291.       <Filter>[highway] = 'secondary_link' and not [tunnel]='yes'</Filter>
  1292.       &maxscale_zoom13;
  1293.       &minscale_zoom14;
  1294.       <LineSymbolizer stroke-linejoin="round" stroke="#fed7a5" stroke-width="8" stroke-linecap="round"/>
  1295.     </Rule>
  1296.     <Rule>
  1297.       <Filter>[highway] = 'secondary_link' and not [tunnel]='yes'</Filter>
  1298.       &maxscale_zoom15;
  1299.       &minscale_zoom16;
  1300.       <LineSymbolizer stroke-linejoin="round" stroke="#fed7a5" stroke-width="11" stroke-linecap="round"/>
  1301.     </Rule>
  1302.     <Rule>
  1303.       <Filter>[highway] = 'secondary_link' and not [tunnel]='yes'</Filter>
  1304.       &maxscale_zoom17;
  1305.       &minscale_zoom18;
  1306.       <LineSymbolizer stroke-linejoin="round" stroke="#fed7a5" stroke-width="15.5" stroke-linecap="round"/>
  1307.     </Rule>
  1308.     <Rule>
  1309.       <Filter>[highway] = 'tertiary_link' and not [tunnel]='yes'</Filter>
  1310.       &maxscale_zoom13;
  1311.       &minscale_zoom13;
  1312.       <LineSymbolizer stroke-linejoin="round" stroke="#ffffb3" stroke-width="4.5" stroke-linecap="round"/>
  1313.     </Rule>
  1314.     <Rule>
  1315.       <Filter>[highway] = 'tertiary_link' and not [tunnel]='yes'</Filter>
  1316.       &maxscale_zoom14;
  1317.       &minscale_zoom14;
  1318.       <LineSymbolizer stroke-linejoin="round" stroke="#ffffb3" stroke-width="6" stroke-linecap="round"/>
  1319.     </Rule>
  1320.     <Rule>
  1321.       <Filter>[highway] = 'tertiary_link' and not [tunnel]='yes'</Filter>
  1322.       &maxscale_zoom15;
  1323.       &minscale_zoom16;
  1324.       <LineSymbolizer stroke-linejoin="round" stroke="#ffffb3" stroke-width="9.4" stroke-linecap="round"/>
  1325.     </Rule>
  1326.     <Rule>
  1327.       <Filter>[highway] = 'tertiary_link' and not [tunnel]='yes'</Filter>
  1328.       &maxscale_zoom17;
  1329.       &minscale_zoom18;
  1330.       <LineSymbolizer stroke-linejoin="round" stroke="#ffffb3" stroke-width="13" stroke-linecap="round"/>
  1331.     </Rule>
  1332. </Style>
  1333. <Style name="minor-roads-fill">
  1334.     <Rule>
  1335.       &maxscale_zoom12;
  1336.       &minscale_zoom12;
  1337.       <Filter>([highway] = 'proposed' or [highway]='construction') and not [construction] != ''</Filter>
  1338.       <LineSymbolizer stroke="#9cc" stroke-width="0"/>
  1339.       <LineSymbolizer stroke="white" stroke-width="0" stroke-dasharray="4,2"/>
  1340.     </Rule>
  1341.     <Rule>
  1342.       &maxscale_zoom12;
  1343.       &minscale_zoom12;
  1344.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='motorway' or [construction]='motorway_link')</Filter>
  1345.       <LineSymbolizer stroke="#809bc0" stroke-width="0"/>
  1346.       <LineSymbolizer stroke="white" stroke-width="0" stroke-dasharray="4,2"/>
  1347.     </Rule>
  1348.     <Rule>
  1349.       &maxscale_zoom12;
  1350.       &minscale_zoom12;
  1351.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='trunk' or [construction]='trunk_link')</Filter>
  1352.       <LineSymbolizer stroke="#a9dba9" stroke-width="0"/>
  1353.       <LineSymbolizer stroke="white" stroke-width="0" stroke-dasharray="4,2"/>
  1354.     </Rule>
  1355.     <Rule>
  1356.       &maxscale_zoom12;
  1357.       &minscale_zoom12;
  1358.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='primary' or [construction]='primary_link')</Filter>
  1359.       <LineSymbolizer stroke="#ec989a" stroke-width="0"/>
  1360.       <LineSymbolizer stroke="white" stroke-width="0" stroke-dasharray="4,2"/>
  1361.     </Rule>
  1362.     <Rule>
  1363.       &maxscale_zoom12;
  1364.       &minscale_zoom12;
  1365.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='secondary' or [construction]='secondary_link')</Filter>
  1366.       <LineSymbolizer stroke="#fed7a5" stroke-width="0"/>
  1367.       <LineSymbolizer stroke="white" stroke-width="0" stroke-dasharray="4,2"/>
  1368.     </Rule>
  1369.     <Rule>
  1370.       &maxscale_zoom13;
  1371.       &minscale_zoom15;
  1372.       <Filter>([highway] = 'proposed' or [highway]='construction') and not [construction] != ''</Filter>
  1373.       <LineSymbolizer stroke="#9cc" stroke-width="0"/>
  1374.       <LineSymbolizer stroke="white" stroke-width="0" stroke-dasharray="6,4"/>
  1375.     </Rule>
  1376.     <Rule>
  1377.       &maxscale_zoom13;
  1378.       &minscale_zoom15;
  1379.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='motorway' or [construction]='motorway_link')</Filter>
  1380.       <LineSymbolizer stroke="#809bc0" stroke-width="0"/>
  1381.       <LineSymbolizer stroke="white" stroke-width="0" stroke-dasharray="6,4"/>
  1382.     </Rule>
  1383.     <Rule>
  1384.       &maxscale_zoom13;
  1385.       &minscale_zoom15;
  1386.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='trunk' or [construction]='trunk_link')</Filter>
  1387.       <LineSymbolizer stroke="#a9dba9" stroke-width="0"/>
  1388.       <LineSymbolizer stroke="white" stroke-width="0" stroke-dasharray="6,4"/>
  1389.     </Rule>
  1390.     <Rule>
  1391.       &maxscale_zoom13;
  1392.       &minscale_zoom15;
  1393.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='primary' or [construction]='primary_link')</Filter>
  1394.       <LineSymbolizer stroke="#ec989a" stroke-width="0"/>
  1395.       <LineSymbolizer stroke="white" stroke-width="0" stroke-dasharray="6,4"/>
  1396.     </Rule>
  1397.     <Rule>
  1398.       &maxscale_zoom13;
  1399.       &minscale_zoom15;
  1400.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='secondary' or [construction]='secondary_link')</Filter>
  1401.       <LineSymbolizer stroke="#fed7a5" stroke-width="0"/>
  1402.       <LineSymbolizer stroke="white" stroke-width="0" stroke-dasharray="6,4"/>
  1403.     </Rule>
  1404.     <Rule>
  1405.       &maxscale_zoom13;
  1406.       &minscale_zoom15;
  1407.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='tertiary' or [construction]='tertiary_link')</Filter>
  1408.       <LineSymbolizer stroke="#ffffb3" stroke-width="0"/>
  1409.       <LineSymbolizer stroke="white" stroke-width="0" stroke-dasharray="6,4"/>
  1410.     </Rule>
  1411.     <Rule>
  1412.       &maxscale_zoom13;
  1413.       &minscale_zoom15;
  1414.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='residential' or [construction]='unclassified' or [construction]='living_street')</Filter>
  1415.       <LineSymbolizer stroke-linejoin="round" stroke="#aaa" stroke-width="0"/>
  1416.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="0" stroke-dasharray="6,4"/>
  1417.     </Rule>
  1418.     <Rule>
  1419.       &maxscale_zoom14;
  1420.       &minscale_zoom15;
  1421.       <Filter>([highway] = 'proposed' or [highway]='construction') and [construction]='service'</Filter>
  1422.       <LineSymbolizer stroke-linejoin="round" stroke="#aaa" stroke-width="0"/>
  1423.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="0" stroke-dasharray="6,4"/>
  1424.     </Rule>
  1425.     <Rule>
  1426.       &maxscale_zoom16;
  1427.       &minscale_zoom18;
  1428.       <Filter>([highway] = 'proposed' or [highway]='construction') and not [construction] != ''</Filter>
  1429.       <LineSymbolizer stroke="#9cc" stroke-width="0"/>
  1430.       <LineSymbolizer stroke="white" stroke-width="0" stroke-dasharray="8,6"/>
  1431.     </Rule>
  1432.     <Rule>
  1433.       &maxscale_zoom16;
  1434.       &minscale_zoom18;
  1435.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='motorway' or [construction]='motorway_link')</Filter>
  1436.       <LineSymbolizer stroke="#809bc0" stroke-width="0"/>
  1437.       <LineSymbolizer stroke="white" stroke-width="0" stroke-dasharray="8,6"/>
  1438.     </Rule>
  1439.     <Rule>
  1440.       &maxscale_zoom16;
  1441.       &minscale_zoom18;
  1442.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='trunk' or [construction]='trunk_link')</Filter>
  1443.       <LineSymbolizer stroke="#a9dba9" stroke-width="0"/>
  1444.       <LineSymbolizer stroke="white" stroke-width="0" stroke-dasharray="8,6"/>
  1445.     </Rule>
  1446.     <Rule>
  1447.       &maxscale_zoom16;
  1448.       &minscale_zoom18;
  1449.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='primary' or [construction]='primary_link')</Filter>
  1450.       <LineSymbolizer stroke="#ec989a" stroke-width="0"/>
  1451.       <LineSymbolizer stroke="white" stroke-width="0" stroke-dasharray="8,6"/>
  1452.     </Rule>
  1453.     <Rule>
  1454.       &maxscale_zoom16;
  1455.       &minscale_zoom18;
  1456.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='secondary' or [construction]='secondary_link')</Filter>
  1457.       <LineSymbolizer stroke="#fed7a5" stroke-width="0"/>
  1458.       <LineSymbolizer stroke="white" stroke-width="0" stroke-dasharray="8,6"/>
  1459.     </Rule>
  1460.     <Rule>
  1461.       &maxscale_zoom16;
  1462.       &minscale_zoom18;
  1463.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='tertiary' or [construction]='tertiary_link')</Filter>
  1464.       <LineSymbolizer stroke="#ffffb3" stroke-width="0"/>
  1465.       <LineSymbolizer stroke="white" stroke-width="0" stroke-dasharray="8,6"/>
  1466.     </Rule>
  1467.     <Rule>
  1468.       &maxscale_zoom16;
  1469.       &minscale_zoom18;
  1470.       <Filter>([highway] = 'proposed' or [highway]='construction') and ([construction]='residential' or [construction]='unclassified' or [construction]='living_street')</Filter>
  1471.       <LineSymbolizer stroke-linejoin="round" stroke="#aaa" stroke-width="0"/>
  1472.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="0" stroke-dasharray="8,6"/>
  1473.     </Rule>
  1474.     <Rule>
  1475.       &maxscale_zoom16;
  1476.       &minscale_zoom18;
  1477.       <Filter>([highway] = 'proposed' or [highway]='construction') and [construction]='service'</Filter>
  1478.       <LineSymbolizer stroke-linejoin="round" stroke="#aaa" stroke-width="0"/>
  1479.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="0" stroke-dasharray="8,6"/>
  1480.     </Rule>
  1481.     <Rule>
  1482.       &maxscale_zoom14;
  1483.       &minscale_zoom18;
  1484.       <Filter>([highway] = 'proposed' or [highway]='construction') and [construction]='cycleway'</Filter>
  1485.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="0" stroke-linecap="round" stroke-opacity="0.4"/>
  1486.       <LineSymbolizer stroke-linejoin="round" stroke="#69f" stroke-width="0" stroke-dasharray="2,6" stroke-linecap="round"/>
  1487.     </Rule>
  1488.     <Rule>
  1489.       <Filter>[highway] = 'motorway' and not [tunnel] = 'yes'</Filter>
  1490.       &maxscale_zoom12;
  1491.       &minscale_zoom12;
  1492.       <LineSymbolizer stroke="#809bc0" stroke-width="2"/>
  1493.     </Rule>
  1494.     <Rule>
  1495.       <Filter>[highway] = 'motorway' and not [tunnel] = 'yes'</Filter>
  1496.       &maxscale_zoom13;
  1497.       &minscale_zoom14;
  1498.       <LineSymbolizer stroke-linejoin="round" stroke="#809bc0" stroke-width="5" stroke-linecap="round"/>
  1499.     </Rule>
  1500.     <Rule>
  1501.       <Filter>[highway] = 'motorway' and not [tunnel] = 'yes'</Filter>
  1502.       &maxscale_zoom15;
  1503.       &minscale_zoom16;
  1504.       <LineSymbolizer stroke-linejoin="round" stroke="#809bc0" stroke-width="8.5" stroke-linecap="round"/>
  1505.     </Rule>
  1506.     <Rule>
  1507.       <Filter>[highway] = 'motorway' and not [tunnel] = 'yes'</Filter>
  1508.       &maxscale_zoom17;
  1509.       &minscale_zoom18;
  1510.       <LineSymbolizer stroke-linejoin="round" stroke="#809bc0" stroke-width="11" stroke-linecap="round"/>
  1511.     </Rule>
  1512.     <Rule>
  1513.       <Filter>[highway] = 'trunk' and not [tunnel] = 'yes'</Filter>
  1514.       &maxscale_zoom12;
  1515.       &minscale_zoom12;
  1516.       <LineSymbolizer stroke-linejoin="round" stroke="#a9dba9" stroke-width="2.5" stroke-linecap="round"/>
  1517.     </Rule>
  1518.     <Rule>
  1519.       <Filter>[highway] = 'trunk' and not [tunnel] = 'yes'</Filter>
  1520.       &maxscale_zoom13;
  1521.       &minscale_zoom14;
  1522.       <LineSymbolizer stroke-linejoin="round" stroke="#a9dba9" stroke-width="7" stroke-linecap="round"/>
  1523.     </Rule>
  1524.     <Rule>
  1525.       <Filter>[highway] = 'trunk' and not [tunnel] = 'yes'</Filter>
  1526.       &maxscale_zoom15;
  1527.       &minscale_zoom16;
  1528.       <LineSymbolizer stroke-linejoin="round" stroke="#a9dba9" stroke-width="11" stroke-linecap="round"/>
  1529.     </Rule>
  1530.     <Rule>
  1531.       <Filter>[highway] = 'trunk' and not [tunnel] = 'yes'</Filter>
  1532.       &maxscale_zoom17;
  1533.       &minscale_zoom18;
  1534.       <LineSymbolizer stroke-linejoin="round" stroke="#a9dba9" stroke-width="15.5" stroke-linecap="round"/>
  1535.    </Rule>
  1536.    <Rule>
  1537.       <Filter>[highway] = 'primary' and not [tunnel] = 'yes'</Filter>
  1538.       &maxscale_zoom11;
  1539.       &minscale_zoom12;
  1540.       <LineSymbolizer stroke-linejoin="round" stroke="#ec989a" stroke-width="2.5" stroke-linecap="round"/>
  1541.     </Rule>
  1542.     <Rule>
  1543.       <Filter>[highway] = 'primary' and not [tunnel] = 'yes'</Filter>
  1544.       &maxscale_zoom13;
  1545.       &minscale_zoom14;
  1546.       <LineSymbolizer stroke-linejoin="round" stroke="#ec989a" stroke-width="7" stroke-linecap="round"/>
  1547.     </Rule>
  1548.     <Rule>
  1549.       <Filter>[highway] = 'primary' and not [tunnel] = 'yes'</Filter>
  1550.       &maxscale_zoom15;
  1551.       &minscale_zoom16;
  1552.       <LineSymbolizer stroke-linejoin="round" stroke="#ec989a" stroke-width="11" stroke-linecap="round"/>
  1553.     </Rule>
  1554.     <Rule>
  1555.       <Filter>[highway] = 'primary' and not [tunnel] = 'yes'</Filter>
  1556.       &maxscale_zoom17;
  1557.       &minscale_zoom18;
  1558.       <LineSymbolizer stroke-linejoin="round" stroke="#ec989a" stroke-width="15.5" stroke-linecap="round"/>
  1559.     </Rule>
  1560.    <Rule>
  1561.       <Filter>[highway] = 'secondary' and not [tunnel]='yes'</Filter>
  1562.       &maxscale_zoom12;
  1563.       &minscale_zoom12;
  1564.       <LineSymbolizer stroke-linejoin="round" stroke="#fed7a5" stroke-width="2" stroke-linecap="round"/>
  1565.     </Rule>
  1566.     <Rule>
  1567.       <Filter>[highway] = 'secondary' and not [tunnel]='yes'</Filter>
  1568.       &maxscale_zoom13;
  1569.       &minscale_zoom14;
  1570.       <LineSymbolizer stroke-linejoin="round" stroke="#fed7a5" stroke-width="8" stroke-linecap="round"/>
  1571.     </Rule>
  1572.     <Rule>
  1573.       <Filter>[highway] = 'secondary' and not [tunnel]='yes'</Filter>
  1574.       &maxscale_zoom15;
  1575.       &minscale_zoom16;
  1576.       <LineSymbolizer stroke-linejoin="round" stroke="#fed7a5" stroke-width="11" stroke-linecap="round"/>
  1577.     </Rule>
  1578.     <Rule>
  1579.       <Filter>[highway] = 'secondary' and not [tunnel]='yes'</Filter>
  1580.       &maxscale_zoom17;
  1581.       &minscale_zoom18;
  1582.       <LineSymbolizer stroke-linejoin="round" stroke="#fed7a5" stroke-width="15.5" stroke-linecap="round"/>
  1583.     </Rule>
  1584.     <Rule>
  1585.       &maxscale_zoom13;
  1586.       &minscale_zoom18;
  1587.       <Filter>[railway] = 'rail' and [tunnel] = 'yes'</Filter>
  1588.       <LineSymbolizer stroke-linejoin="round" stroke="#ffffff" stroke-width="0" stroke-dasharray="1,9"/>
  1589.       <LineSymbolizer stroke-linejoin="round" stroke="#fdfdfd" stroke-width="0" stroke-dasharray="0,1,1,8"/>
  1590.       <LineSymbolizer stroke-linejoin="round" stroke="#ececec" stroke-width="0" stroke-dasharray="0,2,1,7"/>
  1591.       <LineSymbolizer stroke-linejoin="round" stroke="#cacaca" stroke-width="0" stroke-dasharray="0,3,1,6"/>
  1592.       <LineSymbolizer stroke-linejoin="round" stroke="#afafaf" stroke-width="0" stroke-dasharray="0,4,1,5"/>
  1593.       <LineSymbolizer stroke-linejoin="round" stroke="#a1a1a1" stroke-width="0" stroke-dasharray="0,5,1,4"/>
  1594.       <LineSymbolizer stroke-linejoin="round" stroke="#9b9b9b" stroke-width="0" stroke-dasharray="0,6,1,3"/>
  1595.     </Rule>
  1596.     <Rule>
  1597.       &maxscale_zoom13;
  1598.       &minscale_zoom18;
  1599.       <Filter>([railway] = 'disused' or [railway] = 'abandoned' or [railway]='construction') and not [highway] != ''</Filter>
  1600.       <LineSymbolizer stroke-linejoin="round" stroke="grey" stroke-width="0" stroke-dasharray="2,4"/>
  1601.     </Rule>
  1602.     <Rule>
  1603.       &maxscale_zoom13;
  1604.       &minscale_zoom13;
  1605.       <Filter>[railway] = 'rail' and not [tunnel] = 'yes'</Filter>
  1606.       <LineSymbolizer stroke-linejoin="round" stroke="#999999" stroke-width="0"/>
  1607.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="0" stroke-dasharray="8,12"/>
  1608.     </Rule>
  1609.     <Rule>
  1610.       &maxscale_zoom14;
  1611.       &minscale_zoom18;
  1612.       <Filter>[railway] = 'rail' and not [tunnel]='yes'</Filter>
  1613.       <LineSymbolizer stroke-linejoin="round" stroke="#999999" stroke-width="0"/>
  1614.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="0" stroke-dasharray="0,11,8,1"/>
  1615.     </Rule>
  1616.     <Rule>
  1617.       &maxscale_zoom11;
  1618.       &minscale_zoom12;
  1619.       <Filter>[railway] = 'spur-siding-yard'</Filter>
  1620.       <LineSymbolizer stroke-linejoin="round" stroke="#aaa" stroke-width="1"/>
  1621.     </Rule>
  1622.     <Rule>
  1623.       &maxscale_zoom13;
  1624.       &minscale_zoom18;
  1625.       <Filter>[railway] = 'spur-siding-yard' and [tunnel] = 'yes'</Filter>
  1626.       <LineSymbolizer stroke-linejoin="round" stroke="#ffffff" stroke-width="0" stroke-dasharray="1,9"/>
  1627.       <LineSymbolizer stroke-linejoin="round" stroke="#fdfdfd" stroke-width="0" stroke-dasharray="0,1,1,8"/>
  1628.       <LineSymbolizer stroke-linejoin="round" stroke="#ececec" stroke-width="0" stroke-dasharray="0,2,1,7"/>
  1629.       <LineSymbolizer stroke-linejoin="round" stroke="#cacaca" stroke-width="0" stroke-dasharray="0,3,1,6"/>
  1630.       <LineSymbolizer stroke-linejoin="round" stroke="#afafaf" stroke-width="0" stroke-dasharray="0,4,1,5"/>
  1631.       <LineSymbolizer stroke-linejoin="round" stroke="#a1a1a1" stroke-width="0" stroke-dasharray="0,5,1,4"/>
  1632.       <LineSymbolizer stroke-linejoin="round" stroke="#9b9b9b" stroke-width="0" stroke-dasharray="0,6,1,3"/>
  1633.     </Rule>
  1634.     <Rule>
  1635.       &maxscale_zoom13;
  1636.       &minscale_zoom18;
  1637.       <Filter>[railway] = 'spur-siding-yard' and not [tunnel] = 'yes'</Filter>
  1638.       <LineSymbolizer stroke-linejoin="round" stroke="#999999" stroke-width="0"/>
  1639.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="0" stroke-dasharray="0,8,11,1"/>
  1640.     </Rule>
  1641.     <Rule>
  1642.       &maxscale_zoom13;
  1643.       &minscale_zoom18;
  1644.       <Filter>([railway]='narrow_gauge' or [railway]='funicular') and not [tunnel]='yes'</Filter>
  1645.       <LineSymbolizer stroke="#666" stroke-width="2"/>
  1646.     </Rule>
  1647.     <Rule>
  1648.       &maxscale_zoom13;
  1649.       &minscale_zoom18;
  1650.       <Filter>([railway]='narrow_gauge' or [railway]='funicular') and [tunnel]='yes'</Filter>
  1651.       <LineSymbolizer stroke="#666" stroke-width="0" stroke-dasharray="5,3"/>
  1652.       <LineSymbolizer stroke="#fff" stroke-width="0"/>
  1653.       <LineSymbolizer stroke="#aaa" stroke-width="0"/>
  1654.     </Rule>
  1655.     <Rule>
  1656.       &maxscale_zoom15;
  1657.       &minscale_zoom18;
  1658.       <Filter>[railway]='miniature'</Filter>
  1659.       <LineSymbolizer stroke="#999" stroke-width="0"/>
  1660.       <LineSymbolizer stroke="#999" stroke-width="0" stroke-dasharray="1,10"/>
  1661.     </Rule>
  1662.     <Rule>
  1663.       &maxscale_zoom13;
  1664.       &minscale_zoom14;
  1665.       <Filter>[railway]='tram' and [tunnel]='yes'</Filter>
  1666.       <LineSymbolizer stroke="#444" stroke-width="0" stroke-dasharray="5,3"/>
  1667.     </Rule>
  1668.     <Rule>
  1669.       &maxscale_zoom15;
  1670.       &minscale_zoom18;
  1671.       <Filter>[railway]='tram' and [tunnel]='yes'</Filter>
  1672.       <LineSymbolizer stroke="#444" stroke-width="0" stroke-dasharray="5,3"/>
  1673.     </Rule>
  1674.     <Rule>
  1675.       &maxscale_zoom13;
  1676.       &minscale_zoom18;
  1677.       <Filter>[railway]='light_rail' and [tunnel] = 'yes'</Filter>
  1678.       <LineSymbolizer stroke="#666" stroke-width="0" stroke-dasharray="5,3"/>
  1679.     </Rule>
  1680.      <Rule>
  1681.       &maxscale_zoom13;
  1682.       &minscale_zoom18;
  1683.       <Filter>[railway]='light_rail' and not [tunnel] = 'yes'</Filter>
  1684.       <LineSymbolizer stroke="#666" stroke-width="2"/>
  1685.     </Rule>
  1686.     <Rule>
  1687.       &maxscale_zoom12;
  1688.       &minscale_zoom18;
  1689.       <Filter>[railway]='subway' and [tunnel] = 'yes'</Filter>
  1690.       <LineSymbolizer stroke="#999" stroke-width="0" stroke-dasharray="5,3"/>
  1691.     </Rule>
  1692.     <Rule>
  1693.       &maxscale_zoom12;
  1694.       &minscale_zoom18;
  1695.       <Filter>[railway]='subway' and not [tunnel] = 'yes'</Filter>
  1696.       <LineSymbolizer stroke="#999" stroke-width="2"/>
  1697.     </Rule>
  1698.     <Rule>
  1699.       <Filter>[highway] = 'tertiary' or [highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  1700.       &maxscale_zoom10;
  1701.       &minscale_zoom12;
  1702.       <LineSymbolizer stroke="#bbb" stroke-width="1"/>
  1703.     </Rule>
  1704.     <Rule>
  1705.       <Filter>[highway] = 'road'</Filter>
  1706.       &maxscale_zoom13;
  1707.       &minscale_zoom13;
  1708.       <LineSymbolizer stroke-linejoin="round" stroke="#ddd" stroke-width="2" stroke-linecap="round"/>
  1709.     </Rule>
  1710.     <Rule>
  1711.       <Filter>[highway] = 'road'</Filter>
  1712.       &maxscale_zoom14;
  1713.       &minscale_zoom14;
  1714.       <LineSymbolizer stroke-linejoin="round" stroke="#ddd" stroke-width="3" stroke-linecap="round"/>
  1715.     </Rule>
  1716.     <Rule>
  1717.       <Filter>[highway] = 'road'</Filter>
  1718.       &maxscale_zoom15;
  1719.       &minscale_zoom15;
  1720.       <LineSymbolizer stroke-linejoin="round" stroke="#ddd" stroke-width="6.5" stroke-linecap="round"/>
  1721.     </Rule>
  1722.     <Rule>
  1723.       <Filter>[highway] = 'road'</Filter>
  1724.       &maxscale_zoom16;
  1725.       &minscale_zoom16;
  1726.       <LineSymbolizer stroke-linejoin="round" stroke="#ddd" stroke-width="9.4" stroke-linecap="round"/>
  1727.     </Rule>
  1728.     <Rule>
  1729.       <Filter>[highway] = 'road'</Filter>
  1730.       &maxscale_zoom17;
  1731.       &minscale_zoom18;
  1732.       <LineSymbolizer stroke-linejoin="round" stroke="#ddd" stroke-width="13" stroke-linecap="round"/>
  1733.     </Rule>
  1734.     <Rule>
  1735.       <Filter>([highway] = 'residential' or [highway] = 'unclassified') and not [tunnel] = 'yes'</Filter>
  1736.       &maxscale_zoom13;
  1737.       &minscale_zoom13;
  1738.       <LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="2" stroke-linecap="round"/>
  1739.     </Rule>
  1740.     <Rule>
  1741.       <Filter>([highway] = 'residential' or [highway] = 'unclassified') and not [tunnel] = 'yes'</Filter>
  1742.       &maxscale_zoom14;
  1743.       &minscale_zoom14;
  1744.       <LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="3" stroke-linecap="round"/>
  1745.     </Rule>
  1746.     <Rule>
  1747.       <Filter>([highway] = 'residential' or [highway] = 'unclassified') and not [tunnel] = 'yes'</Filter>
  1748.       &maxscale_zoom15;
  1749.       &minscale_zoom15;
  1750.       <LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="6.5" stroke-linecap="round"/>
  1751.     </Rule>
  1752.     <Rule>
  1753.       <Filter>([highway] = 'residential' or [highway] = 'unclassified') and not [tunnel] = 'yes'</Filter>
  1754.       &maxscale_zoom16;
  1755.       &minscale_zoom16;
  1756.       <LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="9.4" stroke-linecap="round"/>
  1757.     </Rule>
  1758.     <Rule>
  1759.       <Filter>([highway] = 'residential' or [highway] = 'unclassified') and not [tunnel] = 'yes'</Filter>
  1760.       &maxscale_zoom17;
  1761.       &minscale_zoom18;
  1762.       <LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="13" stroke-linecap="round"/>
  1763.     </Rule>
  1764.     <Rule>
  1765.       <Filter>[highway] = 'living_street'</Filter>
  1766.       &maxscale_zoom12;
  1767.       &minscale_zoom13;
  1768.       <LineSymbolizer stroke-linejoin="round" stroke="#ccc" stroke-width="1.5" stroke-linecap="round"/>
  1769.     </Rule>
  1770.     <Rule>
  1771.       <Filter>[highway] = 'living_street'</Filter>
  1772.       &maxscale_zoom14;
  1773.       &minscale_zoom14;
  1774.       <LineSymbolizer stroke-linejoin="round" stroke="#ccc" stroke-width="3" stroke-linecap="round"/>
  1775.     </Rule>
  1776.     <Rule>
  1777.       <Filter>[highway] = 'living_street'</Filter>
  1778.       &maxscale_zoom15;
  1779.       &minscale_zoom15;
  1780.       <LineSymbolizer stroke-linejoin="round" stroke="#ccc" stroke-width="4.7" stroke-linecap="round"/>
  1781.     </Rule>
  1782.     <Rule>
  1783.       <Filter>[highway] = 'living_street'</Filter>
  1784.       &maxscale_zoom16;
  1785.       &minscale_zoom16;
  1786.       <LineSymbolizer stroke-linejoin="round" stroke="#ccc" stroke-width="7.4" stroke-linecap="round"/>
  1787.     </Rule>
  1788.     <Rule>
  1789.       <Filter>[highway] = 'living_street'</Filter>
  1790.       &maxscale_zoom17;
  1791.       &minscale_zoom18;
  1792.       <LineSymbolizer stroke-linejoin="round" stroke="#ccc" stroke-width="13" stroke-linecap="round"/>
  1793.     </Rule>
  1794.     <Rule>
  1795.       <Filter>[highway] = 'tertiary' and not [tunnel]='yes'</Filter>
  1796.       &maxscale_zoom13;
  1797.       &minscale_zoom13;
  1798.       <LineSymbolizer stroke-linejoin="round" stroke="#ffffb3" stroke-width="4.5" stroke-linecap="round"/>
  1799.     </Rule>
  1800.     <Rule>
  1801.       <Filter>[highway] = 'tertiary' and not [tunnel]='yes'</Filter>
  1802.       &maxscale_zoom14;
  1803.       &minscale_zoom14;
  1804.       <LineSymbolizer stroke-linejoin="round" stroke="#ffffb3" stroke-width="6" stroke-linecap="round"/>
  1805.     </Rule>
  1806.     <Rule>
  1807.       <Filter>[highway] = 'tertiary' and not [tunnel]='yes'</Filter>
  1808.       &maxscale_zoom15;
  1809.       &minscale_zoom16;
  1810.       <LineSymbolizer stroke-linejoin="round" stroke="#ffffb3" stroke-width="9.4" stroke-linecap="round"/>
  1811.     </Rule>
  1812.     <Rule>
  1813.       <Filter>[highway] = 'tertiary' and not [tunnel]='yes'</Filter>
  1814.       &maxscale_zoom17;
  1815.       &minscale_zoom18;
  1816.       <LineSymbolizer stroke-linejoin="round" stroke="#ffffb3" stroke-width="13" stroke-linecap="round"/>
  1817.     </Rule>
  1818.     <Rule>
  1819.       <Filter>[highway] = 'service' and not [service]='INT-minor'</Filter>
  1820.       &maxscale_zoom13;
  1821.       &minscale_zoom13;
  1822.       <LineSymbolizer stroke="#bbbbbb" stroke-width="1"/>
  1823.     </Rule>
  1824.     <Rule>
  1825.       <Filter>[highway] = 'service' and not [service]='INT-minor'</Filter>
  1826.       &maxscale_zoom14;
  1827.       &minscale_zoom15;
  1828.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="2" stroke-linecap="round"/>
  1829.    </Rule>
  1830.    <Rule>
  1831.       <Filter>[highway] = 'service' and not [service]='INT-minor'</Filter>
  1832.       &maxscale_zoom16;
  1833.       &minscale_zoom18;
  1834.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="6" stroke-linecap="round"/>
  1835.    </Rule>
  1836.    <Rule>
  1837.       <Filter>[highway] = 'service' and [service]='INT-minor'</Filter>
  1838.       &maxscale_zoom16;
  1839.       &minscale_zoom18;
  1840.       <LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="3" stroke-linecap="round"/>
  1841.    </Rule>
  1842.    <Rule>
  1843.       <Filter>[highway] = 'pedestrian'</Filter>
  1844.       &maxscale_zoom13;
  1845.       &minscale_zoom13;
  1846.       <LineSymbolizer stroke-linejoin="round" stroke="#ededed" stroke-width="1.5" stroke-linecap="round"/>
  1847.     </Rule>
  1848.     <Rule>
  1849.       <Filter>[highway] = 'pedestrian'</Filter>
  1850.       &maxscale_zoom14;
  1851.       &minscale_zoom14;
  1852.       <LineSymbolizer stroke-linejoin="round" stroke="#ededed" stroke-width="3" stroke-linecap="round"/>
  1853.     </Rule>
  1854.     <Rule>
  1855.       <Filter>[highway] = 'pedestrian'</Filter>
  1856.       &maxscale_zoom15;
  1857.       &minscale_zoom15;
  1858.       <LineSymbolizer stroke-linejoin="round" stroke="#ededed" stroke-width="5.5" stroke-linecap="round"/>
  1859.     </Rule>
  1860.     <Rule>
  1861.       <Filter>[highway] = 'pedestrian'</Filter>
  1862.       &maxscale_zoom16;
  1863.       <LineSymbolizer stroke-linejoin="round" stroke="#ededed" stroke-width="8" stroke-linecap="round"/>
  1864.     </Rule>
  1865.     <Rule>
  1866.        <Filter>[highway] = 'platform' or [railway] = 'platform'</Filter>
  1867.        &maxscale_zoom16;
  1868.        <LineSymbolizer stroke-linejoin="round" stroke="grey" stroke-width="6" stroke-linecap="round"/>
  1869.     </Rule>
  1870.     <Rule>
  1871.       <Filter>[railway] = 'turntable'</Filter>
  1872.       &maxscale_zoom16;
  1873.       <LineSymbolizer stroke="#999" stroke-width="1.5"/>
  1874.     </Rule>
  1875.     <Rule>
  1876.       <Filter>[highway] = 'steps'</Filter>
  1877.       &maxscale_zoom15;
  1878.       <LineSymbolizer stroke="salmon" stroke-width="0" stroke-dasharray="2,1"/>
  1879.     </Rule>  
  1880.     <Rule>
  1881.       <Filter>([highway] = 'bridleway' or ([highway] = 'path' and [horse] = 'designated')) and not [tunnel]='yes'</Filter>
  1882.       &maxscale_zoom13;
  1883.       <LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="0" stroke-linecap="round" stroke-opacity="0.4"/>
  1884.       <LineSymbolizer stroke="green" stroke-width="0" stroke-dasharray="4,2"/>
  1885.     </Rule>  
  1886.     <Rule>
  1887.       <Filter>([highway] = 'footway' or ([highway] = 'path' and [foot] = 'designated')) and not [tunnel]='yes'</Filter>
  1888.       &maxscale_zoom13;
  1889.       <LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="0" stroke-linecap="round" stroke-opacity="0.4"/>
  1890.       <LineSymbolizer stroke-linejoin="round" stroke="salmon" stroke-width="0" stroke-dasharray="1,3" stroke-linecap="round"/>
  1891.     </Rule>  
  1892.     <Rule>
  1893.       <Filter>[highway] = 'path' and not ([bicycle] = 'designated' or [foot] = 'designated' or [horse] = 'designated') and not [tunnel] = 'yes'</Filter>
  1894.       &maxscale_zoom13;
  1895.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="0" stroke-linecap="round" stroke-opacity="0.4"/>
  1896.       <LineSymbolizer stroke-linejoin="round" stroke="black" stroke-width="0" stroke-dasharray="6,3" stroke-linecap="round"/>
  1897.     </Rule>
  1898.     <Rule>
  1899.        <Filter>[highway] = 'platform' or [railway] = 'platform'</Filter>
  1900.        &maxscale_zoom16;
  1901.        <LineSymbolizer stroke-linejoin="round" stroke="#bbbbbb" stroke-width="4" stroke-linecap="round"/>
  1902.      </Rule>
  1903.     <Rule>
  1904.       <Filter>[highway] = 'steps'</Filter>
  1905.       &maxscale_zoom13;
  1906.       &minscale_zoom14;
  1907.       <LineSymbolizer stroke="#fff" stroke-width="0" stroke-opacity="0.4"/>
  1908.       <LineSymbolizer stroke-linejoin="round" stroke="salmon" stroke-width="0" stroke-dasharray="1,3" stroke-linecap="round"/>
  1909.     </Rule>
  1910.     <Rule>
  1911.       <Filter>([highway] = 'cycleway' or ([highway] = 'path' and [bicycle] = 'designated')) and not [tunnel] = 'yes'</Filter>
  1912.       &maxscale_zoom13;
  1913.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="0" stroke-linecap="round" stroke-opacity="0.4"/>
  1914.       <LineSymbolizer stroke-linejoin="round" stroke="blue" stroke-width="0" stroke-dasharray="1,3" stroke-linecap="round"/>
  1915.     </Rule>
  1916.     <Rule>
  1917.       <Filter>[highway] = 'byway'</Filter>
  1918.       &maxscale_zoom13;
  1919.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="0" stroke-linecap="round" stroke-opacity="0.4"/>
  1920.       <LineSymbolizer stroke-linejoin="round" stroke="#ffcc00" stroke-width="0" stroke-dasharray="3,4" stroke-linecap="round"/>
  1921.     </Rule>
  1922.     <Rule>
  1923.       <Filter>[highway] = 'track'</Filter>
  1924.       &maxscale_zoom13;
  1925.       &minscale_zoom13;
  1926.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="0" stroke-linecap="round" stroke-opacity="0.4"/>
  1927.       <LineSymbolizer stroke-linejoin="round" stroke="#996600" stroke-width="0" stroke-dasharray="3,4" stroke-linecap="round"/>
  1928.      </Rule>    
  1929.     <Rule>
  1930.       <Filter>[highway] = 'unsurfaced'</Filter>
  1931.       &maxscale_zoom13;
  1932.       &minscale_zoom13;
  1933.       <LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="0" stroke-linecap="round" stroke-opacity="0.4"/>
  1934.       <LineSymbolizer stroke-linejoin="round" stroke="#debd9c" stroke-width="0" stroke-dasharray="2,4" stroke-linecap="round"/>
  1935.     </Rule>
  1936.     <Rule>
  1937.       <Filter>[highway] = 'unsurfaced'</Filter>
  1938.       &maxscale_zoom14;
  1939.       <LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="0" stroke-linecap="round" stroke-opacity="0.4"/>
  1940.       <LineSymbolizer stroke-linejoin="round" stroke="#debd9c" stroke-width="0" stroke-dasharray="4,6" stroke-linecap="round"/>
  1941.     </Rule>
  1942.     <Rule>
  1943.       <Filter>[aeroway] = 'runway'</Filter>
  1944.       &maxscale_zoom11;
  1945.       &minscale_zoom11;
  1946.       <LineSymbolizer stroke="#bbc" stroke-width="2"/>
  1947.     </Rule>
  1948.     <Rule>
  1949.       <Filter>[aeroway] = 'runway'</Filter>
  1950.       &maxscale_zoom12;
  1951.       &minscale_zoom12;
  1952.       <LineSymbolizer stroke="#bbc" stroke-width="4"/>
  1953.     </Rule>
  1954.     <Rule>
  1955.       <Filter>[aeroway] = 'runway'</Filter>
  1956.       &maxscale_zoom13;
  1957.       &minscale_zoom13;
  1958.       <LineSymbolizer stroke="#bbc" stroke-width="7"/>
  1959.     </Rule>
  1960.     <Rule>
  1961.       <Filter>[aeroway] = 'runway' and not [bridge]='yes'</Filter>
  1962.       &maxscale_zoom14;
  1963.       <LineSymbolizer stroke="#bbc" stroke-width="18"/>
  1964.     </Rule>
  1965.     <Rule>
  1966.       <Filter>[aeroway] = 'taxiway'</Filter>
  1967.       &maxscale_zoom11;
  1968.       &minscale_zoom13;
  1969.       <LineSymbolizer stroke="#bbc" stroke-width="1"/>
  1970.     </Rule>
  1971.     <Rule>
  1972.       <Filter>[aeroway] = 'taxiway' and not [bridge]='yes'</Filter>
  1973.       &maxscale_zoom14;
  1974.       &minscale_zoom14;
  1975.       <LineSymbolizer stroke="#bbc" stroke-width="4"/>
  1976.     </Rule>
  1977.     <Rule>
  1978.       <Filter>[aeroway] = 'taxiway' and not [bridge]='yes'</Filter>
  1979.       &maxscale_zoom15;
  1980.       <LineSymbolizer stroke="#bbc" stroke-width="6"/>
  1981.     </Rule>
  1982. </Style>
  1983. <Style name="access">
  1984.      <Rule>
  1985.       <Filter>[access] = 'permissive' and ([highway]='unclassified' or [highway]='residential' or [highway]='footway')</Filter>
  1986.       &maxscale_zoom15;
  1987.       &minscale_zoom15;
  1988.       <LineSymbolizer stroke-linejoin="round" stroke-opacity="0.5" stroke="#cf9" stroke-linecap="round" stroke-dasharray="6,8" stroke-width="6"/>
  1989.     </Rule>
  1990.      <Rule>
  1991.       <Filter>[access] = 'permissive' and ([highway] = 'service' and not [service] = 'INT-minor')</Filter>
  1992.       &maxscale_zoom15;
  1993.       &minscale_zoom15;
  1994.       <LineSymbolizer stroke-linejoin="round" stroke-opacity="0.5" stroke="#cf9" stroke-linecap="round" stroke-dasharray="6,8" stroke-width="3"/>
  1995.     </Rule>
  1996.      <Rule>
  1997.       <Filter>[access] = 'permissive' and ([highway]='unclassified' or [highway]='residential' or [highway]='footway' or [highway]='service')</Filter>
  1998.       &maxscale_zoom16;
  1999.       <LineSymbolizer stroke-linejoin="round" stroke-opacity="0.5" stroke="#cf9" stroke-linecap="round" stroke-dasharray="6,8" stroke-width="6"/>
  2000.     </Rule>
  2001.     <Rule>
  2002.       <Filter>[access]='destination' and ([highway]='unclassified' or [highway]='residential')</Filter>
  2003.       &maxscale_zoom15;
  2004.       &minscale_zoom15;
  2005.       <LineSymbolizer stroke-linejoin="round" stroke-opacity="0.5" stroke="#c2e0ff" stroke-linecap="round" stroke-dasharray="6,8" stroke-width="6"/>
  2006.     </Rule>
  2007.     <Rule>
  2008.       <Filter>[access]='destination' and ([highway] = 'service' and not [service] = 'INT-minor')</Filter>
  2009.       &maxscale_zoom15;
  2010.       &minscale_zoom15;
  2011.       <LineSymbolizer stroke-linejoin="round" stroke-opacity="0.5" stroke="#c2e0ff" stroke-linecap="round" stroke-dasharray="6,8" stroke-width="3"/>
  2012.     </Rule>
  2013.     <Rule>
  2014.       <Filter>[access]='destination' and ([highway]='unclassified' or [highway]='residential' or [highway]='service')</Filter>
  2015.       &maxscale_zoom16;
  2016.       <LineSymbolizer stroke-linejoin="round" stroke-opacity="0.5" stroke="#c2e0ff" stroke-linecap="round" stroke-dasharray="6,8" stroke-width="6"/>
  2017.     </Rule>
  2018.     <Rule>
  2019.       <Filter>([access] = 'private' or [access] = 'no') and not [highway] = 'service'</Filter>
  2020.       &maxscale_zoom15;
  2021.       &minscale_zoom15;
  2022.       <LineSymbolizer stroke-linejoin="round" stroke-opacity="0.5" stroke="#efa9a9" stroke-linecap="round" stroke-dasharray="6,8" stroke-width="6"/>
  2023.     </Rule>
  2024.     <Rule>
  2025.       <Filter>([access] = 'private' or [access] = 'no') and ([highway] = 'service' and not [service] = 'INT-minor')</Filter>
  2026.       &maxscale_zoom15;
  2027.       &minscale_zoom15;
  2028.       <LineSymbolizer stroke-linejoin="round" stroke-opacity="0.5" stroke="#efa9a9" stroke-linecap="round" stroke-dasharray="6,8" stroke-width="3"/>
  2029.     </Rule>
  2030.     <Rule>
  2031.       <Filter>[access] = 'private' or [access] = 'no'</Filter>
  2032.       &maxscale_zoom16;
  2033.       <LineSymbolizer stroke-linejoin="round" stroke-opacity="0.5" stroke="#efa9a9" stroke-linecap="round" stroke-dasharray="6,8" stroke-width="6"/>
  2034.     </Rule>
  2035. </Style>
  2036. <Style name="footbikecycle-tunnels">
  2037.     <Rule>
  2038.       <Filter>[highway] = 'bridleway' or ([highway] = 'path' and [horse] = 'designated')</Filter>
  2039.       &maxscale_zoom13;
  2040.       <LineSymbolizer stroke="grey" stroke-width="5" stroke-dasharray="4,2"/>
  2041.       <LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="3" stroke-linecap="round"/>
  2042.       <LineSymbolizer stroke-linejoin="round" stroke-opacity="0.5" stroke="green" stroke-linecap="round" stroke-dasharray="4,2" stroke-width="2"/>
  2043.     </Rule>
  2044.     <Rule>
  2045.       <Filter>[highway] = 'footway' or ([highway] = 'path' and [foot] = 'designated')</Filter>
  2046.       &maxscale_zoom13;
  2047.       <LineSymbolizer stroke="grey" stroke-width="5.5" stroke-dasharray="4,2"/>
  2048.       <LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="3.5" stroke-linecap="round"/>
  2049.       <LineSymbolizer stroke-linejoin="round" stroke-opacity="0.5" stroke="salmon" stroke-linecap="round" stroke-dasharray="1,3" stroke-width="2.5"/>
  2050.     </Rule>
  2051.     <Rule>
  2052.       <Filter>[highway] = 'path' and not ([bicycle] = 'designated' or [foot] = 'designated' or [horse] = 'designated')</Filter>
  2053.       &maxscale_zoom13;
  2054.       <LineSymbolizer stroke="grey" stroke-width="5.5" stroke-dasharray="4,2"/>
  2055.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="1.0" stroke-linecap="round" stroke-opacity="0.4"/>
  2056.       <LineSymbolizer stroke-linejoin="round" stroke="black" stroke-width="0.5" stroke-dasharray="6,3" stroke-linecap="round"/>
  2057.     </Rule>
  2058.     <Rule>
  2059.       <Filter>[highway] = 'cycleway' or ([highway] = 'path' and [bicycle] = 'designated')</Filter>
  2060.       &maxscale_zoom13;
  2061.       <LineSymbolizer stroke="grey" stroke-width="5" stroke-dasharray="4,2"/>
  2062.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="3" stroke-linecap="round"/>
  2063.       <LineSymbolizer stroke-linejoin="round" stroke-opacity="0.5" stroke="blue" stroke-linecap="round" stroke-dasharray="1,3" stroke-width="2"/>
  2064.     </Rule>
  2065. </Style>
  2066. <Style name="tracks-notunnel-nobridge">
  2067.     <Rule>
  2068.       <Filter>[tracktype]='grade1'</Filter>
  2069.       &maxscale_zoom14;
  2070.       <LineSymbolizer stroke="white" stroke-width="3.5" stroke-opacity="0.4"/>
  2071.       <LineSymbolizer stroke="#b37700" stroke-width="2" stroke-opacity="0.7"/>
  2072.     </Rule>
  2073.     <Rule>
  2074.       <Filter>[tracktype]='grade2'</Filter>
  2075.       &maxscale_zoom14;
  2076.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="3" stroke-linecap="round" stroke-opacity="0.4"/>
  2077.       <LineSymbolizer stroke-linejoin="round" stroke-opacity="0.8" stroke="#a87000" stroke-linecap="round" stroke-dasharray="9,4" stroke-width="1.5"/>
  2078.     </Rule>
  2079.     <Rule>
  2080.       <Filter>[tracktype]='grade3'</Filter>
  2081.       &maxscale_zoom14;
  2082.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="3" stroke-linecap="round" stroke-opacity="0.4"/>
  2083.       <LineSymbolizer stroke-linejoin="round" stroke-opacity="0.8" stroke="#996600" stroke-linecap="round" stroke-dasharray="3,4" stroke-width="1.5"/>
  2084.     </Rule>
  2085.     <Rule>
  2086.       <Filter>[tracktype]='grade4'</Filter>
  2087.       &maxscale_zoom14;
  2088.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="3" stroke-linecap="round" stroke-opacity="0.4"/>
  2089.       <LineSymbolizer stroke-linejoin="round" stroke-opacity="0.8" stroke="#996600" stroke-linecap="round" stroke-dasharray="4,7,1,5" stroke-width="2"/>
  2090.     </Rule>
  2091.     <Rule>
  2092.       <Filter>[tracktype]='grade5'</Filter>
  2093.       &maxscale_zoom14;
  2094.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="3" stroke-linecap="round" stroke-opacity="0.4"/>
  2095.       <LineSymbolizer stroke-linejoin="round" stroke-opacity="0.8" stroke="#996600" stroke-linecap="round" stroke-dasharray="1,5" stroke-width="2"/>
  2096.     </Rule>
  2097.     <Rule>
  2098.       <ElseFilter/>
  2099.       &maxscale_zoom14;
  2100.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="3" stroke-linecap="round" stroke-opacity="0.4"/>
  2101.       <LineSymbolizer stroke-linejoin="round" stroke="#996600" stroke-width="1.5" stroke-dasharray="3,4" stroke-linecap="round"/>
  2102.      </Rule>    
  2103. </Style>
  2104. <Style name="tracks-tunnels">
  2105.     <Rule>
  2106.       <Filter>[tracktype]='grade1'</Filter>
  2107.       &maxscale_zoom14;
  2108.       <LineSymbolizer stroke="grey" stroke-width="5" stroke-dasharray="4,2"/>
  2109.       <LineSymbolizer stroke="white" stroke-width="3.5"/>
  2110.       <LineSymbolizer stroke="#b37700" stroke-width="2" stroke-opacity="0.5"/>
  2111.     </Rule>
  2112.     <Rule>
  2113.       <Filter>[tracktype]='grade2'</Filter>
  2114.       &maxscale_zoom14;
  2115.       <LineSymbolizer stroke="grey" stroke-width="4.5" stroke-dasharray="4,2"/>
  2116.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="3" stroke-linecap="round"/>
  2117.       <LineSymbolizer stroke-linejoin="round" stroke-opacity="0.5" stroke="#a87000" stroke-linecap="round" stroke-dasharray="3,4" stroke-width="1.5"/>
  2118.     </Rule>
  2119.     <Rule>
  2120.       <Filter>[tracktype]='grade3'</Filter>
  2121.       &maxscale_zoom14;
  2122.       <LineSymbolizer stroke="grey" stroke-width="4.5" stroke-dasharray="4,2"/>
  2123.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="3.5" stroke-linecap="round"/>
  2124.       <LineSymbolizer stroke-linejoin="round" stroke="#996600" stroke-width="2" stroke-linecap="round" stroke-opacity="0.5"/>
  2125.     </Rule>
  2126.     <Rule>
  2127.       <Filter>[tracktype]='grade4'</Filter>
  2128.       &maxscale_zoom14;
  2129.       <LineSymbolizer stroke="grey" stroke-width="4.5" stroke-dasharray="4,2"/>
  2130.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="3" stroke-linecap="round"/>
  2131.       <LineSymbolizer stroke-linejoin="round" stroke-opacity="0.5" stroke="#996600" stroke-linecap="round" stroke-dasharray="4,7,1,5" stroke-width="2"/>
  2132.     </Rule>
  2133.     <Rule>
  2134.       <Filter>[tracktype]='grade5'</Filter>
  2135.       &maxscale_zoom14;
  2136.       <LineSymbolizer stroke="grey" stroke-width="4.5" stroke-dasharray="4,2"/>
  2137.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="3" stroke-linecap="round"/>
  2138.       <LineSymbolizer stroke-linejoin="round" stroke-opacity="0.5" stroke="#996600" stroke-linecap="round" stroke-dasharray="1,5" stroke-width="2"/>
  2139.     </Rule>
  2140.     <Rule>
  2141.       <ElseFilter/>
  2142.       &maxscale_zoom14;
  2143.       <LineSymbolizer stroke="grey" stroke-width="4.5" stroke-dasharray="4,2"/>
  2144.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="3" stroke-linecap="round"/>
  2145.       <LineSymbolizer stroke-linejoin="round" stroke-opacity="0.5" stroke="#996600" stroke-linecap="round" stroke-dasharray="3,4" stroke-width="1.5"/>
  2146.      </Rule>    
  2147. </Style>
  2148. <Style name="waterway-bridges">
  2149.     <Rule>
  2150.       &maxscale_zoom14;
  2151.       &minscale_zoom16;
  2152.       <LineSymbolizer stroke-linejoin="round" stroke="#000" stroke-width="7"/>
  2153.       <LineSymbolizer stroke-linejoin="round" stroke="#b5d0d0" stroke-width="6" stroke-linecap="round"/>
  2154.       <TextSymbolizer size="9" fill="#6699cc" placement="line" fontset-name="book-fonts" halo-radius="1">[name]</TextSymbolizer>
  2155.     </Rule>
  2156.     <Rule>
  2157.       &maxscale_zoom17;
  2158.       &minscale_zoom18;
  2159.       <LineSymbolizer stroke-linejoin="round" stroke="#000" stroke-width="11"/>
  2160.       <LineSymbolizer stroke-linejoin="round" stroke="#b5d0d0" stroke-width="10" stroke-linecap="round"/>
  2161.       <TextSymbolizer size="9" fill="#6699cc" placement="line" fontset-name="book-fonts" halo-radius="1">[name]</TextSymbolizer>
  2162.     </Rule>
  2163. </Style>
  2164. <Style name="bridges_casing">
  2165.      <Rule>
  2166.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  2167.       &maxscale_zoom12;
  2168.       &minscale_zoom12;
  2169.       <LineSymbolizer stroke="#506077" stroke-width="3"/>
  2170.     </Rule>
  2171.     <Rule>
  2172.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  2173.       &maxscale_zoom13;
  2174.       &minscale_zoom14;
  2175.       <LineSymbolizer stroke="black" stroke-width="6.5"/>
  2176.     </Rule>    
  2177.     <Rule>
  2178.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  2179.       &maxscale_zoom15;
  2180.       &minscale_zoom16;
  2181.       <LineSymbolizer stroke="black" stroke-width="9"/>
  2182.     </Rule>
  2183.     <Rule>
  2184.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  2185.       &maxscale_zoom17;
  2186.       &minscale_zoom18;
  2187.       <LineSymbolizer stroke="black" stroke-width="12"/>
  2188.     </Rule>
  2189.     <Rule>
  2190.       <Filter>[highway] = 'trunk' or [highway]='trunk_link'</Filter>
  2191.       &maxscale_zoom12;
  2192.       &minscale_zoom12;
  2193.       <LineSymbolizer stroke="#477147" stroke-width="4"/>
  2194.     </Rule>
  2195.     <Rule>
  2196.       <Filter>[highway] = 'trunk' or [highway]='trunk_link'</Filter>
  2197.       &maxscale_zoom13;
  2198.       &minscale_zoom14;
  2199.       <LineSymbolizer stroke="black" stroke-width="8"/>
  2200.     </Rule>
  2201.     <Rule>
  2202.       <Filter>[highway] = 'trunk' or [highway]='trunk_link'</Filter>
  2203.       &maxscale_zoom15;
  2204.       &minscale_zoom16;
  2205.       <LineSymbolizer stroke="black" stroke-width="11"/>
  2206.     </Rule>
  2207.     <Rule>
  2208.       <Filter>[highway] = 'trunk' or [highway]='trunk_link'</Filter>
  2209.       &maxscale_zoom17;
  2210.       &minscale_zoom18;
  2211.       <LineSymbolizer stroke="black" stroke-width="16"/>
  2212.     </Rule>
  2213.     <Rule>
  2214.       <Filter>[highway] = 'primary' or [highway]='primary_link'</Filter>
  2215.       &maxscale_zoom12;
  2216.       &minscale_zoom12;
  2217.       <LineSymbolizer stroke="#8d4346" stroke-width="4"/>
  2218.     </Rule>
  2219.     <Rule>
  2220.       <Filter>[highway] = 'primary' or [highway]='primary_link'</Filter>
  2221.       &maxscale_zoom13;
  2222.       &minscale_zoom14;
  2223.       <LineSymbolizer stroke="black" stroke-width="8"/>
  2224.     </Rule>
  2225.     <Rule>
  2226.       <Filter>[highway] = 'primary' or [highway]='primary_link'</Filter>
  2227.       &maxscale_zoom15;
  2228.       &minscale_zoom16;
  2229.       <LineSymbolizer stroke="black" stroke-width="11"/>
  2230.     </Rule>
  2231.     <Rule>
  2232.       <Filter>[highway] = 'primary' or [highway]='primary_link'</Filter>
  2233.       &maxscale_zoom17;
  2234.       &minscale_zoom18;
  2235.       <LineSymbolizer stroke="black" stroke-width="16"/>
  2236.     </Rule>
  2237.     <Rule>
  2238.       <Filter>[highway] = 'secondary' or [highway]='secondary_link'</Filter>
  2239.       &maxscale_zoom13;
  2240.       &minscale_zoom14;
  2241.       <LineSymbolizer stroke="black" stroke-width="10"/>
  2242.     </Rule>
  2243.     <Rule>
  2244.       <Filter>[highway] = 'secondary' or [highway]='secondary_link'</Filter>
  2245.       &maxscale_zoom15;
  2246.       &minscale_zoom16;
  2247.       <LineSymbolizer stroke="black" stroke-width="12"/>
  2248.     </Rule>
  2249.     <Rule>
  2250.       <Filter>[highway] = 'secondary' or [highway]='secondary_link'</Filter>
  2251.       &maxscale_zoom17;
  2252.       &minscale_zoom18;
  2253.       <LineSymbolizer stroke="black" stroke-width="16"/>
  2254.     </Rule>
  2255.     <Rule>
  2256.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  2257.       &maxscale_zoom14;
  2258.       &minscale_zoom14;
  2259.       <LineSymbolizer stroke="black" stroke-width="7.5"/>
  2260.     </Rule>
  2261.     <Rule>
  2262.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  2263.       &maxscale_zoom15;
  2264.       &minscale_zoom16;
  2265.       <LineSymbolizer stroke="black" stroke-width="11"/>
  2266.     </Rule>
  2267.     <Rule>
  2268.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  2269.       &maxscale_zoom17;
  2270.       &minscale_zoom18;
  2271.       <LineSymbolizer stroke="black" stroke-width="16"/>
  2272.     </Rule>
  2273.     <Rule>
  2274.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  2275.       &maxscale_zoom14;
  2276.       &minscale_zoom14;
  2277.       <LineSymbolizer stroke="black" stroke-width="4.5"/>
  2278.     </Rule>
  2279.     <Rule>
  2280.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  2281.       &maxscale_zoom15;
  2282.       &minscale_zoom15;
  2283.       <LineSymbolizer stroke="black" stroke-width="9"/>
  2284.     </Rule>
  2285.     <Rule>
  2286.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  2287.       &maxscale_zoom16;
  2288.       &minscale_zoom16;
  2289.       <LineSymbolizer stroke="black" stroke-width="11"/>
  2290.     </Rule>
  2291.     <Rule>
  2292.       <Filter>[highway] = 'residential' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
  2293.       &maxscale_zoom17;
  2294.       &minscale_zoom18;
  2295.       <LineSymbolizer stroke="black" stroke-width="16"/>
  2296.     </Rule>
  2297.     <Rule>
  2298.       <Filter>[highway] = 'service'</Filter>
  2299.       &maxscale_zoom14;
  2300.       &minscale_zoom15;
  2301.       <LineSymbolizer stroke="black" stroke-width="3"/>
  2302.     </Rule>
  2303.     <Rule>
  2304.       <Filter>[highway] = 'service'</Filter>
  2305.       &maxscale_zoom16;
  2306.       &minscale_zoom18;
  2307.       <LineSymbolizer stroke="black" stroke-width="8"/>
  2308.     </Rule>
  2309.     <Rule>
  2310.       <Filter>[highway] = 'pedestrian'</Filter>
  2311.       &maxscale_zoom13;
  2312.       &minscale_zoom13;
  2313.       <LineSymbolizer stroke="black" stroke-width="2.2"/>
  2314.     </Rule>
  2315.     <Rule>
  2316.       <Filter>[highway] = 'pedestrian'</Filter>
  2317.       &maxscale_zoom14;
  2318.       &minscale_zoom14;
  2319.       <LineSymbolizer stroke="black" stroke-width="3.8"/>
  2320.     </Rule>
  2321.     <Rule>
  2322.       <Filter>[highway] = 'pedestrian'</Filter>
  2323.       &maxscale_zoom15;
  2324.       &minscale_zoom15;
  2325.       <LineSymbolizer stroke="black" stroke-width="7"/>
  2326.     </Rule>
  2327.     <Rule>
  2328.       <Filter>[highway] = 'pedestrian'</Filter>
  2329.       &maxscale_zoom16;
  2330.       <LineSymbolizer stroke="black" stroke-width="9.5"/>
  2331.     </Rule>
  2332.     <Rule>
  2333.       <Filter>[aeroway] = 'runway'</Filter>
  2334.       &maxscale_zoom14;
  2335.       <LineSymbolizer stroke="black" stroke-width="19"/>
  2336.     </Rule>
  2337.     <Rule>
  2338.       <Filter>[aeroway] = 'taxiway'</Filter>
  2339.       &maxscale_zoom14;
  2340.       &minscale_zoom14;
  2341.       <LineSymbolizer stroke="black" stroke-width="5"/>
  2342.     </Rule>
  2343.     <Rule>
  2344.       <Filter>[aeroway] = 'taxiway'</Filter>
  2345.       &maxscale_zoom15;
  2346.       <LineSymbolizer stroke="black" stroke-width="7"/>
  2347.     </Rule>
  2348.      <Rule>
  2349.       &maxscale_zoom14;
  2350.       &minscale_zoom18;
  2351.       <Filter>[railway]='subway'</Filter>
  2352.       <LineSymbolizer stroke="black" stroke-width="5.5"/>
  2353.      </Rule>
  2354.      <Rule>
  2355.       &maxscale_zoom14;
  2356.       &minscale_zoom18;
  2357.       <Filter>[railway]='light_rail' or [railway]='narrow_gauge'</Filter>
  2358.       <LineSymbolizer stroke="#555" stroke-width="5.5"/>
  2359.     </Rule>
  2360.     <Rule>
  2361.       <Filter>[highway] = 'unsurfaced'</Filter>
  2362.       &maxscale_zoom13;
  2363.       &minscale_zoom13;
  2364.       <LineSymbolizer stroke="black" stroke-width="5"/>
  2365.     </Rule>
  2366.     <Rule>
  2367.       <Filter>[highway] = 'unsurfaced'</Filter>
  2368.       &maxscale_zoom14;
  2369.       <LineSymbolizer stroke="black" stroke-width="6.5"/>
  2370.     </Rule>
  2371.     <Rule>
  2372.       <Filter>[highway] = 'bridleway' or ([highway] = 'path' and [horse] = 'designated')</Filter>
  2373.       &maxscale_zoom14;
  2374.       <LineSymbolizer stroke="black" stroke-width="5.5"/>
  2375.     </Rule>
  2376.     <Rule>
  2377.       <Filter>[highway] = 'footway' or ([highway] = 'path' and [foot] = 'designated')</Filter>
  2378.       &maxscale_zoom14;
  2379.       <LineSymbolizer stroke="black" stroke-width="6"/>
  2380.     </Rule>
  2381.     <Rule>
  2382.       <Filter>[highway] = 'path' and not ([bicycle] = 'designated' or [foot] = 'designated' or [horse] = 'designated')</Filter>
  2383.       &maxscale_zoom14;  
  2384.       <LineSymbolizer stroke="black" stroke-width="4"/>
  2385.     </Rule>        
  2386.     <Rule>
  2387.       <Filter>[highway] = 'cycleway' or ([highway] = 'path' and [bicycle] = 'designated')</Filter>
  2388.       &maxscale_zoom14;
  2389.       <LineSymbolizer stroke="black" stroke-width="5.5"/>
  2390.     </Rule>
  2391.     <Rule>
  2392.       <Filter>[highway] = 'byway'</Filter>
  2393.       &maxscale_zoom14;
  2394.       <LineSymbolizer stroke="black" stroke-width="5.5"/>
  2395.     </Rule>
  2396.     <Rule>
  2397.       &maxscale_zoom13;
  2398.       &minscale_zoom18;
  2399.       <Filter>[railway] = 'rail'</Filter>
  2400.       <LineSymbolizer stroke-linejoin="round" stroke="black" stroke-width="6.5"/>
  2401.     </Rule>
  2402.     <Rule>
  2403.       &maxscale_zoom13;
  2404.       &minscale_zoom18;
  2405.       <Filter>[railway] = 'INT-spur-siding-yard'</Filter>
  2406.       <LineSymbolizer stroke-linejoin="round" stroke="black" stroke-width="5.7"/>
  2407.     </Rule>
  2408.     <Rule>
  2409.       &maxscale_zoom13;
  2410.       &minscale_zoom18;
  2411.       <Filter>([railway] = 'disused' or [railway] = 'abandoned' or [railway]='construction') and not [highway] != ''</Filter>
  2412.       <LineSymbolizer stroke="black" stroke-width="6"/>
  2413.     </Rule>
  2414.     <Rule>
  2415.       <Filter>[highway] = 'track' and [tracktype] = 'grade1'</Filter>
  2416.       &maxscale_zoom14;
  2417.       <LineSymbolizer stroke="black" stroke-width="5"/>
  2418.     </Rule>
  2419.     <Rule>
  2420.       <Filter>[highway] = 'track' and [tracktype] = 'grade2'</Filter>
  2421.       &maxscale_zoom14;
  2422.       <LineSymbolizer stroke="black" stroke-width="4.5"/>
  2423.     </Rule>
  2424.     <Rule>
  2425.       <Filter>[highway] = 'track' and [tracktype] = 'grade3'</Filter>
  2426.       &maxscale_zoom14;
  2427.       <LineSymbolizer stroke="black" stroke-width="4.5"/>
  2428.     </Rule>
  2429.     <Rule>
  2430.       <Filter>[highway] = 'track' and [tracktype] = 'grade4'</Filter>
  2431.       &maxscale_zoom14;
  2432.       <LineSymbolizer stroke="black" stroke-width="4.5"/>
  2433.     </Rule>
  2434.     <Rule>
  2435.       <Filter>[highway] = 'track' and [tracktype] = 'grade5'</Filter>
  2436.       &maxscale_zoom14;
  2437.       <LineSymbolizer stroke="black" stroke-width="4.5"/>
  2438.     </Rule>
  2439.     <Rule>
  2440.       <Filter>[highway] = 'track' and not [tracktype] != ''</Filter>
  2441.       &maxscale_zoom14;
  2442.       <LineSymbolizer stroke="black" stroke-width="4.5"/>
  2443.      </Rule>    
  2444. </Style>
  2445. <Style name="bridges_casing2">
  2446.     <Rule>
  2447.       &maxscale_zoom14;
  2448.       &minscale_zoom18;
  2449.       <Filter>[railway]='subway'</Filter>
  2450.       <LineSymbolizer stroke="white" stroke-width="4"/>
  2451.     </Rule>
  2452.     <Rule>
  2453.       &maxscale_zoom14;
  2454.       &minscale_zoom18;
  2455.       <Filter>[railway]='light_rail' or [railway]='narrow_gauge'</Filter>
  2456.       <LineSymbolizer stroke="white" stroke-width="4"/>
  2457.     </Rule>
  2458.     <Rule>
  2459.       <Filter>[highway] = 'unsurfaced'</Filter>
  2460.       &maxscale_zoom13;
  2461.       &minscale_zoom13;
  2462.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="4" stroke-linecap="round"/>
  2463.     </Rule>
  2464.     <Rule>
  2465.       <Filter>[highway] = 'unsurfaced'</Filter>
  2466.       &maxscale_zoom14;
  2467.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="5" stroke-linecap="round"/>
  2468.     </Rule>
  2469.     <Rule>
  2470.       <Filter>[highway] = 'bridleway' or ([highway] = 'path' and [horse] = 'designated')</Filter>
  2471.       &maxscale_zoom14;
  2472.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="4" stroke-linecap="round"/>
  2473.     </Rule>
  2474.     <Rule>
  2475.       <Filter>[highway] = 'footway' or ([highway] = 'path' and [foot] = 'designated')</Filter>
  2476.       &maxscale_zoom14;
  2477.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="4.5" stroke-linecap="round"/>
  2478.     </Rule>
  2479.     <Rule>
  2480.       <Filter>[highway] = 'path' and not ([bicycle] = 'designated' or [foot] = 'designated' or [horse] = 'designated')</Filter>
  2481.       &maxscale_zoom14;  
  2482.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="2.5" stroke-linecap="round"/>
  2483.     </Rule>        
  2484.     <Rule>
  2485.       <Filter>[highway] = 'cycleway' or ([highway] = 'path' and [bicycle] = 'designated')</Filter>
  2486.       &maxscale_zoom14;
  2487.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="4" stroke-linecap="round"/>
  2488.     </Rule>
  2489.     <Rule>
  2490.       <Filter>[highway] = 'byway'</Filter>
  2491.       &maxscale_zoom14;
  2492.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="4" stroke-linecap="round"/>
  2493.     </Rule>
  2494.     <Rule>
  2495.       &maxscale_zoom13;
  2496.       &minscale_zoom18;
  2497.       <Filter>[railway] = 'rail'</Filter>
  2498.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="5"/>
  2499.     </Rule>
  2500.     <Rule>
  2501.       &maxscale_zoom13;
  2502.       &minscale_zoom18;
  2503.       <Filter>[railway] = 'INT-spur-siding-yard'</Filter>
  2504.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="4"/>
  2505.     </Rule>
  2506.     <Rule>
  2507.       &maxscale_zoom13;
  2508.       &minscale_zoom18;
  2509.       <Filter>([railway] = 'disused' or [railway] = 'abandoned' or [railway]='construction') and not [highway] != ''</Filter>
  2510.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="4.5" stroke-linecap="round"/>
  2511.     </Rule>
  2512.     <Rule>
  2513.       <Filter>[highway] = 'track' and [tracktype] = 'grade1'</Filter>
  2514.       &maxscale_zoom14;
  2515.       <LineSymbolizer stroke="white" stroke-width="3.5"/>
  2516.     </Rule>
  2517.     <Rule>
  2518.       <Filter>[highway] = 'track' and [tracktype] = 'grade2'</Filter>
  2519.       &maxscale_zoom14;
  2520.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="3" stroke-linecap="round"/>
  2521.     </Rule>
  2522.     <Rule>
  2523.      <Filter>[highway] = 'track' and [tracktype] = 'grade3'</Filter>
  2524.       &maxscale_zoom14;
  2525.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="3.5" stroke-linecap="round"/>
  2526.     </Rule>
  2527.     <Rule>
  2528.       <Filter>[highway] = 'track' and [tracktype] = 'grade4'</Filter>
  2529.       &maxscale_zoom14;
  2530.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="3" stroke-linecap="round"/>
  2531.     </Rule>
  2532.     <Rule>
  2533.       <Filter>[highway] = 'track' and [tracktype] = 'grade5'</Filter>
  2534.       &maxscale_zoom14;
  2535.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="3" stroke-linecap="round"/>
  2536.     </Rule>
  2537.     <Rule>
  2538.       <Filter>[highway] = 'track' and not [tracktype] != ''</Filter>
  2539.       &maxscale_zoom14;
  2540.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="3" stroke-linecap="round"/>
  2541.      </Rule>    
  2542. </Style>
  2543. <Style name="bridges_fill">
  2544.      <Rule>
  2545.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  2546.       &maxscale_zoom12;
  2547.       &minscale_zoom12;
  2548.       <LineSymbolizer stroke-linejoin="round" stroke="#809bc0" stroke-width="2" stroke-linecap="round"/>
  2549.     </Rule>  
  2550.     <Rule>
  2551.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  2552.       &maxscale_zoom13;
  2553.       &minscale_zoom14;
  2554.       <LineSymbolizer stroke-linejoin="round" stroke="#809bc0" stroke-width="5.5" stroke-linecap="round"/>
  2555.     </Rule>  
  2556.     <Rule>
  2557.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  2558.       &maxscale_zoom15;
  2559.       &minscale_zoom16;
  2560.       <LineSymbolizer stroke-linejoin="round" stroke="#809bc0" stroke-width="7.5" stroke-linecap="round"/>
  2561.     </Rule>
  2562.    <Rule>
  2563.       <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
  2564.       &maxscale_zoom17;
  2565.       &minscale_zoom18;
  2566.       <LineSymbolizer stroke-linejoin="round" stroke="#809bc0" stroke-width="10" stroke-linecap="round"/>
  2567.     </Rule>
  2568.     <Rule>
  2569.       <Filter>[highway] = 'trunk' or [highway]='trunk_link'</Filter>
  2570.       &maxscale_zoom12;
  2571.       &minscale_zoom12;
  2572.       <LineSymbolizer stroke-linejoin="round" stroke="#a9dba9" stroke-width="3" stroke-linecap="round"/>
  2573.     </Rule>
  2574.     <Rule>
  2575.       <Filter>[highway] = 'trunk' or [highway]='trunk_link'</Filter>
  2576.       &maxscale_zoom13;
  2577.       &minscale_zoom14;
  2578.       <LineSymbolizer stroke-linejoin="round" stroke="#a9dba9" stroke-width="7" stroke-linecap="round"/>
  2579.     </Rule>
  2580.     <Rule>
  2581.       <Filter>[highway] = 'trunk' or [highway]='trunk_link'</Filter>
  2582.       &maxscale_zoom15;
  2583.       &minscale_zoom16;
  2584.       <LineSymbolizer stroke-linejoin="round" stroke="#a9dba9" stroke-width="9.5" stroke-linecap="round"/>
  2585.     </Rule>
  2586.     <Rule>
  2587.       <Filter>[highway] = 'trunk' or [highway]='trunk_link'</Filter>
  2588.       &maxscale_zoom17;
  2589.       &minscale_zoom18;
  2590.       <LineSymbolizer stroke-linejoin="round" stroke="#a9dba9" stroke-width="14.5" stroke-linecap="round"/>
  2591.     </Rule>
  2592.     <Rule>
  2593.       <Filter>[highway] = 'primary' or [highway]='primary_link'</Filter>
  2594.       &maxscale_zoom12;
  2595.       &minscale_zoom12;
  2596.       <LineSymbolizer stroke-linejoin="round" stroke="#ec989a" stroke-width="3" stroke-linecap="round"/>
  2597.     </Rule>
  2598.     <Rule>
  2599.       <Filter>[highway] = 'primary' or [highway]='primary_link'</Filter>
  2600.       &maxscale_zoom13;
  2601.       &minscale_zoom14;
  2602.       <LineSymbolizer stroke-linejoin="round" stroke="#ec989a" stroke-width="7" stroke-linecap="round"/>
  2603.     </Rule>  
  2604.     <Rule>
  2605.       <Filter>[highway] = 'primary' or [highway]='primary_link'</Filter>
  2606.       &maxscale_zoom15;
  2607.       &minscale_zoom16;
  2608.       <LineSymbolizer stroke-linejoin="round" stroke="#ec989a" stroke-width="9.5" stroke-linecap="round"/>
  2609.     </Rule>
  2610.     <Rule>
  2611.       <Filter>[highway] = 'primary' or [highway]='primary_link'</Filter>
  2612.       &maxscale_zoom17;
  2613.       &minscale_zoom18;
  2614.       <LineSymbolizer stroke-linejoin="round" stroke="#ec989a" stroke-width="14.5" stroke-linecap="round"/>
  2615.     </Rule>
  2616.     <Rule>
  2617.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  2618.       &maxscale_zoom13;
  2619.       &minscale_zoom14;
  2620.       <LineSymbolizer stroke-linejoin="round" stroke="#fed7a5" stroke-width="9" stroke-linecap="round"/>
  2621.     </Rule>
  2622.     <Rule>
  2623.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  2624.       &maxscale_zoom15;
  2625.       &minscale_zoom16;
  2626.       <LineSymbolizer stroke-linejoin="round" stroke="#fed7a5" stroke-width="10.5" stroke-linecap="round"/>
  2627.     </Rule>  
  2628.     <Rule>
  2629.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  2630.       &maxscale_zoom17;
  2631.       &minscale_zoom18;
  2632.       <LineSymbolizer stroke-linejoin="round" stroke="#fed7a5" stroke-width="14.5" stroke-linecap="round"/>
  2633.     </Rule>
  2634.     <Rule>
  2635.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  2636.       &maxscale_zoom14;
  2637.       &minscale_zoom14;
  2638.       <LineSymbolizer stroke-linejoin="round" stroke="#ffffb3" stroke-width="6" stroke-linecap="round"/>
  2639.     </Rule>
  2640.     <Rule>
  2641.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  2642.       &maxscale_zoom15;
  2643.       &minscale_zoom16;
  2644.       <LineSymbolizer stroke-linejoin="round" stroke="#ffffb3" stroke-width="9.5" stroke-linecap="round"/>
  2645.     </Rule>
  2646.     <Rule>
  2647.       <Filter>[highway] = 'tertiary' or [highway]='tertiary_link'</Filter>
  2648.       &maxscale_zoom17;
  2649.       &minscale_zoom18;
  2650.       <LineSymbolizer stroke-linejoin="round" stroke="#ffffb3" stroke-width="14" stroke-linecap="round"/>
  2651.     </Rule>
  2652.     <Rule>
  2653.       <Filter>[highway] = 'road'</Filter>
  2654.       &maxscale_zoom14;
  2655.       &minscale_zoom14;
  2656.       <LineSymbolizer stroke-linejoin="round" stroke="#ddd" stroke-width="3.5" stroke-linecap="round"/>
  2657.     </Rule>
  2658.     <Rule>
  2659.       <Filter>[highway] = 'road'</Filter>
  2660.       &maxscale_zoom15;
  2661.       &minscale_zoom16;
  2662.       <LineSymbolizer stroke-linejoin="round" stroke="#ddd" stroke-width="9.5" stroke-linecap="round"/>
  2663.     </Rule>
  2664.     <Rule>
  2665.       <Filter>[highway] = 'road'</Filter>
  2666.       &maxscale_zoom17;
  2667.       &minscale_zoom18;
  2668.       <LineSymbolizer stroke-linejoin="round" stroke="#ddd" stroke-width="14" stroke-linecap="round"/>
  2669.     </Rule>
  2670.     <Rule>
  2671.       <Filter>[highway] = 'residential' or [highway] = 'unclassified'</Filter>
  2672.       &maxscale_zoom14;
  2673.       &minscale_zoom14;
  2674.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="3.5" stroke-linecap="round"/>
  2675.     </Rule>
  2676.    <Rule>
  2677.       <Filter>[highway] = 'residential' or [highway] = 'unclassified'</Filter>
  2678.       &maxscale_zoom15;
  2679.       &minscale_zoom15;
  2680.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="7.5" stroke-linecap="round"/>
  2681.     </Rule>
  2682.     <Rule>
  2683.       <Filter>[highway] = 'residential' or [highway] = 'unclassified'</Filter>
  2684.       &maxscale_zoom16;
  2685.       &minscale_zoom16;
  2686.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="9.5" stroke-linecap="round"/>
  2687.     </Rule>
  2688.     <Rule>
  2689.       <Filter>[highway] = 'residential' or [highway] = 'unclassified'</Filter>
  2690.       &maxscale_zoom17;
  2691.       &minscale_zoom18;
  2692.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="14" stroke-linecap="round"/>
  2693.     </Rule>
  2694.     <Rule>
  2695.       <Filter>[highway] = 'service'</Filter>
  2696.       &maxscale_zoom14;
  2697.       &minscale_zoom15;
  2698.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="2" stroke-linecap="round"/>
  2699.     </Rule>
  2700.     <Rule>
  2701.       <Filter>[highway] = 'service'</Filter>
  2702.       &maxscale_zoom16;
  2703.       &minscale_zoom18;
  2704.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="6" stroke-linecap="round"/>
  2705.     </Rule>
  2706.     <Rule>
  2707.       <Filter>[highway] = 'pedestrian'</Filter>
  2708.       &maxscale_zoom13;
  2709.       &minscale_zoom13;
  2710.       <LineSymbolizer stroke-linejoin="round" stroke="#ededed" stroke-width="1.5" stroke-linecap="round"/>
  2711.     </Rule>
  2712.     <Rule>
  2713.       <Filter>[highway] = 'pedestrian'</Filter>
  2714.       &maxscale_zoom14;
  2715.       &minscale_zoom14;
  2716.       <LineSymbolizer stroke-linejoin="round" stroke="#ededed" stroke-width="3" stroke-linecap="round"/>
  2717.     </Rule>
  2718.     <Rule>
  2719.       <Filter>[highway] = 'pedestrian'</Filter>
  2720.       &maxscale_zoom15;
  2721.       &minscale_zoom15;
  2722.       <LineSymbolizer stroke-linejoin="round" stroke="#ededed" stroke-width="5.5" stroke-linecap="round"/>
  2723.     </Rule>
  2724.     <Rule>
  2725.       <Filter>[highway] = 'pedestrian'</Filter>
  2726.       &maxscale_zoom16;
  2727.       <LineSymbolizer stroke-linejoin="round" stroke="#ededed" stroke-width="8" stroke-linecap="round"/>
  2728.     </Rule>
  2729.     <Rule>
  2730.       <Filter>[aeroway] = 'runway'</Filter>
  2731.       &maxscale_zoom14;
  2732.       <LineSymbolizer stroke="#bbc" stroke-width="18"/>
  2733.     </Rule>
  2734.     <Rule>
  2735.       <Filter>[aeroway] = 'taxiway'</Filter>
  2736.       &maxscale_zoom14;
  2737.       &minscale_zoom14;
  2738.       <LineSymbolizer stroke="#bbc" stroke-width="4"/>
  2739.     </Rule>
  2740.     <Rule>
  2741.       <Filter>[aeroway] = 'taxiway'</Filter>
  2742.       &maxscale_zoom15;
  2743.       <LineSymbolizer stroke="#bbc" stroke-width="6"/>
  2744.     </Rule>
  2745.     <Rule>
  2746.       &maxscale_zoom14;
  2747.       &minscale_zoom18;
  2748.       <Filter>[railway]='subway'</Filter>
  2749.       <LineSymbolizer stroke="#999" stroke-width="2"/>
  2750.     </Rule>
  2751.     <Rule>
  2752.       &maxscale_zoom14;
  2753.       &minscale_zoom18;
  2754.       <Filter>[railway]='light_rail' or [railway]='narrow_gauge'</Filter>
  2755.       <LineSymbolizer stroke="#666" stroke-width="2"/>
  2756.     </Rule>
  2757.     <Rule>
  2758.       <Filter>[highway] = 'unsurfaced'</Filter>
  2759.       &maxscale_zoom13;
  2760.       &minscale_zoom13;
  2761.       <LineSymbolizer stroke-linejoin="round" stroke="#debd9c" stroke-width="3" stroke-dasharray="2,4" stroke-linecap="round"/>
  2762.     </Rule>
  2763.     <Rule>
  2764.       <Filter>[highway] = 'unsurfaced'</Filter>
  2765.       &maxscale_zoom14;
  2766.       <LineSymbolizer stroke-linejoin="round" stroke="#debd9c" stroke-width="4" stroke-dasharray="4,6" stroke-linecap="round"/>
  2767.     </Rule>
  2768.     <Rule>
  2769.       <Filter>[highway] = 'bridleway' or ([highway] = 'path' and [horse] = 'designated')</Filter>
  2770.       &maxscale_zoom14;
  2771.       <LineSymbolizer stroke="green" stroke-width="1.5" stroke-dasharray="4,2"/>
  2772.     </Rule>
  2773.     <Rule>
  2774.       <Filter>[highway] = 'footway' or ([highway] = 'path' and [foot] = 'designated')</Filter>
  2775.       &maxscale_zoom14;
  2776.       <LineSymbolizer stroke-linejoin="round" stroke="salmon" stroke-width="2.0" stroke-dasharray="1,3" stroke-linecap="round"/>
  2777.     </Rule>
  2778.     <Rule>
  2779.       <Filter>[highway] = 'path' and not ([bicycle] = 'designated' or [foot] = 'designated' or [horse] = 'designated')</Filter>
  2780.       &maxscale_zoom14;  
  2781.       <LineSymbolizer stroke-linejoin="round" stroke="black" stroke-width="0.5" stroke-dasharray="6,3" stroke-linecap="round"/>
  2782.     </Rule>        
  2783.     <Rule>
  2784.       <Filter>[highway] = 'cycleway' or ([highway] = 'path' and [bicycle] = 'designated')</Filter>
  2785.       &maxscale_zoom14;
  2786.       <LineSymbolizer stroke-linejoin="round" stroke="blue" stroke-width="1.5" stroke-dasharray="1,3" stroke-linecap="round"/>
  2787.     </Rule>
  2788.     <Rule>
  2789.       <Filter>[highway] = 'byway'</Filter>
  2790.       &maxscale_zoom14;
  2791.       <LineSymbolizer stroke-linejoin="round" stroke="#ffcc00" stroke-width="1.5" stroke-dasharray="3,4" stroke-linecap="round"/>
  2792.     </Rule>
  2793.     <Rule>
  2794.       &maxscale_zoom13;
  2795.       &minscale_zoom13;
  2796.       <Filter>[railway] = 'rail'</Filter>
  2797.       <LineSymbolizer stroke-linejoin="round" stroke="#999999" stroke-width="3"/>
  2798.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="1" stroke-dasharray="8,12"/>
  2799.     </Rule>
  2800.     <Rule>
  2801.       &maxscale_zoom14;
  2802.       &minscale_zoom18;
  2803.       <Filter>[railway] = 'rail'</Filter>
  2804.       <LineSymbolizer stroke-linejoin="round" stroke="#999999" stroke-width="3"/>
  2805.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="1" stroke-dasharray="0,11,8,1"/>
  2806.     </Rule>
  2807.     <Rule>
  2808.       &maxscale_zoom13;
  2809.       &minscale_zoom18;
  2810.       <Filter>[railway] = 'INT-spur-siding-yard'</Filter>
  2811.       <LineSymbolizer stroke-linejoin="round" stroke="#999999" stroke-width="2"/>
  2812.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="0.8" stroke-dasharray="0,8,11,1"/>
  2813.     </Rule>
  2814.     <Rule>
  2815.       &maxscale_zoom13;
  2816.       &minscale_zoom18;
  2817.       <Filter>([railway] = 'disused' or [railway] = 'abandoned' or [railway]='construction') and not [highway] != ''</Filter>
  2818.       <LineSymbolizer stroke-linejoin="round" stroke="grey" stroke-width="2" stroke-dasharray="2,4"/>
  2819.     </Rule>
  2820.     <Rule>
  2821.       <Filter>[highway] = 'track' and [tracktype] = 'grade1'</Filter>
  2822.       &maxscale_zoom14;
  2823.       <LineSymbolizer stroke="#b37700" stroke-width="2" stroke-opacity="0.7"/>
  2824.     </Rule>
  2825.     <Rule>
  2826.       <Filter>[highway] = 'track' and [tracktype] = 'grade2'</Filter>
  2827.       &maxscale_zoom14;
  2828.       <LineSymbolizer stroke-linejoin="round" stroke-opacity="0.8" stroke="#a87000" stroke-linecap="round" stroke-dasharray="3,4" stroke-width="1.5"/>
  2829.     </Rule>
  2830.     <Rule>
  2831.       <Filter>[highway] = 'track' and [tracktype] = 'grade3'</Filter>
  2832.       &maxscale_zoom14;
  2833.       <LineSymbolizer stroke-linejoin="round" stroke="#996600" stroke-width="2" stroke-linecap="round" stroke-opacity="0.7"/>
  2834.     </Rule>
  2835.     <Rule>
  2836.       <Filter>[highway] = 'track' and [tracktype] = 'grade4'</Filter>
  2837.       &maxscale_zoom14;
  2838.       <LineSymbolizer stroke-linejoin="round" stroke-opacity="0.8" stroke="#996600" stroke-linecap="round" stroke-dasharray="4,7,1,5" stroke-width="2"/>
  2839.     </Rule>
  2840.     <Rule>
  2841.       <Filter>[highway] = 'track' and [tracktype] = 'grade5'</Filter>
  2842.       &maxscale_zoom14;
  2843.       <LineSymbolizer stroke-linejoin="round" stroke-opacity="0.8" stroke="#996600" stroke-linecap="round" stroke-dasharray="1,5" stroke-width="2"/>
  2844.     </Rule>
  2845.     <Rule>
  2846.       <Filter>[highway] = 'track' and not [tracktype] != ''</Filter>
  2847.       &maxscale_zoom14;
  2848.       <LineSymbolizer stroke-linejoin="round" stroke="#996600" stroke-width="1.5" stroke-dasharray="3,4" stroke-linecap="round"/>
  2849.      </Rule>    
  2850. </Style>
  2851. <Style name="roads">
  2852.     <Rule>
  2853.       <Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
  2854.       &maxscale_zoom5;
  2855.       &minscale_zoom6;
  2856.       <LineSymbolizer stroke="#809bc0" stroke-width="0.5"/>
  2857.     </Rule>
  2858.     <Rule>
  2859.       <Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
  2860.       &maxscale_zoom7;
  2861.       &minscale_zoom8;
  2862.       <LineSymbolizer stroke="#809bc0" stroke-width="1"/>
  2863.     </Rule>
  2864.     <Rule>
  2865.       <Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
  2866.       &maxscale_zoom9;
  2867.       &minscale_zoom9;
  2868.       <LineSymbolizer stroke="#809bc0" stroke-width="1.4"/>
  2869.     </Rule>
  2870.     <Rule>
  2871.       <Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
  2872.       &maxscale_zoom10;
  2873.       &minscale_zoom10;
  2874.       <LineSymbolizer stroke="#809bc0" stroke-width="2"/>
  2875.     </Rule>
  2876.     <Rule>
  2877.       <Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
  2878.       &maxscale_zoom11;
  2879.       &minscale_zoom11;
  2880.       <LineSymbolizer stroke="#809bc0" stroke-width="2.5"/>
  2881.     </Rule>
  2882.     <!-- TRUNK -->
  2883.     <Rule>
  2884.       <Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
  2885.       &maxscale_zoom5;
  2886.       &minscale_zoom6;
  2887.       <LineSymbolizer stroke="#a9dba9" stroke-width="0.4"/>
  2888.     </Rule>
  2889.    <Rule>
  2890.       <Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
  2891.       &maxscale_zoom7;
  2892.       &minscale_zoom8;
  2893.       <LineSymbolizer stroke="#97d397" stroke-width="1"/>
  2894.     </Rule>
  2895.     <Rule>
  2896.       <Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
  2897.       &maxscale_zoom9;
  2898.       &minscale_zoom10;
  2899.       <LineSymbolizer stroke="#97d397" stroke-width="2"/>
  2900.     </Rule>
  2901.     <Rule>
  2902.       <Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
  2903.       &maxscale_zoom11;
  2904.       &minscale_zoom11;
  2905.       <LineSymbolizer stroke="#97d397" stroke-width="2.5"/>
  2906.     </Rule>
  2907.    <!-- PRIMARY-->
  2908.    <Rule>
  2909.       <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
  2910.       &maxscale_zoom7;
  2911.       &minscale_zoom8;
  2912.       <LineSymbolizer stroke="#ec989a" stroke-width="0.5"/>
  2913.     </Rule>
  2914.     <Rule>
  2915.       <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
  2916.       &maxscale_zoom9;
  2917.       &minscale_zoom9;
  2918.       <LineSymbolizer stroke="#ec989a" stroke-width="1.2"/>
  2919.     </Rule>
  2920.     <Rule>
  2921.       <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
  2922.       &maxscale_zoom10;
  2923.       &minscale_zoom10;
  2924.       <LineSymbolizer stroke="#ec989a" stroke-width="2"/>
  2925.     </Rule>
  2926.     <Rule>
  2927.       <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
  2928.       &maxscale_zoom11;
  2929.       &minscale_zoom11;
  2930.       <LineSymbolizer stroke="#ec989a" stroke-width="2.5"/>
  2931.     </Rule>
  2932.     <!-- SECONDARY -->
  2933.     <Rule>
  2934.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  2935.       &maxscale_zoom9;
  2936.       &minscale_zoom10;
  2937.       <LineSymbolizer stroke="#fecc8b" stroke-width="1"/>
  2938.     </Rule>
  2939.     <Rule>
  2940.       <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
  2941.       &maxscale_zoom11;
  2942.       &minscale_zoom11;
  2943.       <LineSymbolizer stroke="#fecc8b" stroke-width="2"/>
  2944.     </Rule>
  2945.     <!-- RAIL -->
  2946.     <Rule>
  2947.       &maxscale_zoom6;
  2948.       &minscale_zoom8;
  2949.       <Filter>[railway] = 'rail'</Filter>
  2950.       <LineSymbolizer stroke="#aaa" stroke-width="0.6"/>
  2951.     </Rule>
  2952.     <Rule>
  2953.       &maxscale_zoom9;
  2954.       &minscale_zoom9;
  2955.       <Filter>[railway] = 'rail' and not [tunnel]='yes'</Filter>
  2956.       <LineSymbolizer stroke="#aaa" stroke-width="1"/>
  2957.     </Rule>
  2958.     <Rule>
  2959.       &maxscale_zoom9;
  2960.       &minscale_zoom9;
  2961.       <Filter>[railway] = 'rail' and [tunnel]='yes'</Filter>
  2962.       <LineSymbolizer stroke="#aaa" stroke-width="1" stroke-dasharray="5,2"/>
  2963.     </Rule>
  2964.     <Rule>
  2965.       &maxscale_zoom8;
  2966.       &minscale_zoom9;
  2967.       <Filter>[railway] = 'tram' or [railway] = 'light_rail' or [railway] = 'narrow_gauge' or [railway]='funicular'</Filter>
  2968.       <LineSymbolizer stroke="#ccc" stroke-width="1"/>
  2969.     </Rule>
  2970.     <Rule>
  2971.       &maxscale_zoom10;
  2972.       &minscale_zoom12;
  2973.       <Filter>[railway] = 'rail' and not [tunnel]='yes'</Filter>
  2974.       <LineSymbolizer stroke="#aaa" stroke-width="2"/>
  2975.     </Rule>
  2976.     <Rule>
  2977.       &maxscale_zoom10;
  2978.       &minscale_zoom12;
  2979.       <Filter>[railway] = 'rail' and [tunnel]='yes'</Filter>
  2980.       <LineSymbolizer stroke="#aaa" stroke-width="2" stroke-dasharray="5,2"/>
  2981.     </Rule>
  2982.     <Rule>
  2983.       &maxscale_zoom10;
  2984.       &minscale_zoom12;
  2985.       <Filter>[railway] = 'tram' or [railway] = 'light_rail' or [railway] = 'narrow_gauge' or [railway]='funicular'</Filter>
  2986.       <LineSymbolizer stroke="#aaa" stroke-width="1"/>
  2987.     </Rule>
  2988.     <Rule>
  2989.       &maxscale_zoom12;
  2990.       &minscale_zoom12;
  2991.       <Filter>[railway] = 'preserved'</Filter>
  2992.       <LineSymbolizer stroke-linejoin="round" stroke="#aaa" stroke-width="1.5"/>
  2993.     </Rule>
  2994.     <Rule>
  2995.       &maxscale_zoom13;
  2996.       &minscale_zoom18;
  2997.       <Filter>[railway] = 'preserved'</Filter>
  2998.       <LineSymbolizer stroke-linejoin="round" stroke="#999999" stroke-width="3"/>
  2999.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="1" stroke-dasharray="0,1,8,1"/>
  3000.     </Rule>
  3001.     <Rule>
  3002.       &maxscale_zoom12;
  3003.       &minscale_zoom12;
  3004.       <Filter>[railway] = 'INT-preserved-ssy'</Filter>
  3005.       <LineSymbolizer stroke-linejoin="round" stroke="#aaa" stroke-width="1"/>
  3006.     </Rule>
  3007.     <Rule>
  3008.       &maxscale_zoom13;
  3009.       &minscale_zoom18;
  3010.       <Filter>[railway] = 'INT-preserved-ssy'</Filter>
  3011.       <LineSymbolizer stroke-linejoin="round" stroke="#999999" stroke-width="2"/>
  3012.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="0.8" stroke-dasharray="0,1,8,1"/>
  3013.     </Rule>
  3014.     <Rule>
  3015.       &maxscale_zoom14;
  3016.       &minscale_zoom18;
  3017.       <Filter>[railway]='monorail'</Filter>
  3018.       <LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="4" stroke-linecap="round" stroke-opacity="0.4"/>
  3019.       <LineSymbolizer stroke-linejoin="round" stroke="#777" stroke-width="3.0" stroke-dasharray="2,3" stroke-linecap="round"/>
  3020.     </Rule>
  3021. </Style>
  3022. <Style name="trams">
  3023.     <Rule>
  3024.       <Filter>[railway] = 'tram'</Filter>
  3025.       &maxscale_zoom13;
  3026.       &minscale_zoom14;
  3027.       <LineSymbolizer stroke="#444" stroke-width="1"/>
  3028.     </Rule>
  3029.     <Rule>
  3030.       <Filter>[railway] = 'tram' and not [bridge]='yes'</Filter>
  3031.       &maxscale_zoom15;
  3032.       &minscale_zoom18;
  3033.       <LineSymbolizer stroke="#444" stroke-width="2"/>
  3034.     </Rule>
  3035.     <Rule>
  3036.       <Filter>[railway] = 'tram' and [bridge]='yes'</Filter>
  3037.       &maxscale_zoom15;
  3038.       &minscale_zoom18;
  3039.       <LineSymbolizer stroke="black" stroke-width="5"/>
  3040.       <LineSymbolizer stroke="white" stroke-width="4"/>
  3041.       <LineSymbolizer stroke="#444" stroke-width="2"/>
  3042.     </Rule>
  3043. </Style>
  3044. <Style name="guideways">
  3045. <Rule>
  3046.       &maxscale_zoom13;
  3047.       &minscale_zoom13;
  3048.       <LineSymbolizer stroke-linejoin="round" stroke="#6666ff" stroke-width="0"/>
  3049.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="0" stroke-dasharray="8,12"/>
  3050.     </Rule>
  3051.     <Rule>
  3052.       &maxscale_zoom14;
  3053.       &minscale_zoom18;
  3054.       <LineSymbolizer stroke-linejoin="round" stroke="#6666ff" stroke-width="0"/>
  3055.       <LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="0" stroke-dasharray="0,11,8,1"/>
  3056.     </Rule>
  3057. </Style>
  3058. <Style name="roads-text-ref-low-zoom">
  3059.     <Rule>
  3060.       <Filter>[highway] = 'motorway' and [length] le 6</Filter>
  3061.       &maxscale_zoom10;
  3062.       &minscale_zoom12;
  3063.       <ShieldSymbolizer size="10" fill="#fff" placement="line" file="&symbols;/mot_shield[length].png" spacing="750" minimum-distance="30" fontset-name="bold-fonts">[ref]</ShieldSymbolizer>
  3064.     </Rule>
  3065.     <Rule>
  3066.       <Filter>[highway] = 'motorway' and [length] = 7</Filter>
  3067.       &maxscale_zoom10;
  3068.       &minscale_zoom12;
  3069.       <ShieldSymbolizer size="10" fill="#fff" placement="line" file="&symbols;/mot_shield6.png" spacing="750" minimum-distance="30" fontset-name="bold-fonts">[ref]</ShieldSymbolizer>
  3070.     </Rule>
  3071.     <Rule>
  3072.       <Filter>[highway] = 'motorway' and [length] = 8</Filter>
  3073.       &maxscale_zoom10;
  3074.       &minscale_zoom12;
  3075.       <ShieldSymbolizer size="10" fill="#fff" placement="line" file="&symbols;/mot_shield7.png" spacing="750" minimum-distance="30" fontset-name="bold-fonts">[ref]</ShieldSymbolizer>
  3076.     </Rule>
  3077.     <Rule>
  3078.       <Filter>[highway] = 'trunk'</Filter>
  3079.       &maxscale_zoom11;
  3080.       &minscale_zoom12;
  3081.       <ShieldSymbolizer size="10" fill="#fff" placement="line" file="&symbols;/tru_shield[length].png" spacing="750" minimum-distance="30" fontset-name="bold-fonts">[ref]</ShieldSymbolizer>
  3082.     </Rule>
  3083.     <Rule>
  3084.       <Filter>[highway] = 'primary'</Filter>
  3085.       &maxscale_zoom11;
  3086.       &minscale_zoom12;
  3087.       <ShieldSymbolizer size="10" fill="#fff" placement="line" file="&symbols;/pri_shield[length].png" spacing="750" minimum-distance="30" fontset-name="bold-fonts">[ref]</ShieldSymbolizer>
  3088.     </Rule>
  3089.     <Rule>
  3090.       <Filter>[highway] = 'secondary'</Filter>
  3091.       &maxscale_zoom12;
  3092.       &minscale_zoom12;
  3093.       <ShieldSymbolizer size="10" fill="#fff" placement="line" file="&symbols;/sec_shield[length].png" spacing="750" minimum-distance="40" fontset-name="bold-fonts">[ref]</ShieldSymbolizer>
  3094.     </Rule>
  3095. </Style>
  3096. <Style name="roads-text-ref">
  3097.     <Rule>
  3098.       <Filter>[highway] = 'motorway' and [length] le 6</Filter>
  3099.       &maxscale_zoom13;
  3100.       &minscale_zoom18;
  3101.       <ShieldSymbolizer size="10" fill="#fff" placement="line" file="&symbols;/mot_shield[length].png" spacing="750" minimum-distance="30" fontset-name="bold-fonts">[ref]</ShieldSymbolizer>
  3102.     </Rule>
  3103.     <Rule>
  3104.       <Filter>[highway] = 'motorway' and [length] = 7</Filter>
  3105.       &maxscale_zoom13;
  3106.       &minscale_zoom18;
  3107.       <ShieldSymbolizer size="10" fill="#fff" placement="line" file="&symbols;/mot_shield6.png" spacing="750" minimum-distance="30" fontset-name="bold-fonts">[ref]</ShieldSymbolizer>
  3108.     </Rule>
  3109.     <Rule>
  3110.       <Filter>[highway] = 'motorway' and [length] = 8</Filter>
  3111.       &maxscale_zoom13;
  3112.       &minscale_zoom18;
  3113.       <ShieldSymbolizer size="10" fill="#fff" placement="line" file="&symbols;/mot_shield7.png" spacing="750" minimum-distance="30" fontset-name="bold-fonts">[ref]</ShieldSymbolizer>
  3114.     </Rule>
  3115.     <Rule>
  3116.       <Filter>[highway] = 'trunk'</Filter>
  3117.       &maxscale_zoom13;
  3118.       &minscale_zoom18;
  3119.       <ShieldSymbolizer size="10" fill="#fff" placement="line" file="&symbols;/tru_shield[length].png" spacing="750" minimum-distance="30" fontset-name="bold-fonts">[ref]</ShieldSymbolizer>
  3120.     </Rule>
  3121.     <Rule>
  3122.       <Filter>[highway] = 'primary'</Filter>
  3123.       &maxscale_zoom13;
  3124.       &minscale_zoom18;
  3125.       <ShieldSymbolizer size="10" fill="#fff" placement="line" file="&symbols;/pri_shield[length].png" spacing="750" minimum-distance="30" fontset-name="bold-fonts">[ref]</ShieldSymbolizer>
  3126.     </Rule>
  3127.     <Rule>
  3128.       <Filter>[highway] = 'secondary' and not [bridge]='yes'</Filter>
  3129.       &maxscale_zoom13;
  3130.       &minscale_zoom18;
  3131.       <ShieldSymbolizer size="10" fill="#fff" placement="line" file="&symbols;/sec_shield[length].png" spacing="750" minimum-distance="40" fontset-name="bold-fonts">[ref]</ShieldSymbolizer>
  3132.     </Rule>
  3133.     <Rule>
  3134.       <Filter>[highway] = 'tertiary' and not [bridge]='yes'</Filter>
  3135.       &maxscale_zoom13;
  3136.       &minscale_zoom18;
  3137.       <ShieldSymbolizer size="10" fill="#fff" placement="line" file="&symbols;/ter_shield[length].png" spacing="750" minimum-distance="40" fontset-name="bold-fonts">[ref]</ShieldSymbolizer>
  3138.     </Rule>
  3139.     <Rule>
  3140.       <Filter>([highway] = 'unclassified' or [highway]='residential') and not [bridge]='yes'</Filter>
  3141.       &maxscale_zoom15;
  3142.       <TextSymbolizer size="10" fill="#000" spacing="750" minimum-distance="18" fontset-name="bold-fonts" halo-radius="1">[ref]</TextSymbolizer>
  3143.     </Rule>
  3144.     <Rule>
  3145.       <Filter>([aeroway] = 'runway' or [aeroway]='taxiway') and not [bridge]='yes'</Filter>
  3146.       &maxscale_zoom15;
  3147.       <TextSymbolizer size="10" fill="#333" spacing="750" placement="line" minimum-distance="18" fontset-name="book-fonts" halo-radius="1">[ref]</TextSymbolizer>
  3148.     </Rule>
  3149. </Style>
  3150. <Style name="roads-text-name">
  3151.     <Rule>
  3152.       <Filter>[highway] = 'trunk' or [highway] = 'primary'</Filter>
  3153.       &maxscale_zoom13;
  3154.       &minscale_zoom13;
  3155.       <TextSymbolizer size="8" fill="black" placement="line" fontset-name="book-fonts" halo-radius="0">[name]</TextSymbolizer>
  3156.     </Rule>
  3157.     <Rule>
  3158.       <Filter>[highway] = 'secondary'</Filter>
  3159.       &maxscale_zoom13;
  3160.       &minscale_zoom13;
  3161.       <TextSymbolizer size="8" fill="black" placement="line" fontset-name="book-fonts" halo-radius="1" halo-fill="#fed7a5">[name]</TextSymbolizer>
  3162.     </Rule>
  3163.     <Rule>
  3164.       <Filter>[highway] = 'trunk' or [highway] = 'primary'</Filter>
  3165.       &maxscale_zoom14;
  3166.       &minscale_zoom14;
  3167.       <TextSymbolizer size="9" fill="black" placement="line" fontset-name="book-fonts" halo-radius="0">[name]</TextSymbolizer>
  3168.     </Rule>
  3169.     <Rule>
  3170.       <Filter>[highway] = 'trunk' or [highway] = 'primary'</Filter>
  3171.       &maxscale_zoom15;
  3172.       &minscale_zoom18;
  3173.       <TextSymbolizer size="10" fill="black" placement="line" fontset-name="book-fonts" halo-radius="0">[name]</TextSymbolizer>
  3174.     </Rule>
  3175.     <Rule>
  3176.       <Filter>[highway] = 'secondary'</Filter>
  3177.       &maxscale_zoom14;
  3178.       &minscale_zoom14;
  3179.       <TextSymbolizer size="9" fill="black" placement="line" fontset-name="book-fonts" halo-radius="1" halo-fill="#fed7a5">[name]</TextSymbolizer>
  3180.     </Rule><Rule>
  3181.       <Filter>[highway] = 'secondary'</Filter>
  3182.       &maxscale_zoom15;
  3183.       &minscale_zoom18;
  3184.       <TextSymbolizer size="10" fill="black" placement="line" fontset-name="book-fonts" halo-radius="1" halo-fill="#fed7a5">[name]</TextSymbolizer>
  3185.     </Rule>
  3186.     <Rule>
  3187.       <Filter>[highway] = 'tertiary'</Filter>
  3188.       &maxscale_zoom15;
  3189.       &minscale_zoom16;
  3190.       <TextSymbolizer size="9" fill="#000" placement="line" fontset-name="book-fonts" halo-radius="1">[name]</TextSymbolizer>
  3191.     </Rule>
  3192.     <Rule>
  3193.       <Filter>[highway] = 'tertiary'</Filter>
  3194.       &maxscale_zoom17;
  3195.       &minscale_zoom18;
  3196.       <TextSymbolizer size="11" fill="#000" placement="line" fontset-name="book-fonts" halo-radius="1">[name]</TextSymbolizer>
  3197.     </Rule>
  3198.     <Rule>
  3199.       &maxscale_zoom13;
  3200.       &minscale_zoom15;
  3201.       <Filter>[highway] = 'proposed' or [highway]='construction'</Filter>
  3202.       <TextSymbolizer size="9" fill="#000" placement="line" fontset-name="book-fonts" halo-radius="1">[name]</TextSymbolizer>
  3203.     </Rule>
  3204.     <Rule>
  3205.       &maxscale_zoom16;
  3206.       &minscale_zoom18;
  3207.       <Filter>[highway] = 'proposed' or [highway]='construction'</Filter>
  3208.       <TextSymbolizer size="11" fill="#000" placement="line" fontset-name="book-fonts" halo-radius="1">[name]</TextSymbolizer>
  3209.     </Rule>
  3210.     <Rule>
  3211.       <Filter>[highway] = 'unclassified' or [highway] = 'residential'</Filter>
  3212.       &maxscale_zoom15;
  3213.       &minscale_zoom15;
  3214.       <TextSymbolizer size="8" fill="#000" spacing="300" placement="line" fontset-name="book-fonts" halo-radius="1">[name]</TextSymbolizer>
  3215.     </Rule>
  3216.     <Rule>
  3217.       <Filter>[highway] = 'unclassified' or [highway] = 'residential'</Filter>
  3218.       &maxscale_zoom16;
  3219.       &minscale_zoom16;
  3220.       <TextSymbolizer size="9" fill="#000" spacing="300" placement="line" fontset-name="book-fonts" halo-radius="1">[name]</TextSymbolizer>
  3221.     </Rule>
  3222.     <Rule>
  3223.       <Filter>[highway] = 'unclassified' or [highway] = 'residential'</Filter>
  3224.       &maxscale_zoom17;
  3225.       &minscale_zoom18;
  3226.       <TextSymbolizer size="11" fill="#000" spacing="400" placement="line" fontset-name="book-fonts" halo-radius="1">[name]</TextSymbolizer>
  3227.     </Rule>
  3228.     <Rule>
  3229.       <ElseFilter/>
  3230.       &maxscale_zoom15;
  3231.       &minscale_zoom16;
  3232.       <TextSymbolizer size="9" fill="#000" placement="line" fontset-name="book-fonts" halo-radius="1">[name]</TextSymbolizer>
  3233.     </Rule>
  3234.     <Rule>
  3235.       <ElseFilter/>
  3236.       &maxscale_zoom17;
  3237.       &minscale_zoom18;
  3238.       <TextSymbolizer size="11" fill="#000" placement="line" fontset-name="book-fonts" halo-radius="1">[name]</TextSymbolizer>
  3239.     </Rule>
  3240. </Style>
  3241. <Style name="cliffs">
  3242.      <Rule>
  3243.       &maxscale_zoom13;
  3244.       &minscale_zoom14;
  3245.       <Filter>[natural] = 'cliff'</Filter>      
  3246.       <LinePatternSymbolizer file="&symbols;/cliff.png"/>
  3247.     </Rule>
  3248.     <Rule>
  3249.       &maxscale_zoom15;
  3250.       <Filter>[natural] = 'cliff'</Filter>
  3251.       <LinePatternSymbolizer file="&symbols;/cliff2.png"/>
  3252.     </Rule>
  3253.     <Rule>
  3254.       &maxscale_zoom15;
  3255.       <Filter>[man_made] = 'embankment'</Filter>
  3256.       <LinePatternSymbolizer file="&symbols;/cliff.png"/>
  3257.     </Rule>
  3258. </Style>
  3259. <Style name="barriers_area">
  3260.     <Rule>
  3261.       <Filter>[natural]='hedge' or [barrier] = 'hedge'</Filter>
  3262.       &maxscale_zoom16;
  3263.       <PolygonSymbolizer fill="#aed1a0"/>
  3264.     </Rule>
  3265.     <Rule>
  3266.       &maxscale_zoom16;
  3267.       <Filter>[barrier] != '' and not [barrier] = 'hedge'</Filter>
  3268.       <LineSymbolizer stroke="#444" stroke-width="0.4"/>
  3269.     </Rule>
  3270. </Style>
  3271. <Style name="barriers">
  3272.     <Rule>
  3273.       &maxscale_zoom14;
  3274.       <Filter>[barrier] = 'embankment'</Filter>
  3275.       <LineSymbolizer stroke="#444" stroke-width="0.4"/>
  3276.     </Rule>
  3277.     <Rule>
  3278.       &maxscale_zoom16;
  3279.       <Filter>[natural]='hedge' or [barrier] = 'hedge'</Filter>
  3280.       <LineSymbolizer stroke="#aed1a0" stroke-width="3"/>
  3281.     </Rule>
  3282.     <Rule>
  3283.       &maxscale_zoom16;
  3284.       <Filter>[barrier] != '' and not ([barrier] = 'hedge' or [barrier] = 'embankment')</Filter>
  3285.       <LineSymbolizer stroke="#444" stroke-width="0.4"/>
  3286.     </Rule>
  3287. </Style>
  3288. <Style name="directions">
  3289.     <Rule>
  3290.       <Filter>[oneway] = 'yes'</Filter>
  3291.       &maxscale_zoom16;
  3292.       <LineSymbolizer stroke-linejoin="bevel" stroke="#6c70d5" stroke-width="1" stroke-dasharray="0,12,10,152"/>
  3293.       <LineSymbolizer stroke-linejoin="bevel" stroke="#6c70d5" stroke-width="2" stroke-dasharray="0,12,9,153"/>
  3294.       <LineSymbolizer stroke-linejoin="bevel" stroke="#6c70d5" stroke-width="3" stroke-dasharray="0,18,2,154"/>
  3295.       <LineSymbolizer stroke-linejoin="bevel" stroke="#6c70d5" stroke-width="4" stroke-dasharray="0,18,1,155"/>
  3296.     </Rule>
  3297.     <Rule>
  3298.       <Filter>[oneway] = '-1'</Filter>
  3299.       &maxscale_zoom16;
  3300.       <LineSymbolizer stroke-linejoin="bevel" stroke="#6c70d5" stroke-width="1" stroke-dasharray="0,12,10,152"/>
  3301.       <LineSymbolizer stroke-linejoin="bevel" stroke="#6c70d5" stroke-width="2" stroke-dasharray="0,13,9,152"/>
  3302.       <LineSymbolizer stroke-linejoin="bevel" stroke="#6c70d5" stroke-width="3" stroke-dasharray="0,14,2,158"/>
  3303.       <LineSymbolizer stroke-linejoin="bevel" stroke="#6c70d5" stroke-width="4" stroke-dasharray="0,15,1,158"/>
  3304.     </Rule>
  3305. </Style>
  3306. <Style name="boundary">
  3307.     <Rule>
  3308.       &maxscale_zoom7;
  3309.       &minscale_zoom9;
  3310.       <PolygonSymbolizer fill-opacity="0.05" fill="green"/>
  3311.       <LineSymbolizer stroke="green" stroke-width="1.5" stroke-dasharray="4,2" stroke-opacity="0.15"/>
  3312.     </Rule>
  3313.     <Rule>
  3314.       &maxscale_zoom10;
  3315.       &minscale_zoom12;
  3316.       <PolygonSymbolizer fill-opacity="0.05" fill="green"/>
  3317.       <LineSymbolizer stroke="green" stroke-width="3" stroke-dasharray="6,2" stroke-opacity="0.15"/>
  3318.     </Rule>
  3319.     <Rule>
  3320.       &maxscale_zoom13;
  3321.       &minscale_zoom18;
  3322.       <LineSymbolizer stroke="green" stroke-width="3" stroke-dasharray="6,2" stroke-opacity="0.15"/>
  3323.     </Rule>
  3324.     <Rule>
  3325.       <Filter>[way_area] &gt;= 200000000</Filter>
  3326.       &maxscale_zoom8;
  3327.       &minscale_zoom9;
  3328.       <TextSymbolizer size="8" fill="#9c9" fontset-name="bold-fonts" halo-radius="1" wrap-width="14">[name]</TextSymbolizer>
  3329.     </Rule>
  3330.     <Rule>
  3331.       &maxscale_zoom10;
  3332.       &minscale_zoom11;
  3333.       <TextSymbolizer size="11" fill="#9c9" fontset-name="bold-fonts" halo-radius="1" wrap-width="14">[name]</TextSymbolizer>
  3334.     </Rule>
  3335. </Style>
  3336. <Style name="theme_park">
  3337. <Rule>
  3338.       &maxscale_zoom13;
  3339.       &minscale_zoom14;
  3340.       <Filter>[tourism]='theme_park'</Filter>
  3341.       <LineSymbolizer stroke="#734a08" stroke-width="1.5" stroke-dasharray="9,3" stroke-opacity="0.6"/>
  3342.     </Rule>
  3343.     <Rule>
  3344.       &maxscale_zoom15;
  3345.       &minscale_zoom18;
  3346.       <Filter>[tourism]='theme_park'</Filter>
  3347.       <LineSymbolizer stroke="#734a08" stroke-width="2.5" stroke-dasharray="9,3" stroke-opacity="0.6"/>
  3348.     </Rule>
  3349. </Style>
  3350.  
  3351. &layer-shapefiles;
  3352. &layer-landcover;
  3353. &layer-water;
  3354. &layer-water_features;
  3355. <Layer name="tunnels" status="off" srs="&osm2pgsql_projection;">
  3356.     <StyleName>tunnels-casing</StyleName>
  3357.     <StyleName>tunnels-fill</StyleName>
  3358.     <Datasource>
  3359.       <Parameter name="table">
  3360.       (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
  3361.       </Parameter>
  3362.       &datasource-settings;
  3363.     </Datasource>
  3364. </Layer>
  3365. &layer-citywall;
  3366. <Layer name="landuse_overlay" status="off" srs="&osm2pgsql_projection;">
  3367.     <StyleName>landuse_overlay</StyleName>
  3368.     <Datasource>
  3369.       <Parameter name="table">
  3370.       (select way,landuse,leisure
  3371.        from &prefix;_polygon
  3372.        where (landuse = 'military' or leisure='nature_reserve') and building is null
  3373.       ) as landuse_overlay
  3374.       </Parameter>
  3375.       &datasource-settings;
  3376.     </Datasource>
  3377. </Layer>
  3378. <Layer name="turning_circle-casing" status="off" srs="&osm2pgsql_projection;">
  3379.     <StyleName>turning_circle-casing</StyleName>    
  3380.     <Datasource>
  3381.       <Parameter name="table">
  3382.       (select distinct on (p.way) p.way as way,l.highway as int_tc_type
  3383.        from &prefix;_point p
  3384.        join &prefix;_line l
  3385.         on ST_DWithin(p.way,l.way,&dwithin_node_way;)
  3386.        join (values
  3387.         ('tertiary',1),
  3388.         ('unclassified',2),
  3389.         ('residential',3),
  3390.         ('living_street',4),
  3391.         ('service',5)
  3392.        ) as v (highway,prio)
  3393.         on v.highway=l.highway
  3394.        where p.highway='turning_circle'
  3395.        order by p.way,v.prio
  3396.       ) as turning_circle
  3397.       </Parameter>
  3398.       &datasource-settings;
  3399.     </Datasource>
  3400. </Layer>
  3401. <Layer name="footbikecycle-tunnels" status="off" srs="&osm2pgsql_projection;">
  3402.     <StyleName>footbikecycle-tunnels</StyleName>
  3403.     <Datasource>
  3404.       <Parameter name="table">
  3405.       (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
  3406.       </Parameter>
  3407.       &datasource-settings;
  3408.     </Datasource>
  3409. </Layer>
  3410. <Layer name="tracks-tunnels" status="off" srs="&osm2pgsql_projection;">
  3411.     <StyleName>tracks-tunnels</StyleName>
  3412.     <Datasource>
  3413.       <Parameter name="table">
  3414.       (select way,tracktype from &prefix;_line where highway='track' and tunnel in ('yes','true','1')) as tracks
  3415.       </Parameter>
  3416.       &datasource-settings;
  3417.     </Datasource>
  3418. </Layer>
  3419. <Layer name="line features" status="off" srs="&osm2pgsql_projection;">
  3420.      <StyleName>cliffs</StyleName>
  3421.      <StyleName>barriers</StyleName>
  3422.      <Datasource>
  3423.       <Parameter name="table">
  3424.       (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
  3425.       </Parameter>
  3426.       &datasource-settings;
  3427.     </Datasource>
  3428. </Layer>
  3429. <Layer name="polygon barriers" status="off" srs="&osm2pgsql_projection;">
  3430.       <StyleName>barriers_area</StyleName>
  3431.       <Datasource>
  3432.              <Parameter name="table">
  3433.        (select way,barrier,"natural" from &prefix;_polygon where barrier is not null or "natural"='hedge') as barriers
  3434.        </Parameter>
  3435.       &datasource-settings;
  3436.     </Datasource>
  3437. </Layer>
  3438. <Layer name="highway-area-casing" status="off" srs="&osm2pgsql_projection;">
  3439.     <StyleName>highway-area-casing</StyleName>
  3440.     <Datasource>
  3441.       <Parameter name="table">
  3442.       (select way,highway,railway from &prefix;_polygon
  3443.        where highway in ('residential','unclassified','pedestrian','service','footway','track','path','platform')
  3444.           or railway='platform'
  3445.        order by z_order,way_area desc) as roads
  3446.       </Parameter>
  3447.       &datasource-settings;
  3448.     </Datasource>
  3449. </Layer>
  3450. <Layer name="minor-roads-casing" status="off" srs="&osm2pgsql_projection;">
  3451.     <StyleName>minor-roads-casing-links</StyleName>
  3452.     <StyleName>minor-roads-casing</StyleName>
  3453.     <Datasource>
  3454.       <Parameter name="table">
  3455.       (select way,highway,
  3456.        case when tunnel in ('yes','true','1') then 'yes'::text else tunnel end as tunnel,
  3457.        case when service in ('parking_aisle','drive-through','driveway') then 'INT-minor'::text else service end as service
  3458.        from &prefix;_line
  3459.        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')
  3460.        order by z_order) as roads
  3461.       </Parameter>
  3462.       &datasource-settings;
  3463.     </Datasource>
  3464. </Layer>
  3465. <Layer name="highway-area-fill" status="off" srs="&osm2pgsql_projection;">
  3466.     <StyleName>highway-area-fill</StyleName>
  3467.     <Datasource>
  3468.       <Parameter name="table">
  3469.       (select way,highway,railway,aeroway from &prefix;_polygon
  3470.        where highway in ('residential','unclassified','pedestrian','service','footway','living_street','track','path','platform','services')
  3471.           or railway='platform'
  3472.           or aeroway in ('runway','taxiway','helipad')
  3473.        order by z_order,way_area desc) as roads
  3474.       </Parameter>
  3475.       &datasource-settings;
  3476.     </Datasource>
  3477. </Layer>
  3478. &layer-buildings;
  3479. <Layer name="tracks-notunnel-nobridge" status="off" srs="&osm2pgsql_projection;">
  3480.     <StyleName>tracks-notunnel-nobridge</StyleName>
  3481.     <Datasource>
  3482.       <Parameter name="table">
  3483.       (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
  3484.       </Parameter>
  3485.       &datasource-settings;
  3486.     </Datasource>
  3487. </Layer>
  3488. <Layer name="minor-roads-fill" status="on" srs="&osm2pgsql_projection;">
  3489.     <StyleName>minor-roads-fill-links</StyleName>
  3490.     <StyleName>minor-roads-fill</StyleName>
  3491.     <Datasource>
  3492.       <Parameter name="table">
  3493.       (select way,highway,horse,bicycle,foot,construction,aeroway,
  3494.        case when tunnel in ('yes','true','1') then 'yes'::text else tunnel end as tunnel,
  3495.        case when bridge in ('yes','true','1','viaduct') then 'yes'::text else bridge end as bridge,
  3496.        case when railway in ('spur','siding')
  3497.               or (railway='rail' and service in ('spur','siding','yard'))
  3498.             then 'spur-siding-yard'::text else railway end as railway,
  3499.        case when service in ('parking_aisle','drive-through','driveway') then 'INT-minor'::text else service end as service
  3500.        from &prefix;_line
  3501.        where highway is not null
  3502.           or aeroway in ('runway','taxiway')
  3503.           or railway in ('light_rail','narrow_gauge','funicular','rail','subway','tram','spur','siding','platform','disused','abandoned','construction','miniature','turntable')
  3504.        order by z_order) as roads
  3505.       </Parameter>
  3506.       &datasource-settings;
  3507.     </Datasource>
  3508. </Layer>
  3509. <Layer name="turning_circle-fill" status="off" srs="&osm2pgsql_projection;">
  3510.     <StyleName>turning_circle-fill</StyleName>    
  3511.     <Datasource>
  3512.       <Parameter name="table">
  3513.       (select distinct on (p.way) p.way as way,l.highway as int_tc_type
  3514.        from &prefix;_point p
  3515.        join &prefix;_line l
  3516.         on ST_DWithin(p.way,l.way,&dwithin_node_way;)
  3517.        join (values
  3518.         ('tertiary',1),
  3519.         ('unclassified',2),
  3520.         ('residential',3),
  3521.         ('living_street',4),
  3522.         ('service',5)
  3523.        ) as v (highway,prio)
  3524.         on v.highway=l.highway
  3525.        where p.highway='turning_circle'
  3526.        order by p.way,v.prio
  3527.       ) as turning_circle
  3528.       </Parameter>
  3529.       &datasource-settings;
  3530.     </Datasource>
  3531. </Layer>
  3532. &layer-ferry-routes;
  3533. &layer-aerialways;
  3534. <Layer name="roads" status="off" srs="&osm2pgsql_projection;">
  3535.     <StyleName>roads</StyleName>
  3536.     <Datasource>
  3537.       <Parameter name="table">
  3538.       (select way,highway,
  3539.        case when tunnel in ('yes','true','1') then 'yes'::text else tunnel end as tunnel,
  3540.        case when railway='preserved' and service in ('spur','siding','yard') then 'INT-preserved-ssy'::text else railway end as railway
  3541.        from &prefix;_roads
  3542.        where highway is not null
  3543.           or (railway is not null and railway!='preserved' and (service is null or service not in ('spur','siding','yard')))
  3544.           or railway='preserved'
  3545.        order by z_order
  3546.       ) as roads
  3547.       </Parameter>
  3548.       &datasource-settings;
  3549.     </Datasource>
  3550. </Layer>
  3551. <Layer name="waterway-bridges" status="off" srs="&osm2pgsql_projection;">
  3552.     <StyleName>waterway-bridges</StyleName>
  3553.     <Datasource>
  3554.       <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>
  3555.       &datasource-settings;
  3556.     </Datasource>
  3557. </Layer>
  3558. <Layer name="access-pre_bridges" status="off" srs="&osm2pgsql_projection;">
  3559.     <StyleName>access</StyleName>
  3560.     <Datasource>
  3561.       <Parameter name="table">
  3562.       (select way,access,highway,
  3563.        case when service in ('parking_aisle','drive-through','driveway') then 'INT-minor'::text end as service
  3564.        from &prefix;_line
  3565.        where access is not null and highway is not null
  3566.          and (bridge is null or bridge not in ('yes','true','1','viaduct'))
  3567.       ) as access
  3568.       </Parameter>
  3569.       &datasource-settings;
  3570.     </Datasource>
  3571. </Layer>
  3572. <Layer name="direction_pre_bridges" status="off" srs="&osm2pgsql_projection;">
  3573.      <StyleName>directions</StyleName>
  3574.      <Datasource>
  3575.       <Parameter name="table">
  3576.       (select way,
  3577.        case when oneway in ('yes','true','1') then 'yes'::text else oneway end as oneway
  3578.        from &prefix;_line
  3579.        where oneway is not null
  3580.          and (highway is not null or railway is not null or waterway is not null)
  3581.          and (bridge is null or bridge not in ('yes','true','1','viaduct'))
  3582.       ) as directions
  3583.       </Parameter>
  3584.       &datasource-settings;
  3585.     </Datasource>
  3586. </Layer>
  3587. <Layer name="bridges_layer0" status="off" srs="&osm2pgsql_projection;">
  3588.     <StyleName>bridges_casing</StyleName>
  3589.     <StyleName>bridges_casing2</StyleName>
  3590.     <StyleName>bridges_fill</StyleName>
  3591.     <Datasource>
  3592.       <Parameter name="table">
  3593.       (select way,highway,aeroway,horse,bicycle,foot,tracktype,
  3594.        case when railway in ('spur','siding')
  3595.               or (railway='rail' and service in ('spur','siding','yard'))
  3596.             then 'INT-spur-siding-yard'::text else railway end as railway
  3597.        from &prefix;_line
  3598.        where (highway is not null
  3599.               or aeroway in ('runway','taxiway')
  3600.               or railway in ('light_rail','subway','narrow_gauge','rail','spur','siding','disused','abandoned','construction'))
  3601.          and bridge in ('yes','true','1','viaduct')
  3602.          and (layer is null or layer = '0')
  3603.        order by z_order
  3604.       ) as roads
  3605.       </Parameter>
  3606.       &datasource-settings;
  3607.     </Datasource>
  3608. </Layer>
  3609. <Layer name="bridges_access0" status="off" srs="&osm2pgsql_projection;">
  3610.     <StyleName>access</StyleName>
  3611.     <Datasource>
  3612.       <Parameter name="table">
  3613.       (select way,access,highway,
  3614.        case when service in ('parking_aisle','drive-through','driveway') then 'INT-minor'::text end as service
  3615.        from &prefix;_line
  3616.        where access is not null and highway is not null
  3617.          and bridge in ('yes','true','1','viaduct')
  3618.          and (layer is null or layer in ('-5','-4','-3','-2','-1','0'))
  3619.       ) as access
  3620.       </Parameter>
  3621.       &datasource-settings;
  3622.     </Datasource>
  3623. </Layer>
  3624. <Layer name="bridges_directions0" status="off" srs="&osm2pgsql_projection;">
  3625.      <StyleName>directions</StyleName>
  3626.      <Datasource>
  3627.       <Parameter name="table">
  3628.       (select way,
  3629.        case when oneway in ('yes','true','1') then 'yes'::text else oneway end as oneway
  3630.        from &prefix;_line
  3631.        where oneway is not null
  3632.          and (highway is not null or railway is not null or waterway is not null)
  3633.          and bridge in ('yes','true','1','viaduct')
  3634.          and (layer is null or layer in ('-5','-4','-3','-2','-1','0'))
  3635.       ) as directions
  3636.       </Parameter>
  3637.       &datasource-settings;
  3638.     </Datasource>
  3639. </Layer>
  3640. <Layer name="bridges_layer1" status="off" srs="&osm2pgsql_projection;">
  3641.     <StyleName>bridges_casing</StyleName>
  3642.     <StyleName>bridges_casing2</StyleName>
  3643.     <StyleName>bridges_fill</StyleName>
  3644.     <Datasource>
  3645.       <Parameter name="table">
  3646.       (select way,highway,aeroway,horse,bicycle,foot,tracktype,
  3647.        case when railway in ('spur','siding')
  3648.               or (railway='rail' and service in ('spur','siding','yard'))
  3649.             then 'INT-spur-siding-yard'::text else railway end as railway
  3650.        from &prefix;_line
  3651.        where (highway is not null
  3652.               or aeroway in ('runway','taxiway')
  3653.               or railway in ('light_rail','subway','narrow_gauge','rail','spur','siding','disused','abandoned','construction'))
  3654.          and bridge in ('yes','true','1','viaduct')
  3655.          and layer = '1'
  3656.        order by z_order
  3657.       ) as roads
  3658.       </Parameter>
  3659.       &datasource-settings;
  3660.     </Datasource>
  3661. </Layer>
  3662. <Layer name="bridges_access1" status="off" srs="&osm2pgsql_projection;">
  3663.     <StyleName>access</StyleName>
  3664.     <Datasource>
  3665.       <Parameter name="table">
  3666.       (select way,access,highway,
  3667.        case when service in ('parking_aisle','drive-through','driveway') then 'INT-minor'::text end as service
  3668.        from &prefix;_line
  3669.        where access is not null and highway is not null
  3670.          and bridge in ('yes','true','1','viaduct')
  3671.          and layer = '1'
  3672.       ) as access
  3673.       </Parameter>
  3674.       &datasource-settings;
  3675.     </Datasource>
  3676. </Layer>
  3677. <Layer name="bridges_directions1" status="off" srs="&osm2pgsql_projection;">
  3678.      <StyleName>directions</StyleName>
  3679.      <Datasource>
  3680.       <Parameter name="table">
  3681.       (select way,
  3682.        case when oneway in ('yes','true','1') then 'yes'::text else oneway end as oneway
  3683.        from &prefix;_line
  3684.        where oneway is not null
  3685.          and (highway is not null or railway is not null or waterway is not null)
  3686.          and bridge in ('yes','true','1','viaduct')
  3687.          and layer = '1'
  3688.       ) as directions
  3689.       </Parameter>
  3690.       &datasource-settings;
  3691.     </Datasource>
  3692. </Layer>
  3693. <Layer name="bridges_layer2" status="off" srs="&osm2pgsql_projection;">
  3694.     <StyleName>bridges_casing</StyleName>
  3695.     <StyleName>bridges_casing2</StyleName>
  3696.     <StyleName>bridges_fill</StyleName>
  3697.     <Datasource>
  3698.       <Parameter name="table">
  3699.       (select way,highway,aeroway,horse,bicycle,foot,tracktype,
  3700.        case when railway in ('spur','siding')
  3701.               or (railway='rail' and service in ('spur','siding','yard'))
  3702.             then 'INT-spur-siding-yard'::text else railway end as railway
  3703.        from &prefix;_line
  3704.        where (highway is not null
  3705.               or aeroway in ('runway','taxiway')
  3706.               or railway in ('light_rail','subway','narrow_gauge','rail','spur','siding','disused','abandoned','construction'))
  3707.          and bridge in ('yes','true','1','viaduct')
  3708.          and layer = '2'
  3709.        order by z_order
  3710.       ) as roads
  3711.       </Parameter>
  3712.       &datasource-settings;
  3713.     </Datasource>
  3714. </Layer>
  3715. <Layer name="bridges_access2" status="off" srs="&osm2pgsql_projection;">
  3716.     <StyleName>access</StyleName>
  3717.     <Datasource>
  3718.       <Parameter name="table">
  3719.       (select way,access,highway,
  3720.        case when service in ('parking_aisle','drive-through','driveway') then 'INT-minor'::text end as service
  3721.        from &prefix;_line
  3722.        where access is not null and highway is not null
  3723.          and bridge in ('yes','true','1','viaduct')
  3724.          and layer = '2'
  3725.       ) as access
  3726.       </Parameter>
  3727.       &datasource-settings;
  3728.     </Datasource>
  3729. </Layer>
  3730. <Layer name="bridges_directions2" status="off" srs="&osm2pgsql_projection;">
  3731.      <StyleName>directions</StyleName>
  3732.      <Datasource>
  3733.       <Parameter name="table">
  3734.       (select way,
  3735.        case when oneway in ('yes','true','1') then 'yes'::text else oneway end as oneway
  3736.        from &prefix;_line
  3737.        where oneway is not null
  3738.          and (highway is not null or railway is not null or waterway is not null)
  3739.          and bridge in ('yes','true','1','viaduct')
  3740.          and layer = '2'
  3741.       ) as directions
  3742.       </Parameter>
  3743.       &datasource-settings;
  3744.     </Datasource>
  3745. </Layer>
  3746. <Layer name="bridges_layer3" status="off" srs="&osm2pgsql_projection;">
  3747.     <StyleName>bridges_casing</StyleName>
  3748.     <StyleName>bridges_casing2</StyleName>
  3749.     <StyleName>bridges_fill</StyleName>
  3750.     <Datasource>
  3751.       <Parameter name="table">
  3752.       (select way,highway,aeroway,horse,bicycle,foot,tracktype,
  3753.        case when railway in ('spur','siding')
  3754.               or (railway='rail' and service in ('spur','siding','yard'))
  3755.             then 'INT-spur-siding-yard'::text else railway end as railway
  3756.        from &prefix;_line
  3757.        where (highway is not null
  3758.               or aeroway in ('runway','taxiway')
  3759.               or railway in ('light_rail','subway','narrow_gauge','rail','spur','siding','disused','abandoned','construction'))
  3760.          and bridge in ('yes','true','1','viaduct')
  3761.          and layer = '3'
  3762.        order by z_order
  3763.       ) as roads
  3764.       </Parameter>
  3765.       &datasource-settings;
  3766.     </Datasource>
  3767. </Layer>
  3768. <Layer name="bridges_access3" status="off" srs="&osm2pgsql_projection;">
  3769.     <StyleName>access</StyleName>
  3770.     <Datasource>
  3771.       <Parameter name="table">
  3772.       (select way,access,highway,
  3773.        case when service in ('parking_aisle','drive-through','driveway') then 'INT-minor'::text end as service
  3774.        from &prefix;_line
  3775.        where access is not null and highway is not null
  3776.          and bridge in ('yes','true','1','viaduct')
  3777.          and layer = '3'
  3778.       ) as access
  3779.       </Parameter>
  3780.       &datasource-settings;
  3781.     </Datasource>
  3782. </Layer>
  3783. <Layer name="bridges_directions3" status="off" srs="&osm2pgsql_projection;">
  3784.      <StyleName>directions</StyleName>
  3785.      <Datasource>
  3786.       <Parameter name="table">
  3787.       (select way,
  3788.        case when oneway in ('yes','true','1') then 'yes'::text else oneway end as oneway
  3789.        from &prefix;_line
  3790.        where oneway is not null
  3791.          and (highway is not null or railway is not null or waterway is not null)
  3792.          and bridge in ('yes','true','1','viaduct')
  3793.          and layer = '3'
  3794.       ) as directions
  3795.       </Parameter>
  3796.       &datasource-settings;
  3797.     </Datasource>
  3798. </Layer>
  3799. <Layer name="bridges_layer4" status="off" srs="&osm2pgsql_projection;">
  3800.     <StyleName>bridges_casing</StyleName>
  3801.     <StyleName>bridges_casing2</StyleName>
  3802.     <StyleName>bridges_fill</StyleName>
  3803.     <Datasource>
  3804.       <Parameter name="table">
  3805.       (select way,highway,aeroway,horse,bicycle,foot,tracktype,
  3806.        case when railway in ('spur','siding')
  3807.               or (railway='rail' and service in ('spur','siding','yard'))
  3808.             then 'INT-spur-siding-yard'::text else railway end as railway
  3809.        from &prefix;_line
  3810.        where (highway is not null
  3811.               or aeroway in ('runway','taxiway')
  3812.               or railway in ('light_rail','subway','narrow_gauge','rail','spur','siding','disused','abandoned','construction'))
  3813.          and bridge in ('yes','true','1','viaduct')
  3814.          and layer = '4'
  3815.        order by z_order
  3816.       ) as roads
  3817.       </Parameter>
  3818.       &datasource-settings;
  3819.     </Datasource>
  3820. </Layer>
  3821. <Layer name="bridges_access4" status="off" srs="&osm2pgsql_projection;">
  3822.     <StyleName>access</StyleName>
  3823.     <Datasource>
  3824.       <Parameter name="table">
  3825.       (select way,access,highway,
  3826.        case when service in ('parking_aisle','drive-through','driveway') then 'INT-minor'::text end as service
  3827.        from &prefix;_line
  3828.        where access is not null and highway is not null
  3829.          and bridge in ('yes','true','1','viaduct')
  3830.          and layer = '4'
  3831.       ) as access
  3832.       </Parameter>
  3833.       &datasource-settings;
  3834.     </Datasource>
  3835. </Layer>
  3836. <Layer name="bridges_directions4" status="off" srs="&osm2pgsql_projection;">
  3837.      <StyleName>directions</StyleName>
  3838.      <Datasource>
  3839.       <Parameter name="table">
  3840.       (select way,
  3841.        case when oneway in ('yes','true','1') then 'yes'::text else oneway end as oneway
  3842.        from &prefix;_line
  3843.        where oneway is not null
  3844.          and (highway is not null or railway is not null or waterway is not null)
  3845.          and bridge in ('yes','true','1','viaduct')
  3846.          and layer = '4'
  3847.       ) as directions
  3848.       </Parameter>
  3849.       &datasource-settings;
  3850.     </Datasource>
  3851. </Layer>
  3852. <Layer name="bridges_layer5" status="off" srs="&osm2pgsql_projection;">
  3853.     <StyleName>bridges_casing</StyleName>
  3854.     <StyleName>bridges_casing2</StyleName>
  3855.     <StyleName>bridges_fill</StyleName>
  3856.     <Datasource>
  3857.       <Parameter name="table">
  3858.       (select way,highway,aeroway,horse,bicycle,foot,tracktype,
  3859.        case when railway in ('spur','siding')
  3860.               or (railway='rail' and service in ('spur','siding','yard'))
  3861.             then 'INT-spur-siding-yard'::text else railway end as railway
  3862.        from &prefix;_line
  3863.        where (highway is not null
  3864.               or aeroway in ('runway','taxiway')
  3865.               or railway in ('light_rail','subway','narrow_gauge','rail','spur','siding','disused','abandoned','construction'))
  3866.          and bridge in ('yes','true','1','viaduct')
  3867.          and layer = '5'
  3868.        order by z_order
  3869.       ) as roads
  3870.       </Parameter>
  3871.       &datasource-settings;
  3872.     </Datasource>
  3873. </Layer>
  3874. <Layer name="bridges_access5" status="off" srs="&osm2pgsql_projection;">
  3875.     <StyleName>access</StyleName>
  3876.     <Datasource>
  3877.       <Parameter name="table">
  3878.       (select way,access,highway,
  3879.        case when service in ('parking_aisle','drive-through','driveway') then 'INT-minor'::text end as service
  3880.        from &prefix;_line
  3881.        where access is not null and highway is not null
  3882.          and bridge in ('yes','true','1','viaduct')
  3883.          and layer = '5'
  3884.       ) as access
  3885.       </Parameter>
  3886.       &datasource-settings;
  3887.     </Datasource>
  3888. </Layer>
  3889. <Layer name="bridges_directions5" status="off" srs="&osm2pgsql_projection;">
  3890.      <StyleName>directions</StyleName>
  3891.      <Datasource>
  3892.       <Parameter name="table">
  3893.       (select way,
  3894.        case when oneway in ('yes','true','1') then 'yes'::text else oneway end as oneway
  3895.        from &prefix;_line
  3896.        where oneway is not null
  3897.          and (highway is not null or railway is not null or waterway is not null)
  3898.          and bridge in ('yes','true','1','viaduct')
  3899.          and layer = '5'
  3900.       ) as directions
  3901.       </Parameter>
  3902.       &datasource-settings;
  3903.     </Datasource>
  3904. </Layer>
  3905. <Layer name="trams" status="off" srs="&osm2pgsql_projection;">
  3906.     <StyleName>trams</StyleName>
  3907.     <Datasource>
  3908.       <Parameter name="table">
  3909.       (select way,railway,bridge from &prefix;_line where railway='tram' and (tunnel is null or tunnel not in ('yes','true','1'))) as trams
  3910.       </Parameter>
  3911.       &datasource-settings;
  3912.     </Datasource>
  3913. </Layer>
  3914. <Layer name="guideways" status="off" srs="&osm2pgsql_projection;">
  3915.     <StyleName>guideways</StyleName>
  3916.     <Datasource>
  3917.       <Parameter name="table">
  3918.       (select way from &prefix;_line where highway='bus_guideway' and (tunnel is null or tunnel not in ('yes','true','1'))) as guideways
  3919.       </Parameter>
  3920.       &datasource-settings;
  3921.     </Datasource>
  3922. </Layer>
  3923. &layer-admin;
  3924. &layer-placenames;
  3925. &layer-amenity-stations;
  3926. &layer-amenity-symbols;
  3927. &layer-amenity-points;
  3928. &layer-power;
  3929. <Layer name="roads-text-ref-low-zoom" status="off" srs="&osm2pgsql_projection;">
  3930.      <StyleName>roads-text-ref-low-zoom</StyleName>
  3931.      <Datasource>
  3932.       <Parameter name="table">
  3933.       (select way,highway,ref,char_length(ref) as length
  3934.        from &prefix;_roads
  3935.        where highway in ('motorway','trunk','primary','secondary')
  3936.          and ref is not null
  3937.          and char_length(ref) between 1 and 8
  3938.       ) as roads
  3939.       </Parameter>
  3940.       &datasource-settings;
  3941.     </Datasource>
  3942. </Layer>
  3943. <Layer name="highway-junctions" status="off" srs="&osm2pgsql_projection;">
  3944.     <StyleName>highway-junctions</StyleName>
  3945.     <Datasource>
  3946.      <Parameter name="table">
  3947.      (select way,ref,name
  3948.       from &prefix;_point
  3949.       where highway='motorway_junction'
  3950.      ) as junctions
  3951.      </Parameter>
  3952.      &datasource-settings;
  3953.     </Datasource>
  3954. </Layer>
  3955. <Layer name="roads-text-ref" status="off" srs="&osm2pgsql_projection;">
  3956.      <StyleName>roads-text-ref</StyleName>
  3957.      <Datasource>
  3958.       <Parameter name="table">
  3959.       (select way,highway,aeroway,ref,char_length(ref) as length,
  3960.        case when bridge in ('yes','true','1') then 'yes'::text else bridge end as bridge
  3961.        from &prefix;_line
  3962.        where (highway is not null or aeroway is not null)
  3963.          and ref is not null
  3964.          and char_length(ref) between 1 and 8
  3965.       ) as roads
  3966.       </Parameter>
  3967.       &datasource-settings;
  3968.     </Datasource>
  3969. </Layer>
  3970. <Layer name="roads-text-name" status="off" srs="&osm2pgsql_projection;">
  3971.      <StyleName>roads-text-name</StyleName>
  3972.      <Datasource>
  3973.       <Parameter name="table">
  3974.       (select way,highway,name
  3975.        from &prefix;_line
  3976.        where waterway IS NULL
  3977.          and leisure IS NULL
  3978.          and landuse IS NULL
  3979.          and name is not null
  3980.       ) as roads
  3981.       </Parameter>
  3982.       &datasource-settings;
  3983.     </Datasource>
  3984. </Layer>
  3985. <Layer name="text" status="off" srs="&osm2pgsql_projection;">
  3986.     <StyleName>text</StyleName>
  3987.     <Datasource>
  3988.       <Parameter name="table">
  3989.       (select way,amenity,shop,access,leisure,landuse,man_made,"natural",place,tourism,ele,name,ref,military,aeroway,waterway,historic,'yes'::text as point
  3990.        from &prefix;_point
  3991.        where amenity is not null
  3992.           or shop in ('supermarket','bakery','clothes','fashion','convenience','doityourself','hairdresser','department_store','butcher','car','car_repair','bicycle','florist')
  3993.           or leisure is not null
  3994.           or landuse is not null
  3995.           or tourism is not null
  3996.           or "natural" is not null
  3997.           or man_made in ('lighthouse','windmill')
  3998.           or place='island'
  3999.           or military='danger_area'
  4000.           or aeroway='gate'
  4001.           or waterway='lock'
  4002.           or historic in ('memorial','archaeological_site')
  4003.       ) as text
  4004.       </Parameter>
  4005.       &datasource-settings;
  4006.     </Datasource>
  4007. </Layer>
  4008. <Layer name="text-poly" status="off" srs="&osm2pgsql_projection;">
  4009.     <StyleName>text</StyleName>
  4010.     <Datasource>
  4011.       <Parameter name="table">
  4012.       (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
  4013.        from &prefix;_polygon
  4014.        where amenity is not null
  4015.           or shop in ('supermarket','bakery','clothes','fashion','convenience','doityourself','hairdresser','department_store', 'butcher','car','car_repair','bicycle')
  4016.           or leisure is not null
  4017.           or landuse is not null
  4018.           or tourism is not null
  4019.           or "natural" is not null
  4020.           or man_made in ('lighthouse','windmill')
  4021.           or place='island'
  4022.           or military='danger_area'
  4023.           or historic in ('memorial','archaeological_site')
  4024.       ) as text
  4025.       </Parameter>
  4026.       &datasource-settings;
  4027.     </Datasource>
  4028. </Layer>
  4029. <Layer name="area-text" status="off" srs="&osm2pgsql_projection;">
  4030.     <StyleName>area-text</StyleName>
  4031.     <Datasource>
  4032.       <Parameter name="table">
  4033.       (select way,way_area,name
  4034.        from &prefix;_polygon
  4035.        where name is not null
  4036.          and (waterway is null or waterway != 'riverbank')
  4037.          and place is null
  4038.        order by way_area desc
  4039.       ) as text
  4040.       </Parameter>
  4041.       &datasource-settings;
  4042.     </Datasource>
  4043. </Layer>
  4044. &layer-addressing;
  4045. <Layer name="misc_boundaries" status="off" srs="&osm2pgsql_projection;">
  4046.     <StyleName>boundary</StyleName>
  4047.     <Datasource>
  4048.       <Parameter name="table">
  4049.       (select way,way_area,name,boundary from &prefix;_polygon where boundary='national_park' and building is null) as boundary
  4050.       </Parameter>
  4051.       &datasource-settings;
  4052.     </Datasource>
  4053. </Layer>
  4054. <Layer name="theme_park" status="off" srs="&osm2pgsql_projection;">
  4055.     <StyleName>theme_park</StyleName>
  4056.     <Datasource>
  4057.       <Parameter name="table">
  4058.       (select way,name,tourism from &prefix;_polygon where tourism='theme_park') as theme_park
  4059.       </Parameter>
  4060.       &datasource-settings;
  4061.     </Datasource>
  4062. </Layer>
  4063. </Map>
clone this paste RAW Paste Data