@math.gl/earth 5.0.0-alpha.19 → 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.
- package/LICENSE +1015 -0
- package/README.md +5 -0
- package/THIRD-PARTY-NOTICES.md +25 -0
- package/dist/sun/moon.js +1 -1
- package/dist/sun/moon.js.map +1 -1
- package/dist/sun/sky-lighting.js +1 -1
- package/dist/sun/sky-lighting.js.map +1 -1
- package/dist/sun/sunlight.js +1 -1
- package/dist/sun/sunlight.js.map +1 -1
- package/package.json +15 -4
- package/src/sun/moon.ts +1 -1
- package/src/sun/sky-lighting.ts +1 -1
- package/src/sun/sunlight.ts +1 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,1015 @@
|
|
|
1
|
+
@math.gl/earth
|
|
2
|
+
|
|
3
|
+
The math.gl-authored portions are MIT licensed. The following upstream
|
|
4
|
+
notices apply to their respective adapted source or data, as identified in
|
|
5
|
+
source headers and adjacent notices. This file does not relicense those portions.
|
|
6
|
+
|
|
7
|
+
MIT License
|
|
8
|
+
|
|
9
|
+
Copyright (c) 2017 Uber Technologies, Inc.
|
|
10
|
+
Copyright (c) vis.gl contributors
|
|
11
|
+
|
|
12
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
in the Software without restriction, including without limitation the rights
|
|
15
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
furnished to do so, subject to the following conditions:
|
|
18
|
+
|
|
19
|
+
The above copyright notice and this permission notice shall be included in
|
|
20
|
+
all copies or substantial portions of the Software.
|
|
21
|
+
|
|
22
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
28
|
+
THE SOFTWARE.
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
GeographicLib geoid
|
|
34
|
+
|
|
35
|
+
Copyright (c) Charles Karney (2009-2018) <charles@karney.com>
|
|
36
|
+
|
|
37
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
38
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
39
|
+
in the Software without restriction, including without limitation the rights
|
|
40
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
41
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
42
|
+
furnished to do so, subject to the following conditions:
|
|
43
|
+
|
|
44
|
+
The above copyright notice and this permission notice shall be included in
|
|
45
|
+
all copies or substantial portions of the Software.
|
|
46
|
+
|
|
47
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
48
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
49
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
50
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
51
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
52
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
53
|
+
THE SOFTWARE.
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
SunCalc
|
|
58
|
+
|
|
59
|
+
SPDX-License-Identifier: BSD-2-Clause
|
|
60
|
+
SPDX-FileCopyrightText: 2011-2015 Vladimir Agafonkin
|
|
61
|
+
SPDX-FileCopyrightText: 2014 Vladimir Agafonkin
|
|
62
|
+
|
|
63
|
+
Copyright (c) 2014, Vladimir Agafonkin
|
|
64
|
+
All rights reserved.
|
|
65
|
+
|
|
66
|
+
Redistribution and use in source and binary forms, with or without modification, are
|
|
67
|
+
permitted provided that the following conditions are met:
|
|
68
|
+
|
|
69
|
+
1. Redistributions of source code must retain the above copyright notice, this list of
|
|
70
|
+
conditions and the following disclaimer.
|
|
71
|
+
2. Redistributions in binary form must reproduce the above copyright notice, this list
|
|
72
|
+
of conditions and the following disclaimer in the documentation and/or other materials
|
|
73
|
+
provided with the distribution.
|
|
74
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
|
75
|
+
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
76
|
+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
77
|
+
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
78
|
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
79
|
+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
80
|
+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
|
81
|
+
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
82
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
Hosek-Wilkie
|
|
87
|
+
|
|
88
|
+
SPDX-License-Identifier: BSD-3-Clause
|
|
89
|
+
SPDX-FileCopyrightText: 2012-2013 Lukas Hosek and Alexander Wilkie
|
|
90
|
+
|
|
91
|
+
This source is published under the following 3-clause BSD license.
|
|
92
|
+
|
|
93
|
+
Copyright (c) 2012 - 2013, Lukas Hosek and Alexander Wilkie
|
|
94
|
+
All rights reserved.
|
|
95
|
+
|
|
96
|
+
Redistribution and use in source and binary forms, with or without
|
|
97
|
+
modification, are permitted provided that the following conditions are met:
|
|
98
|
+
|
|
99
|
+
* Redistributions of source code must retain the above copyright
|
|
100
|
+
notice, this list of conditions and the following disclaimer.
|
|
101
|
+
* Redistributions in binary form must reproduce the above copyright
|
|
102
|
+
notice, this list of conditions and the following disclaimer in the
|
|
103
|
+
documentation and/or other materials provided with the distribution.
|
|
104
|
+
* None of the names of the contributors may be used to endorse or promote
|
|
105
|
+
products derived from this software without specific prior written
|
|
106
|
+
permission.
|
|
107
|
+
|
|
108
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
109
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
110
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
111
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
112
|
+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
113
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
114
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
115
|
+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
116
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
117
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
Bright stars
|
|
122
|
+
|
|
123
|
+
MIT License
|
|
124
|
+
|
|
125
|
+
Copyright (c) 2016 Bretton Wade
|
|
126
|
+
|
|
127
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
128
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
129
|
+
in the Software without restriction, including without limitation the rights
|
|
130
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
131
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
132
|
+
furnished to do so, subject to the following conditions:
|
|
133
|
+
|
|
134
|
+
The above copyright notice and this permission notice shall be included in all
|
|
135
|
+
copies or substantial portions of the Software.
|
|
136
|
+
|
|
137
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
138
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
139
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
140
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
141
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
142
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
143
|
+
SOFTWARE.
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
tz-lookup
|
|
148
|
+
|
|
149
|
+
SPDX-License-Identifier: CC0-1.0
|
|
150
|
+
SPDX-FileCopyrightText: PhotoStructure, Inc. and tz-lookup contributors
|
|
151
|
+
|
|
152
|
+
CC0 1.0 Universal
|
|
153
|
+
|
|
154
|
+
Statement of Purpose
|
|
155
|
+
|
|
156
|
+
The laws of most jurisdictions throughout the world automatically confer
|
|
157
|
+
exclusive Copyright and Related Rights (defined below) upon the creator and
|
|
158
|
+
subsequent owner(s) (each and all, an "owner") of an original work of
|
|
159
|
+
authorship and/or a database (each, a "Work").
|
|
160
|
+
|
|
161
|
+
Certain owners wish to permanently relinquish those rights to a Work for the
|
|
162
|
+
purpose of contributing to a commons of creative, cultural and scientific
|
|
163
|
+
works ("Commons") that the public can reliably and without fear of later
|
|
164
|
+
claims of infringement build upon, modify, incorporate in other works, reuse
|
|
165
|
+
and redistribute as freely as possible in any form whatsoever and for any
|
|
166
|
+
purposes, including without limitation commercial purposes. These owners may
|
|
167
|
+
contribute to the Commons to promote the ideal of a free culture and the
|
|
168
|
+
further production of creative, cultural and scientific works, or to gain
|
|
169
|
+
reputation or greater distribution for their Work in part through the use and
|
|
170
|
+
efforts of others.
|
|
171
|
+
|
|
172
|
+
For these and/or other purposes and motivations, and without any expectation
|
|
173
|
+
of additional consideration or compensation, the person associating CC0 with a
|
|
174
|
+
Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
|
|
175
|
+
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
|
|
176
|
+
and publicly distribute the Work under its terms, with knowledge of his or her
|
|
177
|
+
Copyright and Related Rights in the Work and the meaning and intended legal
|
|
178
|
+
effect of CC0 on those rights.
|
|
179
|
+
|
|
180
|
+
1. Copyright and Related Rights. A Work made available under CC0 may be
|
|
181
|
+
protected by copyright and related or neighboring rights ("Copyright and
|
|
182
|
+
Related Rights"). Copyright and Related Rights include, but are not limited
|
|
183
|
+
to, the following:
|
|
184
|
+
|
|
185
|
+
i. the right to reproduce, adapt, distribute, perform, display, communicate,
|
|
186
|
+
and translate a Work;
|
|
187
|
+
|
|
188
|
+
ii. moral rights retained by the original author(s) and/or performer(s);
|
|
189
|
+
|
|
190
|
+
iii. publicity and privacy rights pertaining to a person's image or likeness
|
|
191
|
+
depicted in a Work;
|
|
192
|
+
|
|
193
|
+
iv. rights protecting against unfair competition in regards to a Work,
|
|
194
|
+
subject to the limitations in paragraph 4(a), below;
|
|
195
|
+
|
|
196
|
+
v. rights protecting the extraction, dissemination, use and reuse of data in
|
|
197
|
+
a Work;
|
|
198
|
+
|
|
199
|
+
vi. database rights (such as those arising under Directive 96/9/EC of the
|
|
200
|
+
European Parliament and of the Council of 11 March 1996 on the legal
|
|
201
|
+
protection of databases, and under any national implementation thereof,
|
|
202
|
+
including any amended or successor version of such directive); and
|
|
203
|
+
|
|
204
|
+
vii. other similar, equivalent or corresponding rights throughout the world
|
|
205
|
+
based on applicable law or treaty, and any national implementations thereof.
|
|
206
|
+
|
|
207
|
+
2. Waiver. To the greatest extent permitted by, but not in contravention of,
|
|
208
|
+
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
|
|
209
|
+
unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
|
|
210
|
+
and Related Rights and associated claims and causes of action, whether now
|
|
211
|
+
known or unknown (including existing as well as future claims and causes of
|
|
212
|
+
action), in the Work (i) in all territories worldwide, (ii) for the maximum
|
|
213
|
+
duration provided by applicable law or treaty (including future time
|
|
214
|
+
extensions), (iii) in any current or future medium and for any number of
|
|
215
|
+
copies, and (iv) for any purpose whatsoever, including without limitation
|
|
216
|
+
commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
|
|
217
|
+
the Waiver for the benefit of each member of the public at large and to the
|
|
218
|
+
detriment of Affirmer's heirs and successors, fully intending that such Waiver
|
|
219
|
+
shall not be subject to revocation, rescission, cancellation, termination, or
|
|
220
|
+
any other legal or equitable action to disrupt the quiet enjoyment of the Work
|
|
221
|
+
by the public as contemplated by Affirmer's express Statement of Purpose.
|
|
222
|
+
|
|
223
|
+
3. Public License Fallback. Should any part of the Waiver for any reason be
|
|
224
|
+
judged legally invalid or ineffective under applicable law, then the Waiver
|
|
225
|
+
shall be preserved to the maximum extent permitted taking into account
|
|
226
|
+
Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
|
|
227
|
+
is so judged Affirmer hereby grants to each affected person a royalty-free,
|
|
228
|
+
non transferable, non sublicensable, non exclusive, irrevocable and
|
|
229
|
+
unconditional license to exercise Affirmer's Copyright and Related Rights in
|
|
230
|
+
the Work (i) in all territories worldwide, (ii) for the maximum duration
|
|
231
|
+
provided by applicable law or treaty (including future time extensions), (iii)
|
|
232
|
+
in any current or future medium and for any number of copies, and (iv) for any
|
|
233
|
+
purpose whatsoever, including without limitation commercial, advertising or
|
|
234
|
+
promotional purposes (the "License"). The License shall be deemed effective as
|
|
235
|
+
of the date CC0 was applied by Affirmer to the Work. Should any part of the
|
|
236
|
+
License for any reason be judged legally invalid or ineffective under
|
|
237
|
+
applicable law, such partial invalidity or ineffectiveness shall not
|
|
238
|
+
invalidate the remainder of the License, and in such case Affirmer hereby
|
|
239
|
+
affirms that he or she will not (i) exercise any of his or her remaining
|
|
240
|
+
Copyright and Related Rights in the Work or (ii) assert any associated claims
|
|
241
|
+
and causes of action with respect to the Work, in either case contrary to
|
|
242
|
+
Affirmer's express Statement of Purpose.
|
|
243
|
+
|
|
244
|
+
4. Limitations and Disclaimers.
|
|
245
|
+
|
|
246
|
+
a. No trademark or patent rights held by Affirmer are waived, abandoned,
|
|
247
|
+
surrendered, licensed or otherwise affected by this document.
|
|
248
|
+
|
|
249
|
+
b. Affirmer offers the Work as-is and makes no representations or warranties
|
|
250
|
+
of any kind concerning the Work, express, implied, statutory or otherwise,
|
|
251
|
+
including without limitation warranties of title, merchantability, fitness
|
|
252
|
+
for a particular purpose, non infringement, or the absence of latent or
|
|
253
|
+
other defects, accuracy, or the present or absence of errors, whether or not
|
|
254
|
+
discoverable, all to the greatest extent permissible under applicable law.
|
|
255
|
+
|
|
256
|
+
c. Affirmer disclaims responsibility for clearing rights of other persons
|
|
257
|
+
that may apply to the Work or any use thereof, including without limitation
|
|
258
|
+
any person's Copyright and Related Rights in the Work. Further, Affirmer
|
|
259
|
+
disclaims responsibility for obtaining any necessary consents, permissions
|
|
260
|
+
or other rights required for any use of the Work.
|
|
261
|
+
|
|
262
|
+
d. Affirmer understands and acknowledges that Creative Commons is not a
|
|
263
|
+
party to this document and has no duty or obligation with respect to this
|
|
264
|
+
CC0 or use of the Work.
|
|
265
|
+
|
|
266
|
+
For more information, please see
|
|
267
|
+
<http://creativecommons.org/publicdomain/zero/1.0/>
|
|
268
|
+
|
|
269
|
+
---
|
|
270
|
+
|
|
271
|
+
Temporal polyfill
|
|
272
|
+
|
|
273
|
+
SPDX-License-Identifier: ISC
|
|
274
|
+
SPDX-FileCopyrightText: Copyright 2017, 2018, 2019, 2020 ECMA International
|
|
275
|
+
|
|
276
|
+
Copyright 2017, 2018, 2019, 2020 ECMA International
|
|
277
|
+
|
|
278
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
279
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
280
|
+
copyright notice and this permission notice appear in all copies.
|
|
281
|
+
|
|
282
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
283
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
284
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
285
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
286
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
287
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
288
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
289
|
+
|
|
290
|
+
---
|
|
291
|
+
|
|
292
|
+
JSBI
|
|
293
|
+
|
|
294
|
+
SPDX-License-Identifier: Apache-2.0
|
|
295
|
+
SPDX-FileCopyrightText: the V8 project authors
|
|
296
|
+
|
|
297
|
+
Apache License
|
|
298
|
+
Version 2.0, January 2004
|
|
299
|
+
https://www.apache.org/licenses/
|
|
300
|
+
|
|
301
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
302
|
+
|
|
303
|
+
1. Definitions.
|
|
304
|
+
|
|
305
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
306
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
307
|
+
|
|
308
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
309
|
+
the copyright owner that is granting the License.
|
|
310
|
+
|
|
311
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
312
|
+
other entities that control, are controlled by, or are under common
|
|
313
|
+
control with that entity. For the purposes of this definition,
|
|
314
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
315
|
+
direction or management of such entity, whether by contract or
|
|
316
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
317
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
318
|
+
|
|
319
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
320
|
+
exercising permissions granted by this License.
|
|
321
|
+
|
|
322
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
323
|
+
including but not limited to software source code, documentation
|
|
324
|
+
source, and configuration files.
|
|
325
|
+
|
|
326
|
+
"Object" form shall mean any form resulting from mechanical
|
|
327
|
+
transformation or translation of a Source form, including but
|
|
328
|
+
not limited to compiled object code, generated documentation,
|
|
329
|
+
and conversions to other media types.
|
|
330
|
+
|
|
331
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
332
|
+
Object form, made available under the License, as indicated by a
|
|
333
|
+
copyright notice that is included in or attached to the work
|
|
334
|
+
(an example is provided in the Appendix below).
|
|
335
|
+
|
|
336
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
337
|
+
form, that is based on (or derived from) the Work and for which the
|
|
338
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
339
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
340
|
+
of this License, Derivative Works shall not include works that remain
|
|
341
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
342
|
+
the Work and Derivative Works thereof.
|
|
343
|
+
|
|
344
|
+
"Contribution" shall mean any work of authorship, including
|
|
345
|
+
the original version of the Work and any modifications or additions
|
|
346
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
347
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
348
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
349
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
350
|
+
means any form of electronic, verbal, or written communication sent
|
|
351
|
+
to the Licensor or its representatives, including but not limited to
|
|
352
|
+
communication on electronic mailing lists, source code control systems,
|
|
353
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
354
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
355
|
+
excluding communication that is conspicuously marked or otherwise
|
|
356
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
357
|
+
|
|
358
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
359
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
360
|
+
subsequently incorporated within the Work.
|
|
361
|
+
|
|
362
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
363
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
364
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
365
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
366
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
367
|
+
Work and such Derivative Works in Source or Object form.
|
|
368
|
+
|
|
369
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
370
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
371
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
372
|
+
(except as stated in this section) patent license to make, have made,
|
|
373
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
374
|
+
where such license applies only to those patent claims licensable
|
|
375
|
+
by such Contributor that are necessarily infringed by their
|
|
376
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
377
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
378
|
+
institute patent litigation against any entity (including a
|
|
379
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
380
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
381
|
+
or contributory patent infringement, then any patent licenses
|
|
382
|
+
granted to You under this License for that Work shall terminate
|
|
383
|
+
as of the date such litigation is filed.
|
|
384
|
+
|
|
385
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
386
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
387
|
+
modifications, and in Source or Object form, provided that You
|
|
388
|
+
meet the following conditions:
|
|
389
|
+
|
|
390
|
+
(a) You must give any other recipients of the Work or
|
|
391
|
+
Derivative Works a copy of this License; and
|
|
392
|
+
|
|
393
|
+
(b) You must cause any modified files to carry prominent notices
|
|
394
|
+
stating that You changed the files; and
|
|
395
|
+
|
|
396
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
397
|
+
that You distribute, all copyright, patent, trademark, and
|
|
398
|
+
attribution notices from the Source form of the Work,
|
|
399
|
+
excluding those notices that do not pertain to any part of
|
|
400
|
+
the Derivative Works; and
|
|
401
|
+
|
|
402
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
403
|
+
distribution, then any Derivative Works that You distribute must
|
|
404
|
+
include a readable copy of the attribution notices contained
|
|
405
|
+
within such NOTICE file, excluding those notices that do not
|
|
406
|
+
pertain to any part of the Derivative Works, in at least one
|
|
407
|
+
of the following places: within a NOTICE text file distributed
|
|
408
|
+
as part of the Derivative Works; within the Source form or
|
|
409
|
+
documentation, if provided along with the Derivative Works; or,
|
|
410
|
+
within a display generated by the Derivative Works, if and
|
|
411
|
+
wherever such third-party notices normally appear. The contents
|
|
412
|
+
of the NOTICE file are for informational purposes only and
|
|
413
|
+
do not modify the License. You may add Your own attribution
|
|
414
|
+
notices within Derivative Works that You distribute, alongside
|
|
415
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
416
|
+
that such additional attribution notices cannot be construed
|
|
417
|
+
as modifying the License.
|
|
418
|
+
|
|
419
|
+
You may add Your own copyright statement to Your modifications and
|
|
420
|
+
may provide additional or different license terms and conditions
|
|
421
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
422
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
423
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
424
|
+
the conditions stated in this License.
|
|
425
|
+
|
|
426
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
427
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
428
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
429
|
+
this License, without any additional terms or conditions.
|
|
430
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
431
|
+
the terms of any separate license agreement you may have executed
|
|
432
|
+
with Licensor regarding such Contributions.
|
|
433
|
+
|
|
434
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
435
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
436
|
+
except as required for reasonable and customary use in describing the
|
|
437
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
438
|
+
|
|
439
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
440
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
441
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
442
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
443
|
+
implied, including, without limitation, any warranties or conditions
|
|
444
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
445
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
446
|
+
appropriateness of using or redistributing the Work and assume any
|
|
447
|
+
risks associated with Your exercise of permissions under this License.
|
|
448
|
+
|
|
449
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
450
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
451
|
+
unless required by applicable law (such as deliberate and grossly
|
|
452
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
453
|
+
liable to You for damages, including any direct, indirect, special,
|
|
454
|
+
incidental, or consequential damages of any character arising as a
|
|
455
|
+
result of this License or out of the use or inability to use the
|
|
456
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
457
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
458
|
+
other commercial damages or losses), even if such Contributor
|
|
459
|
+
has been advised of the possibility of such damages.
|
|
460
|
+
|
|
461
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
462
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
463
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
464
|
+
or other liability obligations and/or rights consistent with this
|
|
465
|
+
License. However, in accepting such obligations, You may act only
|
|
466
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
467
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
468
|
+
defend, and hold each Contributor harmless for any liability
|
|
469
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
470
|
+
of your accepting any such warranty or additional liability.
|
|
471
|
+
|
|
472
|
+
END OF TERMS AND CONDITIONS
|
|
473
|
+
|
|
474
|
+
---
|
|
475
|
+
|
|
476
|
+
Timezone boundary data (only the data files)
|
|
477
|
+
|
|
478
|
+
Open Database License (ODbL) v1.0
|
|
479
|
+
Disclaimer
|
|
480
|
+
Open Data Commons is not a law firm and does not provide legal services of any kind.
|
|
481
|
+
|
|
482
|
+
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.
|
|
483
|
+
|
|
484
|
+
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.
|
|
485
|
+
|
|
486
|
+
Plain language summary
|
|
487
|
+
A plain language summary of the Open Database License is available.
|
|
488
|
+
|
|
489
|
+
Alternative formats:
|
|
490
|
+
Plain Text
|
|
491
|
+
|
|
492
|
+
ODC Open Database License (ODbL)
|
|
493
|
+
Preamble
|
|
494
|
+
The Open Database License (ODbL) is a license agreement intended to
|
|
495
|
+
allow users to freely share, modify, and use this Database while
|
|
496
|
+
maintaining this same freedom for others. Many databases are covered by
|
|
497
|
+
copyright, and therefore this document licenses these rights. Some
|
|
498
|
+
jurisdictions, mainly in the European Union, have specific rights that
|
|
499
|
+
cover databases, and so the ODbL addresses these rights, too. Finally,
|
|
500
|
+
the ODbL is also an agreement in contract for users of this Database to
|
|
501
|
+
act in certain ways in return for accessing this Database.
|
|
502
|
+
|
|
503
|
+
Databases can contain a wide variety of types of content (images,
|
|
504
|
+
audiovisual material, and sounds all in the same database, for example),
|
|
505
|
+
and so the ODbL only governs the rights over the Database, and not the
|
|
506
|
+
contents of the Database individually. Licensors should use the ODbL
|
|
507
|
+
together with another license for the contents, if the contents have a
|
|
508
|
+
single set of rights that uniformly covers all of the contents. If the
|
|
509
|
+
contents have multiple sets of different rights, Licensors should
|
|
510
|
+
describe what rights govern what contents together in the individual
|
|
511
|
+
record or in some other way that clarifies what rights apply.
|
|
512
|
+
|
|
513
|
+
Sometimes the contents of a database, or the database itself, can be
|
|
514
|
+
covered by other rights not addressed here (such as private contracts,
|
|
515
|
+
trade mark over the name, or privacy rights / data protection rights
|
|
516
|
+
over information in the contents), and so you are advised that you may
|
|
517
|
+
have to consult other documents or clear other rights before doing
|
|
518
|
+
activities not covered by this License.
|
|
519
|
+
|
|
520
|
+
The Licensor (as defined below)
|
|
521
|
+
|
|
522
|
+
and
|
|
523
|
+
|
|
524
|
+
You (as defined below)
|
|
525
|
+
|
|
526
|
+
agree as follows:
|
|
527
|
+
|
|
528
|
+
1.0 Definitions of Capitalised Words
|
|
529
|
+
“Collective Database” – Means this Database in unmodified form as part
|
|
530
|
+
of a collection of independent databases in themselves that together are
|
|
531
|
+
assembled into a collective whole. A work that constitutes a Collective
|
|
532
|
+
Database will not be considered a Derivative Database.
|
|
533
|
+
|
|
534
|
+
“Convey” – As a verb, means Using the Database, a Derivative Database,
|
|
535
|
+
or the Database as part of a Collective Database in any way that enables
|
|
536
|
+
a Person to make or receive copies of the Database or a Derivative
|
|
537
|
+
Database. Conveying does not include interaction with a user through a
|
|
538
|
+
computer network, or creating and Using a Produced Work, where no
|
|
539
|
+
transfer of a copy of the Database or a Derivative Database occurs.
|
|
540
|
+
“Contents” – The contents of this Database, which includes the
|
|
541
|
+
information, independent works, or other material collected into the
|
|
542
|
+
Database. For example, the contents of the Database could be factual
|
|
543
|
+
data or works such as images, audiovisual material, text, or sounds.
|
|
544
|
+
|
|
545
|
+
“Database” – A collection of material (the Contents) arranged in a
|
|
546
|
+
systematic or methodical way and individually accessible by electronic
|
|
547
|
+
or other means offered under the terms of this License.
|
|
548
|
+
|
|
549
|
+
“Database Directive” – Means Directive 96/9/EC of the European
|
|
550
|
+
Parliament and of the Council of 11 March 1996 on the legal protection
|
|
551
|
+
of databases, as amended or succeeded.
|
|
552
|
+
|
|
553
|
+
“Database Right” – Means rights resulting from the Chapter III (“sui
|
|
554
|
+
generis”) rights in the Database Directive (as amended and as transposed
|
|
555
|
+
by member states), which includes the Extraction and Re-utilisation of
|
|
556
|
+
the whole or a Substantial part of the Contents, as well as any similar
|
|
557
|
+
rights available in the relevant jurisdiction under Section 10.4.
|
|
558
|
+
|
|
559
|
+
“Derivative Database” – Means a database based upon the Database, and
|
|
560
|
+
includes any translation, adaptation, arrangement, modification, or any
|
|
561
|
+
other alteration of the Database or of a Substantial part of the
|
|
562
|
+
Contents. This includes, but is not limited to, Extracting or
|
|
563
|
+
Re-utilising the whole or a Substantial part of the Contents in a new
|
|
564
|
+
Database.
|
|
565
|
+
|
|
566
|
+
“Extraction” – Means the permanent or temporary transfer of all or a
|
|
567
|
+
Substantial part of the Contents to another medium by any means or in
|
|
568
|
+
any form.
|
|
569
|
+
|
|
570
|
+
“License” – Means this license agreement and is both a license of rights
|
|
571
|
+
such as copyright and Database Rights and an agreement in contract.
|
|
572
|
+
|
|
573
|
+
“Licensor” – Means the Person that offers the Database under the terms
|
|
574
|
+
of this License.
|
|
575
|
+
|
|
576
|
+
“Person” – Means a natural or legal person or a body of persons
|
|
577
|
+
corporate or incorporate.
|
|
578
|
+
|
|
579
|
+
“Produced Work” – a work (such as an image, audiovisual material, text,
|
|
580
|
+
or sounds) resulting from using the whole or a Substantial part of the
|
|
581
|
+
Contents (via a search or other query) from this Database, a Derivative
|
|
582
|
+
Database, or this Database as part of a Collective Database.
|
|
583
|
+
|
|
584
|
+
“Publicly” – means to Persons other than You or under Your control by
|
|
585
|
+
either more than 50% ownership or by the power to direct their
|
|
586
|
+
activities (such as contracting with an independent consultant).
|
|
587
|
+
|
|
588
|
+
“Re-utilisation” – means any form of making available to the public all
|
|
589
|
+
or a Substantial part of the Contents by the distribution of copies, by
|
|
590
|
+
renting, by online or other forms of transmission.
|
|
591
|
+
|
|
592
|
+
“Substantial” – Means substantial in terms of quantity or quality or a
|
|
593
|
+
combination of both. The repeated and systematic Extraction or
|
|
594
|
+
Re-utilisation of insubstantial parts of the Contents may amount to the
|
|
595
|
+
Extraction or Re-utilisation of a Substantial part of the Contents.
|
|
596
|
+
|
|
597
|
+
“Use” – As a verb, means doing any act that is restricted by copyright
|
|
598
|
+
or Database Rights whether in the original medium or any other; and
|
|
599
|
+
includes without limitation distributing, copying, publicly performing,
|
|
600
|
+
publicly displaying, and preparing derivative works of the Database, as
|
|
601
|
+
well as modifying the Database as may be technically necessary to use it
|
|
602
|
+
in a different mode or format.
|
|
603
|
+
|
|
604
|
+
“You” – Means a Person exercising rights under this License who has not
|
|
605
|
+
previously violated the terms of this License with respect to the
|
|
606
|
+
Database, or who has received express permission from the Licensor to
|
|
607
|
+
exercise rights under this License despite a previous violation.
|
|
608
|
+
|
|
609
|
+
Words in the singular include the plural and vice versa.
|
|
610
|
+
|
|
611
|
+
2.0 What this License covers
|
|
612
|
+
2.1. Legal effect of this document. This License is:
|
|
613
|
+
|
|
614
|
+
a. A license of applicable copyright and neighbouring rights;
|
|
615
|
+
|
|
616
|
+
b. A license of the Database Right; and
|
|
617
|
+
|
|
618
|
+
c. An agreement in contract between You and the Licensor.
|
|
619
|
+
|
|
620
|
+
2.2 Legal rights covered. This License covers the legal rights in the
|
|
621
|
+
Database, including:
|
|
622
|
+
|
|
623
|
+
a. Copyright. Any copyright or neighbouring rights in the Database.
|
|
624
|
+
The copyright licensed includes any individual elements of the
|
|
625
|
+
Database, but does not cover the copyright over the Contents
|
|
626
|
+
independent of this Database. See Section 2.4 for details. Copyright
|
|
627
|
+
law varies between jurisdictions, but is likely to cover: the Database
|
|
628
|
+
model or schema, which is the structure, arrangement, and organisation
|
|
629
|
+
of the Database, and can also include the Database tables and table
|
|
630
|
+
indexes; the data entry and output sheets; and the Field names of
|
|
631
|
+
Contents stored in the Database;
|
|
632
|
+
|
|
633
|
+
b. Database Rights. Database Rights only extend to the Extraction and
|
|
634
|
+
Re-utilisation of the whole or a Substantial part of the Contents.
|
|
635
|
+
Database Rights can apply even when there is no copyright over the
|
|
636
|
+
Database. Database Rights can also apply when the Contents are removed
|
|
637
|
+
from the Database and are selected and arranged in a way that would
|
|
638
|
+
not infringe any applicable copyright; and
|
|
639
|
+
|
|
640
|
+
c. Contract. This is an agreement between You and the Licensor for
|
|
641
|
+
access to the Database. In return you agree to certain conditions of
|
|
642
|
+
use on this access as outlined in this License.
|
|
643
|
+
|
|
644
|
+
2.3 Rights not covered.
|
|
645
|
+
|
|
646
|
+
a. This License does not apply to computer programs used in the making
|
|
647
|
+
or operation of the Database;
|
|
648
|
+
|
|
649
|
+
b. This License does not cover any patents over the Contents or the
|
|
650
|
+
Database; and
|
|
651
|
+
|
|
652
|
+
c. This License does not cover any trademarks associated with the
|
|
653
|
+
Database.
|
|
654
|
+
|
|
655
|
+
2.4 Relationship to Contents in the Database. The individual items of
|
|
656
|
+
the Contents contained in this Database may be covered by other rights,
|
|
657
|
+
including copyright, patent, data protection, privacy, or personality
|
|
658
|
+
rights, and this License does not cover any rights (other than Database
|
|
659
|
+
Rights or in contract) in individual Contents contained in the Database.
|
|
660
|
+
For example, if used on a Database of images (the Contents), this
|
|
661
|
+
License would not apply to copyright over individual images, which could
|
|
662
|
+
have their own separate licenses, or one single license covering all of
|
|
663
|
+
the rights over the images.
|
|
664
|
+
|
|
665
|
+
3.0 Rights granted
|
|
666
|
+
3.1 Subject to the terms and conditions of this License, the Licensor
|
|
667
|
+
grants to You a worldwide, royalty-free, non-exclusive, terminable (but
|
|
668
|
+
only under Section 9) license to Use the Database for the duration of
|
|
669
|
+
any applicable copyright and Database Rights. These rights explicitly
|
|
670
|
+
include commercial use, and do not exclude any field of endeavour. To
|
|
671
|
+
the extent possible in the relevant jurisdiction, these rights may be
|
|
672
|
+
exercised in all media and formats whether now known or created in the
|
|
673
|
+
future.
|
|
674
|
+
|
|
675
|
+
The rights granted cover, for example:
|
|
676
|
+
|
|
677
|
+
a. Extraction and Re-utilisation of the whole or a Substantial part of
|
|
678
|
+
the Contents;
|
|
679
|
+
|
|
680
|
+
b. Creation of Derivative Databases;
|
|
681
|
+
|
|
682
|
+
c. Creation of Collective Databases;
|
|
683
|
+
|
|
684
|
+
d. Creation of temporary or permanent reproductions by any means and
|
|
685
|
+
in any form, in whole or in part, including of any Derivative
|
|
686
|
+
Databases or as a part of Collective Databases; and
|
|
687
|
+
|
|
688
|
+
e. Distribution, communication, display, lending, making available, or
|
|
689
|
+
performance to the public by any means and in any form, in whole or in
|
|
690
|
+
part, including of any Derivative Database or as a part of Collective
|
|
691
|
+
Databases.
|
|
692
|
+
|
|
693
|
+
3.2 Compulsory license schemes. For the avoidance of doubt:
|
|
694
|
+
|
|
695
|
+
a. Non-waivable compulsory license schemes. In those jurisdictions in
|
|
696
|
+
which the right to collect royalties through any statutory or
|
|
697
|
+
compulsory licensing scheme cannot be waived, the Licensor reserves
|
|
698
|
+
the exclusive right to collect such royalties for any exercise by You
|
|
699
|
+
of the rights granted under this License;
|
|
700
|
+
|
|
701
|
+
b. Waivable compulsory license schemes. In those jurisdictions in
|
|
702
|
+
which the right to collect royalties through any statutory or
|
|
703
|
+
compulsory licensing scheme can be waived, the Licensor waives the
|
|
704
|
+
exclusive right to collect such royalties for any exercise by You of
|
|
705
|
+
the rights granted under this License; and,
|
|
706
|
+
|
|
707
|
+
c. Voluntary license schemes. The Licensor waives the right to collect
|
|
708
|
+
royalties, whether individually or, in the event that the Licensor is
|
|
709
|
+
a member of a collecting society that administers voluntary licensing
|
|
710
|
+
schemes, via that society, from any exercise by You of the rights
|
|
711
|
+
granted under this License.
|
|
712
|
+
|
|
713
|
+
3.3 The right to release the Database under different terms, or to stop
|
|
714
|
+
distributing or making available the Database, is reserved. Note that
|
|
715
|
+
this Database may be multiple-licensed, and so You may have the choice
|
|
716
|
+
of using alternative licenses for this Database. Subject to Section
|
|
717
|
+
10.4, all other rights not expressly granted by Licensor are reserved.
|
|
718
|
+
|
|
719
|
+
4.0 Conditions of Use
|
|
720
|
+
4.1 The rights granted in Section 3 above are expressly made subject to
|
|
721
|
+
Your complying with the following conditions of use. These are important
|
|
722
|
+
conditions of this License, and if You fail to follow them, You will be
|
|
723
|
+
in material breach of its terms.
|
|
724
|
+
|
|
725
|
+
4.2 Notices. If You Publicly Convey this Database, any Derivative
|
|
726
|
+
Database, or the Database as part of a Collective Database, then You
|
|
727
|
+
must:
|
|
728
|
+
|
|
729
|
+
a. Do so only under the terms of this License or another license
|
|
730
|
+
permitted under Section 4.4;
|
|
731
|
+
|
|
732
|
+
b. Include a copy of this License (or, as applicable, a license
|
|
733
|
+
permitted under Section 4.4) or its Uniform Resource Identifier (URI)
|
|
734
|
+
with the Database or Derivative Database, including both in the
|
|
735
|
+
Database or Derivative Database and in any relevant documentation; and
|
|
736
|
+
|
|
737
|
+
c. Keep intact any copyright or Database Right notices and notices
|
|
738
|
+
that refer to this License.
|
|
739
|
+
|
|
740
|
+
d. If it is not possible to put the required notices in a particular
|
|
741
|
+
file due to its structure, then You must include the notices in a
|
|
742
|
+
location (such as a relevant directory) where users would be likely to
|
|
743
|
+
look for it.
|
|
744
|
+
|
|
745
|
+
4.3 Notice for using output (Contents). Creating and Using a Produced
|
|
746
|
+
Work does not require the notice in Section 4.2. However, if you
|
|
747
|
+
Publicly Use a Produced Work, You must include a notice associated with
|
|
748
|
+
the Produced Work reasonably calculated to make any Person that uses,
|
|
749
|
+
views, accesses, interacts with, or is otherwise exposed to the Produced
|
|
750
|
+
Work aware that Content was obtained from the Database, Derivative
|
|
751
|
+
Database, or the Database as part of a Collective Database, and that it
|
|
752
|
+
is available under this License.
|
|
753
|
+
|
|
754
|
+
a. Example notice. The following text will satisfy notice under
|
|
755
|
+
Section 4.3:
|
|
756
|
+
|
|
757
|
+
Contains information from DATABASE NAME, which is made available
|
|
758
|
+
here under the Open Database License (ODbL).
|
|
759
|
+
DATABASE NAME should be replaced with the name of the Database and a
|
|
760
|
+
hyperlink to the URI of the Database. “Open Database License” should
|
|
761
|
+
contain a hyperlink to the URI of the text of this License. If
|
|
762
|
+
hyperlinks are not possible, You should include the plain text of the
|
|
763
|
+
required URI’s with the above notice.
|
|
764
|
+
|
|
765
|
+
4.4 Share alike.
|
|
766
|
+
|
|
767
|
+
a. Any Derivative Database that You Publicly Use must be only under
|
|
768
|
+
the terms of:
|
|
769
|
+
|
|
770
|
+
i. This License;
|
|
771
|
+
|
|
772
|
+
ii. A later version of this License similar in spirit to this
|
|
773
|
+
License; or
|
|
774
|
+
|
|
775
|
+
iii. A compatible license.
|
|
776
|
+
|
|
777
|
+
If You license the Derivative Database under one of the licenses
|
|
778
|
+
mentioned in (iii), You must comply with the terms of that license.
|
|
779
|
+
|
|
780
|
+
b. For the avoidance of doubt, Extraction or Re-utilisation of the
|
|
781
|
+
whole or a Substantial part of the Contents into a new database is a
|
|
782
|
+
Derivative Database and must comply with Section 4.4.
|
|
783
|
+
|
|
784
|
+
c. Derivative Databases and Produced Works. A Derivative Database is
|
|
785
|
+
Publicly Used and so must comply with Section 4.4. if a Produced Work
|
|
786
|
+
created from the Derivative Database is Publicly Used.
|
|
787
|
+
|
|
788
|
+
d. Share Alike and additional Contents. For the avoidance of doubt,
|
|
789
|
+
You must not add Contents to Derivative Databases under Section 4.4 a
|
|
790
|
+
that are incompatible with the rights granted under this License.
|
|
791
|
+
|
|
792
|
+
e. Compatible licenses. Licensors may authorise a proxy to determine
|
|
793
|
+
compatible licenses under Section 4.4 a iii. If they do so, the
|
|
794
|
+
authorised proxy’s public statement of acceptance of a compatible
|
|
795
|
+
license grants You permission to use the compatible license.
|
|
796
|
+
|
|
797
|
+
4.5 Limits of Share Alike. The requirements of Section 4.4 do not apply
|
|
798
|
+
in the following:
|
|
799
|
+
|
|
800
|
+
a. For the avoidance of doubt, You are not required to license
|
|
801
|
+
Collective Databases under this License if You incorporate this
|
|
802
|
+
Database or a Derivative Database in the collection, but this License
|
|
803
|
+
still applies to this Database or a Derivative Database as a part of
|
|
804
|
+
the Collective Database;
|
|
805
|
+
|
|
806
|
+
b. Using this Database, a Derivative Database, or this Database as
|
|
807
|
+
part of a Collective Database to create a Produced Work does not
|
|
808
|
+
create a Derivative Database for purposes of Section 4.4; and
|
|
809
|
+
|
|
810
|
+
c. Use of a Derivative Database internally within an organisation is
|
|
811
|
+
not to the public and therefore does not fall under the requirements
|
|
812
|
+
of Section 4.4.
|
|
813
|
+
|
|
814
|
+
4.6 Access to Derivative Databases. If You Publicly Use a Derivative
|
|
815
|
+
Database or a Produced Work from a Derivative Database, You must also
|
|
816
|
+
offer to recipients of the Derivative Database or Produced Work a copy
|
|
817
|
+
in a machine readable form of:
|
|
818
|
+
|
|
819
|
+
a. The entire Derivative Database; or
|
|
820
|
+
|
|
821
|
+
b. A file containing all of the alterations made to the Database or
|
|
822
|
+
the method of making the alterations to the Database (such as an
|
|
823
|
+
algorithm), including any additional Contents, that make up all the
|
|
824
|
+
differences between the Database and the Derivative Database.
|
|
825
|
+
|
|
826
|
+
The Derivative Database (under a.) or alteration file (under b.) must be
|
|
827
|
+
available at no more than a reasonable production cost for physical
|
|
828
|
+
distributions and free of charge if distributed over the internet.
|
|
829
|
+
|
|
830
|
+
4.7 Technological measures and additional terms
|
|
831
|
+
|
|
832
|
+
a. This License does not allow You to impose (except subject to
|
|
833
|
+
Section 4.7 b.) any terms or any technological measures on the
|
|
834
|
+
Database, a Derivative Database, or the whole or a Substantial part of
|
|
835
|
+
the Contents that alter or restrict the terms of this License, or any
|
|
836
|
+
rights granted under it, or have the effect or intent of restricting
|
|
837
|
+
the ability of any person to exercise those rights.
|
|
838
|
+
|
|
839
|
+
b. Parallel distribution. You may impose terms or technological
|
|
840
|
+
measures on the Database, a Derivative Database, or the whole or a
|
|
841
|
+
Substantial part of the Contents (a “Restricted Database”) in
|
|
842
|
+
contravention of Section 4.74 a. only if You also make a copy of the
|
|
843
|
+
Database or a Derivative Database available to the recipient of the
|
|
844
|
+
Restricted Database:
|
|
845
|
+
|
|
846
|
+
i. That is available without additional fee;
|
|
847
|
+
|
|
848
|
+
ii. That is available in a medium that does not alter or restrict
|
|
849
|
+
the terms of this License, or any rights granted under it, or have
|
|
850
|
+
the effect or intent of restricting the ability of any person to
|
|
851
|
+
exercise those rights (an “Unrestricted Database”); and
|
|
852
|
+
|
|
853
|
+
iii. The Unrestricted Database is at least as accessible to the
|
|
854
|
+
recipient as a practical matter as the Restricted Database.
|
|
855
|
+
|
|
856
|
+
c. For the avoidance of doubt, You may place this Database or a
|
|
857
|
+
Derivative Database in an authenticated environment, behind a
|
|
858
|
+
password, or within a similar access control scheme provided that You
|
|
859
|
+
do not alter or restrict the terms of this License or any rights
|
|
860
|
+
granted under it or have the effect or intent of restricting the
|
|
861
|
+
ability of any person to exercise those rights.
|
|
862
|
+
|
|
863
|
+
4.8 Licensing of others. You may not sublicense the Database. Each time
|
|
864
|
+
You communicate the Database, the whole or Substantial part of the
|
|
865
|
+
Contents, or any Derivative Database to anyone else in any way, the
|
|
866
|
+
Licensor offers to the recipient a license to the Database on the same
|
|
867
|
+
terms and conditions as this License. You are not responsible for
|
|
868
|
+
enforcing compliance by third parties with this License, but You may
|
|
869
|
+
enforce any rights that You have over a Derivative Database. You are
|
|
870
|
+
solely responsible for any modifications of a Derivative Database made
|
|
871
|
+
by You or another Person at Your direction. You may not impose any
|
|
872
|
+
further restrictions on the exercise of the rights granted or affirmed
|
|
873
|
+
under this License.
|
|
874
|
+
|
|
875
|
+
5.0 Moral rights
|
|
876
|
+
5.1 Moral rights. This section covers moral rights, including any rights
|
|
877
|
+
to be identified as the author of the Database or to object to treatment
|
|
878
|
+
that would otherwise prejudice the author’s honour and reputation, or
|
|
879
|
+
any other derogatory treatment:
|
|
880
|
+
|
|
881
|
+
a. For jurisdictions allowing waiver of moral rights, Licensor waives
|
|
882
|
+
all moral rights that Licensor may have in the Database to the fullest
|
|
883
|
+
extent possible by the law of the relevant jurisdiction under Section
|
|
884
|
+
10.4;
|
|
885
|
+
|
|
886
|
+
b. If waiver of moral rights under Section 5.1 a in the relevant
|
|
887
|
+
jurisdiction is not possible, Licensor agrees not to assert any moral
|
|
888
|
+
rights over the Database and waives all claims in moral rights to the
|
|
889
|
+
fullest extent possible by the law of the relevant jurisdiction under
|
|
890
|
+
Section 10.4; and
|
|
891
|
+
|
|
892
|
+
c. For jurisdictions not allowing waiver or an agreement not to assert
|
|
893
|
+
moral rights under Section 5.1 a and b, the author may retain their
|
|
894
|
+
moral rights over certain aspects of the Database.
|
|
895
|
+
|
|
896
|
+
Please note that some jurisdictions do not allow for the waiver of moral
|
|
897
|
+
rights, and so moral rights may still subsist over the Database in some
|
|
898
|
+
jurisdictions.
|
|
899
|
+
|
|
900
|
+
6.0 Fair dealing, Database exceptions, and other rights not affected
|
|
901
|
+
6.1 This License does not affect any rights that You or anyone else may
|
|
902
|
+
independently have under any applicable law to make any use of this
|
|
903
|
+
Database, including without limitation:
|
|
904
|
+
|
|
905
|
+
a. Exceptions to the Database Right including: Extraction of Contents
|
|
906
|
+
from non-electronic Databases for private purposes, Extraction for
|
|
907
|
+
purposes of illustration for teaching or scientific research, and
|
|
908
|
+
Extraction or Re-utilisation for public security or an administrative
|
|
909
|
+
or judicial procedure.
|
|
910
|
+
|
|
911
|
+
b. Fair dealing, fair use, or any other legally recognised limitation
|
|
912
|
+
or exception to infringement of copyright or other applicable laws.
|
|
913
|
+
|
|
914
|
+
6.2 This License does not affect any rights of lawful users to Extract
|
|
915
|
+
and Re-utilise insubstantial parts of the Contents, evaluated
|
|
916
|
+
quantitatively or qualitatively, for any purposes whatsoever, including
|
|
917
|
+
creating a Derivative Database (subject to other rights over the
|
|
918
|
+
Contents, see Section 2.4). The repeated and systematic Extraction or
|
|
919
|
+
Re-utilisation of insubstantial parts of the Contents may however amount
|
|
920
|
+
to the Extraction or Re-utilisation of a Substantial part of the
|
|
921
|
+
Contents.
|
|
922
|
+
|
|
923
|
+
7.0 Warranties and Disclaimer
|
|
924
|
+
7.1 The Database is licensed by the Licensor “as is” and without any
|
|
925
|
+
warranty of any kind, either express, implied, or arising by statute,
|
|
926
|
+
custom, course of dealing, or trade usage. Licensor specifically
|
|
927
|
+
disclaims any and all implied warranties or conditions of title,
|
|
928
|
+
non-infringement, accuracy or completeness, the presence or absence of
|
|
929
|
+
errors, fitness for a particular purpose, merchantability, or otherwise.
|
|
930
|
+
Some jurisdictions do not allow the exclusion of implied warranties, so
|
|
931
|
+
this exclusion may not apply to You.
|
|
932
|
+
|
|
933
|
+
8.0 Limitation of liability
|
|
934
|
+
8.1 Subject to any liability that may not be excluded or limited by law,
|
|
935
|
+
the Licensor is not liable for, and expressly excludes, all liability
|
|
936
|
+
for loss or damage however and whenever caused to anyone by any use
|
|
937
|
+
under this License, whether by You or by anyone else, and whether caused
|
|
938
|
+
by any fault on the part of the Licensor or not. This exclusion of
|
|
939
|
+
liability includes, but is not limited to, any special, incidental,
|
|
940
|
+
consequential, punitive, or exemplary damages such as loss of revenue,
|
|
941
|
+
data, anticipated profits, and lost business. This exclusion applies
|
|
942
|
+
even if the Licensor has been advised of the possibility of such
|
|
943
|
+
damages.
|
|
944
|
+
|
|
945
|
+
8.2 If liability may not be excluded by law, it is limited to actual and
|
|
946
|
+
direct financial loss to the extent it is caused by proved negligence on
|
|
947
|
+
the part of the Licensor.
|
|
948
|
+
|
|
949
|
+
9.0 Termination of Your rights under this License
|
|
950
|
+
9.1 Any breach by You of the terms and conditions of this License
|
|
951
|
+
automatically terminates this License with immediate effect and without
|
|
952
|
+
notice to You. For the avoidance of doubt, Persons who have received the
|
|
953
|
+
Database, the whole or a Substantial part of the Contents, Derivative
|
|
954
|
+
Databases, or the Database as part of a Collective Database from You
|
|
955
|
+
under this License will not have their licenses terminated provided
|
|
956
|
+
their use is in full compliance with this License or a license granted
|
|
957
|
+
under Section 4.8 of this License. Sections 1, 2, 7, 8, 9 and 10 will
|
|
958
|
+
survive any termination of this License.
|
|
959
|
+
|
|
960
|
+
9.2 If You are not in breach of the terms of this License, the Licensor
|
|
961
|
+
will not terminate Your rights under it.
|
|
962
|
+
|
|
963
|
+
9.3 Unless terminated under Section 9.1, this License is granted to You
|
|
964
|
+
for the duration of applicable rights in the Database.
|
|
965
|
+
|
|
966
|
+
9.4 Reinstatement of rights. If you cease any breach of the terms and
|
|
967
|
+
conditions of this License, then your full rights under this License
|
|
968
|
+
will be reinstated:
|
|
969
|
+
|
|
970
|
+
a. Provisionally and subject to permanent termination until the 60th
|
|
971
|
+
day after cessation of breach;
|
|
972
|
+
|
|
973
|
+
b. Permanently on the 60th day after cessation of breach unless
|
|
974
|
+
otherwise reasonably notified by the Licensor; or
|
|
975
|
+
|
|
976
|
+
c. Permanently if reasonably notified by the Licensor of the
|
|
977
|
+
violation, this is the first time You have received notice of
|
|
978
|
+
violation of this License from the Licensor, and You cure the
|
|
979
|
+
violation prior to 30 days after your receipt of the notice.
|
|
980
|
+
|
|
981
|
+
Persons subject to permanent termination of rights are not eligible to
|
|
982
|
+
be a recipient and receive a license under Section 4.8.
|
|
983
|
+
|
|
984
|
+
9.5 Notwithstanding the above, Licensor reserves the right to release
|
|
985
|
+
the Database under different license terms or to stop distributing or
|
|
986
|
+
making available the Database. Releasing the Database under different
|
|
987
|
+
license terms or stopping the distribution of the Database will not
|
|
988
|
+
withdraw this License (or any other license that has been, or is
|
|
989
|
+
required to be, granted under the terms of this License), and this
|
|
990
|
+
License will continue in full force and effect unless terminated as
|
|
991
|
+
stated above.
|
|
992
|
+
|
|
993
|
+
10.0 General
|
|
994
|
+
10.1 If any provision of this License is held to be invalid or
|
|
995
|
+
unenforceable, that must not affect the validity or enforceability of
|
|
996
|
+
the remainder of the terms and conditions of this License and each
|
|
997
|
+
remaining provision of this License shall be valid and enforced to the
|
|
998
|
+
fullest extent permitted by law.
|
|
999
|
+
|
|
1000
|
+
10.2 This License is the entire agreement between the parties with
|
|
1001
|
+
respect to the rights granted here over the Database. It replaces any
|
|
1002
|
+
earlier understandings, agreements or representations with respect to
|
|
1003
|
+
the Database.
|
|
1004
|
+
|
|
1005
|
+
10.3 If You are in breach of the terms of this License, You will not be
|
|
1006
|
+
entitled to rely on the terms of this License or to complain of any
|
|
1007
|
+
breach by the Licensor.
|
|
1008
|
+
|
|
1009
|
+
10.4 Choice of law. This License takes effect in and will be governed by
|
|
1010
|
+
the laws of the relevant jurisdiction in which the License terms are
|
|
1011
|
+
sought to be enforced. If the standard suite of rights granted under
|
|
1012
|
+
applicable copyright law and Database Rights in the relevant
|
|
1013
|
+
jurisdiction includes additional rights not granted under this License,
|
|
1014
|
+
these additional rights are granted in this License in order to meet the
|
|
1015
|
+
terms of this License.
|
package/README.md
CHANGED
|
@@ -13,3 +13,8 @@ import {geoid, sun, timezone} from '@math.gl/earth';
|
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
Existing `@math.gl/earth/geoid`, `@math.gl/earth/sun`, and `@math.gl/earth/timezone` imports remain available.
|
|
16
|
+
|
|
17
|
+
## Sources and credits
|
|
18
|
+
|
|
19
|
+
See [the packaged source and license index](./THIRD-PARTY-NOTICES.md) and
|
|
20
|
+
[math.gl references and credits](https://math.gl/docs/references-and-credits).
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# @math.gl/earth: sources and notices
|
|
2
|
+
|
|
3
|
+
This index distinguishes adapted or vendored source, separately installed
|
|
4
|
+
dependencies, datasets, and scientific references. It supplements the full
|
|
5
|
+
[package license](./LICENSE), source headers, and adjacent notices; it does not
|
|
6
|
+
replace or relicense them. Versions below identify the audited sources, not the
|
|
7
|
+
latest available upstream releases.
|
|
8
|
+
|
|
9
|
+
| Source / author | Use and retained notice |
|
|
10
|
+
| --- | --- |
|
|
11
|
+
| Charles Karney / GeographicLib 1.50.1 | Adapted geoid interpolation and PGM parsing; MIT, [LICENSE](./LICENSE). |
|
|
12
|
+
| Vladimir Agafonkin / SunCalc | Adapted lunar calculations; BSD-2-Clause, [SunCalc notice](./sun/LICENSE-SUNCALC). Sun-position code also cites the astronomical equations of Louis Strous. |
|
|
13
|
+
| Lukas Hošek and Alexander Wilkie | Derived 1.4a sunlight/sky model data; BSD-3-Clause, [model notice](./sun/LICENSE-HOSEK-WILKIE). |
|
|
14
|
+
| Bretton Wade / YaleBrightStarCatalog | Derived bright-star data; [catalogue notice](./sun/LICENSE-BRIGHT-STARS); the source records the pinned upstream commit. |
|
|
15
|
+
| ECMA International / Temporal contributors | Vendored `@js-temporal/polyfill` 0.5.1; ISC, [provenance](./src/timezone/vendor/temporal/README.md), [license](./src/timezone/vendor/temporal/LICENSE.txt). |
|
|
16
|
+
| V8 authors / JSBI | JSBI 4.3.2 bundled with Temporal; Apache-2.0, [license](./src/timezone/vendor/temporal/JSBI-LICENSE.txt). |
|
|
17
|
+
| PhotoStructure and tz-lookup contributors | Vendored `@photostructure/tz-lookup` 11.7.0 algorithm/table; CC0-1.0, [provenance](./src/timezone/vendor/tz-lookup/README.md), [dedication](./src/timezone/vendor/tz-lookup/LICENSE.txt). |
|
|
18
|
+
| NGA / GeographicLib EGM96 distribution | Optional geoid grids; public-domain model data, [provenance, resolution and checksum manifest](./geoid/data/README.md). |
|
|
19
|
+
| OpenStreetMap and Timezone Boundary Builder contributors | Optional simplified timezone boundaries, ODbL-1.0; [source and modifications](./timezone/data/README.md), [full license](./timezone/data/LICENSE-ODbL.txt). The MIT code license does not relicense this database. |
|
|
20
|
+
|
|
21
|
+
The optional `astronomy-engine` peer supplies planetary ephemerides under its own
|
|
22
|
+
MIT license. Source comments cite the physical data and photometric papers used
|
|
23
|
+
by the original math.gl adapters; these are scientific references, not assertions
|
|
24
|
+
that the authors supplied the adapter code. The consolidated [references page](https://math.gl/docs/references-and-credits)
|
|
25
|
+
links the principal astronomical and rendering models.
|
package/dist/sun/moon.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
|
|
4
4
|
// SPDX-FileCopyrightText: 2011-2015 Vladimir Agafonkin
|
|
5
5
|
// SPDX-FileCopyrightText: 2014 Vladimir Agafonkin
|
|
6
|
-
// SPDX-FileComment: Adapted from SunCalc 1.9.0 with topocentric parallax and USNO sidereal time; full copyright, conditions and disclaimer in
|
|
6
|
+
// SPDX-FileComment: Adapted from SunCalc 1.9.0 with topocentric parallax and USNO sidereal time; full copyright, conditions and disclaimer in ../../sun/LICENSE-SUNCALC.
|
|
7
7
|
// Reference: https://github.com/mourner/suncalc/tree/v1.9.0
|
|
8
8
|
import { getAzimuth, getDeclination, getRightAscension, getSunCoords, toDays } from "./suncalc.js";
|
|
9
9
|
import { getLocalSiderealTime } from "./starfield.js";
|
package/dist/sun/moon.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"moon.js","sourceRoot":"","sources":["../../src/sun/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AAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC;KAC7C,CAAC;AACJ,CAAC"}
|
package/dist/sun/sky-lighting.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
|
|
4
|
-
// SPDX-FileComment: Original photometric composition; derived solar data attribution in
|
|
4
|
+
// SPDX-FileComment: Original photometric composition; derived solar data attribution in ../../sun/LICENSE-HOSEK-WILKIE.
|
|
5
5
|
import { getSunLight } from "./sunlight.js";
|
|
6
6
|
import { getMoonLight } from "./moonlight.js";
|
|
7
7
|
import { getMoonAppearance } from "./moon-appearance.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sky-lighting.js","sourceRoot":"","sources":["../../src/sun/sky-lighting.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,+BAA+B;AAC/B,4DAA4D;AAC5D,
|
|
1
|
+
{"version":3,"file":"sky-lighting.js","sourceRoot":"","sources":["../../src/sun/sky-lighting.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,+BAA+B;AAC/B,4DAA4D;AAC5D,wHAAwH;AACxH,OAAO,EAAC,WAAW,EAAC,sBAAmB;AACvC,OAAO,EAAC,YAAY,EAAC,uBAAoB;AACzC,OAAO,EAAC,iBAAiB,EAAC,6BAA0B;AACpD,OAAO,EAAC,mBAAmB,EAAE,eAAe,EAAC,4BAAyB;AAEtE,OAAO,EAAC,aAAa,EAAC,2BAAwB;AAC9C,OAAO,EAAC,yBAAyB,EAAC,iCAA8B;AAOhE,yFAAyF;AACzF,MAAM,UAAU,cAAc,CAC5B,WAAmB,EACnB,YAAoB,EACpB,OAA2B;IAE3B,MAAM,UAAU,GAAG,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAChD,yFAAyF;IACzF,MAAM,QAAQ,GAAG,WAAW,CAAC,WAAW,EAAE;QACxC,SAAS,EAAE,IA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C,KAAK,GAAG,IAAI,CAA6B;QACvF,gBAAgB,EAAE,KAAc;KACjC,CAAC;AACJ,CAAC"}
|
package/dist/sun/sunlight.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
|
|
4
4
|
// SPDX-FileComment: Original wrapper of derived Hošek-Wilkie data; reference: https://cgg.mff.cuni.cz/projects/SkylightModelling/
|
|
5
|
-
// Derived BSD-3-Clause data and notices: ./data/sunlight.ts and
|
|
5
|
+
// Derived BSD-3-Clause data and notices: ./data/sunlight.ts and ../../sun/LICENSE-HOSEK-WILKIE.
|
|
6
6
|
import { SUNLIGHT_DATA } from "./data/sunlight.js";
|
|
7
7
|
const SUN_RADIUS = (0.255 * Math.PI) / 180;
|
|
8
8
|
// Fixed reference: brightest channel of clear (turbidity 1), zenith direct sunlight.
|
package/dist/sun/sunlight.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sunlight.js","sourceRoot":"","sources":["../../src/sun/sunlight.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,+BAA+B;AAC/B,4DAA4D;AAC5D,kIAAkI;AAClI,
|
|
1
|
+
{"version":3,"file":"sunlight.js","sourceRoot":"","sources":["../../src/sun/sunlight.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,+BAA+B;AAC/B,4DAA4D;AAC5D,kIAAkI;AAClI,gGAAgG;AAChG,OAAO,EAAC,aAAa,EAAC,2BAAwB;AAuB9C,MAAM,UAAU,GAAG,CAAC,KAAK,GAAG,IAAI,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC;AAC3C,qFAAqF;AACrF,MAAM,oBAAoB,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAE3E;;;;GAIG;A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AS,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,SAAS,EAAE,GAAG,CAAC,CAAC,CAAC,GAAG,SAAS,EAAE,GAAG,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;QAC/F,SAAS;KACV,CAAC;AACJ,CAAC;AAED,SAAS,aAAa,CAAC,IAAY,EAAE,KAAa,EAAE,OAAe,EAAE,OAAe;IAClF,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,KAAK,GAAG,OAAO,IAAI,KAAK,GAAG,OAAO,EAAE,CAAC;QAClE,MAAM,IAAI,UAAU,CAAC,GAAG,IAAI,+BAA+B,OAAO,QAAQ,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
9
|
-
"version": "5.0.0-alpha.
|
|
9
|
+
"version": "5.0.0-alpha.20",
|
|
10
10
|
"keywords": [
|
|
11
11
|
"earth",
|
|
12
12
|
"geoid",
|
|
@@ -81,13 +81,24 @@
|
|
|
81
81
|
"sun/LICENSE-HOSEK-WILKIE",
|
|
82
82
|
"sun/LICENSE-SUNCALC",
|
|
83
83
|
"sun/LICENSE-BRIGHT-STARS",
|
|
84
|
-
"timezone/data"
|
|
84
|
+
"timezone/data",
|
|
85
|
+
"LICENSE",
|
|
86
|
+
"THIRD-PARTY-NOTICES.md"
|
|
85
87
|
],
|
|
86
88
|
"sideEffects": false,
|
|
87
89
|
"dependencies": {
|
|
88
|
-
"@math.gl/core": "5.0.0-alpha.
|
|
90
|
+
"@math.gl/core": "5.0.0-alpha.20"
|
|
91
|
+
},
|
|
92
|
+
"peerDependencies": {
|
|
93
|
+
"astronomy-engine": "^2.1.19"
|
|
94
|
+
},
|
|
95
|
+
"peerDependenciesMeta": {
|
|
96
|
+
"astronomy-engine": {
|
|
97
|
+
"optional": true
|
|
98
|
+
}
|
|
89
99
|
},
|
|
90
100
|
"devDependencies": {
|
|
91
101
|
"astronomy-engine": "2.1.19"
|
|
92
|
-
}
|
|
102
|
+
},
|
|
103
|
+
"gitHead": "ad8c205a98e5e057d9055300b1a71f422b275c73"
|
|
93
104
|
}
|
package/src/sun/moon.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
|
|
4
4
|
// SPDX-FileCopyrightText: 2011-2015 Vladimir Agafonkin
|
|
5
5
|
// SPDX-FileCopyrightText: 2014 Vladimir Agafonkin
|
|
6
|
-
// SPDX-FileComment: Adapted from SunCalc 1.9.0 with topocentric parallax and USNO sidereal time; full copyright, conditions and disclaimer in
|
|
6
|
+
// SPDX-FileComment: Adapted from SunCalc 1.9.0 with topocentric parallax and USNO sidereal time; full copyright, conditions and disclaimer in ../../sun/LICENSE-SUNCALC.
|
|
7
7
|
// Reference: https://github.com/mourner/suncalc/tree/v1.9.0
|
|
8
8
|
import {getAzimuth, getDeclination, getRightAscension, getSunCoords, toDays} from './suncalc';
|
|
9
9
|
import {getLocalSiderealTime} from './starfield';
|
package/src/sun/sky-lighting.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
|
|
4
|
-
// SPDX-FileComment: Original photometric composition; derived solar data attribution in
|
|
4
|
+
// SPDX-FileComment: Original photometric composition; derived solar data attribution in ../../sun/LICENSE-HOSEK-WILKIE.
|
|
5
5
|
import {getSunLight} from './sunlight';
|
|
6
6
|
import {getMoonLight} from './moonlight';
|
|
7
7
|
import {getMoonAppearance} from './moon-appearance';
|
package/src/sun/sunlight.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
|
|
4
4
|
// SPDX-FileComment: Original wrapper of derived Hošek-Wilkie data; reference: https://cgg.mff.cuni.cz/projects/SkylightModelling/
|
|
5
|
-
// Derived BSD-3-Clause data and notices: ./data/sunlight.ts and
|
|
5
|
+
// Derived BSD-3-Clause data and notices: ./data/sunlight.ts and ../../sun/LICENSE-HOSEK-WILKIE.
|
|
6
6
|
import {SUNLIGHT_DATA} from './data/sunlight';
|
|
7
7
|
|
|
8
8
|
export type SunLightOptions = {
|