@ndwnu/map 1.0.1 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3170 @@
1
+ {
2
+ "version": 8,
3
+ "name": "NDW Modular Basic background map V2.2",
4
+ "owner": "NDW Location Services",
5
+ "metadata": {
6
+ "title": "Modulaire achtergrondkaart NDW",
7
+ "desc": "Een stijl bestand, met daarin verschillende gegroepeerde stijl lagen, die geconfigureerd kunnen worden door de ontwikkelaar naar wens en behoefte van de applicatie. Waarin opvallende (relevant) en onopvallende (context) informatie lagen visueel getoond kunnen worden in combinatie met eigen informatie lagen om zo het beste beeld te creëren.",
8
+ "design": "This Way Cartography; Niene Boeijen"
9
+ },
10
+ "center": [5.121, 52.08],
11
+ "zoom": 8,
12
+ "sprite": [
13
+ {
14
+ "id": "NDW",
15
+ "url": "https://maps.ndw.nu/styles/sprites/osm-default/osm-default"
16
+ },
17
+ {
18
+ "id": "sdf",
19
+ "url": "https://maps.ndw.nu/styles/ndw-basemap/dev/sdf"
20
+ },
21
+ {
22
+ "id": "custom",
23
+ "url": "https://maps.ndw.nu/styles/ndw-basemap/dev/custom_ndw"
24
+ }
25
+ ],
26
+ "glyphs": "https://maps.ndw.nu/styles/glyphs/{fontstack}/{range}.pbf",
27
+ "sources": {
28
+ "pdok-aerial": {
29
+ "type": "raster",
30
+ "tiles": [
31
+ "https://service.pdok.nl/hwh/luchtfotorgb/wmts/v1_0/Actueel_orthoHR/EPSG:3857/{z}/{x}/{y}.jpeg"
32
+ ],
33
+ "tileSize": 256
34
+ },
35
+ "pdok-brt": {
36
+ "type": "vector",
37
+ "tiles": [
38
+ "https://api.pdok.nl/kadaster/brt-achtergrondkaart/ogc/v1/tiles/WebMercatorQuad/{z}/{y}/{x}?f=mvt"
39
+ ],
40
+ "minzoom": 0,
41
+ "maxzoom": 16
42
+ },
43
+ "pdok-bgt": {
44
+ "type": "vector",
45
+ "tiles": ["https://api.pdok.nl/lv/bgt/ogc/v1/tiles/WebMercatorQuad/{z}/{y}/{x}?f=mvt"],
46
+ "minzoom": 17,
47
+ "maxzoom": 17,
48
+ "attribution": "<a href='https://api.pdok.nl/'>PDOK</a>"
49
+ },
50
+ "pdok-bag": {
51
+ "type": "vector",
52
+ "tiles": ["https://api.pdok.nl/lv/bag/ogc/v1/tiles/WebMercatorQuad/{z}/{y}/{x}?f=mvt"],
53
+ "minzoom": 17,
54
+ "maxzoom": 17
55
+ },
56
+ "pdok-administrative-division": {
57
+ "type": "vector",
58
+ "tiles": [
59
+ "https://api.pdok.nl/kadaster/bestuurlijkegebieden/ogc/v1/tiles/WebMercatorQuad/{z}/{y}/{x}?f=mvt"
60
+ ],
61
+ "minzoom": 6,
62
+ "maxzoom": 16
63
+ },
64
+ "ndw-nwb-road-sections": {
65
+ "type": "vector",
66
+ "url": "https://maps.ndw.nu/api/v1/nwb/latest/mbtiles/roadSections/",
67
+ "minzoom": 4,
68
+ "maxzoom": 19,
69
+ "attribution": "<a href='https://maps.ndw.nu/'>NDW</a>"
70
+ },
71
+ "ndw-nwb-hectometre-signs": {
72
+ "type": "vector",
73
+ "url": "https://maps.ndw.nu/api/v1/nwb/latest/mbtiles/hectometreSigns/"
74
+ },
75
+ "ndw-fcd-segments": {
76
+ "type": "vector",
77
+ "tiles": [
78
+ "https://maps.ndw.nu/api/v1/fcd/latest/mbtiles/segments/tiles/{z}/{x}/{y}.pbf?token=f8b6b695-2cad-44e8-b7e8-a97f9fc1c236"
79
+ ],
80
+ "minzoom": 4,
81
+ "maxzoom": 20
82
+ },
83
+ "ndw-wkd-parking-areas": {
84
+ "type": "vector",
85
+ "url": "https://maps.ndw.nu/api/v1/wkdParkingAreas/latest/mbtiles/segments/"
86
+ }
87
+ },
88
+ "layers": [
89
+ {
90
+ "id": "background",
91
+ "type": "background",
92
+ "metadata": {
93
+ "group": "context-map",
94
+ "type": "context",
95
+ "legend-name": "Achtergrond kleur",
96
+ "desc": "",
97
+ "insert-before": "background"
98
+ },
99
+ "paint": {
100
+ "background-color": "#DDE5EF"
101
+ }
102
+ },
103
+ {
104
+ "id": "pdok-aerial",
105
+ "type": "raster",
106
+ "source": "pdok-aerial",
107
+ "metadata": {
108
+ "group": "context-aerial",
109
+ "type": "context",
110
+ "legend-name": "PDOK luchtfoto Actueel 8cm rgb",
111
+ "desc": "",
112
+ "insert-before": "background"
113
+ },
114
+ "layout": {
115
+ "visibility": "none"
116
+ },
117
+ "paint": {}
118
+ },
119
+ {
120
+ "id": "brt-land-and-sea",
121
+ "type": "fill",
122
+ "source": "pdok-brt",
123
+ "source-layer": "nederland",
124
+ "metadata": {
125
+ "group": "context-map",
126
+ "sub-group": "background-blue",
127
+ "type": "context",
128
+ "legend-name": "BRT: Land & water kleuren",
129
+ "source": "BRT",
130
+ "desc": "",
131
+ "insert-before": "background"
132
+ },
133
+ "layout": {
134
+ "visibility": "visible"
135
+ },
136
+ "paint": {
137
+ "fill-color": [
138
+ "match",
139
+ ["get", "vistext"],
140
+ "land/grens (NL)",
141
+ "#f5f5f5",
142
+ "(zee)water",
143
+ "#DDE5EF",
144
+ "onderlegger Nederland",
145
+ "#f5f5f5",
146
+ "transparent"
147
+ ]
148
+ }
149
+ },
150
+ {
151
+ "id": "brt-urbanized-area",
152
+ "type": "fill",
153
+ "metadata": {
154
+ "group": "context-map",
155
+ "sub-group": "background-grey",
156
+ "type": "context",
157
+ "legend-name": "Bebouwd gebied",
158
+ "desc": "van zoom 6 tot met 12",
159
+ "insert-before": "background"
160
+ },
161
+ "source": "pdok-brt",
162
+ "source-layer": "terreinvlak",
163
+ "filter": ["any", ["==", "vistext", "bebouwd gebied"], ["==", "vistext", "kassengebied"]],
164
+ "paint": {
165
+ "fill-color": [
166
+ "match",
167
+ ["get", "vistext"],
168
+ "bebouwd gebied",
169
+ "#eaeaea",
170
+ "kassengebied",
171
+ "#e5e6ec",
172
+ "transparent"
173
+ ],
174
+ "fill-outline-color": "#dedede",
175
+ "fill-opacity": ["interpolate", ["linear"], ["zoom"], 8, 0.1, 10, 1, 13, 0.8]
176
+ }
177
+ },
178
+ {
179
+ "id": "brt-water-part",
180
+ "type": "fill",
181
+ "metadata": {
182
+ "group": "context-map",
183
+ "sub-group": "background-blue",
184
+ "type": "context",
185
+ "legend-name": "BRT-Waterdeelvlakken",
186
+ "desc": "zee, waterloop, ",
187
+ "insert-before": "background"
188
+ },
189
+ "source": "pdok-brt",
190
+ "source-layer": "waterdeelvlak",
191
+ "maxzoom": 17,
192
+ "layout": {
193
+ "visibility": "visible"
194
+ },
195
+ "paint": {
196
+ "fill-color": [
197
+ "match",
198
+ ["get", "vistext"],
199
+ "zee",
200
+ "#DDE5EF",
201
+ "meer, plas",
202
+ "#DDE5EF",
203
+ "droogvallend",
204
+ "#DDE5EF",
205
+ "waterloop",
206
+ "#DDE5EF",
207
+ "overig",
208
+ "#DDE5EF",
209
+ "water onder brug",
210
+ "#f5f5f5",
211
+ "transparent"
212
+ ]
213
+ }
214
+ },
215
+ {
216
+ "id": "bgt-water-part",
217
+ "type": "fill",
218
+ "source": "pdok-bgt",
219
+ "source-layer": "waterdeel",
220
+ "metadata": {
221
+ "group": "context-map",
222
+ "sub-group": "background-blue",
223
+ "type": "context",
224
+ "legend-name": "BGT Waterdeel vlakken",
225
+ "desc": "zee, waterloop, ",
226
+ "insert-before": "background"
227
+ },
228
+ "filter": ["all", ["==", "relatieve_hoogteligging", 0], ["==", "status", "bestaand"]],
229
+ "paint": {
230
+ "fill-color": "#DDE5EF"
231
+ }
232
+ },
233
+ {
234
+ "id": "brt-green-area",
235
+ "type": "fill",
236
+ "source": "pdok-brt",
237
+ "source-layer": "terreinvlak",
238
+ "metadata": {
239
+ "group": "context-map",
240
+ "sub-group": "background-green",
241
+ "type": "context",
242
+ "legend-name": "BRT terreinvlakken groen",
243
+ "desc": "Bos, bos moeras, riet, ",
244
+ "insert-before": "background"
245
+ },
246
+ "minzoom": 6,
247
+ "maxzoom": 17,
248
+ "filter": [
249
+ "any",
250
+ ["==", "vistext", "bos"],
251
+ ["==", "vistext", "Bos met dras, moeras, riet"],
252
+ ["==", "vistext", "bos: dras, moeras, riet"]
253
+ ],
254
+ "paint": {
255
+ "fill-color": ["interpolate", ["linear"], ["zoom"], 6, "#e3e3dd", 10, "#e3e3dd"],
256
+ "fill-outline-color": "#D3D9D0"
257
+ }
258
+ },
259
+ {
260
+ "id": "brt-yellow-area",
261
+ "type": "fill",
262
+ "source": "pdok-brt",
263
+ "source-layer": "terreinvlak",
264
+ "metadata": {
265
+ "group": "context-map",
266
+ "sub-group": "background-yellow",
267
+ "type": "context",
268
+ "legend-name": "BRT terreinvlakken niet groen",
269
+ "desc": "heide, zand, steen",
270
+ "insert-before": "background"
271
+ },
272
+ "minzoom": 9,
273
+ "maxzoom": 17,
274
+ "filter": [
275
+ "all",
276
+ ["!=", "vistext", "bos"],
277
+ ["!=", "vistext", "Bos met dras, moeras, riet"],
278
+ ["!=", "vistext", "bebouwd gebied"],
279
+ ["!=", "vistext", "kassengebied"],
280
+ ["!=", "vistext", "bos: dras, moeras, riet"],
281
+ ["!=", "vistext", "aanlegsteiger"]
282
+ ],
283
+ "paint": {
284
+ "fill-color": [
285
+ "match",
286
+ ["get", "vistext"],
287
+ "steenglooing",
288
+ "#c0babc",
289
+ "zand",
290
+ "#f5f4f0",
291
+ "Zand met dras, moeras, riet",
292
+ "#f5f4f0",
293
+ "zand: dras, moeras, riet",
294
+ "#f5f4f0",
295
+ "heide",
296
+ "#eae3ee",
297
+ "Heide met dras, moeras, riet",
298
+ "#eae3ee",
299
+ "heide: dras, moeras, riet",
300
+ "#eae3ee",
301
+ "aanlegsteiger",
302
+ "#ffffff",
303
+ "overig",
304
+ "#a3a7aa",
305
+ "grasland: dras, moeras, riet",
306
+ "#f5f4f0",
307
+ "resterend: dras, moeras, riet",
308
+ "#f5f4f0",
309
+ "transparent"
310
+ ]
311
+ }
312
+ },
313
+ {
314
+ "id": "bgt-bridge-section",
315
+ "type": "fill",
316
+ "source": "pdok-bgt",
317
+ "source-layer": "overbruggingsdeel",
318
+ "metadata": {
319
+ "group": "context-map",
320
+ "sub-group": "background-grey",
321
+ "type": "context",
322
+ "legend-name": "BGT overbruggingsdeel",
323
+ "desc": "hoogte 0, status bestaand",
324
+ "insert-before": "background"
325
+ },
326
+ "filter": [
327
+ "all",
328
+ ["<=", "relatieve_hoogteligging", 1],
329
+ ["==", "status", "bestaand"],
330
+ ["!=", "type_overbruggingsdeel_leeg", "waardeOnbekend"]
331
+ ],
332
+ "layout": {
333
+ "fill-sort-key": ["to-number", ["get", "relatieve_hoogteligging"]]
334
+ },
335
+ "paint": {
336
+ "fill-color": [
337
+ "match",
338
+ ["get", "type_overbruggingsdeel"],
339
+ "dek",
340
+ "#f5f5f5",
341
+ "pijler",
342
+ "#eaeaea",
343
+ "landhoofd",
344
+ "#f5f5f5",
345
+ "transparent"
346
+ ],
347
+ "fill-outline-color": "#f5f5f5"
348
+ }
349
+ },
350
+ {
351
+ "id": "bgt-unvegetated-area",
352
+ "type": "fill",
353
+ "source": "pdok-bgt",
354
+ "source-layer": "onbegroeidterreindeel",
355
+ "metadata": {
356
+ "group": "context-map",
357
+ "sub-group": "background-grey",
358
+ "type": "context",
359
+ "legend-name": "BGT onbegroeidterreindeel",
360
+ "desc": "hoogte 0, status bestaand",
361
+ "insert-before": "background"
362
+ },
363
+ "filter": ["all", ["==", "relatieve_hoogteligging", 0], ["==", "status", "bestaand"]],
364
+ "paint": {
365
+ "fill-color": [
366
+ "match",
367
+ ["get", "fysiek_voorkomen"],
368
+ "erf",
369
+ "#fcfcfc",
370
+ "zand",
371
+ "#fcfcfc",
372
+ "onverhard",
373
+ "#e3e3dd",
374
+ "open verharding",
375
+ "#e3e3dd",
376
+ "half verhard",
377
+ "#e3e3dd",
378
+ "gesloten verharding",
379
+ "#fefefe",
380
+ "#fefefe"
381
+ ]
382
+ }
383
+ },
384
+ {
385
+ "id": "bgt-vegetated-area",
386
+ "type": "fill",
387
+ "source": "pdok-bgt",
388
+ "source-layer": "begroeidterreindeel",
389
+ "metadata": {
390
+ "group": "context-map",
391
+ "sub-group": "background-green",
392
+ "type": "context",
393
+ "legend-name": "BGT begroeidterreindeel",
394
+ "desc": "hoogte 0, status bestaand",
395
+ "insert-before": "background"
396
+ },
397
+ "filter": ["all", ["==", "relatieve_hoogteligging", 0], ["==", "status", "bestaand"]],
398
+ "paint": {
399
+ "fill-color": [
400
+ "match",
401
+ ["get", "fysiek_voorkomen"],
402
+ "loofbos",
403
+ "#e3e3dd",
404
+ "gemengd bos",
405
+ "#e3e3dd",
406
+ "naaldbos",
407
+ "#e3e3dd",
408
+ "struiken",
409
+ "#e3e3dd",
410
+ "houtwal",
411
+ "#e3e3dd",
412
+ "duin",
413
+ "#e0d6c5",
414
+ "grasland overig",
415
+ "#f2f2ed",
416
+ "moeras",
417
+ "#eae3d6",
418
+ "rietland",
419
+ "#eae3d6",
420
+ "kwelder",
421
+ "#cad1d5",
422
+ "fruitteelt",
423
+ "#e3e3dd",
424
+ "boomteelt",
425
+ "#e3e3dd",
426
+ "bouwland",
427
+ "#f2f2ed",
428
+ "grasland agrarisch",
429
+ "#f2f2ed",
430
+ "groenvoorziening",
431
+ "#e3e3dd",
432
+ "overig",
433
+ "transparent",
434
+ "heide",
435
+ "#eae3ee",
436
+ "transparent"
437
+ ],
438
+ "fill-outline-color": [
439
+ "match",
440
+ ["get", "fysiek_voorkomen"],
441
+ "loofbos",
442
+ "#e3e3dd",
443
+ "gemengd bos",
444
+ "#e3e3dd",
445
+ "naaldbos",
446
+ "#e3e3dd",
447
+ "struiken",
448
+ "#e3e3dd",
449
+ "houtwal",
450
+ "#c8c8bd",
451
+ "duin",
452
+ "#e0d6c5",
453
+ "grasland overig",
454
+ "#f2f2ed",
455
+ "moeras",
456
+ "#eae3d6",
457
+ "rietland",
458
+ "#eae3d6",
459
+ "kwelder",
460
+ "#cad1d5",
461
+ "fruitteelt",
462
+ "#e3e3dd",
463
+ "boomteelt",
464
+ "#e3e3dd",
465
+ "bouwland",
466
+ "#f2f2ed",
467
+ "grasland agrarisch",
468
+ "#f2f2ed",
469
+ "groenvoorziening",
470
+ "#f2f2ed",
471
+ "heide",
472
+ "#eae3ee",
473
+ "overig",
474
+ "transparent",
475
+ "transparent"
476
+ ]
477
+ }
478
+ },
479
+ {
480
+ "id": "bgt-supporting-road-part",
481
+ "type": "fill",
482
+ "source": "pdok-bgt",
483
+ "source-layer": "ondersteunendwegdeel",
484
+ "metadata": {
485
+ "group": "context-map",
486
+ "sub-group": "background-grey",
487
+ "type": "context",
488
+ "legend-name": "BGT ondersteunendwegdeel",
489
+ "desc": "hoogte 0, status bestaand",
490
+ "insert-before": "background"
491
+ },
492
+ "filter": ["all", ["==", "relatieve_hoogteligging", 0], ["==", "status", "bestaand"]],
493
+ "paint": {
494
+ "fill-color": [
495
+ "match",
496
+ ["get", "functie"],
497
+ "verkeerseiland",
498
+ "#fefefe",
499
+ "berm",
500
+ [
501
+ "match",
502
+ ["get", "fysiek_voorkomen"],
503
+ "groenvoorziening",
504
+ "#f2f2ed",
505
+ "onverhard",
506
+ "#e3e3dd",
507
+ "open verharding",
508
+ "#e3e3dd",
509
+ "half verhard",
510
+ "#e3e3dd",
511
+ "gesloten verharding",
512
+ "#fefefe",
513
+ "transparent"
514
+ ],
515
+ "transparent"
516
+ ],
517
+ "fill-outline-color": [
518
+ "match",
519
+ ["get", "functie"],
520
+ "verkeerseiland",
521
+ "#e3e3dd",
522
+ "berm",
523
+ [
524
+ "match",
525
+ ["get", "fysiek_voorkomen"],
526
+ "groenvoorziening",
527
+ "#f2f2ed",
528
+ "onverhard",
529
+ "#e3e3dd",
530
+ "open verharding",
531
+ "#e3e3dd",
532
+ "half verhard",
533
+ "#e3e3dd",
534
+ "gesloten verharding",
535
+ "#fefefe",
536
+ "transparent"
537
+ ],
538
+ "transparent"
539
+ ]
540
+ }
541
+ },
542
+ {
543
+ "id": "brt-building",
544
+ "type": "fill",
545
+ "metadata": {
546
+ "group": "context-map",
547
+ "sub-group": "background-grey",
548
+ "type": "context",
549
+ "legend-name": "BRT Gebouwvlak tot met 16",
550
+ "desc": "van zoom 13 tot met 16",
551
+ "insert-before": "background"
552
+ },
553
+ "source": "pdok-brt",
554
+ "source-layer": "gebouwvlak",
555
+ "maxzoom": 17,
556
+ "paint": {
557
+ "fill-outline-color": "#dedede",
558
+ "fill-color": ["interpolate", ["linear"], ["zoom"], 13, "#eaeaea", 17, "#eaeaea"],
559
+ "fill-opacity": ["interpolate", ["linear"], ["zoom"], 13, 0.9, 14, 1]
560
+ }
561
+ },
562
+ {
563
+ "id": "bag-designated-site",
564
+ "type": "fill",
565
+ "source": "pdok-bag",
566
+ "source-layer": "standplaats",
567
+ "metadata": {
568
+ "group": "context-map",
569
+ "sub-group": "background-grey",
570
+ "type": "context",
571
+ "legend-name": "BAG standplaats",
572
+ "desc": "",
573
+ "insert-before": "background"
574
+ },
575
+ "filter": ["all", ["==", "status", "Plaats aangewezen"]],
576
+ "paint": {
577
+ "fill-color": "#eaeaea",
578
+ "fill-outline-color": "#dedede"
579
+ }
580
+ },
581
+ {
582
+ "id": "bag-mooring",
583
+ "type": "fill",
584
+ "source": "pdok-bag",
585
+ "source-layer": "ligplaats",
586
+ "metadata": {
587
+ "group": "context-map",
588
+ "sub-group": "background-grey",
589
+ "type": "context",
590
+ "legend-name": "BAG ligplaats",
591
+ "desc": "",
592
+ "insert-before": "background"
593
+ },
594
+ "paint": {
595
+ "fill-color": "#eaeaea",
596
+ "fill-outline-color": "#dedede"
597
+ }
598
+ },
599
+ {
600
+ "id": "bag-buildings",
601
+ "type": "fill",
602
+ "source": "pdok-bag",
603
+ "source-layer": "pand",
604
+ "metadata": {
605
+ "group": "context-map",
606
+ "sub-group": "background-grey",
607
+ "type": "context",
608
+ "legend-name": "BAG gebouw",
609
+ "desc": "",
610
+ "insert-before": "background"
611
+ },
612
+ "filter": [
613
+ "all",
614
+ ["!=", ["get", "status"], "Pand gesloopt"],
615
+ ["!=", ["get", "status"], "Pand buiten gebruik"]
616
+ ],
617
+ "paint": {
618
+ "fill-color": "#eaeaea",
619
+ "fill-outline-color": "#dedede"
620
+ }
621
+ },
622
+ {
623
+ "id": "ndw-nwb-road-sections-bus",
624
+ "type": "line",
625
+ "source": "ndw-nwb-road-sections",
626
+ "source-layer": "roadSections",
627
+ "metadata": {
628
+ "group": "context-roads",
629
+ "sub-group": "ndw-nwb-road-sections",
630
+ "type": "context",
631
+ "legend-name": "Bus baan",
632
+ "desc": "Busbanen niet toegankelijk voor auto's",
633
+ "insert-before": "background"
634
+ },
635
+ "filter": [
636
+ "all",
637
+ ["==", ["get", "carriagewayTypeCode"], "BUS"],
638
+ ["!=", ["get", "functionalRoadClass"], "7"]
639
+ ],
640
+ "layout": {
641
+ "visibility": "visible",
642
+ "line-cap": "butt",
643
+ "line-join": "round",
644
+ "line-sort-key": ["-", 8, ["to-number", ["get", "functionalRoadClass"]]]
645
+ },
646
+ "paint": {
647
+ "line-dasharray": [1, 0.3],
648
+ "line-color": [
649
+ "match",
650
+ ["get", "functionalRoadClass"],
651
+ "0",
652
+ "hsl(43, 93%, 88%)",
653
+ "1",
654
+ "hsl(43, 93%, 88%)",
655
+ "2",
656
+ "hsl(43, 93%, 88%)",
657
+ "3",
658
+ "hsl(44, 42%, 94%)",
659
+ "4",
660
+ ["case", ["==", ["get", "formOfWay"], "2"], "hsl(44, 42%, 94%)", "#ffffff"],
661
+ "5",
662
+ "#ffffff",
663
+ "6",
664
+ "#ffffff",
665
+ "hsl(0, 0%, 100%)"
666
+ ],
667
+ "line-width": [
668
+ "interpolate",
669
+ ["exponential", 1.1],
670
+ ["zoom"],
671
+ 10,
672
+ [
673
+ "match",
674
+ ["get", "functionalRoadClass"],
675
+ "0",
676
+ 2.5,
677
+ "1",
678
+ 2.5,
679
+ "2",
680
+ 2.5,
681
+ "3",
682
+ 1.5,
683
+ "4",
684
+ 1.5,
685
+ "5",
686
+ 1,
687
+ 0
688
+ ],
689
+ 13,
690
+ [
691
+ "match",
692
+ ["get", "functionalRoadClass"],
693
+ "0",
694
+ 7,
695
+ "1",
696
+ 7,
697
+ "2",
698
+ 5.7,
699
+ "3",
700
+ 4.1,
701
+ "4",
702
+ 4.1,
703
+ "5",
704
+ 2.7,
705
+ "6",
706
+ 1.5,
707
+ 0
708
+ ],
709
+ 15,
710
+ [
711
+ "match",
712
+ ["get", "functionalRoadClass"],
713
+ "0",
714
+ 10.4,
715
+ "1",
716
+ 10.4,
717
+ "2",
718
+ 8.4,
719
+ "3",
720
+ 6.4,
721
+ "4",
722
+ 6.4,
723
+ "5",
724
+ 5.4,
725
+ "6",
726
+ 4.4,
727
+ "7",
728
+ 1.5,
729
+ 2
730
+ ],
731
+ 20,
732
+ [
733
+ "match",
734
+ ["get", "functionalRoadClass"],
735
+ "0",
736
+ 24,
737
+ "1",
738
+ 24,
739
+ "2",
740
+ 22,
741
+ "3",
742
+ 20,
743
+ "4",
744
+ 18,
745
+ "5",
746
+ 17,
747
+ "6",
748
+ 15,
749
+ "7",
750
+ 0,
751
+ 4
752
+ ]
753
+ ],
754
+ "line-opacity": [
755
+ "match",
756
+ ["get", "functionalRoadClass"],
757
+ "0",
758
+ 1,
759
+ "1",
760
+ 1,
761
+ "2",
762
+ 1,
763
+ "3",
764
+ 1,
765
+ "4",
766
+ 1,
767
+ "5",
768
+ 1,
769
+ "6",
770
+ 1,
771
+ "7",
772
+ 0,
773
+ 0
774
+ ]
775
+ }
776
+ },
777
+ {
778
+ "id": "ndw-nwb-road-sections-single",
779
+ "type": "line",
780
+ "source": "ndw-nwb-road-sections",
781
+ "source-layer": "roadSections",
782
+ "metadata": {
783
+ "group": "context-roads",
784
+ "sub-group": "ndw-nwb-road-sections",
785
+ "type": "context",
786
+ "legend-name": "Enkele lijnen, fietspad, voetbad, veerroutes",
787
+ "desc": "Functional road class 7, niet toegankelijk voor auto's",
788
+ "insert-before": "background"
789
+ },
790
+ "filter": ["==", ["get", "functionalRoadClass"], "7"],
791
+ "layout": {
792
+ "visibility": "visible",
793
+ "line-cap": "round",
794
+ "line-join": "round"
795
+ },
796
+ "paint": {
797
+ "line-color": [
798
+ "case",
799
+ ["==", ["get", "carriagewayTypeCode"], "FP"],
800
+ "hsl(19, 50%, 90%)",
801
+ ["==", ["slice", ["get", "carriagewayTypeCode"], 0, 2], "VD"],
802
+ "hsl(192, 5%, 82%)",
803
+ ["==", ["slice", ["get", "carriagewayTypeCode"], 0, 2], "VP"],
804
+ "#f3e4d3",
805
+ "#ffffff"
806
+ ],
807
+ "line-width": [
808
+ "interpolate",
809
+ ["exponential", 1.1],
810
+ ["zoom"],
811
+ 10,
812
+ 0,
813
+ 13,
814
+ 1.5,
815
+ 15,
816
+ 3.5,
817
+ 20,
818
+ 10
819
+ ],
820
+ "line-opacity": 1
821
+ }
822
+ },
823
+ {
824
+ "id": "ndw-nwb-road-sections-casing",
825
+ "type": "line",
826
+ "source": "ndw-nwb-road-sections",
827
+ "source-layer": "roadSections",
828
+ "metadata": {
829
+ "group": "context-roads",
830
+ "sub-group": "ndw-nwb-road-sections",
831
+ "type": "context",
832
+ "legend-name": "Wegvakken omlijning",
833
+ "desc": "Wegen toegankelijk voor auto's",
834
+ "insert-before": "background"
835
+ },
836
+ "filter": [
837
+ "all",
838
+ ["!=", ["get", "carriagewayTypeCode"], "BUS"],
839
+ ["!=", ["get", "functionalRoadClass"], "7"]
840
+ ],
841
+ "layout": {
842
+ "visibility": "visible",
843
+ "line-cap": "round",
844
+ "line-join": "round",
845
+ "line-sort-key": ["-", 8, ["to-number", ["get", "functionalRoadClass"]]]
846
+ },
847
+ "paint": {
848
+ "line-color": [
849
+ "match",
850
+ ["get", "functionalRoadClass"],
851
+ "0",
852
+ "#DAAD3A",
853
+ "1",
854
+ "#DAAD3A",
855
+ "2",
856
+ "#DAAD3A",
857
+ "3",
858
+ "#E2C16C",
859
+ "4",
860
+ ["case", ["==", ["get", "formOfWay"], "2"], "#E5CA85", "hsl(192, 5%, 82%)"],
861
+ "5",
862
+ "hsl(192, 5%, 82%)",
863
+ "6",
864
+ "hsl(192, 5%, 82%)",
865
+ "hsl(0, 0%, 100%)"
866
+ ],
867
+ "line-width": [
868
+ "interpolate",
869
+ ["exponential", 1.1],
870
+ ["zoom"],
871
+ 10,
872
+ [
873
+ "match",
874
+ ["get", "functionalRoadClass"],
875
+ "0",
876
+ 3.5,
877
+ "1",
878
+ 3.5,
879
+ "2",
880
+ 3.5,
881
+ "3",
882
+ 2.5,
883
+ "4",
884
+ 2.5,
885
+ "5",
886
+ 0,
887
+ "6",
888
+ 0,
889
+ 0
890
+ ],
891
+ 13,
892
+ [
893
+ "match",
894
+ ["get", "functionalRoadClass"],
895
+ "0",
896
+ 7.5,
897
+ "1",
898
+ 6,
899
+ "2",
900
+ 6,
901
+ "3",
902
+ 6,
903
+ "4",
904
+ 6,
905
+ "5",
906
+ 4.5,
907
+ "6",
908
+ 3.5,
909
+ 0
910
+ ],
911
+ 15,
912
+ [
913
+ "match",
914
+ ["get", "functionalRoadClass"],
915
+ "0",
916
+ 12.5,
917
+ "1",
918
+ 12,
919
+ "2",
920
+ 11,
921
+ "3",
922
+ 9,
923
+ "4",
924
+ 9,
925
+ "5",
926
+ 8,
927
+ "6",
928
+ 5,
929
+ 0
930
+ ],
931
+ 20,
932
+ [
933
+ "match",
934
+ ["get", "functionalRoadClass"],
935
+ "0",
936
+ 27,
937
+ "1",
938
+ 27,
939
+ "2",
940
+ 25,
941
+ "3",
942
+ 23,
943
+ "4",
944
+ 23,
945
+ "5",
946
+ 22,
947
+ "6",
948
+ 20,
949
+ 0
950
+ ]
951
+ ],
952
+ "line-opacity": 1
953
+ }
954
+ },
955
+ {
956
+ "id": "ndw-nwb-road-sections-fill",
957
+ "type": "line",
958
+ "source": "ndw-nwb-road-sections",
959
+ "source-layer": "roadSections",
960
+ "metadata": {
961
+ "group": "context-roads",
962
+ "sub-group": "ndw-nwb-road-sections",
963
+ "type": "context",
964
+ "legend-name": "Wegvakken vulling",
965
+ "desc": "Wegen toegankelijk voor auto's",
966
+ "insert-before": "background"
967
+ },
968
+ "filter": [
969
+ "all",
970
+ ["!=", ["get", "carriagewayTypeCode"], "BUS"],
971
+ ["!=", ["get", "functionalRoadClass"], "7"]
972
+ ],
973
+ "layout": {
974
+ "visibility": "visible",
975
+ "line-cap": "round",
976
+ "line-join": "round",
977
+ "line-sort-key": ["-", 8, ["to-number", ["get", "functionalRoadClass"]]]
978
+ },
979
+ "paint": {
980
+ "line-color": [
981
+ "case",
982
+ ["==", ["slice", ["get", "carriagewayTypeCode"], 0, 2], "VZ"],
983
+ "#F6EADC",
984
+ [
985
+ "match",
986
+ ["get", "functionalRoadClass"],
987
+ "0",
988
+ "hsl(43, 93%, 88%)",
989
+ "1",
990
+ "hsl(43, 93%, 88%)",
991
+ "2",
992
+ "hsl(43, 93%, 88%)",
993
+ "3",
994
+ "hsl(44, 42%, 94%)",
995
+ "4",
996
+ ["case", ["==", ["get", "formOfWay"], "2"], "hsl(44, 42%, 94%)", "#ffffff"],
997
+ "5",
998
+ "#ffffff",
999
+ "6",
1000
+ "#ffffff",
1001
+ "hsl(0, 0%, 100%)"
1002
+ ]
1003
+ ],
1004
+ "line-width": [
1005
+ "interpolate",
1006
+ ["exponential", 1.1],
1007
+ ["zoom"],
1008
+ 10,
1009
+ [
1010
+ "match",
1011
+ ["get", "functionalRoadClass"],
1012
+ "0",
1013
+ 2.5,
1014
+ "1",
1015
+ 2.5,
1016
+ "2",
1017
+ 2.5,
1018
+ "3",
1019
+ 1.5,
1020
+ "4",
1021
+ 1.5,
1022
+ "5",
1023
+ 1,
1024
+ 0
1025
+ ],
1026
+ 13,
1027
+ [
1028
+ "match",
1029
+ ["get", "functionalRoadClass"],
1030
+ "0",
1031
+ 6,
1032
+ "1",
1033
+ 4,
1034
+ "2",
1035
+ 4,
1036
+ "3",
1037
+ 4.1,
1038
+ "4",
1039
+ 4.1,
1040
+ "5",
1041
+ 2.7,
1042
+ "6",
1043
+ 1.5,
1044
+ 0
1045
+ ],
1046
+ 15,
1047
+ [
1048
+ "match",
1049
+ ["get", "functionalRoadClass"],
1050
+ "0",
1051
+ 10,
1052
+ "1",
1053
+ 9.5,
1054
+ "2",
1055
+ 8.4,
1056
+ "3",
1057
+ 6.4,
1058
+ "4",
1059
+ 6.4,
1060
+ "5",
1061
+ 5.4,
1062
+ "6",
1063
+ 4,
1064
+ 0
1065
+ ],
1066
+ 20,
1067
+ [
1068
+ "match",
1069
+ ["get", "functionalRoadClass"],
1070
+ "0",
1071
+ 24,
1072
+ "1",
1073
+ 24,
1074
+ "2",
1075
+ 22,
1076
+ "3",
1077
+ 20,
1078
+ "4",
1079
+ 18,
1080
+ "5",
1081
+ 17,
1082
+ "6",
1083
+ 15,
1084
+ 0
1085
+ ]
1086
+ ],
1087
+ "line-opacity": 1
1088
+ }
1089
+ },
1090
+ {
1091
+ "id": "ndw-nwb-road-sections-casing-rel",
1092
+ "type": "line",
1093
+ "source": "ndw-nwb-road-sections",
1094
+ "source-layer": "roadSections",
1095
+ "metadata": {
1096
+ "group": "relevant-roads",
1097
+ "sub-group": "ndw-nwb-road-sections",
1098
+ "type": "relevant",
1099
+ "legend-name": "Wegvakken omlijning",
1100
+ "desc": "Wegen toegankelijk voor auto's",
1101
+ "insert-before": "background"
1102
+ },
1103
+ "filter": [
1104
+ "all",
1105
+ ["!=", ["get", "carriagewayTypeCode"], "BUS"],
1106
+ ["!=", ["get", "functionalRoadClass"], "7"]
1107
+ ],
1108
+ "layout": {
1109
+ "visibility": "none",
1110
+ "line-cap": "round",
1111
+ "line-join": "round",
1112
+ "line-sort-key": ["-", 8, ["to-number", ["get", "functionalRoadClass"]]]
1113
+ },
1114
+ "paint": {
1115
+ "line-color": [
1116
+ "match",
1117
+ ["get", "functionalRoadClass"],
1118
+ "0",
1119
+ "#dd5208",
1120
+ "1",
1121
+ "#dd5208",
1122
+ "2",
1123
+ "#dd5208",
1124
+ "3",
1125
+ "#DC7019",
1126
+ "4",
1127
+ ["case", ["==", ["get", "formOfWay"], "2"], "#DB9E32", "#DB9E32"],
1128
+ "5",
1129
+ "#E3C474",
1130
+ "6",
1131
+ "hsl(192, 5%, 72%)",
1132
+ "hsl(0, 0%, 100%)"
1133
+ ],
1134
+ "line-width": [
1135
+ "interpolate",
1136
+ ["exponential", 1.1],
1137
+ ["zoom"],
1138
+ 10,
1139
+ [
1140
+ "match",
1141
+ ["get", "functionalRoadClass"],
1142
+ "0",
1143
+ 3.5,
1144
+ "1",
1145
+ 3.5,
1146
+ "2",
1147
+ 3.5,
1148
+ "3",
1149
+ 2.5,
1150
+ "4",
1151
+ 2.5,
1152
+ "5",
1153
+ 0,
1154
+ "6",
1155
+ 0,
1156
+ 0
1157
+ ],
1158
+ 13,
1159
+ [
1160
+ "match",
1161
+ ["get", "functionalRoadClass"],
1162
+ "0",
1163
+ 7.5,
1164
+ "1",
1165
+ 6,
1166
+ "2",
1167
+ 6,
1168
+ "3",
1169
+ 6,
1170
+ "4",
1171
+ 6,
1172
+ "5",
1173
+ 4.5,
1174
+ "6",
1175
+ 3.5,
1176
+ 0
1177
+ ],
1178
+ 15,
1179
+ [
1180
+ "match",
1181
+ ["get", "functionalRoadClass"],
1182
+ "0",
1183
+ 12.5,
1184
+ "1",
1185
+ 12,
1186
+ "2",
1187
+ 11,
1188
+ "3",
1189
+ 9,
1190
+ "4",
1191
+ 9,
1192
+ "5",
1193
+ 8,
1194
+ "6",
1195
+ 5,
1196
+ 0
1197
+ ],
1198
+ 20,
1199
+ [
1200
+ "match",
1201
+ ["get", "functionalRoadClass"],
1202
+ "0",
1203
+ 27,
1204
+ "1",
1205
+ 27,
1206
+ "2",
1207
+ 25,
1208
+ "3",
1209
+ 23,
1210
+ "4",
1211
+ 23,
1212
+ "5",
1213
+ 22,
1214
+ "6",
1215
+ 20,
1216
+ 0
1217
+ ]
1218
+ ],
1219
+ "line-opacity": 1
1220
+ }
1221
+ },
1222
+ {
1223
+ "id": "ndw-nwb-road-sections-fill-rel",
1224
+ "type": "line",
1225
+ "source": "ndw-nwb-road-sections",
1226
+ "source-layer": "roadSections",
1227
+ "metadata": {
1228
+ "group": "relevant-roads",
1229
+ "sub-group": "ndw-nwb-road-sections",
1230
+ "type": "relevant",
1231
+ "legend-name": "Wegvakken vulling",
1232
+ "desc": "Wegen toegankelijk voor auto's",
1233
+ "insert-before": "background"
1234
+ },
1235
+ "filter": [
1236
+ "all",
1237
+ ["!=", ["get", "carriagewayTypeCode"], "BUS"],
1238
+ ["!=", ["get", "functionalRoadClass"], "7"]
1239
+ ],
1240
+ "layout": {
1241
+ "visibility": "none",
1242
+ "line-cap": "round",
1243
+ "line-join": "round",
1244
+ "line-sort-key": ["-", 8, ["to-number", ["get", "functionalRoadClass"]]]
1245
+ },
1246
+ "paint": {
1247
+ "line-color": [
1248
+ "case",
1249
+ ["==", ["slice", ["get", "carriagewayTypeCode"], 0, 2], "VZ"],
1250
+ "#F6EADC",
1251
+ [
1252
+ "match",
1253
+ ["get", "functionalRoadClass"],
1254
+ "0",
1255
+ "#DB9E32",
1256
+ "1",
1257
+ "#DB9E32",
1258
+ "2",
1259
+ "#DB9E32",
1260
+ "3",
1261
+ "#E3C474",
1262
+ "4",
1263
+ ["case", ["==", ["get", "formOfWay"], "2"], "#E3C474", "#EDDBAF"],
1264
+ "5",
1265
+ "#EDDBAF",
1266
+ "6",
1267
+ "#ffffff",
1268
+ "hsl(0, 0%, 100%)"
1269
+ ]
1270
+ ],
1271
+ "line-width": [
1272
+ "interpolate",
1273
+ ["exponential", 1.1],
1274
+ ["zoom"],
1275
+ 10,
1276
+ [
1277
+ "match",
1278
+ ["get", "functionalRoadClass"],
1279
+ "0",
1280
+ 2.5,
1281
+ "1",
1282
+ 2.5,
1283
+ "2",
1284
+ 2.5,
1285
+ "3",
1286
+ 1.5,
1287
+ "4",
1288
+ 1.5,
1289
+ "5",
1290
+ 1,
1291
+ 0
1292
+ ],
1293
+ 13,
1294
+ [
1295
+ "match",
1296
+ ["get", "functionalRoadClass"],
1297
+ "0",
1298
+ 6,
1299
+ "1",
1300
+ 4,
1301
+ "2",
1302
+ 4,
1303
+ "3",
1304
+ 4.1,
1305
+ "4",
1306
+ 4.1,
1307
+ "5",
1308
+ 2.7,
1309
+ "6",
1310
+ 1.5,
1311
+ 0
1312
+ ],
1313
+ 15,
1314
+ [
1315
+ "match",
1316
+ ["get", "functionalRoadClass"],
1317
+ "0",
1318
+ 10,
1319
+ "1",
1320
+ 9.5,
1321
+ "2",
1322
+ 8.4,
1323
+ "3",
1324
+ 6.4,
1325
+ "4",
1326
+ 6.4,
1327
+ "5",
1328
+ 5.4,
1329
+ "6",
1330
+ 4,
1331
+ 0
1332
+ ],
1333
+ 20,
1334
+ [
1335
+ "match",
1336
+ ["get", "functionalRoadClass"],
1337
+ "0",
1338
+ 24,
1339
+ "1",
1340
+ 24,
1341
+ "2",
1342
+ 22,
1343
+ "3",
1344
+ 20,
1345
+ "4",
1346
+ 18,
1347
+ "5",
1348
+ 17,
1349
+ "6",
1350
+ 15,
1351
+ 0
1352
+ ]
1353
+ ],
1354
+ "line-opacity": 1
1355
+ }
1356
+ },
1357
+ {
1358
+ "id": "ndw-nwb-road-sections-bus-rel",
1359
+ "type": "line",
1360
+ "source": "ndw-nwb-road-sections",
1361
+ "source-layer": "roadSections",
1362
+ "metadata": {
1363
+ "group": "relevant-roads",
1364
+ "sub-group": "ndw-nwb-road-sections",
1365
+ "type": "relevant",
1366
+ "legend-name": "Bus baan",
1367
+ "desc": "Busbanen niet toegankelijk voor auto's",
1368
+ "insert-before": "background"
1369
+ },
1370
+ "filter": [
1371
+ "all",
1372
+ ["==", ["get", "carriagewayTypeCode"], "BUS"],
1373
+ ["!=", ["get", "functionalRoadClass"], "7"]
1374
+ ],
1375
+ "layout": {
1376
+ "visibility": "none",
1377
+ "line-cap": "butt",
1378
+ "line-join": "round",
1379
+ "line-sort-key": ["-", 8, ["to-number", ["get", "functionalRoadClass"]]]
1380
+ },
1381
+ "paint": {
1382
+ "line-dasharray": [1, 0.3],
1383
+ "line-color": [
1384
+ "match",
1385
+ ["get", "functionalRoadClass"],
1386
+ "0",
1387
+ "#DB9E32",
1388
+ "1",
1389
+ "#DB9E32",
1390
+ "2",
1391
+ "#DB9E32",
1392
+ "3",
1393
+ "#E3C474",
1394
+ "4",
1395
+ ["case", ["==", ["get", "formOfWay"], "2"], "#E3C474", "#EDDBAF"],
1396
+ "5",
1397
+ "#EDDBAF",
1398
+ "6",
1399
+ "#ffffff",
1400
+ "hsl(0, 0%, 100%)"
1401
+ ],
1402
+ "line-width": [
1403
+ "interpolate",
1404
+ ["exponential", 1.1],
1405
+ ["zoom"],
1406
+ 10,
1407
+ [
1408
+ "match",
1409
+ ["get", "functionalRoadClass"],
1410
+ "0",
1411
+ 2.5,
1412
+ "1",
1413
+ 2.5,
1414
+ "2",
1415
+ 2.5,
1416
+ "3",
1417
+ 1.5,
1418
+ "4",
1419
+ 1.5,
1420
+ "5",
1421
+ 1,
1422
+ 0
1423
+ ],
1424
+ 13,
1425
+ [
1426
+ "match",
1427
+ ["get", "functionalRoadClass"],
1428
+ "0",
1429
+ 7,
1430
+ "1",
1431
+ 7,
1432
+ "2",
1433
+ 5.7,
1434
+ "3",
1435
+ 4.1,
1436
+ "4",
1437
+ 4.1,
1438
+ "5",
1439
+ 2.7,
1440
+ "6",
1441
+ 1.5,
1442
+ 0
1443
+ ],
1444
+ 15,
1445
+ [
1446
+ "match",
1447
+ ["get", "functionalRoadClass"],
1448
+ "0",
1449
+ 10.4,
1450
+ "1",
1451
+ 10.4,
1452
+ "2",
1453
+ 8.4,
1454
+ "3",
1455
+ 6.4,
1456
+ "4",
1457
+ 6.4,
1458
+ "5",
1459
+ 5.4,
1460
+ "6",
1461
+ 4.4,
1462
+ "7",
1463
+ 1.5,
1464
+ 2
1465
+ ],
1466
+ 20,
1467
+ [
1468
+ "match",
1469
+ ["get", "functionalRoadClass"],
1470
+ "0",
1471
+ 24,
1472
+ "1",
1473
+ 24,
1474
+ "2",
1475
+ 22,
1476
+ "3",
1477
+ 20,
1478
+ "4",
1479
+ 18,
1480
+ "5",
1481
+ 17,
1482
+ "6",
1483
+ 15,
1484
+ "7",
1485
+ 0,
1486
+ 4
1487
+ ]
1488
+ ],
1489
+ "line-opacity": [
1490
+ "match",
1491
+ ["get", "functionalRoadClass"],
1492
+ "0",
1493
+ 1,
1494
+ "1",
1495
+ 1,
1496
+ "2",
1497
+ 1,
1498
+ "3",
1499
+ 1,
1500
+ "4",
1501
+ 1,
1502
+ "5",
1503
+ 1,
1504
+ "6",
1505
+ 1,
1506
+ "7",
1507
+ 0,
1508
+ 0
1509
+ ]
1510
+ }
1511
+ },
1512
+ {
1513
+ "id": "ndw-nwb-road-sections-single-rel",
1514
+ "type": "line",
1515
+ "source": "ndw-nwb-road-sections",
1516
+ "source-layer": "roadSections",
1517
+ "metadata": {
1518
+ "group": "relevant-roads",
1519
+ "sub-group": "ndw-nwb-road-sections",
1520
+ "type": "relevant",
1521
+ "legend-name": "Enkele lijnen, fietspad, voetbad, veerroutes",
1522
+ "desc": "Functional road class 7, niet toegankelijk voor auto's",
1523
+ "insert-before": "background"
1524
+ },
1525
+ "filter": ["==", ["get", "functionalRoadClass"], "7"],
1526
+ "layout": {
1527
+ "visibility": "none",
1528
+ "line-cap": "round",
1529
+ "line-join": "round"
1530
+ },
1531
+ "paint": {
1532
+ "line-color": [
1533
+ "case",
1534
+ ["==", ["get", "carriagewayTypeCode"], "FP"],
1535
+ "hsl(19,80%, 80%)",
1536
+ ["==", ["slice", ["get", "carriagewayTypeCode"], 0, 2], "VD"],
1537
+ "hsl(192, 5%, 72%)",
1538
+ ["==", ["slice", ["get", "carriagewayTypeCode"], 0, 2], "VP"],
1539
+ "#f3e4d3",
1540
+ "#ffffff"
1541
+ ],
1542
+ "line-width": [
1543
+ "interpolate",
1544
+ ["exponential", 1.1],
1545
+ ["zoom"],
1546
+ 10,
1547
+ 0,
1548
+ 13,
1549
+ 0.5,
1550
+ 15,
1551
+ 3.5,
1552
+ 20,
1553
+ 10
1554
+ ],
1555
+ "line-opacity": 1
1556
+ }
1557
+ },
1558
+ {
1559
+ "id": "fcd-segments-casing",
1560
+ "type": "line",
1561
+ "source": "ndw-fcd-segments",
1562
+ "source-layer": "segments",
1563
+ "metadata": {
1564
+ "group": "context-roads",
1565
+ "sub-group": "fcd-segments",
1566
+ "type": "context",
1567
+ "legend-name": "Segmenten omlijning",
1568
+ "desc": ""
1569
+ },
1570
+ "layout": {
1571
+ "visibility": "none",
1572
+ "line-cap": "round",
1573
+ "line-join": "round",
1574
+ "line-sort-key": ["-", 8, ["get", "roadClass"]]
1575
+ },
1576
+ "paint": {
1577
+ "line-color": [
1578
+ "match",
1579
+ ["get", "roadClass"],
1580
+ 0,
1581
+ "#DAAD3A",
1582
+ 1,
1583
+ "#DAAD3A",
1584
+ 2,
1585
+ "#DAAD3A",
1586
+ 3,
1587
+ "#E2C16C",
1588
+ 4,
1589
+ "hsl(192, 5%, 82%)",
1590
+ 5,
1591
+ "hsl(192, 5%, 82%)",
1592
+ 6,
1593
+ "hsl(192, 5%, 82%)",
1594
+ "hsl(0, 0%, 100%)"
1595
+ ],
1596
+ "line-width": [
1597
+ "interpolate",
1598
+ ["exponential", 1.1],
1599
+ ["zoom"],
1600
+ 10,
1601
+ [
1602
+ "match",
1603
+ ["get", "roadClass"],
1604
+ 0,
1605
+ 3.5,
1606
+ 1,
1607
+ 3.5,
1608
+ 2,
1609
+ 3.5,
1610
+ 3,
1611
+ 2.5,
1612
+ 4,
1613
+ 2.5,
1614
+ 5,
1615
+ 0.6,
1616
+ 6,
1617
+ 0,
1618
+ 7,
1619
+ 0,
1620
+ 0
1621
+ ],
1622
+ 13,
1623
+ [
1624
+ "match",
1625
+ ["get", "roadClass"],
1626
+ 0,
1627
+ 8.5,
1628
+ 1,
1629
+ 8.5,
1630
+ 2,
1631
+ 7.5,
1632
+ 3,
1633
+ 6,
1634
+ 4,
1635
+ 6,
1636
+ 5,
1637
+ 4.5,
1638
+ 6,
1639
+ 3.5,
1640
+ 7,
1641
+ 1.5,
1642
+ 1.5
1643
+ ],
1644
+ 15,
1645
+ ["match", ["get", "roadClass"], 0, 13, 1, 13, 2, 11, 3, 9, 4, 9, 5, 8, 6, 5, 7, 4, 2],
1646
+ 20,
1647
+ [
1648
+ "match",
1649
+ ["get", "roadClass"],
1650
+ 0,
1651
+ 27,
1652
+ 1,
1653
+ 27,
1654
+ 2,
1655
+ 25,
1656
+ 3,
1657
+ 23,
1658
+ 4,
1659
+ 23,
1660
+ 5,
1661
+ 22,
1662
+ 6,
1663
+ 20,
1664
+ 7,
1665
+ 12,
1666
+ 10
1667
+ ]
1668
+ ],
1669
+ "line-opacity": [
1670
+ "match",
1671
+ ["get", "roadClass"],
1672
+ 0,
1673
+ 1,
1674
+ 1,
1675
+ 1,
1676
+ 2,
1677
+ 1,
1678
+ 3,
1679
+ 1,
1680
+ 4,
1681
+ 1,
1682
+ 5,
1683
+ 1,
1684
+ 6,
1685
+ 1,
1686
+ 7,
1687
+ 1,
1688
+ 0
1689
+ ]
1690
+ }
1691
+ },
1692
+ {
1693
+ "id": "fcd-segments-fill",
1694
+ "type": "line",
1695
+ "source": "ndw-fcd-segments",
1696
+ "source-layer": "segments",
1697
+ "metadata": {
1698
+ "group": "context-roads",
1699
+ "sub-group": "fcd-segments",
1700
+ "type": "context",
1701
+ "legend-name": "Segmenten vulling",
1702
+ "desc": ""
1703
+ },
1704
+ "layout": {
1705
+ "visibility": "none",
1706
+ "line-cap": "round",
1707
+ "line-join": "round",
1708
+ "line-sort-key": ["-", 8, ["get", "roadClass"]]
1709
+ },
1710
+ "paint": {
1711
+ "line-color": [
1712
+ "match",
1713
+ ["get", "roadClass"],
1714
+ 0,
1715
+ "hsl(43, 93%, 88%)",
1716
+ 1,
1717
+ "hsl(43, 93%, 88%)",
1718
+ 2,
1719
+ "hsl(43, 93%, 88%)",
1720
+ 3,
1721
+ "hsl(44, 42%, 94%)",
1722
+ 4,
1723
+ "hsl(44, 42%, 94%)",
1724
+ 5,
1725
+ "#ffffff",
1726
+ 6,
1727
+ "#ffffff",
1728
+ "hsl(0, 0%, 100%)"
1729
+ ],
1730
+ "line-width": [
1731
+ "interpolate",
1732
+ ["exponential", 1.1],
1733
+ ["zoom"],
1734
+ 10,
1735
+ ["match", ["get", "roadClass"], 0, 2.5, 1, 2.5, 2, 2.5, 3, 1.5, 4, 1.5, 5, 1, 0],
1736
+ 13,
1737
+ ["match", ["get", "roadClass"], 0, 7, 1, 7, 2, 5.7, 3, 4.1, 4, 4.1, 5, 2.7, 6, 1.5, 0],
1738
+ 15,
1739
+ [
1740
+ "match",
1741
+ ["get", "roadClass"],
1742
+ 0,
1743
+ 10.4,
1744
+ 1,
1745
+ 10.4,
1746
+ 2,
1747
+ 8.4,
1748
+ 3,
1749
+ 6.4,
1750
+ 4,
1751
+ 6.4,
1752
+ 5,
1753
+ 5.4,
1754
+ 6,
1755
+ 4.4,
1756
+ 7,
1757
+ 1.5,
1758
+ 2
1759
+ ],
1760
+ 20,
1761
+ ["match", ["get", "roadClass"], 0, 24, 1, 24, 2, 22, 3, 20, 4, 18, 5, 17, 6, 15, 7, 0, 4]
1762
+ ],
1763
+ "line-opacity": [
1764
+ "match",
1765
+ ["get", "roadClass"],
1766
+ 0,
1767
+ 1,
1768
+ 1,
1769
+ 1,
1770
+ 2,
1771
+ 1,
1772
+ 3,
1773
+ 1,
1774
+ 4,
1775
+ 1,
1776
+ 5,
1777
+ 1,
1778
+ 6,
1779
+ 1,
1780
+ 7,
1781
+ 0,
1782
+ 0
1783
+ ]
1784
+ }
1785
+ },
1786
+ {
1787
+ "id": "fcd-segments-casing-rel",
1788
+ "type": "line",
1789
+ "source": "ndw-fcd-segments",
1790
+ "source-layer": "segments",
1791
+ "metadata": {
1792
+ "group": "relevant-roads",
1793
+ "sub-group": "fcd-segments",
1794
+ "type": "relevant",
1795
+ "legend-name": "Segmenten omlijning",
1796
+ "desc": ""
1797
+ },
1798
+ "layout": {
1799
+ "visibility": "none",
1800
+ "line-cap": "round",
1801
+ "line-join": "round",
1802
+ "line-sort-key": ["-", 8, ["get", "roadClass"]]
1803
+ },
1804
+ "paint": {
1805
+ "line-color": [
1806
+ "match",
1807
+ ["get", "roadClass"],
1808
+ 0,
1809
+ "#dd5208",
1810
+ 1,
1811
+ "#dd5208",
1812
+ 2,
1813
+ "#dd5208",
1814
+ 3,
1815
+ "#DC7019",
1816
+ 4,
1817
+ ["case", ["==", ["get", "formOfWay"], 2], "#DB9E32", "#DB9E32"],
1818
+ 5,
1819
+ "#E3C474",
1820
+ 6,
1821
+ "hsl(192, 5%, 72%)",
1822
+ 7,
1823
+ [
1824
+ "case",
1825
+ ["==", ["get", "carriagewayTypeCode"], "FP"],
1826
+ "hsl(19,80%, 80%)",
1827
+ ["==", ["slice", ["get", "carriagewayTypeCode"], 0, 2], "VD"],
1828
+ "hsl(192, 5%, 72%)",
1829
+ "hsl(0, 0%, 100%)"
1830
+ ],
1831
+ "hsl(0, 0%, 100%)"
1832
+ ],
1833
+ "line-width": [
1834
+ "interpolate",
1835
+ ["exponential", 1.1],
1836
+ ["zoom"],
1837
+ 10,
1838
+ [
1839
+ "match",
1840
+ ["get", "roadClass"],
1841
+ 0,
1842
+ 3.5,
1843
+ 1,
1844
+ 3.5,
1845
+ 2,
1846
+ 3.5,
1847
+ 3,
1848
+ 2.5,
1849
+ 4,
1850
+ 2.5,
1851
+ 5,
1852
+ 0.6,
1853
+ 6,
1854
+ 0,
1855
+ 7,
1856
+ 0,
1857
+ 0
1858
+ ],
1859
+ 13,
1860
+ [
1861
+ "match",
1862
+ ["get", "roadClass"],
1863
+ 0,
1864
+ 8.5,
1865
+ 1,
1866
+ 8.5,
1867
+ 2,
1868
+ 7.5,
1869
+ 3,
1870
+ 6,
1871
+ 4,
1872
+ 6,
1873
+ 5,
1874
+ 4.5,
1875
+ 6,
1876
+ 3.5,
1877
+ 7,
1878
+ 1.5,
1879
+ 1.5
1880
+ ],
1881
+ 15,
1882
+ ["match", ["get", "roadClass"], 0, 13, 1, 13, 2, 11, 3, 9, 4, 9, 5, 8, 6, 4, 7, 3, 2],
1883
+ 20,
1884
+ [
1885
+ "match",
1886
+ ["get", "roadClass"],
1887
+ 0,
1888
+ 27,
1889
+ 1,
1890
+ 27,
1891
+ 2,
1892
+ 25,
1893
+ 3,
1894
+ 23,
1895
+ 4,
1896
+ 23,
1897
+ 5,
1898
+ 20,
1899
+ 6,
1900
+ 18,
1901
+ 7,
1902
+ 10,
1903
+ 10
1904
+ ]
1905
+ ],
1906
+ "line-opacity": [
1907
+ "match",
1908
+ ["get", "roadClass"],
1909
+ 0,
1910
+ 1,
1911
+ 1,
1912
+ 1,
1913
+ 2,
1914
+ 1,
1915
+ 3,
1916
+ 1,
1917
+ 4,
1918
+ 1,
1919
+ 5,
1920
+ 1,
1921
+ 6,
1922
+ 1,
1923
+ 7,
1924
+ 1,
1925
+ 0
1926
+ ]
1927
+ }
1928
+ },
1929
+ {
1930
+ "id": "fcd-segments-fill-rel",
1931
+ "type": "line",
1932
+ "source": "ndw-fcd-segments",
1933
+ "source-layer": "segments",
1934
+ "metadata": {
1935
+ "group": "relevant-roads",
1936
+ "sub-group": "fcd-segments",
1937
+ "type": "relevant",
1938
+ "legend-name": "Segmenten vulling",
1939
+ "desc": ""
1940
+ },
1941
+ "layout": {
1942
+ "visibility": "none",
1943
+ "line-cap": "round",
1944
+ "line-join": "round",
1945
+ "line-sort-key": ["-", 8, ["get", "roadClass"]]
1946
+ },
1947
+ "paint": {
1948
+ "line-color": [
1949
+ "match",
1950
+ ["get", "roadClass"],
1951
+ 0,
1952
+ "#DB9E32",
1953
+ 1,
1954
+ "#DB9E32",
1955
+ 2,
1956
+ "#DB9E32",
1957
+ 3,
1958
+ "#E3C474",
1959
+ 4,
1960
+ ["case", ["==", ["get", "formOfWay"], 2], "#E3C474", "#EDDBAF"],
1961
+ 5,
1962
+ "#EDDBAF",
1963
+ 6,
1964
+ "#ffffff",
1965
+ "hsl(0, 0%, 100%)"
1966
+ ],
1967
+ "line-width": [
1968
+ "interpolate",
1969
+ ["exponential", 1.1],
1970
+ ["zoom"],
1971
+ 10,
1972
+ ["match", ["get", "roadClass"], 0, 2.5, 1, 2.5, 2, 2.5, 3, 1.5, 4, 1.5, 5, 1, 0],
1973
+ 13,
1974
+ ["match", ["get", "roadClass"], 0, 7, 1, 7, 2, 5.7, 3, 4.1, 4, 4.1, 5, 2.7, 6, 1.5, 0],
1975
+ 15,
1976
+ [
1977
+ "match",
1978
+ ["get", "roadClass"],
1979
+ 0,
1980
+ 10.4,
1981
+ 1,
1982
+ 10.4,
1983
+ 2,
1984
+ 8.4,
1985
+ 3,
1986
+ 6.4,
1987
+ 4,
1988
+ 6.4,
1989
+ 5,
1990
+ 5.4,
1991
+ 6,
1992
+ 3.4,
1993
+ 7,
1994
+ 1.5,
1995
+ 2
1996
+ ],
1997
+ 20,
1998
+ ["match", ["get", "roadClass"], 0, 24, 1, 24, 2, 22, 3, 20, 4, 18, 5, 16, 6, 14, 7, 0, 4]
1999
+ ],
2000
+ "line-opacity": [
2001
+ "match",
2002
+ ["get", "roadClass"],
2003
+ 0,
2004
+ 1,
2005
+ 1,
2006
+ 1,
2007
+ 2,
2008
+ 1,
2009
+ 3,
2010
+ 1,
2011
+ 4,
2012
+ 1,
2013
+ 5,
2014
+ 1,
2015
+ 6,
2016
+ 1,
2017
+ 7,
2018
+ 0,
2019
+ 0
2020
+ ]
2021
+ }
2022
+ },
2023
+ {
2024
+ "id": "wkd-parking-areas",
2025
+ "type": "line",
2026
+ "source": "ndw-wkd-parking-areas",
2027
+ "source-layer": "segments",
2028
+ "metadata": {
2029
+ "group": "context-roads",
2030
+ "sub-group": "wkd-parking-areas",
2031
+ "type": "context",
2032
+ "legend-name": "Parking areas",
2033
+ "desc": "Parkeer vlakken naast de weg",
2034
+ "insert-before": "background"
2035
+ },
2036
+ "filter": [">", "surface", 0],
2037
+ "minzoom": 12.5,
2038
+ "layout": {
2039
+ "visibility": "none",
2040
+ "line-cap": "butt",
2041
+ "line-join": "round"
2042
+ },
2043
+ "paint": {
2044
+ "line-offset": [
2045
+ "interpolate",
2046
+ ["linear"],
2047
+ ["zoom"],
2048
+ 12,
2049
+ [
2050
+ "*",
2051
+ ["-", 8, ["to-number", ["get", "functionalRoadClass"]]],
2052
+ ["case", ["==", ["get", "sideOfRoad"], "left"], -0.6, 0.6]
2053
+ ],
2054
+ 20,
2055
+ [
2056
+ "*",
2057
+ ["-", 8, ["to-number", ["get", "functionalRoadClass"]]],
2058
+ ["case", ["==", ["get", "sideOfRoad"], "left"], -5.5, 5.5]
2059
+ ]
2060
+ ],
2061
+ "line-color": "hsl(192, 5%, 82%)",
2062
+ "line-opacity": 1,
2063
+ "line-width": ["interpolate", ["linear"], ["zoom"], 12, 1.5, 20, 7.5]
2064
+ }
2065
+ },
2066
+ {
2067
+ "id": "wkd-parking-areas-rel",
2068
+ "type": "line",
2069
+ "source": "ndw-wkd-parking-areas",
2070
+ "source-layer": "segments",
2071
+ "metadata": {
2072
+ "group": "relevant-roads",
2073
+ "sub-group": "wkd-parking-areas",
2074
+ "type": "relevant",
2075
+ "legend-name": "Parking areas",
2076
+ "desc": "",
2077
+ "insert-before": "background"
2078
+ },
2079
+ "filter": [">", "surface", 0],
2080
+ "minzoom": 12.5,
2081
+ "layout": {
2082
+ "visibility": "none",
2083
+ "line-cap": "butt",
2084
+ "line-join": "round"
2085
+ },
2086
+ "paint": {
2087
+ "line-offset": [
2088
+ "interpolate",
2089
+ ["linear"],
2090
+ ["zoom"],
2091
+ 12,
2092
+ [
2093
+ "*",
2094
+ ["-", 8, ["to-number", ["get", "functionalRoadClass"]]],
2095
+ ["case", ["==", ["get", "sideOfRoad"], "left"], -0.6, 0.6]
2096
+ ],
2097
+ 20,
2098
+ [
2099
+ "*",
2100
+ ["-", 8, ["to-number", ["get", "functionalRoadClass"]]],
2101
+ ["case", ["==", ["get", "sideOfRoad"], "left"], -4.2, 4.2]
2102
+ ]
2103
+ ],
2104
+ "line-color": "#adbfe3",
2105
+ "line-opacity": 1,
2106
+ "line-width": ["interpolate", ["linear"], ["zoom"], 12, 1, 20, 5.5]
2107
+ }
2108
+ },
2109
+
2110
+ {
2111
+ "id": "brt-railway-center-line",
2112
+ "type": "line",
2113
+ "source": "pdok-brt",
2114
+ "source-layer": "spoorbaandeellijn",
2115
+ "minzoom": 9,
2116
+ "metadata": {
2117
+ "group": "context-map",
2118
+ "sub-group": "railway",
2119
+ "type": "context",
2120
+ "legend-name": "Spoorlijnen",
2121
+ "desc": "trein, metro, tram. beschikbaar van z9. Over de wegen heen.",
2122
+ "insert-before": "lines-overlay"
2123
+ },
2124
+ "layout": {
2125
+ "visibility": "visible",
2126
+ "line-cap": "round",
2127
+ "line-join": "round"
2128
+ },
2129
+ "paint": {
2130
+ "line-color": [
2131
+ "match",
2132
+ ["get", "vistext"],
2133
+ "treinspoor",
2134
+ "#a3a7aa",
2135
+ "spoor in tunnel",
2136
+ "#a3a7aa",
2137
+ "metro / sneltram",
2138
+ "#cbcdd9",
2139
+ "metro / sneltram in tunnel",
2140
+ "#cbcdd9",
2141
+ "tram",
2142
+ "#a3a7aa",
2143
+ "tram in tunnel",
2144
+ "#a3a7aa",
2145
+ "overig",
2146
+ "#a3a7aa",
2147
+ "spoor onder ander object",
2148
+ "#a3a7aa",
2149
+ "transparent"
2150
+ ],
2151
+ "line-width": [
2152
+ "interpolate",
2153
+ ["linear"],
2154
+ ["zoom"],
2155
+ 12,
2156
+ [
2157
+ "match",
2158
+ ["get", "vistext"],
2159
+ "treinspoor",
2160
+ 0.8,
2161
+ "spoor in tunnel",
2162
+ 0.5,
2163
+ "metro / sneltram",
2164
+ 0.1,
2165
+ "metro / sneltram in tunnel",
2166
+ 0.1,
2167
+ "tram",
2168
+ 0.1,
2169
+ "tram in tunnel",
2170
+ 0.1,
2171
+ "overig",
2172
+ 0.1,
2173
+ "spoor onder ander object",
2174
+ 1,
2175
+ 10
2176
+ ],
2177
+ 16,
2178
+ [
2179
+ "match",
2180
+ ["get", "vistext"],
2181
+ "treinspoor",
2182
+ 1.5,
2183
+ "spoor in tunnel",
2184
+ 1.5,
2185
+ "metro / sneltram",
2186
+ 3,
2187
+ "metro / sneltram in tunnel",
2188
+ 3,
2189
+ "tram",
2190
+ 1,
2191
+ "tram in tunnel",
2192
+ 1,
2193
+ "overig",
2194
+ 0.5,
2195
+ "spoor onder ander object",
2196
+ 1.5,
2197
+ 10
2198
+ ]
2199
+ ],
2200
+ "line-opacity": [
2201
+ "match",
2202
+ ["get", "vistext"],
2203
+ "spoor onder ander object",
2204
+ 0.5,
2205
+ "spoor in tunnel",
2206
+ 0.5,
2207
+ "metro / sneltram in tunnel",
2208
+ 0.5,
2209
+ "tram in tunnel",
2210
+ 0.5,
2211
+ 1
2212
+ ]
2213
+ }
2214
+ },
2215
+ {
2216
+ "id": "brt-railway-center-dash",
2217
+ "type": "line",
2218
+ "source": "pdok-brt",
2219
+ "source-layer": "spoorbaandeellijn",
2220
+ "minzoom": 14,
2221
+ "metadata": {
2222
+ "group": "context-map",
2223
+ "sub-group": "railway",
2224
+ "type": "context",
2225
+ "legend-name": "Spoorlijnen dash voor trein",
2226
+ "desc": "trein. beschikbaar van z14. Over de wegen heen.",
2227
+ "insert-before": "lines-overlay"
2228
+ },
2229
+ "filter": [
2230
+ "any",
2231
+ ["==", ["get", "vistext"], "treinspoor"],
2232
+ ["==", ["get", "vistext"], "overig"],
2233
+ ["==", ["get", "vistext"], "spoor in tunnel"]
2234
+ ],
2235
+ "layout": {
2236
+ "visibility": "visible",
2237
+ "line-cap": "butt",
2238
+ "line-join": "round"
2239
+ },
2240
+ "paint": {
2241
+ "line-dasharray": [0.1, 5],
2242
+ "line-color": [
2243
+ "match",
2244
+ ["get", "vistext"],
2245
+ "treinspoor",
2246
+ "#a3a7aa",
2247
+ "spoor in tunnel",
2248
+ "#a3a7aa",
2249
+ "overig",
2250
+ "#a3a7aa",
2251
+ "spoor onder ander object",
2252
+ "#a3a7aa",
2253
+ "transparent"
2254
+ ],
2255
+ "line-width": [
2256
+ "interpolate",
2257
+ ["linear"],
2258
+ ["zoom"],
2259
+ 14,
2260
+ [
2261
+ "match",
2262
+ ["get", "vistext"],
2263
+ "treinspoor",
2264
+ 3,
2265
+ "spoor in tunnel",
2266
+ 3.5,
2267
+ "overig",
2268
+ 3.1,
2269
+ "spoor onder ander object",
2270
+ 3,
2271
+ 10
2272
+ ],
2273
+ 16,
2274
+ [
2275
+ "match",
2276
+ ["get", "vistext"],
2277
+ "treinspoor",
2278
+ 7,
2279
+ "spoor in tunnel",
2280
+ 6.5,
2281
+ "overig",
2282
+ 5.5,
2283
+ "spoor onder ander object",
2284
+ 6.5,
2285
+ 10
2286
+ ]
2287
+ ],
2288
+ "line-opacity": [
2289
+ "match",
2290
+ ["get", "vistext"],
2291
+ "spoor onder ander object",
2292
+ 0.5,
2293
+ "spoor in tunnel",
2294
+ 0.5,
2295
+ 1
2296
+ ]
2297
+ }
2298
+ },
2299
+ {
2300
+ "id": "pdok-administrative-division-province",
2301
+ "type": "line",
2302
+ "metadata": {
2303
+ "group": "context-admin",
2304
+ "sub-group": "administrative-division",
2305
+ "type": "context",
2306
+ "legend-name": "Provincie grenzen",
2307
+ "desc": "",
2308
+ "insert-before": "lines-overlay"
2309
+ },
2310
+ "source": "pdok-administrative-division",
2311
+ "source-layer": "provinciegebied",
2312
+ "layout": {
2313
+ "visibility": "visible",
2314
+ "line-cap": "round",
2315
+ "line-join": "round"
2316
+ },
2317
+ "paint": {
2318
+ "line-color": "#cbcdd9",
2319
+ "line-width": ["interpolate", ["linear"], ["zoom"], 7, 2, 10, 4, 16, 8]
2320
+ }
2321
+ },
2322
+ {
2323
+ "id": "pdok-administrative-division-province-name",
2324
+ "type": "symbol",
2325
+ "metadata": {
2326
+ "group": "context-admin",
2327
+ "sub-group": "administrative-division",
2328
+ "type": "context",
2329
+ "legend-name": "Provincie grenzen Naam",
2330
+ "desc": "Provincie namen langs de grens",
2331
+ "insert-before": "lines-overlay"
2332
+ },
2333
+ "source": "pdok-administrative-division",
2334
+ "source-layer": "provinciegebied",
2335
+ "minzoom": 9,
2336
+ "layout": {
2337
+ "visibility": "visible",
2338
+ "symbol-placement": "line",
2339
+ "symbol-spacing": ["interpolate", ["linear"], ["zoom"], 9, 300, 12, 350, 16, 500, 20, 250],
2340
+ "text-field": "{naam}",
2341
+ "text-font": ["Roboto Bold"],
2342
+ "text-offset": [0, 0.8],
2343
+ "text-transform": "uppercase",
2344
+ "text-size": ["interpolate", ["linear"], ["zoom"], 9, 10, 12, 11, 16, 11, 20, 12],
2345
+ "text-max-angle": 45
2346
+ },
2347
+ "paint": {
2348
+ "text-color": "#9fa3b9"
2349
+ }
2350
+ },
2351
+ {
2352
+ "id": "pdok-administrative-division-municipality",
2353
+ "type": "line",
2354
+ "metadata": {
2355
+ "group": "context-admin",
2356
+ "sub-group": "administrative-division",
2357
+ "type": "context",
2358
+ "legend-name": "Gemeente grenzen",
2359
+ "desc": "",
2360
+ "insert-before": "lines-overlay"
2361
+ },
2362
+ "source": "pdok-administrative-division",
2363
+ "source-layer": "gemeentegebied",
2364
+ "minzoom": 10,
2365
+ "layout": {
2366
+ "visibility": "visible",
2367
+ "line-cap": "round",
2368
+ "line-join": "round"
2369
+ },
2370
+ "paint": {
2371
+ "line-color": "#cbcdd9",
2372
+ "line-width": ["interpolate", ["linear"], ["zoom"], 10, 1, 12, 2, 16, 5]
2373
+ }
2374
+ },
2375
+ {
2376
+ "id": "pdok-administrative-division-municipality-name",
2377
+ "type": "symbol",
2378
+ "metadata": {
2379
+ "group": "context-admin",
2380
+ "sub-group": "administrative-division",
2381
+ "type": "context",
2382
+ "legend-name": "Gemeente grenzen naam",
2383
+ "desc": "Gemeente namen langs de grens",
2384
+ "insert-before": "lines-overlay"
2385
+ },
2386
+ "source": "pdok-administrative-division",
2387
+ "source-layer": "gemeentegebied",
2388
+ "minzoom": 11,
2389
+ "layout": {
2390
+ "visibility": "visible",
2391
+ "symbol-placement": "line",
2392
+ "text-max-angle": 55,
2393
+ "symbol-spacing": ["interpolate", ["linear"], ["zoom"], 11, 250, 16, 500, 20, 250],
2394
+ "text-field": ["concat", "Gem. ", ["get", "naam"]],
2395
+ "text-font": ["Roboto Medium"],
2396
+ "text-offset": [0, 0.85],
2397
+ "text-size": ["interpolate", ["linear"], ["zoom"], 11, 10, 16, 11.5, 20, 12]
2398
+ },
2399
+ "paint": {
2400
+ "text-color": "#9fa3b9"
2401
+ }
2402
+ },
2403
+ {
2404
+ "id": "pdok-administrative-division-province-rel",
2405
+ "type": "line",
2406
+ "metadata": {
2407
+ "group": "relevant-admin",
2408
+ "sub-group": "administrative-division",
2409
+ "type": "relevant",
2410
+ "legend-name": "Provincie grenzen",
2411
+ "desc": "",
2412
+ "insert-before": "lines-overlay"
2413
+ },
2414
+ "source": "pdok-administrative-division",
2415
+ "source-layer": "provinciegebied",
2416
+ "layout": {
2417
+ "visibility": "none",
2418
+ "line-cap": "round",
2419
+ "line-join": "round"
2420
+ },
2421
+ "paint": {
2422
+ "line-color": "#182a36",
2423
+ "line-blur": 2,
2424
+ "line-opacity": 0.5,
2425
+ "line-width": ["interpolate", ["linear"], ["zoom"], 7, 2, 10, 4, 16, 8]
2426
+ }
2427
+ },
2428
+ {
2429
+ "id": "pdok-administrative-division-province-name-rel",
2430
+ "type": "symbol",
2431
+ "metadata": {
2432
+ "group": "relevant-admin",
2433
+ "sub-group": "administrative-division",
2434
+ "type": "relevant",
2435
+ "legend-name": "Provincie grenzen Naam",
2436
+ "desc": "Provincie namen langs de grens",
2437
+ "insert-before": "lines-overlay"
2438
+ },
2439
+ "source": "pdok-administrative-division",
2440
+ "source-layer": "provinciegebied",
2441
+ "minzoom": 9,
2442
+ "layout": {
2443
+ "visibility": "none",
2444
+ "symbol-placement": "line",
2445
+ "symbol-spacing": ["interpolate", ["linear"], ["zoom"], 9, 300, 12, 350, 16, 500, 20, 250],
2446
+ "text-field": "{naam}",
2447
+ "text-font": ["Roboto Bold"],
2448
+ "text-offset": [0, 0.8],
2449
+ "text-transform": "uppercase",
2450
+ "text-size": ["interpolate", ["linear"], ["zoom"], 9, 10, 12, 11, 16, 11, 20, 12],
2451
+ "text-max-angle": 45
2452
+ },
2453
+ "paint": {
2454
+ "text-color": "#46545e"
2455
+ }
2456
+ },
2457
+ {
2458
+ "id": "pdok-administrative-division-municipality-rel",
2459
+ "type": "line",
2460
+ "metadata": {
2461
+ "group": "relevant-admin",
2462
+ "sub-group": "administrative-division",
2463
+ "type": "relevant",
2464
+ "legend-name": "Gemeente grenzen",
2465
+ "desc": "",
2466
+ "insert-before": "lines-overlay"
2467
+ },
2468
+ "source": "pdok-administrative-division",
2469
+ "source-layer": "gemeentegebied",
2470
+ "minzoom": 10,
2471
+ "layout": {
2472
+ "visibility": "none",
2473
+ "line-cap": "round",
2474
+ "line-join": "round"
2475
+ },
2476
+ "paint": {
2477
+ "line-color": "#182a36",
2478
+ "line-blur": 1,
2479
+ "line-opacity": 0.7,
2480
+ "line-dasharray": [2, 2],
2481
+ "line-width": ["interpolate", ["linear"], ["zoom"], 10, 1, 12, 2, 16, 5]
2482
+ }
2483
+ },
2484
+ {
2485
+ "id": "pdok-administrative-division-municipality-name-rel",
2486
+ "type": "symbol",
2487
+ "metadata": {
2488
+ "group": "relevant-admin",
2489
+ "sub-group": "administrative-division",
2490
+ "type": "relevant",
2491
+ "legend-name": "Gemeente grenzen naam",
2492
+ "desc": "Gemeente namen langs de grens",
2493
+ "insert-before": "lines-overlay"
2494
+ },
2495
+ "source": "pdok-administrative-division",
2496
+ "source-layer": "gemeentegebied",
2497
+ "minzoom": 10,
2498
+ "layout": {
2499
+ "visibility": "none",
2500
+ "symbol-placement": "line",
2501
+ "text-max-angle": 50,
2502
+ "symbol-spacing": ["interpolate", ["linear"], ["zoom"], 11, 200, 16, 500, 20, 250],
2503
+ "text-field": ["concat", "Gem. ", ["get", "naam"]],
2504
+ "text-font": ["Roboto Medium"],
2505
+ "text-offset": [0, 0.85],
2506
+ "text-size": ["interpolate", ["linear"], ["zoom"], 11, 10, 16, 11.5, 20, 12]
2507
+ },
2508
+ "paint": {
2509
+ "text-color": "#46545e"
2510
+ }
2511
+ },
2512
+ {
2513
+ "id": "nwb-oneway-signs",
2514
+ "type": "symbol",
2515
+ "source": "ndw-nwb-road-sections",
2516
+ "source-layer": "roadSections",
2517
+ "metadata": {
2518
+ "group": "context-roads",
2519
+ "sub-group": "nwb-oneway-signs",
2520
+ "type": "context",
2521
+ "legend-name": "Eenrichtingsverkeer",
2522
+ "desc": "",
2523
+ "insert-before": "label"
2524
+ },
2525
+ "minzoom": 14,
2526
+ "filter": ["in", ["get", "drivingDirection"], ["literal", ["H", "T"]]],
2527
+ "layout": {
2528
+ "visibility": "visible",
2529
+ "icon-image": "sdf:arrow-simple-2",
2530
+ "icon-padding": 1,
2531
+ "icon-rotate": ["match", ["get", "drivingDirection"], "H", 90, "T", -90, 0],
2532
+ "icon-rotation-alignment": "map",
2533
+ "icon-size": [
2534
+ "interpolate",
2535
+ ["linear"],
2536
+ ["zoom"],
2537
+ 13,
2538
+ [
2539
+ "match",
2540
+ ["get", "functionalRoadClass"],
2541
+ "0",
2542
+ 0.3,
2543
+ "1",
2544
+ 0.3,
2545
+ "2",
2546
+ 0.2,
2547
+ "3",
2548
+ 0.2,
2549
+ "4",
2550
+ 0.2,
2551
+ "5",
2552
+ 0,
2553
+ "6",
2554
+ 0,
2555
+ "7",
2556
+ 0,
2557
+ 0
2558
+ ],
2559
+ 16,
2560
+ [
2561
+ "match",
2562
+ ["get", "functionalRoadClass"],
2563
+ "0",
2564
+ 0.7,
2565
+ "1",
2566
+ 0.7,
2567
+ "2",
2568
+ 0.6,
2569
+ "3",
2570
+ 0.5,
2571
+ "4",
2572
+ 0.5,
2573
+ "5",
2574
+ 0.5,
2575
+ "6",
2576
+ 0.5,
2577
+ "7",
2578
+ 0.3,
2579
+ 1
2580
+ ]
2581
+ ],
2582
+ "symbol-placement": "line",
2583
+ "symbol-spacing": 120
2584
+ },
2585
+ "paint": {
2586
+ "icon-opacity": 1,
2587
+ "icon-color": [
2588
+ "match",
2589
+ ["get", "functionalRoadClass"],
2590
+ "0",
2591
+ "hsl(204, 5%, 60%)",
2592
+ "1",
2593
+ "hsl(204, 5%, 60%)",
2594
+ "2",
2595
+ "hsl(204, 5%, 70%)",
2596
+ "3",
2597
+ "hsl(204, 5%, 70%)",
2598
+ "4",
2599
+ "hsl(192, 5%, 80%)",
2600
+ "5",
2601
+ "hsl(192, 5%, 70%)",
2602
+ "6",
2603
+ "hsl(192, 5%, 70%)",
2604
+ "7",
2605
+ "hsl(192, 5%, 70%)",
2606
+ "hsl(0, 0%, 100%)"
2607
+ ]
2608
+ }
2609
+ },
2610
+ {
2611
+ "id": "nwb-oneway-signs-rel",
2612
+ "type": "symbol",
2613
+ "source": "ndw-nwb-road-sections",
2614
+ "source-layer": "roadSections",
2615
+ "metadata": {
2616
+ "group": "relevant-roads",
2617
+ "sub-group": "nwb-oneway-signs",
2618
+ "type": "relevant",
2619
+ "legend-name": "Eenrichtingsverkeer",
2620
+ "desc": "",
2621
+ "insert-before": "label"
2622
+ },
2623
+ "minzoom": 14,
2624
+ "filter": ["in", ["get", "drivingDirection"], ["literal", ["H", "T"]]],
2625
+ "layout": {
2626
+ "visibility": "none",
2627
+ "icon-image": "sdf:arrow-simple-2",
2628
+ "icon-padding": 2,
2629
+ "icon-rotate": ["match", ["get", "drivingDirection"], "H", 90, "T", -90, 0],
2630
+ "icon-rotation-alignment": "map",
2631
+ "icon-size": [
2632
+ "interpolate",
2633
+ ["linear"],
2634
+ ["zoom"],
2635
+ 13,
2636
+ [
2637
+ "match",
2638
+ ["get", "functionalRoadClass"],
2639
+ "0",
2640
+ 0.3,
2641
+ "1",
2642
+ 0.3,
2643
+ "2",
2644
+ 0.2,
2645
+ "3",
2646
+ 0.2,
2647
+ "4",
2648
+ 0.2,
2649
+ "5",
2650
+ 0,
2651
+ "6",
2652
+ 0,
2653
+ "7",
2654
+ 0,
2655
+ 0
2656
+ ],
2657
+ 16,
2658
+ [
2659
+ "match",
2660
+ ["get", "functionalRoadClass"],
2661
+ "0",
2662
+ 0.7,
2663
+ "1",
2664
+ 0.7,
2665
+ "2",
2666
+ 0.6,
2667
+ "3",
2668
+ 0.5,
2669
+ "4",
2670
+ 0.5,
2671
+ "5",
2672
+ 0.5,
2673
+ "6",
2674
+ 0.5,
2675
+ "7",
2676
+ 0.3,
2677
+ 1
2678
+ ]
2679
+ ],
2680
+ "symbol-placement": "line",
2681
+ "symbol-spacing": 120
2682
+ },
2683
+ "paint": {
2684
+ "icon-opacity": 1,
2685
+ "icon-color": [
2686
+ "match",
2687
+ ["get", "functionalRoadClass"],
2688
+ "0",
2689
+ "#b64a11",
2690
+ "1",
2691
+ "#b64a11",
2692
+ "2",
2693
+ "#b64a11",
2694
+ "3",
2695
+ "#dd5208",
2696
+ "4",
2697
+ "#dc7019",
2698
+ "5",
2699
+ "#dc7019",
2700
+ "6",
2701
+ "hsl(192, 5%, 50%)",
2702
+ "7",
2703
+ "hsl(192, 5%, 50%)",
2704
+ "hsl(0, 0%, 100%)"
2705
+ ]
2706
+ }
2707
+ },
2708
+ {
2709
+ "id": "bgt-housenumbers",
2710
+ "type": "symbol",
2711
+ "source": "pdok-bgt",
2712
+ "source-layer": "pand_nummeraanduiding",
2713
+ "metadata": {
2714
+ "group": "context-labels",
2715
+ "sub-group": "bgt-housenumbers",
2716
+ "type": "context",
2717
+ "legend-name": "Pand huisnummers",
2718
+ "desc": "Uit de BGT, alleen zichtbaar vanaf zoom 17",
2719
+ "insert-before": "label"
2720
+ },
2721
+ "layout": {
2722
+ "visibility": "visible",
2723
+ "symbol-placement": "point",
2724
+ "text-anchor": "bottom",
2725
+ "text-line-height": 1.2,
2726
+ "text-field": "{tekst}",
2727
+ "text-font": ["Roboto Light"],
2728
+ "text-size": 10,
2729
+ "text-justify": "center",
2730
+ "text-rotate": ["-", 360, ["get", "hoek"]]
2731
+ },
2732
+ "paint": {
2733
+ "text-opacity": 1,
2734
+ "text-halo-width": 2,
2735
+ "text-halo-color": "#fff",
2736
+ "text-color": "#555555"
2737
+ }
2738
+ },
2739
+ {
2740
+ "id": "nwb-road-names",
2741
+ "type": "symbol",
2742
+ "source": "ndw-nwb-road-sections",
2743
+ "source-layer": "roadSections",
2744
+ "metadata": {
2745
+ "group": "context-labels",
2746
+ "sub-group": "nwb-road-names",
2747
+ "type": "context",
2748
+ "legend-name": "Weg namen",
2749
+ "desc": "Weg namen uit NWB, hierarchy op functionalroadclass",
2750
+ "insert-before": "label"
2751
+ },
2752
+ "minzoom": 12,
2753
+ "filter": [
2754
+ "all",
2755
+ ["!=", ["get", "functionalRoadClass"], "7"],
2756
+ ["!=", ["get", "functionalRoadClass"], "0"],
2757
+ ["!=", ["get", "functionalRoadClass"], "1"],
2758
+ ["!=", ["get", "functionalRoadClass"], "2"]
2759
+ ],
2760
+ "layout": {
2761
+ "symbol-sort-key": ["-", 8, ["to-number", ["get", "functionalRoadClass"]]],
2762
+ "symbol-placement": "line",
2763
+ "text-field": "{roadName}",
2764
+ "text-max-angle": 50,
2765
+ "text-padding": 30,
2766
+ "text-font": [
2767
+ "case",
2768
+ ["==", ["get", "functionalRoadClass"], "3"],
2769
+ ["literal", ["Noto Sans Bold"]],
2770
+ ["literal", ["Noto Sans Regular"]]
2771
+ ],
2772
+ "text-size": [
2773
+ "match",
2774
+ ["get", "functionalRoadClass"],
2775
+ "2",
2776
+ 14,
2777
+ "3",
2778
+ 14,
2779
+ "4",
2780
+ 12,
2781
+ "5",
2782
+ 11,
2783
+ "6",
2784
+ 11,
2785
+ 0
2786
+ ],
2787
+ "text-rotation-alignment": "map"
2788
+ },
2789
+ "paint": {
2790
+ "text-color": "hsl(196, 13%, 29%)",
2791
+ "text-halo-color": "#f8f4f0",
2792
+ "text-halo-width": 1.5
2793
+ }
2794
+ },
2795
+
2796
+ {
2797
+ "id": "brt-district-names",
2798
+ "type": "symbol",
2799
+ "source": "pdok-brt",
2800
+ "source-layer": "annotaties",
2801
+ "metadata": {
2802
+ "group": "context-labels",
2803
+ "sub-group": "brt-place-names",
2804
+ "type": "context",
2805
+ "legend-name": "Wijk namen",
2806
+ "desc": "Wijknamen, lichtgrijs",
2807
+ "insert-before": "label"
2808
+ },
2809
+ "minzoom": 13.5,
2810
+ "maxzoom": 16,
2811
+ "filter": ["==", ["get", "vistext"], "wijknamen"],
2812
+ "layout": {
2813
+ "symbol-placement": "point",
2814
+ "text-field": "{label}",
2815
+ "text-letter-spacing": 0.2,
2816
+ "text-font": ["Roboto Serif Regular"],
2817
+ "text-size": ["*", ["coalesce", ["get", "size"], 10], 1.3],
2818
+ "text-rotation-alignment": "map"
2819
+ },
2820
+ "paint": {
2821
+ "text-color": "hsl(197, 7%, 50%)",
2822
+ "text-halo-color": "#f8f4f0",
2823
+ "text-halo-width": 1
2824
+ }
2825
+ },
2826
+ {
2827
+ "id": "brt-place-names",
2828
+ "type": "symbol",
2829
+ "source": "pdok-brt",
2830
+ "source-layer": "annotaties",
2831
+ "metadata": {
2832
+ "group": "context-labels",
2833
+ "sub-group": "brt-place-names",
2834
+ "type": "context",
2835
+ "legend-name": "Plaatsnamen",
2836
+ "desc": "Plaatsnamen van Nederland, donkergrijs",
2837
+ "insert-before": "label"
2838
+ },
2839
+ "maxzoom": 16,
2840
+ "filter": ["==", ["get", "vistext"], "plaatsnamen"],
2841
+ "layout": {
2842
+ "symbol-placement": "point",
2843
+ "text-field": "{label}",
2844
+ "text-font": [
2845
+ "case",
2846
+ [">", ["get", "size"], 9],
2847
+ ["literal", ["DM Sans Medium"]],
2848
+ ["literal", ["DM Sans Regular"]]
2849
+ ],
2850
+ "text-size": ["*", ["coalesce", ["get", "size"], 10], 1.4],
2851
+ "text-rotation-alignment": "map"
2852
+ },
2853
+ "paint": {
2854
+ "text-color": "#3c3c3c",
2855
+ "text-halo-color": "#f8f4f0",
2856
+ "text-halo-width": 2.5
2857
+ }
2858
+ },
2859
+ {
2860
+ "id": "nwb-hectometre-signs-circle",
2861
+ "type": "circle",
2862
+ "source": "ndw-nwb-hectometre-signs",
2863
+ "source-layer": "hectometreSigns",
2864
+ "metadata": {
2865
+ "group": "context-roads",
2866
+ "sub-group": "nwb-hectometersigns",
2867
+ "type": "context",
2868
+ "legend-name": "Hectometer borden cirkel",
2869
+ "desc": "Grijze cirkel die positie aangeeft hectometer nummer",
2870
+ "insert-before": "label"
2871
+ },
2872
+ "minzoom": 9.5,
2873
+ "filter": [
2874
+ "all",
2875
+ [
2876
+ "==",
2877
+ [
2878
+ "%",
2879
+ ["get", "hectometre"],
2880
+ [
2881
+ "case",
2882
+ ["<=", ["zoom"], 10],
2883
+ 100,
2884
+ ["<=", ["zoom"], 12],
2885
+ 50,
2886
+ ["<=", ["zoom"], 13],
2887
+ 20,
2888
+ ["<=", ["zoom"], 14],
2889
+ 10,
2890
+ 1
2891
+ ]
2892
+ ],
2893
+ 0
2894
+ ]
2895
+ ],
2896
+ "layout": {
2897
+ "visibility": "visible"
2898
+ },
2899
+ "paint": {
2900
+ "circle-color": "hsl(204, 5%, 60%)",
2901
+ "circle-radius": ["interpolate", ["linear"], ["zoom"], 10, 0.5, 13, 2, 16, 3, 20, 6],
2902
+ "circle-stroke-color": "hsl(204, 5%, 60%)",
2903
+ "circle-stroke-width": 1
2904
+ }
2905
+ },
2906
+ {
2907
+ "id": "nwb-hectometre-signs-text",
2908
+ "type": "symbol",
2909
+ "source": "ndw-nwb-hectometre-signs",
2910
+ "source-layer": "hectometreSigns",
2911
+ "metadata": {
2912
+ "group": "context-roads",
2913
+ "sub-group": "nwb-hectometersigns",
2914
+ "type": "context",
2915
+ "legend-name": "Hectometer borden tekst",
2916
+ "desc": "Grijze tekst naast de cirkel",
2917
+ "insert-before": "label"
2918
+ },
2919
+ "minzoom": 10,
2920
+ "filter": [
2921
+ "all",
2922
+ [
2923
+ "==",
2924
+ [
2925
+ "%",
2926
+ ["get", "hectometre"],
2927
+ [
2928
+ "case",
2929
+ ["<=", ["zoom"], 10],
2930
+ 100,
2931
+ ["<=", ["zoom"], 12],
2932
+ 50,
2933
+ ["<=", ["zoom"], 13],
2934
+ 20,
2935
+ ["<=", ["zoom"], 14],
2936
+ 10,
2937
+ 1
2938
+ ]
2939
+ ],
2940
+ 0
2941
+ ]
2942
+ ],
2943
+ "layout": {
2944
+ "visibility": "visible",
2945
+ "text-rotation-alignment": "viewport",
2946
+ "symbol-placement": "point",
2947
+ "text-field": [
2948
+ "format",
2949
+ [
2950
+ "number-format",
2951
+ ["/", ["get", "hectometre"], 10],
2952
+ {
2953
+ "min-fraction-digits": 1,
2954
+ "max-fraction-digits": 1
2955
+ }
2956
+ ],
2957
+ " ",
2958
+ ["get", "letter"],
2959
+ {
2960
+ "font-scale": 0.85
2961
+ }
2962
+ ],
2963
+ "text-font": ["DM Sans Bold"],
2964
+ "text-size": ["interpolate", ["linear"], ["zoom"], 10, 6, 13, 10, 16, 11, 20, 12],
2965
+ "text-anchor": "left",
2966
+ "text-offset": [1, 0]
2967
+ },
2968
+ "paint": {
2969
+ "text-color": "hsl(204, 5%, 40%)",
2970
+ "text-halo-color": "hsl(204, 5%, 100%)",
2971
+ "text-halo-width": 1
2972
+ }
2973
+ },
2974
+ {
2975
+ "id": "nwb-road-names-number",
2976
+ "type": "symbol",
2977
+ "source": "ndw-nwb-road-sections",
2978
+ "source-layer": "roadSections",
2979
+ "metadata": {
2980
+ "group": "context-roads",
2981
+ "sub-group": "nwb-road-names",
2982
+ "type": "context",
2983
+ "legend-name": "Weg nummers",
2984
+ "desc": "A en N wegen nummbers, grijs omvlakt",
2985
+ "insert-before": "label"
2986
+ },
2987
+ "minzoom": 6,
2988
+ "filter": [
2989
+ "all",
2990
+ ["has", "hectometreSignRoadNumber"],
2991
+ [
2992
+ "any",
2993
+ ["==", ["get", "functionalRoadClass"], "0"],
2994
+ ["==", ["get", "functionalRoadClass"], "1"],
2995
+ ["==", ["get", "functionalRoadClass"], "2"],
2996
+ ["==", ["get", "functionalRoadClass"], "3"]
2997
+ ]
2998
+ ],
2999
+ "layout": {
3000
+ "symbol-sort-key": ["-", 8, ["to-number", ["get", "functionalRoadClass"]]],
3001
+ "symbol-placement": "line",
3002
+ "symbol-spacing": ["interpolate", ["linear"], ["zoom"], 8, 400, 10, 250, 20, 500],
3003
+ "text-field": "{hectometreSignRoadNumber}",
3004
+ "text-max-angle": ["interpolate", ["linear"], ["zoom"], 6, 20, 8, 5, 20, 0],
3005
+ "text-padding": 8,
3006
+ "text-font": ["Noto Sans Bold"],
3007
+ "text-size": [
3008
+ "match",
3009
+ ["get", "functionalRoadClass"],
3010
+ "0",
3011
+ 12,
3012
+ "1",
3013
+ 11,
3014
+ "2",
3015
+ 11,
3016
+ "3",
3017
+ 10,
3018
+ 0
3019
+ ],
3020
+ "text-rotation-alignment": "viewport"
3021
+ },
3022
+ "paint": {
3023
+ "text-color": "#f8f4f0",
3024
+ "text-halo-color": "hsl(196, 13%, 50%)",
3025
+ "text-halo-width": 30
3026
+ }
3027
+ },
3028
+ {
3029
+ "id": "nwb-hectometre-signs-rel",
3030
+ "type": "symbol",
3031
+ "source": "ndw-nwb-hectometre-signs",
3032
+ "source-layer": "hectometreSigns",
3033
+ "metadata": {
3034
+ "group": "relevant-roads",
3035
+ "sub-group": "nwb-hectometersigns",
3036
+ "type": "relevant",
3037
+ "legend-name": "Hectometer borden",
3038
+ "desc": "Rood/Groene hectomer borden voor A wegen en Geel/Groene borden voor N wegen met nummering.",
3039
+ "insert-before": "label"
3040
+ },
3041
+ "filter": [
3042
+ "==",
3043
+ [
3044
+ "%",
3045
+ ["get", "hectometre"],
3046
+ [
3047
+ "case",
3048
+ ["<=", ["zoom"], 10],
3049
+ 100,
3050
+ ["<=", ["zoom"], 12],
3051
+ 50,
3052
+ ["<=", ["zoom"], 13],
3053
+ 20,
3054
+ ["<=", ["zoom"], 14],
3055
+ 10,
3056
+ 1
3057
+ ]
3058
+ ],
3059
+ 0
3060
+ ],
3061
+ "layout": {
3062
+ "visibility": "none",
3063
+ "icon-padding": 20,
3064
+ "text-rotation-alignment": "viewport",
3065
+ "symbol-placement": "point",
3066
+ "icon-image": [
3067
+ "case",
3068
+ ["!", ["has", "roadName"]],
3069
+ "NDW:road_hectometre",
3070
+ ["in", "A", ["get", "roadName"]],
3071
+ "NDW:road_hectometre-a-weg",
3072
+ "NDW:road_hectometre-n-weg"
3073
+ ],
3074
+ "icon-size": [
3075
+ "interpolate",
3076
+ ["linear"],
3077
+ ["zoom"],
3078
+ 7,
3079
+ ["case", ["in", "A", ["get", "roadName"]], 0.6, 0],
3080
+ 9,
3081
+ ["case", ["in", "A", ["get", "roadName"]], 0.8, 0],
3082
+ 10,
3083
+ 0.8,
3084
+ 13,
3085
+ 1,
3086
+ 16,
3087
+ 1,
3088
+ 20,
3089
+ 1.5
3090
+ ],
3091
+ "icon-ignore-placement": false,
3092
+ "icon-allow-overlap": false,
3093
+ "text-field": [
3094
+ "case",
3095
+ ["!", ["has", "roadName"]],
3096
+ [
3097
+ "format",
3098
+ [
3099
+ "number-format",
3100
+ ["/", ["get", "hectometre"], 10],
3101
+ {
3102
+ "min-fraction-digits": 1,
3103
+ "max-fraction-digits": 1
3104
+ }
3105
+ ],
3106
+ " ",
3107
+ ["get", "letter"],
3108
+ {
3109
+ "font-scale": 0.8
3110
+ }
3111
+ ],
3112
+ [
3113
+ "format",
3114
+ ["get", "roadName"],
3115
+ {
3116
+ "font-scale": 0.9
3117
+ },
3118
+ " ",
3119
+ ["get", "letter"],
3120
+ {
3121
+ "font-scale": 0.8
3122
+ },
3123
+ "\n",
3124
+ [
3125
+ "number-format",
3126
+ ["/", ["get", "hectometre"], 10],
3127
+ {
3128
+ "min-fraction-digits": 1,
3129
+ "max-fraction-digits": 1
3130
+ }
3131
+ ],
3132
+ {
3133
+ "text-color": "#fff"
3134
+ }
3135
+ ]
3136
+ ],
3137
+ "text-font": ["DM Sans Bold"],
3138
+ "text-offset": [0, 0],
3139
+ "icon-offset": [0, 0],
3140
+ "text-size": [
3141
+ "interpolate",
3142
+ ["linear"],
3143
+ ["zoom"],
3144
+ 8,
3145
+ ["case", ["in", "A", ["get", "roadName"]], 6, 0],
3146
+ 9,
3147
+ ["case", ["in", "A", ["get", "roadName"]], 8, 0],
3148
+ 10,
3149
+ 8,
3150
+ 13,
3151
+ 10,
3152
+ 16,
3153
+ 11,
3154
+ 20,
3155
+ 14
3156
+ ]
3157
+ },
3158
+ "paint": {
3159
+ "text-color": [
3160
+ "case",
3161
+ ["!", ["has", "roadName"]],
3162
+ "#fff",
3163
+ ["in", "A", ["get", "roadName"]],
3164
+ "#fff",
3165
+ "#000"
3166
+ ]
3167
+ }
3168
+ }
3169
+ ]
3170
+ }