forked from MapServer/basemaps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
places.map
259 lines (258 loc) · 4.68 KB
/
places.map
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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
LAYER
STATUS ON
GROUP "default"
TYPE POINT
PROJECTION
"init=epsg:OSM_SRID"
END
CONNECTIONTYPE postgis
CONNECTION "OSM_DB_CONNECTION"
#if OSM_FORCE_POSTGIS_EXTENT == 1
EXTENT OSM_EXTENT
#endif
NAME layername(places,_layer_suffix)
MINSCALEDENOM _minscale
MAXSCALEDENOM _maxscale
DATA _places_data
LABELITEM 'name'
CLASSITEM 'type'
#if _display_capitals == 1
CLASS
EXPRESSION ('[capital]'='1')
LABEL
FONT _capital_font
TYPE TRUETYPE
SIZE _capital_lbl_size
ENCODING "utf-8"
COLOR _capital_lbl_clr
OUTLINECOLOR _capital_lbl_ol_clr
OUTLINEWIDTH _capital_lbl_ol_width
WRAP ' '
MAXLENGTH 8
ALIGN CENTER
BUFFER 10
PARTIALS FALSE
POSITION auto
#if _display_capital_symbol == 1
STYLE
SIZE _capital_size
SYMBOL "citycircle"
COLOR _capital_clr
OUTLINECOLOR _capital_ol_clr
END
STYLE
SIZE _capital_fg_size
SYMBOL "citycircle"
COLOR _capital_fg_clr
END
#endif
END
END
#endif
#if _display_continents == 1
CLASS
EXPRESSION 'continents'
LABEL
FONT _continent_font
TYPE TRUETYPE
ENCODING "utf-8"
SIZE _continent_lbl_size
COLOR _continent_lbl_clr
OUTLINECOLOR _continent_lbl_ol_clr
OUTLINEWIDTH _continent_lbl_ol_width
BUFFER 4
PARTIALS FALSE
POSITION cc
END
END
#endif
#if _display_countries == 1
CLASS
EXPRESSION 'country'
LABEL
FONT _country_font
TYPE TRUETYPE
ENCODING "utf-8"
SIZE _country_lbl_size
COLOR _country_lbl_clr
OUTLINECOLOR _country_lbl_ol_clr
OUTLINEWIDTH _country_lbl_ol_width
WRAP ' '
MAXLENGTH 8
ALIGN CENTER
BUFFER 4
PARTIALS FALSE
POSITION cc
END
END
#endif
#if _display_cities == 1
CLASS
EXPRESSION 'city'
LABEL
FONT _city_font
TYPE TRUETYPE
ENCODING "utf-8"
SIZE _city_lbl_size
COLOR _city_lbl_clr
OUTLINECOLOR _city_lbl_ol_clr
OUTLINEWIDTH _city_lbl_ol_width
WRAP ' '
MAXLENGTH 8
ALIGN CENTER
BUFFER 4
PARTIALS FALSE
POSITION auto
#if _display_city_symbol == 1
STYLE
SIZE _city_size
SYMBOL "citycircle"
COLOR _city_clr
OUTLINECOLOR _city_ol_clr
END
#endif
END
END
#endif
#if _display_towns == 1
CLASS
EXPRESSION 'town'
LABEL
FONT _town_font
TYPE TRUETYPE
ENCODING "utf-8"
SIZE _town_lbl_size
COLOR _town_lbl_clr
OUTLINECOLOR _town_lbl_ol_clr
OUTLINEWIDTH _town_lbl_ol_width
WRAP ' '
MAXLENGTH 8
ALIGN CENTER
PARTIALS FALSE
POSITION AUTO
BUFFER 4
POSITION auto
#if _display_town_symbol == 1
STYLE
SIZE _town_size
SYMBOL "citycircle"
COLOR _town_clr
OUTLINECOLOR _town_ol_clr
END
#endif
END
END
#endif
#if _display_suburbs == 1
CLASS
EXPRESSION 'suburb'
LABEL
FONT _suburb_font
TYPE TRUETYPE
ENCODING "utf-8"
SIZE _suburb_lbl_size
COLOR _suburb_lbl_clr
OUTLINECOLOR _suburb_lbl_ol_clr
OUTLINEWIDTH _suburb_lbl_ol_width
WRAP ' '
MAXLENGTH 8
ALIGN CENTER
BUFFER 4
PARTIALS FALSE
POSITION AUTO
#if _display_suburb_symbol == 1
STYLE
SIZE _suburb_size
SYMBOL "citycircle"
COLOR _suburb_clr
OUTLINECOLOR _suburb_ol_clr
END
#endif
END
END
#endif
#if _display_villages == 1
CLASS
EXPRESSION 'village'
LABEL
FONT _village_font
TYPE TRUETYPE
ENCODING "utf-8"
SIZE _village_lbl_size
COLOR _village_lbl_clr
OUTLINECOLOR _village_lbl_ol_clr
OUTLINEWIDTH _village_lbl_ol_width
WRAP ' '
MAXLENGTH 8
ALIGN CENTER
PARTIALS FALSE
BUFFER 4
POSITION AUTO
#if _display_village_symbol == 1
STYLE
SYMBOL "citycircle"
COLOR _village_clr
OUTLINECOLOR _village_ol_clr
SIZE _village_size
END
#endif
END
END
#endif
#if _display_hamlets == 1
CLASS
EXPRESSION 'hamlet'
LABEL
FONT _hamlet_font
TYPE TRUETYPE
ENCODING "utf-8"
SIZE _hamlet_lbl_size
COLOR _hamlet_lbl_clr
OUTLINECOLOR _hamlet_lbl_ol_clr
OUTLINEWIDTH _hamlet_lbl_ol_width
WRAP ' '
MAXLENGTH 8
ALIGN CENTER
BUFFER 4
PARTIALS FALSE
POSITION AUTO
#if _display_hamlet_symbol == 1
STYLE
SIZE _hamlet_size
SYMBOL "citycircle"
COLOR _hamlet_clr
OUTLINECOLOR _hamlet_ol_clr
END
#endif
END
END
#endif
#if _display_localities == 1
CLASS
EXPRESSION 'locality'
LABEL
FONT _locality_font
TYPE TRUETYPE
ENCODING "utf-8"
SIZE _locality_lbl_size
COLOR _locality_lbl_clr
OUTLINECOLOR _locality_lbl_ol_clr
OUTLINEWIDTH _locality_lbl_ol_width
WRAP ' '
MAXLENGTH 8
ALIGN CENTER
BUFFER 4
PARTIALS FALSE
POSITION AUTO
#if _display_locality_symbol == 1
STYLE
SIZE _locality_size
SYMBOL "citycircle"
COLOR _locality_clr
OUTLINECOLOR _locality_ol_clr
END
#endif
END
END
#endif
END