-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathwegenbestand.map
261 lines (219 loc) · 7.7 KB
/
wegenbestand.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
260
261
MAP
NAME "wegenbestand"
INCLUDE "header.inc"
DEBUG 1
WEB
METADATA
"ows_title" "wegenbestand"
"ows_abstract" "Wegenbestand gemeente Amsterdam"
"wms_extent" "100000 450000 150000 500000"
END
END
LEGEND
STATUS ON
KEYSIZE 17 17
END
# ------------------------------------------------------------------------
LAYER
NAME "binnen"
GROUP "zone zwaar verkeer"
PROJECTION
"init=epsg:28992"
END
INCLUDE "connection/dataservices.inc"
DATA "geometry FROM public.wegenbestand_zone_zwaar_verkeer_binnen USING srid=28992 USING UNIQUE id"
TYPE LINE
MINSCALEDENOM 10
MAXSCALEDENOM 400000
METADATA
"wfs_title" "binnen"
"wfs_srs" "EPSG:28992"
"wfs_abstract" "binnen"
"wfs_enable_request" "*"
"gml_featureid" "name"
"gml_include_items" "all"
"wms_title" "binnen"
"wms_enable_request" "*"
"wms_group_title" "zone zwaar verkeer"
"wms_abstract" "wegen die vallen binnen de zone zwaar verkeer"
"wms_srs" "EPSG:28992"
"wms_name" "binnen"
"wms_format" "image/png"
"wms_server_version" "1.1.1"
"wms_extent" "100000 450000 150000 500000"
END
CLASS
NAME "binnen"
STYLE
WIDTH 1
COLOR 231 142 189
OUTLINECOLOR 231 142 189
END
END
END
# ------------------------------------------------------------------------
LAYER
NAME "buiten"
GROUP "zone zwaar verkeer"
PROJECTION
"init=epsg:28992"
END
INCLUDE "connection/dataservices.inc"
# mapserver treats in the `EXPRESSION` clause on the `CLASS` NULL values as integer zero. In this case we do not want that
# and translate NULL values to an integer of 4 (or more). Hence the `COALESCE` in the `DATA` query below.
DATA "geometry FROM (SELECT *, COALESCE(weg_functie, 4) weg_functie_null_trans FROM public.wegenbestand_zone_zwaar_verkeer_buiten) as SUBQUERY USING srid=28992 USING UNIQUE id"
TYPE LINE
MINSCALEDENOM 10
MAXSCALEDENOM 400000
METADATA
"wfs_title" "buiten"
"wfs_srs" "EPSG:28992"
"wfs_abstract" "buiten"
"wfs_enable_request" "*"
"gml_featureid" "name"
"gml_include_items" "all"
"wms_title" "buiten"
"wms_enable_request" "*"
"wms_group_title" "zone zwaar verkeer"
"wms_abstract" "wegen die vallen buiten de zone zwaar verkeer"
"wms_srs" "EPSG:28992"
"wms_name" "buiten"
"wms_format" "image/png"
"wms_server_version" "1.1.1"
"wms_extent" "100000 450000 150000 500000"
END
CLASS
NAME "buiten-wegfunctie-kleiner-dan-4"
EXPRESSION ([weg_functie_null_trans] < 4)
STYLE
WIDTH 2.5
COLOR 60 171 84
OUTLINECOLOR 60 171 84
OPACITY 80
END
END
CLASS
NAME "buiten-wegfunctie-4-of-groter"
EXPRESSION ([weg_functie_null_trans] >= 4)
STYLE
WIDTH 1
COLOR 131 193 145
OUTLINECOLOR 131 193 145
END
END
END
# ------------------------------------------------------------------------
LAYER
NAME "binnen-breed-opgezette-wegen"
GROUP "zone zwaar verkeer"
PROJECTION
"init=epsg:28992"
END
INCLUDE "connection/dataservices.inc"
DATA "geometry FROM public.wegenbestand_zone_zwaar_verkeer_breed_opgezette_wegen USING srid=28992 USING UNIQUE id"
TYPE LINE
MINSCALEDENOM 10
MAXSCALEDENOM 400000
METADATA
"wfs_title" "binnen-breed-opgezette-wegen"
"wfs_srs" "EPSG:28992"
"wfs_abstract" "binnen-breed-opgezette-wegen"
"wfs_enable_request" "*"
"gml_featureid" "name"
"gml_include_items" "all"
"wms_title" "binnen-breed-opgezette-wegen"
"wms_enable_request" "*"
"wms_group_title" "zone zwaar verkeer"
"wms_abstract" "binnen-breed-opgezette-wegen"
"wms_srs" "EPSG:28992"
"wms_name" "binnen-breed-opgezette-wegen"
"wms_format" "image/png"
"wms_server_version" "1.1.1"
"wms_extent" "100000 450000 150000 500000"
END
CLASS
NAME "binnen-breed-opgezette-wegen"
STYLE
WIDTH 2.5
COLOR 83 2 46
OUTLINECOLOR 83 2 46
OPACITY 80
END
END
END
# ------------------------------------------------------------------------
LAYER
NAME "routes-gevaarlijke-stoffen"
GROUP "wegenbestand"
PROJECTION
"init=epsg:28992"
END
INCLUDE "connection/dataservices.inc"
DATA "geometry FROM public.wegenbestand_routes_gevaarlijke_stoffen USING srid=28992 USING UNIQUE id"
TYPE LINE
MINSCALEDENOM 10
MAXSCALEDENOM 400000
METADATA
"wfs_title" "routes-gevaarlijke-stoffen"
"wfs_srs" "EPSG:28992"
"wfs_abstract" "routes-gevaarlijke-stoffen"
"wfs_enable_request" "*"
"gml_featureid" "name"
"gml_include_items" "all"
"wms_title" "routes-gevaarlijke-stoffen"
"wms_enable_request" "*"
"wms_group_title" "wegenbestand"
"wms_abstract" "routes-gevaarlijke-stoffen"
"wms_srs" "EPSG:28992"
"wms_name" "routes-gevaarlijke-stoffen"
"wms_format" "image/png"
"wms_server_version" "1.1.1"
"wms_extent" "100000 450000 150000 500000"
END
CLASS
NAME "routes-gevaarlijke-stoffen"
STYLE
WIDTH 1
COLOR 255 145 0
OUTLINECOLOR 255 145 0
END
END
END
# ------------------------------------------------------------------------
LAYER
NAME "tunnels-gevaarlijke-stoffen"
GROUP "wegenbestand"
PROJECTION
"init=epsg:28992"
END
INCLUDE "connection/dataservices.inc"
DATA "geometry FROM public.wegenbestand_tunnels_gevaarlijke_stoffen USING srid=28992 USING UNIQUE id"
TYPE POINT
MINSCALEDENOM 10
MAXSCALEDENOM 400000
METADATA
"wfs_title" "tunnels-gevaarlijke-stoffen"
"wfs_srs" "EPSG:28992"
"wfs_abstract" "tunnels-gevaarlijke-stoffen"
"wfs_enable_request" "*"
"gml_featureid" "name"
"gml_include_items" "all"
"wms_title" "tunnels-gevaarlijke-stoffen"
"wms_enable_request" "*"
"wms_group_title" "wegenbestand"
"wms_abstract" "tunnels-gevaarlijke-stoffen"
"wms_srs" "EPSG:28992"
"wms_name" "tunnels"
"wms_format" "image/png"
"wms_server_version" "1.1.1"
"wms_extent" "100000 450000 150000 500000"
END
CLASS
NAME "tunnels-gevaarlijke-stoffen"
STYLE
SYMBOL 'cirkel_oranje_tunnel'
SIZE 16
END
END
END
END