-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmap_tile_renderer_style_sheet_8.xml
119 lines (119 loc) · 3.64 KB
/
map_tile_renderer_style_sheet_8.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<Map background-color="aquamarine" srs="+proj=longlat +datum=WGS84 +no_defs ">
<Style name="style1">
<Rule>
<PolygonSymbolizer fill="#444444" />
<LineSymbolizer stroke="red" stroke-width="2" stroke-dasharray="5, 3" />
</Rule>
</Style>
<Style name="style2">
<Rule>
<LineSymbolizer stroke="white" stroke-width="1.5" stroke-dasharray="3, 2" />
</Rule>
<Rule>
<Filter>
not ([feature_name] = 'NA')
</Filter>
<TextSymbolizer face-name="DejaVu Sans Book" fill="white">
[feature_name]
</TextSymbolizer>
</Rule>
</Style>
<Style name="style3">
<Rule>
<LineSymbolizer stroke="brown" stroke-width="1" stroke-dasharray="2, 1" />
</Rule>
</Style>
<Layer name="layer1" srs="+proj=longlat +datum=WGS84 +no_defs ">
<StyleName>
style1
</StyleName>
<Datasource>
<Parameter name="type">
postgis
</Parameter>
<Parameter name="dbname">
world_features
</Parameter>
<Parameter name="user">
postgres
</Parameter>
<Parameter name="password">
password
</Parameter>
<Parameter name="table">
(select outline::geometry from world_features_level_0) as place
</Parameter>
<Parameter name="geometry_field">
outline
</Parameter>
<Parameter name="srid">
4326
</Parameter>
<Parameter name="estimate_extent">
false
</Parameter>
</Datasource>
</Layer>
<Layer name="layer2" srs="+proj=longlat +datum=WGS84 +no_defs ">
<StyleName>
style2
</StyleName>
<Datasource>
<Parameter name="type">
postgis
</Parameter>
<Parameter name="dbname">
world_features
</Parameter>
<Parameter name="user">
postgres
</Parameter>
<Parameter name="password">
password
</Parameter>
<Parameter name="table">
(select feature_name, outline::geometry from world_features_level_1) as place
</Parameter>
<Parameter name="geometry_field">
outline
</Parameter>
<Parameter name="srid">
4326
</Parameter>
<Parameter name="estimate_extent">
false
</Parameter>
</Datasource>
</Layer>
<Layer name="layer3" srs="+proj=longlat +datum=WGS84 +no_defs ">
<StyleName>
style3
</StyleName>
<Datasource>
<Parameter name="type">
postgis
</Parameter>
<Parameter name="dbname">
world_features
</Parameter>
<Parameter name="user">
postgres
</Parameter>
<Parameter name="password">
password
</Parameter>
<Parameter name="table">
(select outline::geometry from world_features_level_2) as place
</Parameter>
<Parameter name="geometry_field">
outline
</Parameter>
<Parameter name="srid">
4326
</Parameter>
<Parameter name="estimate_extent">
false
</Parameter>
</Datasource>
</Layer>
</Map>