-
Notifications
You must be signed in to change notification settings - Fork 11
/
nap.map
215 lines (189 loc) · 5.43 KB
/
nap.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
#==============================================================================
#
# nap.map
# doel: serveren van NAP gegevens
#
#==============================================================================
#
# naam datum wijziging
# ------------------ ---------- -----------------------------------------
# S. Zaat 25-01-2016 schepping
# D. Oldenburg 19-02-2024 Omzetten naar RefDB
#
#==============================================================================
MAP
NAME "NAP"
INCLUDE "header.inc"
WEB
METADATA
"ows_title" "NAP"
"ows_abstract" "NAP gegevens van het grondgebied van de gemeente Amsterdam"
END
END
#=============================================================================
# LAYERS
#=============================================================================
LEGEND
STATUS ON
KEYSIZE 16 16
END
LAYER
NAME "peilmerk"
GROUP "NAP"
INCLUDE "connection/dataservices.inc"
DATA "geometrie FROM public.nap_peilmerken USING srid=28992 USING UNIQUE identificatie"
TYPE POINT
MINSCALEDENOM 100
MAXSCALEDENOM 15001
TEMPLATE "fooOnlyForWMSGetFeatureInfo.html"
PROJECTION
"init=epsg:28992"
END
METADATA
"ows_title" "peilmerk"
"ows_group_title" "NAP"
"ows_abstract" "NAP peilmerken"
"gml_featureid" "ID"
"gml_include_items" "all"
END
CLASS
STYLE
SYMBOL 'vierkant_trap5_geel'
SIZE 16
END
END
END
#-----------------------------------------------------------------------------
LAYER
NAME "peilmerk_label"
GROUP "NAP"
INCLUDE "connection/dataservices.inc"
DATA "geometrie FROM (
SELECT geometrie, identificatie, hoogte_tov_nap from public.nap_peilmerken) AS query USING srid=28992 USING UNIQUE identificatie"
TYPE POINT
MINSCALEDENOM 100
MAXSCALEDENOM 15001
PROJECTION
"init=epsg:28992"
END
METADATA
"wms_title" "peilmerk_label"
"wms_group_title" "NAP"
"wms_abstract" "Labels van NAP peilmerken"
END
LABELITEM "identificatie"
CLASS
LABEL
MINSCALEDENOM 100
MAXSCALEDENOM 8000
COLOR 0 0 0
OUTLINECOLOR 255 255 255
OUTLINEWIDTH 2
FONT "Ubuntu-M"
TYPE truetype
SIZE 10
POSITION AUTO
PARTIALS FALSE
OFFSET -60 10
END
LABEL
MINSCALEDENOM 8000
MAXSCALEDENOM 15001
COLOR 0 0 0
OUTLINECOLOR 255 255 255
OUTLINEWIDTH 3
FONT "Ubuntu-M"
TYPE truetype
SIZE 8
POSITION AUTO
PARTIALS FALSE
OFFSET -50 10
END
END
END
#-----------------------------------------------------------------------------
LAYER
NAME "peilmerk_hoogte"
GROUP "NAP_hoogte"
INCLUDE "connection/dataservices.inc"
DATA "geometrie FROM (
SELECT geometrie, identificatie, hoogte_tov_nap from public.nap_peilmerken) AS query USING srid=28992 USING UNIQUE identificatie"
TYPE POINT
MINSCALEDENOM 100
MAXSCALEDENOM 15001
TEMPLATE "fooOnlyForWMSGetFeatureInfo.html"
PROJECTION
"init=epsg:28992"
END
METADATA
"wms_title" "peilmerk_hoogte"
"wms_group_title" "NAP_hoogte"
"wms_abstract" "NAP Peilmerk hoogte"
END
CLASS
NAME "lager dan -1,5 m"
EXPRESSION ([hoogte_tov_nap] < -1.5)
STYLE
SYMBOL 'vierkant_trap1_donkerblauw'
SIZE 16
END
END
CLASS
NAME "-1,5 m tot -0,5 m"
EXPRESSION (([hoogte_tov_nap] >= -1.5) AND ([hoogte_tov_nap] < -0.5))
STYLE
SYMBOL 'vierkant_trap2_lichtblauw'
SIZE 16
END
END
CLASS
NAME "-0,5 m tot 0 m"
EXPRESSION (([hoogte_tov_nap] >= -0.5) AND ([hoogte_tov_nap] < 0))
STYLE
SYMBOL 'vierkant_trap3_lichtblauwgroen'
SIZE 16
END
END
CLASS
NAME "0 m tot 1 m"
EXPRESSION (([hoogte_tov_nap] >= 0) AND ([hoogte_tov_nap] < 1))
STYLE
SYMBOL 'vierkant_trap4_lichtgroen'
SIZE 16
END
END
CLASS
NAME "1 m tot 1,5 m"
EXPRESSION (([hoogte_tov_nap] >= 1) AND ([hoogte_tov_nap] < 1.5))
STYLE
SYMBOL 'vierkant_trap5_geel'
SIZE 16
END
END
CLASS
NAME "1,5 m tot 2 m"
EXPRESSION (([hoogte_tov_nap] >= 1.5) AND ([hoogte_tov_nap] < 2))
STYLE
SYMBOL 'vierkant_trap6_geeloranje'
SIZE 16
END
END
CLASS
NAME "2 m tot 3,5 m"
EXPRESSION (([hoogte_tov_nap] >= 2) AND ([hoogte_tov_nap] < 3.5))
STYLE
SYMBOL 'vierkant_trap7_oranje'
SIZE 16
END
END
CLASS
NAME "hoger dan 3,5 m"
EXPRESSION ([hoogte_tov_nap] >= 3.5)
STYLE
SYMBOL 'vierkant_trap8_rood'
SIZE 16
END
END
END
#=============================================================================
END