mapnik/tests/data/good_maps/text_rotation.xml

46 lines
2.1 KiB
XML
Raw Normal View History

2011-02-05 04:21:22 +01:00
<Map srs="+proj=merc +lon_0=0 +lat_ts=0 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs" background-color="steelblue" minimum-version="0.7.2">
<Style name="labels">
<Rule title="foo">
<Filter>([name]='CHILE')</Filter>
2011-02-05 04:21:22 +01:00
<TextSymbolizer size="15" name="'45&#730; angle'" orientation="45" face-name="DejaVu Sans Book" halo-radius="1"/>
</Rule>
<Rule title="foo">
<Filter>([name]='Australia')</Filter>
2011-02-05 04:21:22 +01:00
<TextSymbolizer size="15" name="'- 45&#730; angle'" orientation="-45" face-name="DejaVu Sans Book" halo-radius="1"/>
</Rule>
<Rule title="foo1">
<Filter>([name]='Brazil')</Filter>
2011-02-05 04:21:22 +01:00
<TextSymbolizer size="15" name="'90&#730; angle'" orientation="90" face-name="DejaVu Sans Book" halo-radius="1"/>
</Rule>
<Rule title="foo">
<Filter>([name]='Mongolia')</Filter>
2011-02-05 04:21:22 +01:00
<TextSymbolizer size="15" name="'- 90&#730; angle'" orientation="-90" face-name="DejaVu Sans Book" halo-radius="1"/>
</Rule>
<Rule title="foo">
<Filter>([name]='Sudan')</Filter>
2011-02-05 04:21:22 +01:00
<TextSymbolizer size="15" name="'180&#730; angle'" orientation="180" face-name="DejaVu Sans Book" halo-radius="1"/>
</Rule>
<Rule title="foo">
<Filter>([name]='United States')</Filter>
2011-02-05 04:21:22 +01:00
<TextSymbolizer size="15" name="'no rotation of text'" face-name="DejaVu Sans Book" halo-radius="1"/>
</Rule>
<Rule title="foo">
2011-02-05 04:21:22 +01:00
<ElseFilter/>
<TextSymbolizer size="15" name="[name]" face-name="DejaVu Sans Book" halo-radius="1"/>
</Rule>
</Style>
<Layer name="point" srs="+init=epsg:4326">
<StyleName>labels</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="geometry_field">geometry</Parameter>
<Parameter name="table">point</Parameter>
<Parameter name="wkb_format">spatialite</Parameter>
</Datasource>
</Layer>
2011-02-05 04:21:22 +01:00
</Map>