@loaders.gl/tiles 5.0.0-alpha.10 → 5.0.0-alpha.12
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/dist/dist.dev.js +37183 -19131
- package/dist/dist.min.js +22 -3
- package/dist/index.cjs +620 -2027
- package/dist/index.cjs.map +4 -3
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/point-cloud-tile-source-loader-types.d.ts +31 -0
- package/dist/point-cloud-tile-source-loader-types.d.ts.map +1 -0
- package/dist/point-cloud-tile-source-loader-types.js +34 -0
- package/dist/point-cloud-tile-source-loader-types.js.map +1 -0
- package/dist/point-cloud-tile-source-loader.cjs +81 -0
- package/dist/point-cloud-tile-source-loader.cjs.map +7 -0
- package/dist/point-cloud-tile-source-loader.d.ts +27 -0
- package/dist/point-cloud-tile-source-loader.d.ts.map +1 -0
- package/dist/point-cloud-tile-source-loader.js +17 -0
- package/dist/point-cloud-tile-source-loader.js.map +1 -0
- package/dist/point-cloud-tile-source-types.d.ts +15 -0
- package/dist/point-cloud-tile-source-types.d.ts.map +1 -0
- package/dist/point-cloud-tile-source-types.js +5 -0
- package/dist/point-cloud-tile-source-types.js.map +1 -0
- package/dist/point-cloud-tile-source.cjs +105 -0
- package/dist/point-cloud-tile-source.cjs.map +7 -0
- package/dist/point-cloud-tile-source.d.ts +36 -0
- package/dist/point-cloud-tile-source.d.ts.map +1 -0
- package/dist/point-cloud-tile-source.js +84 -0
- package/dist/point-cloud-tile-source.js.map +1 -0
- package/dist/spatial/i3s-spatial-transformer.d.ts +16 -0
- package/dist/spatial/i3s-spatial-transformer.d.ts.map +1 -1
- package/dist/spatial/i3s-spatial-transformer.js +45 -0
- package/dist/spatial/i3s-spatial-transformer.js.map +1 -1
- package/dist/spatial/spatial-coordinate-transformer.d.ts +3 -1
- package/dist/spatial/spatial-coordinate-transformer.d.ts.map +1 -1
- package/dist/spatial/spatial-coordinate-transformer.js +25 -9
- package/dist/spatial/spatial-coordinate-transformer.js.map +1 -1
- package/dist/spatial/spatial-resource-registry.d.ts +3 -0
- package/dist/spatial/spatial-resource-registry.d.ts.map +1 -1
- package/dist/spatial/spatial-resource-registry.js +12 -3
- package/dist/spatial/spatial-resource-registry.js.map +1 -1
- package/dist/spatial/tiles-3d-spatial-transformer.d.ts.map +1 -1
- package/dist/spatial/tiles-3d-spatial-transformer.js +0 -12
- package/dist/spatial/tiles-3d-spatial-transformer.js.map +1 -1
- package/dist/tileset-2d.d.ts +2 -1
- package/dist/tileset-2d.d.ts.map +1 -1
- package/dist/tileset-2d.js +1 -1
- package/dist/tileset-2d.js.map +1 -1
- package/dist/tileset-3d/common/tileset-3d.d.ts +10 -1
- package/dist/tileset-3d/common/tileset-3d.d.ts.map +1 -1
- package/dist/tileset-3d/common/tileset-3d.js +42 -9
- package/dist/tileset-3d/common/tileset-3d.js.map +1 -1
- package/dist/tileset-3d/common/tileset-traverser.d.ts.map +1 -1
- package/dist/tileset-3d/common/tileset-traverser.js +2 -3
- package/dist/tileset-3d/common/tileset-traverser.js.map +1 -1
- package/dist/tileset-3d/format-3d-tiles/implicit-tiling.d.ts.map +1 -1
- package/dist/tileset-3d/format-3d-tiles/implicit-tiling.js +0 -3
- package/dist/tileset-3d/format-3d-tiles/implicit-tiling.js.map +1 -1
- package/dist/tileset-3d/format-3d-tiles/tileset-3d-traverser.d.ts +1 -0
- package/dist/tileset-3d/format-3d-tiles/tileset-3d-traverser.d.ts.map +1 -1
- package/dist/tileset-3d/format-3d-tiles/tileset-3d-traverser.js +12 -4
- package/dist/tileset-3d/format-3d-tiles/tileset-3d-traverser.js.map +1 -1
- package/dist/tileset-3d/helpers/s2-bounding-volume.d.ts.map +1 -1
- package/dist/tileset-3d/helpers/s2-bounding-volume.js +0 -3
- package/dist/tileset-3d/helpers/s2-bounding-volume.js.map +1 -1
- package/package.json +25 -13
- package/src/index.ts +8 -1
- package/src/point-cloud-tile-source-loader-types.ts +53 -0
- package/src/point-cloud-tile-source-loader.ts +32 -0
- package/src/point-cloud-tile-source-types.ts +20 -0
- package/src/point-cloud-tile-source.ts +112 -0
- package/src/spatial/i3s-spatial-transformer.ts +64 -0
- package/src/spatial/spatial-coordinate-transformer.ts +30 -9
- package/src/spatial/spatial-resource-registry.ts +14 -3
- package/src/spatial/tiles-3d-spatial-transformer.ts +0 -12
- package/src/tileset-2d.ts +25 -1
- package/src/tileset-3d/common/tileset-3d.ts +56 -12
- package/src/tileset-3d/common/tileset-traverser.ts +2 -4
- package/src/tileset-3d/format-3d-tiles/implicit-tiling.ts +0 -3
- package/src/tileset-3d/format-3d-tiles/tileset-3d-traverser.ts +16 -4
- package/src/tileset-3d/helpers/s2-bounding-volume.ts +0 -3
package/dist/index.d.ts
CHANGED
|
@@ -42,11 +42,13 @@ export { SpatialCoordinateTransformer } from "./spatial/spatial-coordinate-trans
|
|
|
42
42
|
export { getSpatialCoordinateFrame } from "./spatial/spatial-coordinate-transformer.js";
|
|
43
43
|
export { Tiles3DSpatialTransformer } from "./spatial/tiles-3d-spatial-transformer.js";
|
|
44
44
|
export type { Tiles3DSpatialBoundingVolume } from "./spatial/tiles-3d-spatial-transformer.js";
|
|
45
|
-
export type { I3SSpatialBounds, I3SSpatialObb, I3STransformedPositions } from "./spatial/i3s-spatial-transformer.js";
|
|
45
|
+
export type { I3SSpatialBounds, I3SSpatialObb, I3STransformedPositions, I3STransformedGeometry } from "./spatial/i3s-spatial-transformer.js";
|
|
46
46
|
export { I3SSpatialTransformer } from "./spatial/i3s-spatial-transformer.js";
|
|
47
47
|
export { getGeoidModel, registerGeoidModel, registerGeoidModelFromPgm, registerSpatialCrs, registerSpatialDatumGrid } from "./spatial/spatial-resource-registry.js";
|
|
48
48
|
export { getFrameState } from "./tileset-3d/helpers/frame-state.js";
|
|
49
49
|
export type { FrameState, GetFrameStateOptions } from "./tileset-3d/helpers/frame-state.js";
|
|
50
50
|
export { getLodStatus } from "./tileset-3d/helpers/i3s-lod.js";
|
|
51
51
|
export { TILE_CONTENT_STATE, TILE_REFINEMENT, TILE_TYPE, TILESET_TYPE, LOD_METRIC_TYPE } from "./constants.js";
|
|
52
|
+
export { PointCloudTileSourceLoader } from "./point-cloud-tile-source-loader-types.js";
|
|
53
|
+
export type { PointCloudTileSourceInput, PointCloudTileSourceOptions } from "./point-cloud-tile-source-types.js";
|
|
52
54
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,YAAY,EAAC,cAAc,EAAC,0CAAuC;AACnE,YAAY,EAAC,6BAA6B,EAAC,0DAAuD;AAClG,OAAO,EAAC,SAAS,EAAC,0CAAuC;AACzD,OAAO,EAAC,6BAA6B,EAAC,qDAAkD;AACxF,YAAY,EAAC,0BAA0B,EAAC,qDAAkD;AAC1F,OAAO,EAAC,uBAAuB,EAAC,yDAAsD;AACtF,YAAY,EACV,2BAA2B,EAC3B,8BAA8B,EAC/B,yDAAsD;AACvD,YAAY,EACV,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,WAAW,EACX,kBAAkB,EAClB,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,eAAe,EACf,sBAAsB,EACvB,8CAA2C;AAC5C,OAAO,EAAC,iBAAiB,EAAC,8CAA2C;AACrE,YAAY,EAAC,kCAAkC,EAAC,8DAA2D;AAC3G,OAAO,EAAC,2BAA2B,EAAC,8DAA2D;AAC/F,OAAO,EAAC,MAAM,EAAC,uCAAoC;AACnD,YAAY,EACV,aAAa,EACb,kBAAkB,EAClB,qBAAqB,EACrB,oBAAoB,EACrB,iDAA8C;AAC/C,YAAY,EAAC,iBAAiB,EAAC,uCAAoC;AACnE,OAAO,EAAC,aAAa,EAAC,wDAAqD;AAC3E,YAAY,EAAC,mBAAmB,EAAC,wD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,4CAAyC;AAC/D,YAAY,EAAC,UAAU,EAAE,oBAAoB,EAAC,4CAAyC;AACvF,OAAO,EAAC,YAAY,EAAC,wCAAqC;AAE1D,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,SAAS,EACT,YAAY,EACZ,eAAe,EAChB,uBAAoB;AAErB,OAAO,EAAC,0BAA0B,EAAC,kDAA+C;AAClF,YAAY,EACV,yBAAyB,EACzB,2BAA2B,EAC5B,2CAAwC"}
|
package/dist/index.js
CHANGED
|
@@ -30,4 +30,5 @@ export { getGeoidModel, registerGeoidModel, registerGeoidModelFromPgm, registerS
|
|
|
30
30
|
export { getFrameState } from "./tileset-3d/helpers/frame-state.js";
|
|
31
31
|
export { getLodStatus } from "./tileset-3d/helpers/i3s-lod.js";
|
|
32
32
|
export { TILE_CONTENT_STATE, TILE_REFINEMENT, TILE_TYPE, TILESET_TYPE, LOD_METRIC_TYPE } from "./constants.js";
|
|
33
|
+
export { PointCloudTileSourceLoader } from "./point-cloud-tile-source-loader-types.js";
|
|
33
34
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,+BAA+B;AAC/B,oCAAoC;AAIpC,OAAO,EAAC,SAAS,EAAC,0CAAuC;AACzD,OAAO,EAAC,6BAA6B,EAAC,qDAAkD;AAExF,OAAO,EAAC,uBAAuB,EAAC,yDAAsD;AAiBtF,OAAO,EAAC,iBAAiB,EAAC,8CAA2C;AAErE,OAAO,EAAC,2BAA2B,EAAC,8DAA2D;AAC/F,OAAO,EAAC,MAAM,EAAC,uCAAoC;AAQnD,OAAO,EAAC,aAAa,EAAC,wDAAqD;AAW3E,OAAO,EACL,8BAA8B,EAC9B,0BAA0B,EAC1B,0BAA0B,EAC3B,wDAAqD;AACtD,OAAO,EAAC,SAAS,EAAC,8CAA2C;AAE7D,OAAO,EAAC,g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C,iDAA8C;AACvE,OAAO,EAAC,YAAY,EAAC,6CAA0C;AAwB/D,OAAO,EACL,kBAAkB,EAClB,SAAS,EACT,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EACjB,wBAAqB;AAOtB,OAAO,EAAC,QAAQ,EAAC,uBAAoB;AAQrC,OAAO,EAAC,SAAS,EAAC,wBAAqB;AAWvC,OAAO,EAAC,iBAAiB,EAAC,6CAA0C;AACpE,OAAO,EAAC,cAAc,EAAC,0CAAuC;AAC9D,OAAO,EAAC,oBAAoB,EAAC,gDAA6C;AAC1E,OAAO,EAAC,uBAAuB,EAAC,gDAA6C;AAC7E,OAAO,EAAC,4BAA4B,EAAC,mDAAgD;AAkBrF,OAAO,EACL,0BAA0B,EAC1B,6BAA6B,EAC7B,sCAAsC,EACvC,mCAAgC;AACjC,OAAO,EACL,0BAA0B,EAC1B,sBAAsB,EACvB,8CAA2C;AAC5C,OAAO,EAAC,4BAA4B,EAAC,oDAAiD;AACtF,OAAO,EAAC,yBAAyB,EAAC,oDAAiD;AACnF,OAAO,EAAC,yBAAyB,EAAC,kDAA+C;AAQjF,OAAO,EAAC,qBAAqB,EAAC,6CAA0C;AACxE,OAAO,EACL,aAAa,EACb,kBAAkB,EAClB,yBAAyB,EACzB,kBAAkB,EAClB,wBAAwB,EACzB,+CAA4C;AAE7C,OAAO,EAAC,aAAa,EAAC,4CAAyC;AAE/D,OAAO,EAAC,YAAY,EAAC,wCAAqC;AAE1D,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,SAAS,EACT,YAAY,EACZ,eAAe,EAChB,uBAAoB;AAErB,OAAO,EAAC,0BAA0B,EAAC,kDAA+C"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { CoreAPI } from '@loaders.gl/loader-utils';
|
|
2
|
+
import type { PointCloudTileSource } from "./point-cloud-tile-source.js";
|
|
3
|
+
import type { PointCloudTileSourceInput, PointCloudTileSourceOptions } from "./point-cloud-tile-source-types.js";
|
|
4
|
+
/** Loads the optional authoring runtime through an explicit package subpath. */
|
|
5
|
+
declare function preloadPointCloudTileSource(): Promise<typeof import('./point-cloud-tile-source-loader').PointCloudTileSourceLoaderWithParser>;
|
|
6
|
+
/** Metadata-only loader for creating an additive point source from decoded Mesh/Arrow input. */
|
|
7
|
+
export declare const PointCloudTileSourceLoader: {
|
|
8
|
+
readonly dataType: PointCloudTileSource;
|
|
9
|
+
readonly batchType: never;
|
|
10
|
+
readonly name: "PointCloudTiler";
|
|
11
|
+
readonly id: "point-cloud-tiler";
|
|
12
|
+
readonly module: "tiles";
|
|
13
|
+
readonly version: any;
|
|
14
|
+
readonly extensions: [];
|
|
15
|
+
readonly mimeTypes: [];
|
|
16
|
+
readonly type: "point-cloud";
|
|
17
|
+
readonly fromUrl: false;
|
|
18
|
+
readonly fromBlob: false;
|
|
19
|
+
readonly testURL: () => false;
|
|
20
|
+
readonly options: {
|
|
21
|
+
readonly pointCloudTiler: {};
|
|
22
|
+
};
|
|
23
|
+
readonly defaultOptions: {
|
|
24
|
+
readonly pointCloudTiler: {};
|
|
25
|
+
};
|
|
26
|
+
readonly preload: typeof preloadPointCloudTileSource;
|
|
27
|
+
/** Direct construction requires the runtime rather than this metadata export. */
|
|
28
|
+
readonly createDataSource: (_input: PointCloudTileSourceInput | string | Blob, _options?: PointCloudTileSourceOptions, _coreApi?: CoreAPI) => PointCloudTileSource;
|
|
29
|
+
};
|
|
30
|
+
export {};
|
|
31
|
+
//# sourceMappingURL=point-cloud-tile-source-loader-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"point-cloud-tile-source-loader-types.d.ts","sourceRoot":"","sources":["../src/point-cloud-tile-source-loader-types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,OAAO,EAAe,MAAM,0BAA0B,CAAC;AACpE,OAAO,KAAK,EAAC,oBAAoB,EAAC,qCAAkC;AACpE,OAAO,KAAK,EACV,yBAAyB,EACzB,2BAA2B,EAC5B,2CAAwC;AAMzC,gFAAgF;AAChF,iBAAe,2BAA2B,IAAI,OAAO,CACnD,cAAc,kCAAkC,EAAE,oCAAoC,CACvF,CAKA;AAED,gGAAgG;AAChG,eAAO,MAAM,0BAA0B;uBACR,oBAAoB;wBAC9B,KAAK;;;;;;;;;;;;;;;;;;IAcxB,iFAAiF;wCAEvE,yBAAyB,GAAG,MAAM,GAAG,IAAI,aACvC,2BAA2B,aAC1B,OAAO,KACjB,oBAAoB;CAK8B,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// loaders.gl
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
// Copyright (c) vis.gl contributors
|
|
4
|
+
// __VERSION__ is injected by babel-plugin-version-inline
|
|
5
|
+
// @ts-ignore TS2304: Cannot find name '__VERSION__'.
|
|
6
|
+
const VERSION = typeof "5.0.0-alpha.12" !== 'undefined' ? "5.0.0-alpha.12" : 'latest';
|
|
7
|
+
/** Loads the optional authoring runtime through an explicit package subpath. */
|
|
8
|
+
async function preloadPointCloudTileSource() {
|
|
9
|
+
const { PointCloudTileSourceLoaderWithParser } = await import('@loaders.gl/tiles/point-cloud-tile-source-loader');
|
|
10
|
+
return PointCloudTileSourceLoaderWithParser;
|
|
11
|
+
}
|
|
12
|
+
/** Metadata-only loader for creating an additive point source from decoded Mesh/Arrow input. */
|
|
13
|
+
export const PointCloudTileSourceLoader = {
|
|
14
|
+
dataType: null,
|
|
15
|
+
batchType: null,
|
|
16
|
+
name: 'PointCloudTiler',
|
|
17
|
+
id: 'point-cloud-tiler',
|
|
18
|
+
module: 'tiles',
|
|
19
|
+
version: VERSION,
|
|
20
|
+
extensions: [],
|
|
21
|
+
mimeTypes: [],
|
|
22
|
+
type: 'point-cloud',
|
|
23
|
+
fromUrl: false,
|
|
24
|
+
fromBlob: false,
|
|
25
|
+
testURL: () => false,
|
|
26
|
+
options: { pointCloudTiler: {} },
|
|
27
|
+
defaultOptions: { pointCloudTiler: {} },
|
|
28
|
+
preload: preloadPointCloudTileSource,
|
|
29
|
+
/** Direct construction requires the runtime rather than this metadata export. */
|
|
30
|
+
createDataSource(_input, _options = {}, _coreApi) {
|
|
31
|
+
throw new Error('PointCloudTileSourceLoader requires preload() or @loaders.gl/tiles/point-cloud-tile-source-loader');
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=point-cloud-tile-source-loader-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"point-cloud-tile-source-loader-types.js","sourceRoot":"","sources":["../src/point-cloud-tile-source-loader-types.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,+BAA+B;AAC/B,oCAAoC;AASpC,yDAAyD;AACzD,qDAAqD;AACrD,MAAM,OAAO,GAAG,uBAAkB,KAAK,WAAW,CAAC,CAAC,kBAAa,CAAC,CAAC,QAAQ,CAAC;AAE5E,gFAAgF;AAChF,KAAK,UAAU,2BAA2B;IAGxC,MAAM,EAAC,oCAAoC,EAAC,GAAG,MAAM,MAAM,CACzD,kDAAkD,CACnD,CAAC;IACF,OAAO,oCAAoC,CAAC;AAC9C,CAAC;AAED,gGAAgG;AAChG,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,QAAQ,EAAE,IAAuC;IACjD,SAAS,EAAE,IAAa;IACxB,IAAI,EAAE,iBAAiB;IACvB,EAAE,EAAE,mBAAmB;IACvB,MAAM,EAAE,OAAO;IACf,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,EAAE;IACd,SAAS,EAAE,EAAE;IACb,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,KAAK;IACd,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK;IACpB,OAAO,EAAE,EAAC,eAAe,EAAE,EAAE,EAAC;IAC9B,cAAc,EAAE,EAAC,eAAe,EAAE,EAAE,EAAC;IACrC,OAAO,EAAE,2BAA2B;IACpC,iFAAiF;IACjF,gBAAgB,CACd,MAAiD,EACjD,WAAwC,EAAE,EAC1C,QAAkB;QAElB,MAAM,IAAI,KAAK,CACb,mGAAmG,CACpG,CAAC;IACJ,CAAC;CACoD,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// dist/point-cloud-tile-source-loader.js
|
|
31
|
+
var point_cloud_tile_source_loader_exports = {};
|
|
32
|
+
__export(point_cloud_tile_source_loader_exports, {
|
|
33
|
+
PointCloudTileSourceLoaderWithParser: () => PointCloudTileSourceLoaderWithParser
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(point_cloud_tile_source_loader_exports);
|
|
36
|
+
var import_point_cloud_tile_source = require("@loaders.gl/tiles/point-cloud-tile-source");
|
|
37
|
+
|
|
38
|
+
// dist/point-cloud-tile-source-loader-types.js
|
|
39
|
+
var VERSION = true ? "5.0.0-alpha.12" : "latest";
|
|
40
|
+
async function preloadPointCloudTileSource() {
|
|
41
|
+
const { PointCloudTileSourceLoaderWithParser: PointCloudTileSourceLoaderWithParser2 } = await import("@loaders.gl/tiles/point-cloud-tile-source-loader");
|
|
42
|
+
return PointCloudTileSourceLoaderWithParser2;
|
|
43
|
+
}
|
|
44
|
+
var PointCloudTileSourceLoader = {
|
|
45
|
+
dataType: null,
|
|
46
|
+
batchType: null,
|
|
47
|
+
name: "PointCloudTiler",
|
|
48
|
+
id: "point-cloud-tiler",
|
|
49
|
+
module: "tiles",
|
|
50
|
+
version: VERSION,
|
|
51
|
+
extensions: [],
|
|
52
|
+
mimeTypes: [],
|
|
53
|
+
type: "point-cloud",
|
|
54
|
+
fromUrl: false,
|
|
55
|
+
fromBlob: false,
|
|
56
|
+
testURL: () => false,
|
|
57
|
+
options: { pointCloudTiler: {} },
|
|
58
|
+
defaultOptions: { pointCloudTiler: {} },
|
|
59
|
+
preload: preloadPointCloudTileSource,
|
|
60
|
+
/** Direct construction requires the runtime rather than this metadata export. */
|
|
61
|
+
createDataSource(_input, _options = {}, _coreApi) {
|
|
62
|
+
throw new Error("PointCloudTileSourceLoader requires preload() or @loaders.gl/tiles/point-cloud-tile-source-loader");
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
// dist/point-cloud-tile-source-loader.js
|
|
67
|
+
var { preload: _preload, createDataSource: _createDataSource, ...metadata } = PointCloudTileSourceLoader;
|
|
68
|
+
var PointCloudTileSourceLoaderWithParser = {
|
|
69
|
+
...metadata,
|
|
70
|
+
/** Creates a native-coordinate source with deferred child indexing. */
|
|
71
|
+
createDataSource(input, options = {}, coreApi) {
|
|
72
|
+
if (typeof input === "string" || input instanceof Blob)
|
|
73
|
+
throw new Error("PointCloudTileSourceLoader requires decoded Mesh/Arrow input");
|
|
74
|
+
return new import_point_cloud_tile_source.PointCloudTileSource(input, options, coreApi);
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
78
|
+
0 && (module.exports = {
|
|
79
|
+
PointCloudTileSourceLoaderWithParser
|
|
80
|
+
});
|
|
81
|
+
//# sourceMappingURL=point-cloud-tile-source-loader.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/point-cloud-tile-source-loader.ts", "../src/point-cloud-tile-source-loader-types.ts"],
|
|
4
|
+
"sourcesContent": ["// loaders.gl\n// SPDX-License-Identifier: MIT\n// Copyright (c) vis.gl contributors\n\nimport type {CoreAPI, SourceLoader} from '@loaders.gl/loader-utils';\nimport {PointCloudTileSource} from '@loaders.gl/tiles/point-cloud-tile-source';\nimport {PointCloudTileSourceLoader} from './point-cloud-tile-source-loader-types';\nimport type {\n PointCloudTileSourceInput,\n PointCloudTileSourceOptions\n} from './point-cloud-tile-source-types';\n\nconst {\n preload: _preload,\n createDataSource: _createDataSource,\n ...metadata\n} = PointCloudTileSourceLoader;\n\n/** Parser-bearing source factory for decoded point Mesh/Arrow data. */\nexport const PointCloudTileSourceLoaderWithParser = {\n ...metadata,\n /** Creates a native-coordinate source with deferred child indexing. */\n createDataSource(\n input: PointCloudTileSourceInput | string | Blob,\n options: PointCloudTileSourceOptions = {},\n coreApi?: CoreAPI\n ): PointCloudTileSource {\n if (typeof input === 'string' || input instanceof Blob)\n throw new Error('PointCloudTileSourceLoader requires decoded Mesh/Arrow input');\n return new PointCloudTileSource(input, options, coreApi);\n }\n} as const satisfies SourceLoader<PointCloudTileSource>;\n", "// loaders.gl\n// SPDX-License-Identifier: MIT\n// Copyright (c) vis.gl contributors\n\nimport type {CoreAPI, SourceLoader} from '@loaders.gl/loader-utils';\nimport type {PointCloudTileSource} from './point-cloud-tile-source';\nimport type {\n PointCloudTileSourceInput,\n PointCloudTileSourceOptions\n} from './point-cloud-tile-source-types';\n\n// __VERSION__ is injected by babel-plugin-version-inline\n// @ts-ignore TS2304: Cannot find name '__VERSION__'.\nconst VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest';\n\n/** Loads the optional authoring runtime through an explicit package subpath. */\nasync function preloadPointCloudTileSource(): Promise<\n typeof import('./point-cloud-tile-source-loader').PointCloudTileSourceLoaderWithParser\n> {\n const {PointCloudTileSourceLoaderWithParser} = await import(\n '@loaders.gl/tiles/point-cloud-tile-source-loader'\n );\n return PointCloudTileSourceLoaderWithParser;\n}\n\n/** Metadata-only loader for creating an additive point source from decoded Mesh/Arrow input. */\nexport const PointCloudTileSourceLoader = {\n dataType: null as unknown as PointCloudTileSource,\n batchType: null as never,\n name: 'PointCloudTiler',\n id: 'point-cloud-tiler',\n module: 'tiles',\n version: VERSION,\n extensions: [],\n mimeTypes: [],\n type: 'point-cloud',\n fromUrl: false,\n fromBlob: false,\n testURL: () => false,\n options: {pointCloudTiler: {}},\n defaultOptions: {pointCloudTiler: {}},\n preload: preloadPointCloudTileSource,\n /** Direct construction requires the runtime rather than this metadata export. */\n createDataSource(\n _input: PointCloudTileSourceInput | string | Blob,\n _options: PointCloudTileSourceOptions = {},\n _coreApi?: CoreAPI\n ): PointCloudTileSource {\n throw new Error(\n 'PointCloudTileSourceLoader requires preload() or @loaders.gl/tiles/point-cloud-tile-source-loader'\n );\n }\n} as const satisfies SourceLoader<PointCloudTileSource>;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;AAKA,qCAAmC;;;ACQnC,IAAM,UAAU,OAAoC,mBAAe;AAGnE,eAAe,8BAA2B;AAGxC,QAAM,EAAC,sCAAAA,sCAAoC,IAAI,MAAM,OACnD,kDAAkD;AAEpD,SAAOA;AACT;AAGO,IAAM,6BAA6B;EACxC,UAAU;EACV,WAAW;EACX,MAAM;EACN,IAAI;EACJ,QAAQ;EACR,SAAS;EACT,YAAY,CAAA;EACZ,WAAW,CAAA;EACX,MAAM;EACN,SAAS;EACT,UAAU;EACV,SAAS,MAAM;EACf,SAAS,EAAC,iBAAiB,CAAA,EAAE;EAC7B,gBAAgB,EAAC,iBAAiB,CAAA,EAAE;EACpC,SAAS;;EAET,iBACE,QACA,WAAwC,CAAA,GACxC,UAAkB;AAElB,UAAM,IAAI,MACR,mGAAmG;EAEvG;;;;ADvCF,IAAM,EACJ,SAAS,UACT,kBAAkB,mBAClB,GAAG,SAAQ,IACT;AAGG,IAAM,uCAAuC;EAClD,GAAG;;EAEH,iBACE,OACA,UAAuC,CAAA,GACvC,SAAiB;AAEjB,QAAI,OAAO,UAAU,YAAY,iBAAiB;AAChD,YAAM,IAAI,MAAM,8DAA8D;AAChF,WAAO,IAAI,oDAAqB,OAAO,SAAS,OAAO;EACzD;;",
|
|
6
|
+
"names": ["PointCloudTileSourceLoaderWithParser"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { CoreAPI } from '@loaders.gl/loader-utils';
|
|
2
|
+
import { PointCloudTileSource } from '@loaders.gl/tiles/point-cloud-tile-source';
|
|
3
|
+
import type { PointCloudTileSourceInput, PointCloudTileSourceOptions } from "./point-cloud-tile-source-types.js";
|
|
4
|
+
/** Parser-bearing source factory for decoded point Mesh/Arrow data. */
|
|
5
|
+
export declare const PointCloudTileSourceLoaderWithParser: {
|
|
6
|
+
/** Creates a native-coordinate source with deferred child indexing. */
|
|
7
|
+
readonly createDataSource: (input: PointCloudTileSourceInput | string | Blob, options?: PointCloudTileSourceOptions, coreApi?: CoreAPI) => PointCloudTileSource;
|
|
8
|
+
readonly dataType: PointCloudTileSource;
|
|
9
|
+
readonly batchType: never;
|
|
10
|
+
readonly name: "PointCloudTiler";
|
|
11
|
+
readonly id: "point-cloud-tiler";
|
|
12
|
+
readonly module: "tiles";
|
|
13
|
+
readonly version: any;
|
|
14
|
+
readonly extensions: [];
|
|
15
|
+
readonly mimeTypes: [];
|
|
16
|
+
readonly type: "point-cloud";
|
|
17
|
+
readonly fromUrl: false;
|
|
18
|
+
readonly fromBlob: false;
|
|
19
|
+
readonly testURL: () => false;
|
|
20
|
+
readonly options: {
|
|
21
|
+
readonly pointCloudTiler: {};
|
|
22
|
+
};
|
|
23
|
+
readonly defaultOptions: {
|
|
24
|
+
readonly pointCloudTiler: {};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=point-cloud-tile-source-loader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"point-cloud-tile-source-loader.d.ts","sourceRoot":"","sources":["../src/point-cloud-tile-source-loader.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,OAAO,EAAe,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAC,oBAAoB,EAAC,MAAM,2CAA2C,CAAC;AAE/E,OAAO,KAAK,EACV,yBAAyB,EACzB,2BAA2B,EAC5B,2CAAwC;AAQzC,uEAAuE;AACvE,eAAO,MAAM,oCAAoC;IAE/C,uEAAuE;uCAE9D,yBAAyB,GAAG,MAAM,GAAG,IAAI,YACvC,2BAA2B,YAC1B,OAAO,KAChB,oBAAoB;;;;;;;;;;;;;;;;;;;CAK8B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// loaders.gl
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
// Copyright (c) vis.gl contributors
|
|
4
|
+
import { PointCloudTileSource } from '@loaders.gl/tiles/point-cloud-tile-source';
|
|
5
|
+
import { PointCloudTileSourceLoader } from "./point-cloud-tile-source-loader-types.js";
|
|
6
|
+
const { preload: _preload, createDataSource: _createDataSource, ...metadata } = PointCloudTileSourceLoader;
|
|
7
|
+
/** Parser-bearing source factory for decoded point Mesh/Arrow data. */
|
|
8
|
+
export const PointCloudTileSourceLoaderWithParser = {
|
|
9
|
+
...metadata,
|
|
10
|
+
/** Creates a native-coordinate source with deferred child indexing. */
|
|
11
|
+
createDataSource(input, options = {}, coreApi) {
|
|
12
|
+
if (typeof input === 'string' || input instanceof Blob)
|
|
13
|
+
throw new Error('PointCloudTileSourceLoader requires decoded Mesh/Arrow input');
|
|
14
|
+
return new PointCloudTileSource(input, options, coreApi);
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=point-cloud-tile-source-loader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"point-cloud-tile-source-loader.js","sourceRoot":"","sources":["../src/point-cloud-tile-source-loader.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,+BAA+B;AAC/B,oCAAoC;AAGpC,OAAO,EAAC,oBAAoB,EAAC,MAAM,2CAA2C,CAAC;AAC/E,OAAO,EAAC,0BAA0B,EAAC,kDAA+C;AAMlF,MAAM,EACJ,OAAO,EAAE,QAAQ,EACjB,gBAAgB,EAAE,iBAAiB,EACnC,GAAG,QAAQ,EACZ,GAAG,0BAA0B,CAAC;AAE/B,uEAAuE;AACvE,MAAM,CAAC,MAAM,oCAAoC,GAAG;IAClD,GAAG,QAAQ;IACX,uEAAuE;IACvE,gBAAgB,CACd,KAAgD,EAChD,UAAuC,EAAE,EACzC,OAAiB;QAEjB,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,YAAY,IAAI;YACpD,MAAM,IAAI,KAAK,CAAC,8DAA8D,CAAC,CAAC;QAClF,OAAO,IAAI,oBAAoB,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IAC3D,CAAC;CACoD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { DataSourceOptions } from '@loaders.gl/loader-utils';
|
|
2
|
+
import type { Mesh, MeshArrowTable } from '@loaders.gl/schema';
|
|
3
|
+
import type { PointCloudTilerOptions } from '@loaders.gl/schema-utils';
|
|
4
|
+
import type { TilesetSpatialReference } from "./spatial/spatial-types.js";
|
|
5
|
+
/** Decoded points supplied to the dynamic point-cloud source. */
|
|
6
|
+
export type PointCloudTileSourceInput = Mesh | MeshArrowTable;
|
|
7
|
+
/** Options for native-coordinate, additive dynamic point tiling. */
|
|
8
|
+
export type PointCloudTileSourceOptions = DataSourceOptions & {
|
|
9
|
+
/** Point indexing, output and lifetime controls. No CRS is inferred. */
|
|
10
|
+
pointCloudTiler?: PointCloudTilerOptions & {
|
|
11
|
+
/** Spatial metadata for the input coordinates; retained without reprojection. */
|
|
12
|
+
readonly spatialReference?: TilesetSpatialReference;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=point-cloud-tile-source-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"point-cloud-tile-source-types.d.ts","sourceRoot":"","sources":["../src/point-cloud-tile-source-types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,0BAA0B,CAAC;AAChE,OAAO,KAAK,EAAC,IAAI,EAAE,cAAc,EAAC,MAAM,oBAAoB,CAAC;AAC7D,OAAO,KAAK,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAC;AACrE,OAAO,KAAK,EAAC,uBAAuB,EAAC,mCAAgC;AAErE,iEAAiE;AACjE,MAAM,MAAM,yBAAyB,GAAG,IAAI,GAAG,cAAc,CAAC;AAE9D,oEAAoE;AACpE,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,GAAG;IAC5D,wEAAwE;IACxE,eAAe,CAAC,EAAE,sBAAsB,GAAG;QACzC,iFAAiF;QACjF,QAAQ,CAAC,gBAAgB,CAAC,EAAE,uBAAuB,CAAC;KACrD,CAAC;CACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"point-cloud-tile-source-types.js","sourceRoot":"","sources":["../src/point-cloud-tile-source-types.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,+BAA+B;AAC/B,oCAAoC"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// dist/point-cloud-tile-source.js
|
|
21
|
+
var point_cloud_tile_source_exports = {};
|
|
22
|
+
__export(point_cloud_tile_source_exports, {
|
|
23
|
+
PointCloudTileSource: () => PointCloudTileSource
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(point_cloud_tile_source_exports);
|
|
26
|
+
var import_loader_utils = require("@loaders.gl/loader-utils");
|
|
27
|
+
var import_schema_utils = require("@loaders.gl/schema-utils");
|
|
28
|
+
var PointCloudTileSource = class extends import_loader_utils.DataSource {
|
|
29
|
+
/** Resolves after the root is indexed. */
|
|
30
|
+
ready;
|
|
31
|
+
/** Whether root indexing has completed successfully. */
|
|
32
|
+
isReady = false;
|
|
33
|
+
/** Shared portable index and ownership implementation. */
|
|
34
|
+
tiler;
|
|
35
|
+
/** Creates a source from decoded points, without fetching or reprojecting input. */
|
|
36
|
+
constructor(input, options = {}, coreApi) {
|
|
37
|
+
super(null, options, { pointCloudTiler: {} }, coreApi);
|
|
38
|
+
this.tiler = new import_schema_utils.PointCloudTiler(input, options.pointCloudTiler);
|
|
39
|
+
this.ready = this.tiler.getRootNode().then(() => {
|
|
40
|
+
this.isReady = true;
|
|
41
|
+
});
|
|
42
|
+
this.ready.catch(() => {
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
/** Waits for one shared indexing operation. */
|
|
46
|
+
async initialize() {
|
|
47
|
+
await this.ready;
|
|
48
|
+
await this.tiler.getRootNode();
|
|
49
|
+
}
|
|
50
|
+
/** Reports exact source count and the additive ownership contract. */
|
|
51
|
+
async getMetadata() {
|
|
52
|
+
await this.initialize();
|
|
53
|
+
return { pointCount: this.tiler.pointCount, refinement: "ADD" };
|
|
54
|
+
}
|
|
55
|
+
/** Returns the sampled root and its native bounds. */
|
|
56
|
+
async getRootTile() {
|
|
57
|
+
return this.createHeader(await this.tiler.getRootNode());
|
|
58
|
+
}
|
|
59
|
+
/** Discovers only the requested node's immediate children. */
|
|
60
|
+
async getChildren(tile) {
|
|
61
|
+
return (await this.tiler.getChildNodes(tile.id)).map((node) => this.createHeader(node));
|
|
62
|
+
}
|
|
63
|
+
/** Gathers the requested point rows into a fresh Arrow tile, preserving attribute types. */
|
|
64
|
+
async loadTileContent(tile) {
|
|
65
|
+
const mesh = await this.tiler.getTileMesh(tile.id);
|
|
66
|
+
if (!mesh.header.vertexCount)
|
|
67
|
+
return null;
|
|
68
|
+
return {
|
|
69
|
+
data: (0, import_schema_utils.convertMeshToTable)(mesh, "arrow-table"),
|
|
70
|
+
pointCount: mesh.header.vertexCount,
|
|
71
|
+
cartographicOrigin: [0, 0, 0],
|
|
72
|
+
coordinateSystem: "cartesian",
|
|
73
|
+
spatialReference: this.options.pointCloudTiler.spatialReference,
|
|
74
|
+
spatialBoundingVolume: this.createHeader(await this.tiler.getNodeMetadata(tile.id)).boundingVolume
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
/** Releases the input table, attributes and index; safe to repeat. */
|
|
78
|
+
close() {
|
|
79
|
+
this.tiler.close();
|
|
80
|
+
this.isReady = false;
|
|
81
|
+
}
|
|
82
|
+
/** Creates a conservative native-coordinate header without renderer projection math. */
|
|
83
|
+
createHeader(node) {
|
|
84
|
+
const center = node.bounds[0].map((value, axis) => value + (node.bounds[1][axis] - value) / 2);
|
|
85
|
+
const boundingVolume = {
|
|
86
|
+
cartographicBounds: node.bounds.map((corner) => [...corner]),
|
|
87
|
+
center,
|
|
88
|
+
radius: Math.hypot(...center.map((value, axis) => node.bounds[1][axis] - value)),
|
|
89
|
+
coordinateFrame: "cartesian"
|
|
90
|
+
};
|
|
91
|
+
return {
|
|
92
|
+
id: node.id,
|
|
93
|
+
level: node.level,
|
|
94
|
+
pointCount: node.pointCount,
|
|
95
|
+
geometricError: node.geometricError,
|
|
96
|
+
boundingVolume,
|
|
97
|
+
spatialBoundingVolume: boundingVolume
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
102
|
+
0 && (module.exports = {
|
|
103
|
+
PointCloudTileSource
|
|
104
|
+
});
|
|
105
|
+
//# sourceMappingURL=point-cloud-tile-source.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/point-cloud-tile-source.ts"],
|
|
4
|
+
"sourcesContent": ["// loaders.gl\n// SPDX-License-Identifier: MIT\n// Copyright (c) vis.gl contributors\n\nimport {DataSource, type CoreAPI} from '@loaders.gl/loader-utils';\nimport {\n PointCloudTiler,\n convertMeshToTable,\n type PointCloudTilerNode\n} from '@loaders.gl/schema-utils';\nimport type {\n PointCloudTileContent,\n PointCloudTileHeader,\n PointCloudTilesetSource\n} from './point-cloud/types';\nimport type {\n PointCloudTileSourceInput,\n PointCloudTileSourceOptions\n} from './point-cloud-tile-source-types';\n\n/**\n * Dynamic counterpart to vector table tiling, usable by PointCloudTileset and converter traversal.\n * Each point belongs to one additive node. It retains native coordinates and explicit CRS metadata.\n * Geometry stays in memory; output tiles are gathered on request and are not cached by this source.\n */\nexport class PointCloudTileSource\n extends DataSource<null, PointCloudTileSourceOptions>\n implements PointCloudTilesetSource<null, PointCloudTileSourceOptions>\n{\n /** Resolves after the root is indexed. */\n readonly ready: Promise<void>;\n /** Whether root indexing has completed successfully. */\n isReady = false;\n /** Shared portable index and ownership implementation. */\n private readonly tiler: PointCloudTiler;\n\n /** Creates a source from decoded points, without fetching or reprojecting input. */\n constructor(\n input: PointCloudTileSourceInput,\n options: PointCloudTileSourceOptions = {},\n coreApi?: CoreAPI\n ) {\n super(null, options, {pointCloudTiler: {}}, coreApi);\n this.tiler = new PointCloudTiler(input, options.pointCloudTiler);\n this.ready = this.tiler.getRootNode().then(() => {\n this.isReady = true;\n });\n this.ready.catch(() => {});\n }\n\n /** Waits for one shared indexing operation. */\n async initialize(): Promise<void> {\n await this.ready;\n await this.tiler.getRootNode();\n }\n\n /** Reports exact source count and the additive ownership contract. */\n async getMetadata(): Promise<{pointCount: number; refinement: 'ADD'}> {\n await this.initialize();\n return {pointCount: this.tiler.pointCount, refinement: 'ADD'};\n }\n\n /** Returns the sampled root and its native bounds. */\n async getRootTile(): Promise<PointCloudTileHeader> {\n return this.createHeader(await this.tiler.getRootNode());\n }\n\n /** Discovers only the requested node's immediate children. */\n async getChildren(tile: PointCloudTileHeader): Promise<PointCloudTileHeader[]> {\n return (await this.tiler.getChildNodes(tile.id)).map(node => this.createHeader(node));\n }\n\n /** Gathers the requested point rows into a fresh Arrow tile, preserving attribute types. */\n async loadTileContent(tile: PointCloudTileHeader): Promise<PointCloudTileContent | null> {\n const mesh = await this.tiler.getTileMesh(tile.id);\n if (!mesh.header!.vertexCount) return null;\n return {\n data: convertMeshToTable(mesh, 'arrow-table'),\n pointCount: mesh.header!.vertexCount,\n cartographicOrigin: [0, 0, 0],\n coordinateSystem: 'cartesian',\n spatialReference: this.options.pointCloudTiler.spatialReference,\n spatialBoundingVolume: this.createHeader(await this.tiler.getNodeMetadata(tile.id))\n .boundingVolume\n };\n }\n\n /** Releases the input table, attributes and index; safe to repeat. */\n close(): void {\n this.tiler.close();\n this.isReady = false;\n }\n\n /** Creates a conservative native-coordinate header without renderer projection math. */\n private createHeader(node: PointCloudTilerNode): PointCloudTileHeader {\n const center = node.bounds[0].map((value, axis) => value + (node.bounds[1][axis] - value) / 2);\n const boundingVolume = {\n cartographicBounds: node.bounds.map(corner => [...corner]) as [number[], number[]],\n center,\n radius: Math.hypot(...center.map((value, axis) => node.bounds[1][axis] - value)),\n coordinateFrame: 'cartesian' as const\n };\n return {\n id: node.id,\n level: node.level,\n pointCount: node.pointCount,\n geometricError: node.geometricError,\n boundingVolume,\n spatialBoundingVolume: boundingVolume\n };\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;;;;;AAIA,0BAAuC;AACvC,0BAIO;AAgBD,IAAO,uBAAP,cACI,+BAA6C;;EAI5C;;EAET,UAAU;;EAEO;;EAGjB,YACE,OACA,UAAuC,CAAA,GACvC,SAAiB;AAEjB,UAAM,MAAM,SAAS,EAAC,iBAAiB,CAAA,EAAE,GAAG,OAAO;AACnD,SAAK,QAAQ,IAAI,oCAAgB,OAAO,QAAQ,eAAe;AAC/D,SAAK,QAAQ,KAAK,MAAM,YAAW,EAAG,KAAK,MAAK;AAC9C,WAAK,UAAU;IACjB,CAAC;AACD,SAAK,MAAM,MAAM,MAAK;IAAE,CAAC;EAC3B;;EAGA,MAAM,aAAU;AACd,UAAM,KAAK;AACX,UAAM,KAAK,MAAM,YAAW;EAC9B;;EAGA,MAAM,cAAW;A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|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { DataSource, type CoreAPI } from '@loaders.gl/loader-utils';
|
|
2
|
+
import type { PointCloudTileContent, PointCloudTileHeader, PointCloudTilesetSource } from "./point-cloud/types.js";
|
|
3
|
+
import type { PointCloudTileSourceInput, PointCloudTileSourceOptions } from "./point-cloud-tile-source-types.js";
|
|
4
|
+
/**
|
|
5
|
+
* Dynamic counterpart to vector table tiling, usable by PointCloudTileset and converter traversal.
|
|
6
|
+
* Each point belongs to one additive node. It retains native coordinates and explicit CRS metadata.
|
|
7
|
+
* Geometry stays in memory; output tiles are gathered on request and are not cached by this source.
|
|
8
|
+
*/
|
|
9
|
+
export declare class PointCloudTileSource extends DataSource<null, PointCloudTileSourceOptions> implements PointCloudTilesetSource<null, PointCloudTileSourceOptions> {
|
|
10
|
+
/** Resolves after the root is indexed. */
|
|
11
|
+
readonly ready: Promise<void>;
|
|
12
|
+
/** Whether root indexing has completed successfully. */
|
|
13
|
+
isReady: boolean;
|
|
14
|
+
/** Shared portable index and ownership implementation. */
|
|
15
|
+
private readonly tiler;
|
|
16
|
+
/** Creates a source from decoded points, without fetching or reprojecting input. */
|
|
17
|
+
constructor(input: PointCloudTileSourceInput, options?: PointCloudTileSourceOptions, coreApi?: CoreAPI);
|
|
18
|
+
/** Waits for one shared indexing operation. */
|
|
19
|
+
initialize(): Promise<void>;
|
|
20
|
+
/** Reports exact source count and the additive ownership contract. */
|
|
21
|
+
getMetadata(): Promise<{
|
|
22
|
+
pointCount: number;
|
|
23
|
+
refinement: 'ADD';
|
|
24
|
+
}>;
|
|
25
|
+
/** Returns the sampled root and its native bounds. */
|
|
26
|
+
getRootTile(): Promise<PointCloudTileHeader>;
|
|
27
|
+
/** Discovers only the requested node's immediate children. */
|
|
28
|
+
getChildren(tile: PointCloudTileHeader): Promise<PointCloudTileHeader[]>;
|
|
29
|
+
/** Gathers the requested point rows into a fresh Arrow tile, preserving attribute types. */
|
|
30
|
+
loadTileContent(tile: PointCloudTileHeader): Promise<PointCloudTileContent | null>;
|
|
31
|
+
/** Releases the input table, attributes and index; safe to repeat. */
|
|
32
|
+
close(): void;
|
|
33
|
+
/** Creates a conservative native-coordinate header without renderer projection math. */
|
|
34
|
+
private createHeader;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=point-cloud-tile-source.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"point-cloud-tile-source.d.ts","sourceRoot":"","sources":["../src/point-cloud-tile-source.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,UAAU,EAAE,KAAK,OAAO,EAAC,MAAM,0BAA0B,CAAC;AAMlE,OAAO,KAAK,EACV,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACxB,+BAA4B;AAC7B,OAAO,KAAK,EACV,yBAAyB,EACzB,2BAA2B,EAC5B,2CAAwC;AAEzC;;;;GAIG;AACH,qBAAa,oBACX,SAAQ,UAAU,CAAC,IAAI,EAAE,2BAA2B,CACpD,YAAW,uBAAuB,CAAC,IAAI,EAAE,2BAA2B,CAAC;IAErE,0CAA0C;IAC1C,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9B,wDAAwD;IACxD,OAAO,UAAS;IAChB,0DAA0D;IAC1D,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAkB;IAExC,oFAAoF;gBAElF,KAAK,EAAE,yBAAyB,EAChC,OAAO,GAAE,2BAAgC,EACzC,OAAO,CAAC,EAAE,OAAO;IAUnB,+CAA+C;IACzC,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAKjC,sEAAsE;IAChE,WAAW,IAAI,OAAO,CAAC;QAAC,UAAU,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,KAAK,CAAA;KAAC,CAAC;IAKrE,sDAAsD;IAChD,WAAW,IAAI,OAAO,CAAC,oBAAoB,CAAC;IAIlD,8DAA8D;IACxD,WAAW,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;IAI9E,4FAA4F;IACtF,eAAe,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,qBAAqB,GAAG,IAAI,CAAC;IAcxF,sEAAsE;IACtE,KAAK,IAAI,IAAI;IAKb,wFAAwF;IACxF,OAAO,CAAC,YAAY;CAiBrB"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// loaders.gl
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
// Copyright (c) vis.gl contributors
|
|
4
|
+
import { DataSource } from '@loaders.gl/loader-utils';
|
|
5
|
+
import { PointCloudTiler, convertMeshToTable } from '@loaders.gl/schema-utils';
|
|
6
|
+
/**
|
|
7
|
+
* Dynamic counterpart to vector table tiling, usable by PointCloudTileset and converter traversal.
|
|
8
|
+
* Each point belongs to one additive node. It retains native coordinates and explicit CRS metadata.
|
|
9
|
+
* Geometry stays in memory; output tiles are gathered on request and are not cached by this source.
|
|
10
|
+
*/
|
|
11
|
+
export class PointCloudTileSource extends DataSource {
|
|
12
|
+
/** Resolves after the root is indexed. */
|
|
13
|
+
ready;
|
|
14
|
+
/** Whether root indexing has completed successfully. */
|
|
15
|
+
isReady = false;
|
|
16
|
+
/** Shared portable index and ownership implementation. */
|
|
17
|
+
tiler;
|
|
18
|
+
/** Creates a source from decoded points, without fetching or reprojecting input. */
|
|
19
|
+
constructor(input, options = {}, coreApi) {
|
|
20
|
+
super(null, options, { pointCloudTiler: {} }, coreApi);
|
|
21
|
+
this.tiler = new PointCloudTiler(input, options.pointCloudTiler);
|
|
22
|
+
this.ready = this.tiler.getRootNode().then(() => {
|
|
23
|
+
this.isReady = true;
|
|
24
|
+
});
|
|
25
|
+
this.ready.catch(() => { });
|
|
26
|
+
}
|
|
27
|
+
/** Waits for one shared indexing operation. */
|
|
28
|
+
async initialize() {
|
|
29
|
+
await this.ready;
|
|
30
|
+
await this.tiler.getRootNode();
|
|
31
|
+
}
|
|
32
|
+
/** Reports exact source count and the additive ownership contract. */
|
|
33
|
+
async getMetadata() {
|
|
34
|
+
await this.initialize();
|
|
35
|
+
return { pointCount: this.tiler.pointCount, refinement: 'ADD' };
|
|
36
|
+
}
|
|
37
|
+
/** Returns the sampled root and its native bounds. */
|
|
38
|
+
async getRootTile() {
|
|
39
|
+
return this.createHeader(await this.tiler.getRootNode());
|
|
40
|
+
}
|
|
41
|
+
/** Discovers only the requested node's immediate children. */
|
|
42
|
+
async getChildren(tile) {
|
|
43
|
+
return (await this.tiler.getChildNodes(tile.id)).map(node => this.createHeader(node));
|
|
44
|
+
}
|
|
45
|
+
/** Gathers the requested point rows into a fresh Arrow tile, preserving attribute types. */
|
|
46
|
+
async loadTileContent(tile) {
|
|
47
|
+
const mesh = await this.tiler.getTileMesh(tile.id);
|
|
48
|
+
if (!mesh.header.vertexCount)
|
|
49
|
+
return null;
|
|
50
|
+
return {
|
|
51
|
+
data: convertMeshToTable(mesh, 'arrow-table'),
|
|
52
|
+
pointCount: mesh.header.vertexCount,
|
|
53
|
+
cartographicOrigin: [0, 0, 0],
|
|
54
|
+
coordinateSystem: 'cartesian',
|
|
55
|
+
spatialReference: this.options.pointCloudTiler.spatialReference,
|
|
56
|
+
spatialBoundingVolume: this.createHeader(await this.tiler.getNodeMetadata(tile.id))
|
|
57
|
+
.boundingVolume
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
/** Releases the input table, attributes and index; safe to repeat. */
|
|
61
|
+
close() {
|
|
62
|
+
this.tiler.close();
|
|
63
|
+
this.isReady = false;
|
|
64
|
+
}
|
|
65
|
+
/** Creates a conservative native-coordinate header without renderer projection math. */
|
|
66
|
+
createHeader(node) {
|
|
67
|
+
const center = node.bounds[0].map((value, axis) => value + (node.bounds[1][axis] - value) / 2);
|
|
68
|
+
const boundingVolume = {
|
|
69
|
+
cartographicBounds: node.bounds.map(corner => [...corner]),
|
|
70
|
+
center,
|
|
71
|
+
radius: Math.hypot(...center.map((value, axis) => node.bounds[1][axis] - value)),
|
|
72
|
+
coordinateFrame: 'cartesian'
|
|
73
|
+
};
|
|
74
|
+
return {
|
|
75
|
+
id: node.id,
|
|
76
|
+
level: node.level,
|
|
77
|
+
pointCount: node.pointCount,
|
|
78
|
+
geometricError: node.geometricError,
|
|
79
|
+
boundingVolume,
|
|
80
|
+
spatialBoundingVolume: boundingVolume
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
//# sourceMappingURL=point-cloud-tile-source.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"point-cloud-tile-source.js","sourceRoot":"","sources":["../src/point-cloud-tile-source.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,+BAA+B;AAC/B,oCAAoC;AAEpC,OAAO,EAAC,UAAU,EAAe,MAAM,0BAA0B,CAAC;AAClE,OAAO,EACL,eAAe,EACf,kBAAkB,EAEnB,MAAM,0BAA0B,CAAC;AAWlC;;;;GAIG;AACH,MAAM,OAAO,oBACX,SAAQ,UAA6C;IAGrD,0CAA0C;IACjC,KAAK,CAAgB;IAC9B,wDAAwD;IACxD,OAAO,GAAG,KAAK,CAAC;IAChB,0DAA0D;IACzC,KAAK,CAAkB;IAExC,oFAAoF;IACpF,YACE,KAAgC,EAChC,UAAuC,EAAE,EACzC,OAAiB;QAEjB,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,EAAC,eAAe,EAAE,EAAE,EAAC,EAAE,OAAO,CAAC,CAAC;QACrD,IAAI,CAAC,KAAK,GAAG,IAAI,eAAe,CAAC,KAAK,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;QACjE,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE;YAC9C,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACtB,CAAC,CAAC,CAAC;QACH,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE,GAAE,CAAC,CAAC,CAAC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34
34
|
modelMatrix: Matrix4;
|
|
35
35
|
};
|
|
36
|
+
/** Double-precision conversion geometry after I3S units, elevation and CRS placement. */
|
|
37
|
+
export type I3STransformedGeometry = {
|
|
38
|
+
/** Absolute target xyz positions, before any writer-owned float32 rebasing. */
|
|
39
|
+
positions: Float64Array;
|
|
40
|
+
/** Optional unit normals in the target basis. */
|
|
41
|
+
normals?: Float32Array;
|
|
42
|
+
};
|
|
36
43
|
/**
|
|
37
44
|
* Applies one normalized I3S horizontal CRS operation consistently to geometry, normals, origins,
|
|
38
45
|
* and node bounds.
|
|
@@ -94,6 +101,15 @@ export declare class I3SSpatialTransformer {
|
|
|
94
101
|
* @returns Renderer-ready target-frame offsets and stable origin metadata.
|
|
95
102
|
*/
|
|
96
103
|
transformPositionsAsync(sourcePositions: ArrayLike<number>, sourceOrigin: ArrayLike<number>): Promise<I3STransformedPositions>;
|
|
104
|
+
/**
|
|
105
|
+
* Transforms conversion geometry without passing through renderer float32 offsets.
|
|
106
|
+
* Positions and normals share one batch of elevation samples. Source arrays remain unchanged.
|
|
107
|
+
* @param sourcePositions - Packed absolute xyz positions in source units.
|
|
108
|
+
* @param normals - Optional packed normals paired with the positions.
|
|
109
|
+
* @param normalReferenceFrame - I3S earth-centered or vertex-reference-frame declaration.
|
|
110
|
+
* @returns Absolute target positions and optional transformed normals.
|
|
111
|
+
*/
|
|
112
|
+
transformGeometryAsync(sourcePositions: ArrayLike<number>, normals?: ArrayLike<number>, normalReferenceFrame?: string): Promise<I3STransformedGeometry>;
|
|
97
113
|
/** Transform already placed positions into renderer-relative target coordinates. */
|
|
98
114
|
private transformPlacedPositions;
|
|
99
115
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i3s-spatial-transformer.d.ts","sourceRoot":"","sources":["../../src/spatial/i3s-spatial-transformer.ts"],"names":[],"mappings":"AAIA,OAAO,EAAU,OAAO,EAAsB,MAAM,eAAe,CAAC;AAWpE,OAAO,KAAK,EACV,sBAAsB,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