forked from mapnik/test-data-visual
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtext-combined.xml
67 lines (66 loc) · 2.66 KB
/
text-combined.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<Map srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" background-color="white">
<Parameters>
<Parameter name="sizes">400,400</Parameter>
<Parameter name="bbox">-90, 0, 0, 90</Parameter>
</Parameters>
<Style name="test_style">
<Rule>
<MarkersSymbolizer/>
<TextSymbolizer
face-name="DejaVu Sans Book"
placement="point"
dx="5"
dy="-5"
size="10"
fill="green"
justify-alignment="left"
allow-overlap="false"
clip="false"
placement-type="combined"
placements="N,NE,E,SE,S,SW,W,NW">
[name]
<Placement dx="10" dy="-10" fill="blue"/>
<Placement dx="10" dy="10" fill="blue"/>
<Placement dx="15" dy="-15" fill="orange"/>
<Placement dx="15" dy="15" fill="orange"/>
<Placement dx="20" dy="-20" fill="yellow"/>
<Placement dx="20" dy="20" fill="yellow"/>
<Placement dx="25" dy="-25" fill="red"/>
<Placement dx="25" dy="25" fill="red"/>
<Placement dx="35" dy="-35" fill="purple"/>
<Placement dx="35" dy="35" fill="purple"/>
<Placement dx="45" dy="-45" fill="rgb(50,50,180)"/>
<Placement dx="45" dy="45" fill="rgb(50,50,180)"/>
</TextSymbolizer>
</Rule>
</Style>
<Layer name="test_layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>test_style</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="inline">
id|name|wkt
1|1st label|Point(-45 45)
2|2nd label|Point(-45 45)
3|3rd label|Point(-45 45)
4|4th label|Point(-45 45)
5|5th label|Point(-45 45)
6|6th label|Point(-45 45)
7|7th label|Point(-45 45)
8|8th label|Point(-45 45)
9|9th label|Point(-45 45)
10|10th label|Point(-45 45)
11|11th label|Point(-45 45)
12|12th label|Point(-45 45)
13|13th label|Point(-45 45)
14|14th label|Point(-45 45)
15|15th label|Point(-45 45)
16|16th label|Point(-45 45)
17|17th label|Point(-45 45)
18|18th label|Point(-45 45)
19|19th label|Point(-45 45)
20|20th label|Point(-45 45)
</Parameter>
</Datasource>
</Layer>
</Map>