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

752 lines
35 KiB
XML
Raw Normal View History

<!DOCTYPE Map>
2011-02-05 03:21:22 +00:00
<Map background-color="#b5d0d0" srs="+proj=merc +datum=WGS84 +k=1.0 +units=m +over +no_defs" minimum-version="0.7.2">
<Style name="mapnik:selection">
<Rule>
<Filter>[mapnik:geometry] = 1</Filter>
<PointSymbolizer/>
</Rule>
<Rule>
<Filter>[mapnik:geometry] = 2</Filter>
<LineSymbolizer stroke="red" stroke-width="6" stroke-opacity="0.5"/>
<LineSymbolizer stroke="yellow" stroke-width="2" stroke-opacity="1.0"/>
</Rule>
<Rule>
<Filter>[mapnik:geometry] = 3</Filter>
<PolygonSymbolizer fill-opacity="0.5" fill="red"/>
</Rule>
</Style>
<Style name="world-1">
<Rule>
<MaxScaleDenominator>250000000000</MaxScaleDenominator>
<MinScaleDenominator>6000000</MinScaleDenominator>
<PolygonSymbolizer fill="#f2efe9"/>
<LineSymbolizer stroke="#b5d0d0" stroke-width="0.5"/>
</Rule>
</Style>
<Style name="world">
<Rule>
<MaxScaleDenominator>6000000</MaxScaleDenominator>
<MinScaleDenominator>600000</MinScaleDenominator>
<PolygonSymbolizer fill="#f2efe9"/>
</Rule>
</Style>
<Style name="coast-poly">
<Rule>
<MaxScaleDenominator>600000</MaxScaleDenominator>
<PolygonSymbolizer fill="#f2efe9"/>
</Rule>
</Style>
<Style name="coast-line">
<Rule>
<MaxScaleDenominator>600000</MaxScaleDenominator>
<LineSymbolizer stroke="skyblue"/>
</Rule>
</Style>
<Style name="builtup">
<Rule>
<MaxScaleDenominator>2500000</MaxScaleDenominator>
<MinScaleDenominator>500000</MinScaleDenominator>
<PolygonSymbolizer fill="#ddd"/>
</Rule>
</Style>
<Style name="places">
<Rule>
<MaxScaleDenominator>50000000</MaxScaleDenominator>
<MinScaleDenominator>10000000</MinScaleDenominator>
<TextSymbolizer size="10" fill="#444" face-name="DejaVu Sans Book" halo-radius="1" wrap-width="0">[place_name]</TextSymbolizer>
</Rule>
</Style>
<Style name="text">
<Rule>
<Filter>[place] = 'city'</Filter>
<MaxScaleDenominator>10000000</MaxScaleDenominator>
<MinScaleDenominator>2000000</MinScaleDenominator>
<TextSymbolizer size="10" fill="#000" dy="0" face-name="DejaVu Sans Book" halo-radius="1" wrap-width="0">[name]</TextSymbolizer>
</Rule>
<Rule>
<Filter>[place] = 'city'</Filter>
<MaxScaleDenominator>2000000</MaxScaleDenominator>
<MinScaleDenominator>20000</MinScaleDenominator>
<TextSymbolizer size="14" fill="#000" dy="0" face-name="DejaVu Sans Book" halo-radius="2" wrap-width="0">[name]</TextSymbolizer>
</Rule>
<Rule>
<Filter>[place] = 'town'</Filter>
<MaxScaleDenominator>2000000</MaxScaleDenominator>
<MinScaleDenominator>50000</MinScaleDenominator>
<TextSymbolizer size="11" fill="#000" face-name="DejaVu Sans Book" halo-radius="2" wrap-width="20">[name]</TextSymbolizer>
</Rule>
<Rule>
<Filter>[place] = 'town'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<TextSymbolizer size="14" fill="#777777" face-name="DejaVu Sans Book" halo-radius="1" wrap-width="20">[name]</TextSymbolizer>
</Rule>
<Rule>
<Filter>[place] = 'village'</Filter>
<MaxScaleDenominator>250000</MaxScaleDenominator>
<MinScaleDenominator>50000</MinScaleDenominator>
<TextSymbolizer size="8" fill="#000" face-name="DejaVu Sans Book" halo-radius="2" wrap-width="0">[name]</TextSymbolizer>
</Rule>
<Rule>
<Filter>[place] = 'village'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<TextSymbolizer size="11" fill="#777777" face-name="DejaVu Sans Book" halo-radius="1" wrap-width="0">[name]</TextSymbolizer>
</Rule>
<Rule>
<Filter>[place] = 'hamlet'</Filter>
<MaxScaleDenominator>125000</MaxScaleDenominator>
<TextSymbolizer size="8" fill="#000" face-name="DejaVu Sans Book" halo-radius="1" wrap-width="0">[name]</TextSymbolizer>
</Rule>
<Rule>
<Filter>[amenity] = 'pub'</Filter>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<TextSymbolizer size="10" fill="brown" dy="16" face-name="DejaVu Sans Bold" halo-radius="1" wrap-width="0">[name]</TextSymbolizer>
</Rule>
<Rule>
<Filter>[amenity] = 'place_of_worship'</Filter>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<TextSymbolizer size="10" fill="#000033" dy="12" face-name="DejaVu Sans Book" halo-radius="1" wrap-width="20">[name]</TextSymbolizer>
</Rule>
<Rule>
<Filter>[leisure] &lt;&gt; '' or [landuse] &lt;&gt; '' </Filter>
<MaxScaleDenominator>20000</MaxScaleDenominator>
<TextSymbolizer size="10" fill="#000" face-name="DejaVu Sans Book" halo-radius="2" wrap-width="10">[name]</TextSymbolizer>
</Rule>
<Rule>
<Filter>[natural] = 'wood'</Filter>
<MaxScaleDenominator>20000</MaxScaleDenominator>
<TextSymbolizer size="10" fill="#000" face-name="DejaVu Sans Book" halo-radius="2" wrap-width="10">[name]</TextSymbolizer>
</Rule>
<Rule>
<Filter>[natural] = 'peak'</Filter>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<TextSymbolizer size="10" fill="brown" dy="10" face-name="DejaVu Sans Book" halo-radius="1" wrap-width="20">[name]</TextSymbolizer>
</Rule>
<Rule>
<Filter>[natural] = 'water' or [natural] = 'lake' or [landuse] = 'reservoir'</Filter>
<MaxScaleDenominator>20000</MaxScaleDenominator>
<TextSymbolizer size="10" fill="#6699cc" face-name="DejaVu Sans Book" halo-radius="1" wrap-width="20">[name]</TextSymbolizer>
</Rule>
<Rule>
<Filter>[tourism] &lt;&gt; ''</Filter>
<MaxScaleDenominator>10000</MaxScaleDenominator>
<TextSymbolizer size="10" fill="#660033" face-name="DejaVu Sans Book" halo-radius="2" wrap-width="10">[name]</TextSymbolizer>
</Rule>
<Rule>
<Filter>[amenity] = 'school' or [amenity] = 'university'</Filter>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<TextSymbolizer size="8" fill="#000033" face-name="DejaVu Sans Book" halo-radius="2" wrap-width="12">[name]</TextSymbolizer>
</Rule>
<Rule>
<Filter>[amenity] = 'hospital'</Filter>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<TextSymbolizer size="8" fill="#000033" dy="12" face-name="DejaVu Sans Book" halo-radius="2" wrap-width="12">[name]</TextSymbolizer>
</Rule>
</Style>
<Style name="water">
<Rule>
<Filter>[landuse] = 'reservoir' or [landuse] = 'water'</Filter>
<MaxScaleDenominator>1000000</MaxScaleDenominator>
<PolygonSymbolizer fill="#b5d0d0"/>
</Rule>
<Rule>
<Filter>[natural] = 'lake' or [natural] = 'water'</Filter>
<MaxScaleDenominator>1000000</MaxScaleDenominator>
<PolygonSymbolizer fill="#b5d0d0"/>
</Rule>
<Rule>
<Filter>[natural] = 'land'</Filter>
<MaxScaleDenominator>1000000</MaxScaleDenominator>
<PolygonSymbolizer fill="#f2efe9"/>
</Rule>
<Rule>
<Filter>[waterway]='river'</Filter>
<MaxScaleDenominator>250000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#b5d0d0" stroke-width="2" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[waterway]='canal'</Filter>
<MaxScaleDenominator>250000</MaxScaleDenominator>
<MinScaleDenominator>100000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#b5d0d0" stroke-width="3" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[waterway]='canal'</Filter>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<MinScaleDenominator>50000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#b5d0d0" stroke-width="4" stroke-linecap="round"/>
<TextSymbolizer size="8" fill="#6699cc" placement="line" face-name="DejaVu Sans Book" halo-radius="1">[name]</TextSymbolizer>
</Rule>
<Rule>
<ElseFilter/>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer stroke="#b5d0d0" stroke-width="1"/>
</Rule>
<Rule>
<Filter>[waterway]='river'</Filter>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#b5d0d0" stroke-width="10" stroke-linecap="round"/>
<TextSymbolizer size="10" fill="#6699cc" placement="line" face-name="DejaVu Sans Book" halo-radius="1">[name]</TextSymbolizer>
</Rule>
<Rule>
<Filter>[waterway]='canal'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#b5d0d0" stroke-width="7" stroke-linecap="round"/>
<TextSymbolizer size="9" fill="#6699cc" placement="line" face-name="DejaVu Sans Book" halo-radius="1">[name]</TextSymbolizer>
</Rule>
<Rule>
<ElseFilter/>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<LineSymbolizer stroke="#b5d0d0" stroke-width="2"/>
<TextSymbolizer size="8" fill="#6699cc" placement="line" face-name="DejaVu Sans Book" halo-radius="1">[name]</TextSymbolizer>
</Rule>
</Style>
<Style name="minor-roads-casing">
<Rule>
<Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
<MaxScaleDenominator>150000</MaxScaleDenominator>
<MinScaleDenominator>75000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#506077" stroke-width="4" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
<MaxScaleDenominator>75000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#506077" stroke-width="7" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#506077" stroke-width="14" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'motorway' or [highway]='motorway_link'</Filter>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#506077" stroke-width="17" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
<MaxScaleDenominator>150000</MaxScaleDenominator>
<MinScaleDenominator>75000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#477147" stroke-width="4" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
<MaxScaleDenominator>75000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#477147" stroke-width="11" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#477147" stroke-width="14" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#477147" stroke-width="17" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
<MaxScaleDenominator>150000</MaxScaleDenominator>
<MinScaleDenominator>75000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#8d4346" stroke-width="4" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
<MaxScaleDenominator>75000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#8d4346" stroke-width="10" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#8d4346" stroke-width="12" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#8d4346" stroke-width="17" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
<MaxScaleDenominator>150000</MaxScaleDenominator>
<MinScaleDenominator>75000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#a37b48" stroke-width="4" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
<MaxScaleDenominator>75000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#a37b48" stroke-width="10" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#a37b48" stroke-width="12" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#a37b48" stroke-width="17" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'tertiary'</Filter>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<MinScaleDenominator>50000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#999" stroke-width="7" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'residential' or [highway] = 'minor' or [highway] = 'unclassified'</Filter>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<MinScaleDenominator>50000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#999" stroke-width="3" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'tertiary'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#999" stroke-width="9" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'residential' or [highway] = 'minor' or [highway] = 'unclassified'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#999" stroke-width="4.5" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'tertiary' or [highway] = 'residential' or [highway] = 'minor' or [highway] = 'unclassified'</Filter>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#999" stroke-width="11" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'tertiary' or [highway] = 'residential' or [highway] = 'minor' or [highway] = 'unclassified'</Filter>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<MinScaleDenominator>100</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#999" stroke-width="16" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'service'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#999" stroke-width="3" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'service'</Filter>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#999" stroke-width="8" stroke-linecap="round"/>
</Rule>
</Style>
<Style name="minor-roads">
<!-- level 10 -->
<Rule>
<Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
<MaxScaleDenominator>500000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer stroke="#809bc0" stroke-width="4"/>
</Rule>
<!-- level 11 ...-->
<Rule>
<Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<MinScaleDenominator>10000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#809bc0" stroke-width="8" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
<MaxScaleDenominator>10000</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#809bc0" stroke-width="12" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#809bc0" stroke-width="14" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#7fc97f" stroke-width="8" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#7fc97f" stroke-width="10" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#7fc97f" stroke-width="14" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#e46d71" stroke-width="8" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#e46d71" stroke-width="10" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#e46d71" stroke-width="14" stroke-linecap="round"/>
</Rule>
<!-- level 11 ..-->
<Rule>
<Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
<MaxScaleDenominator>150000</MaxScaleDenominator>
<MinScaleDenominator>75000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#fdbf6f" stroke-width="2" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
<MaxScaleDenominator>75000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#fdbf6f" stroke-width="8" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#fdbf6f" stroke-width="10" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#fdbf6f" stroke-width="14" stroke-linecap="round"/>
</Rule>
<Rule>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<Filter>[railway] = 'tram' or [railway] = 'light_rail'</Filter>
<LineSymbolizer stroke="#aaa" stroke-width="2"/>
</Rule>
<Rule>
<MaxScaleDenominator>200000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<Filter>[railway]='subway'</Filter>
<LineSymbolizer stroke="#777" stroke-width="2" stroke-dasharray="6,2"/>
</Rule>
<Rule>
<Filter>[highway] = 'tertiary' or [highway] = 'residential' or [highway] = 'unclassified'</Filter>
<MaxScaleDenominator>1000000</MaxScaleDenominator>
<MinScaleDenominator>100000</MinScaleDenominator>
<LineSymbolizer stroke="#ccc" stroke-width="1"/>
</Rule>
<Rule>
<Filter>[highway] = 'residential' or [highway] = 'minor' or [highway] = 'unclassified'</Filter>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<MinScaleDenominator>50000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="2" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'residential' or [highway] = 'minor' or [highway] = 'unclassified'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<MinScaleDenominator>15000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="3" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'residential' or [highway] = 'minor' or [highway] = 'unclassified'</Filter>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="9.4" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'residential' or [highway] = 'minor' or [highway] = 'unclassified'</Filter>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<MinScaleDenominator>100</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="13" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'tertiary'</Filter>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<MinScaleDenominator>50000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#ffffcc" stroke-width="5" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'tertiary'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#ffffcc" stroke-width="7" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'tertiary'</Filter>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#ffffcc" stroke-width="9.4" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'tertiary'</Filter>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#ffffcc" stroke-width="13" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'service'</Filter>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<MinScaleDenominator>50000</MinScaleDenominator>
<LineSymbolizer stroke="#bbbbbb" stroke-width="1"/>
</Rule>
<Rule>
<Filter>[highway] = 'service'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer stroke="white" stroke-width="2"/>
</Rule>
<Rule>
<Filter>[highway] = 'service'</Filter>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="6" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'bridleway'</Filter>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="4" stroke-linecap="round" stroke-opacity="0.4"/>
<LineSymbolizer stroke="green" stroke-width="1.5" stroke-dasharray="4,2"/>
</Rule>
<Rule>
<Filter>[highway] = 'footway'</Filter>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="6" stroke-linecap="round" stroke-opacity="0.4"/>
<LineSymbolizer stroke-linejoin="round" stroke="salmon" stroke-width="2.0" stroke-dasharray="1,3" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'cycleway'</Filter>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="4" stroke-linecap="round" stroke-opacity="0.4"/>
<LineSymbolizer stroke-linejoin="round" stroke="green" stroke-width="1.5" stroke-dasharray="1,3" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'track'</Filter>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="white" stroke-width="6" stroke-linecap="round" stroke-opacity="0.4"/>
<LineSymbolizer stroke-linejoin="round" stroke="salmon" stroke-width="2.0" stroke-dasharray="4,2" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[highway] = 'pedestrian'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<LineSymbolizer stroke="grey" stroke-width="5"/>
<LineSymbolizer stroke="#ededed" stroke-width="4"/>
</Rule>
<Rule>
<Filter>[highway] = 'unsurfaced' or [highway] = 'byway'</Filter>
<MaxScaleDenominator>100000</MaxScaleDenominator>
<LineSymbolizer stroke-linejoin="round" stroke="#fff" stroke-width="6" stroke-linecap="round" stroke-opacity="0.4"/>
<LineSymbolizer stroke-linejoin="round" stroke="#ffc000" stroke-width="2.0" stroke-dasharray="4,4" stroke-linecap="round"/>
</Rule>
<Rule>
<Filter>[route] = 'ferry'</Filter>
<MaxScaleDenominator>500000</MaxScaleDenominator>
<LineSymbolizer stroke="navy" stroke-width="0.8" stroke-dasharray="6,6"/>
</Rule>
<Rule>
<Filter>[aeroway] = 'runway'</Filter>
<MaxScaleDenominator>500000</MaxScaleDenominator>
<MinScaleDenominator>200000</MinScaleDenominator>
<LineSymbolizer stroke="#bbc" stroke-width="2"/>
</Rule>
<Rule>
<Filter>[aeroway] = 'runway'</Filter>
<MaxScaleDenominator>200000</MaxScaleDenominator>
<MinScaleDenominator>50000</MinScaleDenominator>
<LineSymbolizer stroke="#bbc" stroke-width="7"/>
</Rule>
<Rule>
<Filter>[aeroway] = 'runway'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<LineSymbolizer stroke="#bbc" stroke-width="18"/>
</Rule>
<Rule>
<Filter>[aeroway] = 'taxiway'</Filter>
<MaxScaleDenominator>500000</MaxScaleDenominator>
<MinScaleDenominator>50000</MinScaleDenominator>
<LineSymbolizer stroke="#bbc" stroke-width="1"/>
</Rule>
<Rule>
<Filter>[aeroway] = 'taxiway'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<MinScaleDenominator>20000</MinScaleDenominator>
<LineSymbolizer stroke="#bbc" stroke-width="4"/>
</Rule>
<Rule>
<Filter>[aeroway] = 'taxiway'</Filter>
<MaxScaleDenominator>20000</MaxScaleDenominator>
<LineSymbolizer stroke="#bbc" stroke-width="6"/>
</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 stroke="#809bc0" stroke-width="1"/>
</Rule>
<!-- level 6-8 -->
<Rule>
<Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
<MaxScaleDenominator>5000000</MaxScaleDenominator>
<MinScaleDenominator>1000000</MinScaleDenominator>
<LineSymbolizer stroke="#809bc0" stroke-width="2"/>
</Rule>
<!-- level 9 -->
<Rule>
<Filter>[highway] = 'motorway' or [highway] = 'motorway_link'</Filter>
<MaxScaleDenominator>1000000</MaxScaleDenominator>
<MinScaleDenominator>500000</MinScaleDenominator>
<LineSymbolizer stroke="#809bc0" stroke-width="3"/>
</Rule>
<!-- TRUNK -->
<!--level 4-6-->
<Rule>
<Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
<MaxScaleDenominator>25000000</MaxScaleDenominator>
<MinScaleDenominator>2500000</MinScaleDenominator>
<LineSymbolizer stroke="#7fc97f" stroke-width="1"/>
</Rule>
<!-- level 7-9 -->
<Rule>
<Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
<MaxScaleDenominator>2500000</MaxScaleDenominator>
<MinScaleDenominator>500000</MinScaleDenominator>
<LineSymbolizer stroke="#7fc97f" stroke-width="2"/>
</Rule>
<!-- level 10-->
<Rule>
<Filter>[highway] = 'trunk' or [highway] = 'trunk_link'</Filter>
<MaxScaleDenominator>500000</MaxScaleDenominator>
<MinScaleDenominator>100000</MinScaleDenominator>
<LineSymbolizer stroke="#7fc97f" stroke-width="3"/>
</Rule>
<!-- PRIMARY-->
<!-- level 5-6-->
<Rule>
<Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
<MaxScaleDenominator>5000000</MaxScaleDenominator>
<MinScaleDenominator>2000000</MinScaleDenominator>
<LineSymbolizer stroke="#e46d71" stroke-width="0.7"/>
</Rule>
<!-- level 7-9-->
<Rule>
<Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
<MaxScaleDenominator>2000000</MaxScaleDenominator>
<MinScaleDenominator>500000</MinScaleDenominator>
<LineSymbolizer stroke="#e46d71" stroke-width="2.0"/>
</Rule>
<!-- level 10 -->
<Rule>
<Filter>[highway] = 'primary' or [highway] = 'primary_link'</Filter>
<MaxScaleDenominator>500000</MaxScaleDenominator>
<MinScaleDenominator>100000</MinScaleDenominator>
<LineSymbolizer stroke="#e46d71" stroke-width="3"/>
</Rule>
<!-- SECONDARY -->
<!-- level 7-9 -->
<Rule>
<Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
<MaxScaleDenominator>2000000</MaxScaleDenominator>
<MinScaleDenominator>500000</MinScaleDenominator>
<LineSymbolizer stroke="#fdbf6f" stroke-width="1"/>
</Rule>
<Rule>
<Filter>[highway] = 'secondary' or [highway] = 'secondary_link'</Filter>
<MaxScaleDenominator>500000</MaxScaleDenominator>
<MinScaleDenominator>100000</MinScaleDenominator>
<LineSymbolizer stroke="#fdbf6f" stroke-width="2"/>
</Rule>
<!-- RAIL -->
<Rule>
<MaxScaleDenominator>2500000</MaxScaleDenominator>
<MinScaleDenominator>1000000</MinScaleDenominator>
<Filter>[railway] = 'rail' or [railway] = 'tram' or [railway] = 'light_rail'</Filter>
<LineSymbolizer stroke="#777" stroke-width="1"/>
</Rule>
<Rule>
<MaxScaleDenominator>1000000</MaxScaleDenominator>
<MinScaleDenominator>100000</MinScaleDenominator>
<Filter>[railway] = 'rail' or [railway] = 'tram' or [railway] = 'light_rail'</Filter>
<LineSymbolizer stroke="#777" stroke-width="2"/>
</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 size="8" fill="black" placement="line" face-name="DejaVu Sans Book" halo-radius="0">[name]</TextSymbolizer>
</Rule>
<Rule>
<Filter>[highway] = 'trunk' or [highway] = 'primary' or [highway] = 'secondary'</Filter>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<MinScaleDenominator>1000</MinScaleDenominator>
<TextSymbolizer size="10" fill="black" placement="line" face-name="DejaVu Sans Book" halo-radius="0">[name]</TextSymbolizer>
</Rule>
<Rule>
<ElseFilter/>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<TextSymbolizer size="9" fill="#000" placement="line" face-name="DejaVu Sans Book" halo-radius="1">[name]</TextSymbolizer>
</Rule>
<Rule>
<ElseFilter/>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<MinScaleDenominator>100</MinScaleDenominator>
<TextSymbolizer size="11" fill="#000" placement="line" face-name="DejaVu Sans Book" halo-radius="1">[name]</TextSymbolizer>
</Rule>
</Style>
2011-02-05 03:21:22 +00:00
</Map>