mapnik/tests/visual_tests/styles/khmer.xml

43 lines
1.8 KiB
XML
Raw Normal View History

2013-10-24 06:59:14 +00:00
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
<Map background-color="white" srs="+proj=latlong +datum=WGS84"
font-directory="../fonts/KhmerOS/">
2014-12-09 15:31:23 +00:00
<Parameters>
<Parameter name="sizes">800, 200</Parameter>
</Parameters>
2013-10-24 06:59:14 +00:00
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
<StyleName>My Style</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
2014-12-09 15:31:23 +00:00
<Parameter name="extent">-0.05, -0.01, 0.95, 0.01</Parameter>
2013-10-24 06:59:14 +00:00
<Parameter name="file">../data/points.csv</Parameter>
</Datasource>
</Layer>
<Style name="My Style">
<Rule>
<PointSymbolizer/>
</Rule>
<Rule>
<Filter>[nr] = 1</Filter>
2013-10-24 06:59:14 +00:00
<TextSymbolizer face-name="Khmer OS Regular" size="20" placement="point" dy="16">"ព្រះរាជាណាចក្រកម្ពុជា"</TextSymbolizer>
</Rule>
<Rule>
<Filter>[nr] = 3</Filter>
2013-10-24 06:59:14 +00:00
<TextSymbolizer face-name="Khmer OS Regular" size="20" placement="point" dy="16">"ស្ត្រី"</TextSymbolizer>
</Rule>
<Rule>
<Filter>[nr] = 5</Filter>
2013-10-24 06:59:14 +00:00
<TextSymbolizer face-name="Khmer OS Regular" size="20" placement="point" dy="16">"ផ្លូវ ១២៣"</TextSymbolizer>
</Rule>
<Rule>
<Filter>[nr] = 7</Filter>
2013-10-24 06:59:14 +00:00
<TextSymbolizer face-name="Khmer OS Regular" size="20" placement="point" dy="-16">"ផផ្ទះសំណាក់​សណ្ឋាគារ​មាស"</TextSymbolizer>
</Rule>
<Rule>
<Filter>[nr] = 9</Filter>
2013-10-24 06:59:14 +00:00
<TextSymbolizer face-name="Khmer OS Regular" size="20" placement="point" dy="16">"ផ្លូវ១២៣"</TextSymbolizer>
</Rule>
</Style>
</Map>