-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathmonumenten.map
160 lines (137 loc) · 5.2 KB
/
monumenten.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
#==============================================================================
#
# monumenten.map
# doel: serveren monument locaties
#
#==============================================================================
MAP
NAME "monumenten"
INCLUDE "header.inc"
WEB
METADATA
"ows_title" "monumenten"
"ows_abstract" "Monumenten Amsterdam"
"wms_extent" "100000 450000 150000 500000"
END
END
# #-----------------------------------------------------------------------------
LAYER
NAME "monument_coordinaten_nopand"
GROUP "monumenten"
PROJECTION
"init=epsg:28992"
END
INCLUDE "connection/dataservices.inc"
# Some monuments have a detailed monumentgeometrie; some have only
# POINT-typed monumentcoordinaten. Draw a 1.5m-radius circle around the
# latter so mapserver will display them and their labels. This isn't
# quite as pretty as a scale-invariant symbol, but it works.
DATA "
unified_geometrie FROM (
SELECT coalesce(ST_CollectionExtract(contour, 3),
ST_Buffer(punt_coordinaten, 1.5)) AS unified_geometrie,
identificatie, monumentnummer, adressering, naam, type, status, datum_aanwijzing, datum_afvoeren, in_onderzoek, architect_ontwerp, opdrachtgever_bouw, jaar_begin_van, jaar_begin_tot, oorspronkelijke_functie, redengevende_omschrijving_publiek, beschrijving_publiek, ligt_in_monumenten_complex_id, datum_actueel_tot
FROM public.monumenten_monumenten) AS query
USING srid=28992 USING UNIQUE identificatie"
TYPE POLYGON
MINSCALEDENOM 10
MAXSCALEDENOM 400000
FILTER ([type] != 'Pand')
METADATA
"wfs_enable_request" "!*"
"gml_featureid" "identificatie"
"wms_title" "monument_coordinaten_nopand"
"wms_enable_request" "*"
"wms_group_title" "monumenten"
"wms_abstract" "Monument coordinaten Amsterdam no pand"
"wms_srs" "EPSG:28992"
"wms_name" "monument_coordinaten_nopand"
"wms_format" "image/png"
"wms_server_version" "1.1.1"
"wms_extent" "100000 450000 150000 500000"
# "wms_layer_group" "/monumenten_test"
END
LABELITEM "naam"
CLASS
NAME "Monument (overige)"
STYLE
MINSCALEDENOM 10
MAXSCALEDENOM 5001
COLOR 255 255 255
OUTLINECOLOR 0 0 0
END
LABEL
MINSCALEDENOM 10
MAXSCALEDENOM 1000
COLOR 102 102 102
OUTLINECOLOR 255 255 255
OUTLINEWIDTH 3
FONT "Ubuntu-M"
TYPE truetype
SIZE 10
POSITION AUTO
PARTIALS FALSE
OFFSET -60 10
END
END
END
# #-----------------------------------------------------------------------------
LAYER
NAME "monument_coordinaten"
GROUP "monumenten"
INCLUDE "connection/dataservices.inc"
# See comment at previous layer.
DATA
"
unified_geometrie FROM (
SELECT coalesce(ST_CollectionExtract(contour, 3),
ST_Buffer(punt_coordinaten , 1.5)) AS unified_geometrie,
identificatie, monumentnummer, adressering, naam, type, status, datum_aanwijzing, datum_afvoeren, in_onderzoek, architect_ontwerp, opdrachtgever_bouw, jaar_begin_van, jaar_begin_tot, oorspronkelijke_functie, redengevende_omschrijving_publiek, beschrijving_publiek, ligt_in_monumenten_complex_id, datum_actueel_tot
FROM public.monumenten_monumenten) AS subquery
USING srid=28992 USING UNIQUE identificatie"
TYPE POLYGON
PROJECTION
"init=epsg:28992"
END
MINSCALEDENOM 10
MAXSCALEDENOM 400000
FILTER ([type] = 'Pand')
METADATA
"wfs_enable_request" "!*"
"gml_featureid" "identificatie"
"wms_title" "monument_coordinaten"
"wms_enable_request" "*"
"wms_group_title" "monumenten"
"wms_abstract" "Monument coordinaten Amsterdam"
"wms_srs" "EPSG:28992"
"wms_name" "monument_coordinaten"
"wms_format" "image/png"
"wms_server_version" "1.1.1"
"wms_extent" "100000 450000 150000 500000"
# "wms_layer_group" "/monumenten_test"
END
LABELITEM "naam"
CLASS
NAME "Monument (pandgerelateerd)"
STYLE
MINSCALEDENOM 10
MAXSCALEDENOM 5001
COLOR 102 102 102
OUTLINECOLOR 0 0 0
END
LABEL
MINSCALEDENOM 10
MAXSCALEDENOM 1000
COLOR 102 102 102
OUTLINECOLOR 255 255 255
OUTLINEWIDTH 3
FONT "Ubuntu-M"
TYPE truetype
SIZE 10
POSITION AUTO
PARTIALS FALSE
OFFSET -60 10
END
END
END
END