@math.gl/earth 0.0.0-stage → 5.0.0-alpha.20

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.
Files changed (271) hide show
  1. package/LICENSE +1015 -0
  2. package/README.md +19 -2
  3. package/THIRD-PARTY-NOTICES.md +25 -0
  4. package/dist/geoid/create-geoid-from-grid.d.ts +15 -0
  5. package/dist/geoid/create-geoid-from-grid.d.ts.map +1 -0
  6. package/dist/geoid/create-geoid-from-grid.js +38 -0
  7. package/dist/geoid/create-geoid-from-grid.js.map +1 -0
  8. package/dist/geoid/geoid.d.ts +60 -0
  9. package/dist/geoid/geoid.d.ts.map +1 -0
  10. package/dist/geoid/geoid.js +261 -0
  11. package/dist/geoid/geoid.js.map +1 -0
  12. package/dist/geoid/index.cjs +727 -0
  13. package/dist/geoid/index.cjs.map +6 -0
  14. package/dist/geoid/index.d.ts +5 -0
  15. package/dist/geoid/index.d.ts.map +1 -0
  16. package/dist/geoid/index.js +7 -0
  17. package/dist/geoid/index.js.map +1 -0
  18. package/dist/geoid/parse-pgm.d.ts +12 -0
  19. package/dist/geoid/parse-pgm.d.ts.map +1 -0
  20. package/dist/geoid/parse-pgm.js +183 -0
  21. package/dist/geoid/parse-pgm.js.map +1 -0
  22. package/dist/index.cjs +2646 -0
  23. package/dist/index.cjs.map +6 -0
  24. package/dist/index.d.ts +4 -0
  25. package/dist/index.d.ts.map +1 -0
  26. package/dist/index.js +7 -0
  27. package/dist/index.js.map +1 -0
  28. package/dist/sun/astronomy.cjs +1729 -0
  29. package/dist/sun/astronomy.cjs.map +6 -0
  30. package/dist/sun/astronomy.d.ts +359 -0
  31. package/dist/sun/astronomy.d.ts.map +1 -0
  32. package/dist/sun/astronomy.js +181 -0
  33. package/dist/sun/astronomy.js.map +1 -0
  34. package/dist/sun/celestial.d.ts +4 -0
  35. package/dist/sun/celestial.d.ts.map +1 -0
  36. package/dist/sun/celestial.js +18 -0
  37. package/dist/sun/celestial.js.map +1 -0
  38. package/dist/sun/cloud-lighting.d.ts +49 -0
  39. package/dist/sun/cloud-lighting.d.ts.map +1 -0
  40. package/dist/sun/cloud-lighting.js +121 -0
  41. package/dist/sun/cloud-lighting.js.map +1 -0
  42. package/dist/sun/cloud-spectral.d.ts +3 -0
  43. package/dist/sun/cloud-spectral.d.ts.map +1 -0
  44. package/dist/sun/cloud-spectral.js +45 -0
  45. package/dist/sun/cloud-spectral.js.map +1 -0
  46. package/dist/sun/data/bright-stars.d.ts +3 -0
  47. package/dist/sun/data/bright-stars.d.ts.map +1 -0
  48. package/dist/sun/data/bright-stars.js +7015 -0
  49. package/dist/sun/data/bright-stars.js.map +1 -0
  50. package/dist/sun/data/sunlight.d.ts +2 -0
  51. package/dist/sun/data/sunlight.d.ts.map +1 -0
  52. package/dist/sun/data/sunlight.js +970 -0
  53. package/dist/sun/data/sunlight.js.map +1 -0
  54. package/dist/sun/index.cjs +1744 -0
  55. package/dist/sun/index.cjs.map +6 -0
  56. package/dist/sun/index.d.ts +23 -0
  57. package/dist/sun/index.d.ts.map +1 -0
  58. package/dist/sun/index.js +17 -0
  59. package/dist/sun/index.js.map +1 -0
  60. package/dist/sun/moon-appearance.d.ts +25 -0
  61. package/dist/sun/moon-appearance.d.ts.map +1 -0
  62. package/dist/sun/moon-appearance.js +50 -0
  63. package/dist/sun/moon-appearance.js.map +1 -0
  64. package/dist/sun/moon-sky-brightness.d.ts +7 -0
  65. package/dist/sun/moon-sky-brightness.d.ts.map +1 -0
  66. package/dist/sun/moon-sky-brightness.js +50 -0
  67. package/dist/sun/moon-sky-brightness.js.map +1 -0
  68. package/dist/sun/moon.d.ts +26 -0
  69. package/dist/sun/moon.d.ts.map +1 -0
  70. package/dist/sun/moon.js +74 -0
  71. package/dist/sun/moon.js.map +1 -0
  72. package/dist/sun/moonlight.d.ts +23 -0
  73. package/dist/sun/moonlight.d.ts.map +1 -0
  74. package/dist/sun/moonlight.js +48 -0
  75. package/dist/sun/moonlight.js.map +1 -0
  76. package/dist/sun/planet-position.d.ts +63 -0
  77. package/dist/sun/planet-position.d.ts.map +1 -0
  78. package/dist/sun/planet-position.js +189 -0
  79. package/dist/sun/planet-position.js.map +1 -0
  80. package/dist/sun/planet-times.d.ts +41 -0
  81. package/dist/sun/planet-times.d.ts.map +1 -0
  82. package/dist/sun/planet-times.js +86 -0
  83. package/dist/sun/planet-times.js.map +1 -0
  84. package/dist/sun/planet-visibility.d.ts +39 -0
  85. package/dist/sun/planet-visibility.d.ts.map +1 -0
  86. package/dist/sun/planet-visibility.js +82 -0
  87. package/dist/sun/planet-visibility.js.map +1 -0
  88. package/dist/sun/planets.cjs +411 -0
  89. package/dist/sun/planets.cjs.map +6 -0
  90. package/dist/sun/planets.d.ts +7 -0
  91. package/dist/sun/planets.d.ts.map +1 -0
  92. package/dist/sun/planets.js +7 -0
  93. package/dist/sun/planets.js.map +1 -0
  94. package/dist/sun/sky-brightness.d.ts +32 -0
  95. package/dist/sun/sky-brightness.d.ts.map +1 -0
  96. package/dist/sun/sky-brightness.js +108 -0
  97. package/dist/sun/sky-brightness.js.map +1 -0
  98. package/dist/sun/sky-events.d.ts +16 -0
  99. package/dist/sun/sky-events.d.ts.map +1 -0
  100. package/dist/sun/sky-events.js +60 -0
  101. package/dist/sun/sky-events.js.map +1 -0
  102. package/dist/sun/sky-globe.d.ts +15 -0
  103. package/dist/sun/sky-globe.d.ts.map +1 -0
  104. package/dist/sun/sky-globe.js +51 -0
  105. package/dist/sun/sky-globe.js.map +1 -0
  106. package/dist/sun/sky-lighting.d.ts +27 -0
  107. package/dist/sun/sky-lighting.d.ts.map +1 -0
  108. package/dist/sun/sky-lighting.js +88 -0
  109. package/dist/sun/sky-lighting.js.map +1 -0
  110. package/dist/sun/sky-observer.d.ts +22 -0
  111. package/dist/sun/sky-observer.d.ts.map +1 -0
  112. package/dist/sun/sky-observer.js +57 -0
  113. package/dist/sun/sky-observer.js.map +1 -0
  114. package/dist/sun/sky-time.d.ts +9 -0
  115. package/dist/sun/sky-time.d.ts.map +1 -0
  116. package/dist/sun/sky-time.js +38 -0
  117. package/dist/sun/sky-time.js.map +1 -0
  118. package/dist/sun/star-galactic.d.ts +15 -0
  119. package/dist/sun/star-galactic.d.ts.map +1 -0
  120. package/dist/sun/star-galactic.js +98 -0
  121. package/dist/sun/star-galactic.js.map +1 -0
  122. package/dist/sun/star-milky-way.d.ts +14 -0
  123. package/dist/sun/star-milky-way.d.ts.map +1 -0
  124. package/dist/sun/star-milky-way.js +32 -0
  125. package/dist/sun/star-milky-way.js.map +1 -0
  126. package/dist/sun/star-render.d.ts +38 -0
  127. package/dist/sun/star-render.d.ts.map +1 -0
  128. package/dist/sun/star-render.js +98 -0
  129. package/dist/sun/star-render.js.map +1 -0
  130. package/dist/sun/star-types.d.ts +60 -0
  131. package/dist/sun/star-types.d.ts.map +1 -0
  132. package/dist/sun/star-types.js +5 -0
  133. package/dist/sun/star-types.js.map +1 -0
  134. package/dist/sun/starfield.d.ts +13 -0
  135. package/dist/sun/starfield.d.ts.map +1 -0
  136. package/dist/sun/starfield.js +86 -0
  137. package/dist/sun/starfield.js.map +1 -0
  138. package/dist/sun/stars.cjs +7519 -0
  139. package/dist/sun/stars.cjs.map +6 -0
  140. package/dist/sun/stars.d.ts +26 -0
  141. package/dist/sun/stars.d.ts.map +1 -0
  142. package/dist/sun/stars.js +188 -0
  143. package/dist/sun/stars.js.map +1 -0
  144. package/dist/sun/suncalc.d.ts +26 -0
  145. package/dist/sun/suncalc.d.ts.map +1 -0
  146. package/dist/sun/suncalc.js +94 -0
  147. package/dist/sun/suncalc.js.map +1 -0
  148. package/dist/sun/sunlight.d.ts +25 -0
  149. package/dist/sun/sunlight.d.ts.map +1 -0
  150. package/dist/sun/sunlight.js +76 -0
  151. package/dist/sun/sunlight.js.map +1 -0
  152. package/dist/timezone/index.cjs +205 -0
  153. package/dist/timezone/index.cjs.map +6 -0
  154. package/dist/timezone/index.d.ts +6 -0
  155. package/dist/timezone/index.d.ts.map +1 -0
  156. package/dist/timezone/index.js +8 -0
  157. package/dist/timezone/index.js.map +1 -0
  158. package/dist/timezone/instant.d.ts +4 -0
  159. package/dist/timezone/instant.d.ts.map +1 -0
  160. package/dist/timezone/instant.js +20 -0
  161. package/dist/timezone/instant.js.map +1 -0
  162. package/dist/timezone/local-date-time.d.ts +4 -0
  163. package/dist/timezone/local-date-time.d.ts.map +1 -0
  164. package/dist/timezone/local-date-time.js +34 -0
  165. package/dist/timezone/local-date-time.js.map +1 -0
  166. package/dist/timezone/lookup-async.d.ts +3 -0
  167. package/dist/timezone/lookup-async.d.ts.map +1 -0
  168. package/dist/timezone/lookup-async.js +14 -0
  169. package/dist/timezone/lookup-async.js.map +1 -0
  170. package/dist/timezone/lookup.cjs +83 -0
  171. package/dist/timezone/lookup.cjs.map +6 -0
  172. package/dist/timezone/lookup.d.ts +3 -0
  173. package/dist/timezone/lookup.d.ts.map +1 -0
  174. package/dist/timezone/lookup.js +18 -0
  175. package/dist/timezone/lookup.js.map +1 -0
  176. package/dist/timezone/temporal.cjs +5696 -0
  177. package/dist/timezone/temporal.cjs.map +6 -0
  178. package/dist/timezone/temporal.d.ts +9 -0
  179. package/dist/timezone/temporal.d.ts.map +1 -0
  180. package/dist/timezone/temporal.js +60 -0
  181. package/dist/timezone/temporal.js.map +1 -0
  182. package/dist/timezone/timezone-label.d.ts +5 -0
  183. package/dist/timezone/timezone-label.d.ts.map +1 -0
  184. package/dist/timezone/timezone-label.js +27 -0
  185. package/dist/timezone/timezone-label.js.map +1 -0
  186. package/dist/timezone/timezone-offset.d.ts +3 -0
  187. package/dist/timezone/timezone-offset.d.ts.map +1 -0
  188. package/dist/timezone/timezone-offset.js +22 -0
  189. package/dist/timezone/timezone-offset.js.map +1 -0
  190. package/dist/timezone/types.d.ts +23 -0
  191. package/dist/timezone/types.d.ts.map +1 -0
  192. package/dist/timezone/types.js +5 -0
  193. package/dist/timezone/types.js.map +1 -0
  194. package/dist/timezone/vendor/temporal/runtime.d.ts +3 -0
  195. package/dist/timezone/vendor/temporal/runtime.d.ts.map +1 -0
  196. package/dist/timezone/vendor/temporal/runtime.js +5649 -0
  197. package/dist/timezone/vendor/temporal/runtime.js.map +1 -0
  198. package/dist/timezone/vendor/temporal/types.d.ts +939 -0
  199. package/dist/timezone/vendor/temporal/types.d.ts.map +1 -0
  200. package/dist/timezone/vendor/temporal/types.js +4 -0
  201. package/dist/timezone/vendor/temporal/types.js.map +1 -0
  202. package/dist/timezone/vendor/tz-lookup/runtime.d.ts +3 -0
  203. package/dist/timezone/vendor/tz-lookup/runtime.d.ts.map +1 -0
  204. package/dist/timezone/vendor/tz-lookup/runtime.js +53 -0
  205. package/dist/timezone/vendor/tz-lookup/runtime.js.map +1 -0
  206. package/geoid/data/README.md +28 -0
  207. package/geoid/data/geoid-egm96-hi.pgm +0 -0
  208. package/geoid/data/geoid-egm96-low.pgm +0 -0
  209. package/geoid/data/geoid-manifest.json +22 -0
  210. package/package.json +102 -4
  211. package/src/geoid/create-geoid-from-grid.ts +51 -0
  212. package/src/geoid/geoid.ts +297 -0
  213. package/src/geoid/index.ts +8 -0
  214. package/src/geoid/parse-pgm.ts +189 -0
  215. package/src/index.ts +7 -0
  216. package/src/sun/astronomy.ts +272 -0
  217. package/src/sun/celestial.ts +22 -0
  218. package/src/sun/cloud-lighting.ts +198 -0
  219. package/src/sun/cloud-spectral.ts +54 -0
  220. package/src/sun/data/bright-stars.ts +7024 -0
  221. package/src/sun/data/sunlight.ts +969 -0
  222. package/src/sun/index.ts +43 -0
  223. package/src/sun/moon-appearance.ts +81 -0
  224. package/src/sun/moon-sky-brightness.ts +64 -0
  225. package/src/sun/moon.ts +122 -0
  226. package/src/sun/moonlight.ts +88 -0
  227. package/src/sun/planet-position.ts +305 -0
  228. package/src/sun/planet-times.ts +142 -0
  229. package/src/sun/planet-visibility.ts +143 -0
  230. package/src/sun/planets.ts +18 -0
  231. package/src/sun/sky-brightness.ts +148 -0
  232. package/src/sun/sky-events.ts +66 -0
  233. package/src/sun/sky-globe.ts +72 -0
  234. package/src/sun/sky-lighting.ts +118 -0
  235. package/src/sun/sky-observer.ts +66 -0
  236. package/src/sun/sky-time.ts +42 -0
  237. package/src/sun/star-galactic.ts +111 -0
  238. package/src/sun/star-milky-way.ts +61 -0
  239. package/src/sun/star-render.ts +149 -0
  240. package/src/sun/star-types.ts +66 -0
  241. package/src/sun/starfield.ts +100 -0
  242. package/src/sun/stars.ts +260 -0
  243. package/src/sun/suncalc.ts +141 -0
  244. package/src/sun/sunlight.ts +112 -0
  245. package/src/timezone/index.ts +9 -0
  246. package/src/timezone/instant.ts +21 -0
  247. package/src/timezone/local-date-time.ts +40 -0
  248. package/src/timezone/lookup-async.ts +15 -0
  249. package/src/timezone/lookup.ts +21 -0
  250. package/src/timezone/temporal.ts +81 -0
  251. package/src/timezone/timezone-label.ts +30 -0
  252. package/src/timezone/timezone-offset.ts +21 -0
  253. package/src/timezone/types.ts +30 -0
  254. package/src/timezone/vendor/temporal/JSBI-LICENSE.txt +179 -0
  255. package/src/timezone/vendor/temporal/LICENSE.txt +16 -0
  256. package/src/timezone/vendor/temporal/README.md +23 -0
  257. package/src/timezone/vendor/temporal/runtime.ts +5070 -0
  258. package/src/timezone/vendor/temporal/types.ts +1146 -0
  259. package/src/timezone/vendor/tz-lookup/LICENSE.txt +119 -0
  260. package/src/timezone/vendor/tz-lookup/README.md +22 -0
  261. package/src/timezone/vendor/tz-lookup/runtime.ts +53 -0
  262. package/sun/LICENSE-BRIGHT-STARS +21 -0
  263. package/sun/LICENSE-HOSEK-WILKIE +30 -0
  264. package/sun/LICENSE-SUNCALC +24 -0
  265. package/timezone/data/LICENSE-ODbL.txt +538 -0
  266. package/timezone/data/README.md +50 -0
  267. package/timezone/data/manifest.json +37 -0
  268. package/timezone/data/timezone-geometry-hi.json +1 -0
  269. package/timezone/data/timezone-geometry-hi.parquet +0 -0
  270. package/timezone/data/timezone-geometry-low.json +1 -0
  271. package/timezone/data/timezone-geometry-low.parquet +0 -0
@@ -0,0 +1,538 @@
1
+ Open Database License (ODbL) v1.0
2
+ Disclaimer
3
+ Open Data Commons is not a law firm and does not provide legal services of any kind.
4
+
5
+ Open Data Commons has no formal relationship with you. Your receipt of this document does not create any kind of agent-client relationship. Please seek the advice of a suitably qualified legal professional licensed to practice in your jurisdiction before using this document.
6
+
7
+ No warranties and disclaimer of any damages. This information is provided ‘as is‘, and this site makes no warranties on the information provided. Any damages resulting from its use are disclaimed.
8
+
9
+ Plain language summary
10
+ A plain language summary of the Open Database License is available.
11
+
12
+ Alternative formats:
13
+ Plain Text
14
+
15
+ ODC Open Database License (ODbL)
16
+ Preamble
17
+ The Open Database License (ODbL) is a license agreement intended to
18
+ allow users to freely share, modify, and use this Database while
19
+ maintaining this same freedom for others. Many databases are covered by
20
+ copyright, and therefore this document licenses these rights. Some
21
+ jurisdictions, mainly in the European Union, have specific rights that
22
+ cover databases, and so the ODbL addresses these rights, too. Finally,
23
+ the ODbL is also an agreement in contract for users of this Database to
24
+ act in certain ways in return for accessing this Database.
25
+
26
+ Databases can contain a wide variety of types of content (images,
27
+ audiovisual material, and sounds all in the same database, for example),
28
+ and so the ODbL only governs the rights over the Database, and not the
29
+ contents of the Database individually. Licensors should use the ODbL
30
+ together with another license for the contents, if the contents have a
31
+ single set of rights that uniformly covers all of the contents. If the
32
+ contents have multiple sets of different rights, Licensors should
33
+ describe what rights govern what contents together in the individual
34
+ record or in some other way that clarifies what rights apply.
35
+
36
+ Sometimes the contents of a database, or the database itself, can be
37
+ covered by other rights not addressed here (such as private contracts,
38
+ trade mark over the name, or privacy rights / data protection rights
39
+ over information in the contents), and so you are advised that you may
40
+ have to consult other documents or clear other rights before doing
41
+ activities not covered by this License.
42
+
43
+ The Licensor (as defined below)
44
+
45
+ and
46
+
47
+ You (as defined below)
48
+
49
+ agree as follows:
50
+
51
+ 1.0 Definitions of Capitalised Words
52
+ “Collective Database” – Means this Database in unmodified form as part
53
+ of a collection of independent databases in themselves that together are
54
+ assembled into a collective whole. A work that constitutes a Collective
55
+ Database will not be considered a Derivative Database.
56
+
57
+ “Convey” – As a verb, means Using the Database, a Derivative Database,
58
+ or the Database as part of a Collective Database in any way that enables
59
+ a Person to make or receive copies of the Database or a Derivative
60
+ Database. Conveying does not include interaction with a user through a
61
+ computer network, or creating and Using a Produced Work, where no
62
+ transfer of a copy of the Database or a Derivative Database occurs.
63
+ “Contents” – The contents of this Database, which includes the
64
+ information, independent works, or other material collected into the
65
+ Database. For example, the contents of the Database could be factual
66
+ data or works such as images, audiovisual material, text, or sounds.
67
+
68
+ “Database” – A collection of material (the Contents) arranged in a
69
+ systematic or methodical way and individually accessible by electronic
70
+ or other means offered under the terms of this License.
71
+
72
+ “Database Directive” – Means Directive 96/9/EC of the European
73
+ Parliament and of the Council of 11 March 1996 on the legal protection
74
+ of databases, as amended or succeeded.
75
+
76
+ “Database Right” – Means rights resulting from the Chapter III (“sui
77
+ generis”) rights in the Database Directive (as amended and as transposed
78
+ by member states), which includes the Extraction and Re-utilisation of
79
+ the whole or a Substantial part of the Contents, as well as any similar
80
+ rights available in the relevant jurisdiction under Section 10.4.
81
+
82
+ “Derivative Database” – Means a database based upon the Database, and
83
+ includes any translation, adaptation, arrangement, modification, or any
84
+ other alteration of the Database or of a Substantial part of the
85
+ Contents. This includes, but is not limited to, Extracting or
86
+ Re-utilising the whole or a Substantial part of the Contents in a new
87
+ Database.
88
+
89
+ “Extraction” – Means the permanent or temporary transfer of all or a
90
+ Substantial part of the Contents to another medium by any means or in
91
+ any form.
92
+
93
+ “License” – Means this license agreement and is both a license of rights
94
+ such as copyright and Database Rights and an agreement in contract.
95
+
96
+ “Licensor” – Means the Person that offers the Database under the terms
97
+ of this License.
98
+
99
+ “Person” – Means a natural or legal person or a body of persons
100
+ corporate or incorporate.
101
+
102
+ “Produced Work” – a work (such as an image, audiovisual material, text,
103
+ or sounds) resulting from using the whole or a Substantial part of the
104
+ Contents (via a search or other query) from this Database, a Derivative
105
+ Database, or this Database as part of a Collective Database.
106
+
107
+ “Publicly” – means to Persons other than You or under Your control by
108
+ either more than 50% ownership or by the power to direct their
109
+ activities (such as contracting with an independent consultant).
110
+
111
+ “Re-utilisation” – means any form of making available to the public all
112
+ or a Substantial part of the Contents by the distribution of copies, by
113
+ renting, by online or other forms of transmission.
114
+
115
+ “Substantial” – Means substantial in terms of quantity or quality or a
116
+ combination of both. The repeated and systematic Extraction or
117
+ Re-utilisation of insubstantial parts of the Contents may amount to the
118
+ Extraction or Re-utilisation of a Substantial part of the Contents.
119
+
120
+ “Use” – As a verb, means doing any act that is restricted by copyright
121
+ or Database Rights whether in the original medium or any other; and
122
+ includes without limitation distributing, copying, publicly performing,
123
+ publicly displaying, and preparing derivative works of the Database, as
124
+ well as modifying the Database as may be technically necessary to use it
125
+ in a different mode or format.
126
+
127
+ “You” – Means a Person exercising rights under this License who has not
128
+ previously violated the terms of this License with respect to the
129
+ Database, or who has received express permission from the Licensor to
130
+ exercise rights under this License despite a previous violation.
131
+
132
+ Words in the singular include the plural and vice versa.
133
+
134
+ 2.0 What this License covers
135
+ 2.1. Legal effect of this document. This License is:
136
+
137
+ a. A license of applicable copyright and neighbouring rights;
138
+
139
+ b. A license of the Database Right; and
140
+
141
+ c. An agreement in contract between You and the Licensor.
142
+
143
+ 2.2 Legal rights covered. This License covers the legal rights in the
144
+ Database, including:
145
+
146
+ a. Copyright. Any copyright or neighbouring rights in the Database.
147
+ The copyright licensed includes any individual elements of the
148
+ Database, but does not cover the copyright over the Contents
149
+ independent of this Database. See Section 2.4 for details. Copyright
150
+ law varies between jurisdictions, but is likely to cover: the Database
151
+ model or schema, which is the structure, arrangement, and organisation
152
+ of the Database, and can also include the Database tables and table
153
+ indexes; the data entry and output sheets; and the Field names of
154
+ Contents stored in the Database;
155
+
156
+ b. Database Rights. Database Rights only extend to the Extraction and
157
+ Re-utilisation of the whole or a Substantial part of the Contents.
158
+ Database Rights can apply even when there is no copyright over the
159
+ Database. Database Rights can also apply when the Contents are removed
160
+ from the Database and are selected and arranged in a way that would
161
+ not infringe any applicable copyright; and
162
+
163
+ c. Contract. This is an agreement between You and the Licensor for
164
+ access to the Database. In return you agree to certain conditions of
165
+ use on this access as outlined in this License.
166
+
167
+ 2.3 Rights not covered.
168
+
169
+ a. This License does not apply to computer programs used in the making
170
+ or operation of the Database;
171
+
172
+ b. This License does not cover any patents over the Contents or the
173
+ Database; and
174
+
175
+ c. This License does not cover any trademarks associated with the
176
+ Database.
177
+
178
+ 2.4 Relationship to Contents in the Database. The individual items of
179
+ the Contents contained in this Database may be covered by other rights,
180
+ including copyright, patent, data protection, privacy, or personality
181
+ rights, and this License does not cover any rights (other than Database
182
+ Rights or in contract) in individual Contents contained in the Database.
183
+ For example, if used on a Database of images (the Contents), this
184
+ License would not apply to copyright over individual images, which could
185
+ have their own separate licenses, or one single license covering all of
186
+ the rights over the images.
187
+
188
+ 3.0 Rights granted
189
+ 3.1 Subject to the terms and conditions of this License, the Licensor
190
+ grants to You a worldwide, royalty-free, non-exclusive, terminable (but
191
+ only under Section 9) license to Use the Database for the duration of
192
+ any applicable copyright and Database Rights. These rights explicitly
193
+ include commercial use, and do not exclude any field of endeavour. To
194
+ the extent possible in the relevant jurisdiction, these rights may be
195
+ exercised in all media and formats whether now known or created in the
196
+ future.
197
+
198
+ The rights granted cover, for example:
199
+
200
+ a. Extraction and Re-utilisation of the whole or a Substantial part of
201
+ the Contents;
202
+
203
+ b. Creation of Derivative Databases;
204
+
205
+ c. Creation of Collective Databases;
206
+
207
+ d. Creation of temporary or permanent reproductions by any means and
208
+ in any form, in whole or in part, including of any Derivative
209
+ Databases or as a part of Collective Databases; and
210
+
211
+ e. Distribution, communication, display, lending, making available, or
212
+ performance to the public by any means and in any form, in whole or in
213
+ part, including of any Derivative Database or as a part of Collective
214
+ Databases.
215
+
216
+ 3.2 Compulsory license schemes. For the avoidance of doubt:
217
+
218
+ a. Non-waivable compulsory license schemes. In those jurisdictions in
219
+ which the right to collect royalties through any statutory or
220
+ compulsory licensing scheme cannot be waived, the Licensor reserves
221
+ the exclusive right to collect such royalties for any exercise by You
222
+ of the rights granted under this License;
223
+
224
+ b. Waivable compulsory license schemes. In those jurisdictions in
225
+ which the right to collect royalties through any statutory or
226
+ compulsory licensing scheme can be waived, the Licensor waives the
227
+ exclusive right to collect such royalties for any exercise by You of
228
+ the rights granted under this License; and,
229
+
230
+ c. Voluntary license schemes. The Licensor waives the right to collect
231
+ royalties, whether individually or, in the event that the Licensor is
232
+ a member of a collecting society that administers voluntary licensing
233
+ schemes, via that society, from any exercise by You of the rights
234
+ granted under this License.
235
+
236
+ 3.3 The right to release the Database under different terms, or to stop
237
+ distributing or making available the Database, is reserved. Note that
238
+ this Database may be multiple-licensed, and so You may have the choice
239
+ of using alternative licenses for this Database. Subject to Section
240
+ 10.4, all other rights not expressly granted by Licensor are reserved.
241
+
242
+ 4.0 Conditions of Use
243
+ 4.1 The rights granted in Section 3 above are expressly made subject to
244
+ Your complying with the following conditions of use. These are important
245
+ conditions of this License, and if You fail to follow them, You will be
246
+ in material breach of its terms.
247
+
248
+ 4.2 Notices. If You Publicly Convey this Database, any Derivative
249
+ Database, or the Database as part of a Collective Database, then You
250
+ must:
251
+
252
+ a. Do so only under the terms of this License or another license
253
+ permitted under Section 4.4;
254
+
255
+ b. Include a copy of this License (or, as applicable, a license
256
+ permitted under Section 4.4) or its Uniform Resource Identifier (URI)
257
+ with the Database or Derivative Database, including both in the
258
+ Database or Derivative Database and in any relevant documentation; and
259
+
260
+ c. Keep intact any copyright or Database Right notices and notices
261
+ that refer to this License.
262
+
263
+ d. If it is not possible to put the required notices in a particular
264
+ file due to its structure, then You must include the notices in a
265
+ location (such as a relevant directory) where users would be likely to
266
+ look for it.
267
+
268
+ 4.3 Notice for using output (Contents). Creating and Using a Produced
269
+ Work does not require the notice in Section 4.2. However, if you
270
+ Publicly Use a Produced Work, You must include a notice associated with
271
+ the Produced Work reasonably calculated to make any Person that uses,
272
+ views, accesses, interacts with, or is otherwise exposed to the Produced
273
+ Work aware that Content was obtained from the Database, Derivative
274
+ Database, or the Database as part of a Collective Database, and that it
275
+ is available under this License.
276
+
277
+ a. Example notice. The following text will satisfy notice under
278
+ Section 4.3:
279
+
280
+ Contains information from DATABASE NAME, which is made available
281
+ here under the Open Database License (ODbL).
282
+ DATABASE NAME should be replaced with the name of the Database and a
283
+ hyperlink to the URI of the Database. “Open Database License” should
284
+ contain a hyperlink to the URI of the text of this License. If
285
+ hyperlinks are not possible, You should include the plain text of the
286
+ required URI’s with the above notice.
287
+
288
+ 4.4 Share alike.
289
+
290
+ a. Any Derivative Database that You Publicly Use must be only under
291
+ the terms of:
292
+
293
+ i. This License;
294
+
295
+ ii. A later version of this License similar in spirit to this
296
+ License; or
297
+
298
+ iii. A compatible license.
299
+
300
+ If You license the Derivative Database under one of the licenses
301
+ mentioned in (iii), You must comply with the terms of that license.
302
+
303
+ b. For the avoidance of doubt, Extraction or Re-utilisation of the
304
+ whole or a Substantial part of the Contents into a new database is a
305
+ Derivative Database and must comply with Section 4.4.
306
+
307
+ c. Derivative Databases and Produced Works. A Derivative Database is
308
+ Publicly Used and so must comply with Section 4.4. if a Produced Work
309
+ created from the Derivative Database is Publicly Used.
310
+
311
+ d. Share Alike and additional Contents. For the avoidance of doubt,
312
+ You must not add Contents to Derivative Databases under Section 4.4 a
313
+ that are incompatible with the rights granted under this License.
314
+
315
+ e. Compatible licenses. Licensors may authorise a proxy to determine
316
+ compatible licenses under Section 4.4 a iii. If they do so, the
317
+ authorised proxy’s public statement of acceptance of a compatible
318
+ license grants You permission to use the compatible license.
319
+
320
+ 4.5 Limits of Share Alike. The requirements of Section 4.4 do not apply
321
+ in the following:
322
+
323
+ a. For the avoidance of doubt, You are not required to license
324
+ Collective Databases under this License if You incorporate this
325
+ Database or a Derivative Database in the collection, but this License
326
+ still applies to this Database or a Derivative Database as a part of
327
+ the Collective Database;
328
+
329
+ b. Using this Database, a Derivative Database, or this Database as
330
+ part of a Collective Database to create a Produced Work does not
331
+ create a Derivative Database for purposes of Section 4.4; and
332
+
333
+ c. Use of a Derivative Database internally within an organisation is
334
+ not to the public and therefore does not fall under the requirements
335
+ of Section 4.4.
336
+
337
+ 4.6 Access to Derivative Databases. If You Publicly Use a Derivative
338
+ Database or a Produced Work from a Derivative Database, You must also
339
+ offer to recipients of the Derivative Database or Produced Work a copy
340
+ in a machine readable form of:
341
+
342
+ a. The entire Derivative Database; or
343
+
344
+ b. A file containing all of the alterations made to the Database or
345
+ the method of making the alterations to the Database (such as an
346
+ algorithm), including any additional Contents, that make up all the
347
+ differences between the Database and the Derivative Database.
348
+
349
+ The Derivative Database (under a.) or alteration file (under b.) must be
350
+ available at no more than a reasonable production cost for physical
351
+ distributions and free of charge if distributed over the internet.
352
+
353
+ 4.7 Technological measures and additional terms
354
+
355
+ a. This License does not allow You to impose (except subject to
356
+ Section 4.7 b.) any terms or any technological measures on the
357
+ Database, a Derivative Database, or the whole or a Substantial part of
358
+ the Contents that alter or restrict the terms of this License, or any
359
+ rights granted under it, or have the effect or intent of restricting
360
+ the ability of any person to exercise those rights.
361
+
362
+ b. Parallel distribution. You may impose terms or technological
363
+ measures on the Database, a Derivative Database, or the whole or a
364
+ Substantial part of the Contents (a “Restricted Database”) in
365
+ contravention of Section 4.74 a. only if You also make a copy of the
366
+ Database or a Derivative Database available to the recipient of the
367
+ Restricted Database:
368
+
369
+ i. That is available without additional fee;
370
+
371
+ ii. That is available in a medium that does not alter or restrict
372
+ the terms of this License, or any rights granted under it, or have
373
+ the effect or intent of restricting the ability of any person to
374
+ exercise those rights (an “Unrestricted Database”); and
375
+
376
+ iii. The Unrestricted Database is at least as accessible to the
377
+ recipient as a practical matter as the Restricted Database.
378
+
379
+ c. For the avoidance of doubt, You may place this Database or a
380
+ Derivative Database in an authenticated environment, behind a
381
+ password, or within a similar access control scheme provided that You
382
+ do not alter or restrict the terms of this License or any rights
383
+ granted under it or have the effect or intent of restricting the
384
+ ability of any person to exercise those rights.
385
+
386
+ 4.8 Licensing of others. You may not sublicense the Database. Each time
387
+ You communicate the Database, the whole or Substantial part of the
388
+ Contents, or any Derivative Database to anyone else in any way, the
389
+ Licensor offers to the recipient a license to the Database on the same
390
+ terms and conditions as this License. You are not responsible for
391
+ enforcing compliance by third parties with this License, but You may
392
+ enforce any rights that You have over a Derivative Database. You are
393
+ solely responsible for any modifications of a Derivative Database made
394
+ by You or another Person at Your direction. You may not impose any
395
+ further restrictions on the exercise of the rights granted or affirmed
396
+ under this License.
397
+
398
+ 5.0 Moral rights
399
+ 5.1 Moral rights. This section covers moral rights, including any rights
400
+ to be identified as the author of the Database or to object to treatment
401
+ that would otherwise prejudice the author’s honour and reputation, or
402
+ any other derogatory treatment:
403
+
404
+ a. For jurisdictions allowing waiver of moral rights, Licensor waives
405
+ all moral rights that Licensor may have in the Database to the fullest
406
+ extent possible by the law of the relevant jurisdiction under Section
407
+ 10.4;
408
+
409
+ b. If waiver of moral rights under Section 5.1 a in the relevant
410
+ jurisdiction is not possible, Licensor agrees not to assert any moral
411
+ rights over the Database and waives all claims in moral rights to the
412
+ fullest extent possible by the law of the relevant jurisdiction under
413
+ Section 10.4; and
414
+
415
+ c. For jurisdictions not allowing waiver or an agreement not to assert
416
+ moral rights under Section 5.1 a and b, the author may retain their
417
+ moral rights over certain aspects of the Database.
418
+
419
+ Please note that some jurisdictions do not allow for the waiver of moral
420
+ rights, and so moral rights may still subsist over the Database in some
421
+ jurisdictions.
422
+
423
+ 6.0 Fair dealing, Database exceptions, and other rights not affected
424
+ 6.1 This License does not affect any rights that You or anyone else may
425
+ independently have under any applicable law to make any use of this
426
+ Database, including without limitation:
427
+
428
+ a. Exceptions to the Database Right including: Extraction of Contents
429
+ from non-electronic Databases for private purposes, Extraction for
430
+ purposes of illustration for teaching or scientific research, and
431
+ Extraction or Re-utilisation for public security or an administrative
432
+ or judicial procedure.
433
+
434
+ b. Fair dealing, fair use, or any other legally recognised limitation
435
+ or exception to infringement of copyright or other applicable laws.
436
+
437
+ 6.2 This License does not affect any rights of lawful users to Extract
438
+ and Re-utilise insubstantial parts of the Contents, evaluated
439
+ quantitatively or qualitatively, for any purposes whatsoever, including
440
+ creating a Derivative Database (subject to other rights over the
441
+ Contents, see Section 2.4). The repeated and systematic Extraction or
442
+ Re-utilisation of insubstantial parts of the Contents may however amount
443
+ to the Extraction or Re-utilisation of a Substantial part of the
444
+ Contents.
445
+
446
+ 7.0 Warranties and Disclaimer
447
+ 7.1 The Database is licensed by the Licensor “as is” and without any
448
+ warranty of any kind, either express, implied, or arising by statute,
449
+ custom, course of dealing, or trade usage. Licensor specifically
450
+ disclaims any and all implied warranties or conditions of title,
451
+ non-infringement, accuracy or completeness, the presence or absence of
452
+ errors, fitness for a particular purpose, merchantability, or otherwise.
453
+ Some jurisdictions do not allow the exclusion of implied warranties, so
454
+ this exclusion may not apply to You.
455
+
456
+ 8.0 Limitation of liability
457
+ 8.1 Subject to any liability that may not be excluded or limited by law,
458
+ the Licensor is not liable for, and expressly excludes, all liability
459
+ for loss or damage however and whenever caused to anyone by any use
460
+ under this License, whether by You or by anyone else, and whether caused
461
+ by any fault on the part of the Licensor or not. This exclusion of
462
+ liability includes, but is not limited to, any special, incidental,
463
+ consequential, punitive, or exemplary damages such as loss of revenue,
464
+ data, anticipated profits, and lost business. This exclusion applies
465
+ even if the Licensor has been advised of the possibility of such
466
+ damages.
467
+
468
+ 8.2 If liability may not be excluded by law, it is limited to actual and
469
+ direct financial loss to the extent it is caused by proved negligence on
470
+ the part of the Licensor.
471
+
472
+ 9.0 Termination of Your rights under this License
473
+ 9.1 Any breach by You of the terms and conditions of this License
474
+ automatically terminates this License with immediate effect and without
475
+ notice to You. For the avoidance of doubt, Persons who have received the
476
+ Database, the whole or a Substantial part of the Contents, Derivative
477
+ Databases, or the Database as part of a Collective Database from You
478
+ under this License will not have their licenses terminated provided
479
+ their use is in full compliance with this License or a license granted
480
+ under Section 4.8 of this License. Sections 1, 2, 7, 8, 9 and 10 will
481
+ survive any termination of this License.
482
+
483
+ 9.2 If You are not in breach of the terms of this License, the Licensor
484
+ will not terminate Your rights under it.
485
+
486
+ 9.3 Unless terminated under Section 9.1, this License is granted to You
487
+ for the duration of applicable rights in the Database.
488
+
489
+ 9.4 Reinstatement of rights. If you cease any breach of the terms and
490
+ conditions of this License, then your full rights under this License
491
+ will be reinstated:
492
+
493
+ a. Provisionally and subject to permanent termination until the 60th
494
+ day after cessation of breach;
495
+
496
+ b. Permanently on the 60th day after cessation of breach unless
497
+ otherwise reasonably notified by the Licensor; or
498
+
499
+ c. Permanently if reasonably notified by the Licensor of the
500
+ violation, this is the first time You have received notice of
501
+ violation of this License from the Licensor, and You cure the
502
+ violation prior to 30 days after your receipt of the notice.
503
+
504
+ Persons subject to permanent termination of rights are not eligible to
505
+ be a recipient and receive a license under Section 4.8.
506
+
507
+ 9.5 Notwithstanding the above, Licensor reserves the right to release
508
+ the Database under different license terms or to stop distributing or
509
+ making available the Database. Releasing the Database under different
510
+ license terms or stopping the distribution of the Database will not
511
+ withdraw this License (or any other license that has been, or is
512
+ required to be, granted under the terms of this License), and this
513
+ License will continue in full force and effect unless terminated as
514
+ stated above.
515
+
516
+ 10.0 General
517
+ 10.1 If any provision of this License is held to be invalid or
518
+ unenforceable, that must not affect the validity or enforceability of
519
+ the remainder of the terms and conditions of this License and each
520
+ remaining provision of this License shall be valid and enforced to the
521
+ fullest extent permitted by law.
522
+
523
+ 10.2 This License is the entire agreement between the parties with
524
+ respect to the rights granted here over the Database. It replaces any
525
+ earlier understandings, agreements or representations with respect to
526
+ the Database.
527
+
528
+ 10.3 If You are in breach of the terms of this License, You will not be
529
+ entitled to rely on the terms of this License or to complain of any
530
+ breach by the Licensor.
531
+
532
+ 10.4 Choice of law. This License takes effect in and will be governed by
533
+ the laws of the relevant jurisdiction in which the License terms are
534
+ sought to be enforced. If the standard suite of rights granted under
535
+ applicable copyright law and Database Rights in the relevant
536
+ jurisdiction includes additional rights not granted under this License,
537
+ these additional rights are granted in this License in order to meet the
538
+ terms of this License.
@@ -0,0 +1,50 @@
1
+ # Approximate timezone geometry
2
+
3
+ These optional datasets are derived from [Timezone Boundary Builder 2026d](https://github.com/evansiroky/timezone-boundary-builder/releases/tag/2026d),
4
+ using the **comprehensive with-oceans** product. All 444 upstream identifiers are
5
+ retained, including ocean `Etc/GMT` regions. This preserves individual IANA join
6
+ keys rather than merging zones with identical present-day timekeeping.
7
+
8
+ © OpenStreetMap contributors and Timezone Boundary Builder contributors.
9
+ The geometry database, including these simplified derivatives, is licensed under
10
+ [ODbL 1.0](https://opendatacommons.org/licenses/odbl/1-0/) (see LICENSE-ODbL.txt).
11
+ The package's MIT code license does not replace the data license. Preserve attribution
12
+ and comply with ODbL when redistributing or adapting this database.
13
+
14
+ | Level | Spherical simplification interval | GeoJSON | GeoJSON gzip | GeoParquet |
15
+ | --- | --- | --- | --- | --- |
16
+ | low | 20 km | 427 KB | 142 KB | 196 KB |
17
+ | hi | 1 km | 3.56 MB | 1.33 MB | 2.41 MB |
18
+
19
+ Intervals are mapshaper spherical Douglas–Peucker thresholds, not guaranteed
20
+ maximum geodesic error bounds. Shared arcs are simplified jointly; `keep-shapes`
21
+ retains small zones. Coordinates are rounded to five decimal degrees. Invalid
22
+ rings are repaired with Shapely; affected identifiers are listed in manifest.json.
23
+ Existing upstream disputed overlaps remain possible. No independent per-feature
24
+ simplification is performed. These are visualization assets, not authoritative
25
+ boundaries or an exact geographic lookup table.
26
+
27
+ Each JSON is a GeoJSON FeatureCollection with MultiPolygon geometries in
28
+ longitude/latitude degrees and exactly one property, `tzid`. GeoParquet 1.1 uses
29
+ `tzid: STRING`, `geometry: BINARY` (little-endian WKB MultiPolygon), Zstandard
30
+ compression, and standard `geo` metadata. Omitted CRS means OGC:CRS84.
31
+ No offset or DST fields are stored; join `tzid` with date-specific timezone APIs.
32
+
33
+ ## Regeneration
34
+
35
+ Use Python 3.10+ and Node.js, installing build tools outside the package:
36
+
37
+ ```sh
38
+ python3 -m venv /tmp/timezone-tools
39
+ /tmp/timezone-tools/bin/pip install -r modules/earth/timezone/scripts/geometry-requirements.txt
40
+ npm install --prefix /tmp/timezone-node mapshaper@0.6.113
41
+ /tmp/timezone-tools/bin/python modules/earth/timezone/scripts/generate-geometry.py \
42
+ --mapshaper /tmp/timezone-node/node_modules/.bin/mapshaper
43
+ /tmp/timezone-tools/bin/python modules/earth/timezone/scripts/check-geometry.py
44
+ ```
45
+
46
+ The generator checks the pinned upstream ZIP checksum before extracting data.
47
+ Use `--archive /path/to/timezones-with-oceans.geojson.zip` for offline generation.
48
+ The manifest records provenance, simplification settings, sizes, repairs, and asset
49
+ checksums. Build tools are not runtime dependencies. Update the pinned release and
50
+ checksum deliberately when refreshing the data; review the regenerated geometry.
@@ -0,0 +1,37 @@
1
+ {
2
+ "source": "https://github.com/evansiroky/timezone-boundary-builder/releases/download/2026d/timezones-with-oceans.geojson.zip",
3
+ "version": "2026d",
4
+ "sourceSha256": "e391c92c7b90339c3afe8558082b4532b8d9afc9daad68da31f4569a1ca61034",
5
+ "license": "ODbL-1.0",
6
+ "mapshaperVersion": "0.6.113",
7
+ "levels": {
8
+ "low": {
9
+ "intervalMeters": 20000,
10
+ "features": 444,
11
+ "repaired": [
12
+ "Etc/GMT+4"
13
+ ],
14
+ "jsonBytes": 426527,
15
+ "jsonGzipBytes": 141777,
16
+ "parquetBytes": 196393,
17
+ "sha256": {
18
+ "timezone-geometry-low.json": "37399f2f3b1926ab56610f1057a680b3d06e3b84721d397a62ea250625136522",
19
+ "timezone-geometry-low.parquet": "f6075ec2f451228391e8b3bf19156ccb570b83805c0300977c160d8efe1e667c"
20
+ }
21
+ },
22
+ "hi": {
23
+ "intervalMeters": 1000,
24
+ "features": 444,
25
+ "repaired": [
26
+ "Etc/GMT+4"
27
+ ],
28
+ "jsonBytes": 3563737,
29
+ "jsonGzipBytes": 1330289,
30
+ "parquetBytes": 2412367,
31
+ "sha256": {
32
+ "timezone-geometry-hi.json": "2dc7d29df03b238a9ea05ae036ca69ea642f06746e72177073247ca66ba2ae4c",
33
+ "timezone-geometry-hi.parquet": "0d44e7fbfbbfaccc018b3e2ed3640054c267d9b380e91125106b5caf146025aa"
34
+ }
35
+ }
36
+ }
37
+ }