@loaders.gl/arrow 4.3.0-alpha.8 → 4.3.0-beta.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/arrow-loader.d.ts +6 -38
- package/dist/arrow-loader.d.ts.map +1 -1
- package/dist/arrow-loader.js +2 -29
- package/dist/arrow-worker.js +2654 -1710
- package/dist/arrow-writer.d.ts +1 -1
- package/dist/arrow-writer.d.ts.map +1 -1
- package/dist/arrow-writer.js +2 -2
- package/dist/dist.dev.js +1863 -1768
- package/dist/dist.min.js +5 -5
- package/dist/exports/arrow-loader.d.ts +34 -0
- package/dist/exports/arrow-loader.d.ts.map +1 -0
- package/dist/exports/arrow-loader.js +30 -0
- package/dist/exports/geoarrow-loader.d.ts +27 -0
- package/dist/exports/geoarrow-loader.d.ts.map +1 -0
- package/dist/exports/geoarrow-loader.js +13 -0
- package/dist/geoarrow-loader.d.ts +3 -27
- package/dist/geoarrow-loader.d.ts.map +1 -1
- package/dist/geoarrow-loader.js +2 -12
- package/dist/geoarrow-writer.d.ts +2 -2
- package/dist/geoarrow-writer.d.ts.map +1 -1
- package/dist/geoarrow-writer.js +2 -2
- package/dist/index.cjs +426 -387
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +14 -13
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -12
- package/dist/lib/encoders/encode-arrow.d.ts.map +1 -0
- package/dist/lib/encoders/encode-geoarrow.d.ts.map +1 -0
- package/dist/lib/geoarrow/convert-geoarrow-to-binary-geometry.d.ts.map +1 -0
- package/dist/lib/geoarrow/convert-geoarrow-to-geojson-geometry.d.ts.map +1 -0
- package/dist/lib/geoarrow/get-arrow-bounds.d.ts.map +1 -0
- package/dist/lib/parsers/parse-arrow.d.ts +9 -0
- package/dist/lib/parsers/parse-arrow.d.ts.map +1 -0
- package/dist/{parsers/parse-arrow-in-batches.js → lib/parsers/parse-arrow.js} +7 -3
- package/dist/lib/parsers/parse-geoarrow.d.ts +9 -0
- package/dist/lib/parsers/parse-geoarrow.d.ts.map +1 -0
- package/dist/{parsers/parse-geoarrow-sync.js → lib/parsers/parse-geoarrow.js} +9 -3
- package/dist/{schema → lib/tables}/convert-arrow-schema.d.ts +4 -0
- package/dist/lib/tables/convert-arrow-schema.d.ts.map +1 -0
- package/dist/{schema → lib/tables}/convert-arrow-schema.js +8 -0
- package/dist/lib/tables/convert-arrow-to-table.d.ts +15 -0
- package/dist/lib/tables/convert-arrow-to-table.d.ts.map +1 -0
- package/dist/lib/tables/convert-arrow-to-table.js +104 -0
- package/dist/lib/tables/convert-table-to-arrow.d.ts +16 -0
- package/dist/lib/tables/convert-table-to-arrow.d.ts.map +1 -0
- package/dist/lib/tables/convert-table-to-arrow.js +56 -0
- package/dist/lib/types.d.ts.map +1 -0
- package/dist/{lib → schema}/arrow-table-batch.d.ts +2 -1
- package/dist/schema/arrow-table-batch.d.ts.map +1 -0
- package/dist/{lib → schema}/arrow-table-batch.js +1 -0
- package/dist/{lib/arrow-table.d.ts → schema/arrow-table-type.d.ts} +3 -1
- package/dist/schema/arrow-table-type.d.ts.map +1 -0
- package/dist/triangulate-on-worker.js +1 -1
- package/dist/triangulation-worker.js +13 -5
- package/dist/workers/triangulation-worker.js +1 -1
- package/package.json +11 -7
- package/src/arrow-loader.ts +6 -57
- package/src/arrow-writer.ts +1 -2
- package/src/exports/arrow-loader.ts +49 -0
- package/src/exports/geoarrow-loader.ts +24 -0
- package/src/geoarrow-loader.ts +6 -22
- package/src/geoarrow-writer.ts +1 -1
- package/src/index.ts +23 -23
- package/src/{parsers/parse-arrow-in-batches.ts → lib/parsers/parse-arrow.ts} +11 -5
- package/src/lib/parsers/parse-geoarrow.ts +32 -0
- package/src/{schema → lib/tables}/convert-arrow-schema.ts +10 -0
- package/src/lib/tables/convert-arrow-to-table.ts +144 -0
- package/src/lib/tables/convert-table-to-arrow.ts +72 -0
- package/src/{lib → schema}/arrow-table-batch.ts +2 -1
- package/src/{lib/arrow-table.ts → schema/arrow-table-type.ts} +2 -0
- package/src/workers/triangulation-worker.ts +1 -1
- package/dist/geoarrow/convert-geoarrow-to-binary-geometry.d.ts.map +0 -1
- package/dist/geoarrow/convert-geoarrow-to-geojson-geometry.d.ts.map +0 -1
- package/dist/geoarrow/get-arrow-bounds.d.ts.map +0 -1
- package/dist/lib/arrow-table-batch.d.ts.map +0 -1
- package/dist/lib/arrow-table.d.ts.map +0 -1
- package/dist/lib/encode-arrow.d.ts.map +0 -1
- package/dist/lib/encode-geoarrow.d.ts.map +0 -1
- package/dist/parsers/parse-arrow-in-batches.d.ts +0 -6
- package/dist/parsers/parse-arrow-in-batches.d.ts.map +0 -1
- package/dist/parsers/parse-arrow-sync.d.ts +0 -6
- package/dist/parsers/parse-arrow-sync.d.ts.map +0 -1
- package/dist/parsers/parse-arrow-sync.js +0 -32
- package/dist/parsers/parse-geoarrow-in-batches.d.ts +0 -6
- package/dist/parsers/parse-geoarrow-in-batches.d.ts.map +0 -1
- package/dist/parsers/parse-geoarrow-in-batches.js +0 -10
- package/dist/parsers/parse-geoarrow-sync.d.ts +0 -6
- package/dist/parsers/parse-geoarrow-sync.d.ts.map +0 -1
- package/dist/schema/arrow-type-utils.d.ts +0 -5
- package/dist/schema/arrow-type-utils.d.ts.map +0 -1
- package/dist/schema/arrow-type-utils.js +0 -51
- package/dist/schema/convert-arrow-schema.d.ts.map +0 -1
- package/dist/tables/convert-arrow-to-columnar-table.d.ts +0 -8
- package/dist/tables/convert-arrow-to-columnar-table.d.ts.map +0 -1
- package/dist/tables/convert-arrow-to-columnar-table.js +0 -24
- package/dist/tables/convert-arrow-to-geojson-table.d.ts +0 -16
- package/dist/tables/convert-arrow-to-geojson-table.d.ts.map +0 -1
- package/dist/tables/convert-arrow-to-geojson-table.js +0 -54
- package/dist/tables/convert-columnar-to-row-table.d.ts +0 -7
- package/dist/tables/convert-columnar-to-row-table.d.ts.map +0 -1
- package/dist/tables/convert-columnar-to-row-table.js +0 -25
- package/dist/tables/convert-table-to-arrow.d.ts +0 -42
- package/dist/tables/convert-table-to-arrow.d.ts.map +0 -1
- package/dist/tables/convert-table-to-arrow.js +0 -59
- package/dist/types.d.ts.map +0 -1
- package/src/parsers/parse-arrow-sync.ts +0 -44
- package/src/parsers/parse-geoarrow-in-batches.ts +0 -16
- package/src/parsers/parse-geoarrow-sync.ts +0 -23
- package/src/schema/arrow-type-utils.ts +0 -55
- package/src/tables/convert-arrow-to-columnar-table.ts +0 -31
- package/src/tables/convert-arrow-to-geojson-table.ts +0 -66
- package/src/tables/convert-columnar-to-row-table.ts +0 -31
- package/src/tables/convert-table-to-arrow.ts +0 -61
- /package/dist/lib/{encode-arrow.d.ts → encoders/encode-arrow.d.ts} +0 -0
- /package/dist/lib/{encode-arrow.js → encoders/encode-arrow.js} +0 -0
- /package/dist/lib/{encode-geoarrow.d.ts → encoders/encode-geoarrow.d.ts} +0 -0
- /package/dist/lib/{encode-geoarrow.js → encoders/encode-geoarrow.js} +0 -0
- /package/dist/{geoarrow → lib/geoarrow}/convert-geoarrow-to-binary-geometry.d.ts +0 -0
- /package/dist/{geoarrow → lib/geoarrow}/convert-geoarrow-to-binary-geometry.js +0 -0
- /package/dist/{geoarrow → lib/geoarrow}/convert-geoarrow-to-geojson-geometry.d.ts +0 -0
- /package/dist/{geoarrow → lib/geoarrow}/convert-geoarrow-to-geojson-geometry.js +0 -0
- /package/dist/{geoarrow → lib/geoarrow}/get-arrow-bounds.d.ts +0 -0
- /package/dist/{geoarrow → lib/geoarrow}/get-arrow-bounds.js +0 -0
- /package/dist/{types.d.ts → lib/types.d.ts} +0 -0
- /package/dist/{types.js → lib/types.js} +0 -0
- /package/dist/{lib/arrow-table.js → schema/arrow-table-type.js} +0 -0
- /package/src/lib/{encode-arrow.ts → encoders/encode-arrow.ts} +0 -0
- /package/src/lib/{encode-geoarrow.ts → encoders/encode-geoarrow.ts} +0 -0
- /package/src/{geoarrow → lib/geoarrow}/convert-geoarrow-to-binary-geometry.ts +0 -0
- /package/src/{geoarrow → lib/geoarrow}/convert-geoarrow-to-geojson-geometry.ts +0 -0
- /package/src/{geoarrow → lib/geoarrow}/get-arrow-bounds.ts +0 -0
- /package/src/{types.ts → lib/types.ts} +0 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { LoaderOptions } from '@loaders.gl/loader-utils';
|
|
2
|
+
import type { ArrowTable } from "../schema/arrow-table-type.js";
|
|
3
|
+
/** ArrowLoader options */
|
|
4
|
+
export type ArrowLoaderOptions = LoaderOptions & {
|
|
5
|
+
/** ArrowLoader options */
|
|
6
|
+
arrow?: {
|
|
7
|
+
/** Shape of returned data */
|
|
8
|
+
shape: 'arrow-table' | 'columnar-table' | 'array-row-table' | 'object-row-table';
|
|
9
|
+
/** Debounce time between batches (prevent excessive numbers of small batches) */
|
|
10
|
+
batchDebounceMs?: number;
|
|
11
|
+
/** Override the URL to the worker bundle (by default loads from unpkg.com) */
|
|
12
|
+
workerUrl?: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
/** ArrowJS table loader */
|
|
16
|
+
export declare const ArrowWorkerLoader: {
|
|
17
|
+
readonly dataType: ArrowTable;
|
|
18
|
+
readonly batchType: never;
|
|
19
|
+
readonly name: "Apache Arrow";
|
|
20
|
+
readonly id: "arrow";
|
|
21
|
+
readonly module: "arrow";
|
|
22
|
+
readonly version: any;
|
|
23
|
+
readonly category: "table";
|
|
24
|
+
readonly extensions: ["arrow", "feather"];
|
|
25
|
+
readonly mimeTypes: ["application/vnd.apache.arrow.file", "application/vnd.apache.arrow.stream", "application/octet-stream"];
|
|
26
|
+
readonly binary: true;
|
|
27
|
+
readonly tests: ["ARROW"];
|
|
28
|
+
readonly options: {
|
|
29
|
+
readonly arrow: {
|
|
30
|
+
readonly shape: "columnar-table";
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=arrow-loader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arrow-loader.d.ts","sourceRoot":"","sources":["../../src/exports/arrow-loader.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAS,aAAa,EAAC,MAAM,0BAA0B,CAAC;AACpE,OAAO,KAAK,EAAC,UAAU,EAAC,sCAAmC;AAM3D,0BAA0B;AAC1B,MAAM,MAAM,kBAAkB,GAAG,aAAa,GAAG;IAC/C,0BAA0B;IAC1B,KAAK,CAAC,EAAE;QACN,6BAA6B;QAC7B,KAAK,EAAE,aAAa,GAAG,gBAAgB,GAAG,iBAAiB,GAAG,kBAAkB,CAAC;QACjF,iFAAiF;QACjF,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,8EAA8E;QAC9E,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;CACH,CAAC;AAEF,2BAA2B;AAC3B,eAAO,MAAM,iBAAiB;uBACC,UAAU;wBACpB,KAAK;;;;;;;;;;;;;;;CAqBwC,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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 "4.3.0-beta.1" !== 'undefined' ? "4.3.0-beta.1" : 'latest';
|
|
7
|
+
/** ArrowJS table loader */
|
|
8
|
+
export const ArrowWorkerLoader = {
|
|
9
|
+
dataType: null,
|
|
10
|
+
batchType: null,
|
|
11
|
+
name: 'Apache Arrow',
|
|
12
|
+
id: 'arrow',
|
|
13
|
+
module: 'arrow',
|
|
14
|
+
version: VERSION,
|
|
15
|
+
// worker: true,
|
|
16
|
+
category: 'table',
|
|
17
|
+
extensions: ['arrow', 'feather'],
|
|
18
|
+
mimeTypes: [
|
|
19
|
+
'application/vnd.apache.arrow.file',
|
|
20
|
+
'application/vnd.apache.arrow.stream',
|
|
21
|
+
'application/octet-stream'
|
|
22
|
+
],
|
|
23
|
+
binary: true,
|
|
24
|
+
tests: ['ARROW'],
|
|
25
|
+
options: {
|
|
26
|
+
arrow: {
|
|
27
|
+
shape: 'columnar-table'
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { LoaderOptions } from '@loaders.gl/loader-utils';
|
|
2
|
+
import type { ArrowTable } from "../schema/arrow-table-type.js";
|
|
3
|
+
export type GeoArrowLoaderOptions = LoaderOptions & {
|
|
4
|
+
arrow?: {
|
|
5
|
+
shape?: 'arrow-table' | 'binary-geometry';
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
/** ArrowJS table loader */
|
|
9
|
+
export declare const GeoArrowWorkerLoader: {
|
|
10
|
+
readonly options: {
|
|
11
|
+
readonly arrow: {
|
|
12
|
+
readonly shape: "arrow-table";
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
readonly dataType: ArrowTable;
|
|
16
|
+
readonly batchType: never;
|
|
17
|
+
readonly name: "Apache Arrow";
|
|
18
|
+
readonly id: "arrow";
|
|
19
|
+
readonly module: "arrow";
|
|
20
|
+
readonly version: any;
|
|
21
|
+
readonly category: "table";
|
|
22
|
+
readonly extensions: ["arrow", "feather"];
|
|
23
|
+
readonly mimeTypes: ["application/vnd.apache.arrow.file", "application/vnd.apache.arrow.stream", "application/octet-stream"];
|
|
24
|
+
readonly binary: true;
|
|
25
|
+
readonly tests: ["ARROW"];
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=geoarrow-loader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geoarrow-loader.d.ts","sourceRoot":"","sources":["../../src/exports/geoarrow-loader.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAS,aAAa,EAAC,MAAM,0BAA0B,CAAC;AAGpE,OAAO,KAAK,EAAC,UAAU,EAAkB,sCAAmC;AAE5E,MAAM,MAAM,qBAAqB,GAAG,aAAa,GAAG;IAClD,KAAK,CAAC,EAAE;QACN,KAAK,CAAC,EAAE,aAAa,GAAG,iBAAiB,CAAC;KAC3C,CAAC;CACH,CAAC;AAEF,2BAA2B;AAC3B,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;CAO+D,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// loaders.gl
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
// Copyright (c) vis.gl contributors
|
|
4
|
+
import { ArrowWorkerLoader } from "./arrow-loader.js";
|
|
5
|
+
/** ArrowJS table loader */
|
|
6
|
+
export const GeoArrowWorkerLoader = {
|
|
7
|
+
...ArrowWorkerLoader,
|
|
8
|
+
options: {
|
|
9
|
+
arrow: {
|
|
10
|
+
shape: 'arrow-table'
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
};
|
|
@@ -1,31 +1,7 @@
|
|
|
1
|
-
import type { LoaderOptions } from '@loaders.gl/loader-utils';
|
|
2
1
|
import type { GeoJSONTable } from '@loaders.gl/schema';
|
|
3
|
-
import type { ArrowTable } from "./
|
|
4
|
-
import { parseGeoArrowInBatches } from "./parsers/parse-geoarrow
|
|
5
|
-
|
|
6
|
-
arrow?: {
|
|
7
|
-
shape?: 'arrow-table' | 'binary-geometry';
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
/** ArrowJS table loader */
|
|
11
|
-
export declare const GeoArrowWorkerLoader: {
|
|
12
|
-
readonly options: {
|
|
13
|
-
readonly arrow: {
|
|
14
|
-
readonly shape: "arrow-table";
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
readonly dataType: ArrowTable;
|
|
18
|
-
readonly batchType: never;
|
|
19
|
-
readonly name: "Apache Arrow";
|
|
20
|
-
readonly id: "arrow";
|
|
21
|
-
readonly module: "arrow";
|
|
22
|
-
readonly version: any;
|
|
23
|
-
readonly category: "table";
|
|
24
|
-
readonly extensions: ["arrow", "feather"];
|
|
25
|
-
readonly mimeTypes: ["application/vnd.apache.arrow.file", "application/vnd.apache.arrow.stream", "application/octet-stream"];
|
|
26
|
-
readonly binary: true;
|
|
27
|
-
readonly tests: ["ARROW"];
|
|
28
|
-
};
|
|
2
|
+
import type { ArrowTable } from "./schema/arrow-table-type.js";
|
|
3
|
+
import { parseGeoArrowInBatches } from "./lib/parsers/parse-geoarrow.js";
|
|
4
|
+
import type { GeoArrowLoaderOptions } from "./exports/geoarrow-loader.js";
|
|
29
5
|
/**
|
|
30
6
|
* GeoArrowLoader loads an Apache Arrow table, parses GeoArrow type extension data
|
|
31
7
|
* to convert it to a GeoJSON table or a BinaryGeometry
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geoarrow-loader.d.ts","sourceRoot":"","sources":["../src/geoarrow-loader.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"geoarrow-loader.d.ts","sourceRoot":"","sources":["../src/geoarrow-loader.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,YAAY,EAAoB,MAAM,oBAAoB,CAAC;AACxE,OAAO,KAAK,EAAC,UAAU,EAAkB,qCAAkC;AAC3E,OAAO,EAAoB,sBAAsB,EAAC,wCAAqC;AACvF,OAAO,KAAK,EAAC,qBAAqB,EAAC,qCAAkC;AAGrE;;;GAGG;AACH,eAAO,MAAM,cAAc;kCAGE,WAAW,YAAY,qBAAqB;sCAE9C,WAAW,YAAY,qBAAqB;;;;;;;;;;;;;;;;;;CAOtE,CAAC"}
|
package/dist/geoarrow-loader.js
CHANGED
|
@@ -1,18 +1,8 @@
|
|
|
1
1
|
// loaders.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// Copyright (c) vis.gl contributors
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { parseGeoArrowInBatches } from "./parsers/parse-geoarrow-in-batches.js";
|
|
7
|
-
/** ArrowJS table loader */
|
|
8
|
-
export const GeoArrowWorkerLoader = {
|
|
9
|
-
...ArrowWorkerLoader,
|
|
10
|
-
options: {
|
|
11
|
-
arrow: {
|
|
12
|
-
shape: 'arrow-table'
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
};
|
|
4
|
+
import { parseGeoArrowSync, parseGeoArrowInBatches } from "./lib/parsers/parse-geoarrow.js";
|
|
5
|
+
import { GeoArrowWorkerLoader } from "./exports/geoarrow-loader.js";
|
|
16
6
|
/**
|
|
17
7
|
* GeoArrowLoader loads an Apache Arrow table, parses GeoArrow type extension data
|
|
18
8
|
* to convert it to a GeoJSON table or a BinaryGeometry
|
|
@@ -13,8 +13,8 @@ export declare const GeoArrowWriter: {
|
|
|
13
13
|
readonly mimeTypes: ["application/vnd.apache.arrow.file", "application/vnd.apache.arrow.stream", "application/octet-stream"];
|
|
14
14
|
readonly binary: true;
|
|
15
15
|
readonly options: {};
|
|
16
|
-
readonly encode: (data:
|
|
17
|
-
readonly encodeSync: (data:
|
|
16
|
+
readonly encode: (data: BinaryGeometry | GeoJSONTable, options?: ArrowWriterOptions | undefined) => Promise<ArrayBuffer>;
|
|
17
|
+
readonly encodeSync: (data: BinaryGeometry | GeoJSONTable, options?: ArrowWriterOptions | undefined) => ArrayBuffer;
|
|
18
18
|
};
|
|
19
19
|
export {};
|
|
20
20
|
//# sourceMappingURL=geoarrow-writer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geoarrow-writer.d.ts","sourceRoot":"","sources":["../src/geoarrow-writer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAoB,aAAa,EAAC,MAAM,0BAA0B,CAAC;AAC/E,OAAO,EAAC,YAAY,EAAE,cAAc,EAAC,MAAM,oBAAoB,CAAC;AAOhE,KAAK,kBAAkB,GAAG,aAAa,GAAG;IACxC,KAAK,CAAC,EAAE,EAAE,CAAC;CACZ,CAAC;AAEF,0BAA0B;AAC1B,eAAO,MAAM,cAAc;;;;;;;;;wGAa2B,
|
|
1
|
+
{"version":3,"file":"geoarrow-writer.d.ts","sourceRoot":"","sources":["../src/geoarrow-writer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAoB,aAAa,EAAC,MAAM,0BAA0B,CAAC;AAC/E,OAAO,EAAC,YAAY,EAAE,cAAc,EAAC,MAAM,oBAAoB,CAAC;AAOhE,KAAK,kBAAkB,GAAG,aAAa,GAAG;IACxC,KAAK,CAAC,EAAE,EAAE,CAAC;CACZ,CAAC;AAEF,0BAA0B;AAC1B,eAAO,MAAM,cAAc;;;;;;;;;wGAa2B,OAAO,CAAC,WAAW,CAAC;;CAQsB,CAAC"}
|
package/dist/geoarrow-writer.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// import type {} from '@loaders.gl/loader-utils';
|
|
2
|
-
import { encodeGeoArrowSync } from "./lib/encode-geoarrow.js";
|
|
2
|
+
import { encodeGeoArrowSync } from "./lib/encoders/encode-geoarrow.js";
|
|
3
3
|
// __VERSION__ is injected by babel-plugin-version-inline
|
|
4
4
|
// @ts-ignore TS2304: Cannot find name '__VERSION__'.
|
|
5
|
-
const VERSION = typeof "4.3.0-
|
|
5
|
+
const VERSION = typeof "4.3.0-beta.1" !== 'undefined' ? "4.3.0-beta.1" : 'latest';
|
|
6
6
|
/** Apache Arrow writer */
|
|
7
7
|
export const GeoArrowWriter = {
|
|
8
8
|
name: 'Apache Arrow',
|