@loaders.gl/las 3.2.0-alpha.1 → 3.2.0-alpha.2
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 +81 -14980
- package/dist/es5/las-loader.js +1 -1
- package/dist/es5/lib/parse-las.js +7 -10
- package/dist/es5/lib/parse-las.js.map +1 -1
- package/dist/esm/las-loader.js +1 -1
- package/dist/esm/lib/parse-las.js +8 -11
- package/dist/esm/lib/parse-las.js.map +1 -1
- package/dist/las-worker.js +31 -14916
- package/dist/lib/parse-las.d.ts.map +1 -1
- package/dist/lib/parse-las.js +4 -2
- package/package.json +4 -4
- package/src/lib/parse-las.ts +5 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-las.d.ts","sourceRoot":"","sources":["../../src/lib/parse-las.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,UAAU,EAAE,aAAa,EAAC,MAAM,oBAAoB,CAAC;AAClE,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,EAAC,OAAO,EAAY,MAAM,aAAa,CAAC;AAapD;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,QAAQ,CAC9B,WAAW,EAAE,WAAW,EACxB,OAAO,CAAC,EAAE,gBAAgB,GACzB,OAAO,GAAG,UAAU,GAAG,aAAa,
|
|
1
|
+
{"version":3,"file":"parse-las.d.ts","sourceRoot":"","sources":["../../src/lib/parse-las.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,UAAU,EAAE,aAAa,EAAC,MAAM,oBAAoB,CAAC;AAClE,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,EAAC,OAAO,EAAY,MAAM,aAAa,CAAC;AAapD;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,QAAQ,CAC9B,WAAW,EAAE,WAAW,EACxB,OAAO,CAAC,EAAE,gBAAgB,GACzB,OAAO,GAAG,UAAU,GAAG,aAAa,CAKtC;AAsHD;;;;;;GAMG;AAEH,wBAAgB,eAAe,CAAC,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,GAAE,GAAQ,GAAG,IAAI,CAwC/F"}
|
package/dist/lib/parse-las.js
CHANGED
|
@@ -11,8 +11,10 @@ const get_las_schema_1 = require("./get-las-schema");
|
|
|
11
11
|
* @returns LASHeader
|
|
12
12
|
*/
|
|
13
13
|
function parseLAS(arrayBuffer, options) {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
return parseLASMesh(arrayBuffer, options);
|
|
15
|
+
// This code breaks pointcloud example on the website
|
|
16
|
+
// const mesh = parseLASMesh(arrayBuffer, options);
|
|
17
|
+
// return convertMesh(mesh, options?.las?.shape || 'mesh') as LASMesh | ArrowTable | ColumnarTable;
|
|
16
18
|
}
|
|
17
19
|
exports.default = parseLAS;
|
|
18
20
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loaders.gl/las",
|
|
3
|
-
"version": "3.2.0-alpha.
|
|
3
|
+
"version": "3.2.0-alpha.2",
|
|
4
4
|
"description": "Framework-independent loader for the LAS and LAZ formats",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@babel/runtime": "^7.3.1",
|
|
44
|
-
"@loaders.gl/loader-utils": "3.2.0-alpha.
|
|
45
|
-
"@loaders.gl/schema": "3.2.0-alpha.
|
|
44
|
+
"@loaders.gl/loader-utils": "3.2.0-alpha.2",
|
|
45
|
+
"@loaders.gl/schema": "3.2.0-alpha.2",
|
|
46
46
|
"apache-arrow": "^4.0.0"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "52a602739cbfce60fc314f474efc984d199dff78"
|
|
49
49
|
}
|
package/src/lib/parse-las.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type {ArrowTable, ColumnarTable} from '@loaders.gl/schema';
|
|
3
3
|
import type {LASLoaderOptions} from '../las-loader';
|
|
4
4
|
import type {LASMesh, LASHeader} from './las-types';
|
|
5
|
-
import {Schema, getMeshBoundingBox, convertMesh} from '@loaders.gl/schema';
|
|
5
|
+
import {Schema, getMeshBoundingBox /* , convertMesh */} from '@loaders.gl/schema';
|
|
6
6
|
import {LASFile} from './laslaz-decoder';
|
|
7
7
|
import {getLASSchema} from './get-las-schema';
|
|
8
8
|
|
|
@@ -24,8 +24,10 @@ export default function parseLAS(
|
|
|
24
24
|
arrayBuffer: ArrayBuffer,
|
|
25
25
|
options?: LASLoaderOptions
|
|
26
26
|
): LASMesh | ArrowTable | ColumnarTable {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
return parseLASMesh(arrayBuffer, options);
|
|
28
|
+
// This code breaks pointcloud example on the website
|
|
29
|
+
// const mesh = parseLASMesh(arrayBuffer, options);
|
|
30
|
+
// return convertMesh(mesh, options?.las?.shape || 'mesh') as LASMesh | ArrowTable | ColumnarTable;
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
/**
|