@file-viewer/renderer-3d 3.1.2 → 3.2.0

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 (73) hide show
  1. package/GEO3D.md +505 -0
  2. package/GEO3D_THIRD_PARTY_NOTICES.md +63 -0
  3. package/IFC.md +14 -1
  4. package/README.en.md +3 -35
  5. package/README.md +3 -35
  6. package/bin/copy-geo3d-assets.mjs +143 -0
  7. package/bin/copy-ifc-assets.mjs +53 -17
  8. package/dist/geo3d-workers/geotiff-worker.js +9 -0
  9. package/dist/geo3d-workers/las-worker.js +3858 -0
  10. package/dist/geo3d-workers/licenses/_giro3d_giro3d-LICENSE +10 -0
  11. package/dist/geo3d-workers/licenses/copc-license +21 -0
  12. package/dist/geo3d-workers/licenses/cross-fetch-LICENSE +21 -0
  13. package/dist/geo3d-workers/licenses/laz-perf-COPYING.txt +202 -0
  14. package/dist/geo3d-workers/licenses/mgrs-license.md +19 -0
  15. package/dist/geo3d-workers/licenses/ol-LICENSE.md +25 -0
  16. package/dist/geo3d-workers/licenses/proj4-LICENSE.md +29 -0
  17. package/dist/geo3d-workers/licenses/three-LICENSE +21 -0
  18. package/dist/geo3d-workers/licenses/wkt-parser-LICENSE.md +29 -0
  19. package/dist/geo3d-workers/manifest.json +203 -0
  20. package/dist/geo3d-workers/raster-licenses/_giro3d_giro3d-LICENSE +10 -0
  21. package/dist/geo3d-workers/raster-licenses/_petamoriken_float16-LICENSE +21 -0
  22. package/dist/geo3d-workers/raster-licenses/geotiff-LICENSE +22 -0
  23. package/dist/geo3d-workers/raster-licenses/lerc-LICENSE +101 -0
  24. package/dist/geo3d-workers/raster-licenses/lerc-NOTICE +23 -0
  25. package/dist/geo3d-workers/raster-licenses/pako-LICENSE +21 -0
  26. package/dist/geo3d-workers/raster-licenses/quick-lru-license +9 -0
  27. package/dist/geo3d-workers/raster-licenses/web-worker-LICENSE +201 -0
  28. package/dist/geo3d-workers/raster-licenses/xml-utils-LICENSE +121 -0
  29. package/dist/geo3d-workers/raster-licenses/zstddec-LICENSE +54 -0
  30. package/dist/geo3d-workers/texture-worker.js +1 -0
  31. package/dist/geo3d.d.ts +10 -0
  32. package/dist/geo3d.js +38 -0
  33. package/dist/geo3dArchive.d.ts +25 -0
  34. package/dist/geo3dArchive.js +393 -0
  35. package/dist/geo3dCityJson.d.ts +65 -0
  36. package/dist/geo3dCityJson.js +354 -0
  37. package/dist/geo3dCrs.d.ts +8 -0
  38. package/dist/geo3dCrs.js +18 -0
  39. package/dist/geo3dHooks.d.ts +4 -0
  40. package/dist/geo3dHooks.js +91 -0
  41. package/dist/geo3dInspect.d.ts +32 -0
  42. package/dist/geo3dInspect.js +410 -0
  43. package/dist/geo3dLasWorkers.d.ts +6 -0
  44. package/dist/geo3dLasWorkers.js +59 -0
  45. package/dist/geo3dOwnedWorkerPool.d.ts +31 -0
  46. package/dist/geo3dOwnedWorkerPool.js +209 -0
  47. package/dist/geo3dPointFactories.js +3835 -0
  48. package/dist/geo3dPointMaterial.d.ts +2 -0
  49. package/dist/geo3dPointMaterial.js +54 -0
  50. package/dist/geo3dRange.d.ts +11 -0
  51. package/dist/geo3dRange.js +151 -0
  52. package/dist/geo3dRasterFactories.js +32 -0
  53. package/dist/geo3dRasterWorkers.d.ts +14 -0
  54. package/dist/geo3dRasterWorkers.js +48 -0
  55. package/dist/geo3dRuntime.d.ts +144 -0
  56. package/dist/geo3dRuntime.js +378 -0
  57. package/dist/geo3dUrl.d.ts +1 -0
  58. package/dist/geo3dUrl.js +5 -0
  59. package/dist/ifc-import.worker.js +0 -2
  60. package/dist/ifc.d.ts +0 -9
  61. package/dist/ifc.js +0 -1
  62. package/dist/ifcRuntime.js +4 -9
  63. package/dist/ifcSettings.d.ts +0 -3
  64. package/dist/ifcSettings.js +0 -3
  65. package/dist/model.js +0 -4
  66. package/dist/occtModel.js +0 -2
  67. package/licenses/laz-perf-COPYING.txt +202 -0
  68. package/licenses/laz-perf-PROVENANCE.md +22 -0
  69. package/licenses/lerc-LICENSE +101 -0
  70. package/licenses/lerc-NOTICE +23 -0
  71. package/licenses/lerc-PROVENANCE.md +37 -0
  72. package/licenses/thatopen-components-MIT.txt +18 -0
  73. package/package.json +115 -29
@@ -116,7 +116,6 @@ export async function renderIfc(buffer, target, context, options) {
116
116
  let selectionId = 0;
117
117
  let selectionQueue = Promise.resolve();
118
118
  let updatePending = false;
119
- // Model identifiers are not security tokens; do not require a secure context.
120
119
  const id = `ifc-${THREE.MathUtils.generateUUID()}`;
121
120
  let timeout;
122
121
  let removeCanvasEvents = () => { };
@@ -150,8 +149,6 @@ export async function renderIfc(buffer, target, context, options) {
150
149
  const unmount = () => {
151
150
  if (disposePromise)
152
151
  return disposePromise;
153
- // Assign before abort/cleanup callbacks can reenter unmount(). Every caller
154
- // must await the same complete resource teardown, not an early promise.
155
152
  let finish;
156
153
  let fail;
157
154
  disposePromise = new Promise((resolve, reject) => {
@@ -191,13 +188,10 @@ export async function renderIfc(buffer, target, context, options) {
191
188
  throw new AggregateError(errors, "IFC extension cleanup failed");
192
189
  }
193
190
  finally {
194
- // Stop the frame loop before releasing worker-owned model geometry.
195
191
  if (currentComponents)
196
192
  currentComponents.enabled = false;
197
193
  try {
198
194
  if (currentFragments) {
199
- // abort() routes through the upstream connection and creates a Worker
200
- // for an unknown model ID. Before load(), there is nothing to abort.
201
195
  if (currentFragments.models.list.has(id))
202
196
  currentFragments.abort(id);
203
197
  await currentFragments.dispose();
@@ -323,11 +317,14 @@ export async function renderIfc(buffer, target, context, options) {
323
317
  transparent: false,
324
318
  });
325
319
  ensureLive();
320
+ if (request !== selectionId)
321
+ return null;
322
+ await fragments?.update(true);
323
+ ensureLive();
326
324
  if (request !== selectionId)
327
325
  return null;
328
326
  root.dataset.ifcSelected = selection ? String(selection.localId) : "";
329
327
  renderProperties(selection);
330
- await fragments?.update(true);
331
328
  options.onSelectionChange?.(selection);
332
329
  return selection;
333
330
  });
@@ -446,7 +443,6 @@ export async function renderIfc(buffer, target, context, options) {
446
443
  !model ||
447
444
  !world)
448
445
  return;
449
- // Fragment raycasting takes client-pixel coordinates, not normalized NDC.
450
446
  void model
451
447
  .raycast({
452
448
  camera: world.camera.three,
@@ -491,7 +487,6 @@ export async function renderIfc(buffer, target, context, options) {
491
487
  root.dataset.ifcStatus = "error";
492
488
  status.textContent = message;
493
489
  status.hidden = false;
494
- // Retain a helpful error surface without retaining any workers or WebGL resources.
495
490
  stage.replaceChildren(status);
496
491
  target.replaceChildren(style, root);
497
492
  }
@@ -1,7 +1,4 @@
1
- /** Bounded data-only bridge. This module does not import the optional BIM engines. */
2
1
  export type IfcSettings = Readonly<Record<string, unknown>>;
3
- /** Copy before allocating a Worker or transferring input. No accessors are executed. */
4
2
  export declare function copyIfcSettings(value: unknown, label?: string): Record<string, unknown>;
5
3
  export declare function copyIfcImporterSettings(value: unknown): Record<string, unknown>;
6
- /** Apply only existing public data fields, retaining library-owned Set/Map instances. */
7
4
  export declare function applyIfcSettings(target: object, settings: IfcSettings): void;
@@ -2,7 +2,6 @@ const unsafe = (key) => key.startsWith("_") || ["constructor", "prototype"].incl
2
2
  const isRecord = (value) => value !== null &&
3
3
  typeof value === "object" &&
4
4
  [Object.prototype, null].includes(Object.getPrototypeOf(value));
5
- /** Copy before allocating a Worker or transferring input. No accessors are executed. */
6
5
  export function copyIfcSettings(value, label = "IFC settings") {
7
6
  if (value === undefined)
8
7
  return {};
@@ -96,7 +95,6 @@ export function copyIfcImporterSettings(value) {
96
95
  }
97
96
  return result;
98
97
  }
99
- /** Apply only existing public data fields, retaining library-owned Set/Map instances. */
100
98
  export function applyIfcSettings(target, settings) {
101
99
  const merge = (old, next, path) => {
102
100
  if (old instanceof Set) {
@@ -116,7 +114,6 @@ export function applyIfcSettings(target, settings) {
116
114
  return old;
117
115
  }
118
116
  if (isRecord(old) && isRecord(next)) {
119
- // Loader/geometry bags accept new upstream fields; collections stay library-owned.
120
117
  for (const [key, value] of Object.entries(next)) {
121
118
  if (unsafe(key))
122
119
  throw new TypeError(`Reserved IFC setting: ${path}.${key}`);
package/dist/model.js CHANGED
@@ -933,10 +933,6 @@ export default async function renderModel(buffer, target, type = 'glb', context)
933
933
  if (!renderer || !scene || !camera || !controls) {
934
934
  return;
935
935
  }
936
- // A framework transition or a repeated File assignment can reset canvas
937
- // attributes without changing its CSS box. ResizeObserver will not see
938
- // that backing-buffer downgrade, so validate the cheap size contract on
939
- // each frame and resize only when the values diverge.
940
936
  resize();
941
937
  timer.update(timestamp);
942
938
  const delta = timer.getDelta();
package/dist/occtModel.js CHANGED
@@ -158,8 +158,6 @@ export const buildOcctThreeObject = (result, wireframe = false) => {
158
158
  nodeCount += 1;
159
159
  object.add(unassigned);
160
160
  }
161
- // STEP/IGES mechanical models conventionally use Z-up, while the shared
162
- // Three.js stage uses Y-up. Keep the grid and orbit controls intuitive.
163
161
  object.rotation.x = -Math.PI / 2;
164
162
  object.updateMatrixWorld(true);
165
163
  const stats = {
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if
116
+ and wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2022 Rapidlasso, GmbH
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,22 @@
1
+ # laz-perf license provenance
2
+
3
+ The pinned npm package `laz-perf@0.0.7` declares `Apache-2.0` in package.json.
4
+ Its published package metadata points to https://github.com/hobuinc/laz-perf.
5
+ The npm tarball installed by the frozen workspace does not include a root
6
+ LICENSE/COPYING file; the owned-decoder build deliberately rejected that gap.
7
+
8
+ The adjacent `laz-perf-COPYING.txt` preserves the upstream COPYING license text
9
+ and its `Copyright 2022 Rapidlasso, GmbH` notice. Only one line wrap in section
10
+ 4(d) differs; the whitespace-separated text is identical. No license terms or
11
+ copyright attribution are replaced.
12
+
13
+ - Upstream source: https://github.com/hobuinc/laz-perf/blob/master/COPYING
14
+ - Upstream Git blob: `e597d1debd4e93b10254bcdab301c3b5929753b4`.
15
+ - Retained SHA-256: `94b3c7e58be58920c5e87a3d9e21f7eef27fc0dea833075ae4547ebae3ce7d51`.
16
+ - Metadata verified from: https://app.unpkg.com/laz-perf@0.0.7/files/package.json
17
+
18
+ The build accepts this fallback only for the exact name, version and declared
19
+ license above and verifies the retained bytes before copying them. Other
20
+ missing package licenses still fail the build. The build and asset copier do
21
+ not download license text or software. The generated Worker manifest lists
22
+ bundled dependencies and their retained license files.
@@ -0,0 +1,101 @@
1
+ Apache License - 2.0
2
+
3
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
4
+
5
+ 1. Definitions.
6
+
7
+ "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
8
+
9
+ "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
10
+
11
+ "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control
12
+ with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management
13
+ of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial
14
+ ownership of such entity.
15
+
16
+ "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
17
+
18
+ "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source,
19
+ and configuration files.
20
+
21
+ "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to
22
+ compiled object code, generated documentation, and conversions to other media types.
23
+
24
+ "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice
25
+ that is included in or attached to the work (an example is provided in the Appendix below).
26
+
27
+ "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the
28
+ editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes
29
+ of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of,
30
+ the Work and Derivative Works thereof.
31
+
32
+ "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work
33
+ or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual
34
+ or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of
35
+ electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on
36
+ electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for
37
+ the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing
38
+ by the copyright owner as "Not a Contribution."
39
+
40
+ "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and
41
+ subsequently incorporated within the Work.
42
+
43
+ 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual,
44
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display,
45
+ publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
46
+
47
+ 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide,
48
+ non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell,
49
+ sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are
50
+ necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was
51
+ submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work
52
+ or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You
53
+ under this License for that Work shall terminate as of the date such litigation is filed.
54
+
55
+ 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications,
56
+ and in Source or Object form, provided that You meet the following conditions:
57
+
58
+ 1. You must give any other recipients of the Work or Derivative Works a copy of this License; and
59
+
60
+ 2. You must cause any modified files to carry prominent notices stating that You changed the files; and
61
+
62
+ 3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices
63
+ from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
64
+
65
+ 4. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a
66
+ readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the
67
+ Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the
68
+ Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever
69
+ such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License.
70
+ You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work,
71
+ provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to
72
+ Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your
73
+ modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with
74
+ the conditions stated in this License.
75
+
76
+ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You
77
+ to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above,
78
+ nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
79
+
80
+ 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except
81
+ as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
82
+
83
+ 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides
84
+ its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation,
85
+ any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for
86
+ determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under
87
+ this License.
88
+
89
+ 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required
90
+ by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages,
91
+ including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the
92
+ use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or
93
+ any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
94
+
95
+ 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a
96
+ fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting
97
+ such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree
98
+ to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your
99
+ accepting any such warranty or additional liability.
100
+
101
+ END OF TERMS AND CONDITIONS
@@ -0,0 +1,23 @@
1
+
2
+ LERC
3
+ Copyright 2015-2018 Esri
4
+
5
+ This software embodiment is an implementation of
6
+
7
+ United States Patent 9,002,126, Limited Error Raster Compression (LERC).
8
+ Assignee: Esri.
9
+ Assignors/Inventors: Maurer, Thomas (Redlands, CA); Gao, Peng (Redlands, CA); Becker, Peter (Redlands, CA).
10
+
11
+ The right to practice this patent is hereby granted under the Apache V2.0 License Agreement,
12
+ Clause 3 - Grant of Patent License.
13
+
14
+ The license is available at
15
+ http://github.com/Esri/lerc/
16
+
17
+ For additional information, contact:
18
+
19
+ Environmental Systems Research Institute, Inc.
20
+ Attn: Contracts and Legal Department
21
+ 380 New York Street
22
+ Redlands, CA 92373
23
+ E-mail: contracts@esri.com
@@ -0,0 +1,37 @@
1
+ # Lerc 3.0.0 license provenance
2
+
3
+ The raster decoder bundles `lerc@3.0.0`, a transitive dependency of the reviewed
4
+ GeoTIFF implementation. Its package declares `Apache-2.0`, but the npm package
5
+ root used by the frozen install does not contain the full license. The upstream
6
+ JavaScript package lives under `OtherLanguages/js`; the legal files are at the
7
+ repository root, outside that published package directory.
8
+
9
+ Reviewed upstream source: <https://github.com/Esri/lerc/tree/v3.0>.
10
+ The package at `OtherLanguages/js/package.json` declares version `3.0.0`, license
11
+ `Apache-2.0`, and a files list containing the two decoder JavaScript files.
12
+
13
+ The following files are shipped byte-for-byte, including the upstream line
14
+ endings, trailing spaces, and final-newline choices. Before verification, the
15
+ build restores upstream line endings (LF for LICENSE, CRLF for NOTICE) if Git
16
+ converted them during checkout. The checkout files themselves are not modified:
17
+
18
+ | Local file | Upstream file | Git blob identity |
19
+ | --- | --- | --- |
20
+ | `lerc-LICENSE` | <https://github.com/Esri/lerc/blob/v3.0/LICENSE> | `863d15091ebca6473a211f9d99a0051502f63d8b` |
21
+ | `lerc-NOTICE` | <https://github.com/Esri/lerc/blob/v3.0/NOTICE> | `826163b3f97fc3c5c417ae72440e263927e99163` |
22
+
23
+ The fallback applies only when a root license is absent and the installed package
24
+ is exactly `lerc@3.0.0` with the declared license `Apache-2.0`. The build verifies
25
+ both retained files against these upstream Git blob identities before copying
26
+ anything from the fallback. Other missing licenses and altered retained files
27
+ remain fatal build errors. This is not a general replacement for package licenses.
28
+
29
+ The decoder output carries both the full license and the upstream NOTICE under
30
+ `dist/geo3d-workers/raster-licenses/`. Their SHA-256 digests are recorded in the
31
+ raster package manifest alongside those of the other collected legal files. The
32
+ asset copier deploys the listed files with the Workers; installed consumers use
33
+ the built output and do not download legal files or regenerate adapters.
34
+
35
+ No dependency version, lockfile, Worker policy, source review hash, or fixture is
36
+ changed by this packaging fix. A future package version requires review rather
37
+ than widening this fallback silently.
@@ -0,0 +1,18 @@
1
+ Permission is hereby granted, free of charge, to any person obtaining
2
+ a copy of this software and associated documentation files (the
3
+ "Software"), to deal in the Software without restriction, including
4
+ without limitation the rights to use, copy, modify, merge, publish,
5
+ distribute, sublicense, and/or sell copies of the Software, and to
6
+ permit persons to whom the Software is furnished to do so, subject to
7
+ the following conditions:
8
+
9
+ The above copyright notice and this permission notice shall be
10
+ included in all copies or substantial portions of the Software.
11
+
12
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
13
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
14
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
15
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
16
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
17
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
18
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.