mapnik/tests/visual_tests/styles/formatting-1.xml

23 lines
732 B
XML
Raw Normal View History

2012-01-25 00:00:09 +01:00
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
2012-01-25 00:00:09 +01:00
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
2012-01-25 00:00:09 +01:00
<StyleName>My Style</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="file">../data/points.csv</Parameter>
2012-01-25 00:00:09 +01:00
</Datasource>
</Layer>
<Style name="My Style">
<Rule>
<PointSymbolizer/>
2012-01-27 23:14:49 +01:00
<!-- Basic test -->
<TextSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" dx="0" dy="5">
2014-07-23 22:00:34 +02:00
[name]+'&#10;'<Format face-name="DejaVu Sans Oblique" size="9">'('+[name]+')'</Format></TextSymbolizer>
2012-01-25 00:00:09 +01:00
</Rule>
</Style>
</Map>