@loaders.gl/flatgeobuf 4.0.0-beta.3 → 4.0.0-beta.5
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 +2 -11
- package/dist/flatgeobuf-worker.js +1 -1
- package/package.json +4 -4
package/dist/dist.dev.js
CHANGED
|
@@ -8753,16 +8753,8 @@ var __exports__ = (() => {
|
|
|
8753
8753
|
const positionSize = parsedParts[0].positions.size;
|
|
8754
8754
|
for (const parsedPart of parsedParts) {
|
|
8755
8755
|
concatPositions.set(parsedPart.positions.value, positionCounter * positionSize);
|
|
8756
|
-
concatPrimitivePolygonIndices.set(
|
|
8757
|
-
|
|
8758
|
-
parsedPart.primitivePolygonIndices.value.subarray(1).map((x) => x + positionCounter),
|
|
8759
|
-
primitivePolygonIndicesCounter
|
|
8760
|
-
);
|
|
8761
|
-
concatPolygonIndices.set(
|
|
8762
|
-
// eslint-disable-next-line
|
|
8763
|
-
parsedPart.polygonIndices.value.subarray(1).map((x) => x + positionCounter),
|
|
8764
|
-
polygonIndicesCounter
|
|
8765
|
-
);
|
|
8756
|
+
concatPrimitivePolygonIndices.set(parsedPart.primitivePolygonIndices.value.subarray(1).map((x) => x + positionCounter), primitivePolygonIndicesCounter);
|
|
8757
|
+
concatPolygonIndices.set(parsedPart.polygonIndices.value.subarray(1).map((x) => x + positionCounter), polygonIndicesCounter);
|
|
8766
8758
|
positionCounter += parsedPart.positions.value.length / positionSize;
|
|
8767
8759
|
primitivePolygonIndicesCounter += parsedPart.primitivePolygonIndices.value.length - 1;
|
|
8768
8760
|
polygonIndicesCounter += parsedPart.polygonIndices.value.length - 1;
|
|
@@ -8934,7 +8926,6 @@ var __exports__ = (() => {
|
|
|
8934
8926
|
...FlatGeobufLoader,
|
|
8935
8927
|
parse: async (arrayBuffer, options) => parseFlatGeobuf(arrayBuffer, options),
|
|
8936
8928
|
parseSync: parseFlatGeobuf,
|
|
8937
|
-
// @ts-expect-error this is a stream parser not an async iterator parser
|
|
8938
8929
|
parseInBatchesFromStream: parseFlatGeobufInBatches,
|
|
8939
8930
|
binary: true
|
|
8940
8931
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loaders.gl/flatgeobuf",
|
|
3
3
|
"description": "Loader for FlatGeobuf",
|
|
4
|
-
"version": "4.0.0-beta.
|
|
4
|
+
"version": "4.0.0-beta.5",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"publishConfig": {
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"build-worker": "esbuild src/workers/flatgeobuf-worker.ts --bundle --outfile=dist/flatgeobuf-worker.js --define:__VERSION__=\\\"$npm_package_version\\\""
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@loaders.gl/gis": "4.0.0-beta.
|
|
44
|
-
"@loaders.gl/loader-utils": "4.0.0-beta.
|
|
43
|
+
"@loaders.gl/gis": "4.0.0-beta.5",
|
|
44
|
+
"@loaders.gl/loader-utils": "4.0.0-beta.5",
|
|
45
45
|
"@math.gl/proj4": "^4.0.0",
|
|
46
46
|
"flatgeobuf": "3.6.5"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "a6f5a0d1a316cc22396e5a4d480c14329d1ef146"
|
|
49
49
|
}
|