-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmap_tile_renderer_style_sheet_15.xml
191 lines (191 loc) · 5.81 KB
/
map_tile_renderer_style_sheet_15.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<Map background-color="aquamarine" srs="+proj=longlat +datum=WGS84 +no_defs ">
<Style name="style1">
<Rule>
<PolygonSymbolizer fill="#444444" />
<LineSymbolizer stroke="red" stroke-width="4" stroke-dasharray="6, 3" />
</Rule>
</Style>
<Style name="style2">
<Rule>
<LineSymbolizer stroke="white" stroke-width="3" stroke-dasharray="4, 2" />
</Rule>
</Style>
<Style name="style3">
<Rule>
<LineSymbolizer stroke="brown" stroke-width="2.5" stroke-dasharray="3, 2" />
</Rule>
</Style>
<Style name="style4">
<Rule>
<LineSymbolizer stroke="#F2F5A9" stroke-width="2" stroke-dasharray="2, 1" />
</Rule>
</Style>
<Style name="style5">
<Rule>
<LineSymbolizer stroke="#BCA9F5" stroke-width="2" stroke-dasharray="2, 1" />
</Rule>
<Rule>
<Filter>
not ([feature_name] = 'NA')
</Filter>
<TextSymbolizer face-name="DejaVu Sans Book" fill="white">
[feature_name]
</TextSymbolizer>
</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 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>
<Layer name="layer4" srs="+proj=longlat +datum=WGS84 +no_defs ">
<StyleName>
style4
</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_3) as place
</Parameter>
<Parameter name="geometry_field">
outline
</Parameter>
<Parameter name="srid">
4326
</Parameter>
<Parameter name="estimate_extent">
false
</Parameter>
</Datasource>
</Layer>
<Layer name="layer5" srs="+proj=longlat +datum=WGS84 +no_defs ">
<StyleName>
style5
</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_4) as place
</Parameter>
<Parameter name="geometry_field">
outline
</Parameter>
<Parameter name="srid">
4326
</Parameter>
<Parameter name="estimate_extent">
false
</Parameter>
</Datasource>
</Layer>
</Map>