@openhistoricalmap/map-styles 0.9.6 → 0.9.8
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 -1
- package/CODE_OF_CONDUCT.md +94 -94
- package/LICENSE.md +121 -121
- package/README.md +115 -50
- package/demo.html +79 -79
- package/dist/fonts/OpenHistorical/README.md +42 -42
- package/dist/historical/historical.json +12730 -12370
- package/dist/historical/historical_spritesheet.json +1149 -1149
- package/dist/historical/historical_spritesheet@2x.json +1149 -1149
- package/dist/japanese_scroll/japanese_scroll.json +4076 -4062
- package/dist/japanese_scroll/japanese_scroll_spritesheet.json +38 -38
- package/dist/japanese_scroll/japanese_scroll_spritesheet@2x.json +38 -38
- package/dist/ohm.styles.js +35005 -34454
- package/dist/railway/railway.json +13932 -13755
- package/dist/railway/railway_spritesheet.json +1135 -1135
- package/dist/railway/railway_spritesheet@2x.json +1135 -1135
- package/dist/woodblock/woodblock.json +4260 -4260
- package/dist/woodblock/woodblock_spritesheet.json +72 -72
- package/dist/woodblock/woodblock_spritesheet@2x.json +72 -72
- package/docs/historical.md +34 -34
- package/docs/japanese_scroll.md +40 -40
- package/docs/railway.md +60 -60
- package/docs/woodblock.md +29 -29
- package/glyphicons/fonts/glyphicons-regular.svg +827 -827
- package/glyphicons/index.html +857 -857
- package/glyphicons/license.txt +63 -63
- package/historical/historical.json +6883 -6708
- package/historical/historical_spritesheet.json +1149 -1149
- package/historical/historical_spritesheet@2x.json +1149 -1149
- package/historical/poi/bell_tower-18.svg +68 -68
- package/historical/poi/border_control-12.svg +10 -10
- package/historical/poi/border_control-18.svg +4 -4
- package/historical/poi/bucket-18.svg +4 -4
- package/historical/poi/grave_yard-18.svg +6 -6
- package/historical/poi/updated_POI.json +1149 -1149
- package/img/README.md +1 -1
- package/index.html +54 -54
- package/japanese_scroll/japanese_scroll.json +2285 -2284
- package/japanese_scroll/japanese_scroll_spritesheet.json +38 -38
- package/japanese_scroll/japanese_scroll_spritesheet@2x.json +38 -38
- package/package.json +32 -32
- package/railway/railway.json +6888 -6837
- package/railway/railway_demo.html +144 -144
- package/railway/railway_spritesheet.json +1135 -1135
- package/railway/railway_spritesheet@2x.json +1135 -1135
- package/scripts/prepare.js +84 -84
- package/ssl/cert.pem +23 -23
- package/ssl/csr.pem +18 -18
- package/ssl/key.pem +28 -28
- package/woodblock/woodblock.json +2423 -2423
- package/woodblock/woodblock_spritesheet.json +72 -72
- package/woodblock/woodblock_spritesheet@2x.json +72 -72
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
v22.13.0
|
|
1
|
+
v22.13.0
|
package/CODE_OF_CONDUCT.md
CHANGED
|
@@ -1,94 +1,94 @@
|
|
|
1
|
-
# Citizen Code of Conduct
|
|
2
|
-
|
|
3
|
-
## 1. Purpose
|
|
4
|
-
|
|
5
|
-
A primary goal of OpenHistoricalMap is to be inclusive to the largest number of contributors, with the most varied and diverse backgrounds possible. As such, we are committed to providing a friendly, safe and welcoming environment for all, regardless of gender, sexual orientation, ability, ethnicity, socioeconomic status, and religion (or lack thereof).
|
|
6
|
-
|
|
7
|
-
This code of conduct outlines our expectations for all those who participate in our community, as well as the consequences for unacceptable behavior.
|
|
8
|
-
|
|
9
|
-
We invite all those who participate in OpenHistoricalMap to help us create safe and positive experiences for everyone.
|
|
10
|
-
|
|
11
|
-
## 2. Open [Source/Culture/Tech] Citizenship
|
|
12
|
-
|
|
13
|
-
A supplemental goal of this Code of Conduct is to increase open [source/culture/tech] citizenship by encouraging participants to recognize and strengthen the relationships between our actions and their effects on our community.
|
|
14
|
-
|
|
15
|
-
Communities mirror the societies in which they exist and positive action is essential to counteract the many forms of inequality and abuses of power that exist in society.
|
|
16
|
-
|
|
17
|
-
If you see someone who is making an extra effort to ensure our community is welcoming, friendly, and encourages all participants to contribute to the fullest extent, we want to know.
|
|
18
|
-
|
|
19
|
-
## 3. Expected Behavior
|
|
20
|
-
|
|
21
|
-
The following behaviors are expected and requested of all community members:
|
|
22
|
-
|
|
23
|
-
* Participate in an authentic and active way. In doing so, you contribute to the health and longevity of this community.
|
|
24
|
-
* Exercise consideration and respect in your speech and actions.
|
|
25
|
-
* Attempt collaboration before conflict.
|
|
26
|
-
* Refrain from demeaning, discriminatory, or harassing behavior and speech.
|
|
27
|
-
* Be mindful of your surroundings and of your fellow participants. Alert community leaders if you notice a dangerous situation, someone in distress, or violations of this Code of Conduct, even if they seem inconsequential.
|
|
28
|
-
* Remember that community event venues may be shared with members of the public; please be respectful to all patrons of these locations.
|
|
29
|
-
|
|
30
|
-
## 4. Unacceptable Behavior
|
|
31
|
-
|
|
32
|
-
The following behaviors are considered harassment and are unacceptable within our community:
|
|
33
|
-
|
|
34
|
-
* Violence, threats of violence or violent language directed against another person.
|
|
35
|
-
* Sexist, racist, homophobic, transphobic, ableist or otherwise discriminatory jokes and language.
|
|
36
|
-
* Posting or displaying sexually explicit or violent material.
|
|
37
|
-
* Posting or threatening to post other people's personally identifying information ("doxing").
|
|
38
|
-
* Personal insults, particularly those related to gender, sexual orientation, race, religion, or disability.
|
|
39
|
-
* Inappropriate photography or recording.
|
|
40
|
-
* Inappropriate physical contact. You should have someone's consent before touching them.
|
|
41
|
-
* Unwelcome sexual attention. This includes, sexualized comments or jokes; inappropriate touching, groping, and unwelcomed sexual advances.
|
|
42
|
-
* Deliberate intimidation, stalking or following (online or in person).
|
|
43
|
-
* Advocating for, or encouraging, any of the above behavior.
|
|
44
|
-
* Sustained disruption of community events, including talks and presentations.
|
|
45
|
-
|
|
46
|
-
## 5. Weapons Policy
|
|
47
|
-
|
|
48
|
-
No weapons will be allowed at OpenHistoricalMap events, community spaces, or in other spaces covered by the scope of this Code of Conduct. Weapons include but are not limited to guns, explosives (including fireworks), and large knives such as those used for hunting or display, as well as any other item used for the purpose of causing injury or harm to others. Anyone seen in possession of one of these items will be asked to leave immediately, and will only be allowed to return without the weapon. Community members are further expected to comply with all state and local laws on this matter.
|
|
49
|
-
|
|
50
|
-
## 6. Consequences of Unacceptable Behavior
|
|
51
|
-
|
|
52
|
-
Unacceptable behavior from any community member, including sponsors and those with decision-making authority, will not be tolerated.
|
|
53
|
-
|
|
54
|
-
Anyone asked to stop unacceptable behavior is expected to comply immediately.
|
|
55
|
-
|
|
56
|
-
If a community member engages in unacceptable behavior, the community organizers may take any action they deem appropriate, up to and including a temporary ban or permanent expulsion from the community without warning (and without refund in the case of a paid event).
|
|
57
|
-
|
|
58
|
-
## 7. Reporting Guidelines
|
|
59
|
-
|
|
60
|
-
If you are subject to or witness unacceptable behavior, or have any other concerns, please notify a community organizer as soon as possible. historic@openstreetmap.org.
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
Additionally, community organizers are available to help community members engage with local law enforcement or to otherwise help those experiencing unacceptable behavior feel safe. In the context of in-person events, organizers will also provide escorts as desired by the person experiencing distress.
|
|
65
|
-
|
|
66
|
-
## 8. Addressing Grievances
|
|
67
|
-
|
|
68
|
-
If you feel you have been falsely or unfairly accused of violating this Code of Conduct, you should notify OpenHistoricalMap with a concise description of your grievance. Your grievance will be handled in accordance with our existing governing policies.
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
## 9. Scope
|
|
73
|
-
|
|
74
|
-
We expect all community participants (contributors, paid or otherwise; sponsors; and other guests) to abide by this Code of Conduct in all community venues--online and in-person--as well as in all one-on-one communications pertaining to community business.
|
|
75
|
-
|
|
76
|
-
This code of conduct and its related procedures also applies to unacceptable behavior occurring outside the scope of community activities when such behavior has the potential to adversely affect the safety and well-being of community members.
|
|
77
|
-
|
|
78
|
-
## 10. Contact info
|
|
79
|
-
|
|
80
|
-
historic@openstreetmap.org
|
|
81
|
-
|
|
82
|
-
## 11. License and attribution
|
|
83
|
-
|
|
84
|
-
The Citizen Code of Conduct is distributed by [Stumptown Syndicate](http://stumptownsyndicate.org) under a [Creative Commons Attribution-ShareAlike license](http://creativecommons.org/licenses/by-sa/3.0/).
|
|
85
|
-
|
|
86
|
-
Portions of text derived from the [Django Code of Conduct](https://www.djangoproject.com/conduct/) and the [Geek Feminism Anti-Harassment Policy](http://geekfeminism.wikia.com/wiki/Conference_anti-harassment/Policy).
|
|
87
|
-
|
|
88
|
-
_Revision 2.3. Posted 6 March 2017._
|
|
89
|
-
|
|
90
|
-
_Revision 2.2. Posted 4 February 2016._
|
|
91
|
-
|
|
92
|
-
_Revision 2.1. Posted 23 June 2014._
|
|
93
|
-
|
|
94
|
-
_Revision 2.0, adopted by the [Stumptown Syndicate](http://stumptownsyndicate.org) board on 10 January 2013. Posted 17 March 2013._
|
|
1
|
+
# Citizen Code of Conduct
|
|
2
|
+
|
|
3
|
+
## 1. Purpose
|
|
4
|
+
|
|
5
|
+
A primary goal of OpenHistoricalMap is to be inclusive to the largest number of contributors, with the most varied and diverse backgrounds possible. As such, we are committed to providing a friendly, safe and welcoming environment for all, regardless of gender, sexual orientation, ability, ethnicity, socioeconomic status, and religion (or lack thereof).
|
|
6
|
+
|
|
7
|
+
This code of conduct outlines our expectations for all those who participate in our community, as well as the consequences for unacceptable behavior.
|
|
8
|
+
|
|
9
|
+
We invite all those who participate in OpenHistoricalMap to help us create safe and positive experiences for everyone.
|
|
10
|
+
|
|
11
|
+
## 2. Open [Source/Culture/Tech] Citizenship
|
|
12
|
+
|
|
13
|
+
A supplemental goal of this Code of Conduct is to increase open [source/culture/tech] citizenship by encouraging participants to recognize and strengthen the relationships between our actions and their effects on our community.
|
|
14
|
+
|
|
15
|
+
Communities mirror the societies in which they exist and positive action is essential to counteract the many forms of inequality and abuses of power that exist in society.
|
|
16
|
+
|
|
17
|
+
If you see someone who is making an extra effort to ensure our community is welcoming, friendly, and encourages all participants to contribute to the fullest extent, we want to know.
|
|
18
|
+
|
|
19
|
+
## 3. Expected Behavior
|
|
20
|
+
|
|
21
|
+
The following behaviors are expected and requested of all community members:
|
|
22
|
+
|
|
23
|
+
* Participate in an authentic and active way. In doing so, you contribute to the health and longevity of this community.
|
|
24
|
+
* Exercise consideration and respect in your speech and actions.
|
|
25
|
+
* Attempt collaboration before conflict.
|
|
26
|
+
* Refrain from demeaning, discriminatory, or harassing behavior and speech.
|
|
27
|
+
* Be mindful of your surroundings and of your fellow participants. Alert community leaders if you notice a dangerous situation, someone in distress, or violations of this Code of Conduct, even if they seem inconsequential.
|
|
28
|
+
* Remember that community event venues may be shared with members of the public; please be respectful to all patrons of these locations.
|
|
29
|
+
|
|
30
|
+
## 4. Unacceptable Behavior
|
|
31
|
+
|
|
32
|
+
The following behaviors are considered harassment and are unacceptable within our community:
|
|
33
|
+
|
|
34
|
+
* Violence, threats of violence or violent language directed against another person.
|
|
35
|
+
* Sexist, racist, homophobic, transphobic, ableist or otherwise discriminatory jokes and language.
|
|
36
|
+
* Posting or displaying sexually explicit or violent material.
|
|
37
|
+
* Posting or threatening to post other people's personally identifying information ("doxing").
|
|
38
|
+
* Personal insults, particularly those related to gender, sexual orientation, race, religion, or disability.
|
|
39
|
+
* Inappropriate photography or recording.
|
|
40
|
+
* Inappropriate physical contact. You should have someone's consent before touching them.
|
|
41
|
+
* Unwelcome sexual attention. This includes, sexualized comments or jokes; inappropriate touching, groping, and unwelcomed sexual advances.
|
|
42
|
+
* Deliberate intimidation, stalking or following (online or in person).
|
|
43
|
+
* Advocating for, or encouraging, any of the above behavior.
|
|
44
|
+
* Sustained disruption of community events, including talks and presentations.
|
|
45
|
+
|
|
46
|
+
## 5. Weapons Policy
|
|
47
|
+
|
|
48
|
+
No weapons will be allowed at OpenHistoricalMap events, community spaces, or in other spaces covered by the scope of this Code of Conduct. Weapons include but are not limited to guns, explosives (including fireworks), and large knives such as those used for hunting or display, as well as any other item used for the purpose of causing injury or harm to others. Anyone seen in possession of one of these items will be asked to leave immediately, and will only be allowed to return without the weapon. Community members are further expected to comply with all state and local laws on this matter.
|
|
49
|
+
|
|
50
|
+
## 6. Consequences of Unacceptable Behavior
|
|
51
|
+
|
|
52
|
+
Unacceptable behavior from any community member, including sponsors and those with decision-making authority, will not be tolerated.
|
|
53
|
+
|
|
54
|
+
Anyone asked to stop unacceptable behavior is expected to comply immediately.
|
|
55
|
+
|
|
56
|
+
If a community member engages in unacceptable behavior, the community organizers may take any action they deem appropriate, up to and including a temporary ban or permanent expulsion from the community without warning (and without refund in the case of a paid event).
|
|
57
|
+
|
|
58
|
+
## 7. Reporting Guidelines
|
|
59
|
+
|
|
60
|
+
If you are subject to or witness unacceptable behavior, or have any other concerns, please notify a community organizer as soon as possible. historic@openstreetmap.org.
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
Additionally, community organizers are available to help community members engage with local law enforcement or to otherwise help those experiencing unacceptable behavior feel safe. In the context of in-person events, organizers will also provide escorts as desired by the person experiencing distress.
|
|
65
|
+
|
|
66
|
+
## 8. Addressing Grievances
|
|
67
|
+
|
|
68
|
+
If you feel you have been falsely or unfairly accused of violating this Code of Conduct, you should notify OpenHistoricalMap with a concise description of your grievance. Your grievance will be handled in accordance with our existing governing policies.
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
## 9. Scope
|
|
73
|
+
|
|
74
|
+
We expect all community participants (contributors, paid or otherwise; sponsors; and other guests) to abide by this Code of Conduct in all community venues--online and in-person--as well as in all one-on-one communications pertaining to community business.
|
|
75
|
+
|
|
76
|
+
This code of conduct and its related procedures also applies to unacceptable behavior occurring outside the scope of community activities when such behavior has the potential to adversely affect the safety and well-being of community members.
|
|
77
|
+
|
|
78
|
+
## 10. Contact info
|
|
79
|
+
|
|
80
|
+
historic@openstreetmap.org
|
|
81
|
+
|
|
82
|
+
## 11. License and attribution
|
|
83
|
+
|
|
84
|
+
The Citizen Code of Conduct is distributed by [Stumptown Syndicate](http://stumptownsyndicate.org) under a [Creative Commons Attribution-ShareAlike license](http://creativecommons.org/licenses/by-sa/3.0/).
|
|
85
|
+
|
|
86
|
+
Portions of text derived from the [Django Code of Conduct](https://www.djangoproject.com/conduct/) and the [Geek Feminism Anti-Harassment Policy](http://geekfeminism.wikia.com/wiki/Conference_anti-harassment/Policy).
|
|
87
|
+
|
|
88
|
+
_Revision 2.3. Posted 6 March 2017._
|
|
89
|
+
|
|
90
|
+
_Revision 2.2. Posted 4 February 2016._
|
|
91
|
+
|
|
92
|
+
_Revision 2.1. Posted 23 June 2014._
|
|
93
|
+
|
|
94
|
+
_Revision 2.0, adopted by the [Stumptown Syndicate](http://stumptownsyndicate.org) board on 10 January 2013. Posted 17 March 2013._
|
package/LICENSE.md
CHANGED
|
@@ -1,121 +1,121 @@
|
|
|
1
|
-
Creative Commons Legal Code
|
|
2
|
-
|
|
3
|
-
CC0 1.0 Universal
|
|
4
|
-
|
|
5
|
-
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
|
|
6
|
-
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
|
|
7
|
-
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
|
|
8
|
-
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
|
|
9
|
-
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
|
|
10
|
-
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
|
|
11
|
-
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
|
|
12
|
-
HEREUNDER.
|
|
13
|
-
|
|
14
|
-
Statement of Purpose
|
|
15
|
-
|
|
16
|
-
The laws of most jurisdictions throughout the world automatically confer
|
|
17
|
-
exclusive Copyright and Related Rights (defined below) upon the creator
|
|
18
|
-
and subsequent owner(s) (each and all, an "owner") of an original work of
|
|
19
|
-
authorship and/or a database (each, a "Work").
|
|
20
|
-
|
|
21
|
-
Certain owners wish to permanently relinquish those rights to a Work for
|
|
22
|
-
the purpose of contributing to a commons of creative, cultural and
|
|
23
|
-
scientific works ("Commons") that the public can reliably and without fear
|
|
24
|
-
of later claims of infringement build upon, modify, incorporate in other
|
|
25
|
-
works, reuse and redistribute as freely as possible in any form whatsoever
|
|
26
|
-
and for any purposes, including without limitation commercial purposes.
|
|
27
|
-
These owners may contribute to the Commons to promote the ideal of a free
|
|
28
|
-
culture and the further production of creative, cultural and scientific
|
|
29
|
-
works, or to gain reputation or greater distribution for their Work in
|
|
30
|
-
part through the use and efforts of others.
|
|
31
|
-
|
|
32
|
-
For these and/or other purposes and motivations, and without any
|
|
33
|
-
expectation of additional consideration or compensation, the person
|
|
34
|
-
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
|
|
35
|
-
is an owner of Copyright and Related Rights in the Work, voluntarily
|
|
36
|
-
elects to apply CC0 to the Work and publicly distribute the Work under its
|
|
37
|
-
terms, with knowledge of his or her Copyright and Related Rights in the
|
|
38
|
-
Work and the meaning and intended legal effect of CC0 on those rights.
|
|
39
|
-
|
|
40
|
-
1. Copyright and Related Rights. A Work made available under CC0 may be
|
|
41
|
-
protected by copyright and related or neighboring rights ("Copyright and
|
|
42
|
-
Related Rights"). Copyright and Related Rights include, but are not
|
|
43
|
-
limited to, the following:
|
|
44
|
-
|
|
45
|
-
i. the right to reproduce, adapt, distribute, perform, display,
|
|
46
|
-
communicate, and translate a Work;
|
|
47
|
-
ii. moral rights retained by the original author(s) and/or performer(s);
|
|
48
|
-
iii. publicity and privacy rights pertaining to a person's image or
|
|
49
|
-
likeness depicted in a Work;
|
|
50
|
-
iv. rights protecting against unfair competition in regards to a Work,
|
|
51
|
-
subject to the limitations in paragraph 4(a), below;
|
|
52
|
-
v. rights protecting the extraction, dissemination, use and reuse of data
|
|
53
|
-
in a Work;
|
|
54
|
-
vi. database rights (such as those arising under Directive 96/9/EC of the
|
|
55
|
-
European Parliament and of the Council of 11 March 1996 on the legal
|
|
56
|
-
protection of databases, and under any national implementation
|
|
57
|
-
thereof, including any amended or successor version of such
|
|
58
|
-
directive); and
|
|
59
|
-
vii. other similar, equivalent or corresponding rights throughout the
|
|
60
|
-
world based on applicable law or treaty, and any national
|
|
61
|
-
implementations thereof.
|
|
62
|
-
|
|
63
|
-
2. Waiver. To the greatest extent permitted by, but not in contravention
|
|
64
|
-
of, applicable law, Affirmer hereby overtly, fully, permanently,
|
|
65
|
-
irrevocably and unconditionally waives, abandons, and surrenders all of
|
|
66
|
-
Affirmer's Copyright and Related Rights and associated claims and causes
|
|
67
|
-
of action, whether now known or unknown (including existing as well as
|
|
68
|
-
future claims and causes of action), in the Work (i) in all territories
|
|
69
|
-
worldwide, (ii) for the maximum duration provided by applicable law or
|
|
70
|
-
treaty (including future time extensions), (iii) in any current or future
|
|
71
|
-
medium and for any number of copies, and (iv) for any purpose whatsoever,
|
|
72
|
-
including without limitation commercial, advertising or promotional
|
|
73
|
-
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
|
|
74
|
-
member of the public at large and to the detriment of Affirmer's heirs and
|
|
75
|
-
successors, fully intending that such Waiver shall not be subject to
|
|
76
|
-
revocation, rescission, cancellation, termination, or any other legal or
|
|
77
|
-
equitable action to disrupt the quiet enjoyment of the Work by the public
|
|
78
|
-
as contemplated by Affirmer's express Statement of Purpose.
|
|
79
|
-
|
|
80
|
-
3. Public License Fallback. Should any part of the Waiver for any reason
|
|
81
|
-
be judged legally invalid or ineffective under applicable law, then the
|
|
82
|
-
Waiver shall be preserved to the maximum extent permitted taking into
|
|
83
|
-
account Affirmer's express Statement of Purpose. In addition, to the
|
|
84
|
-
extent the Waiver is so judged Affirmer hereby grants to each affected
|
|
85
|
-
person a royalty-free, non transferable, non sublicensable, non exclusive,
|
|
86
|
-
irrevocable and unconditional license to exercise Affirmer's Copyright and
|
|
87
|
-
Related Rights in the Work (i) in all territories worldwide, (ii) for the
|
|
88
|
-
maximum duration provided by applicable law or treaty (including future
|
|
89
|
-
time extensions), (iii) in any current or future medium and for any number
|
|
90
|
-
of copies, and (iv) for any purpose whatsoever, including without
|
|
91
|
-
limitation commercial, advertising or promotional purposes (the
|
|
92
|
-
"License"). The License shall be deemed effective as of the date CC0 was
|
|
93
|
-
applied by Affirmer to the Work. Should any part of the License for any
|
|
94
|
-
reason be judged legally invalid or ineffective under applicable law, such
|
|
95
|
-
partial invalidity or ineffectiveness shall not invalidate the remainder
|
|
96
|
-
of the License, and in such case Affirmer hereby affirms that he or she
|
|
97
|
-
will not (i) exercise any of his or her remaining Copyright and Related
|
|
98
|
-
Rights in the Work or (ii) assert any associated claims and causes of
|
|
99
|
-
action with respect to the Work, in either case contrary to Affirmer's
|
|
100
|
-
express Statement of Purpose.
|
|
101
|
-
|
|
102
|
-
4. Limitations and Disclaimers.
|
|
103
|
-
|
|
104
|
-
a. No trademark or patent rights held by Affirmer are waived, abandoned,
|
|
105
|
-
surrendered, licensed or otherwise affected by this document.
|
|
106
|
-
b. Affirmer offers the Work as-is and makes no representations or
|
|
107
|
-
warranties of any kind concerning the Work, express, implied,
|
|
108
|
-
statutory or otherwise, including without limitation warranties of
|
|
109
|
-
title, merchantability, fitness for a particular purpose, non
|
|
110
|
-
infringement, or the absence of latent or other defects, accuracy, or
|
|
111
|
-
the present or absence of errors, whether or not discoverable, all to
|
|
112
|
-
the greatest extent permissible under applicable law.
|
|
113
|
-
c. Affirmer disclaims responsibility for clearing rights of other persons
|
|
114
|
-
that may apply to the Work or any use thereof, including without
|
|
115
|
-
limitation any person's Copyright and Related Rights in the Work.
|
|
116
|
-
Further, Affirmer disclaims responsibility for obtaining any necessary
|
|
117
|
-
consents, permissions or other rights required for any use of the
|
|
118
|
-
Work.
|
|
119
|
-
d. Affirmer understands and acknowledges that Creative Commons is not a
|
|
120
|
-
party to this document and has no duty or obligation with respect to
|
|
121
|
-
this CC0 or use of the Work.
|
|
1
|
+
Creative Commons Legal Code
|
|
2
|
+
|
|
3
|
+
CC0 1.0 Universal
|
|
4
|
+
|
|
5
|
+
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
|
|
6
|
+
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
|
|
7
|
+
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
|
|
8
|
+
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
|
|
9
|
+
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
|
|
10
|
+
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
|
|
11
|
+
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
|
|
12
|
+
HEREUNDER.
|
|
13
|
+
|
|
14
|
+
Statement of Purpose
|
|
15
|
+
|
|
16
|
+
The laws of most jurisdictions throughout the world automatically confer
|
|
17
|
+
exclusive Copyright and Related Rights (defined below) upon the creator
|
|
18
|
+
and subsequent owner(s) (each and all, an "owner") of an original work of
|
|
19
|
+
authorship and/or a database (each, a "Work").
|
|
20
|
+
|
|
21
|
+
Certain owners wish to permanently relinquish those rights to a Work for
|
|
22
|
+
the purpose of contributing to a commons of creative, cultural and
|
|
23
|
+
scientific works ("Commons") that the public can reliably and without fear
|
|
24
|
+
of later claims of infringement build upon, modify, incorporate in other
|
|
25
|
+
works, reuse and redistribute as freely as possible in any form whatsoever
|
|
26
|
+
and for any purposes, including without limitation commercial purposes.
|
|
27
|
+
These owners may contribute to the Commons to promote the ideal of a free
|
|
28
|
+
culture and the further production of creative, cultural and scientific
|
|
29
|
+
works, or to gain reputation or greater distribution for their Work in
|
|
30
|
+
part through the use and efforts of others.
|
|
31
|
+
|
|
32
|
+
For these and/or other purposes and motivations, and without any
|
|
33
|
+
expectation of additional consideration or compensation, the person
|
|
34
|
+
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
|
|
35
|
+
is an owner of Copyright and Related Rights in the Work, voluntarily
|
|
36
|
+
elects to apply CC0 to the Work and publicly distribute the Work under its
|
|
37
|
+
terms, with knowledge of his or her Copyright and Related Rights in the
|
|
38
|
+
Work and the meaning and intended legal effect of CC0 on those rights.
|
|
39
|
+
|
|
40
|
+
1. Copyright and Related Rights. A Work made available under CC0 may be
|
|
41
|
+
protected by copyright and related or neighboring rights ("Copyright and
|
|
42
|
+
Related Rights"). Copyright and Related Rights include, but are not
|
|
43
|
+
limited to, the following:
|
|
44
|
+
|
|
45
|
+
i. the right to reproduce, adapt, distribute, perform, display,
|
|
46
|
+
communicate, and translate a Work;
|
|
47
|
+
ii. moral rights retained by the original author(s) and/or performer(s);
|
|
48
|
+
iii. publicity and privacy rights pertaining to a person's image or
|
|
49
|
+
likeness depicted in a Work;
|
|
50
|
+
iv. rights protecting against unfair competition in regards to a Work,
|
|
51
|
+
subject to the limitations in paragraph 4(a), below;
|
|
52
|
+
v. rights protecting the extraction, dissemination, use and reuse of data
|
|
53
|
+
in a Work;
|
|
54
|
+
vi. database rights (such as those arising under Directive 96/9/EC of the
|
|
55
|
+
European Parliament and of the Council of 11 March 1996 on the legal
|
|
56
|
+
protection of databases, and under any national implementation
|
|
57
|
+
thereof, including any amended or successor version of such
|
|
58
|
+
directive); and
|
|
59
|
+
vii. other similar, equivalent or corresponding rights throughout the
|
|
60
|
+
world based on applicable law or treaty, and any national
|
|
61
|
+
implementations thereof.
|
|
62
|
+
|
|
63
|
+
2. Waiver. To the greatest extent permitted by, but not in contravention
|
|
64
|
+
of, applicable law, Affirmer hereby overtly, fully, permanently,
|
|
65
|
+
irrevocably and unconditionally waives, abandons, and surrenders all of
|
|
66
|
+
Affirmer's Copyright and Related Rights and associated claims and causes
|
|
67
|
+
of action, whether now known or unknown (including existing as well as
|
|
68
|
+
future claims and causes of action), in the Work (i) in all territories
|
|
69
|
+
worldwide, (ii) for the maximum duration provided by applicable law or
|
|
70
|
+
treaty (including future time extensions), (iii) in any current or future
|
|
71
|
+
medium and for any number of copies, and (iv) for any purpose whatsoever,
|
|
72
|
+
including without limitation commercial, advertising or promotional
|
|
73
|
+
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
|
|
74
|
+
member of the public at large and to the detriment of Affirmer's heirs and
|
|
75
|
+
successors, fully intending that such Waiver shall not be subject to
|
|
76
|
+
revocation, rescission, cancellation, termination, or any other legal or
|
|
77
|
+
equitable action to disrupt the quiet enjoyment of the Work by the public
|
|
78
|
+
as contemplated by Affirmer's express Statement of Purpose.
|
|
79
|
+
|
|
80
|
+
3. Public License Fallback. Should any part of the Waiver for any reason
|
|
81
|
+
be judged legally invalid or ineffective under applicable law, then the
|
|
82
|
+
Waiver shall be preserved to the maximum extent permitted taking into
|
|
83
|
+
account Affirmer's express Statement of Purpose. In addition, to the
|
|
84
|
+
extent the Waiver is so judged Affirmer hereby grants to each affected
|
|
85
|
+
person a royalty-free, non transferable, non sublicensable, non exclusive,
|
|
86
|
+
irrevocable and unconditional license to exercise Affirmer's Copyright and
|
|
87
|
+
Related Rights in the Work (i) in all territories worldwide, (ii) for the
|
|
88
|
+
maximum duration provided by applicable law or treaty (including future
|
|
89
|
+
time extensions), (iii) in any current or future medium and for any number
|
|
90
|
+
of copies, and (iv) for any purpose whatsoever, including without
|
|
91
|
+
limitation commercial, advertising or promotional purposes (the
|
|
92
|
+
"License"). The License shall be deemed effective as of the date CC0 was
|
|
93
|
+
applied by Affirmer to the Work. Should any part of the License for any
|
|
94
|
+
reason be judged legally invalid or ineffective under applicable law, such
|
|
95
|
+
partial invalidity or ineffectiveness shall not invalidate the remainder
|
|
96
|
+
of the License, and in such case Affirmer hereby affirms that he or she
|
|
97
|
+
will not (i) exercise any of his or her remaining Copyright and Related
|
|
98
|
+
Rights in the Work or (ii) assert any associated claims and causes of
|
|
99
|
+
action with respect to the Work, in either case contrary to Affirmer's
|
|
100
|
+
express Statement of Purpose.
|
|
101
|
+
|
|
102
|
+
4. Limitations and Disclaimers.
|
|
103
|
+
|
|
104
|
+
a. No trademark or patent rights held by Affirmer are waived, abandoned,
|
|
105
|
+
surrendered, licensed or otherwise affected by this document.
|
|
106
|
+
b. Affirmer offers the Work as-is and makes no representations or
|
|
107
|
+
warranties of any kind concerning the Work, express, implied,
|
|
108
|
+
statutory or otherwise, including without limitation warranties of
|
|
109
|
+
title, merchantability, fitness for a particular purpose, non
|
|
110
|
+
infringement, or the absence of latent or other defects, accuracy, or
|
|
111
|
+
the present or absence of errors, whether or not discoverable, all to
|
|
112
|
+
the greatest extent permissible under applicable law.
|
|
113
|
+
c. Affirmer disclaims responsibility for clearing rights of other persons
|
|
114
|
+
that may apply to the Work or any use thereof, including without
|
|
115
|
+
limitation any person's Copyright and Related Rights in the Work.
|
|
116
|
+
Further, Affirmer disclaims responsibility for obtaining any necessary
|
|
117
|
+
consents, permissions or other rights required for any use of the
|
|
118
|
+
Work.
|
|
119
|
+
d. Affirmer understands and acknowledges that Creative Commons is not a
|
|
120
|
+
party to this document and has no duty or obligation with respect to
|
|
121
|
+
this CC0 or use of the Work.
|
package/README.md
CHANGED
|
@@ -1,50 +1,115 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
-
|
|
49
|
-
|
|
50
|
-
|
|
1
|
+
## OpenHistoricalMap styles
|
|
2
|
+
|
|
3
|
+
This repository contains vector map styles that can be applied to OpenHistoricalMap vector tiles. There are a number of uses for these styles but common to them is the OpenHistoricalMap vector tile source: https://vtiles.openhistoricalmap.org/.
|
|
4
|
+
|
|
5
|
+
### CDN usage with MapLibre GL JS
|
|
6
|
+
The [MapLibre GL JS quickstart](https://maplibre.org/maplibre-gl-js/docs/) has you create an html file containing:
|
|
7
|
+
|
|
8
|
+
```html
|
|
9
|
+
<html>
|
|
10
|
+
<head>
|
|
11
|
+
<script src="https://unpkg.com/maplibre-gl@latest/dist/maplibre-gl.js"></script>
|
|
12
|
+
<link href="https://unpkg.com/maplibre-gl@latest/dist/maplibre-gl.css" rel="stylesheet" />
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
<div id="map" style="width:100%;height:100%"></div>
|
|
16
|
+
<script>
|
|
17
|
+
var map = new maplibregl.Map({
|
|
18
|
+
container: 'map', // container id
|
|
19
|
+
style: 'https://demotiles.maplibre.org/style.json', // style URL
|
|
20
|
+
center: [0, 0], // starting position [lng, lat]
|
|
21
|
+
zoom: 1 // starting zoom
|
|
22
|
+
});
|
|
23
|
+
</script>
|
|
24
|
+
|
|
25
|
+
</body>
|
|
26
|
+
</html>
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
To use one of the OpenHistoricalMap styles simply replace the style URL, `https://demotiles.maplibre.org/style.json` with one of ours:
|
|
30
|
+
|
|
31
|
+
| Style | URL |
|
|
32
|
+
| --- | --- |
|
|
33
|
+
| historical | https://unpkg.com/@openhistoricalmap/map-styles@latest/dist/historical/historical.json |
|
|
34
|
+
| japanese_scroll | https://unpkg.com/@openhistoricalmap/map-styles@latest/dist/japanese_scroll/japanese_scroll.json |
|
|
35
|
+
| railway | https://unpkg.com/@openhistoricalmap/map-styles@latest/dist/railway/railway.json |
|
|
36
|
+
| woodblock | https://unpkg.com/@openhistoricalmap/map-styles@latest/dist/woodblock/woodblock.json |
|
|
37
|
+
|
|
38
|
+
Instead of specifying `latest` you can also pin your style to a particular version, e.g., `0.9.6`
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Style development using Maputnik
|
|
42
|
+
|
|
43
|
+
We use the hosted version of the [Maputnik visual editor](https://maputnik.github.io/editor/) for style development although a local installation should work equally well. The recommended way to work with Maputnik is to:
|
|
44
|
+
|
|
45
|
+
1. clone this repo to your computer or [download the latest release](https://github.com/OpenHistoricalMap/map-styles/releases).
|
|
46
|
+
`git clone git@github.com:OpenHistoricalMap/map-styles.git`
|
|
47
|
+
2. run `npm install` from the root directory.
|
|
48
|
+
3. run `npm run start` in the root directory; this will start the lightweight Node `http-server` and open a new tab or window in your browser. Everything except for the OHM vector tile sources (style files, glyphs, sprites) will be running locally on port 8888.
|
|
49
|
+
4. open the style file you wish to work on in Maputnik.; it will be `historical/historical.json` or an equivalent path for a different style.
|
|
50
|
+
5. if you're submitting changes to OpenHistoricalMap please begin by creating an issue that describes them at our [issues repository](https://github.com/OpenHistoricalMap/issues/), which is different from [where you'd submit your pull request](https://github.com/OpenHistoricalMap/map-styles).
|
|
51
|
+
6. when you're satisfied with your local changes, repopulate the `dist` directory by running `npm run build`; the build step replaces references to `localhost` with the production values of the OpenHistoricalMap servers for `glyph` and `sprite` serving; this is required prior to deploying to OHM's staging and production servers. If you're hosting your own fonts or icons you'll need to edit these for your custom use.
|
|
52
|
+
7. use `control-c` to end the browser session you started with `npm run start`.
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
Miscellaneous notes:
|
|
56
|
+
|
|
57
|
+
* we use [`nvm`](https://github.com/nvm-sh/nvm) and provide an `.nvmrc` file. If you use it, remember to begin your development with `nvm use`.
|
|
58
|
+
* although this repository contains glyphs for many fonts, the `build` step only packages the styles in use across all styles.
|
|
59
|
+
* If you're creating a new style, please follow our naming conventions where, for a _new_style_, the expected file hierarchy is:
|
|
60
|
+
```
|
|
61
|
+
/new_style/new_style.json
|
|
62
|
+
/new_style/new_style_spritesheet.json
|
|
63
|
+
/new_style/new_style_spritesheet.png
|
|
64
|
+
/new_style/new_style_spritesheet@2x.json
|
|
65
|
+
/new_style/new_style_spritesheet@2x.png
|
|
66
|
+
```
|
|
67
|
+
* the OpenHistoricalMap `timeslider` is not yet incorporated; it, too, is being readied for npm packaging.
|
|
68
|
+
* we recognize that it would be better if the local port number were configurable at the command line.
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
## Versioning and publishing to npm
|
|
72
|
+
|
|
73
|
+
1. increment the version in `package.json`, e.g., `0.9.7`
|
|
74
|
+
1. commit your style changes, including `/dist/*` & `package.json`, push to GitHub, and [create a corresponding release](https://github.com/OpenHistoricalMap/map-styles/releases/new), e.g., `v0.9.7`
|
|
75
|
+
1. publish to npm using `npm publish`
|
|
76
|
+
1. rebuild the OHM properties that depend on `map-styles`, making sure the latest version of the module has been pulled.
|
|
77
|
+
|
|
78
|
+
### ohm-website
|
|
79
|
+
|
|
80
|
+
1. ensure your local `staging` branch of `ohm-website` is current using `git pull`
|
|
81
|
+
1. create a release branch from `staging`, e.g., `git checkout -b map-styles-0.9.7`
|
|
82
|
+
1. log in to the Docker container and start a bash shell
|
|
83
|
+
1. run `yarn upgrade` and verify, using the output, that the correct version has been installed. Note that the `map-styles` version is specified with the `^` operator so that our `package.json` will need to be updated for a **major version release**, e.g., to `1.x` from `0.9.x`
|
|
84
|
+
```
|
|
85
|
+
Rebuilding all packages...
|
|
86
|
+
success Saved lockfile.
|
|
87
|
+
success Saved 159 new dependencies.
|
|
88
|
+
info Direct dependencies
|
|
89
|
+
├─ @mapbox/mapbox-gl-rtl-text@0.2.3
|
|
90
|
+
├─ @maplibre/maplibre-gl-leaflet@0.0.20
|
|
91
|
+
├─ @openhistoricalmap/map-styles@0.9.7
|
|
92
|
+
…
|
|
93
|
+
```
|
|
94
|
+
1. from your IDE/host computer, commit `yarn.lock` and push your branch to GitHub
|
|
95
|
+
1. open a pull request against `OpenHistoricalMap/ohm-website`'s `staging` branch
|
|
96
|
+
1. confirm that the only changed file is `yarn.lock` & merge to staging
|
|
97
|
+
1. pull the updated `staging` branch to get the merge commit
|
|
98
|
+
1. ensure your local `staging` branch of `ohm-deploy` is current using `git pull`
|
|
99
|
+
1. create a release branch from `staging`, e.g., `git checkout -b map-styles-0.9.7`
|
|
100
|
+
1. in `images/web/Dockerfile` update `OPENHISTORICALMAP_WEBSITE_GITSHA` & the reason string in the subsequent `RUN echo`
|
|
101
|
+
1. commit the `Dockerfile` and push your branch to GitHub
|
|
102
|
+
1. open a pull request against `OpenHistoricalMap/ohm-deploy`'s `staging` branch
|
|
103
|
+
1. confirm your changed files & merge to staging
|
|
104
|
+
1. monitor the build output
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
## Review styles while they are in staging
|
|
108
|
+
|
|
109
|
+
To review the styles with the latest updates to the map-styles repo before they are live, use the below links. These are pulled from the `staging` branch. The `staging` branch will reflect 1) recently made updates before they are merged into `main` and occasionally 2) iterative cartography testing.
|
|
110
|
+
|
|
111
|
+
To see a specific year in history, change the target year in the URL:
|
|
112
|
+
- Main/Historical: https://embed.openhistoricalmap.org/#map=16/40.70486/-74.01313&date=1700&layer=O_staging
|
|
113
|
+
- Rail style: https://embed.openhistoricalmap.org/#map=16/40.70486/-74.01313&date=1700&layer=R_staging
|
|
114
|
+
- Woodblock: https://embed.openhistoricalmap.org/#map=16/40.70486/-74.01313&date=1700&layer=W_staging
|
|
115
|
+
- Japanese Scroll: https://embed.openhistoricalmap.org/#map=16/40.70486/-74.01313&date=1700&layer=J_staging
|