@openhistoricalmap/map-styles 0.9.7 → 0.9.10

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 8,
3
- "name": "ohmbasemap",
3
+ "name": "ohm-historical",
4
4
  "metadata": {
5
5
  "maputnik:renderer": "mbgljs"
6
6
  },
@@ -213,16 +213,82 @@
213
213
  "visibility": "visible"
214
214
  },
215
215
  "paint": {
216
- "fill-color": "rgba(244, 244, 235, 1)"
216
+ "fill-color": "rgba(255, 0, 0, 0.03)"
217
217
  }
218
218
  },
219
219
  {
220
- "id": "airports",
220
+ "id": "military-pattern",
221
+ "type": "fill",
222
+ "source": "osm",
223
+ "source-layer": "other_areas",
224
+ "filter": [
225
+ "==",
226
+ [
227
+ "get",
228
+ "class"
229
+ ],
230
+ "military"
231
+ ],
232
+ "layout": {
233
+ "visibility": "visible"
234
+ },
235
+ "paint": {
236
+ "fill-pattern": "military-fill"
237
+ }
238
+ },
239
+ {
240
+ "id": "aero_aerodrome_area",
241
+ "type": "fill",
242
+ "source": "osm",
243
+ "source-layer": "transport_areas",
244
+ "minzoom": 10,
245
+ "maxzoom": 24,
246
+ "filter": [
247
+ "==",
248
+ [
249
+ "get",
250
+ "type"
251
+ ],
252
+ "aerodrome"
253
+ ],
254
+ "layout": {
255
+ "visibility": "visible"
256
+ },
257
+ "paint": {
258
+ "fill-color": "rgba(245, 245, 240, 1)",
259
+ "fill-outline-color": "rgba(214, 212, 212, 1)"
260
+ }
261
+ },
262
+ {
263
+ "id": "aero_heliport_area",
221
264
  "type": "fill",
222
265
  "source": "osm",
223
266
  "source-layer": "transport_areas",
224
267
  "minzoom": 12,
225
268
  "maxzoom": 24,
269
+ "filter": [
270
+ "==",
271
+ [
272
+ "get",
273
+ "type"
274
+ ],
275
+ "helipad"
276
+ ],
277
+ "layout": {
278
+ "visibility": "visible"
279
+ },
280
+ "paint": {
281
+ "fill-color": "rgba(240, 240, 240, 1)",
282
+ "fill-outline-color": "rgba(214, 212, 212, 1)"
283
+ }
284
+ },
285
+ {
286
+ "id": "airports",
287
+ "type": "fill",
288
+ "source": "osm",
289
+ "source-layer": "transport_areas",
290
+ "minzoom": 11,
291
+ "maxzoom": 24,
226
292
  "filter": [
227
293
  "==",
228
294
  [
@@ -235,7 +301,51 @@
235
301
  "visibility": "visible"
236
302
  },
237
303
  "paint": {
238
- "fill-color": "rgba(221, 221, 221, 1)"
304
+ "fill-color": "rgba(235, 235, 225, 1)"
305
+ }
306
+ },
307
+ {
308
+ "id": "nature_reserve_fill",
309
+ "type": "fill",
310
+ "source": "osm",
311
+ "source-layer": "landuse_areas",
312
+ "minzoom": 6,
313
+ "maxzoom": 24,
314
+ "filter": [
315
+ "in",
316
+ [
317
+ "get",
318
+ "type"
319
+ ],
320
+ [
321
+ "literal",
322
+ [
323
+ "nature_reserve"
324
+ ]
325
+ ]
326
+ ],
327
+ "layout": {
328
+ "visibility": "visible"
329
+ },
330
+ "paint": {
331
+ "fill-color": [
332
+ "interpolate",
333
+ [
334
+ "linear"
335
+ ],
336
+ [
337
+ "zoom"
338
+ ],
339
+ 0,
340
+ "rgba(172, 221, 153, .3)",
341
+ 4,
342
+ "rgba(168, 213, 159, .3)",
343
+ 5,
344
+ "rgba(183, 234, 163, .3)",
345
+ 7,
346
+ "rgba(180, 252, 174, .3)"
347
+ ],
348
+ "fill-opacity": 1
239
349
  }
240
350
  },
241
351
  {
@@ -243,7 +353,7 @@
243
353
  "type": "fill",
244
354
  "source": "osm",
245
355
  "source-layer": "landuse_areas",
246
- "minzoom": 0,
356
+ "minzoom": 6,
247
357
  "maxzoom": 24,
248
358
  "filter": [
249
359
  "in",
@@ -255,7 +365,6 @@
255
365
  "literal",
256
366
  [
257
367
  "forest",
258
- "nature_reserve",
259
368
  "park",
260
369
  "wood"
261
370
  ]
@@ -350,10 +459,10 @@
350
459
  ],
351
460
  "park",
352
461
  "rgba(208, 220, 174, 1)",
353
- "nature_reserve",
354
- "rgba(212, 225, 211, 0.3)",
355
462
  "pitch",
356
463
  "rgba(69, 150, 7, 0.39)",
464
+ "nature_reserve",
465
+ "rgba(212, 225, 211, 0.3)",
357
466
  "golf_course",
358
467
  "rgba(236, 240, 198, 1)",
359
468
  "transparent"
@@ -398,7 +507,7 @@
398
507
  "construction",
399
508
  "rgba(242, 242, 235, 1)",
400
509
  "railway",
401
- "rgba(224, 224, 224, 1)",
510
+ "rgba(214, 214, 214, 1)",
402
511
  "college",
403
512
  "rgba(226, 214, 205, 1)",
404
513
  "school",
@@ -417,7 +526,7 @@
417
526
  "type": "fill",
418
527
  "source": "osm",
419
528
  "source-layer": "landuse_areas",
420
- "minzoom": 12,
529
+ "minzoom": 10,
421
530
  "maxzoom": 24,
422
531
  "layout": {
423
532
  "visibility": "visible"
@@ -528,7 +637,7 @@
528
637
  "forest",
529
638
  "rgba(193, 208, 158, 1)",
530
639
  "wood",
531
- "#C1D09E",
640
+ "rgba(220, 232, 194, 1)",
532
641
  "scrub",
533
642
  "rgba(199, 222, 194, 1)",
534
643
  "transparent"
@@ -582,7 +691,7 @@
582
691
  }
583
692
  },
584
693
  {
585
- "id": "landuse_areas_z12_developed_open_space",
694
+ "id": "landuse_areas_z12_developed_open_space_larger",
586
695
  "type": "fill",
587
696
  "source": "osm",
588
697
  "source-layer": "landuse_areas",
@@ -611,20 +720,77 @@
611
720
  "rgba(208, 220, 174, 1)",
612
721
  "cemetery",
613
722
  "rgba(214, 222, 210, 1)",
614
- "grave_yard",
615
- "rgba(214, 222, 210, 1)",
616
723
  "sports_centre",
617
724
  "rgba(208, 220, 174, 1)",
618
725
  "stadium",
619
726
  "rgba(208, 220, 174, 1)",
620
727
  "recreation_ground",
621
728
  "rgba(208, 220, 174, 1)",
729
+ "transparent"
730
+ ]
731
+ ],
732
+ "fill-outline-color": [
733
+ "interpolate",
734
+ [
735
+ "linear"
736
+ ],
737
+ [
738
+ "zoom"
739
+ ],
740
+ 0,
741
+ [
742
+ "match",
743
+ [
744
+ "get",
745
+ "type"
746
+ ],
747
+ "bleachers",
748
+ "rgba(195, 188, 188, 1)",
749
+ "playground",
750
+ "rgba(208, 220, 174, 1)",
751
+ "transparent"
752
+ ]
753
+ ]
754
+ }
755
+ },
756
+ {
757
+ "id": "landuse_areas_z12_developed_open_space_smaller",
758
+ "type": "fill",
759
+ "source": "osm",
760
+ "source-layer": "landuse_areas",
761
+ "minzoom": 12,
762
+ "maxzoom": 24,
763
+ "layout": {
764
+ "visibility": "visible"
765
+ },
766
+ "paint": {
767
+ "fill-color": [
768
+ "interpolate",
769
+ [
770
+ "linear"
771
+ ],
772
+ [
773
+ "zoom"
774
+ ],
775
+ 0,
776
+ [
777
+ "match",
778
+ [
779
+ "get",
780
+ "type"
781
+ ],
782
+ "grave_yard",
783
+ "rgba(214, 222, 210, 1)",
622
784
  "picnic_site",
623
785
  "rgba(208, 220, 174, 1)",
624
786
  "camp_site",
625
787
  "rgba(208, 220, 174, 1)",
626
788
  "playground",
627
789
  "rgba(208, 220, 174, 1)",
790
+ "pitch",
791
+ "rgba(156, 193, 103, 1)",
792
+ "track",
793
+ "rgba(202, 184, 180, 1)",
628
794
  "bleachers",
629
795
  "rgba(220, 215, 215, 1)",
630
796
  "transparent"
@@ -669,7 +835,7 @@
669
835
  "type": "line",
670
836
  "source": "osm",
671
837
  "source-layer": "landuse_areas",
672
- "minzoom": 10,
838
+ "minzoom": 6,
673
839
  "maxzoom": 24,
674
840
  "filter": [
675
841
  "==",
@@ -781,6 +947,8 @@
781
947
  "type": "fill",
782
948
  "source": "osm",
783
949
  "source-layer": "transport_areas",
950
+ "minzoom": 14,
951
+ "maxzoom": 24,
784
952
  "filter": [
785
953
  "all",
786
954
  [
@@ -796,18 +964,13 @@
796
964
  "pedestrian"
797
965
  ]
798
966
  ]
799
- ],
800
- [
801
- "==",
802
- [
803
- "get",
804
- "area"
805
- ],
806
- "yes"
807
967
  ]
808
968
  ],
969
+ "layout": {
970
+ "visibility": "visible"
971
+ },
809
972
  "paint": {
810
- "fill-color": "rgba(234,234,234, 1)",
973
+ "fill-color": "rgba(246, 246, 246, 1)",
811
974
  "fill-outline-color": "rgba(230,230,230, 1)"
812
975
  }
813
976
  },
@@ -1816,11 +1979,11 @@
1816
1979
  }
1817
1980
  },
1818
1981
  {
1819
- "id": "aero_aerodrome_area",
1982
+ "id": "transport_traverser",
1820
1983
  "type": "fill",
1821
1984
  "source": "osm",
1822
1985
  "source-layer": "transport_areas",
1823
- "minzoom": 12,
1986
+ "minzoom": 14,
1824
1987
  "maxzoom": 24,
1825
1988
  "filter": [
1826
1989
  "==",
@@ -1828,22 +1991,92 @@
1828
1991
  "get",
1829
1992
  "type"
1830
1993
  ],
1831
- "aerodrome"
1994
+ "traverser"
1832
1995
  ],
1833
1996
  "layout": {
1834
1997
  "visibility": "visible"
1835
1998
  },
1836
1999
  "paint": {
1837
- "fill-color": "rgba(245, 245, 245, 1)",
1838
- "fill-outline-color": "rgba(214, 212, 212, 1)"
2000
+ "fill-color": "rgba(189, 141, 125, 0.15)",
2001
+ "fill-opacity": 1,
2002
+ "fill-outline-color": "rgba(208, 200, 200, 1)"
1839
2003
  }
1840
2004
  },
1841
2005
  {
1842
- "id": "aero_heliport_area",
2006
+ "id": "transport_turntable",
1843
2007
  "type": "fill",
1844
2008
  "source": "osm",
1845
2009
  "source-layer": "transport_areas",
1846
- "minzoom": 12,
2010
+ "minzoom": 14,
2011
+ "filter": [
2012
+ "==",
2013
+ [
2014
+ "get",
2015
+ "type"
2016
+ ],
2017
+ "turntable"
2018
+ ],
2019
+ "layout": {
2020
+ "visibility": "visible"
2021
+ },
2022
+ "paint": {
2023
+ "fill-color": "rgba(189, 141, 125, 0.15)",
2024
+ "fill-opacity": 1,
2025
+ "fill-outline-color": "rgba(208, 200, 200, 1)"
2026
+ }
2027
+ },
2028
+ {
2029
+ "id": "transport_passenger_platform",
2030
+ "type": "fill",
2031
+ "source": "osm",
2032
+ "source-layer": "transport_areas",
2033
+ "minzoom": 14,
2034
+ "filter": [
2035
+ "==",
2036
+ [
2037
+ "get",
2038
+ "type"
2039
+ ],
2040
+ "platform"
2041
+ ],
2042
+ "layout": {
2043
+ "visibility": "visible"
2044
+ },
2045
+ "paint": {
2046
+ "fill-color": "rgba(117, 101, 101, 0.15)",
2047
+ "fill-opacity": 1,
2048
+ "fill-outline-color": "rgba(208, 200, 200, 1)"
2049
+ }
2050
+ },
2051
+ {
2052
+ "id": "transport_freight_platform",
2053
+ "type": "fill",
2054
+ "source": "osm",
2055
+ "source-layer": "transport_areas",
2056
+ "minzoom": 14,
2057
+ "filter": [
2058
+ "==",
2059
+ [
2060
+ "get",
2061
+ "type"
2062
+ ],
2063
+ "loading_ramp"
2064
+ ],
2065
+ "layout": {
2066
+ "visibility": "visible"
2067
+ },
2068
+ "paint": {
2069
+ "fill-color": "rgba(117, 101, 101, 0.15)",
2070
+ "fill-opacity": 1,
2071
+ "fill-outline-color": "rgba(208, 200, 200, 1)"
2072
+ }
2073
+ },
2074
+ {
2075
+ "id": "terminals",
2076
+ "type": "fill",
2077
+ "source": "osm",
2078
+ "source-layer": "transport_areas",
2079
+ "minzoom": 11,
1847
2080
  "maxzoom": 24,
1848
2081
  "filter": [
1849
2082
  "==",
@@ -1851,14 +2084,14 @@
1851
2084
  "get",
1852
2085
  "type"
1853
2086
  ],
1854
- "helipad"
2087
+ "terminal"
1855
2088
  ],
1856
2089
  "layout": {
1857
2090
  "visibility": "visible"
1858
2091
  },
1859
2092
  "paint": {
1860
- "fill-color": "rgba(240, 240, 240, 1)",
1861
- "fill-outline-color": "rgba(214, 212, 212, 1)"
2093
+ "fill-color": "rgba(230, 230, 233, 1)",
2094
+ "fill-outline-color": "rgba(32, 32, 32, .7)"
1862
2095
  }
1863
2096
  },
1864
2097
  {
@@ -1866,7 +2099,7 @@
1866
2099
  "type": "line",
1867
2100
  "source": "osm",
1868
2101
  "source-layer": "transport_lines",
1869
- "minzoom": 12,
2102
+ "minzoom": 11,
1870
2103
  "maxzoom": 24,
1871
2104
  "filter": [
1872
2105
  "==",
@@ -1880,7 +2113,7 @@
1880
2113
  "visibility": "visible"
1881
2114
  },
1882
2115
  "paint": {
1883
- "line-color": "rgba(220, 220, 220, 1)",
2116
+ "line-color": "rgba(200, 200, 200, 1)",
1884
2117
  "line-width": [
1885
2118
  "interpolate",
1886
2119
  [
@@ -1894,7 +2127,7 @@
1894
2127
  13,
1895
2128
  1.5,
1896
2129
  18,
1897
- 4
2130
+ 8
1898
2131
  ]
1899
2132
  }
1900
2133
  },
@@ -1903,7 +2136,7 @@
1903
2136
  "type": "line",
1904
2137
  "source": "osm",
1905
2138
  "source-layer": "transport_lines",
1906
- "minzoom": 12,
2139
+ "minzoom": 10,
1907
2140
  "maxzoom": 24,
1908
2141
  "filter": [
1909
2142
  "==",
@@ -1917,19 +2150,20 @@
1917
2150
  "visibility": "visible"
1918
2151
  },
1919
2152
  "paint": {
1920
- "line-color": "rgba(220, 220, 220, 1)",
2153
+ "line-color": "rgba(200, 200, 200, 1)",
1921
2154
  "line-width": [
1922
2155
  "interpolate",
1923
2156
  [
1924
- "linear"
2157
+ "exponential",
2158
+ 1.8
1925
2159
  ],
1926
2160
  [
1927
2161
  "zoom"
1928
2162
  ],
1929
2163
  12,
1930
2164
  1.5,
1931
- 18,
1932
- 25
2165
+ 14,
2166
+ 15
1933
2167
  ]
1934
2168
  }
1935
2169
  },
@@ -5855,10 +6089,10 @@
5855
6089
  [
5856
6090
  "zoom"
5857
6091
  ],
5858
- 13,
5859
- 4,
5860
- 18,
5861
- 17
6092
+ 14,
6093
+ 2,
6094
+ 24,
6095
+ 6
5862
6096
  ]
5863
6097
  }
5864
6098
  },
@@ -6527,15 +6761,15 @@
6527
6761
  "interpolate",
6528
6762
  [
6529
6763
  "exponential",
6530
- 1.5
6764
+ 2
6531
6765
  ],
6532
6766
  [
6533
6767
  "zoom"
6534
6768
  ],
6535
- 12,
6536
- 2,
6769
+ 14,
6770
+ 1.5,
6537
6771
  18,
6538
- 12
6772
+ 14
6539
6773
  ]
6540
6774
  }
6541
6775
  },
@@ -7217,6 +7451,14 @@
7217
7451
  ]
7218
7452
  ]
7219
7453
  ]
7454
+ ],
7455
+ [
7456
+ "==",
7457
+ [
7458
+ "get",
7459
+ "tunnel"
7460
+ ],
7461
+ 0
7220
7462
  ]
7221
7463
  ],
7222
7464
  "layout": {
@@ -7455,6 +7697,14 @@
7455
7697
  ]
7456
7698
  ]
7457
7699
  ]
7700
+ ],
7701
+ [
7702
+ "==",
7703
+ [
7704
+ "get",
7705
+ "tunnel"
7706
+ ],
7707
+ 0
7458
7708
  ]
7459
7709
  ],
7460
7710
  "layout": {
@@ -7639,6 +7889,14 @@
7639
7889
  "usage"
7640
7890
  ],
7641
7891
  "main"
7892
+ ],
7893
+ [
7894
+ "==",
7895
+ [
7896
+ "get",
7897
+ "tunnel"
7898
+ ],
7899
+ 0
7642
7900
  ]
7643
7901
  ],
7644
7902
  "layout": {
@@ -7666,7 +7924,7 @@
7666
7924
  }
7667
7925
  },
7668
7926
  {
7669
- "id": "roads_rail-main-dash",
7927
+ "id": "roads_rail-tunnel",
7670
7928
  "type": "line",
7671
7929
  "source": "osm",
7672
7930
  "source-layer": "transport_lines",
@@ -7690,19 +7948,59 @@
7690
7948
  ]
7691
7949
  ],
7692
7950
  [
7693
- "!",
7951
+ "==",
7694
7952
  [
7695
- "in",
7696
- [
7697
- "get",
7698
- "service"
7699
- ],
7953
+ "get",
7954
+ "tunnel"
7955
+ ],
7956
+ 1
7957
+ ]
7958
+ ],
7959
+ "layout": {
7960
+ "visibility": "visible",
7961
+ "line-cap": "round",
7962
+ "line-join": "round"
7963
+ },
7964
+ "paint": {
7965
+ "line-color": "rgba(201, 211, 218, 1)",
7966
+ "line-width": [
7967
+ "interpolate",
7968
+ [
7969
+ "linear"
7970
+ ],
7971
+ [
7972
+ "zoom"
7973
+ ],
7974
+ 7,
7975
+ 3,
7976
+ 12,
7977
+ 4,
7978
+ 20,
7979
+ 5
7980
+ ]
7981
+ }
7982
+ },
7983
+ {
7984
+ "id": "roads_rail-bridge",
7985
+ "type": "line",
7986
+ "source": "osm",
7987
+ "source-layer": "transport_lines",
7988
+ "minzoom": 7,
7989
+ "maxzoom": 24,
7990
+ "filter": [
7991
+ "all",
7992
+ [
7993
+ "in",
7994
+ [
7995
+ "get",
7996
+ "type"
7997
+ ],
7998
+ [
7999
+ "literal",
7700
8000
  [
7701
- "literal",
7702
- [
7703
- "siding",
7704
- "yard"
7705
- ]
8001
+ "light_rail",
8002
+ "preserved",
8003
+ "rail"
7706
8004
  ]
7707
8005
  ]
7708
8006
  ],
@@ -7710,9 +8008,97 @@
7710
8008
  "==",
7711
8009
  [
7712
8010
  "get",
7713
- "usage"
8011
+ "bridge"
7714
8012
  ],
7715
- "main"
8013
+ 1
8014
+ ]
8015
+ ],
8016
+ "layout": {
8017
+ "visibility": "visible",
8018
+ "line-cap": "round",
8019
+ "line-join": "round"
8020
+ },
8021
+ "paint": {
8022
+ "line-color": "rgba(148, 159, 168, 1)",
8023
+ "line-width": [
8024
+ "interpolate",
8025
+ [
8026
+ "linear"
8027
+ ],
8028
+ [
8029
+ "zoom"
8030
+ ],
8031
+ 7,
8032
+ 4,
8033
+ 12,
8034
+ 7,
8035
+ 20,
8036
+ 10
8037
+ ]
8038
+ }
8039
+ },
8040
+ {
8041
+ "id": "roads_rail-yard-siding",
8042
+ "type": "line",
8043
+ "source": "osm",
8044
+ "source-layer": "transport_lines",
8045
+ "minzoom": 7,
8046
+ "maxzoom": 24,
8047
+ "filter": [
8048
+ "in",
8049
+ [
8050
+ "get",
8051
+ "service"
8052
+ ],
8053
+ [
8054
+ "literal",
8055
+ [
8056
+ "siding",
8057
+ "yard"
8058
+ ]
8059
+ ]
8060
+ ],
8061
+ "layout": {
8062
+ "visibility": "visible",
8063
+ "line-cap": "square",
8064
+ "line-join": "round"
8065
+ },
8066
+ "paint": {
8067
+ "line-color": "rgba(167, 179, 188, 1)",
8068
+ "line-width": [
8069
+ "interpolate",
8070
+ [
8071
+ "linear"
8072
+ ],
8073
+ [
8074
+ "zoom"
8075
+ ],
8076
+ 12,
8077
+ 0.5,
8078
+ 20,
8079
+ 1.25
8080
+ ]
8081
+ }
8082
+ },
8083
+ {
8084
+ "id": "roads_rail-yard-siding-dash",
8085
+ "type": "line",
8086
+ "source": "osm",
8087
+ "source-layer": "transport_lines",
8088
+ "minzoom": 7,
8089
+ "maxzoom": 24,
8090
+ "filter": [
8091
+ "in",
8092
+ [
8093
+ "get",
8094
+ "service"
8095
+ ],
8096
+ [
8097
+ "literal",
8098
+ [
8099
+ "siding",
8100
+ "yard"
8101
+ ]
7716
8102
  ]
7717
8103
  ],
7718
8104
  "layout": {
@@ -7730,9 +8116,11 @@
7730
8116
  "zoom"
7731
8117
  ],
7732
8118
  6,
7733
- "rgba(223, 223, 223, 1)",
8119
+ "rgba(196, 196, 197, 1)",
8120
+ 12,
8121
+ "rgba(238, 238, 238, 1)",
7734
8122
  15,
7735
- "rgba(255, 255, 255, 1)"
8123
+ "rgba(244, 244, 244, 1)"
7736
8124
  ],
7737
8125
  "line-width": [
7738
8126
  "interpolate",
@@ -7742,12 +8130,10 @@
7742
8130
  [
7743
8131
  "zoom"
7744
8132
  ],
7745
- 7,
7746
- 1.5,
7747
8133
  12,
7748
- 2,
8134
+ 0.5,
7749
8135
  20,
7750
- 3
8136
+ 1.25
7751
8137
  ],
7752
8138
  "line-dasharray": [
7753
8139
  "step",
@@ -7761,44 +8147,73 @@
7761
8147
  7
7762
8148
  ]
7763
8149
  ],
7764
- 12,
8150
+ 15,
7765
8151
  [
7766
8152
  "literal",
7767
8153
  [
7768
8154
  5,
7769
8155
  5
7770
8156
  ]
7771
- ],
7772
- 15,
7773
- [
7774
- "literal",
7775
- [
7776
- 4,
7777
- 4
7778
- ]
7779
8157
  ]
7780
8158
  ]
7781
8159
  }
7782
8160
  },
7783
8161
  {
7784
- "id": "roads_rail-yard-siding",
8162
+ "id": "roads_rail",
7785
8163
  "type": "line",
7786
8164
  "source": "osm",
7787
8165
  "source-layer": "transport_lines",
7788
8166
  "minzoom": 7,
7789
8167
  "maxzoom": 24,
7790
8168
  "filter": [
7791
- "in",
8169
+ "all",
8170
+ [
8171
+ "in",
8172
+ [
8173
+ "get",
8174
+ "type"
8175
+ ],
8176
+ [
8177
+ "literal",
8178
+ [
8179
+ "light_rail",
8180
+ "preserved",
8181
+ "rail"
8182
+ ]
8183
+ ]
8184
+ ],
8185
+ [
8186
+ "!",
8187
+ [
8188
+ "in",
8189
+ [
8190
+ "get",
8191
+ "service"
8192
+ ],
8193
+ [
8194
+ "literal",
8195
+ [
8196
+ "siding",
8197
+ "yard"
8198
+ ]
8199
+ ]
8200
+ ]
8201
+ ],
7792
8202
  [
7793
- "get",
7794
- "service"
8203
+ "!=",
8204
+ [
8205
+ "get",
8206
+ "usage"
8207
+ ],
8208
+ "main"
7795
8209
  ],
7796
8210
  [
7797
- "literal",
8211
+ "==",
7798
8212
  [
7799
- "siding",
7800
- "yard"
7801
- ]
8213
+ "get",
8214
+ "tunnel"
8215
+ ],
8216
+ 0
7802
8217
  ]
7803
8218
  ],
7804
8219
  "layout": {
@@ -7807,7 +8222,19 @@
7807
8222
  "line-join": "round"
7808
8223
  },
7809
8224
  "paint": {
7810
- "line-color": "rgba(167, 179, 188, 1)",
8225
+ "line-color": [
8226
+ "interpolate",
8227
+ [
8228
+ "linear"
8229
+ ],
8230
+ [
8231
+ "zoom"
8232
+ ],
8233
+ 7,
8234
+ "rgba(193, 203, 211, 1)",
8235
+ 12,
8236
+ "rgba(167, 179, 188, 1)"
8237
+ ],
7811
8238
  "line-width": [
7812
8239
  "interpolate",
7813
8240
  [
@@ -7816,32 +8243,71 @@
7816
8243
  [
7817
8244
  "zoom"
7818
8245
  ],
8246
+ 7,
8247
+ 3,
7819
8248
  12,
7820
- 0.5,
8249
+ 4,
7821
8250
  20,
7822
- 1.25
8251
+ 5
7823
8252
  ]
7824
8253
  }
7825
8254
  },
7826
8255
  {
7827
- "id": "roads_rail-yard-siding-dash",
8256
+ "id": "roads_rail-main-dash",
7828
8257
  "type": "line",
7829
8258
  "source": "osm",
7830
8259
  "source-layer": "transport_lines",
7831
8260
  "minzoom": 7,
7832
8261
  "maxzoom": 24,
7833
8262
  "filter": [
7834
- "in",
8263
+ "all",
7835
8264
  [
7836
- "get",
7837
- "service"
8265
+ "in",
8266
+ [
8267
+ "get",
8268
+ "type"
8269
+ ],
8270
+ [
8271
+ "literal",
8272
+ [
8273
+ "light_rail",
8274
+ "preserved",
8275
+ "rail"
8276
+ ]
8277
+ ]
7838
8278
  ],
7839
8279
  [
7840
- "literal",
8280
+ "!",
7841
8281
  [
7842
- "siding",
7843
- "yard"
8282
+ "in",
8283
+ [
8284
+ "get",
8285
+ "service"
8286
+ ],
8287
+ [
8288
+ "literal",
8289
+ [
8290
+ "siding",
8291
+ "yard"
8292
+ ]
8293
+ ]
7844
8294
  ]
8295
+ ],
8296
+ [
8297
+ "==",
8298
+ [
8299
+ "get",
8300
+ "usage"
8301
+ ],
8302
+ "main"
8303
+ ],
8304
+ [
8305
+ "==",
8306
+ [
8307
+ "get",
8308
+ "tunnel"
8309
+ ],
8310
+ 0
7845
8311
  ]
7846
8312
  ],
7847
8313
  "layout": {
@@ -7859,11 +8325,9 @@
7859
8325
  "zoom"
7860
8326
  ],
7861
8327
  6,
7862
- "rgba(196, 196, 197, 1)",
7863
- 12,
7864
- "rgba(238, 238, 238, 1)",
8328
+ "rgba(223, 223, 223, 1)",
7865
8329
  15,
7866
- "rgba(244, 244, 244, 1)"
8330
+ "rgba(255, 255, 255, 1)"
7867
8331
  ],
7868
8332
  "line-width": [
7869
8333
  "interpolate",
@@ -7873,10 +8337,12 @@
7873
8337
  [
7874
8338
  "zoom"
7875
8339
  ],
8340
+ 7,
8341
+ 1.5,
7876
8342
  12,
7877
- 0.5,
8343
+ 2,
7878
8344
  20,
7879
- 1.25
8345
+ 3
7880
8346
  ],
7881
8347
  "line-dasharray": [
7882
8348
  "step",
@@ -7890,19 +8356,27 @@
7890
8356
  7
7891
8357
  ]
7892
8358
  ],
7893
- 15,
8359
+ 12,
7894
8360
  [
7895
8361
  "literal",
7896
8362
  [
7897
8363
  5,
7898
8364
  5
7899
8365
  ]
8366
+ ],
8367
+ 15,
8368
+ [
8369
+ "literal",
8370
+ [
8371
+ 4,
8372
+ 4
8373
+ ]
7900
8374
  ]
7901
8375
  ]
7902
8376
  }
7903
8377
  },
7904
8378
  {
7905
- "id": "roads_rail",
8379
+ "id": "roads_rail-dash-tunnel",
7906
8380
  "type": "line",
7907
8381
  "source": "osm",
7908
8382
  "source-layer": "transport_lines",
@@ -7926,34 +8400,17 @@
7926
8400
  ]
7927
8401
  ],
7928
8402
  [
7929
- "!",
7930
- [
7931
- "in",
7932
- [
7933
- "get",
7934
- "service"
7935
- ],
7936
- [
7937
- "literal",
7938
- [
7939
- "siding",
7940
- "yard"
7941
- ]
7942
- ]
7943
- ]
7944
- ],
7945
- [
7946
- "!=",
8403
+ "==",
7947
8404
  [
7948
8405
  "get",
7949
- "usage"
8406
+ "tunnel"
7950
8407
  ],
7951
- "main"
8408
+ 1
7952
8409
  ]
7953
8410
  ],
7954
8411
  "layout": {
7955
8412
  "visibility": "visible",
7956
- "line-cap": "square",
8413
+ "line-cap": "round",
7957
8414
  "line-join": "round"
7958
8415
  },
7959
8416
  "paint": {
@@ -7965,10 +8422,10 @@
7965
8422
  [
7966
8423
  "zoom"
7967
8424
  ],
7968
- 7,
7969
- "rgba(193, 203, 211, 1)",
7970
- 12,
7971
- "rgba(167, 179, 188, 1)"
8425
+ 6,
8426
+ "rgba(223, 223, 223, 1)",
8427
+ 15,
8428
+ "rgba(255, 255, 255, 1)"
7972
8429
  ],
7973
8430
  "line-width": [
7974
8431
  "interpolate",
@@ -7979,11 +8436,40 @@
7979
8436
  "zoom"
7980
8437
  ],
7981
8438
  7,
7982
- 3,
8439
+ 1,
7983
8440
  12,
7984
- 4,
8441
+ 1.5,
7985
8442
  20,
7986
- 5
8443
+ 2
8444
+ ],
8445
+ "line-dasharray": [
8446
+ "step",
8447
+ [
8448
+ "zoom"
8449
+ ],
8450
+ [
8451
+ "literal",
8452
+ [
8453
+ 5,
8454
+ 5
8455
+ ]
8456
+ ],
8457
+ 12,
8458
+ [
8459
+ "literal",
8460
+ [
8461
+ 3,
8462
+ 3
8463
+ ]
8464
+ ],
8465
+ 15,
8466
+ [
8467
+ "literal",
8468
+ [
8469
+ 2,
8470
+ 2
8471
+ ]
8472
+ ]
7987
8473
  ]
7988
8474
  }
7989
8475
  },
@@ -8035,6 +8521,14 @@
8035
8521
  "usage"
8036
8522
  ],
8037
8523
  "main"
8524
+ ],
8525
+ [
8526
+ "==",
8527
+ [
8528
+ "get",
8529
+ "tunnel"
8530
+ ],
8531
+ 0
8038
8532
  ]
8039
8533
  ],
8040
8534
  "layout": {
@@ -9896,7 +10390,7 @@
9896
10390
  "id": "water_pointlabels_ocean_sea",
9897
10391
  "type": "symbol",
9898
10392
  "source": "osm",
9899
- "source-layer": "place_points",
10393
+ "source-layer": "place_points_centroids",
9900
10394
  "minzoom": 0,
9901
10395
  "maxzoom": 24,
9902
10396
  "filter": [
@@ -10150,7 +10644,7 @@
10150
10644
  "id": "landuse_areaslabels_park",
10151
10645
  "type": "symbol",
10152
10646
  "source": "osm",
10153
- "source-layer": "landuse_areas_centroids",
10647
+ "source-layer": "landuse_points_centroids",
10154
10648
  "minzoom": 14,
10155
10649
  "maxzoom": 24,
10156
10650
  "filter": [
@@ -10224,7 +10718,7 @@
10224
10718
  "id": "landuse_areaslabels_farming",
10225
10719
  "type": "symbol",
10226
10720
  "source": "osm",
10227
- "source-layer": "landuse_areas_centroids",
10721
+ "source-layer": "landuse_points_centroids",
10228
10722
  "minzoom": 14,
10229
10723
  "maxzoom": 24,
10230
10724
  "filter": [
@@ -10266,7 +10760,7 @@
10266
10760
  "id": "landuse_areaslabels_forest",
10267
10761
  "type": "symbol",
10268
10762
  "source": "osm",
10269
- "source-layer": "landuse_areas_centroids",
10763
+ "source-layer": "landuse_points_centroids",
10270
10764
  "minzoom": 14,
10271
10765
  "maxzoom": 24,
10272
10766
  "filter": [
@@ -10279,7 +10773,6 @@
10279
10773
  "literal",
10280
10774
  [
10281
10775
  "forest",
10282
- "nature_reserve",
10283
10776
  "wood"
10284
10777
  ]
10285
10778
  ]
@@ -10300,11 +10793,47 @@
10300
10793
  "text-halo-width": 1
10301
10794
  }
10302
10795
  },
10796
+ {
10797
+ "id": "landuse_areaslabels_nature_reserve",
10798
+ "type": "symbol",
10799
+ "source": "osm",
10800
+ "source-layer": "landuse_points_centroids",
10801
+ "minzoom": 6,
10802
+ "maxzoom": 12,
10803
+ "filter": [
10804
+ "in",
10805
+ [
10806
+ "get",
10807
+ "type"
10808
+ ],
10809
+ [
10810
+ "literal",
10811
+ [
10812
+ "nature_reserve"
10813
+ ]
10814
+ ]
10815
+ ],
10816
+ "layout": {
10817
+ "text-size": 24,
10818
+ "text-field": [
10819
+ "get",
10820
+ "name"
10821
+ ],
10822
+ "text-font": [
10823
+ "OpenHistorical"
10824
+ ]
10825
+ },
10826
+ "paint": {
10827
+ "text-color": "rgba(95, 107, 71, 1)",
10828
+ "text-halo-color": "rgba(201, 213, 190, 1)",
10829
+ "text-halo-width": 1
10830
+ }
10831
+ },
10303
10832
  {
10304
10833
  "id": "landuse_areaslabels_school",
10305
10834
  "type": "symbol",
10306
10835
  "source": "osm",
10307
- "source-layer": "landuse_areas_centroids",
10836
+ "source-layer": "landuse_points_centroids",
10308
10837
  "minzoom": 14,
10309
10838
  "maxzoom": 24,
10310
10839
  "filter": [
@@ -10340,11 +10869,42 @@
10340
10869
  "text-halo-width": 1
10341
10870
  }
10342
10871
  },
10872
+ {
10873
+ "id": "other_areaslabels_military",
10874
+ "type": "symbol",
10875
+ "source": "osm",
10876
+ "source-layer": "other_points_centroids",
10877
+ "minzoom": 12,
10878
+ "maxzoom": 24,
10879
+ "filter": [
10880
+ "==",
10881
+ [
10882
+ "get",
10883
+ "class"
10884
+ ],
10885
+ "military"
10886
+ ],
10887
+ "layout": {
10888
+ "text-field": [
10889
+ "get",
10890
+ "name"
10891
+ ],
10892
+ "text-size": 13,
10893
+ "text-font": [
10894
+ "OpenHistorical"
10895
+ ]
10896
+ },
10897
+ "paint": {
10898
+ "text-color": "rgba(180, 50, 50, 1)",
10899
+ "text-halo-color": "rgba(255, 255, 255, 1)",
10900
+ "text-halo-width": 1
10901
+ }
10902
+ },
10343
10903
  {
10344
10904
  "id": "landuse_areaslabels_z8glacier",
10345
10905
  "type": "symbol",
10346
10906
  "source": "osm",
10347
- "source-layer": "landuse_areas_centroids",
10907
+ "source-layer": "landuse_points_centroids",
10348
10908
  "minzoom": 10,
10349
10909
  "maxzoom": 22,
10350
10910
  "filter": [
@@ -10391,7 +10951,7 @@
10391
10951
  "id": "placearea_label",
10392
10952
  "type": "symbol",
10393
10953
  "source": "osm",
10394
- "source-layer": "place_areas",
10954
+ "source-layer": "place_points_centroids",
10395
10955
  "minzoom": 14,
10396
10956
  "maxzoom": 24,
10397
10957
  "filter": [
@@ -10469,7 +11029,7 @@
10469
11029
  "id": "points_of_interest_frombuildings",
10470
11030
  "type": "symbol",
10471
11031
  "source": "osm",
10472
- "source-layer": "buildings_centroids",
11032
+ "source-layer": "buildings_points_centroids",
10473
11033
  "minzoom": 16,
10474
11034
  "filter": [
10475
11035
  "!=",
@@ -10533,7 +11093,7 @@
10533
11093
  "id": "points_of_interest_fromareasz14-centroids",
10534
11094
  "type": "symbol",
10535
11095
  "source": "osm",
10536
- "source-layer": "amenity_areas_centroids",
11096
+ "source-layer": "amenity_points_centroids",
10537
11097
  "minzoom": 14,
10538
11098
  "maxzoom": 16,
10539
11099
  "filter": [
@@ -10588,7 +11148,7 @@
10588
11148
  "id": "points_of_interest_fromareasz14",
10589
11149
  "type": "symbol",
10590
11150
  "source": "osm",
10591
- "source-layer": "amenity_areas",
11151
+ "source-layer": "amenity_points_centroids",
10592
11152
  "minzoom": 14,
10593
11153
  "maxzoom": 16,
10594
11154
  "filter": [
@@ -10643,7 +11203,7 @@
10643
11203
  "id": "points_of_interest_fromareas",
10644
11204
  "type": "symbol",
10645
11205
  "source": "osm",
10646
- "source-layer": "amenity_areas_centroids",
11206
+ "source-layer": "amenity_points_centroids",
10647
11207
  "minzoom": 16,
10648
11208
  "maxzoom": 24,
10649
11209
  "filter": [
@@ -10792,7 +11352,7 @@
10792
11352
  "id": "points_of_interest_other",
10793
11353
  "type": "symbol",
10794
11354
  "source": "osm",
10795
- "source-layer": "other_points",
11355
+ "source-layer": "other_points_centroids",
10796
11356
  "minzoom": 15,
10797
11357
  "maxzoom": 24,
10798
11358
  "filter": [
@@ -10921,7 +11481,7 @@
10921
11481
  "id": "points_of_interest_amenity",
10922
11482
  "type": "symbol",
10923
11483
  "source": "osm",
10924
- "source-layer": "amenity_points",
11484
+ "source-layer": "amenity_points_centroids",
10925
11485
  "minzoom": 15,
10926
11486
  "maxzoom": 24,
10927
11487
  "layout": {
@@ -10993,7 +11553,7 @@
10993
11553
  "id": "points_of_interest_other_archaeology",
10994
11554
  "type": "symbol",
10995
11555
  "source": "osm",
10996
- "source-layer": "other_points",
11556
+ "source-layer": "other_points_centroids",
10997
11557
  "minzoom": 14,
10998
11558
  "maxzoom": 24,
10999
11559
  "filter": [
@@ -11072,7 +11632,7 @@
11072
11632
  "id": "points_of_interest_other_artwork",
11073
11633
  "type": "symbol",
11074
11634
  "source": "osm",
11075
- "source-layer": "other_points",
11635
+ "source-layer": "other_points_centroids",
11076
11636
  "minzoom": 15,
11077
11637
  "maxzoom": 24,
11078
11638
  "filter": [
@@ -11151,7 +11711,7 @@
11151
11711
  "id": "points_powertower",
11152
11712
  "type": "symbol",
11153
11713
  "source": "osm",
11154
- "source-layer": "other_points",
11714
+ "source-layer": "other_points_centroids",
11155
11715
  "minzoom": 15,
11156
11716
  "maxzoom": 24,
11157
11717
  "filter": [
@@ -11174,7 +11734,7 @@
11174
11734
  "id": "points_airport",
11175
11735
  "type": "symbol",
11176
11736
  "source": "osm",
11177
- "source-layer": "transport_areas",
11737
+ "source-layer": "transport_points_centroids",
11178
11738
  "minzoom": 10,
11179
11739
  "maxzoom": 14,
11180
11740
  "filter": [
@@ -11193,10 +11753,10 @@
11193
11753
  }
11194
11754
  },
11195
11755
  {
11196
- "id": "transport_points",
11756
+ "id": "transport_points_centroids",
11197
11757
  "type": "symbol",
11198
11758
  "source": "osm",
11199
- "source-layer": "transport_points",
11759
+ "source-layer": "transport_points_centroids",
11200
11760
  "minzoom": 14,
11201
11761
  "maxzoom": 24,
11202
11762
  "filter": [
@@ -11269,7 +11829,7 @@
11269
11829
  "id": "points_placeofworshipother",
11270
11830
  "type": "symbol",
11271
11831
  "source": "osm",
11272
- "source-layer": "buildings",
11832
+ "source-layer": "buildings_points_centroids",
11273
11833
  "filter": [
11274
11834
  "all",
11275
11835
  [
@@ -11311,7 +11871,7 @@
11311
11871
  "id": "points_religion",
11312
11872
  "type": "symbol",
11313
11873
  "source": "osm",
11314
- "source-layer": "buildings",
11874
+ "source-layer": "buildings_points_centroids",
11315
11875
  "filter": [
11316
11876
  "all"
11317
11877
  ],
@@ -11327,7 +11887,7 @@
11327
11887
  "id": "points_fromlanduse-z14",
11328
11888
  "type": "symbol",
11329
11889
  "source": "osm",
11330
- "source-layer": "landuse_points",
11890
+ "source-layer": "landuse_points_centroids",
11331
11891
  "minzoom": 14,
11332
11892
  "filter": [
11333
11893
  "==",
@@ -11364,7 +11924,7 @@
11364
11924
  "id": "points_fromlanduse",
11365
11925
  "type": "symbol",
11366
11926
  "source": "osm",
11367
- "source-layer": "landuse_points",
11927
+ "source-layer": "landuse_points_centroids",
11368
11928
  "minzoom": 16,
11369
11929
  "layout": {
11370
11930
  "icon-image": "{type}-18",
@@ -11420,7 +11980,7 @@
11420
11980
  "id": "points_fromlanduseareas",
11421
11981
  "type": "symbol",
11422
11982
  "source": "osm",
11423
- "source-layer": "landuse_areas",
11983
+ "source-layer": "landuse_points_centroids",
11424
11984
  "minzoom": 16,
11425
11985
  "filter": [
11426
11986
  "!",
@@ -11452,7 +12012,7 @@
11452
12012
  "id": "points_of_interest_shop",
11453
12013
  "type": "symbol",
11454
12014
  "source": "osm",
11455
- "source-layer": "buildings",
12015
+ "source-layer": "buildings_points_centroids",
11456
12016
  "minzoom": 16,
11457
12017
  "maxzoom": 24,
11458
12018
  "filter": [
@@ -11598,7 +12158,7 @@
11598
12158
  "id": "county_labels_z11",
11599
12159
  "type": "symbol",
11600
12160
  "source": "osm",
11601
- "source-layer": "place_points",
12161
+ "source-layer": "place_points_centroids",
11602
12162
  "minzoom": 8,
11603
12163
  "maxzoom": 20,
11604
12164
  "filter": [
@@ -11648,7 +12208,7 @@
11648
12208
  "id": "city_locality_labels_other_z11",
11649
12209
  "type": "symbol",
11650
12210
  "source": "osm",
11651
- "source-layer": "place_points",
12211
+ "source-layer": "place_points_centroids",
11652
12212
  "minzoom": 15,
11653
12213
  "maxzoom": 20,
11654
12214
  "filter": [
@@ -11700,7 +12260,7 @@
11700
12260
  "id": "city_labels_other_z11",
11701
12261
  "type": "symbol",
11702
12262
  "source": "osm",
11703
- "source-layer": "place_points",
12263
+ "source-layer": "place_points_centroids",
11704
12264
  "minzoom": 11,
11705
12265
  "maxzoom": 20,
11706
12266
  "filter": [
@@ -11756,7 +12316,7 @@
11756
12316
  "id": "city_labels_town_z8",
11757
12317
  "type": "symbol",
11758
12318
  "source": "osm",
11759
- "source-layer": "place_points",
12319
+ "source-layer": "place_points_centroids",
11760
12320
  "minzoom": 8,
11761
12321
  "maxzoom": 20,
11762
12322
  "filter": [
@@ -11803,7 +12363,7 @@
11803
12363
  "id": "city_labels_z11",
11804
12364
  "type": "symbol",
11805
12365
  "source": "osm",
11806
- "source-layer": "place_points",
12366
+ "source-layer": "place_points_centroids",
11807
12367
  "minzoom": 11,
11808
12368
  "maxzoom": 20,
11809
12369
  "filter": [
@@ -11850,7 +12410,7 @@
11850
12410
  "id": "city_labels_z6",
11851
12411
  "type": "symbol",
11852
12412
  "source": "osm",
11853
- "source-layer": "place_points",
12413
+ "source-layer": "place_points_centroids",
11854
12414
  "minzoom": 6,
11855
12415
  "maxzoom": 11,
11856
12416
  "filter": [
@@ -11917,7 +12477,7 @@
11917
12477
  "id": "city_capital_labels_z6",
11918
12478
  "type": "symbol",
11919
12479
  "source": "osm",
11920
- "source-layer": "place_points",
12480
+ "source-layer": "place_points_centroids",
11921
12481
  "minzoom": 6,
11922
12482
  "maxzoom": 11,
11923
12483
  "filter": [
@@ -12075,7 +12635,7 @@
12075
12635
  "id": "state_points_labels",
12076
12636
  "type": "symbol",
12077
12637
  "source": "osm",
12078
- "source-layer": "place_points",
12638
+ "source-layer": "place_points_centroids",
12079
12639
  "minzoom": 5,
12080
12640
  "maxzoom": 20,
12081
12641
  "filter": [
@@ -12293,7 +12853,7 @@
12293
12853
  "id": "country_points_labels",
12294
12854
  "type": "symbol",
12295
12855
  "source": "osm",
12296
- "source-layer": "place_points",
12856
+ "source-layer": "place_points_centroids",
12297
12857
  "minzoom": 0,
12298
12858
  "maxzoom": 12,
12299
12859
  "filter": [
@@ -12374,5 +12934,6 @@
12374
12934
  }
12375
12935
  }
12376
12936
  ],
12937
+ "attribution": "<a href=\"https://www.openhistoricalmap.org/\">OpenHistoricalMap</a>",
12377
12938
  "id": "ab271ed3-6fe4-403a-b5ae-07113f8c57ab"
12378
12939
  }