@openhistoricalmap/map-styles 0.9.14 → 0.9.16
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/.github/workflows/release.yml +70 -0
- package/.github/workflows/validate.yml +25 -0
- package/.nvmrc +1 -1
- package/README.md +21 -0
- package/dist/historical/historical.json +196 -53
- package/dist/historical/historical_spritesheet.json +14 -0
- package/dist/historical/historical_spritesheet.png +0 -0
- package/dist/historical/historical_spritesheet@2x.json +14 -0
- package/dist/historical/historical_spritesheet@2x.png +0 -0
- package/dist/japanese_scroll/japanese_scroll.json +8 -4
- package/dist/ohm.styles.js +325 -122
- package/dist/railway/railway.json +113 -61
- package/dist/woodblock/woodblock.json +8 -4
- package/historical/historical.json +85 -26
- package/historical/historical_spritesheet.json +14 -0
- package/historical/historical_spritesheet.png +0 -0
- package/historical/historical_spritesheet@2x.json +14 -0
- package/historical/historical_spritesheet@2x.png +0 -0
- package/historical/poi/cross_space_18px.svg +41 -0
- package/historical/poi/grave_yard_space_18px.svg +49 -0
- package/japanese_scroll/japanese_scroll.json +1 -1
- package/package.json +3 -2
- package/railway/railway.json +22 -22
- package/woodblock/woodblock.json +1 -1
|
Binary file
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
3
|
+
|
|
4
|
+
<svg
|
|
5
|
+
width="18"
|
|
6
|
+
height="18"
|
|
7
|
+
viewBox="0 0 4.7625 4.7625"
|
|
8
|
+
version="1.1"
|
|
9
|
+
id="svg1"
|
|
10
|
+
xml:space="preserve"
|
|
11
|
+
sodipodi:docname="cross_space_18px.svg"
|
|
12
|
+
inkscape:export-filename="cross_space_18px.svg"
|
|
13
|
+
inkscape:export-xdpi="96"
|
|
14
|
+
inkscape:export-ydpi="96"
|
|
15
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
16
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
17
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
18
|
+
xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
|
|
19
|
+
id="namedview1"
|
|
20
|
+
pagecolor="#505050"
|
|
21
|
+
bordercolor="#ffffff"
|
|
22
|
+
borderopacity="1"
|
|
23
|
+
inkscape:showpageshadow="0"
|
|
24
|
+
inkscape:pageopacity="0"
|
|
25
|
+
inkscape:pagecheckerboard="1"
|
|
26
|
+
inkscape:deskcolor="#d1d1d1"
|
|
27
|
+
inkscape:document-units="mm"><inkscape:page
|
|
28
|
+
x="0"
|
|
29
|
+
y="0"
|
|
30
|
+
width="4.7624998"
|
|
31
|
+
height="4.7624998"
|
|
32
|
+
id="page2"
|
|
33
|
+
margin="0"
|
|
34
|
+
bleed="0" /></sodipodi:namedview><defs
|
|
35
|
+
id="defs1" /><g
|
|
36
|
+
inkscape:label="Layer 1"
|
|
37
|
+
inkscape:groupmode="layer"
|
|
38
|
+
id="layer1"><path
|
|
39
|
+
id="rect2"
|
|
40
|
+
style="opacity:1;fill:#747474;stroke:#d9e2dc;stroke-width:0.261322;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.3;stroke-opacity:0.43739;paint-order:stroke fill markers"
|
|
41
|
+
d="m 2.2893902,1.4535777 h 0.1753542 c 0.035338,0 0.063784,0.02813 0.063784,0.063074 v 1.7291976 c 0,0.034942 -0.028446,0.063073 -0.063784,0.063073 H 2.2893902 c -0.035338,0 -0.063784,-0.02813 -0.063784,-0.063073 V 1.5166517 c 0,-0.034942 0.028446,-0.063074 0.063784,-0.063074 z M 1.780753,1.9242403 h 1.2009946 c 0.034676,0 0.062592,0.027606 0.062592,0.061894 v 0.1767282 c 0,0.03429 -0.027918,0.061894 -0.062592,0.061894 H 1.780753 c -0.034676,0 -0.062592,-0.027606 -0.062592,-0.061894 V 1.9861343 c 0,-0.03429 0.027918,-0.061894 0.062592,-0.061894 z" /></g></svg>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
3
|
+
|
|
4
|
+
<svg
|
|
5
|
+
width="18"
|
|
6
|
+
height="18"
|
|
7
|
+
viewBox="0 0 4.7625 4.7625"
|
|
8
|
+
version="1.1"
|
|
9
|
+
id="svg1"
|
|
10
|
+
xml:space="preserve"
|
|
11
|
+
inkscape:export-filename="grave_yard_space_18px.svg"
|
|
12
|
+
inkscape:export-xdpi="96"
|
|
13
|
+
inkscape:export-ydpi="96"
|
|
14
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
15
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
16
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
17
|
+
xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
|
|
18
|
+
id="namedview1"
|
|
19
|
+
pagecolor="#505050"
|
|
20
|
+
bordercolor="#ffffff"
|
|
21
|
+
borderopacity="1"
|
|
22
|
+
inkscape:showpageshadow="0"
|
|
23
|
+
inkscape:pageopacity="0"
|
|
24
|
+
inkscape:pagecheckerboard="1"
|
|
25
|
+
inkscape:deskcolor="#d1d1d1"
|
|
26
|
+
inkscape:document-units="mm"><inkscape:page
|
|
27
|
+
x="0"
|
|
28
|
+
y="0"
|
|
29
|
+
width="4.7624998"
|
|
30
|
+
height="4.7624998"
|
|
31
|
+
id="page2"
|
|
32
|
+
margin="0"
|
|
33
|
+
bleed="0" /></sodipodi:namedview><defs
|
|
34
|
+
id="defs1" /><g
|
|
35
|
+
inkscape:label="Layer 1"
|
|
36
|
+
inkscape:groupmode="layer"
|
|
37
|
+
id="layer1"><path
|
|
38
|
+
id="rect4"
|
|
39
|
+
style="opacity:1;fill:#747474;stroke:#d9e2dc;stroke-width:0.259368;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.3;stroke-dasharray:none;stroke-opacity:0.43739;paint-order:stroke fill markers"
|
|
40
|
+
d="M 1.8494757,2.3138299 H 2.9130229 V 3.3098994 H 1.8494757 Z M 2.3767963,1.4526007 h 0.00892 c 0.2921354,0 0.5273206,0.2469242 0.5273206,0.5536418 v 0.7448536 c 0,0.3067175 -0.2351852,0.5536417 -0.5273206,0.5536417 h -0.00892 c -0.2921358,0 -0.5273206,-0.2469242 -0.5273206,-0.5536417 V 2.0062425 c 0,-0.3067176 0.2351848,-0.5536418 0.5273206,-0.5536418 z" /><path
|
|
41
|
+
id="rect2"
|
|
42
|
+
style="opacity:1;fill:#2f2f2f;fill-opacity:1;stroke:none;stroke-width:0.119276;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.3;stroke-dasharray:none;stroke-opacity:0.43739;paint-order:stroke fill markers"
|
|
43
|
+
d="m 2.3400139,1.6536455 h 0.078716 c 0.01586,0 0.028632,0.01304 0.028632,0.029234 v 0.8014298 c 0,0.0162 -0.01276,0.029232 -0.028632,0.029232 h -0.078716 c -0.01586,0 -0.028632,-0.01304 -0.028632,-0.029232 V 1.6828785 c 0,-0.0162 0.01276,-0.029234 0.028632,-0.029233 z M 2.1116901,1.8717833 h 0.5391184 c 0.01556,0 0.028096,0.0128 0.028096,0.028688 v 0.081908 c 0,0.0159 -0.01254,0.028686 -0.028096,0.028686 H 2.1116901 c -0.01556,0 -0.028096,-0.0128 -0.028096,-0.028686 v -0.081908 c 0,-0.0159 0.01254,-0.028688 0.028096,-0.028688 z" /><rect
|
|
44
|
+
style="opacity:1;fill:#2f2f2f;fill-opacity:1;stroke:none;stroke-width:0.25824;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.3;stroke-dasharray:none;stroke-opacity:0.43739;paint-order:stroke fill markers"
|
|
45
|
+
id="rect5"
|
|
46
|
+
width="0.72760379"
|
|
47
|
+
height="0.29765636"
|
|
48
|
+
x="2.0174475"
|
|
49
|
+
y="2.8442712" /></g></svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openhistoricalmap/map-styles",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.16",
|
|
4
4
|
"description": "A collection of map styles for OpenHistoricalMap",
|
|
5
5
|
"main": "''",
|
|
6
6
|
"type": "module",
|
|
@@ -12,9 +12,10 @@
|
|
|
12
12
|
"type": "git",
|
|
13
13
|
"url": "git+ssh://git@github.com/OpenHistoricalMap/map-styles.git"
|
|
14
14
|
},
|
|
15
|
-
"author": "
|
|
15
|
+
"author": "OpenHistoricalMap <dev@openhistoricalmap.org>",
|
|
16
16
|
"contributors": [
|
|
17
17
|
"Vanessa Knoppke-Wetzel <run.for.funner@gmail.com>",
|
|
18
|
+
"Tim Sinnott <tim@greeninfo.org>",
|
|
18
19
|
"Eric Theise <erictheise@gmail.com>"
|
|
19
20
|
],
|
|
20
21
|
"license": "CC0 1.0 Universal",
|
package/railway/railway.json
CHANGED
|
@@ -719,7 +719,7 @@
|
|
|
719
719
|
"id": "water_lines_cliff_line",
|
|
720
720
|
"type": "line",
|
|
721
721
|
"source": "ohm",
|
|
722
|
-
"source-layer": "
|
|
722
|
+
"source-layer": "natural_lines",
|
|
723
723
|
"minzoom": 15,
|
|
724
724
|
"maxzoom": 24,
|
|
725
725
|
"filter": [
|
|
@@ -742,7 +742,7 @@
|
|
|
742
742
|
"id": "water_lines_cliff_line_triangles",
|
|
743
743
|
"type": "line",
|
|
744
744
|
"source": "ohm",
|
|
745
|
-
"source-layer": "
|
|
745
|
+
"source-layer": "natural_lines",
|
|
746
746
|
"minzoom": 15,
|
|
747
747
|
"maxzoom": 24,
|
|
748
748
|
"filter": [
|
|
@@ -767,7 +767,7 @@
|
|
|
767
767
|
"id": "water_lines_waterfall_triangle",
|
|
768
768
|
"type": "line",
|
|
769
769
|
"source": "ohm",
|
|
770
|
-
"source-layer": "
|
|
770
|
+
"source-layer": "natural_lines",
|
|
771
771
|
"minzoom": 15,
|
|
772
772
|
"maxzoom": 24,
|
|
773
773
|
"filter": [
|
|
@@ -1207,7 +1207,7 @@
|
|
|
1207
1207
|
"type": "line",
|
|
1208
1208
|
"source": "ohm",
|
|
1209
1209
|
"source-layer": "transport_lines",
|
|
1210
|
-
"minzoom":
|
|
1210
|
+
"minzoom": 6,
|
|
1211
1211
|
"maxzoom": 20,
|
|
1212
1212
|
"filter": [
|
|
1213
1213
|
"all",
|
|
@@ -1333,7 +1333,7 @@
|
|
|
1333
1333
|
"type": "line",
|
|
1334
1334
|
"source": "ohm",
|
|
1335
1335
|
"source-layer": "transport_lines",
|
|
1336
|
-
"minzoom":
|
|
1336
|
+
"minzoom": 6,
|
|
1337
1337
|
"maxzoom": 20,
|
|
1338
1338
|
"filter": [
|
|
1339
1339
|
"all",
|
|
@@ -1619,7 +1619,7 @@
|
|
|
1619
1619
|
"filter": [
|
|
1620
1620
|
"all",
|
|
1621
1621
|
["in", ["get", "type"], ["literal", ["construction"]]],
|
|
1622
|
-
["
|
|
1622
|
+
["!=", ["coalesce", ["get", "bridge"], 0], 1],
|
|
1623
1623
|
["in", ["get", "construction"], ["literal", ["road"]]]
|
|
1624
1624
|
],
|
|
1625
1625
|
"layout": {
|
|
@@ -1650,7 +1650,7 @@
|
|
|
1650
1650
|
"filter": [
|
|
1651
1651
|
"all",
|
|
1652
1652
|
["in", ["get", "type"], ["literal", ["construction"]]],
|
|
1653
|
-
["
|
|
1653
|
+
["!=", ["coalesce", ["get", "bridge"], 0], 1],
|
|
1654
1654
|
[
|
|
1655
1655
|
"in",
|
|
1656
1656
|
["get", "construction"],
|
|
@@ -2807,7 +2807,7 @@
|
|
|
2807
2807
|
"type": "line",
|
|
2808
2808
|
"source": "ohm",
|
|
2809
2809
|
"source-layer": "transport_lines",
|
|
2810
|
-
"minzoom":
|
|
2810
|
+
"minzoom": 6,
|
|
2811
2811
|
"maxzoom": 20,
|
|
2812
2812
|
"filter": [
|
|
2813
2813
|
"all",
|
|
@@ -2958,7 +2958,7 @@
|
|
|
2958
2958
|
"type": "line",
|
|
2959
2959
|
"source": "ohm",
|
|
2960
2960
|
"source-layer": "transport_lines",
|
|
2961
|
-
"minzoom":
|
|
2961
|
+
"minzoom": 6,
|
|
2962
2962
|
"maxzoom": 20,
|
|
2963
2963
|
"filter": [
|
|
2964
2964
|
"all",
|
|
@@ -4593,7 +4593,7 @@
|
|
|
4593
4593
|
["in", ["get", "service"], ["literal", ["siding", "spur", "yard"]]]
|
|
4594
4594
|
],
|
|
4595
4595
|
["in", ["get", "type"], ["literal", ["preserved", "rail"]]],
|
|
4596
|
-
["
|
|
4596
|
+
["!=", ["coalesce", ["get", "tunnel"], 0], 1]
|
|
4597
4597
|
],
|
|
4598
4598
|
"layout": {
|
|
4599
4599
|
"visibility": "visible",
|
|
@@ -4615,7 +4615,7 @@
|
|
|
4615
4615
|
"filter": [
|
|
4616
4616
|
"all",
|
|
4617
4617
|
["==", ["get", "usage"], "main"],
|
|
4618
|
-
["
|
|
4618
|
+
["!=", ["coalesce", ["get", "tunnel"], 0], 1],
|
|
4619
4619
|
["in", ["get", "type"], ["literal", ["preserved", "rail"]]],
|
|
4620
4620
|
[
|
|
4621
4621
|
"!",
|
|
@@ -4755,7 +4755,7 @@
|
|
|
4755
4755
|
],
|
|
4756
4756
|
["!", ["in", ["get", "service"], ["literal", ["siding", "yard"]]]],
|
|
4757
4757
|
["==", ["get", "service"], "spur"],
|
|
4758
|
-
["
|
|
4758
|
+
["!=", ["coalesce", ["get", "tunnel"], 0], 1]
|
|
4759
4759
|
],
|
|
4760
4760
|
"layout": {
|
|
4761
4761
|
"visibility": "visible",
|
|
@@ -4797,7 +4797,7 @@
|
|
|
4797
4797
|
["in", ["get", "service"], ["literal", ["siding", "spur", "yard"]]]
|
|
4798
4798
|
],
|
|
4799
4799
|
["==", ["get", "usage"], "tourism"],
|
|
4800
|
-
["
|
|
4800
|
+
["!=", ["coalesce", ["get", "tunnel"], 0], 1]
|
|
4801
4801
|
],
|
|
4802
4802
|
"layout": {
|
|
4803
4803
|
"visibility": "visible",
|
|
@@ -4834,7 +4834,7 @@
|
|
|
4834
4834
|
["in", ["get", "service"], ["literal", ["siding", "spur", "yard"]]]
|
|
4835
4835
|
],
|
|
4836
4836
|
["==", ["get", "usage"], "tourism"],
|
|
4837
|
-
["
|
|
4837
|
+
["!=", ["coalesce", ["get", "tunnel"], 0], 1]
|
|
4838
4838
|
],
|
|
4839
4839
|
"layout": {
|
|
4840
4840
|
"visibility": "visible",
|
|
@@ -4880,7 +4880,7 @@
|
|
|
4880
4880
|
["in", ["get", "service"], ["literal", ["siding", "spur", "yard"]]]
|
|
4881
4881
|
],
|
|
4882
4882
|
["==", ["get", "usage"], "military"],
|
|
4883
|
-
["
|
|
4883
|
+
["!=", ["coalesce", ["get", "tunnel"], 0], 1]
|
|
4884
4884
|
],
|
|
4885
4885
|
"layout": {
|
|
4886
4886
|
"visibility": "visible",
|
|
@@ -4917,7 +4917,7 @@
|
|
|
4917
4917
|
["in", ["get", "service"], ["literal", ["siding", "spur", "yard"]]]
|
|
4918
4918
|
],
|
|
4919
4919
|
["==", ["get", "usage"], "military"],
|
|
4920
|
-
["
|
|
4920
|
+
["!=", ["coalesce", ["get", "tunnel"], 0], 1]
|
|
4921
4921
|
],
|
|
4922
4922
|
"layout": {
|
|
4923
4923
|
"visibility": "visible",
|
|
@@ -4963,7 +4963,7 @@
|
|
|
4963
4963
|
["in", ["get", "service"], ["literal", ["siding", "spur", "yard"]]]
|
|
4964
4964
|
],
|
|
4965
4965
|
["==", ["get", "usage"], "branch"],
|
|
4966
|
-
["
|
|
4966
|
+
["!=", ["coalesce", ["get", "tunnel"], 0], 1]
|
|
4967
4967
|
],
|
|
4968
4968
|
"layout": {
|
|
4969
4969
|
"visibility": "visible",
|
|
@@ -4990,7 +4990,7 @@
|
|
|
4990
4990
|
["in", ["get", "service"], ["literal", ["siding", "spur", "yard"]]]
|
|
4991
4991
|
],
|
|
4992
4992
|
["==", ["get", "usage"], "branch"],
|
|
4993
|
-
["
|
|
4993
|
+
["!=", ["coalesce", ["get", "tunnel"], 0], 1]
|
|
4994
4994
|
],
|
|
4995
4995
|
"layout": {
|
|
4996
4996
|
"visibility": "visible",
|
|
@@ -5036,7 +5036,7 @@
|
|
|
5036
5036
|
["in", ["get", "service"], ["literal", ["siding", "spur", "yard"]]]
|
|
5037
5037
|
],
|
|
5038
5038
|
["==", ["get", "usage"], "industrial"],
|
|
5039
|
-
["
|
|
5039
|
+
["!=", ["coalesce", ["get", "tunnel"], 0], 1]
|
|
5040
5040
|
],
|
|
5041
5041
|
"layout": {
|
|
5042
5042
|
"visibility": "visible",
|
|
@@ -5073,7 +5073,7 @@
|
|
|
5073
5073
|
["in", ["get", "service"], ["literal", ["siding", "spur", "yard"]]]
|
|
5074
5074
|
],
|
|
5075
5075
|
["==", ["get", "usage"], "industrial"],
|
|
5076
|
-
["
|
|
5076
|
+
["!=", ["coalesce", ["get", "tunnel"], 0], 1]
|
|
5077
5077
|
],
|
|
5078
5078
|
"layout": {
|
|
5079
5079
|
"visibility": "visible",
|
|
@@ -5752,7 +5752,7 @@
|
|
|
5752
5752
|
"id": "water_lineslabels-cliff",
|
|
5753
5753
|
"type": "symbol",
|
|
5754
5754
|
"source": "ohm",
|
|
5755
|
-
"source-layer": "
|
|
5755
|
+
"source-layer": "natural_lines",
|
|
5756
5756
|
"filter": ["in", ["get", "type"], ["literal", ["cliff"]]],
|
|
5757
5757
|
"layout": {
|
|
5758
5758
|
"text-field": ["get", "name"],
|
|
@@ -6576,7 +6576,7 @@
|
|
|
6576
6576
|
["get", "type"],
|
|
6577
6577
|
[
|
|
6578
6578
|
"literal",
|
|
6579
|
-
["hamlet", "islet", "locality", "
|
|
6579
|
+
["hamlet", "islet", "locality", "neighbourhood", "suburb", "village"]
|
|
6580
6580
|
]
|
|
6581
6581
|
],
|
|
6582
6582
|
"layout": {
|
package/woodblock/woodblock.json
CHANGED