FR:BeCikloXmlFond

From OpenStreetMap Wiki
Jump to: navigation, search

Styles

Fichier XML

<Map bgcolor="#f1eee8" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
<!--Style name="world">
    <Rule>
      <MaxScaleDenominator>250000000000</MaxScaleDenominator>
      <MinScaleDenominator>600000</MinScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#f2efe9</CssParameter>
      </PolygonSymbolizer>
    </Rule>
</Style>
<Style name="coast-poly">
    <Rule>
      <MaxScaleDenominator>600000</MaxScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#f2efe9</CssParameter>
      </PolygonSymbolizer>
    </Rule>
</Style-->
  <!-- BUILTUP VMAP0 -->
  <!-- level 7-9-->
<Style name="builtup">
    <Rule>
      <MaxScaleDenominator>2500000</MaxScaleDenominator>
      <MinScaleDenominator>500000</MinScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#ddd</CssParameter>
      </PolygonSymbolizer>
    </Rule>
</Style>
<Style name="stations">
    <Rule>
      <MaxScaleDenominator>250000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <Filter>[railway]='station' and not [disused]='yes'</Filter>
      <PointSymbolizer file =  "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/halt.png" type="png" width="4" height="4" />
    </Rule>
    <Rule>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>25000</MinScaleDenominator>
      <Filter>[railway]='station' and not [disused]='yes'</Filter>
      <PointSymbolizer file =  "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/station_small.png" type="png" width="6" height="6" />
    </Rule>
    <Rule>
      <MaxScaleDenominator>25000</MaxScaleDenominator>
      <Filter>[railway]='station' and not [disused]='yes'</Filter>
      <PointSymbolizer file =  "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/station.png" type="png" width="9" height="9" />
    </Rule>
    <Rule>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <Filter>[railway]='halt' or [railway]='tram_stop' or [aerialway]='station'</Filter>
      <PointSymbolizer file =  "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/halt.png" type="png" width="4" height="4" />
    </Rule>
    <Rule>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <Filter>[railway]='halt' or [railway]='tram_stop' or [aerialway]='station'</Filter>
      <PointSymbolizer file =  "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/station_small.png" type="png" width="6" height="6" />
    </Rule>
    <Rule>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>25000</MinScaleDenominator>
      <Filter>[railway]='halt' or [railway]='tram_stop' or [aerialway]='station'</Filter>
    </Rule>
    <Rule>
      <MaxScaleDenominator>25000</MaxScaleDenominator>
      <Filter>[railway] ='halt' or [railway]='tram_stop' or [aerialway]='station'</Filter>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="10" fill="#66f" dy="-10" halo_radius="1" wrap_width="0"/>
    </Rule>
    <Rule>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <Filter>[railway]='station' and not [disused]='yes'</Filter>
    </Rule>
    <Rule>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>10000</MinScaleDenominator>
      <Filter>[railway]='level_crossing'</Filter>
      <PointSymbolizer file =  "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/level_crossing.png" type="png" width="7" height="7" />
    </Rule>
</Style>
<Style name="symbols">
    <Rule>
      <MaxScaleDenominator>2000000</MaxScaleDenominator>
      <MinScaleDenominator>500000</MinScaleDenominator>
      <Filter>[aeroway]='airport'</Filter>
      <PointSymbolizer file =  "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/airport.p.16.png" type="png" width="16" height="16" />
      <TextSymbolizer name="name" face_name="DejaVu Sans Bold" size="8" fill="#6692da" dy="-12" halo_radius="1" wrap_width="0"/>
    </Rule>
    <Rule>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <Filter>[aeroway]='airport'</Filter>
      <TextSymbolizer name="name" face_name="DejaVu Sans Bold" size="9" fill="#6692da" halo_radius="1" wrap_width="0"/>
    </Rule>
    <Rule>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <MinScaleDenominator>500000</MinScaleDenominator>
      <Filter>[aeroway]='aerodrome'</Filter>
      <PointSymbolizer file =  "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/aerodrome.p.16.png" type="png" width="16" height="16" />
      <TextSymbolizer name="name" face_name="DejaVu Sans Oblique" size="8" fill="#6692da" dy="-12" halo_radius="1" wrap_width="0"/>
    </Rule>
    <Rule>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <Filter>[aeroway]='aerodrome'</Filter>
      <TextSymbolizer name="name" face_name="DejaVu Sans Oblique" size="8" fill="#6692da" halo_radius="1" wrap_width="0"/>
    </Rule>
    <Rule>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>10000</MinScaleDenominator>
      <Filter>[railway]='level_crossing'</Filter>
      <PointSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/level_crossing.png" type="png" width="7" height="7" />
    </Rule>
    <Rule>
      <MaxScaleDenominator>10000</MaxScaleDenominator>
      <Filter>[railway]='level_crossing'</Filter>
      <PointSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/level_crossing2.png" type="png" width="11" height="11" />
    </Rule> 
    <Rule>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <Filter>[man_made]='lighthouse'</Filter>
      <PointSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/lighthouse.p.20.png" type="png" width="20" height="20" />
    </Rule> 
    <Rule>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <Filter>[natural]='peak'</Filter>
      <PointSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/peak.png" type="png" width="8" height="8" />
    </Rule>
    <Rule>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <Filter>[natural]='spring'</Filter>
      <PointSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/spring.png" type="png" width="5" height="7" />
    </Rule>
    <Rule>
      <MaxScaleDenominator>10000</MaxScaleDenominator>
      <Filter>[natural]='tree'</Filter>
      <PointSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/tree.png" type="png" width="3" height="3" />
    </Rule>
    <Rule>
      <MaxScaleDenominator>10000</MaxScaleDenominator>
      <Filter>[man_made]='windmill'</Filter>
      <PointSymbolizer file =  "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/windmill.png" type="png" width="10" height="15" />
    </Rule>
    <Rule>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <Filter>[man_made]='mast'</Filter>
      <PointSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/communications.p.20.png" type="png" width="20" height="20" />
    </Rule>
    <Rule>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <Filter>[highway]='mini_roundabout'</Filter>
      <PointSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/mini_round.png" type="png" width="9" height="9" allow_overlap="false"/>
    </Rule>
    <Rule>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <Filter>[highway]='gate' or [barrier]='gate'</Filter>
      <PointSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/gate2.png" type="png" width="7" height="5" allow_overlap="false"/>
    </Rule>
    <Rule>
      <MaxScaleDenominator>10000</MaxScaleDenominator>
      <Filter>[barrier]='bollard'</Filter>
      <PointSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/bollard.png" type="png" width="3" height="3" allow_overlap="false"/>
    </Rule>
</Style>

POI

<Style name="points">
    <Rule>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <Filter>[amenity]='shelter'</Filter>
      <PointSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/shelter2.p.16.png" type="png" width="16" height="16" />
    </Rule>
    <Rule>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <Filter>[amenity]='atm'</Filter>
      <PointSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/atm2.p.16.png" type="png" width="16" height="16" />
    </Rule>
    <Rule>
      <MaxScaleDenominator>10000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <Filter>[amenity]='bus_stop' or [highway]='bus_stop'</Filter>
      <PointSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/bus_stop_small.png" type="png" width="3" height="3" />
    </Rule>
    <Rule>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <Filter>[amenity]='bus_stop' or [highway]='bus_stop'</Filter>
      <PointSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/bus_stop.p.12.png" type="png" width="12" height="12" />
    </Rule>
    <Rule>
      <MaxScaleDenominator>10000</MaxScaleDenominator>
      <Filter>[amenity]='bus_station'</Filter>
      <PointSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/bus_station.n.16.png" type="png" width="16" height="16" allow_overlap="false"/>
    </Rule>
    <Rule>
      <MaxScaleDenominator>10000</MaxScaleDenominator>
      <Filter>[tourism]='camp_site'</Filter>
      <PointSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/camping.n.16.png" type="png" width="16" height="16" />
    </Rule>
    <Rule>
      <MaxScaleDenominator>10000</MaxScaleDenominator>
      <Filter>[tourism]='caravan_site'</Filter>
      <PointSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/caravan_park.p.24.png" type="png" width="24" height="24" />
    </Rule>
    <Rule>
      <MaxScaleDenominator>10000</MaxScaleDenominator>
      <Filter>[amenity]='car_sharing'</Filter>
      <PointSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/car_share.p.16.png" type="png" width="16" height="16" allow_overlap="false"/>
    </Rule>
    
    <Rule>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <Filter>[man_made]='mast'</Filter>
      <PointSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/communications.p.20.png" type="png" width="20" height="20" />
    </Rule>
</Style>

Highway

<Style name="highway-area-casing">
   <!-- zoom 13 et plus -->
   <Rule>
      <Filter>[highway] = 'residential' or [highway]='unclassified'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#999</CssParameter>
	<CssParameter name="stroke-width">1</CssParameter>
      </LineSymbolizer>
   </Rule>
   <Rule>
      <Filter>[highway] = 'track'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#996600</CssParameter>
	<CssParameter name="stroke-width">2</CssParameter>
      </LineSymbolizer>
   </Rule>
</Style>
<Style name="highway-area-fill">
    <Rule>
      <Filter>[highway] = 'living_street'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#ccc</CssParameter>
      </PolygonSymbolizer>
   </Rule>
   <!-- zoom 13 et plus -->
   <Rule>
      <Filter>[highway] = 'residential' or [highway]='unclassified' or [highway]='service'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#fff</CssParameter>
      </PolygonSymbolizer>
   </Rule>
   <Rule>
      <Filter>[highway] = 'pedestrian' or [highway]='footway'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#ededed</CssParameter>
      </PolygonSymbolizer>
   </Rule>   
   <Rule>
      <Filter>[highway] = 'track'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#dfcc66</CssParameter>
      </PolygonSymbolizer>
   </Rule>
</Style>

Leisure

<Style name="leisure">
    <Rule> 
      <Filter>[leisure] = 'marina'</Filter> 
      <MaxScaleDenominator>1000000</MaxScaleDenominator> 
      <PolygonSymbolizer> 
         <CssParameter name="fill">#b5d0d0</CssParameter> 
      </PolygonSymbolizer> 
    </Rule> 
    <Rule>
      <Filter>[man_made] = 'pier'</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#f2efe9</CssParameter>
      </PolygonSymbolizer>
    </Rule>
    <Rule>
      <Filter>[leisure] = 'playground'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
     <PolygonSymbolizer>
        <CssParameter name="fill">#ccffff</CssParameter>
     </PolygonSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#666</CssParameter>
        <CssParameter name="stroke-width">0.3</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[tourism] = 'camp_site' or [tourism]='caravan_site' or [tourism] = 'picnic_site'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
     <PolygonSymbolizer>
        <CssParameter name="fill">#ccff99</CssParameter>
        <CssParameter name="fill-opacity">0.5</CssParameter>
     </PolygonSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#666</CssParameter>
        <CssParameter name="stroke-width">0.3</CssParameter>
      </LineSymbolizer>
    </Rule>        
    <Rule>
      <Filter>[tourism] = 'attraction'</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#f2caea</CssParameter>
     </PolygonSymbolizer>
    </Rule>
<!--    <Rule>
      <Filter>[landuse] = 'quarry'</Filter>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <PolygonPatternSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/quarry2.png" type="png" width="30" height="30"/>
      <LineSymbolizer>
        <CssParameter name="stroke">grey</CssParameter>
	<CssParameter name="stroke-width">0.5</CssParameter>
      </LineSymbolizer>
    </Rule>-->
    <Rule>
      <Filter>([leisure] = 'nature_reserve' or [landuse] = 'vineyard') and [aire] > 30000</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#abdf96</CssParameter>
     </PolygonSymbolizer>
    </Rule>
    <Rule>
      <Filter>[landuse] = 'vineyard'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <PolygonPatternSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/vineyard.png" type="png" width="19" height="21"/>
    </Rule>
    <Rule>
      <Filter>[landuse] = 'vineyard'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <PolygonPatternSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/vineyard.png" type="png" width="29" height="29"/>
    </Rule>
    <Rule>
      <Filter>[leisure] = 'nature_reserve'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <PolygonPatternSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/nature_reserve.png" type="png" width="21" height="24"/>
    </Rule>
    <Rule>
      <Filter>[leisure] = 'nature_reserve'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <PolygonPatternSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/nature_reserve2.png" type="png" width="42" height="48"/>
    </Rule>
    <Rule>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <Filter>[landuse]='field' or [natural]='field'</Filter>
      <PolygonSymbolizer>
        <CssParameter name="fill">#666600</CssParameter>
        <CssParameter name="fill-opacity">0.2</CssParameter>
      </PolygonSymbolizer>
    </Rule>
    <Rule>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <Filter>[landuse]='field' or [natural]='field'</Filter>
      <PolygonSymbolizer>
        <CssParameter name="fill">#666600</CssParameter>
        <CssParameter name="fill-opacity">0.2</CssParameter>
      </PolygonSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#660</CssParameter>
        <CssParameter name="stroke-opacity">0.4</CssParameter>
        <CssParameter name="stroke-width">0.3</CssParameter>
      </LineSymbolizer>
    </Rule> and [aire] > 30000
    <Rule>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <Filter>([landuse] = 'meadow' or [landuse] = 'grass') and [aire] > 30000</Filter>
      <PolygonSymbolizer>
        <CssParameter name="fill">#cfeca8</CssParameter>
     </PolygonSymbolizer>
    </Rule>
    <Rule>
      <Filter>([leisure] = 'park' or [leisure] = 'recreation_ground') and [aire] > 30000</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#b6fdb6</CssParameter>
        <CssParameter name="fill-opacity">0.6</CssParameter>
     </PolygonSymbolizer>
    </Rule>
    <Rule>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <Filter>[landuse] = 'meadow' or [landuse] = 'grass'</Filter>
      <PolygonSymbolizer>
        <CssParameter name="fill">#cfeca8</CssParameter>
     </PolygonSymbolizer>
    </Rule>
    <Rule>
      <Filter>[leisure] = 'park' or [leisure] = 'recreation_ground'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#b6fdb6</CssParameter>
        <CssParameter name="fill-opacity">0.6</CssParameter>
     </PolygonSymbolizer>
    </Rule>
    <Rule>
      <Filter>[tourism] = 'zoo'</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <PolygonPatternSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/zoo.png" type="png" width="21" height="24"/>
    </Rule>
    <Rule>
      <Filter>[leisure] = 'common'</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#cfeca8</CssParameter>
      </PolygonSymbolizer>
    </Rule>
    <Rule>
      <Filter>[leisure] = 'garden'</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#cfeca8</CssParameter>
     </PolygonSymbolizer>
    </Rule>
    <Rule>
      <Filter>[leisure] = 'golf_course'</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#b5e3b5</CssParameter>
     </PolygonSymbolizer>
    </Rule>
<!--    <Rule>
      <Filter>[landuse] = 'forest'</Filter>
      <MaxScaleDenominator>2000000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#aed1a0</CssParameter>
     </PolygonSymbolizer>
    </Rule>-->
    <Rule>
      <Filter>([landuse] = 'forest')and [aire] > 30000</Filter>
      <MaxScaleDenominator>2000000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#aed1a0</CssParameter>
     </PolygonSymbolizer>
    </Rule>
    <Rule>
      <Filter>[landuse] = 'forest'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>  
      <PolygonSymbolizer>
        <CssParameter name="fill">#aed1a0</CssParameter>
     </PolygonSymbolizer>
    </Rule>
    <Rule>
      <Filter>[landuse]='farmyard'</Filter>
      <MaxScaleDenominator>2000000</MaxScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#ddbf92</CssParameter>
     </PolygonSymbolizer>
    </Rule>
    <Rule>
      <Filter>([landuse] = 'recreation_ground' or [landuse] = 'conservation') and [aire] > 30000</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#cfeca8</CssParameter>
     </PolygonSymbolizer>
    </Rule>
    <Rule>
      <Filter>[landuse] = 'recreation_ground' or [landuse] = 'conservation'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#cfeca8</CssParameter>
     </PolygonSymbolizer>
    </Rule>
    <Rule>
      <Filter>[landuse] = 'village_green'</Filter>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#cfeca8</CssParameter>
     </PolygonSymbolizer>
    </Rule>
    <Rule>
      <Filter>[natural] = 'glacier'</Filter>
      <MaxScaleDenominator>10000000</MaxScaleDenominator>
      <MinScaleDenominator>2500000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#9cf</CssParameter>
        <CssParameter name="stroke-width">1.5</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
      <PolygonPatternSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/glacier.png" type="png" width="40" height="32"/>
    </Rule>
    <Rule>
      <Filter>[natural] = 'glacier'</Filter>
      <MaxScaleDenominator>2500000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#9cf</CssParameter>
        <CssParameter name="stroke-width">1.5</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
      <PolygonPatternSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/glacier2.png" type="png" width="70" height="56"/>
    </Rule>
    <Rule>
      <Filter>[landuse] = 'brownfield' or [landuse]='landfill' or [landuse] = 'greenfield' or [landuse]='construction'</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#9d9d6c</CssParameter>
     </PolygonSymbolizer>
    </Rule>
     <Rule>
      <Filter>[natural] = 'wood' or [landuse] = 'wood'</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#aed1a0</CssParameter>
     </PolygonSymbolizer>
    </Rule>
     <Rule>
      <Filter>[natural] = 'heath'</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#ffffc0</CssParameter>
     </PolygonSymbolizer>
    </Rule>
    <Rule>
      <Filter>[landuse] = 'basin'</Filter>
      <MaxScaleDenominator>5000000</MaxScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#b5d0d0</CssParameter>
     </PolygonSymbolizer>
    </Rule>
    
    <Rule>
      <Filter>[aeroway] = 'apron'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <PolygonSymbolizer>
         <CssParameter name="fill">#e9d1ff</CssParameter>
      </PolygonSymbolizer>
    </Rule>
    <Rule>
      <Filter>[aeroway] = 'aerodrome'</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <PolygonSymbolizer>
         <CssParameter name="fill">#ccc</CssParameter>
        <CssParameter name="fill-opacity">0.2</CssParameter>
      </PolygonSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#555</CssParameter>
        <CssParameter name="stroke-width">0.2</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[natural] = 'beach'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <PolygonPatternSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/beach.png" type="png" width="10" height="10"/>
    </Rule>
    <Rule>
      <Filter>[natural] = 'mud'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <PolygonPatternSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/mud.png" type="png" width="10" height="10"/>
    </Rule>
    <Rule>
      <Filter>[leisure] = 'pitch'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <PolygonSymbolizer>
         <CssParameter name="fill">#8ad3af</CssParameter>
      </PolygonSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#888</CssParameter>
        <CssParameter name="stroke-width">0.5</CssParameter>
      </LineSymbolizer>
    </Rule>
    <!--Rule>
      <ElseFilter/>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">lightgrey</CssParameter>
     </PolygonSymbolizer>
    </Rule-->
</Style>
<Style name="sports_grounds">
     
    <Rule>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <PolygonSymbolizer>
         <CssParameter name="fill">#33cc99</CssParameter>
      </PolygonSymbolizer>
    </Rule>
</Style>

Buildings


<Style name="buildings">
    <Rule>
      <Filter>[railway] = 'station' or [building] = 'station'</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
     <PolygonSymbolizer>
         <CssParameter name="fill">#d4aaaa</CssParameter>
     </PolygonSymbolizer>
    </Rule>
     <Rule>
      <Filter>[leisure]='track'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <PolygonSymbolizer>
         <CssParameter name="fill">#74dcba</CssParameter>
      </PolygonSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#888</CssParameter>
        <CssParameter name="stroke-width">0.5</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>

Texte

<Style name="area-text">
    <Rule>
      <Filter>[way_area] >= 150000</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="10" fill="#000033" halo_radius="1" wrap_width="20"/>
    </Rule>
    <Rule>
      <Filter>[way_area] >= 80000 and [way_area] < 150000</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="10" fill="#000033" halo_radius="1" wrap_width="20"/>
    </Rule>
    <Rule>
      <Filter>[way_area] >= 20000 and [way_area] < 80000</Filter>
      <MaxScaleDenominator>10000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="10" fill="#000033" halo_radius="1" wrap_width="20"/>
    </Rule>
    <Rule>
      <Filter>[way_area] < 20000</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="10" fill="#000033" halo_radius="1" wrap_width="20"/>
    </Rule>
</Style>

Villes

<Style name="capital">
     <Rule>
      <Filter>([place] = 'city' or [place]='metropolis') and [capital]='yes'</Filter>
      <MaxScaleDenominator>50000000</MaxScaleDenominator>
      <MinScaleDenominator>10000000</MinScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="9" fill="#000" dy="0" halo_radius="1" wrap_width="0"/>
    </Rule>
    <Rule>
      <Filter>([place] = 'city' or [place]='metropolis') and [capital]='yes'</Filter>
      <MaxScaleDenominator>10000000</MaxScaleDenominator>
      <MinScaleDenominator>2000000</MinScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="11" fill="#000" dy="0" halo_radius="1" wrap_width="0"/>
    </Rule>
    <Rule>
      <Filter>([place] = 'city' or [place]='metropolis') and [capital]='yes'</Filter>
      <MaxScaleDenominator>2000000</MaxScaleDenominator>
      <MinScaleDenominator>500000</MinScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="11" fill="#000" dy="0" halo_radius="1" wrap_width="0"/>
    </Rule>
    <Rule>
      <Filter>([place] = 'city' or [place]='metropolis') and [capital]='yes'</Filter>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="14" fill="#000" dy="0" halo_radius="1" wrap_width="0"/>
    </Rule>
</Style>
<Style name="city">
    <Rule>
      <Filter>([place] = 'city' or [place]='metropolis') and not [capital]='yes'</Filter>
      <MaxScaleDenominator>10000000</MaxScaleDenominator>
      <MinScaleDenominator>2000000</MinScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="8" fill="#000" dy="0" halo_radius="1" wrap_width="0"/>
    </Rule>
    <Rule>
      <Filter>([place] = 'city' or [place]='metropolis') and not [capital]='yes'</Filter>
      <MaxScaleDenominator>2000000</MaxScaleDenominator>
      <MinScaleDenominator>500000</MinScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="11" fill="#000" dy="0" halo_radius="1" wrap_width="0"/>
    </Rule>
    <Rule>
      <Filter>([place] = 'city' or [place]='metropolis') and not [capital]='yes'</Filter>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="14" fill="#000" dy="0" halo_radius="1" wrap_width="0"/>
    </Rule>
</Style>
<Style name="town">
    <Rule>
      <Filter>[place] = 'town' or [place]='large_town' or [place]='small_town'</Filter>
      <MaxScaleDenominator>2000000</MaxScaleDenominator>
      <MinScaleDenominator>500000</MinScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="8" fill="#000" halo_radius="1" wrap_width="20"/>
    </Rule>
    <Rule>
      <Filter>[place] = 'town' or [place]='large_town' or [place]='small_town'</Filter>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="10" fill="#000" halo_radius="1" wrap_width="20"/>
    </Rule>
    <Rule>
      <Filter>[place] = 'town' or [place]='large_town' or [place]='small_town'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="14" fill="#777777" halo_radius="1" wrap_width="20"/>
    </Rule>
</Style>
<Style name="suburb">
    <Rule>
      <Filter>[place] = 'suburb'</Filter>
      <MaxScaleDenominator>250000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="10" fill="#000" halo_radius="1" wrap_width="0"/>
    </Rule>
    <Rule>
      <Filter>[place] = 'suburb'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="13" fill="#777777" halo_radius="1" wrap_width="0"/>
    </Rule>
</Style>
<Style name="village">
    <Rule>
      <Filter>[place] = 'village' or [place]='large_village'</Filter>
      <MaxScaleDenominator>250000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="9" fill="#000" halo_radius="1" wrap_width="0"/>
    </Rule>
    <Rule>
      <Filter>[place] = 'village' or [place]='large_village'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="12" fill="#777777" halo_radius="1" wrap_width="0"/>
    </Rule>
</Style>
<Style name="hamlet">
    <Rule>
      <Filter>[place] = 'hamlet' or [place] = 'locality'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>10000</MinScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="8" fill="#000" halo_radius="1" wrap_width="0"/>
    </Rule>
    <Rule>
      <Filter>[place] = 'hamlet' or [place] = 'locality'</Filter>
      <MaxScaleDenominator>10000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="11" fill="#777777" halo_radius="1" wrap_width="0"/>
    </Rule>
</Style>
<Style name="interpolation">
    <Rule>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#555</CssParameter>
        <CssParameter name="stroke-width">1</CssParameter>
        <CssParameter name="stroke-dasharray">2,4</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="text">
    <Rule>
      <Filter>[place] = 'island'</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Oblique" size="9" fill="#000" dy="0" halo_radius="1" wrap_width="0"/>
    </Rule>
    <Rule>
      <Filter>[amenity]='pub' or [amenity]='restaurant' or [amenity]='cafe' or [amenity]='fast_food'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Bold" size="10" fill="#734a08" dy="14" halo_radius="1" wrap_width="0"/>
    </Rule>
    <Rule>
      <Filter>[amenity]='bar'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Bold" size="10" fill="#734a08" dy="15" halo_radius="1" wrap_width="0"/>
    </Rule>
    <Rule>
      <Filter>[amenity]='cinema' or [amenity]='library' or [amenity]='theatre'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Bold" size="10" fill="#734a08" dy="18" halo_radius="1" wrap_width="0"/>
    </Rule>
     <Rule>
      <Filter>[amenity] = 'police'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="10" fill="#734a08" dy="16" halo_radius="1" wrap_width="30"/>
    </Rule>
    <Rule>
      <Filter>[amenity] = 'fire_station'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="10" fill="#734a08" dy="20" halo_radius="1" wrap_width="30"/>
    </Rule>
    <Rule>
      <Filter>[natural] = 'wood'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="10" fill="#000" halo_radius="2" wrap_width="10"/>
    </Rule>
    <Rule>
      <Filter>[natural] = 'peak'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="10" fill="brown" dy="10" halo_radius="1"/>
    </Rule>
    <!--Rule>
      <Filter>[natural] = 'peak'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <TextSymbolizer name="ele" face_name="DejaVu Sans Oblique" size="9" fill="brown" dy="20" halo_radius="1"/>
    </Rule-->
    <Rule>
      <Filter>[natural] = 'water' or [natural] = 'lake' or [landuse] = 'reservoir' or [landuse] = 'basin'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="10" fill="#6699cc" halo_radius="1" wrap_width="20"/>
    </Rule>
    <Rule>
      <Filter>([leisure] <> '' or [landuse] <> '') and [point] = 'yes'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="9" fill="#000" halo_radius="2" wrap_width="10"/>
    </Rule>
     <Rule>
      <Filter>[natural] = 'bay'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="10" fill="#6699cc" halo_radius="1" wrap_width="20"/>
    </Rule>
    <Rule>
      <Filter>[natural] = 'spring'</Filter>
      <MaxScaleDenominator>10000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="8" fill="#6699cc" dy="10" halo_radius="1" wrap_width="20"/>
    </Rule>
    <Rule>
      <Filter>[tourism] = 'alpine_hut' or [amenity]='shelter'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="9" fill="#6699cc" dy="15" halo_radius="1"/>
    </Rule>
    <!--Rule>
      <Filter>[tourism] = 'alpine_hut' or [amenity]='shelter'</Filter>
      <MaxScaleDenominator>10000</MaxScaleDenominator>
      <TextSymbolizer name="ele" face_name="DejaVu Sans Oblique" size="8" fill="#6699cc" dy="25" halo_radius="1"/>
    </Rule-->
    <Rule>
      <Filter>[tourism]='guest_house'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="8" fill="#0092da" dy="13" halo_radius="1" wrap_width="0"/>
    </Rule>
    <Rule>
      <Filter>[amenity] = 'fuel' or [amenity]='bus_station'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="9" fill="#0092da" dy="14" halo_radius="1" wrap_width="0"/>
    </Rule>
    <Rule>
      <Filter>[tourism] = 'camp_site'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="10" fill="#0092da" dy="15" halo_radius="1" wrap_width="70"/>
    </Rule>
    <Rule>
      <Filter>[tourism] = 'caravan_site'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="10" fill="#0092da" dy="19" halo_radius="1" wrap_width="70"/>
    </Rule>
    <Rule>
      <Filter>[tourism] = 'attraction'</Filter>
      <MaxScaleDenominator>10000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="10" fill="#660033" halo_radius="2" wrap_width="10"/>
    </Rule>
    <Rule>
      <Filter>[man_made] = 'lighthouse'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="9" fill="#000033" dy="16" halo_radius="2" wrap_width="12"/>
    </Rule>
    <Rule>
      <Filter>[amenity] = 'hospital'</Filter>
      <MaxScaleDenominator>10000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="8" fill="#da0092" dy="16" halo_radius="2" wrap_width="12"/>
    </Rule>
    <Rule>
      <Filter>[amenity] = 'pharmacy'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="8" fill="#da0092" dy="13" halo_radius="1" wrap_width="12"/>
    </Rule>
    <Rule>
      <Filter>[military] = 'danger_area'</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Bold" size="9" fill="pink" halo_radius="1" wrap_width="10"/>
    </Rule>
</Style>

Eau

<Style name="water_areas">
     <Rule>
      <Filter>[natural] = 'glacier'</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="9" fill="#99f" halo_radius="1" wrap_width="20"/>
      </Rule>
    <Rule>
      <Filter>[waterway] = 'dock' or [landuse] = 'reservoir' or [landuse] = 'water' or [waterway] = 'mill_pond' or [waterway] = 'riverbank' or [waterway]='canal'</Filter>
      <MaxScaleDenominator>2000000</MaxScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#b5d0d0</CssParameter>
     </PolygonSymbolizer>
    </Rule>
<!--zoom 13 et plus-->
    <Rule>
      <Filter>[natural] = 'lake' or [natural] = 'water'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#b5d0d0</CssParameter>
     </PolygonSymbolizer>
    </Rule>
<!--zoom 12 et moins-->
    <Rule>
      <Filter>[natural] = 'lake' or [natural] = 'water' and [aire] > 30000 </Filter>
      <MaxScaleDenominator>10000000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#b5d0d0</CssParameter>
     </PolygonSymbolizer>
    </Rule>
    <Rule>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <Filter>[natural] = 'marsh' or [natural] = 'wetland'</Filter>
      <PolygonPatternSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/marsh.png" type="png" width="30" height="30"/>
    </Rule>
    <Rule>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <Filter>[natural] = 'scrub'</Filter>
      <PolygonPatternSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/scrub.png" type="png" width="30" height="30"/>
    </Rule>
    <Rule>
      <Filter>[natural] = 'land'</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <PolygonSymbolizer>
        <CssParameter name="fill">#f2efe9</CssParameter>
     </PolygonSymbolizer>
    </Rule>
</Style>
<Style name="water_lines">
    <Rule>
      <Filter>[waterway]='weir'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#aaa</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[waterway]='river'</Filter>
      <MaxScaleDenominator>250000</MaxScaleDenominator>
      <MinScaleDenominator>25000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#b5d0d0</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[waterway]='canal' and not [disused]='yes'</Filter>
      <MaxScaleDenominator>250000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#b5d0d0</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[waterway]='canal' and not [disused]='yes'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#b5d0d0</CssParameter>
        <CssParameter name="stroke-width">4</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="8" fill="#6699cc" halo_radius="1" placement="line"/>
    </Rule>
    <Rule>
      <ElseFilter/> <!--[waterway]='stream'</Filter>-->
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>25000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#b5d0d0</CssParameter>
        <CssParameter name="stroke-width">1</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[waterway]='river' and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>25000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#b5d0d0</CssParameter>
        <CssParameter name="stroke-width">10</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="10" fill="#6699cc" halo_radius="1" placement="line" min_distance="200"/>
    </Rule>
    <Rule>
      <Filter>[waterway]='river' and [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>25000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#b5d0d0</CssParameter>
        <CssParameter name="stroke-width">10</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">6</CssParameter>
      </LineSymbolizer>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="10" fill="#6699cc" halo_radius="1" placement="line" min_distance="200"/>
    </Rule>
    <Rule>
      <Filter>[waterway]='canal' and [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
       <LineSymbolizer>
        <CssParameter name="stroke">#b5d0d0</CssParameter>
        <CssParameter name="stroke-width">7</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
      </LineSymbolizer>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="9" fill="#6699cc" halo_radius="1" placement="line"/>
    </Rule>
    <Rule>
      <Filter>[waterway]='canal' and not ([tunnel] = 'yes' or [disused]='yes')</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#b5d0d0</CssParameter>
        <CssParameter name="stroke-width">7</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="9" fill="#6699cc" halo_radius="1" placement="line"/>
    </Rule>
    <Rule>
      <Filter>[waterway]='canal' and [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
       <LineSymbolizer>
        <CssParameter name="stroke">#b5d0d0</CssParameter>
        <CssParameter name="stroke-width">11</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">7</CssParameter>
      </LineSymbolizer>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="9" fill="#6699cc" halo_radius="1" placement="line"/>
    </Rule>
    <Rule>
      <Filter>[waterway]='canal' and not ([tunnel] = 'yes' or [disused]='yes')</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#b5d0d0</CssParameter>
        <CssParameter name="stroke-width">11</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="9" fill="#6699cc" halo_radius="1" placement="line"/>
    </Rule>
    <Rule>
      <Filter>[waterway]='derelict_canal' or ([waterway]='canal' and [disused]='yes')</Filter>
      <MaxScaleDenominator>250000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#b5e4d0</CssParameter>
        <CssParameter name="stroke-width">1.5</CssParameter>
        <CssParameter name="stroke-dasharray">4,4</CssParameter>
        <CssParameter name="stroke-opacity">0.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[waterway]='derelict_canal' or ([waterway]='canal' and [disused]='yes')</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#b5e4d0</CssParameter>
        <CssParameter name="stroke-width">2.5</CssParameter>
        <CssParameter name="stroke-dasharray">4,6</CssParameter>
        <CssParameter name="stroke-opacity">0.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="9" fill="#80d1ae" halo_radius="1" spacing="600" placement="line"/>
    </Rule>
    <Rule>
      <Filter>[waterway]='derelict_canal' or ([waterway]='canal' and [disused]='yes')</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#b5e4d0</CssParameter>
        <CssParameter name="stroke-width">4.5</CssParameter>
        <CssParameter name="stroke-dasharray">4,8</CssParameter>
        <CssParameter name="stroke-opacity">0.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="10" fill="#80d1ae" halo_radius="1" spacing="600" placement="line"/>
    </Rule>
    <Rule>
      <Filter>([waterway]='stream' or [waterway]='drain') and [tunnel]='yes'</Filter>
      <MaxScaleDenominator>25000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#b5d0d0</CssParameter>
        <CssParameter name="stroke-width">2.4</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#f3f7f7</CssParameter>
        <CssParameter name="stroke-width">1.2</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([waterway]='stream' or [waterway]='drain') and not [tunnel]='yes'</Filter>
      <MaxScaleDenominator>25000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#b5d0d0</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
      </LineSymbolizer>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="8" fill="#6699cc" halo_radius="1" spacing="600" placement="line"/>
    </Rule>
    <Rule>
      <ElseFilter/> <!--[waterway]='stream'</Filter>-->
      <MaxScaleDenominator>25000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#b5d0d0</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="dam">
    <Rule>
      <Filter>[waterway]='dam'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#444</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[waterway]='dam'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="8" fill="#222" halo_radius="1"/>
    </Rule>
</Style>
<Style name="citywalls">
    <Rule>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">grey</CssParameter>
        <CssParameter name="stroke-width">4</CssParameter>
        <CssParameter name="stroke-opacity">0.8</CssParameter>
      </LineSymbolizer>
    </Rule> 
    <Rule>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>10000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">grey</CssParameter>
        <CssParameter name="stroke-width">6</CssParameter>
        <CssParameter name="stroke-opacity">0.8</CssParameter>
      </LineSymbolizer>
    </Rule> 
    <Rule>
      <MaxScaleDenominator>10000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">grey</CssParameter>
        <CssParameter name="stroke-width">9</CssParameter>
        <CssParameter name="stroke-opacity">0.8</CssParameter>
      </LineSymbolizer>
    </Rule> 
</Style>

Tunnels

<Style name="tunnels-casing">
    <Rule>
      <Filter>[highway] = 'motorway' or [highway]='motorway_link' or [highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#506077</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'motorway' or [highway]='motorway_link' or [highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#506077</CssParameter>
        <CssParameter name="stroke-width">6.5</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'motorway' or [highway]='motorway_link' or [highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#506077</CssParameter>
        <CssParameter name="stroke-width">10</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'motorway' or [highway]='motorway_link' or [highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#506077</CssParameter>
        <CssParameter name="stroke-width">13</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#506077</CssParameter>
        <CssParameter name="stroke-width">4</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#506077</CssParameter>
        <CssParameter name="stroke-width">8</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
    </Rule>
   <Rule>
      <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#506077</CssParameter>
        <CssParameter name="stroke-width">11</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#506077</CssParameter>
        <CssParameter name="stroke-width">14</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
      <MaxScaleDenominator>150000</MaxScaleDenominator>
      <MinScaleDenominator>75000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#506077</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
      <MaxScaleDenominator>75000</MaxScaleDenominator>
      <MinScaleDenominator>25000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#506077</CssParameter>
        <CssParameter name="stroke-width">6</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
      <MaxScaleDenominator>25000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#506077</CssParameter>
        <CssParameter name="stroke-width">12</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'tertiary'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#506077</CssParameter>
        <CssParameter name="stroke-width">4</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
    </Rule>
    <!-- level 13-->
    <Rule>
      <Filter>[highway] = 'residential' or [highway] = 'minor' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#999</CssParameter>
        <CssParameter name="stroke-width">1</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="tunnels-fill">
    <Rule>
      <Filter>[highway] = 'motorway' or [highway]='motorway_link' or [highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#d6dfea</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'motorway' or [highway] = 'motorway_link' or [highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#d6dfea</CssParameter>
        <CssParameter name="stroke-width">5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'motorway' or [highway] = 'motorway_link' or [highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#d6dfea</CssParameter>
        <CssParameter name="stroke-width">8.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'motorway' or [highway] = 'motorway_link' or [highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#d6dfea</CssParameter>
        <CssParameter name="stroke-width">11</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#d6dfea</CssParameter>
        <CssParameter name="stroke-width">2.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#d6dfea</CssParameter>
        <CssParameter name="stroke-width">6.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#d6dfea</CssParameter>
        <CssParameter name="stroke-width">9</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#d6dfea</CssParameter>
        <CssParameter name="stroke-width">12</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
      <MaxScaleDenominator>150000</MaxScaleDenominator>
      <MinScaleDenominator>75000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#d6dfea</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
      <MaxScaleDenominator>75000</MaxScaleDenominator>
      <MinScaleDenominator>25000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#d6dfea</CssParameter>
        <CssParameter name="stroke-width">4</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'tertiary'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#d6dfea</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <!--zoom 13-->
    <Rule>
      <Filter>[highway] = 'residential' or [highway] = 'minor' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#fff</CssParameter>
        <CssParameter name="stroke-width">1</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>

Ponts

<Style name="road-bridges-casing">
     <Rule>
      <Filter>[highway] = 'motorway' or [highway]='motorway_link' or [highway] = 'trunk' or [highway]='trunk_link'</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">#506077</CssParameter>
        <CssParameter name="stroke-width">4</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' or [highway]='primary_link'</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">#8d4346</CssParameter>
        <CssParameter name="stroke-width">4</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary' or [highway]='secondary_link'</Filter>
      <MaxScaleDenominator>75000</MaxScaleDenominator>
      <MinScaleDenominator>25000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">10</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary' or [highway]='secondary_link'</Filter>
      <MaxScaleDenominator>25000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">12</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary' or [highway]='secondary_link'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">16</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'tertiary'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>25000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">6</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'tertiary'</Filter>
      <MaxScaleDenominator>25000</MaxScaleDenominator>
      <MinScaleDenominator>15000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">8</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'tertiary'</Filter>
      <MaxScaleDenominator>15000</MaxScaleDenominator>
      <MinScaleDenominator>7000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">12</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'residential' or [highway] = 'minor' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
      <MaxScaleDenominator>25000</MaxScaleDenominator>
      <MinScaleDenominator>15000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">6</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'residential' or [highway] = 'minor' or [highway] = 'unclassified' or [highway] = 'road'</Filter>
      <MaxScaleDenominator>15000</MaxScaleDenominator>
      <MinScaleDenominator>7000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'service'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>15000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'service'</Filter>
      <MaxScaleDenominator>15000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">8</CssParameter>
      </LineSymbolizer>
    </Rule>
    <!--Rule>
      <Filter>[highway] = 'pedestrian'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">2.2</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'pedestrian'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">3.8</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'pedestrian'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>10000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">7</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'pedestrian'</Filter>
      <MaxScaleDenominator>10000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">9.5</CssParameter>
      </LineSymbolizer>
    </Rule-->
</Style>
<Style name="road-bridges-fill">
     <Rule>
      <Filter>[highway] = 'motorway' or [highway]='motorway_link' or [highway] = 'trunk' or [highway]='trunk_link'</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>   
    <Rule>
      <Filter>[highway] = 'primary' or [highway]='primary_link'</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
      <MaxScaleDenominator>75000</MaxScaleDenominator>
      <MinScaleDenominator>25000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">9</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
      <MaxScaleDenominator>25000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">10.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>  
    <Rule>
      <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">14.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'tertiary'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>25000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#cdcdcd</CssParameter>
        <CssParameter name="stroke-width">4</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'tertiary'</Filter>
      <MaxScaleDenominator>25000</MaxScaleDenominator>
      <MinScaleDenominator>15000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#cdcdcd</CssParameter>
        <CssParameter name="stroke-width">6</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'tertiary'</Filter>
      <MaxScaleDenominator>15000</MaxScaleDenominator>
      <MinScaleDenominator>7000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#cdcdcd</CssParameter>
        <CssParameter name="stroke-width">10</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'road'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>25000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#ddd</CssParameter>
        <CssParameter name="stroke-width">3.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'road'</Filter>
      <MaxScaleDenominator>25000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#ddd</CssParameter>
        <CssParameter name="stroke-width">9.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'road'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#ddd</CssParameter>
        <CssParameter name="stroke-width">14</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'residential' or [highway] = 'minor' or [highway] = 'unclassified'</Filter>
      <MaxScaleDenominator>25000</MaxScaleDenominator>
      <MinScaleDenominator>15000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#cdcdcd</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'residential' or [highway] = 'minor' or [highway] = 'unclassified'</Filter>
      <MaxScaleDenominator>15000</MaxScaleDenominator>
      <MinScaleDenominator>7000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#cdcdcd</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'service'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>15000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'service'</Filter>
      <MaxScaleDenominator>15000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">6</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <!--Rule>
      <Filter>[highway] = 'pedestrian'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#ededed</CssParameter>
        <CssParameter name="stroke-width">1.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'pedestrian'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#ededed</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'pedestrian'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>10000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#ededed</CssParameter>
        <CssParameter name="stroke-width">5.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'pedestrian'</Filter>
      <MaxScaleDenominator>10000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#ededed</CssParameter>
        <CssParameter name="stroke-width">8</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule-->
</Style>

Routes

<Style name="minor-roads-casing-links">
    <Rule>
      <Filter>[highway]='raceway'</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">pink</CssParameter>
        <CssParameter name="stroke-width">1.2</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway]='raceway'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">pink</CssParameter>
        <CssParameter name="stroke-width">4</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway]='raceway'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">pink</CssParameter>
        <CssParameter name="stroke-width">7</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway]='motorway_link' or [highway] = 'trunk_link') and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#506077</CssParameter>
        <CssParameter name="stroke-width">1.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway]='motorway_link' or [highway] = 'trunk_link')  and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#506077</CssParameter>
        <CssParameter name="stroke-width">4.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway]='motorway_link' or [highway] = 'trunk_link')  and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#506077</CssParameter>
        <CssParameter name="stroke-width">8</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway]='motorway_link' or [highway] = 'trunk_link')  and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#506077</CssParameter>
        <CssParameter name="stroke-width">11</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary_link' and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>      
      <MinScaleDenominator>100000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#8d4346</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary_link' and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>      
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#8d4346</CssParameter>
        <CssParameter name="stroke-width">7.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary_link' and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>      
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#8d4346</CssParameter>
        <CssParameter name="stroke-width">11.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary_link' and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>      
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#8d4346</CssParameter>
        <CssParameter name="stroke-width">16</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary_link' and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>150000</MaxScaleDenominator>
      <MinScaleDenominator>75000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#a37b48</CssParameter>
        <CssParameter name="stroke-width">2.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary_link' and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>75000</MaxScaleDenominator>
      <MinScaleDenominator>25000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#a37b48</CssParameter>
        <CssParameter name="stroke-width">8.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary_link' and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>25000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#a37b48</CssParameter>
        <CssParameter name="stroke-width">11.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary_link' and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#a37b48</CssParameter>
        <CssParameter name="stroke-width">16</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>

minor-roads-casing

Motorway
<Style name="minor-roads-casing">
<Rule>
      <Filter>([highway]='motorway' or [highway] = 'trunk')  and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#506077</CssParameter>
        <CssParameter name="stroke-width">4</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
    </Rule>
	 <Rule>
      <Filter>([highway]='motorway' or [highway] = 'trunk')  and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#506077</CssParameter>
        <CssParameter name="stroke-width">6.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
    </Rule>
	 <Rule>
      <Filter>([highway]='motorway' or [highway] = 'trunk')  and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#506077</CssParameter>
        <CssParameter name="stroke-width">10</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
    </Rule>
	    <Rule>
      <Filter>([highway] = 'motorway' or [highway] = 'trunk') and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#506077</CssParameter>
        <CssParameter name="stroke-width">13</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
    </Rule>

Primary

    <Rule>
      <Filter>[highway] = 'primary' and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>      
      <MinScaleDenominator>100000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#8d4346</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
    </Rule>
	<Rule>
      <Filter>[highway] = 'primary' and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>      
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#8d4346</CssParameter>
        <CssParameter name="stroke-width">7.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
    </Rule>
	<Rule>
      <Filter>[highway] = 'primary' and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>      
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#8d4346</CssParameter>
        <CssParameter name="stroke-width">11.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
    </Rule>
	 <Rule>
      <Filter>[highway] = 'primary' and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>      
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#8d4346</CssParameter>
        <CssParameter name="stroke-width">16</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
    </Rule>

Secondary
<Rule>
      <Filter>[highway] = 'secondary' and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>150000</MaxScaleDenominator>
      <MinScaleDenominator>75000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#a37b48</CssParameter>
        <CssParameter name="stroke-width">2.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
	 <Rule>
      <Filter>[highway] = 'secondary' and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>75000</MaxScaleDenominator>
      <MinScaleDenominator>25000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#a37b48</CssParameter>
        <CssParameter name="stroke-width">6.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">butt</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary' and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>25000</MaxScaleDenominator>
      <MinScaleDenominator>7000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#a37b48</CssParameter>
        <CssParameter name="stroke-width">11.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
Tertiary
 	    <Rule>
      <Filter>[highway] = 'tertiary' and not [tunnel]='yes'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#cdcdcd</CssParameter>
        <CssParameter name="stroke-width">4</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'tertiary' and not [tunnel]='yes'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>25000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#cdcdcd</CssParameter>
        <CssParameter name="stroke-width">4</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'tertiary' and not [tunnel]='yes'</Filter>
      <MaxScaleDenominator>25000</MaxScaleDenominator>
      <MinScaleDenominator>15000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#cdcdcd</CssParameter>
        <CssParameter name="stroke-width">5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'tertiary' and not [tunnel]='yes'</Filter>
      <MaxScaleDenominator>15000</MaxScaleDenominator>
      <MinScaleDenominator>7000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#cdcdcd</CssParameter>
        <CssParameter name="stroke-width">6</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
Unclassified/Residential/...

    <Rule>
      <Filter>([highway] = 'residential' or [highway] = 'minor' or [highway] = 'unclassified' or [highway] = 'road' or ([highway]='track' and [tracktype]='grade1')) and not [tunnel]='yes'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#cdcdcd</CssParameter>
        <CssParameter name="stroke-width">1</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'residential' or [highway] = 'minor' or [highway] = 'unclassified' or [highway] = 'road' or ([highway]='track' and [tracktype]='grade1')) and not [tunnel]='yes'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#cdcdcd</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'residential' or [highway] = 'minor' or [highway] = 'unclassified' or [highway] = 'road' or ([highway]='track' and [tracktype]='grade1')) and not [tunnel]='yes'</Filter>
      <MaxScaleDenominator>25000</MaxScaleDenominator>
      <MinScaleDenominator>15000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#cdcdcd</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'residential' or [highway] = 'minor' or [highway] = 'unclassified' or [highway] = 'road' or ([highway]='track' and [tracktype]='grade1')) and not [tunnel]='yes'</Filter>
      <MaxScaleDenominator>15000</MaxScaleDenominator>
      <MinScaleDenominator>7000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#cdcdcd</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
Autres
<!--Rule>
      <Filter>[highway] = 'pedestrian' and not [tunnel]='yes'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">grey</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
   </Rule>
   <Rule>
      <Filter>[highway] = 'pedestrian' and [tunnel]='yes'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">grey</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
   </Rule>
   <Rule>
      <Filter>[highway] = 'pedestrian' and not [tunnel]='yes'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">grey</CssParameter>
        <CssParameter name="stroke-width">3.6</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
   </Rule>
   <Rule>
      <Filter>[highway] = 'pedestrian' and [tunnel]='yes'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">grey</CssParameter>
        <CssParameter name="stroke-width">3.6</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
   </Rule>
   <Rule>
      <Filter>[highway] = 'pedestrian' and not [tunnel]='yes'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>10000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">grey</CssParameter>
        <CssParameter name="stroke-width">6.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
   </Rule>
   <Rule>
      <Filter>[highway] = 'pedestrian' and [tunnel]='yes'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>10000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">grey</CssParameter>
        <CssParameter name="stroke-width">6.5</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
   </Rule>
   <Rule>
      <Filter>[highway] = 'pedestrian' and not [tunnel]='yes'</Filter>
      <MaxScaleDenominator>10000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">grey</CssParameter>
        <CssParameter name="stroke-width">9</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
   </Rule>
   <Rule>
      <Filter>[highway] = 'pedestrian' and [tunnel]='yes'</Filter>
      <MaxScaleDenominator>10000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">grey</CssParameter>
        <CssParameter name="stroke-width">9</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
    </Rule-->
</Style>

minor-roads-fill-links

  
<Style name="minor-roads-fill-links">
    <Rule>
      <Filter>([highway]='motorway_link' or [highway] = 'trunk_link') and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">0.5</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway]='motorway_link' or [highway] = 'trunk_link') and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway]='motorway_link' or [highway] = 'trunk_link') and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">6.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway]='motorway_link' or [highway] = 'trunk_link') and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">9</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
   <Rule>
      <Filter>[highway] = 'primary_link' and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">2.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary_link' and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">7</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary_link' and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">11</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary_link' and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">15.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
   <Rule>
      <Filter>[highway] = 'secondary_link' and not [tunnel]='yes'</Filter>
      <MaxScaleDenominator>150000</MaxScaleDenominator>
      <MinScaleDenominator>75000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary_link' and not [tunnel]='yes'</Filter>
      <MaxScaleDenominator>75000</MaxScaleDenominator>
      <MinScaleDenominator>25000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">8</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary_link' and not [tunnel]='yes'</Filter>
      <MaxScaleDenominator>25000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">11</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary_link' and not [tunnel]='yes'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">15.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>

minor-roads-fill

Motorway/trunk
<Style name="minor-roads-fill"> 

    <Rule>
      <Filter>([highway] = 'motorway' or [highway] = 'trunk') and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'motorway' or [highway] = 'trunk') and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'motorway' or [highway] = 'trunk') and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">8.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'motorway' or [highway] = 'trunk') and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">11</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>

Primary
   <Rule>
      <Filter>[highway] = 'primary' and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">2.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">7</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule> 
    <Rule>
      <Filter>[highway] = 'primary' and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">11</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' and not [tunnel] = 'yes'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">15.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>

Secondary
   <Rule>
      <Filter>[highway] = 'secondary' and not [tunnel]='yes'</Filter>
      <MaxScaleDenominator>150000</MaxScaleDenominator>
      <MinScaleDenominator>75000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary' and not [tunnel]='yes'</Filter>
      <MaxScaleDenominator>75000</MaxScaleDenominator>
      <MinScaleDenominator>25000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">6</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary' and not [tunnel]='yes'</Filter>
      <MaxScaleDenominator>25000</MaxScaleDenominator>
      <MinScaleDenominator>7000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">11</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
Tertiary


Unclassified/Residential/...
    <Rule>
      <Filter></Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#ccc</CssParameter>
        <CssParameter name="stroke-width">1.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>(([highway] = 'service' and not [service]='parking_aisle') or [highway] = 'living_street') and not [access] = 'private'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>7000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#bbbbbb</CssParameter>
        <CssParameter name="stroke-width">1</CssParameter>
      </LineSymbolizer>
    </Rule>
   <!--Rule>
      <Filter>[highway] = 'pedestrian'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#ededed</CssParameter>
        <CssParameter name="stroke-width">1.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'pedestrian'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#ededed</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'pedestrian'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>10000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#ededed</CssParameter>
        <CssParameter name="stroke-width">5.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'pedestrian'</Filter>
      <MaxScaleDenominator>10000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#ededed</CssParameter>
        <CssParameter name="stroke-width">8</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule-->

Autres
   
    <Rule>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <Filter>[railway] = 'rail' and not [tunnel] = 'yes'</Filter>
      <LineSymbolizer>
        <CssParameter name="stroke">#999999</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">1</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-dasharray">8,12</CssParameter>
      </LineSymbolizer>
    </Rule>

    <Rule>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <Filter>[railway] = 'rail' and [bridge] = 'yes'</Filter>
      <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">7</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <Filter>[railway] = 'rail'  and not [tunnel]='yes'</Filter>
      <LineSymbolizer>
        <CssParameter name="stroke">#999999</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">1</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-dasharray">0,11,8,1</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <Filter>([railway]='narrow_gauge' or [railway]='funicular') and not [tunnel]='yes'</Filter>
      <LineSymbolizer>
        <CssParameter name="stroke">#666</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
      </LineSymbolizer>
    </Rule>
     <Rule>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <Filter>[railway]='light_rail' and not [tunnel] = 'yes'</Filter>
      <LineSymbolizer>
        <CssParameter name="stroke">#666</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'steps'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">salmon</CssParameter>
        <CssParameter name="stroke-width">5.0</CssParameter>
        <CssParameter name="stroke-dasharray">2,1</CssParameter>
      </LineSymbolizer>
    </Rule>  
    <Rule>
      <Filter>[highway] = 'steps'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#fff</CssParameter>
        <CssParameter name="stroke-width">6</CssParameter>
        <CssParameter name="stroke-opacity">0.4</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">salmon</CssParameter>
        <CssParameter name="stroke-width">2.0</CssParameter>
        <CssParameter name="stroke-dasharray">1,3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'byway'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">4</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
        <CssParameter name="stroke-opacity">0.4</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#ffcc00</CssParameter>
        <CssParameter name="stroke-width">1.5</CssParameter>
        <CssParameter name="stroke-dasharray">3,4</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'track'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">2.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
        <CssParameter name="stroke-opacity">0.4</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#996600</CssParameter>
        <CssParameter name="stroke-width">1.2</CssParameter>
        <CssParameter name="stroke-dasharray">3,4</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
     </Rule>    
    <Rule>
      <Filter>[highway] = 'unsurfaced'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#fff</CssParameter>
        <CssParameter name="stroke-width">3.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
        <CssParameter name="stroke-opacity">0.4</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#debd9c</CssParameter>
        <CssParameter name="stroke-width">2.5</CssParameter>
        <CssParameter name="stroke-dasharray">2,4</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'unsurfaced'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#fff</CssParameter>
        <CssParameter name="stroke-width">5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
        <CssParameter name="stroke-opacity">0.4</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#debd9c</CssParameter>
        <CssParameter name="stroke-width">4</CssParameter>
        <CssParameter name="stroke-dasharray">4,6</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[aeroway] = 'runway'</Filter>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <MinScaleDenominator>200000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#bbc</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[aeroway] = 'runway'</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#bbc</CssParameter>
        <CssParameter name="stroke-width">7</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[aeroway] = 'runway' and not [bridge]='yes'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#bbc</CssParameter>
        <CssParameter name="stroke-width">18</CssParameter>
      </LineSymbolizer>
    </Rule>
    <!--Rule>
      <ElseFilter/>
      <MaxScaleDenominator>1500000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
        <CssParameter name="stroke-dasharray">4,4</CssParameter>
      </LineSymbolizer>
    </Rule-->

</Style>

access

<Style name="access">
     <Rule>
      <Filter>[access] = 'permissive' and ([highway]='unclassified' or [highway]='residential' or [highway]='service')</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#cf9</CssParameter>
        <CssParameter name="stroke-width">6</CssParameter>
        <CssParameter name="stroke-dasharray">6,8</CssParameter>
        <CssParameter name="stroke-opacity">0.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[access]='destination' and ([highway]='unclassified' or [highway]='residential' or [highway]='service')</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#c2e0ff</CssParameter>
        <CssParameter name="stroke-width">6</CssParameter>
        <CssParameter name="stroke-dasharray">6,8</CssParameter>
        <CssParameter name="stroke-opacity">0.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[access] = 'private' or [access] = 'no'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#efa9a9</CssParameter>
        <CssParameter name="stroke-width">6</CssParameter>
        <CssParameter name="stroke-dasharray">6,8</CssParameter>
        <CssParameter name="stroke-opacity">0.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="footbikecycle-tunnels">
    <Rule>
      <Filter>[highway] = 'bridleway' or ([highway] = 'path' and [horse] = 'designated')</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">grey</CssParameter>
        <CssParameter name="stroke-width">5</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#fff</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">green</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
        <CssParameter name="stroke-opacity">0.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="tracks-notunnel-nobridge">
    <Rule>
      <Filter>[tracktype]='grade1'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">3.5</CssParameter>
        <CssParameter name="stroke-opacity">0.4</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#b37700</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-opacity">0.7</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[tracktype]='grade2'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
        <CssParameter name="stroke-opacity">0.4</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#a87000</CssParameter>
        <CssParameter name="stroke-width">1.5</CssParameter>
        <CssParameter name="stroke-dasharray">9,4</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
        <CssParameter name="stroke-opacity">0.8</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[tracktype]='grade3'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
        <CssParameter name="stroke-opacity">0.4</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#996600</CssParameter>
        <CssParameter name="stroke-width">1.5</CssParameter>
        <CssParameter name="stroke-dasharray">3,4</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
        <CssParameter name="stroke-opacity">0.8</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[tracktype]='grade4'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
        <CssParameter name="stroke-opacity">0.4</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#996600</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-dasharray">4,7,1,5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
        <CssParameter name="stroke-opacity">0.8</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[tracktype]='grade5'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
        <CssParameter name="stroke-opacity">0.4</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#996600</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-dasharray">1,5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
        <CssParameter name="stroke-opacity">0.8</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <ElseFilter/>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
        <CssParameter name="stroke-opacity">0.4</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#996600</CssParameter>
        <CssParameter name="stroke-width">1.5</CssParameter>
        <CssParameter name="stroke-dasharray">3,4</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
     </Rule>    
</Style>
<Style name="tracks-bridges">
    <Rule>
     <Filter>[tracktype]='grade1'</Filter>
     <MaxScaleDenominator>50000</MaxScaleDenominator>
     <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">5</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">3.5</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#b37700</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-opacity">0.7</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
     <Filter>[tracktype]='grade2'</Filter>
     <MaxScaleDenominator>50000</MaxScaleDenominator>
     <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">4.5</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#a87000</CssParameter>
        <CssParameter name="stroke-width">1.5</CssParameter>
        <CssParameter name="stroke-dasharray">3,4</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
        <CssParameter name="stroke-opacity">0.8</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
     <Filter>[tracktype]='grade3'</Filter>
     <MaxScaleDenominator>50000</MaxScaleDenominator>
     <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">4.5</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">3.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#996600</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
        <CssParameter name="stroke-opacity">0.7</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
     <Filter>[tracktype]='grade4'</Filter>
     <MaxScaleDenominator>50000</MaxScaleDenominator>
     <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">4.5</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#996600</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-dasharray">4,7,1,5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
        <CssParameter name="stroke-opacity">0.8</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
     <Filter>[tracktype]='grade5'</Filter>
     <MaxScaleDenominator>50000</MaxScaleDenominator>
     <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">4.5</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#996600</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-dasharray">1,5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
        <CssParameter name="stroke-opacity">0.8</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <ElseFilter/>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
     <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">4.5</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#996600</CssParameter>
        <CssParameter name="stroke-width">1.5</CssParameter>
        <CssParameter name="stroke-dasharray">3,4</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
     </Rule>    
</Style>
<Style name="tracks-tunnels">
    <Rule>
     <Filter>[tracktype]='grade1'</Filter>
     <MaxScaleDenominator>50000</MaxScaleDenominator>
     <LineSymbolizer>
        <CssParameter name="stroke">grey</CssParameter>
        <CssParameter name="stroke-width">5</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">3.5</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#b37700</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-opacity">0.5</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
     <Filter>[tracktype]='grade2'</Filter>
     <MaxScaleDenominator>50000</MaxScaleDenominator>
     <LineSymbolizer>
        <CssParameter name="stroke">grey</CssParameter>
        <CssParameter name="stroke-width">4.5</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#a87000</CssParameter>
        <CssParameter name="stroke-width">1.5</CssParameter>
        <CssParameter name="stroke-dasharray">3,4</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
        <CssParameter name="stroke-opacity">0.5</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
     <Filter>[tracktype]='grade3'</Filter>
     <MaxScaleDenominator>50000</MaxScaleDenominator>
     <LineSymbolizer>
        <CssParameter name="stroke">grey</CssParameter>
        <CssParameter name="stroke-width">4.5</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">3.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#996600</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
        <CssParameter name="stroke-opacity">0.5</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
     <Filter>[tracktype]='grade4'</Filter>
     <MaxScaleDenominator>50000</MaxScaleDenominator>
     <LineSymbolizer>
        <CssParameter name="stroke">grey</CssParameter>
        <CssParameter name="stroke-width">4.5</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#996600</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-dasharray">4,7,1,5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
        <CssParameter name="stroke-opacity">0.5</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
     <Filter>[tracktype]='grade5'</Filter>
     <MaxScaleDenominator>50000</MaxScaleDenominator>
     <LineSymbolizer>
        <CssParameter name="stroke">grey</CssParameter>
        <CssParameter name="stroke-width">4.5</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#996600</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-dasharray">1,5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
        <CssParameter name="stroke-opacity">0.5</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <ElseFilter/>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
     <LineSymbolizer>
        <CssParameter name="stroke">grey</CssParameter>
        <CssParameter name="stroke-width">4.5</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#996600</CssParameter>
        <CssParameter name="stroke-width">1.5</CssParameter>
        <CssParameter name="stroke-dasharray">3,4</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
        <CssParameter name="stroke-opacity">0.5</CssParameter>
      </LineSymbolizer>
     </Rule>    
</Style>
<Style name="waterway-bridges">
    <Rule>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#000</CssParameter>
        <CssParameter name="stroke-width">7</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#b5d0d0</CssParameter>
        <CssParameter name="stroke-width">6</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="9" fill="#6699cc" halo_radius="1" placement="line"/>
    </Rule>
    <Rule>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#000</CssParameter>
        <CssParameter name="stroke-width">11</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#b5d0d0</CssParameter>
        <CssParameter name="stroke-width">10</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="9" fill="#6699cc" halo_radius="1" placement="line"/>
    </Rule>
</Style>
<Style name="noncased-ways-bridges">
    <Rule>
      <Filter>[aeroway] = 'runway'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">19</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#bbc</CssParameter>
        <CssParameter name="stroke-width">18</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[aeroway] = 'taxiway'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">5</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#bbc</CssParameter>
        <CssParameter name="stroke-width">4</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[aeroway] = 'taxiway'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">7</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#bbc</CssParameter>
        <CssParameter name="stroke-width">6</CssParameter>
      </LineSymbolizer>
    </Rule>
     <Rule>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <Filter>[railway]='light_rail'</Filter>
      <LineSymbolizer>
        <CssParameter name="stroke">#555</CssParameter>
        <CssParameter name="stroke-width">5.5</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">4</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#666</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'unsurfaced'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">5</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#fff</CssParameter>
        <CssParameter name="stroke-width">4</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#debd9c</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-dasharray">2,4</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'unsurfaced'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">6.5</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#fff</CssParameter>
        <CssParameter name="stroke-width">5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#debd9c</CssParameter>
        <CssParameter name="stroke-width">4</CssParameter>
        <CssParameter name="stroke-dasharray">4,6</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'bridleway' or ([highway] = 'path' and [horse] = 'designated')</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">5.5</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#fff</CssParameter>
        <CssParameter name="stroke-width">4</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">green</CssParameter>
        <CssParameter name="stroke-width">1.5</CssParameter>
        <CssParameter name="stroke-dasharray">4,2</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'byway'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">5.5</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">4</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#ffcc00</CssParameter>
        <CssParameter name="stroke-width">1.5</CssParameter>
        <CssParameter name="stroke-dasharray">3,4</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="mwaybridge_layer0_casing">
    <Rule>
      <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">6.5</CssParameter>
      </LineSymbolizer>
    </Rule>    
    <Rule>
      <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">9</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">12</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="mwaybridge_layer0_fill">
    <Rule>
      <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">5.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>   
    <Rule>
      <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">7.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
   <Rule>
      <Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">10</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="mwaybridge_layer1_casing">
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='1'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">6.5</CssParameter>
      </LineSymbolizer>
    </Rule>    
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='1'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">9</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='1'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">12</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="mwaybridge_layer1_fill">
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='1'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">5.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>      
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='1'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">7.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='1'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">10</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="mwaybridge_layer2_casing">
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='2'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">6.5</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='2'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">9</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='2'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">12</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="mwaybridge_layer2_fill">
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='2'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">5.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='2'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">7.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='2'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">10</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="mwaybridge_layer3_casing">
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='3'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">6.5</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='3'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">9</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='3'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">12</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="mwaybridge_layer3_fill">
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='3'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">5.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='3'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">7.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='3'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">10</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>  
</Style>
<Style name="mwaybridge_layer4_casing">
     <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='4'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">6.5</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='4'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">9</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='4'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">12</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="mwaybridge_layer4_fill">
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='4'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">5.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='4'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">7.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='4'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">10</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="mwaybridge_layer5_casing">
     <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='5'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">6.5</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='5'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">9</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='5'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">12</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="mwaybridge_layer5_fill">
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='5'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">5.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='5'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">7.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'motorway' or [highway]='motorway_link') and [layer]='5'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">10</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="primarybridge_layer0_casing">
    <Rule>
      <Filter>[highway] = 'primary' or [highway]='primary_link'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">8</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' or [highway]='primary_link'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">11</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' or [highway]='primary_link'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">16</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="primarybridge_layer0_fill">
    <Rule>
      <Filter>[highway] = 'primary' or [highway]='primary_link'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">7</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>   
    <Rule>
      <Filter>[highway] = 'primary' or [highway]='primary_link'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">9.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' or [highway]='primary_link'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">14.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="primarybridge_layer1_casing">
    <Rule>
      <Filter>([highway] = 'primary' or [highway]='primary_link') and [layer]='1'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">8</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'primary' or [highway]='primary_link') and [layer]='1'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">11</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'primary' or [highway]='primary_link') and [layer]='1'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">16</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="primarybridge_layer1_fill">
    <Rule>
      <Filter>([highway] = 'primary' or [highway]='primary_link') and [layer]='1'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">7</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>      
    <Rule>
      <Filter>([highway] = 'primary' or [highway]='primary_link') and [layer]='1'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">9.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'primary' or [highway]='primary_link') and [layer]='1'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">14.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="primarybridge_layer2_casing">
    <Rule>
      <Filter>([highway] = 'primary' or [highway]='primary_link') and [layer]='2'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">8</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'primary' or [highway]='primary_link') and [layer]='2'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">11</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'primary' or [highway]='primary_link') and [layer]='2'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
        <LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">16</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="primarybridge_layer2_fill">
    <Rule>
      <Filter>([highway] = 'primary' or [highway]='primary_link') and [layer]='2'</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">7</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>       
    <Rule>
      <Filter>([highway] = 'primary' or [highway]='primary_link') and [layer]='2'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">9.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>([highway] = 'primary' or [highway]='primary_link') and [layer]='2'</Filter>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">14.5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="roads">
    <!--  -->
    <!-- level 4-5 -->
    <Rule>
      <Filter>[highway] = 'motorway' or [highway] = 'motorway_link' or [highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
      <MaxScaleDenominator>25000000</MaxScaleDenominator>
      <MinScaleDenominator>5000000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0c990</CssParameter>
        <CssParameter name="stroke-width">0.5</CssParameter>
      </LineSymbolizer>
    </Rule>
    <!-- level 6-8 -->
    <Rule>
      <Filter>[highway] = 'motorway' or [highway] = 'motorway_link' or [highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
      <MaxScaleDenominator>5000000</MaxScaleDenominator>
      <MinScaleDenominator>2000000</MinScaleDenominator>
      <LineSymbolizer>
       <CssParameter name="stroke">#f0c990</CssParameter>
       <CssParameter name="stroke-width">1</CssParameter>
      </LineSymbolizer>
    </Rule>
<Rule>
      <Filter>[highway] = 'motorway' or [highway] = 'motorway_link' or [highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
      <MaxScaleDenominator>2000000</MaxScaleDenominator>
      <MinScaleDenominator>1000000</MinScaleDenominator>
      <LineSymbolizer>
       <CssParameter name="stroke">#f0c990</CssParameter>
       <CssParameter name="stroke-width">1.4</CssParameter>
      </LineSymbolizer>
    </Rule>
    <!-- level 9 -->
   <Rule>
     <Filter>[highway] = 'motorway' or [highway] = 'motorway_link' or [highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <MinScaleDenominator>500000</MinScaleDenominator>
      <LineSymbolizer>
      <CssParameter name="stroke">#f0c990</CssParameter>
      <CssParameter name="stroke-width">2</CssParameter>
    </LineSymbolizer>
   </Rule>
   <Rule>
     <Filter>[highway] = 'motorway' or [highway] = 'motorway_link' or [highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <MinScaleDenominator>200000</MinScaleDenominator>
      <LineSymbolizer>
      <CssParameter name="stroke">#f0c990</CssParameter>
      <CssParameter name="stroke-width">2.5</CssParameter>
    </LineSymbolizer>
   </Rule>
   <!-- PRIMARY-->
   <!-- level 5-6-->
   <Rule>
      <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
      <MaxScaleDenominator>5000000</MaxScaleDenominator>
      <MinScaleDenominator>2000000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">0.5</CssParameter>
      </LineSymbolizer>
    </Rule>
    <!-- level 7-9-->
    <Rule>
      <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
      <MaxScaleDenominator>2000000</MaxScaleDenominator>
      <MinScaleDenominator>1000000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">1.2</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <MinScaleDenominator>500000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
      </LineSymbolizer>
    </Rule>
    <!-- level 10 -->
    <Rule>
      <Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <MinScaleDenominator>200000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">2.5</CssParameter>
      </LineSymbolizer>
    </Rule>
    <!-- SECONDARY -->
    <!-- level 7-9 -->
    <Rule>
      <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
      <MaxScaleDenominator>2000000</MaxScaleDenominator>
      <MinScaleDenominator>500000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">1</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f0d8b5</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <Filter>[railway]='monorail'</Filter>
      <LineSymbolizer>
        <CssParameter name="stroke">#fff</CssParameter>
        <CssParameter name="stroke-width">4</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
        <CssParameter name="stroke-opacity">0.4</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#777</CssParameter>
        <CssParameter name="stroke-width">3.0</CssParameter>
        <CssParameter name="stroke-dasharray">2,3</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
        <CssParameter name="stroke-linecap">round</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="trams">
    <Rule>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>7000</MinScaleDenominator><LineSymbolizer>
        <CssParameter name="stroke">black</CssParameter>
        <CssParameter name="stroke-width">7</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">white</CssParameter>
        <CssParameter name="stroke-width">5</CssParameter>
        <CssParameter name="stroke-linejoin">round</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>

Textes

<Style name="roads-text-low-zoom">
    <Rule>
      <Filter>[highway] = 'motorway' and [length] = 1</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/mot_shield1.png" type="png" width="17" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'motorway' and [length] = 2</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/mot_shield2.png" type="png" width="24" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'motorway' and [length] = 3</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/mot_shield3.png" type="png" width="31" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'motorway' and [length] = 4</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/mot_shield4.png" type="png" width="38" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'motorway' and [length] = 5</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/mot_shield5.png" type="png" width="45" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'motorway' and [length] = 6</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/mot_shield6.png" type="png" width="52" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'motorway' and [length] = 7</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/mot_shield6.png" type="png" width="52" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'motorway' and [length] = 8</Filter>
      <MaxScaleDenominator>1000000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/mot_shield7.png" type="png" width="59" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'trunk' and [length] = 1</Filter>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/tru_shield1.png" type="png" width="17" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'trunk' and [length] = 2</Filter>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/tru_shield2.png" type="png" width="24" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'trunk' and [length] = 3</Filter>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/tru_shield3.png" type="png" width="31" height="17" min_distance="24" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'trunk' and [length] = 4</Filter>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/tru_shield4.png" type="png" width="38" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'trunk' and [length] = 5</Filter>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/tru_shield5.png" type="png" width="45" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'trunk' and [length] = 6</Filter>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/tru_shield6.png" type="png" width="52" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'trunk' and [length] = 7</Filter>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/tru_shield7.png" type="png" width="59" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'trunk' and [length] = 8</Filter>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/tru_shield8.png" type="png" width="66" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' and [length] = 1</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/pri_shield1.png" type="png" width="17" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' and [length] = 2</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/pri_shield2.png" type="png" width="24" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' and [length] = 3</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/pri_shield3.png" type="png" width="31" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' and [length] = 4</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/pri_shield4.png" type="png" width="38" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' and [length] = 5</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/pri_shield5.png" type="png" width="45" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' and [length] = 6</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/pri_shield6.png" type="png" width="52" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' and [length] = 7</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/pri_shield7.png" type="png" width="59" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' and [length] = 8</Filter>
      <MaxScaleDenominator>200000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/pri_shield8.png" type="png" width="66" height="17" min_distance="30" spacing="750"/>
    </Rule>
</Style>
<Style name="roads-text">
    <Rule>
      <Filter>[highway] = 'motorway' and [length] = 1</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/mot_shield1.png" type="png" width="17" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'motorway' and [length] = 2</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/mot_shield2.png" type="png" width="24" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'motorway' and [length] = 3</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/mot_shield3.png" type="png" width="31" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'motorway' and [length] = 4</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/mot_shield4.png" type="png" width="38" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'motorway' and [length] = 5</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/mot_shield5.png" type="png" width="45" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'motorway' and [length] = 6</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/mot_shield6.png" type="png" width="52" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'motorway' and [length] = 7</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/mot_shield6.png" type="png" width="52" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'motorway' and [length] = 8</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/mot_shield7.png" type="png" width="59" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'trunk' and [length] = 1</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/tru_shield1.png" type="png" width="17" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'trunk' and [length] = 2</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/tru_shield2.png" type="png" width="24" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'trunk' and [length] = 3</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/tru_shield3.png" type="png" width="31" height="17" min_distance="24" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'trunk' and [length] = 4</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/tru_shield4.png" type="png" width="38" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'trunk' and [length] = 5</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/tru_shield5.png" type="png" width="45" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'trunk' and [length] = 6</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/tru_shield6.png" type="png" width="52" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'trunk' and [length] = 7</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/tru_shield7.png" type="png" width="59" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'trunk' and [length] = 8</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/tru_shield8.png" type="png" width="66" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' and [length] = 1</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/pri_shield1.png" type="png" width="17" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' and [length] = 2</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/pri_shield2.png" type="png" width="24" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' and [length] = 3</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/pri_shield3.png" type="png" width="31" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' and [length] = 4</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/pri_shield4.png" type="png" width="38" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' and [length] = 5</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/pri_shield5.png" type="png" width="45" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' and [length] = 6</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/pri_shield6.png" type="png" width="52" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' and [length] = 7</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/pri_shield7.png" type="png" width="59" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'primary' and [length] = 8</Filter>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/pri_shield8.png" type="png" width="66" height="17" min_distance="30" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary' and [length] = 1</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/sec_shield1.png" type="png" width="17" height="17" min_distance="21" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary' and [length] = 2</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/sec_shield2.png" type="png" width="24" height="17" min_distance="21" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary' and [length] = 3</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/sec_shield3.png" type="png" width="31" height="17" min_distance="21" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary' and [length] = 4</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/sec_shield4.png" type="png" width="38" height="17" min_distance="21" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary' and [length] = 5</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/sec_shield5.png" type="png" width="45" height="17" min_distance="21" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary' and [length] = 6</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/sec_shield6.png" type="png" width="52" height="17" min_distance="21" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary' and [length] = 7</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/sec_shield7.png" type="png" width="59" height="17" min_distance="21" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary' and [length] = 8</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="10" fill="#fff" placement="line" file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/sec_shield8.png" type="png" width="66" height="17" min_distance="21" spacing="750"/>
    </Rule>
    <Rule>
      <Filter>([aeroway] = 'runway' or [aeroway]='taxiway') and not [bridge]='yes'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <TextSymbolizer name="ref" face_name="DejaVu Sans Book" size="10" fill="#333" halo_radius="1"  min_distance="18" spacing="750" placement="line"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'trunk' or [highway] = 'primary'</Filter>
      <MaxScaleDenominator>75000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="8" fill="black" halo_radius="0" placement="line"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary'</Filter>
      <MaxScaleDenominator>75000</MaxScaleDenominator>
      <MinScaleDenominator>50000</MinScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="8" fill="black" halo_radius="1" halo_fill="#f0d8b5" placement="line"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'trunk' or [highway] = 'primary'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="9" fill="black" halo_radius="0" placement="line"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'trunk' or [highway] = 'primary'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="10" fill="black" halo_radius="0" placement="line"/>
    </Rule>
    <Rule>
      <Filter>[highway] = 'secondary'</Filter>
      <MaxScaleDenominator>50000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="9" fill="black" halo_radius="1" halo_fill="#f0d8b5" placement="line"/>
    </Rule><Rule>
      <Filter>[highway] = 'secondary'</Filter>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="10" fill="black" halo_radius="1" halo_fill="#f0d8b5" placement="line"/>
    </Rule>
    <!--Rule>
      <ElseFilter/>
      <MaxScaleDenominator>15000</MaxScaleDenominator>
      <MinScaleDenominator>5000</MinScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="9" fill="#000" halo_radius="1" placement="line" />
    </Rule>
    <Rule>
      <ElseFilter/>
      <MaxScaleDenominator>5000</MaxScaleDenominator>
      <MinScaleDenominator>100</MinScaleDenominator>
      <TextSymbolizer name="name" face_name="DejaVu Sans Book" size="11" fill="#000" halo_radius="1" placement="line" />
    </Rule-->
</Style>
<Style name="piers">
    <Rule>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <MinScaleDenominator>100000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f2efe9</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f2efe9</CssParameter>
        <CssParameter name="stroke-width">4</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <MinScaleDenominator>1000</MinScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#f2efe9</CssParameter>
        <CssParameter name="stroke-width">7</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>
<Style name="cliffs">
     <Rule>
      <MaxScaleDenominator>100000</MaxScaleDenominator>
      <MinScaleDenominator>20000</MinScaleDenominator>
      <Filter>[natural] = 'cliff'</Filter>       
       <LinePatternSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/cliff.png" type="png" width="10" height="4" />
    </Rule>
    <Rule>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <Filter>[natural] = 'cliff'</Filter>
       <LinePatternSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/cliff2.png" type="png" width="12" height="6" />
    </Rule>
    <Rule>
      <MaxScaleDenominator>20000</MaxScaleDenominator>
      <Filter>[man_made] = 'embankment'</Filter>
       <LinePatternSymbolizer file= "/media/Stockage/Data/Sites/map/mapnikOsm/symbols/cliff.png" type="png" width="10" height="4" />
    </Rule>
</Style>
<Style name="directions">
    <Rule>
      <Filter>[oneway] = 'yes'</Filter>
      <MaxScaleDenominator>10000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#6c70d5</CssParameter>
        <CssParameter name="stroke-width">1</CssParameter>
        <CssParameter name="stroke-linejoin">bevel</CssParameter>
        <CssParameter name="stroke-dasharray">0,12,10,152</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#6c70d5</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-linejoin">bevel</CssParameter>
        <CssParameter name="stroke-dasharray">0,12,9,153</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#6c70d5</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">bevel</CssParameter>
        <CssParameter name="stroke-dasharray">0,18,2,154</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#6c70d5</CssParameter>
        <CssParameter name="stroke-width">4</CssParameter>
        <CssParameter name="stroke-linejoin">bevel</CssParameter>
        <CssParameter name="stroke-dasharray">0,18,1,155</CssParameter>
      </LineSymbolizer>
    </Rule>
    <Rule>
      <Filter>[oneway] = '-1'</Filter>
      <MaxScaleDenominator>10000</MaxScaleDenominator>
      <LineSymbolizer>
        <CssParameter name="stroke">#6c70d5</CssParameter>
        <CssParameter name="stroke-width">1</CssParameter>
        <CssParameter name="stroke-linejoin">bevel</CssParameter>
        <CssParameter name="stroke-dasharray">0,12,10,152</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#6c70d5</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
        <CssParameter name="stroke-linejoin">bevel</CssParameter>
        <CssParameter name="stroke-dasharray">0,13,9,152</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#6c70d5</CssParameter>
        <CssParameter name="stroke-width">3</CssParameter>
        <CssParameter name="stroke-linejoin">bevel</CssParameter>
        <CssParameter name="stroke-dasharray">0,14,2,158</CssParameter>
      </LineSymbolizer>
      <LineSymbolizer>
        <CssParameter name="stroke">#6c70d5</CssParameter>
        <CssParameter name="stroke-width">4</CssParameter>
        <CssParameter name="stroke-linejoin">bevel</CssParameter>
        <CssParameter name="stroke-dasharray">0,15,1,158</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>

Layer

<Layer name="world" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>world</StyleName>
    <Datasource>
      <Parameter name="type">shape</Parameter>
      <Parameter name="file">/media/Stockage/Data/Sites/map/mapnikOsm/world_boundaries/shoreline_300</Parameter>
    </Datasource>
</Layer>
<Layer name="coast-poly" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>coast-poly</StyleName>
    <Datasource>
      <Parameter name="type">shape</Parameter>
      <Parameter name="file">/media/Stockage/Data/Sites/map/mapnikOsm/world_boundaries/processed_p</Parameter>
    </Datasource>
</Layer>
<Layer name="builtup" status="on" srs="+proj=merc +datum=WGS84 +over">
    <StyleName>builtup</StyleName>
    <Datasource>
      <Parameter name="type">shape</Parameter>
      <Parameter name="file">/media/Stockage/Data/Sites/map/mapnikOsm/world_boundaries/builtup_area</Parameter>
    </Datasource>
</Layer>
<Layer name="leisure" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>leisure</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way,aeroway,amenity,landuse,leisure,man_made,military,"natural",power,tourism,name,ST_area(way)::numeric as aire
       from planet_osm_polygon
       where landuse is not null
          or leisure is not null
          or aeroway in ('apron','aerodrome')
          or man_made='pier'
          or amenity in ('parking','university','college','school','hospital','grave_yard')
          or military in ('barracks','danger_area')
          or "natural" in ('field','beach','glacier','heath','mud','wood')
          or power in ('station','sub_station')
          or tourism in ('attraction','camp_site','caravan_site','picnic_site','zoo')
       order by z_order,way_area desc
      ) as leisure
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="sports_grounds" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>sports_grounds</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">(select way,leisure from planet_osm_polygon where leisure in ('sports_centre','stadium') order by z_order,way_area desc) as sports_grounds</Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="water_areas" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>water_areas</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="table">(select way,"natural",waterway,landuse,name,ST_area(way)::numeric as aire from planet_osm_polygon where waterway in ('dock','mill_pond','riverbank','canal') or landuse in ('reservoir','water') or "natural" in ('lake','water','land','marsh','scrub','wetland','glacier') order by z_order,way_area desc) as water_areas</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="water_lines" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>water_lines</StyleName>
    <StyleName>dam</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="table">(select way,waterway,disused,name,case when tunnel in ('yes','true','1') then 'yes'::text else tunnel end as tunnel from planet_osm_line where waterway IS NOT NULL order by z_order) as water_lines</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="land features" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
     <StyleName>piers</StyleName>
     <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way from planet_osm_line where man_made='pier') as piers
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="tunnels" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>tunnels-casing</StyleName>
    <StyleName>tunnels-fill</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way,highway from planet_osm_line where highway in ('motorway','motorway_link','trunk','trunk_link','primary','primary_link','secondary','secondary_link','tertiary','residential','unclassified','minor') and tunnel in ('yes','true','1') order by z_order) as roads
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="citywalls" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>citywalls</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="table">(select way from planet_osm_line where "historic"='citywalls') as citywalls</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="turning_circle" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>turning_circle</StyleName>    
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">(select way from planet_osm_point where highway='turning_circle') as turning_circle</Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="footbikecycle-tunnels" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>footbikecycle-tunnels</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way,highway,horse,foot,bicycle from planet_osm_line where highway in ('bridleway','footway','cycleway','path') and tunnel in ('yes','true','1') order by z_order) as roads
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="tracks-notunnel-nobridge" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>tracks-notunnel-nobridge</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way,tracktype from planet_osm_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
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="tracks-tunnels" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>tracks-tunnels</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way,tracktype from planet_osm_line where highway='track' and tunnel in ('yes','true','1')) as tracks
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="buildings" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>buildings</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way,building,leisure,railway,amenity,aeroway from planet_osm_polygon
       where building is not null
          or leisure in ('pitch','track')
          or railway='station'
          or amenity='place_of_worship'
          or aeroway='terminal'
       order by z_order,way_area desc) as buildings
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="line features" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
     <StyleName>cliffs</StyleName>
     <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way,barrier,"natural",man_made from planet_osm_line where barrier is not null or "natural" in ('hedge','cliff') or man_made='embankment') as roads
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="highway-area-casing" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>highway-area-casing</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way,highway from planet_osm_polygon
       where highway in ('residential','unclassified','pedestrian','service','footway','track')
       order by z_order,way_area desc) as roads
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="minor-roads-casing" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>minor-roads-casing-links</StyleName>
    <StyleName>minor-roads-casing</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way,highway,service,tracktype,
       case when tunnel in ('yes','true','1') then 'yes'::text else tunnel end as tunnel
       from planet_osm_line
       where highway in ('motorway','motorway_link','trunk','trunk_link','primary','primary_link','secondary','secondary_link','tertiary','residential','unclassified','minor','road','service','pedestrian','raceway')
       or highway='track' and tracktype='grade1'
       order by z_order) as roads
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="highway-area-fill" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>highway-area-fill</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way,highway from planet_osm_polygon
       where highway in ('residential','unclassified','pedestrian','service','footway','living_street','track')
       order by z_order,way_area desc) as roads
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="minor-roads-fill" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>minor-roads-fill-links</StyleName>
    <StyleName>minor-roads-fill</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way,highway,horse,bicycle,foot,construction,railway,aeroway,service,access,tracktype,
       case when tunnel in ('yes','true','1') then 'yes'::text else tunnel end as tunnel,
       case when bridge in ('yes','true','1') then 'yes'::text else bridge end as bridge
       from planet_osm_line
       where(highway is not null
          or aeroway in ('runway','taxiway')
          or railway in ('light_rail','narrow_gauge','funicular','rail','subway','tram','spur','siding','platform'))
       order by z_order) as roads
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="ferry-routes" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>ferry-routes</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way from planet_osm_line where route='ferry' ) as routes
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="aerialways" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>aerialways</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way,aerialway from planet_osm_line where aerialway is not null) as aerialways
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="roads" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <!--StyleName>roads-casing</StyleName-->
    <StyleName>roads</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way,highway,railway,
       case when tunnel in ('yes','true','1') then 'yes'::text else tunnel end as tunnel
       from planet_osm_roads
       where highway is not null
          or railway is not null
       order by z_order
      ) as roads
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="waterway-bridges" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>waterway-bridges</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="table">(select way,name from planet_osm_line where waterway='canal' and bridge in ('yes','true','1','aqueduct') order by z_order) as water</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="bridges" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>road-bridges-casing</StyleName>
    <StyleName>road-bridges-fill</StyleName>
    <StyleName>noncased-ways-bridges</StyleName>
    <StyleName>primarybridge_layer0_casing</StyleName>
    <StyleName>mwaybridge_layer0_casing</StyleName>
    <StyleName>primarybridge_layer0_fill</StyleName>
    <StyleName>mwaybridge_layer0_fill</StyleName>
    <StyleName>primarybridge_layer1_casing</StyleName>
    <StyleName>mwaybridge_layer1_casing</StyleName>
    <StyleName>primarybridge_layer1_fill</StyleName>
    <StyleName>mwaybridge_layer1_fill</StyleName>
    <StyleName>primarybridge_layer2_casing</StyleName>
    <StyleName>mwaybridge_layer2_casing</StyleName>
    <StyleName>primarybridge_layer2_fill</StyleName>
    <StyleName>mwaybridge_layer2_fill</StyleName>
    <StyleName>mwaybridge_layer3_casing</StyleName>
    <StyleName>mwaybridge_layer3_fill</StyleName>
    <StyleName>mwaybridge_layer4_casing</StyleName>
    <StyleName>mwaybridge_layer4_fill</StyleName>
    <StyleName>mwaybridge_layer5_casing</StyleName>
    <StyleName>mwaybridge_layer5_fill</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way,highway,aeroway,railway,layer,horse,bicycle,foot,bridge
       from planet_osm_line
       where (highway is not null
              or aeroway in ('runway','taxiway')
              or railway in ('light_rail','subway'))
         and bridge not in ('no','false','0')
       order by z_order
      ) as roads
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="tracks-bridges" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>tracks-bridges</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way,tracktype from planet_osm_line where highway='track' and bridge in ('yes','true','1')) as tracks
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="access" status="off" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>access</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way,access,highway from planet_osm_line where access is not null) as access
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="trams" status="off" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>trams</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way from planet_osm_line where railway='tram' and (tunnel is null or tunnel not in ('yes','true','1'))) as trams
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="placenames" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>country</StyleName>
    <StyleName>state</StyleName>
    <StyleName>capital</StyleName> 
    <StyleName>city</StyleName> 
    <StyleName>town</StyleName>    
    <StyleName>suburb</StyleName>
    <StyleName>village</StyleName>
    <StyleName>hamlet</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">(select way,place,capital,name,ref from planet_osm_point where place is not null) as placenames</Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="amenity" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>stations</StyleName>    
    <StyleName>symbols</StyleName>
    <StyleName>points</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">(select * from planet_osm_point where barrier IS NOT NULL or amenity IS NOT NULL or tourism is NOT NULL or railway is NOT NULL or "natural" is NOT NULL or highway is NOT NULL or aeroway is NOT NULL or aerialway is NOT NULL or power_source is NOT NULL or man_made is NOT NULL) as amenity</Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="amenity-poly" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>stations</StyleName>
    <StyleName>symbols</StyleName>
    <StyleName>points</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">(select * from planet_osm_polygon where barrier IS NOT NULL or amenity IS NOT NULL or tourism is NOT NULL or railway is NOT NULL or "natural" is NOT NULL or highway is NOT NULL or aeroway is NOT NULL or aerialway is NOT NULL or power_source is NOT NULL or man_made is NOT NULL) as amenity</Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer><Layer name="directions" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
     <StyleName>directions</StyleName>
     <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way,case when oneway in ('yes','true','1') then 'yes'::text else oneway end as oneway from planet_osm_line where oneway is not null) as directions
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="planet roads text osm low zoom" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
     <StyleName>roads-text-low-zoom</StyleName>
     <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way,highway,ref,char_length(ref) as length
       from planet_osm_roads
       where highway in ('motorway','trunk','primary')
         and ref is not null
      ) as roads
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="planet roads text osm" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
     <StyleName>roads-text</StyleName>
     <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way,highway,aeroway,name,ref,char_length(ref) as length,
       case when bridge in ('yes','true','1') then 'yes'::text else bridge end as bridge
       from planet_osm_line
       where waterway IS NULL
         and leisure IS NULL
         and landuse IS NULL
         and (name is not null or ref is not null)
      ) as roads
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="text" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>text</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way,amenity,ele,highway,leisure,landuse,man_made,"natural",place,tourism,name,ref,military,aeroway,'yes'::text as point
       from planet_osm_point
       where amenity is not null
          or leisure is not null
          or landuse is not null
          or tourism is not null
          or "natural" is not null
          or man_made='lighthouse'
          or place='island'
          or highway='motorway_junction'
          or military='danger_area'
          or aeroway='gate'
      ) as text
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="text-poly" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>text</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way,aeroway,amenity,highway,leisure,landuse,man_made,"natural",place,tourism,name,ref,military,'no'::text as point
       from planet_osm_polygon
       where amenity is not null
          or leisure is not null
          or landuse is not null
          or tourism is not null
          or "natural" is not null
          or man_made='lighthouse'
          or place='island'
          or military='danger_area'
      ) as text
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
<Layer name="area-text" status="off" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
    <StyleName>area-text</StyleName>
    <Datasource>
      <Parameter name="type">postgis</Parameter>
      <Parameter name="host">localhost</Parameter>
      <Parameter name="port">5432</Parameter>
      <Parameter name="user">tilegen</Parameter>
      <Parameter name="password">tilegen</Parameter>
      <Parameter name="dbname">gis</Parameter>
      <Parameter name="table">
      (select way,way_area,name
       from planet_osm_polygon
       where name is not null
         and (waterway is null or waterway <> 'riverbank')
       order by z_order,way_area desc
      ) as text
      </Parameter>
      <Parameter name="estimate_extent">false</Parameter>
      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
    </Datasource>
</Layer>
</Map>