mapnik/tests/data/good_maps/osm-styles.xml

1263 lines
51 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
<Map bgcolor="#b5d0d0" srs="+proj=merc +datum=WGS84 +k=1.0 +units=m +over +no_defs">
<Style name="mapnik:selection">
<Rule>
<Filter>[mapnik:geometry] = 1</Filter>
<PointSymbolizer/>
</Rule>
<Rule>
<Filter>[mapnik:geometry] = 2</Filter>
<LineSymbolizer>
<CssParameter name="stroke">red</CssParameter>
<CssParameter name="stroke-width">6</CssParameter>
<CssParameter name="stroke-opacity">0.5</CssParameter>
</LineSymbolizer>
<LineSymbolizer>
<CssParameter name="stroke">yellow</CssParameter>
<CssParameter name="stroke-width">2</CssParameter>
<CssParameter name="stroke-opacity">1.0</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[mapnik:geometry] = 3</Filter>
<PolygonSymbolizer>
<CssParameter name="fill">red</CssParameter>
<CssParameter name="fill-opacity">0.5</CssParameter>
</PolygonSymbolizer>
</Rule>
</Style>
<Style name="world-1">
<Rule>
<MaxScaleDenominator>250000000000</MaxScaleDenominator>
<MinScaleDenominator>6000000</MinScaleDenominator>
<PolygonSymbolizer>
<CssParameter name="fill">#f2efe9</CssParameter>
</PolygonSymbolizer>
<LineSymbolizer>
<CssParameter name="stroke">#b5d0d0</CssParameter>
<CssParameter name="stroke-width">0.5</CssParameter>
</LineSymbolizer>
</Rule>
</Style>
<Style name="world">
<Rule>
<MaxScaleDenominator>6000000</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>
<Style name="coast-line">
<Rule>
<MaxScaleDenominator>600000</MaxScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">skyblue</CssParameter>
</LineSymbolizer>
</Rule>
</Style>
<Style name="builtup">
<Rule>
<MaxScaleDenominator>2500000</MaxScaleDenominator>
<MinScaleDenominator>500000</MinScaleDenominator>
<PolygonSymbolizer>
<CssParameter name="fill">#ddd</CssParameter>
</PolygonSymbolizer>
</Rule>
</Style>
<Style name="places">
<Rule>
<MaxScaleDenominator>50000000</MaxScaleDenominator>
<MinScaleDenominator>10000000</MinScaleDenominator>
<TextSymbolizer name="[place_name]" face_name="DejaVu Sans Book" size="10" fill="#444" halo_radius="1" wrap_width="0"/>
</Rule>
</Style>
<Style name="text">
<Rule>
<Filter>[place] = 'city'</Filter>
<MaxScaleDenominator>10000000</MaxScaleDenominator>
<MinScaleDenominator>2000000</MinScaleDenominator>
<TextSymbolizer name="[name]" face_name="DejaVu Sans Book" size="10" fill="#000" dy="0" halo_radius="1" wrap_width="0"/>
</Rule>
<Rule>
<Filter>[place] = 'city'</Filter>
<MaxScaleDenominator>2000000</MaxScaleDenominator>
<MinScaleDenominator>20000</MinScaleDenominator>
<TextSymbolizer name="[name]" face_name="DejaVu Sans Book" size="14" fill="#000" dy="0" halo_radius="2" wrap_width="0"/>
</Rule>
<Rule>
<Filter>[place] = 'town'</Filter>
<MaxScaleDenominator>2000000</MaxScaleDenominator>
<MinScaleDenominator>50000</MinScaleDenominator>
<TextSymbolizer name="[name]" face_name="DejaVu Sans Book" size="11" fill="#000" halo_radius="2" wrap_width="20"/>
</Rule>
<Rule>
<Filter>[place] = 'town'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<TextSymbolizer name="[name]" face_name="DejaVu Sans Book" size="14" fill="#777777" halo_radius="1" wrap_width="20"/>
</Rule>
<Rule>
<Filter>[place] = 'village'</Filter>
<MaxScaleDenominator>250000</MaxScaleDenominator>
<MinScaleDenominator>50000</MinScaleDenominator>
<TextSymbolizer name="[name]" face_name="DejaVu Sans Book" size="8" fill="#000" halo_radius="2" wrap_width="0"/>
</Rule>
<Rule>
<Filter>[place] = 'village'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<TextSymbolizer name="[name]" face_name="DejaVu Sans Book" size="11" fill="#777777" halo_radius="1" wrap_width="0"/>
</Rule>
<Rule>
<Filter>[place] = 'hamlet'</Filter>
<MaxScaleDenominator>125000</MaxScaleDenominator>
<TextSymbolizer name="[name]" face_name="DejaVu Sans Book" size="8" fill="#000" halo_radius="1" wrap_width="0"/>
</Rule>
<Rule>
<Filter>[amenity] = 'pub'</Filter>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<TextSymbolizer name="[name]" face_name="DejaVu Sans Bold" size="10" fill="brown" dy="16" halo_radius="1" wrap_width="0"/>
</Rule>
<Rule>
<Filter>[amenity] = 'place_of_worship'</Filter>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<TextSymbolizer name="[name]" face_name="DejaVu Sans Book" size="10" fill="#000033" dy="12" halo_radius="1" wrap_width="20"/>
</Rule>
<Rule>
<Filter>[leisure] &lt;&gt; '' or [landuse] &lt;&gt; '' </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] = '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" wrap_width="20"/>
</Rule>
<Rule>
<Filter>[natural] = 'water' or [natural] = 'lake' or [landuse] = 'reservoir'</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>[tourism] &lt;&gt; ''</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>[amenity] = 'school' or [amenity] = 'university'</Filter>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<TextSymbolizer name="[name]" face_name="DejaVu Sans Book" size="8" fill="#000033" halo_radius="2" wrap_width="12"/>
</Rule>
<Rule>
<Filter>[amenity] = 'hospital'</Filter>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<TextSymbolizer name="[name]" face_name="DejaVu Sans Book" size="8" fill="#000033" dy="12" halo_radius="2" wrap_width="12"/>
</Rule>
</Style>
<Style name="water">
<Rule>
<Filter>[landuse] = 'reservoir' or [landuse] = 'water'</Filter>
<MaxScaleDenominator>1000000</MaxScaleDenominator>
<PolygonSymbolizer>
<CssParameter name="fill">#b5d0d0</CssParameter>
</PolygonSymbolizer>
</Rule>
<Rule>
<Filter>[natural] = 'lake' or [natural] = 'water'</Filter>
<MaxScaleDenominator>1000000</MaxScaleDenominator>
<PolygonSymbolizer>
<CssParameter name="fill">#b5d0d0</CssParameter>
</PolygonSymbolizer>
</Rule>
<Rule>
<Filter>[natural] = 'land'</Filter>
<MaxScaleDenominator>1000000</MaxScaleDenominator>
<PolygonSymbolizer>
<CssParameter name="fill">#f2efe9</CssParameter>
</PolygonSymbolizer>
</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'</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'</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/>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#b5d0d0</CssParameter>
<CssParameter name="stroke-width">1</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[waterway]='river'</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"/>
</Rule>
<Rule>
<Filter>[waterway]='canal'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<MinScaleDenominator>1000</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>
<ElseFilter/>
<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" placement="line"/>
</Rule>
</Style>
<Style name="minor-roads-casing">
<Rule>
<Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
<MaxScaleDenominator>150000</MaxScaleDenominator>
<MinScaleDenominator>75000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#506077</CssParameter>
<CssParameter name="stroke-width">4</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>75000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#506077</CssParameter>
<CssParameter name="stroke-width">7</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>25000</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#506077</CssParameter>
<CssParameter name="stroke-width">14</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">#506077</CssParameter>
<CssParameter name="stroke-width">17</CssParameter>
<CssParameter name="stroke-linejoin">round</CssParameter>
<CssParameter name="stroke-linecap">round</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
<MaxScaleDenominator>150000</MaxScaleDenominator>
<MinScaleDenominator>75000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#477147</CssParameter>
<CssParameter name="stroke-width">4</CssParameter>
<CssParameter name="stroke-linejoin">round</CssParameter>
<CssParameter name="stroke-linecap">round</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
<MaxScaleDenominator>75000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#477147</CssParameter>
<CssParameter name="stroke-width">11</CssParameter>
<CssParameter name="stroke-linejoin">round</CssParameter>
<CssParameter name="stroke-linecap">round</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#477147</CssParameter>
<CssParameter name="stroke-width">14</CssParameter>
<CssParameter name="stroke-linejoin">round</CssParameter>
<CssParameter name="stroke-linecap">round</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#477147</CssParameter>
<CssParameter name="stroke-width">17</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>150000</MaxScaleDenominator>
<MinScaleDenominator>75000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#8d4346</CssParameter>
<CssParameter name="stroke-width">4</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>75000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#8d4346</CssParameter>
<CssParameter name="stroke-width">10</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>25000</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#8d4346</CssParameter>
<CssParameter name="stroke-width">12</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">#8d4346</CssParameter>
<CssParameter name="stroke-width">17</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">#a37b48</CssParameter>
<CssParameter name="stroke-width">4</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">#a37b48</CssParameter>
<CssParameter name="stroke-width">10</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">#a37b48</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>5000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#a37b48</CssParameter>
<CssParameter name="stroke-width">17</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">#999</CssParameter>
<CssParameter name="stroke-width">7</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>100000</MaxScaleDenominator>
<MinScaleDenominator>50000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#999</CssParameter>
<CssParameter name="stroke-width">3</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">#999</CssParameter>
<CssParameter name="stroke-width">9</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>50000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#999</CssParameter>
<CssParameter name="stroke-width">4.5</CssParameter>
<CssParameter name="stroke-linejoin">round</CssParameter>
<CssParameter name="stroke-linecap">round</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[highway] = 'tertiary' or [highway] = 'residential' or [highway] = 'minor' or [highway] = 'unclassified'</Filter>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#999</CssParameter>
<CssParameter name="stroke-width">11</CssParameter>
<CssParameter name="stroke-linejoin">round</CssParameter>
<CssParameter name="stroke-linecap">round</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[highway] = 'tertiary' or [highway] = 'residential' or [highway] = 'minor' or [highway] = 'unclassified'</Filter>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<MinScaleDenominator>100</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#999</CssParameter>
<CssParameter name="stroke-width">16</CssParameter>
<CssParameter name="stroke-linejoin">round</CssParameter>
<CssParameter name="stroke-linecap">round</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[highway] = 'service'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#999</CssParameter>
<CssParameter name="stroke-width">3</CssParameter>
<CssParameter name="stroke-linejoin">round</CssParameter>
<CssParameter name="stroke-linecap">round</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[highway] = 'service'</Filter>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#999</CssParameter>
<CssParameter name="stroke-width">8</CssParameter>
<CssParameter name="stroke-linejoin">round</CssParameter>
<CssParameter name="stroke-linecap">round</CssParameter>
</LineSymbolizer>
</Rule>
</Style>
<Style name="minor-roads">
<!-- level 10 -->
<Rule>
<Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
<MaxScaleDenominator>500000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#809bc0</CssParameter>
<CssParameter name="stroke-width">4</CssParameter>
</LineSymbolizer>
</Rule>
<!-- level 11 ...-->
<Rule>
<Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<MinScaleDenominator>10000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#809bc0</CssParameter>
<CssParameter name="stroke-width">8</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>10000</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#809bc0</CssParameter>
<CssParameter name="stroke-width">12</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">#809bc0</CssParameter>
<CssParameter name="stroke-width">14</CssParameter>
<CssParameter name="stroke-linejoin">round</CssParameter>
<CssParameter name="stroke-linecap">round</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#7fc97f</CssParameter>
<CssParameter name="stroke-width">8</CssParameter>
<CssParameter name="stroke-linejoin">round</CssParameter>
<CssParameter name="stroke-linecap">round</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#7fc97f</CssParameter>
<CssParameter name="stroke-width">10</CssParameter>
<CssParameter name="stroke-linejoin">round</CssParameter>
<CssParameter name="stroke-linecap">round</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#7fc97f</CssParameter>
<CssParameter name="stroke-width">14</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>25000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#e46d71</CssParameter>
<CssParameter name="stroke-width">8</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>25000</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#e46d71</CssParameter>
<CssParameter name="stroke-width">10</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">#e46d71</CssParameter>
<CssParameter name="stroke-width">14</CssParameter>
<CssParameter name="stroke-linejoin">round</CssParameter>
<CssParameter name="stroke-linecap">round</CssParameter>
</LineSymbolizer>
</Rule>
<!-- level 11 ..-->
<Rule>
<Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
<MaxScaleDenominator>150000</MaxScaleDenominator>
<MinScaleDenominator>75000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#fdbf6f</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">#fdbf6f</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' or [highway] = 'secondary_link'</Filter>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#fdbf6f</CssParameter>
<CssParameter name="stroke-width">10</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">#fdbf6f</CssParameter>
<CssParameter name="stroke-width">14</CssParameter>
<CssParameter name="stroke-linejoin">round</CssParameter>
<CssParameter name="stroke-linecap">round</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<Filter>[railway] = 'tram' or [railway] = 'light_rail'</Filter>
<LineSymbolizer>
<CssParameter name="stroke">#aaa</CssParameter>
<CssParameter name="stroke-width">2</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<MaxScaleDenominator>200000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<Filter>[railway]='subway'</Filter>
<LineSymbolizer>
<CssParameter name="stroke">#777</CssParameter>
<CssParameter name="stroke-width">2</CssParameter>
<CssParameter name="stroke-dasharray">6,2</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[highway] = 'tertiary' or [highway] = 'residential' or [highway] = 'unclassified'</Filter>
<MaxScaleDenominator>1000000</MaxScaleDenominator>
<MinScaleDenominator>100000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#ccc</CssParameter>
<CssParameter name="stroke-width">1</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[highway] = 'residential' or [highway] = 'minor' or [highway] = 'unclassified'</Filter>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<MinScaleDenominator>50000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#fff</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>50000</MaxScaleDenominator>
<MinScaleDenominator>15000</MinScaleDenominator>
<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>
</Rule>
<Rule>
<Filter>[highway] = 'residential' or [highway] = 'minor' or [highway] = 'unclassified'</Filter>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#fff</CssParameter>
<CssParameter name="stroke-width">9.4</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>5000</MaxScaleDenominator>
<MinScaleDenominator>100</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#fff</CssParameter>
<CssParameter name="stroke-width">13</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">#ffffcc</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'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#ffffcc</CssParameter>
<CssParameter name="stroke-width">7</CssParameter>
<CssParameter name="stroke-linejoin">round</CssParameter>
<CssParameter name="stroke-linecap">round</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[highway] = 'tertiary'</Filter>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#ffffcc</CssParameter>
<CssParameter name="stroke-width">9.4</CssParameter>
<CssParameter name="stroke-linejoin">round</CssParameter>
<CssParameter name="stroke-linecap">round</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[highway] = 'tertiary'</Filter>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#ffffcc</CssParameter>
<CssParameter name="stroke-width">13</CssParameter>
<CssParameter name="stroke-linejoin">round</CssParameter>
<CssParameter name="stroke-linecap">round</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[highway] = 'service'</Filter>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<MinScaleDenominator>50000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#bbbbbb</CssParameter>
<CssParameter name="stroke-width">1</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[highway] = 'service'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">white</CssParameter>
<CssParameter name="stroke-width">2</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[highway] = 'service'</Filter>
<MaxScaleDenominator>25000</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] = 'bridleway'</Filter>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<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">green</CssParameter>
<CssParameter name="stroke-width">1.5</CssParameter>
<CssParameter name="stroke-dasharray">4,2</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[highway] = 'footway'</Filter>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#fff</CssParameter>
<CssParameter name="stroke-width">6</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">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] = 'cycleway'</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">green</CssParameter>
<CssParameter name="stroke-width">1.5</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] = 'track'</Filter>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">white</CssParameter>
<CssParameter name="stroke-width">6</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">salmon</CssParameter>
<CssParameter name="stroke-width">2.0</CssParameter>
<CssParameter name="stroke-dasharray">4,2</CssParameter>
<CssParameter name="stroke-linejoin">round</CssParameter>
<CssParameter name="stroke-linecap">round</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[highway] = 'pedestrian'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">grey</CssParameter>
<CssParameter name="stroke-width">5</CssParameter>
</LineSymbolizer>
<LineSymbolizer>
<CssParameter name="stroke">#ededed</CssParameter>
<CssParameter name="stroke-width">4</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[highway] = 'unsurfaced' or [highway] = 'byway'</Filter>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#fff</CssParameter>
<CssParameter name="stroke-width">6</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">#ffc000</CssParameter>
<CssParameter name="stroke-width">2.0</CssParameter>
<CssParameter name="stroke-dasharray">4,4</CssParameter>
<CssParameter name="stroke-linejoin">round</CssParameter>
<CssParameter name="stroke-linecap">round</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[route] = 'ferry'</Filter>
<MaxScaleDenominator>500000</MaxScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">navy</CssParameter>
<CssParameter name="stroke-width">0.8</CssParameter>
<CssParameter name="stroke-dasharray">6,6</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'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#bbc</CssParameter>
<CssParameter name="stroke-width">18</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[aeroway] = 'taxiway'</Filter>
<MaxScaleDenominator>500000</MaxScaleDenominator>
<MinScaleDenominator>50000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#bbc</CssParameter>
<CssParameter name="stroke-width">1</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[aeroway] = 'taxiway'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<MinScaleDenominator>20000</MinScaleDenominator>
<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">#bbc</CssParameter>
<CssParameter name="stroke-width">6</CssParameter>
</LineSymbolizer>
</Rule>
</Style>
<Style name="roads">
<!-- MOTORWAY-->
<!-- level 4-5 -->
<Rule>
<Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
<MaxScaleDenominator>25000000</MaxScaleDenominator>
<MinScaleDenominator>5000000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#809bc0</CssParameter>
<CssParameter name="stroke-width">1</CssParameter>
</LineSymbolizer>
</Rule>
<!-- level 6-8 -->
<Rule>
<Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
<MaxScaleDenominator>5000000</MaxScaleDenominator>
<MinScaleDenominator>1000000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#809bc0</CssParameter>
<CssParameter name="stroke-width">2</CssParameter>
</LineSymbolizer>
</Rule>
<!-- level 9 -->
<Rule>
<Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
<MaxScaleDenominator>1000000</MaxScaleDenominator>
<MinScaleDenominator>500000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#809bc0</CssParameter>
<CssParameter name="stroke-width">3</CssParameter>
</LineSymbolizer>
</Rule>
<!-- TRUNK -->
<!--level 4-6-->
<Rule>
<Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
<MaxScaleDenominator>25000000</MaxScaleDenominator>
<MinScaleDenominator>2500000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#7fc97f</CssParameter>
<CssParameter name="stroke-width">1</CssParameter>
</LineSymbolizer>
</Rule>
<!-- level 7-9 -->
<Rule>
<Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
<MaxScaleDenominator>2500000</MaxScaleDenominator>
<MinScaleDenominator>500000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#7fc97f</CssParameter>
<CssParameter name="stroke-width">2</CssParameter>
</LineSymbolizer>
</Rule>
<!-- level 10-->
<Rule>
<Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
<MaxScaleDenominator>500000</MaxScaleDenominator>
<MinScaleDenominator>100000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#7fc97f</CssParameter>
<CssParameter name="stroke-width">3</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">#e46d71</CssParameter>
<CssParameter name="stroke-width">0.7</CssParameter>
</LineSymbolizer>
</Rule>
<!-- level 7-9-->
<Rule>
<Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
<MaxScaleDenominator>2000000</MaxScaleDenominator>
<MinScaleDenominator>500000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#e46d71</CssParameter>
<CssParameter name="stroke-width">2.0</CssParameter>
</LineSymbolizer>
</Rule>
<!-- level 10 -->
<Rule>
<Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
<MaxScaleDenominator>500000</MaxScaleDenominator>
<MinScaleDenominator>100000</MinScaleDenominator>
<LineSymbolizer>
<CssParameter name="stroke">#e46d71</CssParameter>
<CssParameter name="stroke-width">3</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">#fdbf6f</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">#fdbf6f</CssParameter>
<CssParameter name="stroke-width">2</CssParameter>
</LineSymbolizer>
</Rule>
<!-- RAIL -->
<Rule>
<MaxScaleDenominator>2500000</MaxScaleDenominator>
<MinScaleDenominator>1000000</MinScaleDenominator>
<Filter>[railway] = 'rail' or [railway] = 'tram' or [railway] = 'light_rail'</Filter>
<LineSymbolizer>
<CssParameter name="stroke">#777</CssParameter>
<CssParameter name="stroke-width">1</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<MaxScaleDenominator>1000000</MaxScaleDenominator>
<MinScaleDenominator>100000</MinScaleDenominator>
<Filter>[railway] = 'rail' or [railway] = 'tram' or [railway] = 'light_rail'</Filter>
<LineSymbolizer>
<CssParameter name="stroke">#777</CssParameter>
<CssParameter name="stroke-width">2</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<Filter>[railway] = 'preserved'</Filter>
<!--
<LinePatternSymbolizer file="/home/steve/symbols/rail_preserved.png" type="png" width="20" height="3" />
-->
</Rule>
</Style>
<!-- ROADS TEXT -->
<Style name="roads-text">
<!--
<Rule>
<Filter>[highway] = 'motorway' and [length] = 2</Filter>
<MaxScaleDenominator>500000</MaxScaleDenominator>
<MinScaleDenominator>100</MinScaleDenominator>
<ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="11" fill="#809bc0" placement="line" file="/home/steve/symbols/motorway_shield.png" type="png" width="24" height="17" min_distance="100"/>
</Rule>
<Rule>
<Filter>[highway] = 'motorway' and [length] = 3</Filter>
<MaxScaleDenominator>500000</MaxScaleDenominator>
<MinScaleDenominator>100</MinScaleDenominator>
<ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="11" fill="#809bc0" placement="line" file="/home/steve/symbols/motorway_shield2.png" type="png" width="31" height="17" min_distance="100"/>
</Rule>
<Rule>
<Filter>[highway] = 'motorway' and [length] = 4</Filter>
<MaxScaleDenominator>500000</MaxScaleDenominator>
<MinScaleDenominator>100</MinScaleDenominator>
<ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="11" fill="#809bc0" placement="line" file="/home/steve/symbols/motorway_shield3.png" type="png" width="38" height="17" min_distance="100"/>
</Rule>
-->
<Rule>
<Filter>[highway] = 'trunk' or [highway] = 'primary' or [highway] = 'secondary'</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] = 'trunk' or [highway] = 'primary' or [highway] = 'secondary'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<TextSymbolizer name="[name]" face_name="DejaVu Sans Book" size="10" fill="black" halo_radius="0" placement="line"/>
</Rule>
<Rule>
<ElseFilter/>
<MaxScaleDenominator>25000</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>
</Map>