@loaders.gl/tile-converter 3.3.0-alpha.2 → 3.3.0-alpha.3

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.min.js CHANGED
@@ -87137,18 +87137,17 @@ function getLoaderForTextureFormat(textureFormat) {
87137
87137
  }
87138
87138
  }
87139
87139
  var I3S_ATTRIBUTE_TYPE = "i3s-attribute-type";
87140
- var defaultContent = {
87141
- attributes: {},
87142
- indices: null,
87143
- featureIds: [],
87144
- vertexCount: 0,
87145
- modelMatrix: new import_core27.Matrix4(),
87146
- coordinateSystem: 0,
87147
- byteLength: 0,
87148
- texture: null
87149
- };
87150
87140
  async function parseI3STileContent(arrayBuffer, tileOptions, tilesetOptions, options, context) {
87151
- const content = defaultContent;
87141
+ const content = {
87142
+ attributes: {},
87143
+ indices: null,
87144
+ featureIds: [],
87145
+ vertexCount: 0,
87146
+ modelMatrix: new import_core27.Matrix4(),
87147
+ coordinateSystem: 0,
87148
+ byteLength: 0,
87149
+ texture: null
87150
+ };
87152
87151
  if (tileOptions.textureUrl) {
87153
87152
  const url = getUrlWithToken(tileOptions.textureUrl, options?.i3s?.token);
87154
87153
  const loader = getLoaderForTextureFormat(tileOptions.textureFormat);
@@ -87500,7 +87499,7 @@ function getFeatureIdsFromFeatureIndexMetadata(featureIndex) {
87500
87499
  var VERSION12 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "beta";
87501
87500
  var I3SContentLoader = {
87502
87501
  name: "I3S Content (Indexed Scene Layers)",
87503
- id: "i3s-content",
87502
+ id: isBrowser2 ? "i3s-content" : "i3s-content-nodejs",
87504
87503
  module: "i3s",
87505
87504
  worker: true,
87506
87505
  version: VERSION12,
@@ -8,7 +8,7 @@ exports._typecheckI3SAttributesWorker = exports.Tile3dAttributesWorker = void 0;
8
8
 
9
9
  var _workerUtils = require("@loaders.gl/worker-utils");
10
10
 
11
- var VERSION = typeof "3.3.0-alpha.2" !== 'undefined' ? "3.3.0-alpha.2" : 'latest';
11
+ var VERSION = typeof "3.3.0-alpha.3" !== 'undefined' ? "3.3.0-alpha.3" : 'latest';
12
12
  var Tile3dAttributesWorker = {
13
13
  id: '3d-tiles-attributes',
14
14
  name: '3DTiles Attributes Worker',
@@ -8,7 +8,7 @@ exports._typecheckI3SAttributesWorker = exports.I3SAttributesWorker = void 0;
8
8
 
9
9
  var _workerUtils = require("@loaders.gl/worker-utils");
10
10
 
11
- var VERSION = typeof "3.3.0-alpha.2" !== 'undefined' ? "3.3.0-alpha.2" : 'latest';
11
+ var VERSION = typeof "3.3.0-alpha.3" !== 'undefined' ? "3.3.0-alpha.3" : 'latest';
12
12
  var I3SAttributesWorker = {
13
13
  id: 'i3s-attributes',
14
14
  name: 'I3S Attributes Worker',
@@ -13,7 +13,7 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
13
13
 
14
14
  var _geoid = require("@math.gl/geoid");
15
15
 
16
- var VERSION = typeof "3.3.0-alpha.2" !== 'undefined' ? "3.3.0-alpha.2" : 'latest';
16
+ var VERSION = typeof "3.3.0-alpha.3" !== 'undefined' ? "3.3.0-alpha.3" : 'latest';
17
17
  var PGMLoader = {
18
18
  name: 'PGM - Netpbm grayscale image format',
19
19
  id: 'pgm',
@@ -1,5 +1,5 @@
1
1
  import { processOnWorker } from '@loaders.gl/worker-utils';
2
- const VERSION = typeof "3.3.0-alpha.2" !== 'undefined' ? "3.3.0-alpha.2" : 'latest';
2
+ const VERSION = typeof "3.3.0-alpha.3" !== 'undefined' ? "3.3.0-alpha.3" : 'latest';
3
3
  export const Tile3dAttributesWorker = {
4
4
  id: '3d-tiles-attributes',
5
5
  name: '3DTiles Attributes Worker',
@@ -1,5 +1,5 @@
1
1
  import { processOnWorker } from '@loaders.gl/worker-utils';
2
- const VERSION = typeof "3.3.0-alpha.2" !== 'undefined' ? "3.3.0-alpha.2" : 'latest';
2
+ const VERSION = typeof "3.3.0-alpha.3" !== 'undefined' ? "3.3.0-alpha.3" : 'latest';
3
3
  export const I3SAttributesWorker = {
4
4
  id: 'i3s-attributes',
5
5
  name: 'I3S Attributes Worker',
@@ -1,4 +1,4 @@
1
- const VERSION = typeof "3.3.0-alpha.2" !== 'undefined' ? "3.3.0-alpha.2" : 'latest';
1
+ const VERSION = typeof "3.3.0-alpha.3" !== 'undefined' ? "3.3.0-alpha.3" : 'latest';
2
2
  import { parsePGM } from '@math.gl/geoid';
3
3
  export const PGMLoader = {
4
4
  name: 'PGM - Netpbm grayscale image format',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loaders.gl/tile-converter",
3
- "version": "3.3.0-alpha.2",
3
+ "version": "3.3.0-alpha.3",
4
4
  "description": "Converter",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -43,19 +43,19 @@
43
43
  "build-3d-tiles-attributes-worker": "esbuild src/workers/3d-tiles-attributes-worker.ts --outfile=dist/3d-tiles-attributes-worker.js --platform=node --target=esnext,node12 --minify --bundle --sourcemap --define:__VERSION__=\\\"$npm_package_version\\\""
44
44
  },
45
45
  "dependencies": {
46
- "@loaders.gl/3d-tiles": "3.3.0-alpha.2",
47
- "@loaders.gl/crypto": "3.3.0-alpha.2",
48
- "@loaders.gl/draco": "3.3.0-alpha.2",
49
- "@loaders.gl/gltf": "3.3.0-alpha.2",
50
- "@loaders.gl/i3s": "3.3.0-alpha.2",
51
- "@loaders.gl/images": "3.3.0-alpha.2",
52
- "@loaders.gl/loader-utils": "3.3.0-alpha.2",
53
- "@loaders.gl/polyfills": "3.3.0-alpha.2",
54
- "@loaders.gl/schema": "3.3.0-alpha.2",
55
- "@loaders.gl/textures": "3.3.0-alpha.2",
56
- "@loaders.gl/tiles": "3.3.0-alpha.2",
57
- "@loaders.gl/worker-utils": "3.3.0-alpha.2",
58
- "@loaders.gl/zip": "3.3.0-alpha.2",
46
+ "@loaders.gl/3d-tiles": "3.3.0-alpha.3",
47
+ "@loaders.gl/crypto": "3.3.0-alpha.3",
48
+ "@loaders.gl/draco": "3.3.0-alpha.3",
49
+ "@loaders.gl/gltf": "3.3.0-alpha.3",
50
+ "@loaders.gl/i3s": "3.3.0-alpha.3",
51
+ "@loaders.gl/images": "3.3.0-alpha.3",
52
+ "@loaders.gl/loader-utils": "3.3.0-alpha.3",
53
+ "@loaders.gl/polyfills": "3.3.0-alpha.3",
54
+ "@loaders.gl/schema": "3.3.0-alpha.3",
55
+ "@loaders.gl/textures": "3.3.0-alpha.3",
56
+ "@loaders.gl/tiles": "3.3.0-alpha.3",
57
+ "@loaders.gl/worker-utils": "3.3.0-alpha.3",
58
+ "@loaders.gl/zip": "3.3.0-alpha.3",
59
59
  "@luma.gl/engine": "^8.5.4",
60
60
  "@math.gl/core": "^3.5.1",
61
61
  "@math.gl/culling": "^3.5.1",
@@ -75,5 +75,5 @@
75
75
  "peerDependencies": {
76
76
  "@loaders.gl/core": "^3.2.0"
77
77
  },
78
- "gitHead": "628f1f0eed0f14b50ccff4c561023acf6e0657e6"
78
+ "gitHead": "232fdc52fcbee10d8322fd8a4589680943f10517"
79
79
  }