@loaders.gl/flatgeobuf 4.1.0-alpha.9 → 4.1.1
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 +1 -1
- package/dist/flatgeobuf/3.27.2/column-meta.d.ts +1 -1
- package/dist/flatgeobuf/3.27.2/column-meta.d.ts.map +1 -1
- package/dist/flatgeobuf/3.27.2/column-meta.js.map +1 -1
- package/dist/flatgeobuf/3.27.2/dumptree.js +3 -3
- package/dist/flatgeobuf/3.27.2/dumptree.js.map +1 -1
- package/dist/flatgeobuf/3.27.2/feature.d.ts +1 -1
- package/dist/flatgeobuf/3.27.2/feature.d.ts.map +1 -1
- package/dist/flatgeobuf/3.27.2/feature.js +1 -1
- package/dist/flatgeobuf/3.27.2/feature.js.map +1 -1
- package/dist/flatgeobuf/3.27.2/flat-geobuf/column.d.ts +1 -1
- package/dist/flatgeobuf/3.27.2/flat-geobuf/column.d.ts.map +1 -1
- package/dist/flatgeobuf/3.27.2/flat-geobuf/column.js +1 -1
- package/dist/flatgeobuf/3.27.2/flat-geobuf/column.js.map +1 -1
- package/dist/flatgeobuf/3.27.2/flat-geobuf/feature.d.ts +2 -2
- package/dist/flatgeobuf/3.27.2/flat-geobuf/feature.d.ts.map +1 -1
- package/dist/flatgeobuf/3.27.2/flat-geobuf/feature.js +2 -2
- package/dist/flatgeobuf/3.27.2/flat-geobuf/feature.js.map +1 -1
- package/dist/flatgeobuf/3.27.2/flat-geobuf/geometry.d.ts +1 -1
- package/dist/flatgeobuf/3.27.2/flat-geobuf/geometry.d.ts.map +1 -1
- package/dist/flatgeobuf/3.27.2/flat-geobuf/geometry.js +1 -1
- package/dist/flatgeobuf/3.27.2/flat-geobuf/geometry.js.map +1 -1
- package/dist/flatgeobuf/3.27.2/flat-geobuf/header.d.ts +3 -3
- package/dist/flatgeobuf/3.27.2/flat-geobuf/header.d.ts.map +1 -1
- package/dist/flatgeobuf/3.27.2/flat-geobuf/header.js +3 -3
- package/dist/flatgeobuf/3.27.2/flat-geobuf/header.js.map +1 -1
- package/dist/flatgeobuf/3.27.2/flat-geobuf.d.ts +5 -5
- package/dist/flatgeobuf/3.27.2/flat-geobuf.d.ts.map +1 -1
- package/dist/flatgeobuf/3.27.2/flat-geobuf.js +5 -5
- package/dist/flatgeobuf/3.27.2/flat-geobuf.js.map +1 -1
- package/dist/flatgeobuf/3.27.2/generic/feature.d.ts +4 -4
- package/dist/flatgeobuf/3.27.2/generic/feature.d.ts.map +1 -1
- package/dist/flatgeobuf/3.27.2/generic/feature.js +3 -3
- package/dist/flatgeobuf/3.27.2/generic/feature.js.map +1 -1
- package/dist/flatgeobuf/3.27.2/generic/featurecollection.d.ts +6 -6
- package/dist/flatgeobuf/3.27.2/generic/featurecollection.d.ts.map +1 -1
- package/dist/flatgeobuf/3.27.2/generic/featurecollection.js +12 -12
- package/dist/flatgeobuf/3.27.2/generic/featurecollection.js.map +1 -1
- package/dist/flatgeobuf/3.27.2/generic/geometry.d.ts +2 -2
- package/dist/flatgeobuf/3.27.2/generic/geometry.d.ts.map +1 -1
- package/dist/flatgeobuf/3.27.2/generic/geometry.js +2 -2
- package/dist/flatgeobuf/3.27.2/generic/geometry.js.map +1 -1
- package/dist/flatgeobuf/3.27.2/generic/header.d.ts +3 -3
- package/dist/flatgeobuf/3.27.2/generic/header.d.ts.map +1 -1
- package/dist/flatgeobuf/3.27.2/generic/header.js +2 -2
- package/dist/flatgeobuf/3.27.2/generic/header.js.map +1 -1
- package/dist/flatgeobuf/3.27.2/generic/index.d.ts +5 -0
- package/dist/flatgeobuf/3.27.2/generic/index.d.ts.map +1 -0
- package/dist/flatgeobuf/3.27.2/generic/index.js +5 -0
- package/dist/flatgeobuf/3.27.2/generic/index.js.map +1 -0
- package/dist/flatgeobuf/3.27.2/generic.d.ts +7 -7
- package/dist/flatgeobuf/3.27.2/generic.d.ts.map +1 -1
- package/dist/flatgeobuf/3.27.2/generic.js +4 -4
- package/dist/flatgeobuf/3.27.2/generic.js.map +1 -1
- package/dist/flatgeobuf/3.27.2/geojson/feature.d.ts +3 -3
- package/dist/flatgeobuf/3.27.2/geojson/feature.d.ts.map +1 -1
- package/dist/flatgeobuf/3.27.2/geojson/feature.js +2 -2
- package/dist/flatgeobuf/3.27.2/geojson/feature.js.map +1 -1
- package/dist/flatgeobuf/3.27.2/geojson/featurecollection.d.ts +2 -2
- package/dist/flatgeobuf/3.27.2/geojson/featurecollection.d.ts.map +1 -1
- package/dist/flatgeobuf/3.27.2/geojson/featurecollection.js +6 -6
- package/dist/flatgeobuf/3.27.2/geojson/featurecollection.js.map +1 -1
- package/dist/flatgeobuf/3.27.2/geojson/geometry.d.ts +3 -3
- package/dist/flatgeobuf/3.27.2/geojson/geometry.d.ts.map +1 -1
- package/dist/flatgeobuf/3.27.2/geojson/geometry.js +2 -2
- package/dist/flatgeobuf/3.27.2/geojson/geometry.js.map +1 -1
- package/dist/flatgeobuf/3.27.2/geojson/index.d.ts +4 -0
- package/dist/flatgeobuf/3.27.2/geojson/index.d.ts.map +1 -0
- package/dist/flatgeobuf/3.27.2/geojson/index.js +4 -0
- package/dist/flatgeobuf/3.27.2/geojson/index.js.map +1 -0
- package/dist/flatgeobuf/3.27.2/geojson.d.ts +3 -3
- package/dist/flatgeobuf/3.27.2/geojson.d.ts.map +1 -1
- package/dist/flatgeobuf/3.27.2/geojson.js +1 -1
- package/dist/flatgeobuf/3.27.2/geojson.js.map +1 -1
- package/dist/flatgeobuf/3.27.2/header-meta.d.ts +3 -3
- package/dist/flatgeobuf/3.27.2/header-meta.d.ts.map +1 -1
- package/dist/flatgeobuf/3.27.2/header-meta.js +1 -1
- package/dist/flatgeobuf/3.27.2/header-meta.js.map +1 -1
- package/dist/flatgeobuf/3.27.2/header.d.ts +1 -1
- package/dist/flatgeobuf/3.27.2/header.d.ts.map +1 -1
- package/dist/flatgeobuf/3.27.2/header.js +1 -1
- package/dist/flatgeobuf/3.27.2/header.js.map +1 -1
- package/dist/flatgeobuf/3.27.2/http-reader.d.ts +3 -3
- package/dist/flatgeobuf/3.27.2/http-reader.d.ts.map +1 -1
- package/dist/flatgeobuf/3.27.2/http-reader.js +6 -6
- package/dist/flatgeobuf/3.27.2/http-reader.js.map +1 -1
- package/dist/flatgeobuf/3.27.2/index.d.ts +13 -13
- package/dist/flatgeobuf/3.27.2/index.d.ts.map +1 -1
- package/dist/flatgeobuf/3.27.2/index.js +13 -13
- package/dist/flatgeobuf/3.27.2/index.js.map +1 -1
- package/dist/flatgeobuf/3.27.2/packedrtree.js +2 -2
- package/dist/flatgeobuf/3.27.2/packedrtree.js.map +1 -1
- package/dist/flatgeobuf-loader.js +1 -1
- package/dist/flatgeobuf-loader.js.map +1 -1
- package/dist/flatgeobuf-worker.js +1 -1
- package/dist/lib/get-schema-from-fgb-header.d.ts.map +1 -1
- package/dist/lib/get-schema-from-fgb-header.js.map +1 -1
- package/dist/lib/parse-flatgeobuf.js +2 -2
- package/dist/lib/parse-flatgeobuf.js.map +1 -1
- package/package.json +6 -6
- package/src/flatgeobuf/3.27.2/.DS_Store +0 -0
- package/src/flatgeobuf/3.27.2/column-meta.ts +1 -1
- package/src/flatgeobuf/3.27.2/dumptree.ts +3 -3
- package/src/flatgeobuf/3.27.2/feature.ts +1 -1
- package/src/flatgeobuf/3.27.2/flat-geobuf/column.ts +1 -1
- package/src/flatgeobuf/3.27.2/flat-geobuf/feature.ts +2 -2
- package/src/flatgeobuf/3.27.2/flat-geobuf/geometry.ts +1 -1
- package/src/flatgeobuf/3.27.2/flat-geobuf/header.ts +3 -3
- package/src/flatgeobuf/3.27.2/flat-geobuf.ts +5 -5
- package/src/flatgeobuf/3.27.2/generic/feature.ts +5 -5
- package/src/flatgeobuf/3.27.2/generic/featurecollection.ts +17 -17
- package/src/flatgeobuf/3.27.2/generic/geometry.ts +2 -2
- package/src/flatgeobuf/3.27.2/generic/header.ts +4 -4
- package/src/flatgeobuf/3.27.2/generic/index.ts +7 -0
- package/src/flatgeobuf/3.27.2/generic.ts +7 -7
- package/src/flatgeobuf/3.27.2/geojson/feature.ts +5 -5
- package/src/flatgeobuf/3.27.2/geojson/featurecollection.ts +10 -10
- package/src/flatgeobuf/3.27.2/geojson/geometry.ts +3 -3
- package/src/flatgeobuf/3.27.2/geojson/index.ts +6 -0
- package/src/flatgeobuf/3.27.2/geojson.ts +4 -4
- package/src/flatgeobuf/3.27.2/header-meta.ts +4 -4
- package/src/flatgeobuf/3.27.2/header.ts +1 -1
- package/src/flatgeobuf/3.27.2/http-reader.ts +6 -6
- package/src/flatgeobuf/3.27.2/index.ts +17 -14
- package/src/flatgeobuf/3.27.2/packedrtree.ts +2 -2
- package/src/lib/get-schema-from-fgb-header.ts +2 -0
- package/src/lib/parse-flatgeobuf.ts +2 -2
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
DEFAULT_NODE_SIZE,
|
|
8
8
|
NODE_ITEM_BYTE_LEN,
|
|
9
9
|
streamSearch
|
|
10
|
-
} from './packedrtree
|
|
11
|
-
import {magicbytes, SIZE_PREFIX_LEN} from './constants
|
|
12
|
-
import Config from './config
|
|
13
|
-
import Logger from './logger
|
|
14
|
-
import HeaderMeta, {fromByteBuffer} from './header-meta
|
|
15
|
-
import {Feature} from './flat-geobuf/feature
|
|
10
|
+
} from './packedrtree';
|
|
11
|
+
import {magicbytes, SIZE_PREFIX_LEN} from './constants';
|
|
12
|
+
import Config from './config';
|
|
13
|
+
import Logger from './logger';
|
|
14
|
+
import HeaderMeta, {fromByteBuffer} from './header-meta';
|
|
15
|
+
import {Feature} from './flat-geobuf/feature';
|
|
16
16
|
|
|
17
17
|
export class HttpReader {
|
|
18
18
|
private headerClient: BufferedHttpRangeClient;
|
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
// export * as ol from './ol.js';
|
|
1
|
+
// SPDX-License-Identifier: BSD-2-Clause AND ISC
|
|
2
|
+
// Copyright (c) 2018, Björn Harrtell
|
|
4
3
|
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
4
|
+
export * as generic from './generic';
|
|
5
|
+
export * as geojson from './geojson';
|
|
6
|
+
// export * as ol from './ol';
|
|
8
7
|
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
8
|
+
export {Column} from './flat-geobuf/column';
|
|
9
|
+
export {Geometry} from './flat-geobuf/geometry';
|
|
10
|
+
export {Feature} from './flat-geobuf/feature';
|
|
12
11
|
|
|
13
|
-
export {
|
|
12
|
+
export {ISimpleGeometry} from './generic/geometry';
|
|
13
|
+
export {IFeature} from './generic/feature';
|
|
14
|
+
export {FromFeatureFn} from './generic/featurecollection';
|
|
14
15
|
|
|
15
|
-
export {
|
|
16
|
-
export {default as ColumnMeta} from './column-meta.js';
|
|
17
|
-
export {default as CrsMeta} from './crs-meta.js';
|
|
16
|
+
export {IGeoJsonFeature} from './geojson/feature';
|
|
18
17
|
|
|
19
|
-
export {
|
|
18
|
+
export {default as HeaderMeta} from './header-meta';
|
|
19
|
+
export {default as ColumnMeta} from './column-meta';
|
|
20
|
+
export {default as CrsMeta} from './crs-meta';
|
|
21
|
+
|
|
22
|
+
export {Rect} from './packedrtree';
|
|
@@ -12,8 +12,8 @@ import {fgbToBinaryGeometry} from './binary-geometries';
|
|
|
12
12
|
import {getSchemaFromFGBHeader} from './get-schema-from-fgb-header';
|
|
13
13
|
|
|
14
14
|
import * as fgb from '../flatgeobuf/3.27.2';
|
|
15
|
-
import * as geojson from '../flatgeobuf/3.27.2/geojson
|
|
16
|
-
import * as generic from '../flatgeobuf/3.27.2/generic
|
|
15
|
+
import * as geojson from '../flatgeobuf/3.27.2/geojson';
|
|
16
|
+
import * as generic from '../flatgeobuf/3.27.2/generic';
|
|
17
17
|
import {parseProperties as parsePropertiesBinary} from '../flatgeobuf/3.27.2/generic/feature';
|
|
18
18
|
|
|
19
19
|
const deserializeGeoJson = geojson.deserialize;
|