mapnik/tests/visual_tests/shieldsymbolizer-1.xml

60 lines
3 KiB
XML
Raw Normal View History

2012-01-29 05:11:59 +01:00
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
2012-02-18 01:17:29 +01:00
<Map background-color="green" srs="+proj=latlong +datum=WGS84">
2012-01-29 05:11:59 +01:00
2012-02-18 01:17:29 +01:00
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
<StyleName>My Style</StyleName>
<Datasource>
<Parameter name="type">shape</Parameter>
<Parameter name="file">points.shp</Parameter>
</Datasource>
</Layer>
2012-01-29 05:11:59 +01:00
<Style name="My Style">
2012-02-18 01:17:29 +01:00
<Rule>
<Filter>[nr] = '1'</Filter>
2012-02-18 16:45:35 +01:00
<ShieldSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" file="../data/svg/crosshair16x16.svg">'X'</ShieldSymbolizer>
2012-02-18 01:17:29 +01:00
</Rule>
2012-02-18 13:06:25 +01:00
<Rule>
<Filter>[nr] = '2'</Filter>
2012-02-18 16:45:35 +01:00
<ShieldSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" file="../data/svg/crosshair16x16.svg" allow-overlap="true" horizontal-alignment="middle" dx="5">'X'</ShieldSymbolizer>
</Rule>
2012-02-18 01:17:29 +01:00
<Rule>
<Filter>[nr] = '3'</Filter>
2012-02-18 16:45:35 +01:00
<ShieldSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" file="../data/svg/crosshair16x16.svg" vertical-alignment="middle" dy="5">'X'</ShieldSymbolizer>
2012-02-18 01:17:29 +01:00
</Rule>
2012-02-18 13:06:25 +01:00
<Rule>
<Filter>[nr] = '4'</Filter>
2012-02-18 16:45:35 +01:00
<ShieldSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" file="../data/svg/crosshair16x16.svg" dy="0" vertical-alignment="bottom">'X'</ShieldSymbolizer>
2012-02-18 13:06:25 +01:00
</Rule>
2012-02-18 01:17:29 +01:00
<Rule>
<Filter>[nr] = '5'</Filter>
2012-02-18 16:45:35 +01:00
<ShieldSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" file="../data/svg/crosshair16x16.svg" allow-overlap="true" vertical-alignment="top">'X'</ShieldSymbolizer>
</Rule>
<Rule>
<Filter>[nr] = '6'</Filter>
<ShieldSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" file="../data/svg/crosshair16x16.svg" allow-overlap="true" horizontal-alignment="left">'X'</ShieldSymbolizer>
2012-02-18 01:17:29 +01:00
</Rule>
<Rule>
<Filter>[nr] = '7'</Filter>
2012-02-18 16:45:35 +01:00
<ShieldSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" file="../data/svg/crosshair16x16.svg" allow-overlap="true" horizontal-alignment="right">'X'</ShieldSymbolizer>
</Rule>
<Rule>
<Filter>[nr] = '8'</Filter>
<ShieldSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" file="../data/svg/crosshair16x16.svg">'X&#10;X&#10;X'</ShieldSymbolizer>
2012-02-18 01:17:29 +01:00
</Rule>
<Rule>
<Filter>[nr] = '9'</Filter>
2012-02-18 16:45:35 +01:00
<ShieldSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" file="../data/svg/crosshair16x16.svg">'XXX'</ShieldSymbolizer>
</Rule>
<Rule>
<Filter>[nr] = '10'</Filter>
<ShieldSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" file="../data/images/crosshair16x16.png">'X'</ShieldSymbolizer>
2012-02-18 01:17:29 +01:00
</Rule>
<Rule>
<PointSymbolizer allow-overlap="true" file="../data/raster/white-alpha.png"/>
</Rule>
</Style>
2012-01-29 05:11:59 +01:00
</Map>