@loaders.gl/ogc 5.0.0-beta.10 → 5.0.0-beta.11

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.
@@ -3,7 +3,7 @@
3
3
  // Copyright (c) vis.gl contributors
4
4
  // __VERSION__ is injected by babel-plugin-version-inline
5
5
  // @ts-ignore TS2304: Cannot find name '__VERSION__'.
6
- const VERSION = typeof "5.0.0-beta.10" !== 'undefined' ? "5.0.0-beta.10" : 'latest';
6
+ const VERSION = typeof "5.0.0-beta.11" !== 'undefined' ? "5.0.0-beta.11" : 'latest';
7
7
  /** Loads the runtime STAC source implementation from its explicit package subpath. */
8
8
  async function preloadSTACSourceLoader() {
9
9
  const { STACLoaderWithParser } = await import('@loaders.gl/ogc/stac-loader');
@@ -557,7 +557,7 @@ function removeFileExtension(name) {
557
557
  }
558
558
 
559
559
  // dist/stac/stac-loader-types.js
560
- var VERSION2 = true ? "5.0.0-beta.10" : "latest";
560
+ var VERSION2 = true ? "5.0.0-beta.11" : "latest";
561
561
  async function preloadSTACSourceLoader() {
562
562
  const { STACLoaderWithParser: STACLoaderWithParser2 } = await import("@loaders.gl/ogc/stac-loader");
563
563
  return STACLoaderWithParser2;
@@ -1845,7 +1845,7 @@ var init_csw_capabilities_loader = __esm({
1845
1845
  "dist/wms/csw-capabilities-loader.js"() {
1846
1846
  "use strict";
1847
1847
  init_wms_format();
1848
- VERSION2 = true ? "5.0.0-beta.10" : "latest";
1848
+ VERSION2 = true ? "5.0.0-beta.11" : "latest";
1849
1849
  CSWCapabilitiesLoader = {
1850
1850
  ...CSWCapabilitiesFormat,
1851
1851
  dataType: null,
@@ -1933,7 +1933,7 @@ var init_csw_domain_loader = __esm({
1933
1933
  "dist/wms/csw-domain-loader.js"() {
1934
1934
  "use strict";
1935
1935
  init_wms_format();
1936
- VERSION3 = true ? "5.0.0-beta.10" : "latest";
1936
+ VERSION3 = true ? "5.0.0-beta.11" : "latest";
1937
1937
  CSWDomainLoader = {
1938
1938
  ...CSWDomainFormat,
1939
1939
  dataType: null,
@@ -2064,7 +2064,7 @@ var init_csw_records_loader = __esm({
2064
2064
  "dist/wms/csw-records-loader.js"() {
2065
2065
  "use strict";
2066
2066
  init_wms_format();
2067
- VERSION4 = true ? "5.0.0-beta.10" : "latest";
2067
+ VERSION4 = true ? "5.0.0-beta.11" : "latest";
2068
2068
  CSWRecordsLoader = {
2069
2069
  ...CSWRecordsFormat,
2070
2070
  dataType: null,
@@ -2138,7 +2138,7 @@ var init_wms_error_loader = __esm({
2138
2138
  "dist/wms/wms-error-loader.js"() {
2139
2139
  "use strict";
2140
2140
  init_wms_format();
2141
- VERSION5 = true ? "5.0.0-beta.10" : "latest";
2141
+ VERSION5 = true ? "5.0.0-beta.11" : "latest";
2142
2142
  WMSErrorLoader = {
2143
2143
  ...WMSErrorFormat,
2144
2144
  dataType: null,
@@ -2743,7 +2743,7 @@ var init_wms_capabilities_loader = __esm({
2743
2743
  "dist/wms/wms-capabilities-loader.js"() {
2744
2744
  "use strict";
2745
2745
  init_wms_format();
2746
- VERSION6 = true ? "5.0.0-beta.10" : "latest";
2746
+ VERSION6 = true ? "5.0.0-beta.11" : "latest";
2747
2747
  WMSCapabilitiesLoader = {
2748
2748
  ...WMSCapabilitiesFormat,
2749
2749
  dataType: null,
@@ -2856,7 +2856,7 @@ var init_wfs_capabilities_loader = __esm({
2856
2856
  "dist/wms/wfs-capabilities-loader.js"() {
2857
2857
  "use strict";
2858
2858
  init_wms_format();
2859
- VERSION7 = true ? "5.0.0-beta.10" : "latest";
2859
+ VERSION7 = true ? "5.0.0-beta.11" : "latest";
2860
2860
  WFSCapabilitiesLoader = {
2861
2861
  ...WFSCapabilitiesFormat,
2862
2862
  dataType: null,
@@ -3045,7 +3045,7 @@ var init_wmts_capabilities_loader2 = __esm({
3045
3045
  "dist/wms/wip/wmts-capabilities-loader.js"() {
3046
3046
  "use strict";
3047
3047
  init_wms_format();
3048
- VERSION9 = true ? "5.0.0-beta.10" : "latest";
3048
+ VERSION9 = true ? "5.0.0-beta.11" : "latest";
3049
3049
  WMTSCapabilitiesLoader3 = {
3050
3050
  ...WMTSCapabilitiesFormat,
3051
3051
  dataType: null,
@@ -3113,7 +3113,7 @@ var init_wcs_capabilities_loader = __esm({
3113
3113
  "dist/wms/wip/wcs-capabilities-loader.js"() {
3114
3114
  "use strict";
3115
3115
  init_wms_format();
3116
- VERSION10 = true ? "5.0.0-beta.10" : "latest";
3116
+ VERSION10 = true ? "5.0.0-beta.11" : "latest";
3117
3117
  WCSCapabilitiesLoader = {
3118
3118
  ...WCSCapabilitiesFormat,
3119
3119
  dataType: null,
@@ -4815,11 +4815,7 @@ function convertFeaturesToGeoArrowTable(features, options) {
4815
4815
  for (const row of rows) {
4816
4816
  arrowTableBuilder.addObjectRow(row);
4817
4817
  }
4818
- return {
4819
- shape: "arrow-table",
4820
- schema: structuredClone(arrowTableBuilder.schema),
4821
- data: arrowTableBuilder.finishTable()
4822
- };
4818
+ return arrowTableBuilder.finishTable();
4823
4819
  }
4824
4820
  function convertFeaturesToNativeGeoArrowTable(features, options, preference) {
4825
4821
  const geometries = features.map((feature) => feature.geometry || null);
@@ -4899,11 +4895,7 @@ function convertFeaturesToNativeGeoArrowTable(features, options, preference) {
4899
4895
  nullCount: 0,
4900
4896
  children
4901
4897
  });
4902
- return {
4903
- shape: "arrow-table",
4904
- schema: convertArrowToSchema(nextSchema),
4905
- data: new arrow5.Table(nextSchema, [new arrow5.RecordBatch(nextSchema, data)])
4906
- };
4898
+ return new arrow5.Table(nextSchema, [new arrow5.RecordBatch(nextSchema, data)]);
4907
4899
  }
4908
4900
  function resolveGeoArrowEncodingPreference(options) {
4909
4901
  var _a;
@@ -5384,11 +5376,7 @@ function convertFeaturesToWKBArrowTable(features, options = {}) {
5384
5376
  [GEOMETRY_COLUMN_NAME]: encodeWKBGeometryValue(features[featureIndex].geometry)
5385
5377
  });
5386
5378
  }
5387
- return {
5388
- shape: "arrow-table",
5389
- schema: structuredClone(arrowTableBuilder.schema),
5390
- data: arrowTableBuilder.finishTable()
5391
- };
5379
+ return arrowTableBuilder.finishTable();
5392
5380
  }
5393
5381
  function buildFeatureArrowSchema(propertySchema, features) {
5394
5382
  const geometryField = makeWKBGeometryField(GEOMETRY_COLUMN_NAME);
@@ -6159,7 +6147,7 @@ function createChildContext(xml3, options, context) {
6159
6147
 
6160
6148
  // dist/wms/gml-loader-types.js
6161
6149
  init_wms_format();
6162
- var VERSION8 = true ? "5.0.0-beta.10" : "latest";
6150
+ var VERSION8 = true ? "5.0.0-beta.11" : "latest";
6163
6151
  async function preload8() {
6164
6152
  const { GMLLoaderWithParser: GMLLoaderWithParser2 } = await import("@loaders.gl/ogc/gml-loader");
6165
6153
  return GMLLoaderWithParser2;
@@ -6220,7 +6208,7 @@ function makeGMLArrowTable(features) {
6220
6208
  throw new Error('GMLLoader: property collides with an Arrow geometry or id column; use gml.shape: "geojson" to preserve both');
6221
6209
  }
6222
6210
  }
6223
- const table = convertFeaturesToWKBArrowTable(features).data;
6211
+ const table = convertFeaturesToWKBArrowTable(features);
6224
6212
  const geoMetadata = getGeoMetadata(table.schema.metadata);
6225
6213
  geoMetadata.columns.geometry.crs = null;
6226
6214
  setGeoMetadata(table.schema.metadata, geoMetadata);