@openhistoricalmap/map-styles 0.9.2 → 0.9.4
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.
- package/.nvmrc +1 -0
- package/LICENSE.md +121 -0
- package/README.md +23 -5
- package/dist/ohm.styles.js +232 -118
- package/favicon.ico +0 -0
- package/historical/Historical-Style-Documentation.md +34 -0
- package/historical/historical.json +117 -67
- package/img/historical.png +0 -0
- package/img/japanese_scroll.png +0 -0
- package/img/railway.png +0 -0
- package/img/woodblock.png +0 -0
- package/index.html +54 -0
- package/japanese_scroll/Japanese_Scroll-Style-Documentation.md +40 -0
- package/japanese_scroll/japanese_scroll.json +17 -20
- package/package.json +8 -5
- package/railway/Railway-Style-Documentation.md +60 -0
- package/railway/railway.json +140 -86
- package/scripts/prepare.js +15 -1
- package/woodblock/Woodblock-Style-Documentation.md +29 -0
- package/woodblock/woodblock.json +39 -37
- package/LICENSE +0 -339
package/dist/ohm.styles.js
CHANGED
|
@@ -26,11 +26,20 @@ ohmVectorStyles = {
|
|
|
26
26
|
"ne": {
|
|
27
27
|
"type": "vector",
|
|
28
28
|
"tiles": [
|
|
29
|
-
"https://vtiles.
|
|
29
|
+
"https://vtiles.openhistoricalmap.org/maps/ne/{z}/{x}/{y}.pbf"
|
|
30
30
|
]
|
|
31
|
+
},
|
|
32
|
+
"osm_land": {
|
|
33
|
+
"type": "vector",
|
|
34
|
+
"tiles": [
|
|
35
|
+
"https://vtiles.openhistoricalmap.org/maps/osm_land/{z}/{x}/{y}.pbf"
|
|
36
|
+
],
|
|
37
|
+
"minzoom": 0,
|
|
38
|
+
"maxzoom": 22,
|
|
39
|
+
"scheme": "xyz"
|
|
31
40
|
}
|
|
32
41
|
},
|
|
33
|
-
"sprite": "https://www.openhistoricalmap.org/map-styles/
|
|
42
|
+
"sprite": "https://www.openhistoricalmap.org/map-styles/historical/historical_spritesheet",
|
|
34
43
|
"glyphs": "https://www.openhistoricalmap.org/map-styles/fonts/{fontstack}/{range}.pbf",
|
|
35
44
|
"layers": [
|
|
36
45
|
{
|
|
@@ -63,7 +72,7 @@ ohmVectorStyles = {
|
|
|
63
72
|
{
|
|
64
73
|
"id": "land",
|
|
65
74
|
"type": "fill",
|
|
66
|
-
"source": "
|
|
75
|
+
"source": "osm_land",
|
|
67
76
|
"source-layer": "land",
|
|
68
77
|
"minzoom": 0,
|
|
69
78
|
"maxzoom": 24,
|
|
@@ -446,8 +455,6 @@ ohmVectorStyles = {
|
|
|
446
455
|
"rgba(238, 229, 178, 1)",
|
|
447
456
|
"basin",
|
|
448
457
|
"rgba(144, 204, 203, 1)",
|
|
449
|
-
"wetland",
|
|
450
|
-
"rgba(227, 233, 226, 1)",
|
|
451
458
|
"salt_pond",
|
|
452
459
|
"rgba(236, 240, 241, 1)",
|
|
453
460
|
"mud",
|
|
@@ -532,45 +539,6 @@ ohmVectorStyles = {
|
|
|
532
539
|
]
|
|
533
540
|
}
|
|
534
541
|
},
|
|
535
|
-
{
|
|
536
|
-
"id": "landuse_areas_z12_glacier-outline",
|
|
537
|
-
"type": "line",
|
|
538
|
-
"source": "osm",
|
|
539
|
-
"source-layer": "landuse_areas",
|
|
540
|
-
"minzoom": 9,
|
|
541
|
-
"maxzoom": 24,
|
|
542
|
-
"filter": [
|
|
543
|
-
"==",
|
|
544
|
-
[
|
|
545
|
-
"get",
|
|
546
|
-
"type"
|
|
547
|
-
],
|
|
548
|
-
"glacier"
|
|
549
|
-
],
|
|
550
|
-
"layout": {
|
|
551
|
-
"visibility": "visible"
|
|
552
|
-
},
|
|
553
|
-
"paint": {
|
|
554
|
-
"line-color": "rgba(180, 211, 218, 1)",
|
|
555
|
-
"line-dasharray": [
|
|
556
|
-
2,
|
|
557
|
-
2
|
|
558
|
-
],
|
|
559
|
-
"line-width": [
|
|
560
|
-
"interpolate",
|
|
561
|
-
[
|
|
562
|
-
"linear"
|
|
563
|
-
],
|
|
564
|
-
[
|
|
565
|
-
"zoom"
|
|
566
|
-
],
|
|
567
|
-
9,
|
|
568
|
-
1,
|
|
569
|
-
14,
|
|
570
|
-
1.5
|
|
571
|
-
]
|
|
572
|
-
}
|
|
573
|
-
},
|
|
574
542
|
{
|
|
575
543
|
"id": "landuse_areas_z12_food_and_farming",
|
|
576
544
|
"type": "fill",
|
|
@@ -877,7 +845,7 @@ ohmVectorStyles = {
|
|
|
877
845
|
"type": "fill",
|
|
878
846
|
"source": "osm",
|
|
879
847
|
"source-layer": "water_areas",
|
|
880
|
-
"minzoom":
|
|
848
|
+
"minzoom": 0,
|
|
881
849
|
"maxzoom": 24,
|
|
882
850
|
"layout": {
|
|
883
851
|
"visibility": "visible"
|
|
@@ -898,6 +866,32 @@ ohmVectorStyles = {
|
|
|
898
866
|
]
|
|
899
867
|
}
|
|
900
868
|
},
|
|
869
|
+
{
|
|
870
|
+
"id": "water_areas-ne",
|
|
871
|
+
"type": "fill",
|
|
872
|
+
"source": "ne",
|
|
873
|
+
"source-layer": "water_areas",
|
|
874
|
+
"minzoom": 0,
|
|
875
|
+
"maxzoom": 8,
|
|
876
|
+
"layout": {
|
|
877
|
+
"visibility": "visible"
|
|
878
|
+
},
|
|
879
|
+
"paint": {
|
|
880
|
+
"fill-color": [
|
|
881
|
+
"interpolate",
|
|
882
|
+
[
|
|
883
|
+
"linear"
|
|
884
|
+
],
|
|
885
|
+
[
|
|
886
|
+
"zoom"
|
|
887
|
+
],
|
|
888
|
+
0,
|
|
889
|
+
"rgba(185, 228, 228, 1)",
|
|
890
|
+
10,
|
|
891
|
+
"rgba(126, 218, 218, 1)"
|
|
892
|
+
]
|
|
893
|
+
}
|
|
894
|
+
},
|
|
901
895
|
{
|
|
902
896
|
"id": "landuse_areas_z12_watercover",
|
|
903
897
|
"type": "fill",
|
|
@@ -932,45 +926,72 @@ ohmVectorStyles = {
|
|
|
932
926
|
"rgba(144, 204, 203, 1)",
|
|
933
927
|
"swimming_pool",
|
|
934
928
|
"rgba(144, 204, 203, 1)",
|
|
929
|
+
"wetland",
|
|
930
|
+
"rgba(228, 242, 227, 1)",
|
|
935
931
|
"transparent"
|
|
936
932
|
]
|
|
937
933
|
]
|
|
938
934
|
}
|
|
939
935
|
},
|
|
940
936
|
{
|
|
941
|
-
"id": "
|
|
937
|
+
"id": "wetlands_z11-pattern",
|
|
942
938
|
"type": "fill",
|
|
943
939
|
"source": "osm",
|
|
944
940
|
"source-layer": "landuse_areas",
|
|
945
941
|
"minzoom": 11,
|
|
946
942
|
"maxzoom": 24,
|
|
947
943
|
"filter": [
|
|
948
|
-
"
|
|
944
|
+
"==",
|
|
949
945
|
[
|
|
950
|
-
"
|
|
951
|
-
"type"
|
|
952
|
-
|
|
953
|
-
|
|
946
|
+
"get",
|
|
947
|
+
"type"
|
|
948
|
+
],
|
|
949
|
+
"wetland"
|
|
954
950
|
],
|
|
955
951
|
"layout": {
|
|
956
952
|
"visibility": "visible"
|
|
957
953
|
},
|
|
958
954
|
"paint": {
|
|
959
|
-
"fill-color": "rgba(
|
|
955
|
+
"fill-color": "rgba(255, 255, 255, 1)",
|
|
956
|
+
"fill-pattern": {
|
|
957
|
+
"stops": [
|
|
958
|
+
[
|
|
959
|
+
12,
|
|
960
|
+
"cattails_space_60px"
|
|
961
|
+
],
|
|
962
|
+
[
|
|
963
|
+
14,
|
|
964
|
+
"cattails_space_70px"
|
|
965
|
+
]
|
|
966
|
+
]
|
|
967
|
+
}
|
|
960
968
|
}
|
|
961
969
|
},
|
|
962
970
|
{
|
|
963
|
-
"id": "
|
|
964
|
-
"type": "
|
|
965
|
-
"source": "
|
|
966
|
-
"source-layer": "
|
|
967
|
-
"minzoom":
|
|
968
|
-
"maxzoom":
|
|
971
|
+
"id": "landuse_areas_z12_glacier-outline",
|
|
972
|
+
"type": "line",
|
|
973
|
+
"source": "osm",
|
|
974
|
+
"source-layer": "landuse_areas",
|
|
975
|
+
"minzoom": 9,
|
|
976
|
+
"maxzoom": 24,
|
|
977
|
+
"filter": [
|
|
978
|
+
"==",
|
|
979
|
+
[
|
|
980
|
+
"get",
|
|
981
|
+
"type"
|
|
982
|
+
],
|
|
983
|
+
"glacier"
|
|
984
|
+
],
|
|
969
985
|
"layout": {
|
|
970
986
|
"visibility": "visible"
|
|
971
987
|
},
|
|
972
988
|
"paint": {
|
|
973
|
-
"
|
|
989
|
+
"line-color": "rgba(180, 211, 218, 1)",
|
|
990
|
+
"line-dasharray": [
|
|
991
|
+
2,
|
|
992
|
+
2
|
|
993
|
+
],
|
|
994
|
+
"line-width": [
|
|
974
995
|
"interpolate",
|
|
975
996
|
[
|
|
976
997
|
"linear"
|
|
@@ -978,10 +999,10 @@ ohmVectorStyles = {
|
|
|
978
999
|
[
|
|
979
1000
|
"zoom"
|
|
980
1001
|
],
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
1002
|
+
9,
|
|
1003
|
+
1,
|
|
1004
|
+
14,
|
|
1005
|
+
1.5
|
|
985
1006
|
]
|
|
986
1007
|
}
|
|
987
1008
|
},
|
|
@@ -1081,40 +1102,6 @@ ohmVectorStyles = {
|
|
|
1081
1102
|
"fill-outline-color": "rgba(226, 223, 215, 1)"
|
|
1082
1103
|
}
|
|
1083
1104
|
},
|
|
1084
|
-
{
|
|
1085
|
-
"id": "wetlands_z11-pattern",
|
|
1086
|
-
"type": "fill",
|
|
1087
|
-
"source": "osm",
|
|
1088
|
-
"source-layer": "landuse_areas",
|
|
1089
|
-
"minzoom": 11,
|
|
1090
|
-
"maxzoom": 24,
|
|
1091
|
-
"filter": [
|
|
1092
|
-
"==",
|
|
1093
|
-
[
|
|
1094
|
-
"get",
|
|
1095
|
-
"type"
|
|
1096
|
-
],
|
|
1097
|
-
"wetland"
|
|
1098
|
-
],
|
|
1099
|
-
"layout": {
|
|
1100
|
-
"visibility": "visible"
|
|
1101
|
-
},
|
|
1102
|
-
"paint": {
|
|
1103
|
-
"fill-color": "rgba(255, 255, 255, 1)",
|
|
1104
|
-
"fill-pattern": {
|
|
1105
|
-
"stops": [
|
|
1106
|
-
[
|
|
1107
|
-
12,
|
|
1108
|
-
"cattails_space_60px"
|
|
1109
|
-
],
|
|
1110
|
-
[
|
|
1111
|
-
14,
|
|
1112
|
-
"cattails_space_70px"
|
|
1113
|
-
]
|
|
1114
|
-
]
|
|
1115
|
-
}
|
|
1116
|
-
}
|
|
1117
|
-
},
|
|
1118
1105
|
{
|
|
1119
1106
|
"id": "water_lines_stream_no_name",
|
|
1120
1107
|
"type": "line",
|
|
@@ -1836,7 +1823,7 @@ ohmVectorStyles = {
|
|
|
1836
1823
|
"type": "fill",
|
|
1837
1824
|
"source": "osm",
|
|
1838
1825
|
"source-layer": "transport_areas",
|
|
1839
|
-
"minzoom":
|
|
1826
|
+
"minzoom": 12,
|
|
1840
1827
|
"maxzoom": 24,
|
|
1841
1828
|
"filter": [
|
|
1842
1829
|
"==",
|
|
@@ -1859,7 +1846,7 @@ ohmVectorStyles = {
|
|
|
1859
1846
|
"type": "fill",
|
|
1860
1847
|
"source": "osm",
|
|
1861
1848
|
"source-layer": "transport_areas",
|
|
1862
|
-
"minzoom":
|
|
1849
|
+
"minzoom": 12,
|
|
1863
1850
|
"maxzoom": 24,
|
|
1864
1851
|
"filter": [
|
|
1865
1852
|
"==",
|
|
@@ -4964,7 +4951,7 @@ ohmVectorStyles = {
|
|
|
4964
4951
|
"type": "line",
|
|
4965
4952
|
"source": "osm",
|
|
4966
4953
|
"source-layer": "transport_lines",
|
|
4967
|
-
"minzoom":
|
|
4954
|
+
"minzoom": 12,
|
|
4968
4955
|
"filter": [
|
|
4969
4956
|
"==",
|
|
4970
4957
|
[
|
|
@@ -4987,7 +4974,7 @@ ohmVectorStyles = {
|
|
|
4987
4974
|
"zoom"
|
|
4988
4975
|
],
|
|
4989
4976
|
12,
|
|
4990
|
-
|
|
4977
|
+
0.8,
|
|
4991
4978
|
13,
|
|
4992
4979
|
1,
|
|
4993
4980
|
14,
|
|
@@ -5733,6 +5720,60 @@ ohmVectorStyles = {
|
|
|
5733
5720
|
]
|
|
5734
5721
|
}
|
|
5735
5722
|
},
|
|
5723
|
+
{
|
|
5724
|
+
"id": "roads_servicecase_z13",
|
|
5725
|
+
"type": "line",
|
|
5726
|
+
"source": "osm",
|
|
5727
|
+
"source-layer": "transport_lines",
|
|
5728
|
+
"minzoom": 13,
|
|
5729
|
+
"maxzoom": 24,
|
|
5730
|
+
"filter": [
|
|
5731
|
+
"all",
|
|
5732
|
+
[
|
|
5733
|
+
"in",
|
|
5734
|
+
[
|
|
5735
|
+
"get",
|
|
5736
|
+
"type"
|
|
5737
|
+
],
|
|
5738
|
+
[
|
|
5739
|
+
"literal",
|
|
5740
|
+
[
|
|
5741
|
+
"service"
|
|
5742
|
+
]
|
|
5743
|
+
]
|
|
5744
|
+
],
|
|
5745
|
+
[
|
|
5746
|
+
"!=",
|
|
5747
|
+
[
|
|
5748
|
+
"get",
|
|
5749
|
+
"bridge"
|
|
5750
|
+
],
|
|
5751
|
+
1
|
|
5752
|
+
]
|
|
5753
|
+
],
|
|
5754
|
+
"layout": {
|
|
5755
|
+
"visibility": "visible",
|
|
5756
|
+
"line-cap": "round",
|
|
5757
|
+
"line-join": "round"
|
|
5758
|
+
},
|
|
5759
|
+
"paint": {
|
|
5760
|
+
"line-color": "#D2D2D5",
|
|
5761
|
+
"line-width": [
|
|
5762
|
+
"interpolate",
|
|
5763
|
+
[
|
|
5764
|
+
"exponential",
|
|
5765
|
+
1.5
|
|
5766
|
+
],
|
|
5767
|
+
[
|
|
5768
|
+
"zoom"
|
|
5769
|
+
],
|
|
5770
|
+
13,
|
|
5771
|
+
2,
|
|
5772
|
+
18,
|
|
5773
|
+
12
|
|
5774
|
+
]
|
|
5775
|
+
}
|
|
5776
|
+
},
|
|
5736
5777
|
{
|
|
5737
5778
|
"id": "roads_residentialcase_z13",
|
|
5738
5779
|
"type": "line",
|
|
@@ -5752,7 +5793,6 @@ ohmVectorStyles = {
|
|
|
5752
5793
|
"literal",
|
|
5753
5794
|
[
|
|
5754
5795
|
"residential",
|
|
5755
|
-
"service",
|
|
5756
5796
|
"unclassified"
|
|
5757
5797
|
]
|
|
5758
5798
|
]
|
|
@@ -6379,6 +6419,49 @@ ohmVectorStyles = {
|
|
|
6379
6419
|
]
|
|
6380
6420
|
}
|
|
6381
6421
|
},
|
|
6422
|
+
{
|
|
6423
|
+
"id": "roads_service",
|
|
6424
|
+
"type": "line",
|
|
6425
|
+
"source": "osm",
|
|
6426
|
+
"source-layer": "transport_lines",
|
|
6427
|
+
"minzoom": 12,
|
|
6428
|
+
"maxzoom": 24,
|
|
6429
|
+
"filter": [
|
|
6430
|
+
"in",
|
|
6431
|
+
[
|
|
6432
|
+
"get",
|
|
6433
|
+
"type"
|
|
6434
|
+
],
|
|
6435
|
+
[
|
|
6436
|
+
"literal",
|
|
6437
|
+
[
|
|
6438
|
+
"service"
|
|
6439
|
+
]
|
|
6440
|
+
]
|
|
6441
|
+
],
|
|
6442
|
+
"layout": {
|
|
6443
|
+
"visibility": "visible",
|
|
6444
|
+
"line-cap": "round",
|
|
6445
|
+
"line-join": "round"
|
|
6446
|
+
},
|
|
6447
|
+
"paint": {
|
|
6448
|
+
"line-color": "#ffffff",
|
|
6449
|
+
"line-width": [
|
|
6450
|
+
"interpolate",
|
|
6451
|
+
[
|
|
6452
|
+
"exponential",
|
|
6453
|
+
1.5
|
|
6454
|
+
],
|
|
6455
|
+
[
|
|
6456
|
+
"zoom"
|
|
6457
|
+
],
|
|
6458
|
+
12,
|
|
6459
|
+
1.6,
|
|
6460
|
+
18,
|
|
6461
|
+
7
|
|
6462
|
+
]
|
|
6463
|
+
}
|
|
6464
|
+
},
|
|
6382
6465
|
{
|
|
6383
6466
|
"id": "roads_residential",
|
|
6384
6467
|
"type": "line",
|
|
@@ -6396,7 +6479,6 @@ ohmVectorStyles = {
|
|
|
6396
6479
|
"literal",
|
|
6397
6480
|
[
|
|
6398
6481
|
"residential",
|
|
6399
|
-
"service",
|
|
6400
6482
|
"unclassified"
|
|
6401
6483
|
]
|
|
6402
6484
|
]
|
|
@@ -10393,7 +10475,12 @@ ohmVectorStyles = {
|
|
|
10393
10475
|
"source-layer": "buildings_centroids",
|
|
10394
10476
|
"minzoom": 16,
|
|
10395
10477
|
"filter": [
|
|
10396
|
-
"
|
|
10478
|
+
"!=",
|
|
10479
|
+
[
|
|
10480
|
+
"get",
|
|
10481
|
+
"type"
|
|
10482
|
+
],
|
|
10483
|
+
"parking"
|
|
10397
10484
|
],
|
|
10398
10485
|
"layout": {
|
|
10399
10486
|
"icon-image": "{tourism}-18",
|
|
@@ -11092,7 +11179,7 @@ ohmVectorStyles = {
|
|
|
11092
11179
|
"source": "osm",
|
|
11093
11180
|
"source-layer": "transport_areas",
|
|
11094
11181
|
"minzoom": 10,
|
|
11095
|
-
"maxzoom":
|
|
11182
|
+
"maxzoom": 14,
|
|
11096
11183
|
"filter": [
|
|
11097
11184
|
"==",
|
|
11098
11185
|
[
|
|
@@ -12247,17 +12334,26 @@ ohmVectorStyles = {
|
|
|
12247
12334
|
"osm": {
|
|
12248
12335
|
"type": "vector",
|
|
12249
12336
|
"tiles": [
|
|
12250
|
-
"https://vtiles.
|
|
12337
|
+
"https://vtiles.openhistoricalmap.org/maps/osm/{z}/{x}/{y}.pbf"
|
|
12251
12338
|
]
|
|
12252
12339
|
},
|
|
12253
12340
|
"ne": {
|
|
12254
12341
|
"type": "vector",
|
|
12255
12342
|
"tiles": [
|
|
12256
|
-
"https://vtiles.
|
|
12343
|
+
"https://vtiles.openhistoricalmap.org/maps/ne/{z}/{x}/{y}.pbf"
|
|
12257
12344
|
]
|
|
12345
|
+
},
|
|
12346
|
+
"osm_land": {
|
|
12347
|
+
"type": "vector",
|
|
12348
|
+
"tiles": [
|
|
12349
|
+
"https://vtiles.openhistoricalmap.org/maps/osm_land/{z}/{x}/{y}.pbf"
|
|
12350
|
+
],
|
|
12351
|
+
"minzoom": 0,
|
|
12352
|
+
"maxzoom": 22,
|
|
12353
|
+
"scheme": "xyz"
|
|
12258
12354
|
}
|
|
12259
12355
|
},
|
|
12260
|
-
"sprite": "https://www.openhistoricalmap.org/map-styles/japanese_scroll/
|
|
12356
|
+
"sprite": "https://www.openhistoricalmap.org/map-styles/japanese_scroll/japanese_scroll_spritesheet_template",
|
|
12261
12357
|
"glyphs": "https://www.openhistoricalmap.org/map-styles/fonts/{fontstack}/{range}.pbf",
|
|
12262
12358
|
"layers": [
|
|
12263
12359
|
{
|
|
@@ -12294,7 +12390,7 @@ ohmVectorStyles = {
|
|
|
12294
12390
|
{
|
|
12295
12391
|
"id": "land",
|
|
12296
12392
|
"type": "fill",
|
|
12297
|
-
"source": "
|
|
12393
|
+
"source": "osm_land",
|
|
12298
12394
|
"source-layer": "land",
|
|
12299
12395
|
"minzoom": 0,
|
|
12300
12396
|
"maxzoom": 24,
|
|
@@ -12308,7 +12404,7 @@ ohmVectorStyles = {
|
|
|
12308
12404
|
{
|
|
12309
12405
|
"id": "land-pattern",
|
|
12310
12406
|
"type": "fill",
|
|
12311
|
-
"source": "
|
|
12407
|
+
"source": "osm_land",
|
|
12312
12408
|
"source-layer": "land",
|
|
12313
12409
|
"minzoom": 0,
|
|
12314
12410
|
"maxzoom": 24,
|
|
@@ -16301,7 +16397,7 @@ ohmVectorStyles = {
|
|
|
16301
16397
|
"osm": {
|
|
16302
16398
|
"type": "vector",
|
|
16303
16399
|
"tiles": [
|
|
16304
|
-
"https://vtiles.
|
|
16400
|
+
"https://vtiles.openhistoricalmap.org/maps/osm/{z}/{x}/{y}.pbf"
|
|
16305
16401
|
]
|
|
16306
16402
|
},
|
|
16307
16403
|
"ohm_landcover_hillshade": {
|
|
@@ -16316,11 +16412,20 @@ ohmVectorStyles = {
|
|
|
16316
16412
|
"ne": {
|
|
16317
16413
|
"type": "vector",
|
|
16318
16414
|
"tiles": [
|
|
16319
|
-
"https://vtiles.
|
|
16415
|
+
"https://vtiles.openhistoricalmap.org/maps/ne/{z}/{x}/{y}.pbf"
|
|
16320
16416
|
]
|
|
16417
|
+
},
|
|
16418
|
+
"osm_land": {
|
|
16419
|
+
"type": "vector",
|
|
16420
|
+
"tiles": [
|
|
16421
|
+
"https://vtiles.openhistoricalmap.org/maps/osm/{z}/{x}/{y}.pbf"
|
|
16422
|
+
],
|
|
16423
|
+
"minzoom": 0,
|
|
16424
|
+
"maxzoom": 22,
|
|
16425
|
+
"scheme": "xyz"
|
|
16321
16426
|
}
|
|
16322
16427
|
},
|
|
16323
|
-
"sprite": "https://www.openhistoricalmap.org/map-styles/
|
|
16428
|
+
"sprite": "https://www.openhistoricalmap.org/map-styles/railway/railway_spritesheet",
|
|
16324
16429
|
"glyphs": "https://www.openhistoricalmap.org/map-styles/fonts/{fontstack}/{range}.pbf",
|
|
16325
16430
|
"layers": [
|
|
16326
16431
|
{
|
|
@@ -16341,7 +16446,7 @@ ohmVectorStyles = {
|
|
|
16341
16446
|
{
|
|
16342
16447
|
"id": "land",
|
|
16343
16448
|
"type": "fill",
|
|
16344
|
-
"source": "
|
|
16449
|
+
"source": "osm_land",
|
|
16345
16450
|
"source-layer": "land",
|
|
16346
16451
|
"minzoom": 0,
|
|
16347
16452
|
"maxzoom": 24,
|
|
@@ -30048,14 +30153,23 @@ ohmVectorStyles = {
|
|
|
30048
30153
|
"osm": {
|
|
30049
30154
|
"type": "vector",
|
|
30050
30155
|
"tiles": [
|
|
30051
|
-
"https://vtiles.
|
|
30156
|
+
"https://vtiles.openhistoricalmap.org/maps/osm/{z}/{x}/{y}.pbf"
|
|
30052
30157
|
]
|
|
30053
30158
|
},
|
|
30054
30159
|
"ne": {
|
|
30055
30160
|
"type": "vector",
|
|
30056
30161
|
"tiles": [
|
|
30057
|
-
"https://vtiles.
|
|
30162
|
+
"https://vtiles.openhistoricalmap.org/maps/ne/{z}/{x}/{y}.pbf"
|
|
30058
30163
|
]
|
|
30164
|
+
},
|
|
30165
|
+
"osm_land": {
|
|
30166
|
+
"type": "vector",
|
|
30167
|
+
"tiles": [
|
|
30168
|
+
"https://vtiles.openhistoricalmap.org/maps/osm_land/{z}/{x}/{y}.pbf"
|
|
30169
|
+
],
|
|
30170
|
+
"minzoom": 0,
|
|
30171
|
+
"maxzoom": 22,
|
|
30172
|
+
"scheme": "xyz"
|
|
30059
30173
|
}
|
|
30060
30174
|
},
|
|
30061
30175
|
"sprite": "https://www.openhistoricalmap.org/map-styles/woodblock/woodblock_spritesheet",
|
|
@@ -30096,7 +30210,7 @@ ohmVectorStyles = {
|
|
|
30096
30210
|
{
|
|
30097
30211
|
"id": "land-pattern",
|
|
30098
30212
|
"type": "fill",
|
|
30099
|
-
"source": "
|
|
30213
|
+
"source": "osm_land",
|
|
30100
30214
|
"source-layer": "land",
|
|
30101
30215
|
"minzoom": 0,
|
|
30102
30216
|
"maxzoom": 24,
|
|
@@ -30111,7 +30225,7 @@ ohmVectorStyles = {
|
|
|
30111
30225
|
{
|
|
30112
30226
|
"id": "land",
|
|
30113
30227
|
"type": "fill",
|
|
30114
|
-
"source": "
|
|
30228
|
+
"source": "osm_land",
|
|
30115
30229
|
"source-layer": "land",
|
|
30116
30230
|
"minzoom": 0,
|
|
30117
30231
|
"maxzoom": 24,
|
package/favicon.ico
ADDED
|
Binary file
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Documentation of Cartography of Historical Style
|
|
2
|
+
## OpenHistoricalMap Design Principles
|
|
3
|
+
GreenInfo Network and OpenHistoricalMap's cartographic journey for the main historical style began many years ago with cataloging, reviewing, and analyzing some historical styles as inspiration. There were many considerations when reviewing old maps and how they could and would be applied to a brand new style for an OHM base map. In particular, we considered the below heavily:<br>
|
|
4
|
+
|
|
5
|
+
**1. Design for time, geography, and zoom level:** First and foremost, we needed to consider that the OpenHistoricalMap's main style would require a well thought out design that worked across all of time, and all geographies, across history. The cartographic choices would not simply be an attempt to style 1930’s America or 1700’s Japan, for example. While the map would be depicting history, the map style ultimately needed to work as a modern interactive map that had to _globally_ have a style that also worked across all zoom levels. From city streets to states to continents, a basic style would need to work for all of these scenarios <br><Br>
|
|
6
|
+
**2. An ever-expanding data landscape:** Similar to OpenStreetMap, the amount and variety of types of data is _massive_. the cartographic choices made for the main style would also need to coherently work across different types of data (... across time, across geographies, across zoom levels). Most maps - historical or modern - have a single purpose and are designed thoughtfully to support that particular purpose. With OpenHistorical map's purpose effectively being "design for all-things", it also meant that limiting the amount of data - the number of types of information displayed - would also need to be a consistent conversation in the beginning of the design work for the style, but also alongside the growth of the main style, as ever changing data additions would mean that OHM would need to have some kind of flexibility as well as rigidity to not have TOO many data layers shown in the single main style. <br>
|
|
7
|
+
<br>
|
|
8
|
+
## OHM Historical Style History and Context
|
|
9
|
+
After some time, we settled on an aesthetic inspiration coming from Alexander Gross's 1950 Highway Map.<br>
|
|
10
|
+
<br>
|
|
11
|
+
|
|
12
|
+
<img src="https://github.com/user-attachments/assets/ccae22bd-2da9-487f-b8fd-2b7cd64b1bce" alt="1950 highway map of United States, by Alexander Gross. Zoomed in to area near the Great Lakes to showcase the aesthetic. Blue lakes, white-ish land color" width="900">
|
|
13
|
+
<img src="https://github.com/user-attachments/assets/00fbb9d8-e3e7-44b0-a0b7-bb13eccb7003" alt="1950 highway map of United States, by Alexander Gross. Zoomed in to area near San Francisco, highlighting the roadways and rail in black and red lines" width="900">
|
|
14
|
+
<br><br>
|
|
15
|
+
This seemed like a great inspiration for initial cartography. While Gross' map of course focused on highlighting highways, for the OHM style, we were inspired by the overall map, and liked how Gross used a handful of bright colors alongside a minimal amount of basic layers. Of particular inspirational was the dusty, dusky, blue-gray water; the warm off-white land color; and the bright colors and stark contrast of the highways against the light background. <br>
|
|
16
|
+
<br>
|
|
17
|
+
<img src="https://github.com/user-attachments/assets/5e4a891c-fbea-4c8b-9978-97120eceeeb4" alt="first draft of OHM style, bringing in some colors similar to Gross map.">
|
|
18
|
+
<br>
|
|
19
|
+
This first iterations of the OHM style brought in the inspiration from Boss' map into all data elements globally, at every zoom level. Highways, for example, were given a rust red color to make them stand out, as was very typical with vintage maps of this era. We pulled the water color almost directly from the 1950 Alexander Gross map posted above. This was a great starting point to get the OHM cartography ball rolling.
|
|
20
|
+
|
|
21
|
+
Using Maputnik, we applied this style to OHM data and began to test the cartography across different locations, zoom levels, and times throughout history. As the style was reviewed, it became clear that the strong focus on highways and car-centric roads was _not_ great for all locations across all times. We toned down the saturation of water and shifted all roads to white. Roads were still differentiated by width, cases, and shield symbols and labels. This gave us more of a basic cartographic palette to work with, and allowed us to emphasize a variety of types of data, not simply transportation layers.
|
|
22
|
+
|
|
23
|
+
After some time with this new iteration of the style, some OHM users and contributors expressed how they were missing the color differences for road types, and thought these differences had done a nice job of differentiating the types of roadways in the application. We created a few new options, returning to applying color to roads, but desaturated from our original designs - and settled on this symbology:
|
|
24
|
+
<img src="https://github.com/user-attachments/assets/057e258f-cf55-4332-92b4-0f69150013cc" alt="Map showing the aforementioned design changes.">
|
|
25
|
+
|
|
26
|
+
Interestingly, and maybe not surprisingly, the evolution of the OHM style started to pull away from the 1950s historical map style aesthetically, and more towards a modern interactive map style: this is largely because modern mapping simply requires us to consider a lot more data when doing so in an interactive map. We have to be able to find the right way to balance all of our layers’ symbologies more equally, which is where we are in our current approach. The below shows the style today:
|
|
27
|
+
<img src="https://github.com/user-attachments/assets/a94fe3ba-7266-4ecb-b27f-1781491bfa69" alt="OHM map today, showing the UK. The water color is brighter, the land color is a little lighter in color. Rail lines cross the map.">
|
|
28
|
+
<img src="https://github.com/user-attachments/assets/26cf161d-4a6c-4383-88c1-4355c015187d" alt="The map is zoomed into london, showcasing a lot of data at the ground level, such as shops and parks. Orange highways and white roads criss cross the map. The water color is brighter, the land color is a little lighter in color. Rail lines cross the map.">
|
|
29
|
+
|
|
30
|
+
## OHM Cartography Today, and in the Future
|
|
31
|
+
The current map's design still is inspired by and pulls from the original inspiration from Boss, and it also has gone through design choices in order to ensure new data or increases in data still showcase a balanced design. The data balancing is always the crux of shifting cartographic choices, and this is always where design shifts will lie in the future of OHM's cartography. Looking ahead, there also will always be new opportunities to bring in design influence from historical maps, **and** we must continue to balance the main style's data needs.
|
|
32
|
+
|
|
33
|
+
For more vintage inspired styles, check out OHM's other styles. These allow for much more "historical style inspiration" in their aesthetics, largely _because_ there is far less data shown on the map. If those maps had to have the same amount of data as OHM's main style, the aesthetics would not remain the same.
|
|
34
|
+
|