Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
OpenTopoMap/mapnik/styles-otm/symbols-2.xml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
292 lines (271 sloc)
11 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Style name="symbols-2"> | |
| <Rule> | |
| &maxscale_zoom13; | |
| &minscale_zoom15; | |
| <Filter>([man_made] = 'tower') and ([tower:type] != 'communication' and [tower:type] != 'observation')</Filter> | |
| <MarkersSymbolizer placement="point" file="symbols-otm/tower_z13.png" transform="translate(0 -3)"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom16; | |
| &minscale_zoom17; | |
| <Filter>([man_made] = 'tower') and ([tower:type] != 'communication' and [tower:type] != 'observation')</Filter> | |
| <MarkersSymbolizer placement="point" file="symbols-otm/tower.png" transform="translate(0 -3)"/> | |
| <TextSymbolizer fontset-name="sans-oblique" size="9" fill="black" halo-radius="2" halo-fill="rgba(255,255,255,0.8)" placement="point" dy="6" wrap-width="100" wrap-before="true">[name]</TextSymbolizer> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom13; | |
| &minscale_zoom14; | |
| <Filter>([man_made] = 'chimney')</Filter> | |
| <PointSymbolizer file="symbols-otm/chimney_z13.png"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom15; | |
| &minscale_zoom17; | |
| <Filter>([man_made] = 'chimney')</Filter> | |
| <PointSymbolizer file="symbols-otm/chimney.png"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom12; | |
| &minscale_zoom17; | |
| <Filter>([man_made] = 'lighthouse')</Filter> | |
| <MarkersSymbolizer placement="point" file="symbols-otm/lighthouse.png" transform="translate(0 -7)"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom12; | |
| &minscale_zoom17; | |
| <Filter>([man_made] = 'lighthouse')</Filter> | |
| <TextSymbolizer fontset-name="sans-oblique" size="9" fill="black" halo-radius="2" halo-fill="rgba(255,255,255,0.8)" placement="point" dy="6" wrap-width="100" wrap-before="true">[name]</TextSymbolizer> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom13; | |
| &minscale_zoom15; | |
| <Filter>( ([man_made] = 'tower') and (([tower:type] = 'observation') or ([tourism] = 'viewpoint')))</Filter> | |
| <PointSymbolizer file="symbols-otm/observation_tower_z13.png"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom16; | |
| &minscale_zoom17; | |
| <Filter>( ([man_made] = 'tower') and (([tower:type] = 'observation') or ([tourism] = 'viewpoint')))</Filter> | |
| <PointSymbolizer file="symbols-otm/observation_tower.png"/> | |
| <TextSymbolizer fontset-name="sans-oblique" size="9" fill="black" halo-radius="1" halo-fill="rgba(255,255,255,0.7)" placement="point" dy="9" wrap-width="100" wrap-before="true">[name]</TextSymbolizer> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom11; | |
| &minscale_zoom15; | |
| <Filter>([man_made] = 'communications_tower') or ([communication:radio] = 'yes') or ([communication:television] = 'yes')</Filter> | |
| <MarkersSymbolizer placement="point" file="symbols-otm/communications_tower_z13.png" transform="translate(0 -5)"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom16; | |
| &minscale_zoom17; | |
| <Filter>([man_made] = 'communications_tower') or ([communication:radio] = 'yes') or ([communication:television] = 'yes')</Filter> | |
| <TextSymbolizer fontset-name="sans-oblique" size="9" fill="black" halo-radius="1" halo-fill="rgba(255,255,255,0.9)" placement="point" dy="8" wrap-width="100" wrap-before="true">[name]</TextSymbolizer> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom13; | |
| &minscale_zoom15; | |
| <Filter>[man_made] = 'tower' and [tower:type] = 'communication'</Filter> | |
| <MarkersSymbolizer placement="point" file="symbols-otm/communications_tower_z13.png" transform="translate(0 -5)"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom16; | |
| &minscale_zoom17; | |
| <Filter>[man_made] = 'tower' and [tower:type] = 'communication'</Filter> | |
| <MarkersSymbolizer placement="point" file="symbols-otm/communications_tower.png" transform="translate(0 -5)"/> | |
| <TextSymbolizer fontset-name="sans-oblique" size="9" fill="black" halo-radius="2" halo-fill="rgba(255,255,255,0.8)" placement="point" dy="6" wrap-width="100" wrap-before="true">[name]</TextSymbolizer> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom14; | |
| &minscale_zoom17; | |
| <Filter>([man_made] = 'mast')</Filter> | |
| <MarkersSymbolizer placement="point" file="symbols-otm/communications_mast.png" transform="translate(0 -5)"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom14; | |
| &minscale_zoom17; | |
| <Filter>([man_made] = 'watermill')</Filter> | |
| <PointSymbolizer file="symbols-otm/watermill.png"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom13; | |
| &minscale_zoom14; | |
| <Filter>([man_made] = 'water_tower')</Filter> | |
| <MarkersSymbolizer placement="point" file="symbols-otm/water_tower_z13.png" transform="translate(0 -3)"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom15; | |
| &minscale_zoom17; | |
| <Filter>([man_made] = 'water_tower')</Filter> | |
| <MarkersSymbolizer placement="point" file="symbols-otm/water_tower.png" transform="translate(0 -3)"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom16; | |
| &minscale_zoom17; | |
| <Filter>([man_made] = 'water_tower')</Filter> | |
| <TextSymbolizer fontset-name="sans-oblique" size="9" fill="black" halo-radius="2" halo-fill="rgba(255,255,255,0.9)" placement="point" dy="5" wrap-width="100" wrap-before="true">[name]</TextSymbolizer> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom12; | |
| &minscale_zoom15; | |
| <Filter>([natural] = 'spring')</Filter> | |
| <PointSymbolizer file="symbols-otm/spring.png"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom16; | |
| &minscale_zoom17; | |
| <Filter>([natural] = 'spring')</Filter> | |
| <PointSymbolizer file="symbols-otm/spring_z15.png"/> | |
| <TextSymbolizer fontset-name="sans-oblique" size="9" fill="#2020ff" margin="1" halo-radius="1" halo-fill="rgba(255,255,255,0.8)" placement="point" dy="8" wrap-width="100" wrap-before="true">[name]</TextSymbolizer> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom13; | |
| &minscale_zoom17; | |
| <Filter>([natural] = 'cave_entrance')</Filter> | |
| <PointSymbolizer file="symbols-otm/cave.png"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom16; | |
| &minscale_zoom17; | |
| <Filter>([natural] = 'cave_entrance')</Filter> | |
| <TextSymbolizer fontset-name="sans-oblique" size="9" fill="black" halo-radius="2" halo-fill="rgba(255,255,255,0.7)" placement="point" dy="6" wrap-width="100" wrap-before="true">[name]</TextSymbolizer> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom14; | |
| &minscale_zoom17; | |
| <Filter>(([natural] = 'tree') and (not ([name] = null) or ([denotation] = 'landmark')) and (not ([type] = 'conifer')))</Filter> | |
| <MarkersSymbolizer placement="point" file="symbols-otm/broadleaf_tree.png" transform="translate(0 -5)"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom14; | |
| &minscale_zoom17; | |
| <Filter>(([natural] = 'tree') and (not ([name] = null) or ([denotation] = 'landmark')) and ([type] = 'conifer'))</Filter> | |
| <MarkersSymbolizer placement="point" file="symbols-otm/conifer_tree.png" transform="translate(0 -5)"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom12; | |
| &minscale_zoom17; | |
| <Filter>(([power] = 'generator') and ([generator:source] = 'wind'))</Filter> | |
| <MarkersSymbolizer placement="point" file="symbols-otm/wind_turbine.png" transform="translate(1 -8)"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom13; | |
| &minscale_zoom17; | |
| <Filter>(([power] = 'generator') and not ([generator:source] = 'wind' or [generator:source] = 'solar'))</Filter> | |
| <PointSymbolizer file="symbols-otm/power_station.png"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom14; | |
| &minscale_zoom17; | |
| <Filter>(([historic] = 'wayside_cross') or ([historic] = 'wayside_shrine'))</Filter> | |
| <MarkersSymbolizer placement="point" file="symbols-otm/wayside_cross.png" transform="translate(0 -2)"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom13; | |
| &minscale_zoom17; | |
| <Filter>([man_made] = 'cross')</Filter> | |
| <MarkersSymbolizer placement="point" file="symbols-otm/cross.png" transform="translate(0 -2)"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom14; | |
| &minscale_zoom17; | |
| <Filter>(([historic] = 'memorial' and [memorial:type] != 'stolperstein') or ([historic] = 'monument'))</Filter> | |
| <MarkersSymbolizer placement="point" file="symbols-otm/monument.png" transform="translate(0 -2)"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom14; | |
| &minscale_zoom15; | |
| <Filter>(([historic] = 'archaeological_site') and ([site_type] = 'tumulus'))</Filter> | |
| <PointSymbolizer file="symbols-otm/tumulus.png"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom16; | |
| &minscale_zoom17; | |
| <Filter>(([historic] = 'archaeological_site') and ([site_type] = 'tumulus'))</Filter> | |
| <PointSymbolizer file="symbols-otm/tumulus.png"/> | |
| <TextSymbolizer fontset-name="sans-oblique" size="9" fill="black" margin="1" halo-radius="2" halo-fill="rgba(255,255,255,0.8)" placement="point" dy="8" wrap-width="100" wrap-before="true">[name]</TextSymbolizer> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom14; | |
| &minscale_zoom17; | |
| <Filter>[natural] = 'sinkhole'</Filter> | |
| <PointSymbolizer file="symbols-otm/sinkhole.png"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom13; | |
| &minscale_zoom17; | |
| <Filter>(([man_made] = 'mineshaft') or ([man_made] = 'adit')) and not (([disused] = 'yes') or ([abandoned] = 'yes'))</Filter> | |
| <PointSymbolizer file="symbols-otm/mineshaft.png"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom13; | |
| &minscale_zoom17; | |
| <Filter>(([man_made] = 'mineshaft') or ([man_made] = 'adit')) and (([disused] = 'yes') or ([abandoned] = 'yes'))</Filter> | |
| <PointSymbolizer file="symbols-otm/mineshaft_disused.png"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom13; | |
| &minscale_zoom17; | |
| <Filter>([sport] = 'swimming') and not ([access] = 'private')</Filter> | |
| <PointSymbolizer file="symbols-otm/swimming.png"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom13; | |
| &minscale_zoom13; | |
| <Filter>[tourism] = 'alpine_hut'</Filter> | |
| <PointSymbolizer file="symbols-otm/hut_alpine.png"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom13; | |
| &minscale_zoom13; | |
| <Filter>[tourism] = 'wilderness_hut'</Filter> | |
| <PointSymbolizer file="symbols-otm/hut_wilderness.png"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom14; | |
| &minscale_zoom17; | |
| <Filter>[tourism] = 'alpine_hut'</Filter> | |
| <PointSymbolizer file="symbols-otm/hut_alpine.png"/> | |
| <TextSymbolizer fontset-name="sans-oblique" size="9" fill="black" halo-radius="2" halo-fill="rgba(255,255,255,0.7)" placement="point" dy="6" wrap-width="100" wrap-before="true">[name]</TextSymbolizer> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom14; | |
| &minscale_zoom17; | |
| <Filter>[tourism] = 'wilderness_hut'</Filter> | |
| <PointSymbolizer file="symbols-otm/hut_wilderness.png"/> | |
| <TextSymbolizer fontset-name="sans-oblique" size="9" fill="black" halo-radius="2" halo-fill="rgba(255,255,255,0.7)" placement="point" dy="6" wrap-width="100" wrap-before="true">[name]</TextSymbolizer> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom14; | |
| &minscale_zoom17; | |
| <Filter>([amenity] = 'shelter') </Filter> | |
| <PointSymbolizer file="symbols-otm/shelter.png"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom13; | |
| &minscale_zoom15; | |
| <Filter>([tourism] = 'camp_site') </Filter> | |
| <PointSymbolizer file="symbols-otm/campsite_z13.png"/> | |
| </Rule> | |
| <Rule> | |
| &maxscale_zoom16; | |
| &minscale_zoom17; | |
| <Filter>([tourism] = 'camp_site') </Filter> | |
| <PointSymbolizer file="symbols-otm/campsite.png"/> | |
| <TextSymbolizer fontset-name="sans-oblique" size="9" fill="black" margin="1" halo-radius="2" halo-fill="rgba(255,255,255,0.8)" placement="point" dy="8" wrap-width="100" wrap-before="true">[name]</TextSymbolizer> | |
| </Rule> | |
| <!-- POIs from zoom 16 --> | |
| <Rule> | |
| &maxscale_zoom16; | |
| &minscale_zoom17; | |
| <Filter>([amenity] = 'hospital') </Filter> | |
| <PointSymbolizer file="symbols-otm/hospital.png"/> | |
| <TextSymbolizer fontset-name="sans-oblique" size="9" fill="black" halo-radius="2" halo-fill="rgba(255,255,255,0.8)" placement="point" dy="6" wrap-width="100" wrap-before="true">[name]</TextSymbolizer> | |
| </Rule> | |
| <!-- <Rule> | |
| &maxscale_zoom16; | |
| &minscale_zoom17; | |
| <Filter>([amenity] = 'pharmacy') </Filter> | |
| <PointSymbolizer file="symbols-otm/pharmacy.png"/> | |
| </Rule> | |
| --> | |
| </Style> |