@loaders.gl/gis 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.
@@ -1,5 +1,4 @@
1
- import type { BinaryGeometry, BinaryGeometryType, BinaryFeatureCollection } from '@loaders.gl/schema';
2
- import type { Feature, Geometry } from '@loaders.gl/schema';
1
+ import type { BinaryGeometry, BinaryGeometryType, BinaryFeatureCollection, Feature, Geometry } from '@loaders.gl/schema';
3
2
  type BinaryToGeoJsonOptions = {
4
3
  type?: BinaryGeometryType;
5
4
  globalFeatureId?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"binary-to-geojson.d.ts","sourceRoot":"","sources":["../../../src/lib/binary-features/binary-to-geojson.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,cAAc,EACd,kBAAkB,EAIlB,uBAAuB,EAMxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAC,OAAO,EAAE,QAAQ,EAA8B,MAAM,oBAAoB,CAAC;AAavF,KAAK,sBAAsB,GAAG;IAC5B,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,sBAAsB,GAC/B,OAAO,EAAE,GAAG,OAAO,CAMrB;AAwCD,yEAAyE;AACzE,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,cAAc,EACpB,UAAU,CAAC,EAAE,MAAM,EACnB,QAAQ,CAAC,EAAE,MAAM,GAChB,QAAQ,CAYV"}
1
+ {"version":3,"file":"binary-to-geojson.d.ts","sourceRoot":"","sources":["../../../src/lib/binary-features/binary-to-geojson.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,cAAc,EACd,kBAAkB,EAIlB,uBAAuB,EAMvB,OAAO,EACP,QAAQ,EAST,MAAM,oBAAoB,CAAC;AAK5B,KAAK,sBAAsB,GAAG;IAC5B,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,sBAAsB,GAC/B,OAAO,EAAE,GAAG,OAAO,CAMrB;AAwCD,yEAAyE;AACzE,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,cAAc,EACpB,UAAU,CAAC,EAAE,MAAM,EACnB,QAAQ,CAAC,EAAE,MAAM,GAChB,QAAQ,CAYV"}
@@ -1,5 +1,4 @@
1
- import type { Feature } from '@loaders.gl/schema';
2
- import type { BinaryFeatureCollection } from '@loaders.gl/schema';
1
+ import type { Feature, BinaryFeatureCollection } from '@loaders.gl/schema';
3
2
  /**
4
3
  * Options for `geojsonToBinary`
5
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"geojson-to-binary.d.ts","sourceRoot":"","sources":["../../../src/lib/binary-features/geojson-to-binary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,oBAAoB,CAAC;AAChD,OAAO,KAAK,EAAC,uBAAuB,EAAC,MAAM,oBAAoB,CAAC;AAMhE;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC,cAAc,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,gBAAgB,CAAC,EAAE,uBAAuB,GAAG,uBAAuB,CAAC;IACrE,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,OAAO,EAAE,EACnB,OAAO,GAAE,sBAAkE,GAC1E,uBAAuB,CAUzB"}
1
+ {"version":3,"file":"geojson-to-binary.d.ts","sourceRoot":"","sources":["../../../src/lib/binary-features/geojson-to-binary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,OAAO,EAAE,uBAAuB,EAAC,MAAM,oBAAoB,CAAC;AAMzE;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC,cAAc,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,gBAAgB,CAAC,EAAE,uBAAuB,GAAG,uBAAuB,CAAC;IACrE,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,OAAO,EAAE,EACnB,OAAO,GAAE,sBAAkE,GAC1E,uBAAuB,CAUzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"convert-table-to-geojson.d.ts","sourceRoot":"","sources":["../../../src/lib/tables/convert-table-to-geojson.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAC,aAAa,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAM5F,qCAAqC;AACrC,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,aAAa,GAAG,cAAc,EACrC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,gBAAgB,EAAE,GAC1B,YAAY,CAoBd"}
1
+ {"version":3,"file":"convert-table-to-geojson.d.ts","sourceRoot":"","sources":["../../../src/lib/tables/convert-table-to-geojson.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EACV,aAAa,EACb,YAAY,EACZ,cAAc,EACd,MAAM,EAGP,MAAM,oBAAoB,CAAC;AAK5B,qCAAqC;AACrC,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,aAAa,GAAG,cAAc,EACrC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,gBAAgB,EAAE,GAC1B,YAAY,CAoBd"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@loaders.gl/gis",
3
3
  "description": "Helpers for GIS category data",
4
- "version": "4.3.0-alpha.8",
4
+ "version": "4.3.0-beta.2",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "publishConfig": {
@@ -32,8 +32,8 @@
32
32
  "README.md"
33
33
  ],
34
34
  "dependencies": {
35
- "@loaders.gl/loader-utils": "4.3.0-alpha.8",
36
- "@loaders.gl/schema": "4.3.0-alpha.8",
35
+ "@loaders.gl/loader-utils": "4.3.0-beta.2",
36
+ "@loaders.gl/schema": "4.3.0-beta.2",
37
37
  "@mapbox/vector-tile": "^1.3.1",
38
38
  "@math.gl/polygon": "^4.1.0",
39
39
  "pbf": "^3.2.1"
@@ -44,5 +44,5 @@
44
44
  "peerDependencies": {
45
45
  "@loaders.gl/core": "^4.0.0"
46
46
  },
47
- "gitHead": "c458e0c3a09543cd7c4a293d3c3f08c12acf78c0"
47
+ "gitHead": "a61003f2bb56acbdaef07a03bc39d4c7830afdcc"
48
48
  }
@@ -13,10 +13,11 @@ import type {
13
13
  // BinaryPointFeature,
14
14
  // BinaryLineFeature,
15
15
  // BinaryPolygonFeature,
16
- BinaryAttribute
17
- } from '@loaders.gl/schema';
18
- import type {Feature, Geometry, Position, GeoJsonProperties} from '@loaders.gl/schema';
19
- import type {
16
+ BinaryAttribute,
17
+ Feature,
18
+ Geometry,
19
+ Position,
20
+ GeoJsonProperties,
20
21
  Point,
21
22
  MultiPoint,
22
23
  LineString,
@@ -1,5 +1,4 @@
1
- import type {Feature} from '@loaders.gl/schema';
2
- import type {BinaryFeatureCollection} from '@loaders.gl/schema';
1
+ import type {Feature, BinaryFeatureCollection} from '@loaders.gl/schema';
3
2
 
4
3
  import {extractGeometryInfo} from './extract-geometry-info';
5
4
  import {geojsonToFlatGeojson} from './geojson-to-flat-geojson';
@@ -3,8 +3,14 @@
3
3
  // Copyright (c) vis.gl contributors
4
4
 
5
5
  import type {LoaderWithParser} from '@loaders.gl/loader-utils';
6
- import type {ArrayRowTable, GeoJSONTable, ObjectRowTable, Schema} from '@loaders.gl/schema';
7
- import type {Feature, Geometry} from '@loaders.gl/schema';
6
+ import type {
7
+ ArrayRowTable,
8
+ GeoJSONTable,
9
+ ObjectRowTable,
10
+ Schema,
11
+ Feature,
12
+ Geometry
13
+ } from '@loaders.gl/schema';
8
14
  import {getTableLength, getTableRowAsObject} from '@loaders.gl/schema';
9
15
 
10
16
  import {GeoColumnMetadata, getGeoMetadata} from '../geo/geoparquet-metadata';