mapnik/tests/data/good_maps/point_symbolizer.xml

53 lines
2.6 KiB
XML
Raw Normal View History

2011-02-05 04:21:22 +01:00
<!DOCTYPE Map>
<Map background-color="#b5d0d0" srs="+init=epsg:4326" minimum-version="0.8.0">
<Style name="1">
<Rule title="foo">
<Filter>([name]='CHILE')</Filter>
2011-02-05 04:21:22 +01:00
<TextSymbolizer size="10" name="[name] + ' (default OGC pixel)'" dy="5" face-name="DejaVu Sans Book" text-transform="lowercase" wrap-width="10" wrap-character=" " halo-radius="1"/>
<PointSymbolizer/>
</Rule>
<Rule title="foo">
<Filter>([name]='Australia')</Filter>
2011-02-05 04:21:22 +01:00
<TextSymbolizer size="10" name="[name] + ' (png)'" dy="20" face-name="DejaVu Sans Book" halo-radius="1"/>
<PointSymbolizer file="../images/dummy.png" allow-overlap="true"/>
</Rule>
<Rule title="foo1">
<Filter>([name]='Brazil')</Filter>
2011-02-05 04:21:22 +01:00
<TextSymbolizer size="10" name="[name] + ' (svg &amp; tif)'" dy="20" face-name="DejaVu Sans Book" halo-radius="1"/>
<PointSymbolizer file="../images/dummy.tif" allow-overlap="true"/>
<PointSymbolizer file="../svg/ellipses.svg" allow-overlap="true"/>
</Rule>
<Rule title="foo">
<Filter>([name]='Mongolia')</Filter>
2011-02-05 04:21:22 +01:00
<TextSymbolizer size="10" name="[name] + ' (tiff)'" dy="20" face-name="DejaVu Sans Book" halo-radius="1"/>
<PointSymbolizer file="../images/dummy.tiff" allow-overlap="true"/>
</Rule>
<Rule title="foo">
<Filter>([name]='Sudan')</Filter>
2011-02-05 04:21:22 +01:00
<TextSymbolizer size="10" name="[name] + ' (jpeg)'" dy="20" face-name="DejaVu Sans Book" halo-radius="1"/>
<PointSymbolizer file="../images/dummy.jpeg"/>
</Rule>
<Rule title="foo">
<Filter>([name]='United States')</Filter>
2011-02-05 04:21:22 +01:00
<TextSymbolizer size="10" name="[name] + ' (jpg)'" dy="20" face-name="DejaVu Sans Book" halo-radius="1"/>
<PointSymbolizer file="../images/dummy.jpg"/>
</Rule>
<Rule title="foo">
2011-02-05 04:21:22 +01:00
<ElseFilter/>
<TextSymbolizer size="10" name="[name]" dy="20" face-name="DejaVu Sans Book" halo-radius="1"/>
<PointSymbolizer file="../images/bogus_will_fail.png"/>
</Rule>
</Style>
<Layer name="point" srs="+init=epsg:4326">
<StyleName>1</StyleName>
<Datasource>
<Parameter name="type">sqlite</Parameter>
<Parameter name="extent">-180,-70,180,70</Parameter>
<Parameter name="file">../sqlite/qgis_spatiallite.sqlite</Parameter>
<Parameter name="table">point</Parameter>
<Parameter name="wkb_format">spatialite</Parameter>
</Datasource>
</Layer>
2011-02-05 04:21:22 +01:00
</Map>