style.json 43.5 KB
Newer Older
Jonas Heinrich's avatar
Jonas Heinrich committed
1 2
{
  "version": 8,
3
  "name": "Positron",
Jonas Heinrich's avatar
Jonas Heinrich committed
4
  "metadata": {
5
    "mapbox:autocomposite": false,
Jonas Heinrich's avatar
Jonas Heinrich committed
6 7
    "mapbox:type": "template",
    "mapbox:groups": {
8 9 10
      "b6371a3f2f5a9932464fa3867530a2e5": {
        "name": "Transportation",
        "collapsed": false
Jonas Heinrich's avatar
Jonas Heinrich committed
11
      },
12 13
      "a14c9607bc7954ba1df7205bf660433f": {
        "name": "Boundaries"
Jonas Heinrich's avatar
Jonas Heinrich committed
14
      },
15 16 17
      "101da9f13b64a08fa4b6ac1168e89e5f": {
        "name": "Places",
        "collapsed": false
Jonas Heinrich's avatar
Jonas Heinrich committed
18 19 20 21 22 23 24
      }
    },
    "openmaptiles:version": "3.x",
    "openmaptiles:mapbox:owner": "openmaptiles",
    "openmaptiles:mapbox:source:url": "mapbox://openmaptiles.4qljc88t"
  },
  "center": [
25 26
    10.184401828277089,
    -1.1368683772161603e-13
Jonas Heinrich's avatar
Jonas Heinrich committed
27
  ],
28
  "zoom": 0.8902641636539237,
Jonas Heinrich's avatar
Jonas Heinrich committed
29 30 31 32 33
  "bearing": 0,
  "pitch": 0,
  "sources": {
    "openmaptiles": {
      "type": "vector",
Jonas Heinrich's avatar
Jonas Heinrich committed
34
      "url": "/tileserver/tileserver.php?/tileserver/2017-07-03_baden-wuerttemberg_karlsruhe-regbez.json"
Jonas Heinrich's avatar
Jonas Heinrich committed
35 36
    }
  },
37 38
  "sprite": "https://openmaptiles.github.io/positron-gl-style/sprite",
  "glyphs": "https://free.tilehosting.com/fonts/{fontstack}/{range}.pbf?key={key}",
Jonas Heinrich's avatar
Jonas Heinrich committed
39 40 41 42 43
  "layers": [
    {
      "id": "background",
      "type": "background",
      "paint": {
44
        "background-color": "rgb(242,243,240)"
Jonas Heinrich's avatar
Jonas Heinrich committed
45 46 47
      }
    },
    {
48
      "id": "park",
Jonas Heinrich's avatar
Jonas Heinrich committed
49 50
      "type": "fill",
      "source": "openmaptiles",
51
      "source-layer": "park",
Jonas Heinrich's avatar
Jonas Heinrich committed
52 53
      "filter": [
        "==",
54 55
        "$type",
        "Polygon"
Jonas Heinrich's avatar
Jonas Heinrich committed
56 57 58 59 60
      ],
      "layout": {
        "visibility": "visible"
      },
      "paint": {
61
        "fill-color": "rgb(230, 233, 229)"
Jonas Heinrich's avatar
Jonas Heinrich committed
62 63 64
      }
    },
    {
65
      "id": "water",
Jonas Heinrich's avatar
Jonas Heinrich committed
66 67
      "type": "fill",
      "source": "openmaptiles",
68
      "source-layer": "water",
Jonas Heinrich's avatar
Jonas Heinrich committed
69 70
      "filter": [
        "==",
71 72
        "$type",
        "Polygon"
Jonas Heinrich's avatar
Jonas Heinrich committed
73
      ],
74 75 76
      "layout": {
        "visibility": "visible"
      },
Jonas Heinrich's avatar
Jonas Heinrich committed
77
      "paint": {
78 79
        "fill-color": "rgb(194, 200, 202)",
        "fill-antialias": true
Jonas Heinrich's avatar
Jonas Heinrich committed
80 81 82
      }
    },
    {
83
      "id": "landcover_ice_shelf",
Jonas Heinrich's avatar
Jonas Heinrich committed
84 85
      "type": "fill",
      "source": "openmaptiles",
86 87
      "source-layer": "landcover",
      "maxzoom": 8,
Jonas Heinrich's avatar
Jonas Heinrich committed
88 89 90 91 92 93 94 95 96
      "filter": [
        "all",
        [
          "==",
          "$type",
          "Polygon"
        ],
        [
          "==",
97 98
          "subclass",
          "ice_shelf"
Jonas Heinrich's avatar
Jonas Heinrich committed
99 100
        ]
      ],
101 102 103
      "layout": {
        "visibility": "visible"
      },
Jonas Heinrich's avatar
Jonas Heinrich committed
104
      "paint": {
105 106
        "fill-color": "hsl(0, 0%, 98%)",
        "fill-opacity": 0.7
Jonas Heinrich's avatar
Jonas Heinrich committed
107 108 109
      }
    },
    {
110
      "id": "landcover_glacier",
Jonas Heinrich's avatar
Jonas Heinrich committed
111 112
      "type": "fill",
      "source": "openmaptiles",
113 114
      "source-layer": "landcover",
      "maxzoom": 8,
Jonas Heinrich's avatar
Jonas Heinrich committed
115 116 117 118 119 120 121 122 123
      "filter": [
        "all",
        [
          "==",
          "$type",
          "Polygon"
        ],
        [
          "==",
124 125
          "subclass",
          "glacier"
Jonas Heinrich's avatar
Jonas Heinrich committed
126 127
        ]
      ],
128 129 130
      "layout": {
        "visibility": "visible"
      },
Jonas Heinrich's avatar
Jonas Heinrich committed
131
      "paint": {
132 133 134 135 136 137 138 139 140 141 142 143 144 145
        "fill-color": "hsl(0, 0%, 98%)",
        "fill-opacity": {
          "base": 1,
          "stops": [
            [
              0,
              1
            ],
            [
              8,
              0.5
            ]
          ]
        }
Jonas Heinrich's avatar
Jonas Heinrich committed
146 147 148
      }
    },
    {
149
      "id": "landuse_residential",
Jonas Heinrich's avatar
Jonas Heinrich committed
150 151
      "type": "fill",
      "source": "openmaptiles",
152 153
      "source-layer": "landuse",
      "maxzoom": 16,
Jonas Heinrich's avatar
Jonas Heinrich committed
154
      "filter": [
155 156 157 158 159 160 161 162 163 164 165
        "all",
        [
          "==",
          "$type",
          "Polygon"
        ],
        [
          "==",
          "class",
          "residential"
        ]
Jonas Heinrich's avatar
Jonas Heinrich committed
166
      ],
167 168 169
      "layout": {
        "visibility": "visible"
      },
Jonas Heinrich's avatar
Jonas Heinrich committed
170
      "paint": {
171
        "fill-color": "rgb(234, 234, 230)",
Jonas Heinrich's avatar
Jonas Heinrich committed
172
        "fill-opacity": {
173
          "base": 0.6,
Jonas Heinrich's avatar
Jonas Heinrich committed
174 175
          "stops": [
            [
176 177
              8,
              0.8
Jonas Heinrich's avatar
Jonas Heinrich committed
178 179
            ],
            [
180 181
              9,
              0.6
Jonas Heinrich's avatar
Jonas Heinrich committed
182 183 184 185 186 187
            ]
          ]
        }
      }
    },
    {
188 189
      "id": "landcover_wood",
      "type": "fill",
Jonas Heinrich's avatar
Jonas Heinrich committed
190
      "source": "openmaptiles",
191 192
      "source-layer": "landcover",
      "minzoom": 10,
Jonas Heinrich's avatar
Jonas Heinrich committed
193
      "filter": [
194 195 196 197 198 199 200 201 202 203 204
        "all",
        [
          "==",
          "$type",
          "Polygon"
        ],
        [
          "==",
          "class",
          "wood"
        ]
Jonas Heinrich's avatar
Jonas Heinrich committed
205
      ],
206 207 208
      "layout": {
        "visibility": "visible"
      },
Jonas Heinrich's avatar
Jonas Heinrich committed
209
      "paint": {
210 211
        "fill-color": "rgb(220,224,220)",
        "fill-opacity": {
Jonas Heinrich's avatar
Jonas Heinrich committed
212 213 214
          "base": 1,
          "stops": [
            [
215 216
              8,
              0
Jonas Heinrich's avatar
Jonas Heinrich committed
217 218
            ],
            [
219 220
              12,
              1
Jonas Heinrich's avatar
Jonas Heinrich committed
221 222
            ]
          ]
223
        }
Jonas Heinrich's avatar
Jonas Heinrich committed
224 225 226
      }
    },
    {
227 228
      "id": "waterway",
      "type": "line",
Jonas Heinrich's avatar
Jonas Heinrich committed
229
      "source": "openmaptiles",
230
      "source-layer": "waterway",
Jonas Heinrich's avatar
Jonas Heinrich committed
231 232
      "filter": [
        "==",
233 234
        "$type",
        "LineString"
Jonas Heinrich's avatar
Jonas Heinrich committed
235
      ],
236 237
      "layout": {
        "visibility": "visible"
Jonas Heinrich's avatar
Jonas Heinrich committed
238 239
      },
      "paint": {
240
        "line-color": "hsl(195, 17%, 78%)"
Jonas Heinrich's avatar
Jonas Heinrich committed
241 242 243
      }
    },
    {
244 245
      "id": "water_name",
      "type": "symbol",
Jonas Heinrich's avatar
Jonas Heinrich committed
246
      "source": "openmaptiles",
247
      "source-layer": "water_name",
Jonas Heinrich's avatar
Jonas Heinrich committed
248 249
      "filter": [
        "==",
250 251
        "$type",
        "LineString"
Jonas Heinrich's avatar
Jonas Heinrich committed
252
      ],
253 254 255 256 257 258 259 260 261 262 263
      "layout": {
        "text-field": "{name:latin}\n{name:nonlatin}",
        "symbol-placement": "line",
        "text-rotation-alignment": "map",
        "symbol-spacing": 500,
        "text-font": [
          "Metropolis Medium Italic",
          "Noto Sans Italic"
        ],
        "text-size": 12
      },
Jonas Heinrich's avatar
Jonas Heinrich committed
264
      "paint": {
265 266 267 268
        "text-color": "rgb(157,169,177)",
        "text-halo-color": "rgb(242,243,240)",
        "text-halo-width": 1,
        "text-halo-blur": 1
Jonas Heinrich's avatar
Jonas Heinrich committed
269 270 271
      }
    },
    {
272
      "id": "building",
Jonas Heinrich's avatar
Jonas Heinrich committed
273 274
      "type": "fill",
      "source": "openmaptiles",
275 276
      "source-layer": "building",
      "minzoom": 12,
Jonas Heinrich's avatar
Jonas Heinrich committed
277
      "paint": {
278 279 280
        "fill-color": "rgb(234, 234, 229)",
        "fill-outline-color": "rgb(219, 219, 218)",
        "fill-antialias": true
Jonas Heinrich's avatar
Jonas Heinrich committed
281 282 283
      }
    },
    {
284 285
      "id": "tunnel_motorway_casing",
      "type": "line",
Jonas Heinrich's avatar
Jonas Heinrich committed
286
      "metadata": {
287
        "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
Jonas Heinrich's avatar
Jonas Heinrich committed
288 289
      },
      "source": "openmaptiles",
290 291
      "source-layer": "transportation",
      "minzoom": 6,
Jonas Heinrich's avatar
Jonas Heinrich committed
292
      "filter": [
293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311
        "all",
        [
          "==",
          "$type",
          "LineString"
        ],
        [
          "all",
          [
            "==",
            "brunnel",
            "tunnel"
          ],
          [
            "==",
            "class",
            "motorway"
          ]
        ]
Jonas Heinrich's avatar
Jonas Heinrich committed
312
      ],
313 314 315 316 317
      "layout": {
        "line-cap": "butt",
        "line-join": "miter",
        "visibility": "visible"
      },
Jonas Heinrich's avatar
Jonas Heinrich committed
318
      "paint": {
319 320 321
        "line-color": "rgb(213, 213, 213)",
        "line-width": {
          "base": 1.4,
Jonas Heinrich's avatar
Jonas Heinrich committed
322 323
          "stops": [
            [
324 325
              5.8,
              0
Jonas Heinrich's avatar
Jonas Heinrich committed
326 327
            ],
            [
328 329 330 331 332 333
              6,
              3
            ],
            [
              20,
              40
Jonas Heinrich's avatar
Jonas Heinrich committed
334 335
            ]
          ]
336 337
        },
        "line-opacity": 1
Jonas Heinrich's avatar
Jonas Heinrich committed
338 339 340
      }
    },
    {
341 342
      "id": "tunnel_motorway_inner",
      "type": "line",
Jonas Heinrich's avatar
Jonas Heinrich committed
343
      "metadata": {
344
        "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
Jonas Heinrich's avatar
Jonas Heinrich committed
345 346
      },
      "source": "openmaptiles",
347 348
      "source-layer": "transportation",
      "minzoom": 6,
Jonas Heinrich's avatar
Jonas Heinrich committed
349
      "filter": [
350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368
        "all",
        [
          "==",
          "$type",
          "LineString"
        ],
        [
          "all",
          [
            "==",
            "brunnel",
            "tunnel"
          ],
          [
            "==",
            "class",
            "motorway"
          ]
        ]
Jonas Heinrich's avatar
Jonas Heinrich committed
369
      ],
370 371 372 373 374
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
Jonas Heinrich's avatar
Jonas Heinrich committed
375
      "paint": {
376
        "line-color": "rgb(234,234,234)",
Jonas Heinrich's avatar
Jonas Heinrich committed
377
        "line-width": {
378
          "base": 1.4,
Jonas Heinrich's avatar
Jonas Heinrich committed
379 380
          "stops": [
            [
381 382 383 384 385 386
              4,
              2
            ],
            [
              6,
              1.3
Jonas Heinrich's avatar
Jonas Heinrich committed
387 388 389
            ],
            [
              20,
390
              30
Jonas Heinrich's avatar
Jonas Heinrich committed
391 392 393 394 395 396
            ]
          ]
        }
      }
    },
    {
397
      "id": "aeroway-taxiway",
Jonas Heinrich's avatar
Jonas Heinrich committed
398 399
      "type": "line",
      "metadata": {
400
        "mapbox:group": "1444849345966.4436"
Jonas Heinrich's avatar
Jonas Heinrich committed
401 402
      },
      "source": "openmaptiles",
403 404
      "source-layer": "aeroway",
      "minzoom": 12,
Jonas Heinrich's avatar
Jonas Heinrich committed
405
      "filter": [
406 407 408 409 410 411
        "all",
        [
          "in",
          "class",
          "taxiway"
        ]
Jonas Heinrich's avatar
Jonas Heinrich committed
412 413
      ],
      "layout": {
414 415 416
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
Jonas Heinrich's avatar
Jonas Heinrich committed
417 418
      },
      "paint": {
419
        "line-color": "hsl(0, 0%, 88%)",
Jonas Heinrich's avatar
Jonas Heinrich committed
420
        "line-width": {
421
          "base": 1.55,
Jonas Heinrich's avatar
Jonas Heinrich committed
422 423 424
          "stops": [
            [
              13,
425
              1.8
Jonas Heinrich's avatar
Jonas Heinrich committed
426 427 428
            ],
            [
              20,
429
              20
Jonas Heinrich's avatar
Jonas Heinrich committed
430 431
            ]
          ]
432 433
        },
        "line-opacity": 1
Jonas Heinrich's avatar
Jonas Heinrich committed
434 435 436
      }
    },
    {
437
      "id": "aeroway-runway-casing",
Jonas Heinrich's avatar
Jonas Heinrich committed
438 439
      "type": "line",
      "metadata": {
440
        "mapbox:group": "1444849345966.4436"
Jonas Heinrich's avatar
Jonas Heinrich committed
441 442
      },
      "source": "openmaptiles",
443 444
      "source-layer": "aeroway",
      "minzoom": 11,
Jonas Heinrich's avatar
Jonas Heinrich committed
445
      "filter": [
446 447 448 449 450 451
        "all",
        [
          "in",
          "class",
          "runway"
        ]
Jonas Heinrich's avatar
Jonas Heinrich committed
452 453
      ],
      "layout": {
454 455 456
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
Jonas Heinrich's avatar
Jonas Heinrich committed
457 458
      },
      "paint": {
459
        "line-color": "hsl(0, 0%, 88%)",
Jonas Heinrich's avatar
Jonas Heinrich committed
460
        "line-width": {
461
          "base": 1.5,
Jonas Heinrich's avatar
Jonas Heinrich committed
462 463
          "stops": [
            [
464 465
              11,
              6
Jonas Heinrich's avatar
Jonas Heinrich committed
466 467
            ],
            [
468 469
              17,
              55
Jonas Heinrich's avatar
Jonas Heinrich committed
470 471
            ]
          ]
472 473
        },
        "line-opacity": 1
Jonas Heinrich's avatar
Jonas Heinrich committed
474 475 476
      }
    },
    {
477
      "id": "aeroway-area",
Jonas Heinrich's avatar
Jonas Heinrich committed
478 479
      "type": "fill",
      "metadata": {
480
        "mapbox:group": "1444849345966.4436"
Jonas Heinrich's avatar
Jonas Heinrich committed
481 482
      },
      "source": "openmaptiles",
483 484
      "source-layer": "aeroway",
      "minzoom": 4,
Jonas Heinrich's avatar
Jonas Heinrich committed
485
      "filter": [
486 487 488 489 490 491 492 493 494 495 496 497
        "all",
        [
          "==",
          "$type",
          "Polygon"
        ],
        [
          "in",
          "class",
          "runway",
          "taxiway"
        ]
Jonas Heinrich's avatar
Jonas Heinrich committed
498 499 500 501 502
      ],
      "layout": {
        "visibility": "visible"
      },
      "paint": {
503
        "fill-opacity": {
Jonas Heinrich's avatar
Jonas Heinrich committed
504 505 506
          "base": 1,
          "stops": [
            [
507 508
              13,
              0
Jonas Heinrich's avatar
Jonas Heinrich committed
509 510
            ],
            [
511 512
              14,
              1
Jonas Heinrich's avatar
Jonas Heinrich committed
513 514
            ]
          ]
515 516
        },
        "fill-color": "rgba(255, 255, 255, 1)"
Jonas Heinrich's avatar
Jonas Heinrich committed
517 518 519
      }
    },
    {
520 521
      "id": "aeroway-runway",
      "type": "line",
Jonas Heinrich's avatar
Jonas Heinrich committed
522
      "metadata": {
523
        "mapbox:group": "1444849345966.4436"
Jonas Heinrich's avatar
Jonas Heinrich committed
524 525
      },
      "source": "openmaptiles",
526 527 528
      "source-layer": "aeroway",
      "minzoom": 11,
      "maxzoom": 24,
Jonas Heinrich's avatar
Jonas Heinrich committed
529
      "filter": [
530 531 532 533 534 535 536 537 538 539 540
        "all",
        [
          "in",
          "class",
          "runway"
        ],
        [
          "==",
          "$type",
          "LineString"
        ]
Jonas Heinrich's avatar
Jonas Heinrich committed
541 542
      ],
      "layout": {
543 544
        "line-cap": "round",
        "line-join": "round",
Jonas Heinrich's avatar
Jonas Heinrich committed
545 546 547
        "visibility": "visible"
      },
      "paint": {
548 549 550
        "line-color": "rgba(255, 255, 255, 1)",
        "line-width": {
          "base": 1.5,
Jonas Heinrich's avatar
Jonas Heinrich committed
551 552
          "stops": [
            [
553 554
              11,
              4
Jonas Heinrich's avatar
Jonas Heinrich committed
555 556
            ],
            [
557 558
              17,
              50
Jonas Heinrich's avatar
Jonas Heinrich committed
559 560 561
            ]
          ]
        },
562
        "line-opacity": 1
Jonas Heinrich's avatar
Jonas Heinrich committed
563 564 565
      }
    },
    {
566 567
      "id": "highway_path",
      "type": "line",
Jonas Heinrich's avatar
Jonas Heinrich committed
568
      "metadata": {
569
        "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
Jonas Heinrich's avatar
Jonas Heinrich committed
570 571
      },
      "source": "openmaptiles",
572 573 574 575 576 577 578 579 580 581 582 583 584 585
      "source-layer": "transportation",
      "filter": [
        "all",
        [
          "==",
          "$type",
          "LineString"
        ],
        [
          "==",
          "class",
          "path"
        ]
      ],
Jonas Heinrich's avatar
Jonas Heinrich committed
586
      "layout": {
587 588
        "line-cap": "round",
        "line-join": "round",
Jonas Heinrich's avatar
Jonas Heinrich committed
589 590 591
        "visibility": "visible"
      },
      "paint": {
592 593 594
        "line-color": "rgb(234, 234, 234)",
        "line-width": {
          "base": 1.2,
Jonas Heinrich's avatar
Jonas Heinrich committed
595 596 597
          "stops": [
            [
              13,
598
              1
Jonas Heinrich's avatar
Jonas Heinrich committed
599 600
            ],
            [
601 602
              20,
              10
Jonas Heinrich's avatar
Jonas Heinrich committed
603 604
            ]
          ]
605 606
        },
        "line-opacity": 0.9
Jonas Heinrich's avatar
Jonas Heinrich committed
607 608 609
      }
    },
    {
610
      "id": "highway_minor",
Jonas Heinrich's avatar
Jonas Heinrich committed
611 612
      "type": "line",
      "metadata": {
613
        "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
Jonas Heinrich's avatar
Jonas Heinrich committed
614 615 616
      },
      "source": "openmaptiles",
      "source-layer": "transportation",
617
      "minzoom": 8,
Jonas Heinrich's avatar
Jonas Heinrich committed
618 619 620 621
      "filter": [
        "all",
        [
          "==",
622 623
          "$type",
          "LineString"
Jonas Heinrich's avatar
Jonas Heinrich committed
624 625 626 627
        ],
        [
          "in",
          "class",
628
          "minor",
Jonas Heinrich's avatar
Jonas Heinrich committed
629 630 631 632 633
          "service",
          "track"
        ]
      ],
      "layout": {
634 635 636
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
Jonas Heinrich's avatar
Jonas Heinrich committed
637 638
      },
      "paint": {
639
        "line-color": "hsl(0, 0%, 88%)",
Jonas Heinrich's avatar
Jonas Heinrich committed
640
        "line-width": {
641
          "base": 1.55,
Jonas Heinrich's avatar
Jonas Heinrich committed
642 643
          "stops": [
            [
644 645
              13,
              1.8
Jonas Heinrich's avatar
Jonas Heinrich committed
646 647 648
            ],
            [
              20,
649
              20
Jonas Heinrich's avatar
Jonas Heinrich committed
650 651
            ]
          ]
652 653
        },
        "line-opacity": 0.9
Jonas Heinrich's avatar
Jonas Heinrich committed
654 655 656
      }
    },
    {
657
      "id": "highway_major_casing",
Jonas Heinrich's avatar
Jonas Heinrich committed
658 659
      "type": "line",
      "metadata": {
660
        "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
Jonas Heinrich's avatar
Jonas Heinrich committed
661 662 663
      },
      "source": "openmaptiles",
      "source-layer": "transportation",
664
      "minzoom": 11,
Jonas Heinrich's avatar
Jonas Heinrich committed
665 666 667 668
      "filter": [
        "all",
        [
          "==",
669 670 671
          "$type",
          "LineString"
        ],
Jonas Heinrich's avatar
Jonas Heinrich committed
672
        [
673
          "in",
Jonas Heinrich's avatar
Jonas Heinrich committed
674
          "class",
675 676 677 678
          "primary",
          "secondary",
          "tertiary",
          "trunk"
Jonas Heinrich's avatar
Jonas Heinrich committed
679 680 681
        ]
      ],
      "layout": {
682 683 684
        "line-cap": "butt",
        "line-join": "miter",
        "visibility": "visible"
Jonas Heinrich's avatar
Jonas Heinrich committed
685 686
      },
      "paint": {
687 688 689 690 691
        "line-color": "rgb(213, 213, 213)",
        "line-dasharray": [
          12,
          0
        ],
Jonas Heinrich's avatar
Jonas Heinrich committed
692
        "line-width": {
693
          "base": 1.3,
Jonas Heinrich's avatar
Jonas Heinrich committed
694 695
          "stops": [
            [
696 697
              10,
              3
Jonas Heinrich's avatar
Jonas Heinrich committed
698 699 700
            ],
            [
              20,
701
              23
Jonas Heinrich's avatar
Jonas Heinrich committed
702 703 704 705 706 707
            ]
          ]
        }
      }
    },
    {
708
      "id": "highway_major_inner",
Jonas Heinrich's avatar
Jonas Heinrich committed
709 710
      "type": "line",
      "metadata": {
711
        "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
Jonas Heinrich's avatar
Jonas Heinrich committed
712 713 714
      },
      "source": "openmaptiles",
      "source-layer": "transportation",
715
      "minzoom": 11,
Jonas Heinrich's avatar
Jonas Heinrich committed
716 717 718 719
      "filter": [
        "all",
        [
          "==",
720 721
          "$type",
          "LineString"
Jonas Heinrich's avatar
Jonas Heinrich committed
722 723 724 725
        ],
        [
          "in",
          "class",
726
          "primary",
Jonas Heinrich's avatar
Jonas Heinrich committed
727
          "secondary",
728 729
          "tertiary",
          "trunk"
Jonas Heinrich's avatar
Jonas Heinrich committed
730 731 732
        ]
      ],
      "layout": {
733 734 735
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
Jonas Heinrich's avatar
Jonas Heinrich committed
736 737
      },
      "paint": {
738
        "line-color": "#fff",
Jonas Heinrich's avatar
Jonas Heinrich committed
739
        "line-width": {
740
          "base": 1.3,
Jonas Heinrich's avatar
Jonas Heinrich committed
741 742
          "stops": [
            [
743 744
              10,
              2
Jonas Heinrich's avatar
Jonas Heinrich committed
745 746 747
            ],
            [
              20,
748
              20
Jonas Heinrich's avatar
Jonas Heinrich committed
749 750 751 752 753 754
            ]
          ]
        }
      }
    },
    {
755
      "id": "highway_major_subtle",
Jonas Heinrich's avatar
Jonas Heinrich committed
756 757
      "type": "line",
      "metadata": {
758
        "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
Jonas Heinrich's avatar
Jonas Heinrich committed
759 760 761
      },
      "source": "openmaptiles",
      "source-layer": "transportation",
762
      "maxzoom": 11,
Jonas Heinrich's avatar
Jonas Heinrich committed
763 764 765 766
      "filter": [
        "all",
        [
          "==",
767 768
          "$type",
          "LineString"
Jonas Heinrich's avatar
Jonas Heinrich committed
769 770 771 772 773
        ],
        [
          "in",
          "class",
          "primary",
774 775
          "secondary",
          "tertiary",
Jonas Heinrich's avatar
Jonas Heinrich committed
776 777 778 779
          "trunk"
        ]
      ],
      "layout": {
780 781 782
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
Jonas Heinrich's avatar
Jonas Heinrich committed
783 784
      },
      "paint": {
785 786
        "line-color": "hsla(0, 0%, 85%, 0.69)",
        "line-width": 2
Jonas Heinrich's avatar
Jonas Heinrich committed
787 788 789
      }
    },
    {
790
      "id": "highway_motorway_casing",
Jonas Heinrich's avatar
Jonas Heinrich committed
791 792
      "type": "line",
      "metadata": {
793
        "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
Jonas Heinrich's avatar
Jonas Heinrich committed
794 795 796
      },
      "source": "openmaptiles",
      "source-layer": "transportation",
797
      "minzoom": 6,
Jonas Heinrich's avatar
Jonas Heinrich committed
798 799 800 801
      "filter": [
        "all",
        [
          "==",
802 803
          "$type",
          "LineString"
Jonas Heinrich's avatar
Jonas Heinrich committed
804 805
        ],
        [
806 807 808 809 810 811 812 813 814 815 816 817
          "all",
          [
            "!in",
            "brunnel",
            "bridge",
            "tunnel"
          ],
          [
            "==",
            "class",
            "motorway"
          ]
Jonas Heinrich's avatar
Jonas Heinrich committed
818 819 820
        ]
      ],
      "layout": {
821 822
        "line-cap": "butt",
        "line-join": "miter",
Jonas Heinrich's avatar
Jonas Heinrich committed
823 824 825
        "visibility": "visible"
      },
      "paint": {
826
        "line-color": "rgb(213, 213, 213)",
Jonas Heinrich's avatar
Jonas Heinrich committed
827
        "line-width": {
828
          "base": 1.4,
Jonas Heinrich's avatar
Jonas Heinrich committed
829 830
          "stops": [
            [
831 832
              5.8,
              0
Jonas Heinrich's avatar
Jonas Heinrich committed
833 834 835
            ],
            [
              6,
836
              3
Jonas Heinrich's avatar
Jonas Heinrich committed
837 838 839
            ],
            [
              20,
840
              40
Jonas Heinrich's avatar
Jonas Heinrich committed
841 842
            ]
          ]
843 844 845 846 847 848
        },
        "line-dasharray": [
          2,
          0
        ],
        "line-opacity": 1
Jonas Heinrich's avatar
Jonas Heinrich committed
849 850 851
      }
    },
    {
852
      "id": "highway_motorway_inner",
Jonas Heinrich's avatar
Jonas Heinrich committed
853 854
      "type": "line",
      "metadata": {
855
        "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
Jonas Heinrich's avatar
Jonas Heinrich committed
856 857 858
      },
      "source": "openmaptiles",
      "source-layer": "transportation",
859
      "minzoom": 6,
Jonas Heinrich's avatar
Jonas Heinrich committed
860 861 862 863 864 865 866 867 868 869
      "filter": [
        "all",
        [
          "==",
          "$type",
          "LineString"
        ],
        [
          "all",
          [
870
            "!in",
Jonas Heinrich's avatar
Jonas Heinrich committed
871
            "brunnel",
872
            "bridge",
Jonas Heinrich's avatar
Jonas Heinrich committed
873 874 875 876 877
            "tunnel"
          ],
          [
            "==",
            "class",
878
            "motorway"
Jonas Heinrich's avatar
Jonas Heinrich committed
879 880 881
          ]
        ]
      ],
882 883 884 885 886
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
Jonas Heinrich's avatar
Jonas Heinrich committed
887
      "paint": {
888 889
        "line-color": {
          "base": 1,
Jonas Heinrich's avatar
Jonas Heinrich committed
890 891
          "stops": [
            [
892 893
              5.8,
              "hsla(0, 0%, 85%, 0.53)"
Jonas Heinrich's avatar
Jonas Heinrich committed
894 895
            ],
            [
896 897
              6,
              "#fff"
Jonas Heinrich's avatar
Jonas Heinrich committed
898 899
            ]
          ]
900
        },
Jonas Heinrich's avatar
Jonas Heinrich committed
901
        "line-width": {
902
          "base": 1.4,
Jonas Heinrich's avatar
Jonas Heinrich committed
903 904
          "stops": [
            [
905 906
              4,
              2
Jonas Heinrich's avatar
Jonas Heinrich committed
907 908
            ],
            [
909 910
              6,
              1.3
Jonas Heinrich's avatar
Jonas Heinrich committed
911 912 913
            ],
            [
              20,
914
              30
Jonas Heinrich's avatar
Jonas Heinrich committed
915 916 917 918 919 920
            ]
          ]
        }
      }
    },
    {
921
      "id": "highway_motorway_subtle",
Jonas Heinrich's avatar
Jonas Heinrich committed
922 923
      "type": "line",
      "metadata": {
924
        "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
Jonas Heinrich's avatar
Jonas Heinrich committed
925 926 927
      },
      "source": "openmaptiles",
      "source-layer": "transportation",
928
      "maxzoom": 6,
Jonas Heinrich's avatar
Jonas Heinrich committed
929 930 931 932
      "filter": [
        "all",
        [
          "==",
933 934
          "$type",
          "LineString"
Jonas Heinrich's avatar
Jonas Heinrich committed
935 936 937 938
        ],
        [
          "==",
          "class",
939
          "motorway"
Jonas Heinrich's avatar
Jonas Heinrich committed
940 941 942
        ]
      ],
      "layout": {
943 944 945
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
Jonas Heinrich's avatar
Jonas Heinrich committed
946 947
      },
      "paint": {
948
        "line-color": "hsla(0, 0%, 85%, 0.53)",
Jonas Heinrich's avatar
Jonas Heinrich committed
949
        "line-width": {
950
          "base": 1.4,
Jonas Heinrich's avatar
Jonas Heinrich committed
951 952
          "stops": [
            [
953 954
              4,
              2
Jonas Heinrich's avatar
Jonas Heinrich committed
955 956
            ],
            [
957 958
              6,
              1.3
Jonas Heinrich's avatar
Jonas Heinrich committed
959 960 961 962 963 964
            ]
          ]
        }
      }
    },
    {
965
      "id": "railway_transit",
Jonas Heinrich's avatar
Jonas Heinrich committed
966 967
      "type": "line",
      "metadata": {
968
        "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
Jonas Heinrich's avatar
Jonas Heinrich committed
969 970 971
      },
      "source": "openmaptiles",
      "source-layer": "transportation",
972
      "minzoom": 16,
Jonas Heinrich's avatar
Jonas Heinrich committed
973 974 975 976
      "filter": [
        "all",
        [
          "==",
977 978
          "$type",
          "LineString"
Jonas Heinrich's avatar
Jonas Heinrich committed
979 980
        ],
        [
981 982 983 984 985 986 987 988 989 990 991
          "all",
          [
            "==",
            "class",
            "transit"
          ],
          [
            "!in",
            "brunnel",
            "tunnel"
          ]
Jonas Heinrich's avatar
Jonas Heinrich committed
992 993 994
        ]
      ],
      "layout": {
995
        "visibility": "visible",
Jonas Heinrich's avatar
Jonas Heinrich committed
996 997 998
        "line-join": "round"
      },
      "paint": {
999 1000
        "line-color": "#dddddd",
        "line-width": 3
Jonas Heinrich's avatar
Jonas Heinrich committed
1001 1002 1003
      }
    },
    {
1004
      "id": "railway_transit_dashline",
Jonas Heinrich's avatar
Jonas Heinrich committed
1005 1006
      "type": "line",
      "metadata": {
1007
        "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
Jonas Heinrich's avatar
Jonas Heinrich committed
1008 1009 1010
      },
      "source": "openmaptiles",
      "source-layer": "transportation",
1011
      "minzoom": 16,
Jonas Heinrich's avatar
Jonas Heinrich committed
1012 1013 1014 1015
      "filter": [
        "all",
        [
          "==",
1016 1017
          "$type",
          "LineString"
Jonas Heinrich's avatar
Jonas Heinrich committed
1018 1019
        ],
        [
1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030
          "all",
          [
            "==",
            "class",
            "transit"
          ],
          [
            "!in",
            "brunnel",
            "tunnel"
          ]
Jonas Heinrich's avatar
Jonas Heinrich committed
1031 1032 1033
        ]
      ],
      "layout": {
1034
        "visibility": "visible",
Jonas Heinrich's avatar
Jonas Heinrich committed
1035 1036 1037
        "line-join": "round"
      },
      "paint": {
1038 1039 1040 1041 1042 1043
        "line-color": "#fafafa",
        "line-width": 2,
        "line-dasharray": [
          3,
          3
        ]
Jonas Heinrich's avatar
Jonas Heinrich committed
1044 1045 1046
      }
    },
    {
1047
      "id": "railway_service",
Jonas Heinrich's avatar
Jonas Heinrich committed
1048 1049
      "type": "line",
      "metadata": {
1050
        "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
Jonas Heinrich's avatar
Jonas Heinrich committed
1051 1052 1053
      },
      "source": "openmaptiles",
      "source-layer": "transportation",
1054
      "minzoom": 16,
Jonas Heinrich's avatar
Jonas Heinrich committed
1055 1056 1057 1058
      "filter": [
        "all",
        [
          "==",
1059 1060
          "$type",
          "LineString"
Jonas Heinrich's avatar
Jonas Heinrich committed
1061 1062
        ],
        [
1063 1064 1065 1066 1067 1068 1069 1070 1071 1072
          "all",
          [
            "==",
            "class",
            "rail"
          ],
          [
            "has",
            "service"
          ]
Jonas Heinrich's avatar
Jonas Heinrich committed
1073 1074 1075
        ]
      ],
      "layout": {
1076 1077
        "visibility": "visible",
        "line-join": "round"
Jonas Heinrich's avatar
Jonas Heinrich committed
1078 1079
      },
      "paint": {
1080 1081
        "line-color": "#dddddd",
        "line-width": 3
Jonas Heinrich's avatar
Jonas Heinrich committed
1082 1083 1084
      }
    },
    {
1085
      "id": "railway_service_dashline",
Jonas Heinrich's avatar
Jonas Heinrich committed
1086 1087
      "type": "line",
      "metadata": {
1088
        "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
Jonas Heinrich's avatar
Jonas Heinrich committed
1089 1090 1091
      },
      "source": "openmaptiles",
      "source-layer": "transportation",
1092
      "minzoom": 16,
Jonas Heinrich's avatar
Jonas Heinrich committed
1093 1094 1095 1096
      "filter": [
        "all",
        [
          "==",
1097 1098
          "$type",
          "LineString"
Jonas Heinrich's avatar
Jonas Heinrich committed
1099 1100 1101 1102 1103
        ],
        [
          "==",
          "class",
          "rail"
1104 1105 1106 1107
        ],
        [
          "has",
          "service"
Jonas Heinrich's avatar
Jonas Heinrich committed
1108 1109
        ]
      ],
1110 1111 1112 1113
      "layout": {
        "visibility": "visible",
        "line-join": "round"
      },
Jonas Heinrich's avatar
Jonas Heinrich committed
1114
      "paint": {
1115 1116
        "line-color": "#fafafa",
        "line-width": 2,
Jonas Heinrich's avatar
Jonas Heinrich committed
1117
        "line-dasharray": [
1118 1119
          3,
          3
Jonas Heinrich's avatar
Jonas Heinrich committed
1120 1121 1122 1123
        ]
      }
    },
    {
1124
      "id": "railway",
Jonas Heinrich's avatar
Jonas Heinrich committed
1125 1126
      "type": "line",
      "metadata": {
1127
        "mapbox:group": "b6371a3f2f5a9932464fa3867530a2e5"
Jonas Heinrich's avatar
Jonas Heinrich committed
1128 1129
      },
      "source": "openmaptiles",
1130 1131
      "source-layer": "transportation",
      "minzoom": 13,