@loaders.gl/core 5.0.0-alpha.9 → 5.0.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/GEOARROW-README.md +97 -0
- package/LICENSE +2 -30
- package/README.md +8 -1
- package/SCAN-README.md +224 -0
- package/SCHEMA-README.md +9 -0
- package/SCHEMA-UTILS-README.md +11 -0
- package/THIRD-PARTY-NOTICES.md +39 -0
- package/dist/arrow-geometry/arrow-geoarrow-adapter.cjs +477 -0
- package/dist/arrow-geometry/arrow-geoarrow-adapter.cjs.map +7 -0
- package/dist/arrow-geometry/arrow-geoarrow-adapter.d.ts +29 -0
- package/dist/arrow-geometry/arrow-geoarrow-adapter.d.ts.map +1 -0
- package/dist/arrow-geometry/arrow-geoarrow-adapter.js +434 -0
- package/dist/arrow-geometry/arrow-geoarrow-adapter.js.map +1 -0
- package/dist/arrow-geometry/binary-features.cjs +318 -0
- package/dist/arrow-geometry/binary-features.cjs.map +7 -0
- package/dist/arrow-geometry/binary-features.d.ts +44 -0
- package/dist/arrow-geometry/binary-features.d.ts.map +1 -0
- package/dist/arrow-geometry/binary-features.js +300 -0
- package/dist/arrow-geometry/binary-features.js.map +1 -0
- package/dist/arrow-geometry/binary-geometry-to-wkb.cjs +199 -0
- package/dist/arrow-geometry/binary-geometry-to-wkb.cjs.map +7 -0
- package/dist/arrow-geometry/binary-geometry-to-wkb.d.ts +28 -0
- package/dist/arrow-geometry/binary-geometry-to-wkb.d.ts.map +1 -0
- package/dist/arrow-geometry/binary-geometry-to-wkb.js +170 -0
- package/dist/arrow-geometry/binary-geometry-to-wkb.js.map +1 -0
- package/dist/arrow-geometry/feature-collection-to-arrow.cjs +134 -0
- package/dist/arrow-geometry/feature-collection-to-arrow.cjs.map +7 -0
- package/dist/arrow-geometry/feature-collection-to-arrow.d.ts +23 -0
- package/dist/arrow-geometry/feature-collection-to-arrow.d.ts.map +1 -0
- package/dist/arrow-geometry/feature-collection-to-arrow.js +124 -0
- package/dist/arrow-geometry/feature-collection-to-arrow.js.map +1 -0
- package/dist/arrow-geometry/feature-table.cjs +698 -0
- package/dist/arrow-geometry/feature-table.cjs.map +7 -0
- package/dist/arrow-geometry/feature-table.d.ts +51 -0
- package/dist/arrow-geometry/feature-table.d.ts.map +1 -0
- package/dist/arrow-geometry/feature-table.js +688 -0
- package/dist/arrow-geometry/feature-table.js.map +1 -0
- package/dist/arrow-geometry/geoarrow-builder.cjs +575 -0
- package/dist/arrow-geometry/geoarrow-builder.cjs.map +7 -0
- package/dist/arrow-geometry/geoarrow-builder.d.ts +179 -0
- package/dist/arrow-geometry/geoarrow-builder.d.ts.map +1 -0
- package/dist/arrow-geometry/geoarrow-builder.js +545 -0
- package/dist/arrow-geometry/geoarrow-builder.js.map +1 -0
- package/dist/arrow-geometry/geoarrow-union-kind.cjs +59 -0
- package/dist/arrow-geometry/geoarrow-union-kind.cjs.map +7 -0
- package/dist/arrow-geometry/geoarrow-union-kind.d.ts +5 -0
- package/dist/arrow-geometry/geoarrow-union-kind.d.ts.map +1 -0
- package/dist/arrow-geometry/geoarrow-union-kind.js +42 -0
- package/dist/arrow-geometry/geoarrow-union-kind.js.map +1 -0
- package/dist/arrow-geometry/geojson-table.cjs +135 -0
- package/dist/arrow-geometry/geojson-table.cjs.map +7 -0
- package/dist/arrow-geometry/geojson-table.d.ts +11 -0
- package/dist/arrow-geometry/geojson-table.d.ts.map +1 -0
- package/dist/arrow-geometry/geojson-table.js +122 -0
- package/dist/arrow-geometry/geojson-table.js.map +1 -0
- package/dist/arrow-geometry/geometry-codecs.cjs +139 -0
- package/dist/arrow-geometry/geometry-codecs.cjs.map +7 -0
- package/dist/arrow-geometry/geometry-codecs.d.ts +31 -0
- package/dist/arrow-geometry/geometry-codecs.d.ts.map +1 -0
- package/dist/arrow-geometry/geometry-codecs.js +130 -0
- package/dist/arrow-geometry/geometry-codecs.js.map +1 -0
- package/dist/arrow-geometry/geometry-field.cjs +229 -0
- package/dist/arrow-geometry/geometry-field.cjs.map +7 -0
- package/dist/arrow-geometry/geometry-field.d.ts +116 -0
- package/dist/arrow-geometry/geometry-field.d.ts.map +1 -0
- package/dist/arrow-geometry/geometry-field.js +251 -0
- package/dist/arrow-geometry/geometry-field.js.map +1 -0
- package/dist/arrow-geometry/geometry-to-wkt.cjs +96 -0
- package/dist/arrow-geometry/geometry-to-wkt.cjs.map +7 -0
- package/dist/arrow-geometry/geometry-to-wkt.d.ts +13 -0
- package/dist/arrow-geometry/geometry-to-wkt.d.ts.map +1 -0
- package/dist/arrow-geometry/geometry-to-wkt.js +102 -0
- package/dist/arrow-geometry/geometry-to-wkt.js.map +1 -0
- package/dist/arrow-geometry/geometry-utils.cjs +46 -0
- package/dist/arrow-geometry/geometry-utils.cjs.map +7 -0
- package/dist/arrow-geometry/geometry-utils.d.ts +4 -0
- package/dist/arrow-geometry/geometry-utils.d.ts.map +1 -0
- package/dist/arrow-geometry/geometry-utils.js +25 -0
- package/dist/arrow-geometry/geometry-utils.js.map +1 -0
- package/dist/arrow-geometry/index.cjs +48 -0
- package/dist/arrow-geometry/index.cjs.map +7 -0
- package/dist/arrow-geometry/index.d.ts +5 -0
- package/dist/arrow-geometry/index.d.ts.map +1 -0
- package/dist/arrow-geometry/index.js +8 -0
- package/dist/arrow-geometry/index.js.map +1 -0
- package/dist/arrow-geometry/legacy-binary/convert-flat-geojson-to-binary-features.cjs +319 -0
- package/dist/arrow-geometry/legacy-binary/convert-flat-geojson-to-binary-features.cjs.map +7 -0
- package/dist/arrow-geometry/legacy-binary/convert-flat-geojson-to-binary-features.d.ts +38 -0
- package/dist/arrow-geometry/legacy-binary/convert-flat-geojson-to-binary-features.d.ts.map +1 -0
- package/dist/arrow-geometry/legacy-binary/convert-flat-geojson-to-binary-features.js +382 -0
- package/dist/arrow-geometry/legacy-binary/convert-flat-geojson-to-binary-features.js.map +1 -0
- package/dist/arrow-geometry/legacy-binary/convert-geojson-to-binary-features.cjs +44 -0
- package/dist/arrow-geometry/legacy-binary/convert-geojson-to-binary-features.cjs.map +7 -0
- package/dist/arrow-geometry/legacy-binary/convert-geojson-to-binary-features.d.ts +23 -0
- package/dist/arrow-geometry/legacy-binary/convert-geojson-to-binary-features.d.ts.map +1 -0
- package/dist/arrow-geometry/legacy-binary/convert-geojson-to-binary-features.js +25 -0
- package/dist/arrow-geometry/legacy-binary/convert-geojson-to-binary-features.js.map +1 -0
- package/dist/arrow-geometry/legacy-binary/convert-geojson-to-flat-geojson.cjs +112 -0
- package/dist/arrow-geometry/legacy-binary/convert-geojson-to-flat-geojson.cjs.map +7 -0
- package/dist/arrow-geometry/legacy-binary/convert-geojson-to-flat-geojson.d.ts +19 -0
- package/dist/arrow-geometry/legacy-binary/convert-geojson-to-flat-geojson.d.ts.map +1 -0
- package/dist/arrow-geometry/legacy-binary/convert-geojson-to-flat-geojson.js +128 -0
- package/dist/arrow-geometry/legacy-binary/convert-geojson-to-flat-geojson.js.map +1 -0
- package/dist/arrow-geometry/legacy-binary/flat-geojson-to-binary-types.cjs +19 -0
- package/dist/arrow-geometry/legacy-binary/flat-geojson-to-binary-types.cjs.map +7 -0
- package/dist/arrow-geometry/legacy-binary/flat-geojson-to-binary-types.d.ts +58 -0
- package/dist/arrow-geometry/legacy-binary/flat-geojson-to-binary-types.d.ts.map +1 -0
- package/dist/arrow-geometry/legacy-binary/flat-geojson-to-binary-types.js +5 -0
- package/dist/arrow-geometry/legacy-binary/flat-geojson-to-binary-types.js.map +1 -0
- package/dist/arrow-geometry/legacy-binary/geometry-info.cjs +113 -0
- package/dist/arrow-geometry/legacy-binary/geometry-info.cjs.map +7 -0
- package/dist/arrow-geometry/legacy-binary/geometry-info.d.ts +31 -0
- package/dist/arrow-geometry/legacy-binary/geometry-info.d.ts.map +1 -0
- package/dist/arrow-geometry/legacy-binary/geometry-info.js +96 -0
- package/dist/arrow-geometry/legacy-binary/geometry-info.js.map +1 -0
- package/dist/arrow-geometry/legacy-binary/transform-coordinates.cjs +69 -0
- package/dist/arrow-geometry/legacy-binary/transform-coordinates.cjs.map +7 -0
- package/dist/arrow-geometry/legacy-binary/transform-coordinates.d.ts +18 -0
- package/dist/arrow-geometry/legacy-binary/transform-coordinates.d.ts.map +1 -0
- package/dist/arrow-geometry/legacy-binary/transform-coordinates.js +57 -0
- package/dist/arrow-geometry/legacy-binary/transform-coordinates.js.map +1 -0
- package/dist/arrow-geometry/legacy-binary.cjs +47 -0
- package/dist/arrow-geometry/legacy-binary.cjs.map +7 -0
- package/dist/arrow-geometry/legacy-binary.d.ts +11 -0
- package/dist/arrow-geometry/legacy-binary.d.ts.map +1 -0
- package/dist/arrow-geometry/legacy-binary.js +14 -0
- package/dist/arrow-geometry/legacy-binary.js.map +1 -0
- package/dist/arrow-geometry/native-geometry.cjs +215 -0
- package/dist/arrow-geometry/native-geometry.cjs.map +7 -0
- package/dist/arrow-geometry/native-geometry.d.ts +41 -0
- package/dist/arrow-geometry/native-geometry.d.ts.map +1 -0
- package/dist/arrow-geometry/native-geometry.js +224 -0
- package/dist/arrow-geometry/native-geometry.js.map +1 -0
- package/dist/arrow-geometry/sampled-bounds.cjs +52 -0
- package/dist/arrow-geometry/sampled-bounds.cjs.map +7 -0
- package/dist/arrow-geometry/sampled-bounds.d.ts +11 -0
- package/dist/arrow-geometry/sampled-bounds.d.ts.map +1 -0
- package/dist/arrow-geometry/sampled-bounds.js +35 -0
- package/dist/arrow-geometry/sampled-bounds.js.map +1 -0
- package/dist/arrow-geometry/triangulate-wkb.cjs +722 -0
- package/dist/arrow-geometry/triangulate-wkb.cjs.map +7 -0
- package/dist/arrow-geometry/triangulate-wkb.d.ts +7 -0
- package/dist/arrow-geometry/triangulate-wkb.d.ts.map +1 -0
- package/dist/arrow-geometry/triangulate-wkb.js +938 -0
- package/dist/arrow-geometry/triangulate-wkb.js.map +1 -0
- package/dist/arrow-geometry/wkb-arrow-utils.cjs +142 -0
- package/dist/arrow-geometry/wkb-arrow-utils.cjs.map +7 -0
- package/dist/arrow-geometry/wkb-arrow-utils.d.ts +63 -0
- package/dist/arrow-geometry/wkb-arrow-utils.d.ts.map +1 -0
- package/dist/arrow-geometry/wkb-arrow-utils.js +129 -0
- package/dist/arrow-geometry/wkb-arrow-utils.js.map +1 -0
- package/dist/arrow-geometry/wkb-builder.cjs +167 -0
- package/dist/arrow-geometry/wkb-builder.cjs.map +7 -0
- package/dist/arrow-geometry/wkb-builder.d.ts +81 -0
- package/dist/arrow-geometry/wkb-builder.d.ts.map +1 -0
- package/dist/arrow-geometry/wkb-builder.js +156 -0
- package/dist/arrow-geometry/wkb-builder.js.map +1 -0
- package/dist/arrow-geometry/wkb-statistics.cjs +52 -0
- package/dist/arrow-geometry/wkb-statistics.cjs.map +7 -0
- package/dist/arrow-geometry/wkb-statistics.d.ts +34 -0
- package/dist/arrow-geometry/wkb-statistics.d.ts.map +1 -0
- package/dist/arrow-geometry/wkb-statistics.js +33 -0
- package/dist/arrow-geometry/wkb-statistics.js.map +1 -0
- package/dist/arrow-geometry/wkb-table.cjs +65 -0
- package/dist/arrow-geometry/wkb-table.cjs.map +7 -0
- package/dist/arrow-geometry/wkb-table.d.ts +6 -0
- package/dist/arrow-geometry/wkb-table.d.ts.map +1 -0
- package/dist/arrow-geometry/wkb-table.js +44 -0
- package/dist/arrow-geometry/wkb-table.js.map +1 -0
- package/dist/arrow-geometry/wkb-types.cjs +49 -0
- package/dist/arrow-geometry/wkb-types.cjs.map +7 -0
- package/dist/arrow-geometry/wkb-types.d.ts +17 -0
- package/dist/arrow-geometry/wkb-types.d.ts.map +1 -0
- package/dist/arrow-geometry/wkb-types.js +21 -0
- package/dist/arrow-geometry/wkb-types.js.map +1 -0
- package/dist/cluster-source.cjs +7228 -0
- package/dist/cluster-source.cjs.map +6 -0
- package/dist/cluster-source.d.ts +2 -0
- package/dist/cluster-source.d.ts.map +1 -0
- package/dist/cluster-source.js +2 -0
- package/dist/cluster-source.js.map +1 -0
- package/dist/constants/index.cjs +39 -0
- package/dist/constants/index.cjs.map +6 -0
- package/dist/constants/index.d.ts +17 -0
- package/dist/constants/index.d.ts.map +1 -0
- package/dist/constants/index.js +20 -0
- package/dist/constants/index.js.map +1 -0
- package/dist/dist.dev.js +1382 -451
- package/dist/dist.min.js +3 -3
- package/dist/federated-table-scan-source.cjs +2677 -0
- package/dist/federated-table-scan-source.cjs.map +6 -0
- package/dist/federated-table-scan-source.d.ts +2 -0
- package/dist/federated-table-scan-source.d.ts.map +1 -0
- package/dist/federated-table-scan-source.js +2 -0
- package/dist/federated-table-scan-source.js.map +1 -0
- package/dist/geoarrow/binary-polygon-to-geoarrow.cjs +97 -0
- package/dist/geoarrow/binary-polygon-to-geoarrow.cjs.map +7 -0
- package/dist/geoarrow/binary-polygon-to-geoarrow.d.ts +22 -0
- package/dist/geoarrow/binary-polygon-to-geoarrow.d.ts.map +1 -0
- package/dist/geoarrow/binary-polygon-to-geoarrow.js +94 -0
- package/dist/geoarrow/binary-polygon-to-geoarrow.js.map +1 -0
- package/dist/geoarrow/clustering/cluster-index.cjs +365 -0
- package/dist/geoarrow/clustering/cluster-index.cjs.map +7 -0
- package/dist/geoarrow/clustering/cluster-index.d.ts +96 -0
- package/dist/geoarrow/clustering/cluster-index.d.ts.map +1 -0
- package/dist/geoarrow/clustering/cluster-index.js +374 -0
- package/dist/geoarrow/clustering/cluster-index.js.map +1 -0
- package/dist/geoarrow/clustering/cluster-source.cjs +206 -0
- package/dist/geoarrow/clustering/cluster-source.cjs.map +7 -0
- package/dist/geoarrow/clustering/cluster-source.d.ts +64 -0
- package/dist/geoarrow/clustering/cluster-source.d.ts.map +1 -0
- package/dist/geoarrow/clustering/cluster-source.js +200 -0
- package/dist/geoarrow/clustering/cluster-source.js.map +1 -0
- package/dist/geoarrow/clustering/get-representative-point.cjs +176 -0
- package/dist/geoarrow/clustering/get-representative-point.cjs.map +7 -0
- package/dist/geoarrow/clustering/get-representative-point.d.ts +14 -0
- package/dist/geoarrow/clustering/get-representative-point.d.ts.map +1 -0
- package/dist/geoarrow/clustering/get-representative-point.js +172 -0
- package/dist/geoarrow/clustering/get-representative-point.js.map +1 -0
- package/dist/geoarrow/compatibility.cjs +94 -0
- package/dist/geoarrow/compatibility.cjs.map +7 -0
- package/dist/geoarrow/compatibility.d.ts +19 -0
- package/dist/geoarrow/compatibility.d.ts.map +1 -0
- package/dist/geoarrow/compatibility.js +17 -0
- package/dist/geoarrow/compatibility.js.map +1 -0
- package/dist/geoarrow/convert-table-to-geoarrow.cjs +184 -0
- package/dist/geoarrow/convert-table-to-geoarrow.cjs.map +7 -0
- package/dist/geoarrow/convert-table-to-geoarrow.d.ts +36 -0
- package/dist/geoarrow/convert-table-to-geoarrow.d.ts.map +1 -0
- package/dist/geoarrow/convert-table-to-geoarrow.js +177 -0
- package/dist/geoarrow/convert-table-to-geoarrow.js.map +1 -0
- package/dist/geoarrow/deprecated.cjs +68 -0
- package/dist/geoarrow/deprecated.cjs.map +7 -0
- package/dist/geoarrow/deprecated.d.ts +34 -0
- package/dist/geoarrow/deprecated.d.ts.map +1 -0
- package/dist/geoarrow/deprecated.js +37 -0
- package/dist/geoarrow/deprecated.js.map +1 -0
- package/dist/geoarrow/geo-column/geo-column-info.cjs +19 -0
- package/dist/geoarrow/geo-column/geo-column-info.cjs.map +7 -0
- package/dist/geoarrow/geo-column/geo-column-info.d.ts +20 -0
- package/dist/geoarrow/geo-column/geo-column-info.d.ts.map +1 -0
- package/dist/geoarrow/geo-column/geo-column-info.js +75 -0
- package/dist/geoarrow/geo-column/geo-column-info.js.map +1 -0
- package/dist/geoarrow/geo-column/geo-column.cjs +19 -0
- package/dist/geoarrow/geo-column/geo-column.cjs.map +7 -0
- package/dist/geoarrow/geo-column/geo-column.d.ts +61 -0
- package/dist/geoarrow/geo-column/geo-column.d.ts.map +1 -0
- package/dist/geoarrow/geo-column/geo-column.js +5 -0
- package/dist/geoarrow/geo-column/geo-column.js.map +1 -0
- package/dist/geoarrow/geoarrow-bounds.cjs +133 -0
- package/dist/geoarrow/geoarrow-bounds.cjs.map +7 -0
- package/dist/geoarrow/geoarrow-bounds.d.ts +27 -0
- package/dist/geoarrow/geoarrow-bounds.d.ts.map +1 -0
- package/dist/geoarrow/geoarrow-bounds.js +136 -0
- package/dist/geoarrow/geoarrow-bounds.js.map +1 -0
- package/dist/geoarrow/geoarrow-builder.cjs +31 -0
- package/dist/geoarrow/geoarrow-builder.cjs.map +7 -0
- package/dist/geoarrow/geoarrow-builder.d.ts +3 -0
- package/dist/geoarrow/geoarrow-builder.d.ts.map +1 -0
- package/dist/geoarrow/geoarrow-builder.js +5 -0
- package/dist/geoarrow/geoarrow-builder.js.map +1 -0
- package/dist/geoarrow/geoarrow-capabilities.cjs +443 -0
- package/dist/geoarrow/geoarrow-capabilities.cjs.map +7 -0
- package/dist/geoarrow/geoarrow-capabilities.d.ts +62 -0
- package/dist/geoarrow/geoarrow-capabilities.d.ts.map +1 -0
- package/dist/geoarrow/geoarrow-capabilities.js +444 -0
- package/dist/geoarrow/geoarrow-capabilities.js.map +1 -0
- package/dist/geoarrow/geoarrow-conformance.cjs +151 -0
- package/dist/geoarrow/geoarrow-conformance.cjs.map +7 -0
- package/dist/geoarrow/geoarrow-conformance.d.ts +49 -0
- package/dist/geoarrow/geoarrow-conformance.d.ts.map +1 -0
- package/dist/geoarrow/geoarrow-conformance.js +129 -0
- package/dist/geoarrow/geoarrow-conformance.js.map +1 -0
- package/dist/geoarrow/geoarrow-converter/convert-geoarrow-geometry.cjs +1364 -0
- package/dist/geoarrow/geoarrow-converter/convert-geoarrow-geometry.cjs.map +7 -0
- package/dist/geoarrow/geoarrow-converter/convert-geoarrow-geometry.d.ts +66 -0
- package/dist/geoarrow/geoarrow-converter/convert-geoarrow-geometry.d.ts.map +1 -0
- package/dist/geoarrow/geoarrow-converter/convert-geoarrow-geometry.js +1481 -0
- package/dist/geoarrow/geoarrow-converter/convert-geoarrow-geometry.js.map +1 -0
- package/dist/geoarrow/geoarrow-converter/convert-geoarrow.cjs +56 -0
- package/dist/geoarrow/geoarrow-converter/convert-geoarrow.cjs.map +7 -0
- package/dist/geoarrow/geoarrow-converter/convert-geoarrow.d.ts +17 -0
- package/dist/geoarrow/geoarrow-converter/convert-geoarrow.d.ts.map +1 -0
- package/dist/geoarrow/geoarrow-converter/convert-geoarrow.js +38 -0
- package/dist/geoarrow/geoarrow-converter/convert-geoarrow.js.map +1 -0
- package/dist/geoarrow/geoarrow-converter/geoarrow-converter.cjs +93 -0
- package/dist/geoarrow/geoarrow-converter/geoarrow-converter.cjs.map +7 -0
- package/dist/geoarrow/geoarrow-converter/geoarrow-converter.d.ts +24 -0
- package/dist/geoarrow/geoarrow-converter/geoarrow-converter.d.ts.map +1 -0
- package/dist/geoarrow/geoarrow-converter/geoarrow-converter.js +68 -0
- package/dist/geoarrow/geoarrow-converter/geoarrow-converter.js.map +1 -0
- package/dist/geoarrow/geoarrow-converter/geoarrow-geometry-converter.cjs +71 -0
- package/dist/geoarrow/geoarrow-converter/geoarrow-geometry-converter.cjs.map +7 -0
- package/dist/geoarrow/geoarrow-converter/geoarrow-geometry-converter.d.ts +20 -0
- package/dist/geoarrow/geoarrow-converter/geoarrow-geometry-converter.d.ts.map +1 -0
- package/dist/geoarrow/geoarrow-converter/geoarrow-geometry-converter.js +47 -0
- package/dist/geoarrow/geoarrow-converter/geoarrow-geometry-converter.js.map +1 -0
- package/dist/geoarrow/geoarrow-functions.cjs +148 -0
- package/dist/geoarrow/geoarrow-functions.cjs.map +7 -0
- package/dist/geoarrow/geoarrow-functions.d.ts +127 -0
- package/dist/geoarrow/geoarrow-functions.d.ts.map +1 -0
- package/dist/geoarrow/geoarrow-functions.js +240 -0
- package/dist/geoarrow/geoarrow-functions.js.map +1 -0
- package/dist/geoarrow/geoarrow-inspection.cjs +238 -0
- package/dist/geoarrow/geoarrow-inspection.cjs.map +7 -0
- package/dist/geoarrow/geoarrow-inspection.d.ts +28 -0
- package/dist/geoarrow/geoarrow-inspection.d.ts.map +1 -0
- package/dist/geoarrow/geoarrow-inspection.js +249 -0
- package/dist/geoarrow/geoarrow-inspection.js.map +1 -0
- package/dist/geoarrow/geoarrow-layout.cjs +558 -0
- package/dist/geoarrow/geoarrow-layout.cjs.map +7 -0
- package/dist/geoarrow/geoarrow-layout.d.ts +95 -0
- package/dist/geoarrow/geoarrow-layout.d.ts.map +1 -0
- package/dist/geoarrow/geoarrow-layout.js +605 -0
- package/dist/geoarrow/geoarrow-layout.js.map +1 -0
- package/dist/geoarrow/geoarrow-resource-limits.cjs +78 -0
- package/dist/geoarrow/geoarrow-resource-limits.cjs.map +7 -0
- package/dist/geoarrow/geoarrow-resource-limits.d.ts +23 -0
- package/dist/geoarrow/geoarrow-resource-limits.d.ts.map +1 -0
- package/dist/geoarrow/geoarrow-resource-limits.js +70 -0
- package/dist/geoarrow/geoarrow-resource-limits.js.map +1 -0
- package/dist/geoarrow/geoarrow-spatial-index.cjs +199 -0
- package/dist/geoarrow/geoarrow-spatial-index.cjs.map +7 -0
- package/dist/geoarrow/geoarrow-spatial-index.d.ts +51 -0
- package/dist/geoarrow/geoarrow-spatial-index.d.ts.map +1 -0
- package/dist/geoarrow/geoarrow-spatial-index.js +194 -0
- package/dist/geoarrow/geoarrow-spatial-index.js.map +1 -0
- package/dist/geoarrow/geoarrow-stream.cjs +274 -0
- package/dist/geoarrow/geoarrow-stream.cjs.map +7 -0
- package/dist/geoarrow/geoarrow-stream.d.ts +22 -0
- package/dist/geoarrow/geoarrow-stream.d.ts.map +1 -0
- package/dist/geoarrow/geoarrow-stream.js +259 -0
- package/dist/geoarrow/geoarrow-stream.js.map +1 -0
- package/dist/geoarrow/geoarrow-types.cjs +19 -0
- package/dist/geoarrow/geoarrow-types.cjs.map +7 -0
- package/dist/geoarrow/geoarrow-types.d.ts +50 -0
- package/dist/geoarrow/geoarrow-types.d.ts.map +1 -0
- package/dist/geoarrow/geoarrow-types.js +5 -0
- package/dist/geoarrow/geoarrow-types.js.map +1 -0
- package/dist/geoarrow/get-geoarrow-geometry-info.cjs +110 -0
- package/dist/geoarrow/get-geoarrow-geometry-info.cjs.map +7 -0
- package/dist/geoarrow/get-geoarrow-geometry-info.d.ts +37 -0
- package/dist/geoarrow/get-geoarrow-geometry-info.d.ts.map +1 -0
- package/dist/geoarrow/get-geoarrow-geometry-info.js +114 -0
- package/dist/geoarrow/get-geoarrow-geometry-info.js.map +1 -0
- package/dist/geoarrow/get-geoarrow-native-geometry.cjs +31 -0
- package/dist/geoarrow/get-geoarrow-native-geometry.cjs.map +7 -0
- package/dist/geoarrow/get-geoarrow-native-geometry.d.ts +2 -0
- package/dist/geoarrow/get-geoarrow-native-geometry.d.ts.map +1 -0
- package/dist/geoarrow/get-geoarrow-native-geometry.js +5 -0
- package/dist/geoarrow/get-geoarrow-native-geometry.js.map +1 -0
- package/dist/geoarrow/get-geoarrow-vertex-count.cjs +177 -0
- package/dist/geoarrow/get-geoarrow-vertex-count.cjs.map +7 -0
- package/dist/geoarrow/get-geoarrow-vertex-count.d.ts +18 -0
- package/dist/geoarrow/get-geoarrow-vertex-count.d.ts.map +1 -0
- package/dist/geoarrow/get-geoarrow-vertex-count.js +181 -0
- package/dist/geoarrow/get-geoarrow-vertex-count.js.map +1 -0
- package/dist/geoarrow/index.cjs +252 -0
- package/dist/geoarrow/index.cjs.map +7 -0
- package/dist/geoarrow/index.d.ts +58 -0
- package/dist/geoarrow/index.d.ts.map +1 -0
- package/dist/geoarrow/index.js +40 -0
- package/dist/geoarrow/index.js.map +1 -0
- package/dist/geoarrow/lib/arrow-geoarrow-adapter.cjs +39 -0
- package/dist/geoarrow/lib/arrow-geoarrow-adapter.cjs.map +7 -0
- package/dist/geoarrow/lib/arrow-geoarrow-adapter.d.ts +2 -0
- package/dist/geoarrow/lib/arrow-geoarrow-adapter.d.ts.map +1 -0
- package/dist/geoarrow/lib/arrow-geoarrow-adapter.js +5 -0
- package/dist/geoarrow/lib/arrow-geoarrow-adapter.js.map +1 -0
- package/dist/geoarrow/lib/binary-geometry-api/binary-geometry-info.cjs +67 -0
- package/dist/geoarrow/lib/binary-geometry-api/binary-geometry-info.cjs.map +7 -0
- package/dist/geoarrow/lib/binary-geometry-api/binary-geometry-info.d.ts +21 -0
- package/dist/geoarrow/lib/binary-geometry-api/binary-geometry-info.d.ts.map +1 -0
- package/dist/geoarrow/lib/binary-geometry-api/binary-geometry-info.js +49 -0
- package/dist/geoarrow/lib/binary-geometry-api/binary-geometry-info.js.map +1 -0
- package/dist/geoarrow/lib/feature-collection-converters/convert-arrow-binary-feature-collection.cjs +450 -0
- package/dist/geoarrow/lib/feature-collection-converters/convert-arrow-binary-feature-collection.cjs.map +7 -0
- package/dist/geoarrow/lib/feature-collection-converters/convert-arrow-binary-feature-collection.d.ts +21 -0
- package/dist/geoarrow/lib/feature-collection-converters/convert-arrow-binary-feature-collection.d.ts.map +1 -0
- package/dist/geoarrow/lib/feature-collection-converters/convert-arrow-binary-feature-collection.js +405 -0
- package/dist/geoarrow/lib/feature-collection-converters/convert-arrow-binary-feature-collection.js.map +1 -0
- package/dist/geoarrow/lib/feature-collection-converters/convert-binary-features-to-geojson.cjs +117 -0
- package/dist/geoarrow/lib/feature-collection-converters/convert-binary-features-to-geojson.cjs.map +7 -0
- package/dist/geoarrow/lib/feature-collection-converters/convert-binary-features-to-geojson.d.ts +16 -0
- package/dist/geoarrow/lib/feature-collection-converters/convert-binary-features-to-geojson.d.ts.map +1 -0
- package/dist/geoarrow/lib/feature-collection-converters/convert-binary-features-to-geojson.js +116 -0
- package/dist/geoarrow/lib/feature-collection-converters/convert-binary-features-to-geojson.js.map +1 -0
- package/dist/geoarrow/lib/feature-collection-converters/convert-geometry-column-to-binary-feature-collection.cjs +1127 -0
- package/dist/geoarrow/lib/feature-collection-converters/convert-geometry-column-to-binary-feature-collection.cjs.map +7 -0
- package/dist/geoarrow/lib/feature-collection-converters/convert-geometry-column-to-binary-feature-collection.d.ts +86 -0
- package/dist/geoarrow/lib/feature-collection-converters/convert-geometry-column-to-binary-feature-collection.d.ts.map +1 -0
- package/dist/geoarrow/lib/feature-collection-converters/convert-geometry-column-to-binary-feature-collection.js +882 -0
- package/dist/geoarrow/lib/feature-collection-converters/convert-geometry-column-to-binary-feature-collection.js.map +1 -0
- package/dist/geoarrow/lib/feature-collection-converters/feature-collection-converter/convert-feature-collection.cjs +156 -0
- package/dist/geoarrow/lib/feature-collection-converters/feature-collection-converter/convert-feature-collection.cjs.map +7 -0
- package/dist/geoarrow/lib/feature-collection-converters/feature-collection-converter/convert-feature-collection.d.ts +26 -0
- package/dist/geoarrow/lib/feature-collection-converters/feature-collection-converter/convert-feature-collection.d.ts.map +1 -0
- package/dist/geoarrow/lib/feature-collection-converters/feature-collection-converter/convert-feature-collection.js +119 -0
- package/dist/geoarrow/lib/feature-collection-converters/feature-collection-converter/convert-feature-collection.js.map +1 -0
- package/dist/geoarrow/lib/feature-collection-converters/feature-collection-converter/feature-collection-converter.cjs +74 -0
- package/dist/geoarrow/lib/feature-collection-converters/feature-collection-converter/feature-collection-converter.cjs.map +7 -0
- package/dist/geoarrow/lib/feature-collection-converters/feature-collection-converter/feature-collection-converter.d.ts +32 -0
- package/dist/geoarrow/lib/feature-collection-converters/feature-collection-converter/feature-collection-converter.d.ts.map +1 -0
- package/dist/geoarrow/lib/feature-collection-converters/feature-collection-converter/feature-collection-converter.js +53 -0
- package/dist/geoarrow/lib/feature-collection-converters/feature-collection-converter/feature-collection-converter.js.map +1 -0
- package/dist/geoarrow/lib/geoarrow/geoarrow-union-kind.cjs +31 -0
- package/dist/geoarrow/lib/geoarrow/geoarrow-union-kind.cjs.map +7 -0
- package/dist/geoarrow/lib/geoarrow/geoarrow-union-kind.d.ts +2 -0
- package/dist/geoarrow/lib/geoarrow/geoarrow-union-kind.d.ts.map +1 -0
- package/dist/geoarrow/lib/geoarrow/geoarrow-union-kind.js +2 -0
- package/dist/geoarrow/lib/geoarrow/geoarrow-union-kind.js.map +1 -0
- package/dist/geoarrow/lib/geometry-converters/convert-binary-geometry-to-geojson.cjs +115 -0
- package/dist/geoarrow/lib/geometry-converters/convert-binary-geometry-to-geojson.cjs.map +7 -0
- package/dist/geoarrow/lib/geometry-converters/convert-binary-geometry-to-geojson.d.ts +4 -0
- package/dist/geoarrow/lib/geometry-converters/convert-binary-geometry-to-geojson.d.ts.map +1 -0
- package/dist/geoarrow/lib/geometry-converters/convert-binary-geometry-to-geojson.js +102 -0
- package/dist/geoarrow/lib/geometry-converters/convert-binary-geometry-to-geojson.js.map +1 -0
- package/dist/geoarrow/lib/geometry-converters/convert-geoarrow-to-geojson.cjs +158 -0
- package/dist/geoarrow/lib/geometry-converters/convert-geoarrow-to-geojson.cjs.map +7 -0
- package/dist/geoarrow/lib/geometry-converters/convert-geoarrow-to-geojson.d.ts +7 -0
- package/dist/geoarrow/lib/geometry-converters/convert-geoarrow-to-geojson.d.ts.map +1 -0
- package/dist/geoarrow/lib/geometry-converters/convert-geoarrow-to-geojson.js +139 -0
- package/dist/geoarrow/lib/geometry-converters/convert-geoarrow-to-geojson.js.map +1 -0
- package/dist/geoarrow/lib/geometry-converters/geometry-converter/geometry-converter.cjs +126 -0
- package/dist/geoarrow/lib/geometry-converters/geometry-converter/geometry-converter.cjs.map +7 -0
- package/dist/geoarrow/lib/geometry-converters/geometry-converter/geometry-converter.d.ts +10 -0
- package/dist/geoarrow/lib/geometry-converters/geometry-converter/geometry-converter.d.ts.map +1 -0
- package/dist/geoarrow/lib/geometry-converters/geometry-converter/geometry-converter.js +123 -0
- package/dist/geoarrow/lib/geometry-converters/geometry-converter/geometry-converter.js.map +1 -0
- package/dist/geoarrow/lib/geometry-converters/wkb/convert-wkb-to-binary-geometry.cjs +94 -0
- package/dist/geoarrow/lib/geometry-converters/wkb/convert-wkb-to-binary-geometry.cjs.map +7 -0
- package/dist/geoarrow/lib/geometry-converters/wkb/convert-wkb-to-binary-geometry.d.ts +8 -0
- package/dist/geoarrow/lib/geometry-converters/wkb/convert-wkb-to-binary-geometry.d.ts.map +1 -0
- package/dist/geoarrow/lib/geometry-converters/wkb/convert-wkb-to-binary-geometry.js +82 -0
- package/dist/geoarrow/lib/geometry-converters/wkb/convert-wkb-to-binary-geometry.js.map +1 -0
- package/dist/geoarrow/lib/geometry-converters/wkb/helpers/parse-wkb-header.cjs +109 -0
- package/dist/geoarrow/lib/geometry-converters/wkb/helpers/parse-wkb-header.cjs.map +7 -0
- package/dist/geoarrow/lib/geometry-converters/wkb/helpers/parse-wkb-header.d.ts +37 -0
- package/dist/geoarrow/lib/geometry-converters/wkb/helpers/parse-wkb-header.d.ts.map +1 -0
- package/dist/geoarrow/lib/geometry-converters/wkb/helpers/parse-wkb-header.js +103 -0
- package/dist/geoarrow/lib/geometry-converters/wkb/helpers/parse-wkb-header.js.map +1 -0
- package/dist/geoarrow/lib/geometry-converters/wkb/helpers/wkb-types.cjs +67 -0
- package/dist/geoarrow/lib/geometry-converters/wkb/helpers/wkb-types.cjs.map +7 -0
- package/dist/geoarrow/lib/geometry-converters/wkb/helpers/wkb-types.d.ts +64 -0
- package/dist/geoarrow/lib/geometry-converters/wkb/helpers/wkb-types.d.ts.map +1 -0
- package/dist/geoarrow/lib/geometry-converters/wkb/helpers/wkb-types.js +47 -0
- package/dist/geoarrow/lib/geometry-converters/wkb/helpers/wkb-types.js.map +1 -0
- package/dist/geoarrow/lib/geometry-predicates.cjs +133 -0
- package/dist/geoarrow/lib/geometry-predicates.cjs.map +7 -0
- package/dist/geoarrow/lib/geometry-predicates.d.ts +7 -0
- package/dist/geoarrow/lib/geometry-predicates.d.ts.map +1 -0
- package/dist/geoarrow/lib/geometry-predicates.js +138 -0
- package/dist/geoarrow/lib/geometry-predicates.js.map +1 -0
- package/dist/geoarrow/lib/kernels/decode-wkt-native.cjs +589 -0
- package/dist/geoarrow/lib/kernels/decode-wkt-native.cjs.map +7 -0
- package/dist/geoarrow/lib/kernels/decode-wkt-native.d.ts +48 -0
- package/dist/geoarrow/lib/kernels/decode-wkt-native.d.ts.map +1 -0
- package/dist/geoarrow/lib/kernels/decode-wkt-native.js +618 -0
- package/dist/geoarrow/lib/kernels/decode-wkt-native.js.map +1 -0
- package/dist/geoarrow/lib/kernels/encode-geoarrow-box.cjs +255 -0
- package/dist/geoarrow/lib/kernels/encode-geoarrow-box.cjs.map +7 -0
- package/dist/geoarrow/lib/kernels/encode-geoarrow-box.d.ts +12 -0
- package/dist/geoarrow/lib/kernels/encode-geoarrow-box.d.ts.map +1 -0
- package/dist/geoarrow/lib/kernels/encode-geoarrow-box.js +257 -0
- package/dist/geoarrow/lib/kernels/encode-geoarrow-box.js.map +1 -0
- package/dist/geoarrow/lib/kernels/encode-geoarrow-wkt.cjs +290 -0
- package/dist/geoarrow/lib/kernels/encode-geoarrow-wkt.cjs.map +7 -0
- package/dist/geoarrow/lib/kernels/encode-geoarrow-wkt.d.ts +16 -0
- package/dist/geoarrow/lib/kernels/encode-geoarrow-wkt.d.ts.map +1 -0
- package/dist/geoarrow/lib/kernels/encode-geoarrow-wkt.js +334 -0
- package/dist/geoarrow/lib/kernels/encode-geoarrow-wkt.js.map +1 -0
- package/dist/geoarrow/lib/kernels/geoarrow-union.cjs +102 -0
- package/dist/geoarrow/lib/kernels/geoarrow-union.cjs.map +7 -0
- package/dist/geoarrow/lib/kernels/geoarrow-union.d.ts +8 -0
- package/dist/geoarrow/lib/kernels/geoarrow-union.d.ts.map +1 -0
- package/dist/geoarrow/lib/kernels/geoarrow-union.js +90 -0
- package/dist/geoarrow/lib/kernels/geoarrow-union.js.map +1 -0
- package/dist/geoarrow/lib/table-converters/convert-geoarrow-table.cjs +98 -0
- package/dist/geoarrow/lib/table-converters/convert-geoarrow-table.cjs.map +7 -0
- package/dist/geoarrow/lib/table-converters/convert-geoarrow-table.d.ts +9 -0
- package/dist/geoarrow/lib/table-converters/convert-geoarrow-table.d.ts.map +1 -0
- package/dist/geoarrow/lib/table-converters/convert-geoarrow-table.js +76 -0
- package/dist/geoarrow/lib/table-converters/convert-geoarrow-table.js.map +1 -0
- package/dist/geoarrow/lib/table-converters/convert-wkb-table-to-geojson.cjs +34 -0
- package/dist/geoarrow/lib/table-converters/convert-wkb-table-to-geojson.cjs.map +7 -0
- package/dist/geoarrow/lib/table-converters/convert-wkb-table-to-geojson.d.ts +6 -0
- package/dist/geoarrow/lib/table-converters/convert-wkb-table-to-geojson.d.ts.map +1 -0
- package/dist/geoarrow/lib/table-converters/convert-wkb-table-to-geojson.js +11 -0
- package/dist/geoarrow/lib/table-converters/convert-wkb-table-to-geojson.js.map +1 -0
- package/dist/geoarrow/map-geoarrow-coordinates.cjs +228 -0
- package/dist/geoarrow/map-geoarrow-coordinates.cjs.map +7 -0
- package/dist/geoarrow/map-geoarrow-coordinates.d.ts +16 -0
- package/dist/geoarrow/map-geoarrow-coordinates.d.ts.map +1 -0
- package/dist/geoarrow/map-geoarrow-coordinates.js +182 -0
- package/dist/geoarrow/map-geoarrow-coordinates.js.map +1 -0
- package/dist/geoarrow/mesharrow/arrow-fixed-size-list-utils.cjs +87 -0
- package/dist/geoarrow/mesharrow/arrow-fixed-size-list-utils.cjs.map +7 -0
- package/dist/geoarrow/mesharrow/arrow-fixed-size-list-utils.d.ts +11 -0
- package/dist/geoarrow/mesharrow/arrow-fixed-size-list-utils.d.ts.map +1 -0
- package/dist/geoarrow/mesharrow/arrow-fixed-size-list-utils.js +40 -0
- package/dist/geoarrow/mesharrow/arrow-fixed-size-list-utils.js.map +1 -0
- package/dist/geoarrow/mesharrow/arrow-list-of-fixed-size-list-utils.cjs +73 -0
- package/dist/geoarrow/mesharrow/arrow-list-of-fixed-size-list-utils.cjs.map +7 -0
- package/dist/geoarrow/mesharrow/arrow-list-of-fixed-size-list-utils.d.ts +11 -0
- package/dist/geoarrow/mesharrow/arrow-list-of-fixed-size-list-utils.d.ts.map +1 -0
- package/dist/geoarrow/mesharrow/arrow-list-of-fixed-size-list-utils.js +32 -0
- package/dist/geoarrow/mesharrow/arrow-list-of-fixed-size-list-utils.js.map +1 -0
- package/dist/geoarrow/mesharrow/get-bounding-box.cjs +49 -0
- package/dist/geoarrow/mesharrow/get-bounding-box.cjs.map +7 -0
- package/dist/geoarrow/mesharrow/get-bounding-box.d.ts +5 -0
- package/dist/geoarrow/mesharrow/get-bounding-box.d.ts.map +1 -0
- package/dist/geoarrow/mesharrow/get-bounding-box.js +32 -0
- package/dist/geoarrow/mesharrow/get-bounding-box.js.map +1 -0
- package/dist/geoarrow/mesharrow/get-deck-binary-data.cjs +74 -0
- package/dist/geoarrow/mesharrow/get-deck-binary-data.cjs.map +7 -0
- package/dist/geoarrow/mesharrow/get-deck-binary-data.d.ts +13 -0
- package/dist/geoarrow/mesharrow/get-deck-binary-data.d.ts.map +1 -0
- package/dist/geoarrow/mesharrow/get-deck-binary-data.js +49 -0
- package/dist/geoarrow/mesharrow/get-deck-binary-data.js.map +1 -0
- package/dist/geoarrow/mesharrow/mesh-accessors.cjs +47 -0
- package/dist/geoarrow/mesharrow/mesh-accessors.cjs.map +7 -0
- package/dist/geoarrow/mesharrow/mesh-accessors.d.ts +8 -0
- package/dist/geoarrow/mesharrow/mesh-accessors.d.ts.map +1 -0
- package/dist/geoarrow/mesharrow/mesh-accessors.js +19 -0
- package/dist/geoarrow/mesharrow/mesh-accessors.js.map +1 -0
- package/dist/geoarrow/metadata/geoarrow-metadata.cjs +93 -0
- package/dist/geoarrow/metadata/geoarrow-metadata.cjs.map +7 -0
- package/dist/geoarrow/metadata/geoarrow-metadata.d.ts +15 -0
- package/dist/geoarrow/metadata/geoarrow-metadata.d.ts.map +1 -0
- package/dist/geoarrow/metadata/geoarrow-metadata.js +82 -0
- package/dist/geoarrow/metadata/geoarrow-metadata.js.map +1 -0
- package/dist/geoarrow/metadata/geoparquet-metadata-schema.cjs +90 -0
- package/dist/geoarrow/metadata/geoparquet-metadata-schema.cjs.map +7 -0
- package/dist/geoarrow/metadata/geoparquet-metadata-schema.d.ts +79 -0
- package/dist/geoarrow/metadata/geoparquet-metadata-schema.d.ts.map +1 -0
- package/dist/geoarrow/metadata/geoparquet-metadata-schema.js +70 -0
- package/dist/geoarrow/metadata/geoparquet-metadata-schema.js.map +1 -0
- package/dist/geoarrow/metadata/geoparquet-metadata.cjs +39 -0
- package/dist/geoarrow/metadata/geoparquet-metadata.cjs.map +7 -0
- package/dist/geoarrow/metadata/geoparquet-metadata.d.ts +3 -0
- package/dist/geoarrow/metadata/geoparquet-metadata.d.ts.map +1 -0
- package/dist/geoarrow/metadata/geoparquet-metadata.js +5 -0
- package/dist/geoarrow/metadata/geoparquet-metadata.js.map +1 -0
- package/dist/geoarrow/metadata/merge-geoarrow-metadata.cjs +244 -0
- package/dist/geoarrow/metadata/merge-geoarrow-metadata.cjs.map +7 -0
- package/dist/geoarrow/metadata/merge-geoarrow-metadata.d.ts +63 -0
- package/dist/geoarrow/metadata/merge-geoarrow-metadata.d.ts.map +1 -0
- package/dist/geoarrow/metadata/merge-geoarrow-metadata.js +243 -0
- package/dist/geoarrow/metadata/merge-geoarrow-metadata.js.map +1 -0
- package/dist/geoarrow/metadata/metadata-utils.cjs +33 -0
- package/dist/geoarrow/metadata/metadata-utils.cjs.map +7 -0
- package/dist/geoarrow/metadata/metadata-utils.d.ts +3 -0
- package/dist/geoarrow/metadata/metadata-utils.d.ts.map +1 -0
- package/dist/geoarrow/metadata/metadata-utils.js +5 -0
- package/dist/geoarrow/metadata/metadata-utils.js.map +1 -0
- package/dist/geoarrow/rewind-geoarrow.cjs +219 -0
- package/dist/geoarrow/rewind-geoarrow.cjs.map +7 -0
- package/dist/geoarrow/rewind-geoarrow.d.ts +23 -0
- package/dist/geoarrow/rewind-geoarrow.d.ts.map +1 -0
- package/dist/geoarrow/rewind-geoarrow.js +204 -0
- package/dist/geoarrow/rewind-geoarrow.js.map +1 -0
- package/dist/index.cjs +339 -1091
- package/dist/index.cjs.map +3 -3
- package/dist/index.d.ts +10 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/iterators/make-iterator/make-iterator.js +1 -1
- package/dist/iterators/make-iterator/make-iterator.js.map +1 -1
- package/dist/iterators/make-iterator/make-stream-iterator.js +1 -1
- package/dist/iterators/make-iterator/make-stream-iterator.js.map +1 -1
- package/dist/iterators/make-iterator/make-string-iterator.js +1 -1
- package/dist/iterators/make-iterator/make-string-iterator.js.map +1 -1
- package/dist/lib/api/core-api.d.ts +1 -1
- package/dist/lib/api/core-api.d.ts.map +1 -1
- package/dist/lib/api/create-data-source.d.ts +1 -1
- package/dist/lib/api/create-data-source.d.ts.map +1 -1
- package/dist/lib/api/create-data-source.js +1 -1
- package/dist/lib/api/create-data-source.js.map +1 -1
- package/dist/lib/api/encode-table.d.ts +2 -2
- package/dist/lib/api/encode-table.d.ts.map +1 -1
- package/dist/lib/api/encode-table.js +1 -1
- package/dist/lib/api/encode-table.js.map +1 -1
- package/dist/lib/api/encode.d.ts +1 -1
- package/dist/lib/api/encode.d.ts.map +1 -1
- package/dist/lib/api/encode.js +2 -2
- package/dist/lib/api/encode.js.map +1 -1
- package/dist/lib/api/load-in-batches.d.ts +1 -1
- package/dist/lib/api/load-in-batches.d.ts.map +1 -1
- package/dist/lib/api/load-in-batches.js +1 -1
- package/dist/lib/api/load-in-batches.js.map +1 -1
- package/dist/lib/api/load-loader.d.ts +3 -1
- package/dist/lib/api/load-loader.d.ts.map +1 -1
- package/dist/lib/api/load-loader.js +112 -0
- package/dist/lib/api/load-loader.js.map +1 -1
- package/dist/lib/api/load.d.ts +1 -1
- package/dist/lib/api/load.d.ts.map +1 -1
- package/dist/lib/api/load.js +1 -1
- package/dist/lib/api/load.js.map +1 -1
- package/dist/lib/api/parse-file.d.ts +1 -1
- package/dist/lib/api/parse-file.d.ts.map +1 -1
- package/dist/lib/api/parse-file.js +4 -2
- package/dist/lib/api/parse-file.js.map +1 -1
- package/dist/lib/api/parse-in-batches.d.ts +1 -1
- package/dist/lib/api/parse-in-batches.d.ts.map +1 -1
- package/dist/lib/api/parse-in-batches.js +44 -7
- package/dist/lib/api/parse-in-batches.js.map +1 -1
- package/dist/lib/api/parse-sync.d.ts +1 -1
- package/dist/lib/api/parse-sync.d.ts.map +1 -1
- package/dist/lib/api/parse-sync.js +1 -1
- package/dist/lib/api/parse-sync.js.map +1 -1
- package/dist/lib/api/parse.d.ts +1 -1
- package/dist/lib/api/parse.d.ts.map +1 -1
- package/dist/lib/api/parse.js +7 -5
- package/dist/lib/api/parse.js.map +1 -1
- package/dist/lib/api/preload.d.ts +6 -3
- package/dist/lib/api/preload.d.ts.map +1 -1
- package/dist/lib/api/preload.js +4 -5
- package/dist/lib/api/preload.js.map +1 -1
- package/dist/lib/api/register-loaders.d.ts +1 -1
- package/dist/lib/api/register-loaders.d.ts.map +1 -1
- package/dist/lib/api/select-loader.d.ts +1 -1
- package/dist/lib/api/select-loader.d.ts.map +1 -1
- package/dist/lib/api/select-loader.js +1 -1
- package/dist/lib/api/select-loader.js.map +1 -1
- package/dist/lib/api/select-source.d.ts +1 -1
- package/dist/lib/api/select-source.d.ts.map +1 -1
- package/dist/lib/common.d.ts +1 -1
- package/dist/lib/common.d.ts.map +1 -1
- package/dist/lib/fetch/fetch-file.js +2 -2
- package/dist/lib/fetch/fetch-file.js.map +1 -1
- package/dist/lib/filesystems/browser-filesystem.d.ts +1 -1
- package/dist/lib/filesystems/browser-filesystem.d.ts.map +1 -1
- package/dist/lib/filesystems/browser-filesystem.js +1 -1
- package/dist/lib/filesystems/browser-filesystem.js.map +1 -1
- package/dist/lib/init.js +2 -2
- package/dist/lib/init.js.map +1 -1
- package/dist/lib/loader-utils/get-data.d.ts +1 -1
- package/dist/lib/loader-utils/get-data.d.ts.map +1 -1
- package/dist/lib/loader-utils/get-data.js +1 -1
- package/dist/lib/loader-utils/get-data.js.map +1 -1
- package/dist/lib/loader-utils/get-fetch-function.d.ts +1 -1
- package/dist/lib/loader-utils/get-fetch-function.d.ts.map +1 -1
- package/dist/lib/loader-utils/get-fetch-function.js +4 -2
- package/dist/lib/loader-utils/get-fetch-function.js.map +1 -1
- package/dist/lib/loader-utils/loader-context.d.ts +1 -1
- package/dist/lib/loader-utils/loader-context.d.ts.map +1 -1
- package/dist/lib/loader-utils/loader-context.js +7 -1
- package/dist/lib/loader-utils/loader-context.js.map +1 -1
- package/dist/lib/loader-utils/loggers.d.ts +1 -1
- package/dist/lib/loader-utils/loggers.d.ts.map +1 -1
- package/dist/lib/loader-utils/loggers.js +1 -1
- package/dist/lib/loader-utils/loggers.js.map +1 -1
- package/dist/lib/loader-utils/normalize-loader.d.ts +1 -1
- package/dist/lib/loader-utils/normalize-loader.d.ts.map +1 -1
- package/dist/lib/loader-utils/normalize-loader.js +1 -1
- package/dist/lib/loader-utils/normalize-loader.js.map +1 -1
- package/dist/lib/loader-utils/option-defaults.d.ts +1 -1
- package/dist/lib/loader-utils/option-defaults.d.ts.map +1 -1
- package/dist/lib/loader-utils/option-defaults.js +3 -1
- package/dist/lib/loader-utils/option-defaults.js.map +1 -1
- package/dist/lib/loader-utils/option-utils.d.ts +1 -1
- package/dist/lib/loader-utils/option-utils.d.ts.map +1 -1
- package/dist/lib/loader-utils/option-utils.js +2 -2
- package/dist/lib/loader-utils/option-utils.js.map +1 -1
- package/dist/lib/utils/resource-utils.js +1 -1
- package/dist/lib/utils/resource-utils.js.map +1 -1
- package/dist/lib/utils/response-utils.js +1 -1
- package/dist/lib/utils/response-utils.js.map +1 -1
- package/dist/loader-utils/format-types.d.ts +32 -0
- package/dist/loader-utils/format-types.d.ts.map +1 -0
- package/dist/loader-utils/format-types.js +5 -0
- package/dist/loader-utils/format-types.js.map +1 -0
- package/dist/loader-utils/index.cjs +11476 -0
- package/dist/loader-utils/index.cjs.map +6 -0
- package/dist/loader-utils/index.d.ts +124 -0
- package/dist/loader-utils/index.d.ts.map +1 -0
- package/dist/loader-utils/index.js +92 -0
- package/dist/loader-utils/index.js.map +1 -0
- package/dist/loader-utils/json-loader.d.ts +27 -0
- package/dist/loader-utils/json-loader.d.ts.map +1 -0
- package/dist/loader-utils/json-loader.js +32 -0
- package/dist/loader-utils/json-loader.js.map +1 -0
- package/dist/loader-utils/lib/binary-utils/array-buffer-utils.d.ts +32 -0
- package/dist/loader-utils/lib/binary-utils/array-buffer-utils.d.ts.map +1 -0
- package/dist/loader-utils/lib/binary-utils/array-buffer-utils.js +88 -0
- package/dist/loader-utils/lib/binary-utils/array-buffer-utils.js.map +1 -0
- package/dist/loader-utils/lib/binary-utils/binary-chunk-reader.d.ts +67 -0
- package/dist/loader-utils/lib/binary-utils/binary-chunk-reader.d.ts.map +1 -0
- package/dist/loader-utils/lib/binary-utils/binary-chunk-reader.js +245 -0
- package/dist/loader-utils/lib/binary-utils/binary-chunk-reader.js.map +1 -0
- package/dist/loader-utils/lib/binary-utils/dataview-copy-utils.d.ts +43 -0
- package/dist/loader-utils/lib/binary-utils/dataview-copy-utils.d.ts.map +1 -0
- package/dist/loader-utils/lib/binary-utils/dataview-copy-utils.js +92 -0
- package/dist/loader-utils/lib/binary-utils/dataview-copy-utils.js.map +1 -0
- package/dist/loader-utils/lib/binary-utils/encode-array-buffer-to-base64.d.ts +3 -0
- package/dist/loader-utils/lib/binary-utils/encode-array-buffer-to-base64.d.ts.map +1 -0
- package/dist/loader-utils/lib/binary-utils/encode-array-buffer-to-base64.js +15 -0
- package/dist/loader-utils/lib/binary-utils/encode-array-buffer-to-base64.js.map +1 -0
- package/dist/loader-utils/lib/binary-utils/get-first-characters.d.ts +17 -0
- package/dist/loader-utils/lib/binary-utils/get-first-characters.d.ts.map +1 -0
- package/dist/loader-utils/lib/binary-utils/get-first-characters.js +43 -0
- package/dist/loader-utils/lib/binary-utils/get-first-characters.js.map +1 -0
- package/dist/loader-utils/lib/binary-utils/hex-transcoder.d.ts +15 -0
- package/dist/loader-utils/lib/binary-utils/hex-transcoder.d.ts.map +1 -0
- package/dist/loader-utils/lib/binary-utils/hex-transcoder.js +51 -0
- package/dist/loader-utils/lib/binary-utils/hex-transcoder.js.map +1 -0
- package/dist/loader-utils/lib/binary-utils/memory-conversion-utils.d.ts +20 -0
- package/dist/loader-utils/lib/binary-utils/memory-conversion-utils.d.ts.map +1 -0
- package/dist/loader-utils/lib/binary-utils/memory-conversion-utils.js +82 -0
- package/dist/loader-utils/lib/binary-utils/memory-conversion-utils.js.map +1 -0
- package/dist/loader-utils/lib/binary-utils/memory-copy-utils.d.ts +25 -0
- package/dist/loader-utils/lib/binary-utils/memory-copy-utils.d.ts.map +1 -0
- package/dist/loader-utils/lib/binary-utils/memory-copy-utils.js +59 -0
- package/dist/loader-utils/lib/binary-utils/memory-copy-utils.js.map +1 -0
- package/dist/loader-utils/lib/crs/crs-reprojection.d.ts +31 -0
- package/dist/loader-utils/lib/crs/crs-reprojection.d.ts.map +1 -0
- package/dist/loader-utils/lib/crs/crs-reprojection.js +20 -0
- package/dist/loader-utils/lib/crs/crs-reprojection.js.map +1 -0
- package/dist/loader-utils/lib/env-utils/assert.d.ts +6 -0
- package/dist/loader-utils/lib/env-utils/assert.d.ts.map +1 -0
- package/dist/loader-utils/lib/env-utils/assert.js +13 -0
- package/dist/loader-utils/lib/env-utils/assert.js.map +1 -0
- package/dist/loader-utils/lib/env-utils/globals.d.ts +15 -0
- package/dist/loader-utils/lib/env-utils/globals.d.ts.map +1 -0
- package/dist/loader-utils/lib/env-utils/globals.js +28 -0
- package/dist/loader-utils/lib/env-utils/globals.js.map +1 -0
- package/dist/loader-utils/lib/file-provider/data-view-file.d.ts +40 -0
- package/dist/loader-utils/lib/file-provider/data-view-file.d.ts.map +1 -0
- package/dist/loader-utils/lib/file-provider/data-view-file.js +68 -0
- package/dist/loader-utils/lib/file-provider/data-view-file.js.map +1 -0
- package/dist/loader-utils/lib/file-provider/file-handle-file.d.ts +54 -0
- package/dist/loader-utils/lib/file-provider/file-handle-file.d.ts.map +1 -0
- package/dist/loader-utils/lib/file-provider/file-handle-file.js +102 -0
- package/dist/loader-utils/lib/file-provider/file-handle-file.js.map +1 -0
- package/dist/loader-utils/lib/file-provider/file-provider-interface.d.ts +45 -0
- package/dist/loader-utils/lib/file-provider/file-provider-interface.d.ts.map +1 -0
- package/dist/loader-utils/lib/file-provider/file-provider-interface.js +13 -0
- package/dist/loader-utils/lib/file-provider/file-provider-interface.js.map +1 -0
- package/dist/loader-utils/lib/file-provider/file-provider.d.ts +57 -0
- package/dist/loader-utils/lib/file-provider/file-provider.d.ts.map +1 -0
- package/dist/loader-utils/lib/file-provider/file-provider.js +114 -0
- package/dist/loader-utils/lib/file-provider/file-provider.js.map +1 -0
- package/dist/loader-utils/lib/files/array-buffer-file.d.ts +21 -0
- package/dist/loader-utils/lib/files/array-buffer-file.d.ts.map +1 -0
- package/dist/loader-utils/lib/files/array-buffer-file.js +36 -0
- package/dist/loader-utils/lib/files/array-buffer-file.js.map +1 -0
- package/dist/loader-utils/lib/files/blob-file.d.ts +19 -0
- package/dist/loader-utils/lib/files/blob-file.d.ts.map +1 -0
- package/dist/loader-utils/lib/files/blob-file.js +39 -0
- package/dist/loader-utils/lib/files/blob-file.js.map +1 -0
- package/dist/loader-utils/lib/files/file.d.ts +33 -0
- package/dist/loader-utils/lib/files/file.d.ts.map +1 -0
- package/dist/loader-utils/lib/files/file.js +5 -0
- package/dist/loader-utils/lib/files/file.js.map +1 -0
- package/dist/loader-utils/lib/files/http-file-transport.d.ts +37 -0
- package/dist/loader-utils/lib/files/http-file-transport.d.ts.map +1 -0
- package/dist/loader-utils/lib/files/http-file-transport.js +290 -0
- package/dist/loader-utils/lib/files/http-file-transport.js.map +1 -0
- package/dist/loader-utils/lib/files/http-file-types.d.ts +49 -0
- package/dist/loader-utils/lib/files/http-file-types.d.ts.map +1 -0
- package/dist/loader-utils/lib/files/http-file-types.js +5 -0
- package/dist/loader-utils/lib/files/http-file-types.js.map +1 -0
- package/dist/loader-utils/lib/files/http-file.d.ts +55 -0
- package/dist/loader-utils/lib/files/http-file.d.ts.map +1 -0
- package/dist/loader-utils/lib/files/http-file.js +213 -0
- package/dist/loader-utils/lib/files/http-file.js.map +1 -0
- package/dist/loader-utils/lib/files/node-file-facade.d.ts +22 -0
- package/dist/loader-utils/lib/files/node-file-facade.d.ts.map +1 -0
- package/dist/loader-utils/lib/files/node-file-facade.js +45 -0
- package/dist/loader-utils/lib/files/node-file-facade.js.map +1 -0
- package/dist/loader-utils/lib/files/sources.d.ts +1 -0
- package/dist/loader-utils/lib/files/sources.d.ts.map +1 -0
- package/dist/loader-utils/lib/files/sources.js +155 -0
- package/dist/loader-utils/lib/files/sources.js.map +1 -0
- package/dist/loader-utils/lib/filesystems/filesystem.d.ts +33 -0
- package/dist/loader-utils/lib/filesystems/filesystem.d.ts.map +1 -0
- package/dist/loader-utils/lib/filesystems/filesystem.js +5 -0
- package/dist/loader-utils/lib/filesystems/filesystem.js.map +1 -0
- package/dist/loader-utils/lib/filesystems/node-filesystem-facade.d.ts +23 -0
- package/dist/loader-utils/lib/filesystems/node-filesystem-facade.d.ts.map +1 -0
- package/dist/loader-utils/lib/filesystems/node-filesystem-facade.js +48 -0
- package/dist/loader-utils/lib/filesystems/node-filesystem-facade.js.map +1 -0
- package/dist/loader-utils/lib/iterators/async-iteration.d.ts +20 -0
- package/dist/loader-utils/lib/iterators/async-iteration.d.ts.map +1 -0
- package/dist/loader-utils/lib/iterators/async-iteration.js +102 -0
- package/dist/loader-utils/lib/iterators/async-iteration.js.map +1 -0
- package/dist/loader-utils/lib/iterators/text-iterators.d.ts +19 -0
- package/dist/loader-utils/lib/iterators/text-iterators.d.ts.map +1 -0
- package/dist/loader-utils/lib/iterators/text-iterators.js +60 -0
- package/dist/loader-utils/lib/iterators/text-iterators.js.map +1 -0
- package/dist/loader-utils/lib/javascript-utils/is-type.d.ts +59 -0
- package/dist/loader-utils/lib/javascript-utils/is-type.d.ts.map +1 -0
- package/dist/loader-utils/lib/javascript-utils/is-type.js +68 -0
- package/dist/loader-utils/lib/javascript-utils/is-type.js.map +1 -0
- package/dist/loader-utils/lib/laz/laz-arithmetic-encoder.d.ts +118 -0
- package/dist/loader-utils/lib/laz/laz-arithmetic-encoder.d.ts.map +1 -0
- package/dist/loader-utils/lib/laz/laz-arithmetic-encoder.js +427 -0
- package/dist/loader-utils/lib/laz/laz-arithmetic-encoder.js.map +1 -0
- package/dist/loader-utils/lib/laz/laz-chunk-decoder.d.ts +204 -0
- package/dist/loader-utils/lib/laz/laz-chunk-decoder.d.ts.map +1 -0
- package/dist/loader-utils/lib/laz/laz-chunk-decoder.js +4226 -0
- package/dist/loader-utils/lib/laz/laz-chunk-decoder.js.map +1 -0
- package/dist/loader-utils/lib/laz/laz-chunk-encoder.d.ts +40 -0
- package/dist/loader-utils/lib/laz/laz-chunk-encoder.d.ts.map +1 -0
- package/dist/loader-utils/lib/laz/laz-chunk-encoder.js +1518 -0
- package/dist/loader-utils/lib/laz/laz-chunk-encoder.js.map +1 -0
- package/dist/loader-utils/lib/log-utils/log.d.ts +4 -0
- package/dist/loader-utils/lib/log-utils/log.d.ts.map +1 -0
- package/dist/loader-utils/lib/log-utils/log.js +21 -0
- package/dist/loader-utils/lib/log-utils/log.js.map +1 -0
- package/dist/loader-utils/lib/module-utils/initialize-wasm-module.d.ts +10 -0
- package/dist/loader-utils/lib/module-utils/initialize-wasm-module.d.ts.map +1 -0
- package/dist/loader-utils/lib/module-utils/initialize-wasm-module.js +44 -0
- package/dist/loader-utils/lib/module-utils/initialize-wasm-module.js.map +1 -0
- package/dist/loader-utils/lib/module-utils/js-module-utils.d.ts +18 -0
- package/dist/loader-utils/lib/module-utils/js-module-utils.d.ts.map +1 -0
- package/dist/loader-utils/lib/module-utils/js-module-utils.js +40 -0
- package/dist/loader-utils/lib/module-utils/js-module-utils.js.map +1 -0
- package/dist/loader-utils/lib/node/buffer.browser.d.ts +11 -0
- package/dist/loader-utils/lib/node/buffer.browser.d.ts.map +1 -0
- package/dist/loader-utils/lib/node/buffer.browser.js +20 -0
- package/dist/loader-utils/lib/node/buffer.browser.js.map +1 -0
- package/dist/loader-utils/lib/node/buffer.d.ts +11 -0
- package/dist/loader-utils/lib/node/buffer.d.ts.map +1 -0
- package/dist/loader-utils/lib/node/buffer.js +35 -0
- package/dist/loader-utils/lib/node/buffer.js.map +1 -0
- package/dist/loader-utils/lib/node/fs.browser.d.ts +2 -0
- package/dist/loader-utils/lib/node/fs.browser.d.ts.map +1 -0
- package/dist/loader-utils/lib/node/fs.browser.js +5 -0
- package/dist/loader-utils/lib/node/fs.browser.js.map +1 -0
- package/dist/loader-utils/lib/node/promisify.d.ts +13 -0
- package/dist/loader-utils/lib/node/promisify.d.ts.map +1 -0
- package/dist/loader-utils/lib/node/promisify.js +19 -0
- package/dist/loader-utils/lib/node/promisify.js.map +1 -0
- package/dist/loader-utils/lib/node/stream.browser.d.ts +2 -0
- package/dist/loader-utils/lib/node/stream.browser.d.ts.map +1 -0
- package/dist/loader-utils/lib/node/stream.browser.js +5 -0
- package/dist/loader-utils/lib/node/stream.browser.js.map +1 -0
- package/dist/loader-utils/lib/node/stream.d.ts +6 -0
- package/dist/loader-utils/lib/node/stream.d.ts.map +1 -0
- package/dist/loader-utils/lib/node/stream.js +8 -0
- package/dist/loader-utils/lib/node/stream.js.map +1 -0
- package/dist/loader-utils/lib/option-utils/merge-options.d.ts +12 -0
- package/dist/loader-utils/lib/option-utils/merge-options.d.ts.map +1 -0
- package/dist/loader-utils/lib/option-utils/merge-options.js +34 -0
- package/dist/loader-utils/lib/option-utils/merge-options.js.map +1 -0
- package/dist/loader-utils/lib/parser-utils/parse-json.d.ts +5 -0
- package/dist/loader-utils/lib/parser-utils/parse-json.d.ts.map +1 -0
- package/dist/loader-utils/lib/parser-utils/parse-json.js +16 -0
- package/dist/loader-utils/lib/parser-utils/parse-json.js.map +1 -0
- package/dist/loader-utils/lib/path-utils/cached-uri-resolver.d.ts +35 -0
- package/dist/loader-utils/lib/path-utils/cached-uri-resolver.d.ts.map +1 -0
- package/dist/loader-utils/lib/path-utils/cached-uri-resolver.js +64 -0
- package/dist/loader-utils/lib/path-utils/cached-uri-resolver.js.map +1 -0
- package/dist/loader-utils/lib/path-utils/file-aliases.d.ts +17 -0
- package/dist/loader-utils/lib/path-utils/file-aliases.d.ts.map +1 -0
- package/dist/loader-utils/lib/path-utils/file-aliases.js +44 -0
- package/dist/loader-utils/lib/path-utils/file-aliases.js.map +1 -0
- package/dist/loader-utils/lib/path-utils/get-cwd.d.ts +3 -0
- package/dist/loader-utils/lib/path-utils/get-cwd.d.ts.map +1 -0
- package/dist/loader-utils/lib/path-utils/get-cwd.js +12 -0
- package/dist/loader-utils/lib/path-utils/get-cwd.js.map +1 -0
- package/dist/loader-utils/lib/path-utils/path.d.ts +24 -0
- package/dist/loader-utils/lib/path-utils/path.d.ts.map +1 -0
- package/dist/loader-utils/lib/path-utils/path.js +173 -0
- package/dist/loader-utils/lib/path-utils/path.js.map +1 -0
- package/dist/loader-utils/lib/request-utils/abort-utils.d.ts +5 -0
- package/dist/loader-utils/lib/request-utils/abort-utils.d.ts.map +1 -0
- package/dist/loader-utils/lib/request-utils/abort-utils.js +59 -0
- package/dist/loader-utils/lib/request-utils/abort-utils.js.map +1 -0
- package/dist/loader-utils/lib/request-utils/authentication.d.ts +56 -0
- package/dist/loader-utils/lib/request-utils/authentication.d.ts.map +1 -0
- package/dist/loader-utils/lib/request-utils/authentication.js +67 -0
- package/dist/loader-utils/lib/request-utils/authentication.js.map +1 -0
- package/dist/loader-utils/lib/request-utils/parse-content-type.d.ts +7 -0
- package/dist/loader-utils/lib/request-utils/parse-content-type.d.ts.map +1 -0
- package/dist/loader-utils/lib/request-utils/parse-content-type.js +20 -0
- package/dist/loader-utils/lib/request-utils/parse-content-type.js.map +1 -0
- package/dist/loader-utils/lib/request-utils/range-request-cache.d.ts +70 -0
- package/dist/loader-utils/lib/request-utils/range-request-cache.d.ts.map +1 -0
- package/dist/loader-utils/lib/request-utils/range-request-cache.js +203 -0
- package/dist/loader-utils/lib/request-utils/range-request-cache.js.map +1 -0
- package/dist/loader-utils/lib/request-utils/range-request-scheduler.d.ts +201 -0
- package/dist/loader-utils/lib/request-utils/range-request-scheduler.d.ts.map +1 -0
- package/dist/loader-utils/lib/request-utils/range-request-scheduler.js +636 -0
- package/dist/loader-utils/lib/request-utils/range-request-scheduler.js.map +1 -0
- package/dist/loader-utils/lib/request-utils/request-cache.d.ts +62 -0
- package/dist/loader-utils/lib/request-utils/request-cache.d.ts.map +1 -0
- package/dist/loader-utils/lib/request-utils/request-cache.js +236 -0
- package/dist/loader-utils/lib/request-utils/request-cache.js.map +1 -0
- package/dist/loader-utils/lib/request-utils/request-credentials.d.ts +139 -0
- package/dist/loader-utils/lib/request-utils/request-credentials.d.ts.map +1 -0
- package/dist/loader-utils/lib/request-utils/request-credentials.js +373 -0
- package/dist/loader-utils/lib/request-utils/request-credentials.js.map +1 -0
- package/dist/loader-utils/lib/request-utils/request-scheduler.d.ts +71 -0
- package/dist/loader-utils/lib/request-utils/request-scheduler.d.ts.map +1 -0
- package/dist/loader-utils/lib/request-utils/request-scheduler.js +174 -0
- package/dist/loader-utils/lib/request-utils/request-scheduler.js.map +1 -0
- package/dist/loader-utils/lib/scan-utils/columnar-predicate.d.ts +56 -0
- package/dist/loader-utils/lib/scan-utils/columnar-predicate.d.ts.map +1 -0
- package/dist/loader-utils/lib/scan-utils/columnar-predicate.js +261 -0
- package/dist/loader-utils/lib/scan-utils/columnar-predicate.js.map +1 -0
- package/dist/loader-utils/lib/scan-utils/experimental-scan-options.d.ts +42 -0
- package/dist/loader-utils/lib/scan-utils/experimental-scan-options.d.ts.map +1 -0
- package/dist/loader-utils/lib/scan-utils/experimental-scan-options.js +5 -0
- package/dist/loader-utils/lib/scan-utils/experimental-scan-options.js.map +1 -0
- package/dist/loader-utils/lib/scan-utils/point-cloud-query.d.ts +56 -0
- package/dist/loader-utils/lib/scan-utils/point-cloud-query.d.ts.map +1 -0
- package/dist/loader-utils/lib/scan-utils/point-cloud-query.js +86 -0
- package/dist/loader-utils/lib/scan-utils/point-cloud-query.js.map +1 -0
- package/dist/loader-utils/lib/scan-utils/raster-query.d.ts +36 -0
- package/dist/loader-utils/lib/scan-utils/raster-query.d.ts.map +1 -0
- package/dist/loader-utils/lib/scan-utils/raster-query.js +49 -0
- package/dist/loader-utils/lib/scan-utils/raster-query.js.map +1 -0
- package/dist/loader-utils/lib/scan-utils/relational-query.d.ts +75 -0
- package/dist/loader-utils/lib/scan-utils/relational-query.d.ts.map +1 -0
- package/dist/loader-utils/lib/scan-utils/relational-query.js +107 -0
- package/dist/loader-utils/lib/scan-utils/relational-query.js.map +1 -0
- package/dist/loader-utils/lib/scan-utils/scan-executor.d.ts +20 -0
- package/dist/loader-utils/lib/scan-utils/scan-executor.d.ts.map +1 -0
- package/dist/loader-utils/lib/scan-utils/scan-executor.js +183 -0
- package/dist/loader-utils/lib/scan-utils/scan-executor.js.map +1 -0
- package/dist/loader-utils/lib/scan-utils/scan-fragments.d.ts +23 -0
- package/dist/loader-utils/lib/scan-utils/scan-fragments.d.ts.map +1 -0
- package/dist/loader-utils/lib/scan-utils/scan-fragments.js +5 -0
- package/dist/loader-utils/lib/scan-utils/scan-fragments.js.map +1 -0
- package/dist/loader-utils/lib/scan-utils/scan-query-metadata.d.ts +272 -0
- package/dist/loader-utils/lib/scan-utils/scan-query-metadata.d.ts.map +1 -0
- package/dist/loader-utils/lib/scan-utils/scan-query-metadata.js +97 -0
- package/dist/loader-utils/lib/scan-utils/scan-query-metadata.js.map +1 -0
- package/dist/loader-utils/lib/scan-utils/table-query-explain.d.ts +39 -0
- package/dist/loader-utils/lib/scan-utils/table-query-explain.d.ts.map +1 -0
- package/dist/loader-utils/lib/scan-utils/table-query-explain.js +35 -0
- package/dist/loader-utils/lib/scan-utils/table-query-explain.js.map +1 -0
- package/dist/loader-utils/lib/scan-utils/table-query.d.ts +77 -0
- package/dist/loader-utils/lib/scan-utils/table-query.d.ts.map +1 -0
- package/dist/loader-utils/lib/scan-utils/table-query.js +56 -0
- package/dist/loader-utils/lib/scan-utils/table-query.js.map +1 -0
- package/dist/loader-utils/lib/scan-utils/table-scan-batch.d.ts +30 -0
- package/dist/loader-utils/lib/scan-utils/table-scan-batch.d.ts.map +1 -0
- package/dist/loader-utils/lib/scan-utils/table-scan-batch.js +161 -0
- package/dist/loader-utils/lib/scan-utils/table-scan-batch.js.map +1 -0
- package/dist/loader-utils/lib/sources/catalog-source.d.ts +36 -0
- package/dist/loader-utils/lib/sources/catalog-source.d.ts.map +1 -0
- package/dist/loader-utils/lib/sources/catalog-source.js +5 -0
- package/dist/loader-utils/lib/sources/catalog-source.js.map +1 -0
- package/dist/loader-utils/lib/sources/data-source-manager.d.ts +136 -0
- package/dist/loader-utils/lib/sources/data-source-manager.d.ts.map +1 -0
- package/dist/loader-utils/lib/sources/data-source-manager.js +376 -0
- package/dist/loader-utils/lib/sources/data-source-manager.js.map +1 -0
- package/dist/loader-utils/lib/sources/data-source.d.ts +79 -0
- package/dist/loader-utils/lib/sources/data-source.d.ts.map +1 -0
- package/dist/loader-utils/lib/sources/data-source.js +145 -0
- package/dist/loader-utils/lib/sources/data-source.js.map +1 -0
- package/dist/loader-utils/lib/sources/image-source.d.ts +55 -0
- package/dist/loader-utils/lib/sources/image-source.d.ts.map +1 -0
- package/dist/loader-utils/lib/sources/image-source.js +5 -0
- package/dist/loader-utils/lib/sources/image-source.js.map +1 -0
- package/dist/loader-utils/lib/sources/image-tile-source.d.ts +12 -0
- package/dist/loader-utils/lib/sources/image-tile-source.d.ts.map +1 -0
- package/dist/loader-utils/lib/sources/image-tile-source.js +5 -0
- package/dist/loader-utils/lib/sources/image-tile-source.js.map +1 -0
- package/dist/loader-utils/lib/sources/raster-coverage.d.ts +17 -0
- package/dist/loader-utils/lib/sources/raster-coverage.d.ts.map +1 -0
- package/dist/loader-utils/lib/sources/raster-coverage.js +62 -0
- package/dist/loader-utils/lib/sources/raster-coverage.js.map +1 -0
- package/dist/loader-utils/lib/sources/raster-region.d.ts +4 -0
- package/dist/loader-utils/lib/sources/raster-region.d.ts.map +1 -0
- package/dist/loader-utils/lib/sources/raster-region.js +22 -0
- package/dist/loader-utils/lib/sources/raster-region.js.map +1 -0
- package/dist/loader-utils/lib/sources/raster-sampling.d.ts +35 -0
- package/dist/loader-utils/lib/sources/raster-sampling.d.ts.map +1 -0
- package/dist/loader-utils/lib/sources/raster-sampling.js +152 -0
- package/dist/loader-utils/lib/sources/raster-sampling.js.map +1 -0
- package/dist/loader-utils/lib/sources/raster-source.d.ts +302 -0
- package/dist/loader-utils/lib/sources/raster-source.d.ts.map +1 -0
- package/dist/loader-utils/lib/sources/raster-source.js +20 -0
- package/dist/loader-utils/lib/sources/raster-source.js.map +1 -0
- package/dist/loader-utils/lib/sources/service-capabilities.d.ts +36 -0
- package/dist/loader-utils/lib/sources/service-capabilities.d.ts.map +1 -0
- package/dist/loader-utils/lib/sources/service-capabilities.js +5 -0
- package/dist/loader-utils/lib/sources/service-capabilities.js.map +1 -0
- package/dist/loader-utils/lib/sources/tile-grid.d.ts +89 -0
- package/dist/loader-utils/lib/sources/tile-grid.d.ts.map +1 -0
- package/dist/loader-utils/lib/sources/tile-grid.js +306 -0
- package/dist/loader-utils/lib/sources/tile-grid.js.map +1 -0
- package/dist/loader-utils/lib/sources/tile-source-adapter.d.ts +24 -0
- package/dist/loader-utils/lib/sources/tile-source-adapter.d.ts.map +1 -0
- package/dist/loader-utils/lib/sources/tile-source-adapter.js +105 -0
- package/dist/loader-utils/lib/sources/tile-source-adapter.js.map +1 -0
- package/dist/loader-utils/lib/sources/tile-source-utils.d.ts +6 -0
- package/dist/loader-utils/lib/sources/tile-source-utils.d.ts.map +1 -0
- package/dist/loader-utils/lib/sources/tile-source-utils.js +13 -0
- package/dist/loader-utils/lib/sources/tile-source-utils.js.map +1 -0
- package/dist/loader-utils/lib/sources/tile-source.d.ts +192 -0
- package/dist/loader-utils/lib/sources/tile-source.d.ts.map +1 -0
- package/dist/loader-utils/lib/sources/tile-source.js +5 -0
- package/dist/loader-utils/lib/sources/tile-source.js.map +1 -0
- package/dist/loader-utils/lib/sources/utils/image-type.d.ts +10 -0
- package/dist/loader-utils/lib/sources/utils/image-type.d.ts.map +1 -0
- package/dist/loader-utils/lib/sources/utils/image-type.js +5 -0
- package/dist/loader-utils/lib/sources/utils/image-type.js.map +1 -0
- package/dist/loader-utils/lib/sources/utils/utils.d.ts +13 -0
- package/dist/loader-utils/lib/sources/utils/utils.d.ts.map +1 -0
- package/dist/loader-utils/lib/sources/utils/utils.js +26 -0
- package/dist/loader-utils/lib/sources/utils/utils.js.map +1 -0
- package/dist/loader-utils/lib/sources/vector-source.d.ts +76 -0
- package/dist/loader-utils/lib/sources/vector-source.d.ts.map +1 -0
- package/dist/loader-utils/lib/sources/vector-source.js +5 -0
- package/dist/loader-utils/lib/sources/vector-source.js.map +1 -0
- package/dist/loader-utils/lib/sources/vector-tile-source.d.ts +15 -0
- package/dist/loader-utils/lib/sources/vector-tile-source.d.ts.map +1 -0
- package/dist/loader-utils/lib/sources/vector-tile-source.js +5 -0
- package/dist/loader-utils/lib/sources/vector-tile-source.js.map +1 -0
- package/dist/loader-utils/lib/sources/xyz-grid-options.d.ts +20 -0
- package/dist/loader-utils/lib/sources/xyz-grid-options.d.ts.map +1 -0
- package/dist/loader-utils/lib/sources/xyz-grid-options.js +65 -0
- package/dist/loader-utils/lib/sources/xyz-grid-options.js.map +1 -0
- package/dist/loader-utils/lib/sources/xyz-grid.d.ts +9 -0
- package/dist/loader-utils/lib/sources/xyz-grid.d.ts.map +1 -0
- package/dist/loader-utils/lib/sources/xyz-grid.js +67 -0
- package/dist/loader-utils/lib/sources/xyz-grid.js.map +1 -0
- package/dist/loader-utils/lib/worker-loader-utils/create-loader-worker.d.ts +25 -0
- package/dist/loader-utils/lib/worker-loader-utils/create-loader-worker.d.ts.map +1 -0
- package/dist/loader-utils/lib/worker-loader-utils/create-loader-worker.js +156 -0
- package/dist/loader-utils/lib/worker-loader-utils/create-loader-worker.js.map +1 -0
- package/dist/loader-utils/lib/worker-loader-utils/encode-with-worker.d.ts +8 -0
- package/dist/loader-utils/lib/worker-loader-utils/encode-with-worker.d.ts.map +1 -0
- package/dist/loader-utils/lib/worker-loader-utils/encode-with-worker.js +23 -0
- package/dist/loader-utils/lib/worker-loader-utils/encode-with-worker.js.map +1 -0
- package/dist/loader-utils/lib/worker-loader-utils/parse-with-worker.d.ts +47 -0
- package/dist/loader-utils/lib/worker-loader-utils/parse-with-worker.d.ts.map +1 -0
- package/dist/loader-utils/lib/worker-loader-utils/parse-with-worker.js +271 -0
- package/dist/loader-utils/lib/worker-loader-utils/parse-with-worker.js.map +1 -0
- package/dist/loader-utils/loader-types.d.ts +332 -0
- package/dist/loader-utils/loader-types.d.ts.map +1 -0
- package/dist/loader-utils/loader-types.js +33 -0
- package/dist/loader-utils/loader-types.js.map +1 -0
- package/dist/loader-utils/source-types.d.ts +42 -0
- package/dist/loader-utils/source-types.d.ts.map +1 -0
- package/dist/loader-utils/source-types.js +8 -0
- package/dist/loader-utils/source-types.js.map +1 -0
- package/dist/loader-utils/tile-grid.cjs +328 -0
- package/dist/loader-utils/tile-grid.cjs.map +6 -0
- package/dist/loader-utils/tile-grid.d.ts +5 -0
- package/dist/loader-utils/tile-grid.d.ts.map +1 -0
- package/dist/loader-utils/tile-grid.js +7 -0
- package/dist/loader-utils/tile-grid.js.map +1 -0
- package/dist/loader-utils/types.d.ts +24 -0
- package/dist/loader-utils/types.d.ts.map +1 -0
- package/dist/loader-utils/types.js +6 -0
- package/dist/loader-utils/types.js.map +1 -0
- package/dist/loader-utils/workers/json-worker.d.ts +2 -0
- package/dist/loader-utils/workers/json-worker.d.ts.map +1 -0
- package/dist/loader-utils/workers/json-worker.js +7 -0
- package/dist/loader-utils/workers/json-worker.js.map +1 -0
- package/dist/loader-utils/writer-types.d.ts +74 -0
- package/dist/loader-utils/writer-types.d.ts.map +1 -0
- package/dist/loader-utils/writer-types.js +5 -0
- package/dist/loader-utils/writer-types.js.map +1 -0
- package/dist/null-loader.d.ts +2 -2
- package/dist/null-loader.d.ts.map +1 -1
- package/dist/null-loader.js +1 -1
- package/dist/null-loader.js.map +1 -1
- package/dist/null-worker-node.js +229 -100
- package/dist/null-worker.js +225 -64
- package/dist/polyfills/buffer/btoa.node.d.ts +3 -0
- package/dist/polyfills/buffer/btoa.node.d.ts.map +1 -0
- package/dist/polyfills/buffer/btoa.node.js +13 -0
- package/dist/polyfills/buffer/btoa.node.js.map +1 -0
- package/dist/polyfills/buffer/to-array-buffer.node.d.ts +2 -0
- package/dist/polyfills/buffer/to-array-buffer.node.d.ts.map +1 -0
- package/dist/polyfills/buffer/to-array-buffer.node.js +12 -0
- package/dist/polyfills/buffer/to-array-buffer.node.js.map +1 -0
- package/dist/polyfills/crypto/node-hash.d.ts +29 -0
- package/dist/polyfills/crypto/node-hash.d.ts.map +1 -0
- package/dist/polyfills/crypto/node-hash.js +63 -0
- package/dist/polyfills/crypto/node-hash.js.map +1 -0
- package/dist/polyfills/file/file-reader.d.ts +24 -0
- package/dist/polyfills/file/file-reader.d.ts.map +1 -0
- package/dist/polyfills/file/file-reader.js +51 -0
- package/dist/polyfills/file/file-reader.js.map +1 -0
- package/dist/polyfills/file/install-file-polyfills.d.ts +2 -0
- package/dist/polyfills/file/install-file-polyfills.d.ts.map +1 -0
- package/dist/polyfills/file/install-file-polyfills.js +12 -0
- package/dist/polyfills/file/install-file-polyfills.js.map +1 -0
- package/dist/polyfills/filesystems/fetch-node.d.ts +8 -0
- package/dist/polyfills/filesystems/fetch-node.d.ts.map +1 -0
- package/dist/polyfills/filesystems/fetch-node.js +88 -0
- package/dist/polyfills/filesystems/fetch-node.js.map +1 -0
- package/dist/polyfills/filesystems/node-file.d.ts +15 -0
- package/dist/polyfills/filesystems/node-file.d.ts.map +1 -0
- package/dist/polyfills/filesystems/node-file.js +138 -0
- package/dist/polyfills/filesystems/node-file.js.map +1 -0
- package/dist/polyfills/filesystems/node-filesystem.d.ts +19 -0
- package/dist/polyfills/filesystems/node-filesystem.d.ts.map +1 -0
- package/dist/polyfills/filesystems/node-filesystem.js +44 -0
- package/dist/polyfills/filesystems/node-filesystem.js.map +1 -0
- package/dist/polyfills/filesystems/stream-utils.node.d.ts +18 -0
- package/dist/polyfills/filesystems/stream-utils.node.d.ts.map +1 -0
- package/dist/polyfills/filesystems/stream-utils.node.js +67 -0
- package/dist/polyfills/filesystems/stream-utils.node.js.map +1 -0
- package/dist/polyfills/images/encode-image-node.d.ts +23 -0
- package/dist/polyfills/images/encode-image-node.d.ts.map +1 -0
- package/dist/polyfills/images/encode-image-node.js +23 -0
- package/dist/polyfills/images/encode-image-node.js.map +1 -0
- package/dist/polyfills/images/image-codecs-node.d.ts +4 -0
- package/dist/polyfills/images/image-codecs-node.d.ts.map +1 -0
- package/dist/polyfills/images/image-codecs-node.js +5 -0
- package/dist/polyfills/images/image-codecs-node.js.map +1 -0
- package/dist/polyfills/images/load-sharp.d.ts +3 -0
- package/dist/polyfills/images/load-sharp.d.ts.map +1 -0
- package/dist/polyfills/images/load-sharp.js +11 -0
- package/dist/polyfills/images/load-sharp.js.map +1 -0
- package/dist/polyfills/images/node-image-bitmap.d.ts +38 -0
- package/dist/polyfills/images/node-image-bitmap.d.ts.map +1 -0
- package/dist/polyfills/images/node-image-bitmap.js +64 -0
- package/dist/polyfills/images/node-image-bitmap.js.map +1 -0
- package/dist/polyfills/images/node-image-formats.d.ts +3 -0
- package/dist/polyfills/images/node-image-formats.d.ts.map +1 -0
- package/dist/polyfills/images/node-image-formats.js +12 -0
- package/dist/polyfills/images/node-image-formats.js.map +1 -0
- package/dist/polyfills/images/parse-image-node.d.ts +19 -0
- package/dist/polyfills/images/parse-image-node.d.ts.map +1 -0
- package/dist/polyfills/images/parse-image-node.js +24 -0
- package/dist/polyfills/images/parse-image-node.js.map +1 -0
- package/dist/polyfills/index.browser.d.ts +8 -0
- package/dist/polyfills/index.browser.d.ts.map +1 -0
- package/dist/polyfills/index.browser.js +18 -0
- package/dist/polyfills/index.browser.js.map +1 -0
- package/dist/polyfills/index.cjs +2219 -0
- package/dist/polyfills/index.cjs.map +6 -0
- package/dist/polyfills/index.d.ts +16 -0
- package/dist/polyfills/index.d.ts.map +1 -0
- package/dist/polyfills/index.js +92 -0
- package/dist/polyfills/index.js.map +1 -0
- package/dist/polyfills/libs/encoding-indexes-asian.d.ts +10 -0
- package/dist/polyfills/libs/encoding-indexes-asian.d.ts.map +1 -0
- package/dist/polyfills/libs/encoding-indexes-asian.js +14 -0
- package/dist/polyfills/libs/encoding-indexes-asian.js.map +1 -0
- package/dist/polyfills/load-library/require-utils.node.d.ts +19 -0
- package/dist/polyfills/load-library/require-utils.node.d.ts.map +1 -0
- package/dist/polyfills/load-library/require-utils.node.js +88 -0
- package/dist/polyfills/load-library/require-utils.node.js.map +1 -0
- package/dist/polyfills/streams/make-node-stream.d.ts +6 -0
- package/dist/polyfills/streams/make-node-stream.d.ts.map +1 -0
- package/dist/polyfills/streams/make-node-stream.js +53 -0
- package/dist/polyfills/streams/make-node-stream.js.map +1 -0
- package/dist/polyfills/text-encoder/encoding-indexes.d.ts +31 -0
- package/dist/polyfills/text-encoder/encoding-indexes.d.ts.map +1 -0
- package/dist/polyfills/text-encoder/encoding-indexes.js +35 -0
- package/dist/polyfills/text-encoder/encoding-indexes.js.map +1 -0
- package/dist/polyfills/text-encoder/text-encoder.d.ts +15 -0
- package/dist/polyfills/text-encoder/text-encoder.d.ts.map +1 -0
- package/dist/polyfills/text-encoder/text-encoder.js +2778 -0
- package/dist/polyfills/text-encoder/text-encoder.js.map +1 -0
- package/dist/polyfills/utils/assert.d.ts +2 -0
- package/dist/polyfills/utils/assert.d.ts.map +1 -0
- package/dist/polyfills/utils/assert.js +9 -0
- package/dist/polyfills/utils/assert.js.map +1 -0
- package/dist/polyfills/utils/buffer-utils.d.ts +5 -0
- package/dist/polyfills/utils/buffer-utils.d.ts.map +1 -0
- package/dist/polyfills/utils/buffer-utils.js +34 -0
- package/dist/polyfills/utils/buffer-utils.js.map +1 -0
- package/dist/polyfills/utils/filesystem-types.d.ts +10 -0
- package/dist/polyfills/utils/filesystem-types.d.ts.map +1 -0
- package/dist/polyfills/utils/filesystem-types.js +5 -0
- package/dist/polyfills/utils/filesystem-types.js.map +1 -0
- package/dist/polyfills/utils/is-browser.d.ts +2 -0
- package/dist/polyfills/utils/is-browser.d.ts.map +1 -0
- package/dist/polyfills/utils/is-browser.js +8 -0
- package/dist/polyfills/utils/is-browser.js.map +1 -0
- package/dist/polyfills/utils/path-utils.d.ts +7 -0
- package/dist/polyfills/utils/path-utils.d.ts.map +1 -0
- package/dist/polyfills/utils/path-utils.js +28 -0
- package/dist/polyfills/utils/path-utils.js.map +1 -0
- package/dist/scan/arrow-query.cjs +38 -0
- package/dist/scan/arrow-query.cjs.map +7 -0
- package/dist/scan/arrow-query.d.ts +5 -0
- package/dist/scan/arrow-query.d.ts.map +1 -0
- package/dist/scan/arrow-query.js +6 -0
- package/dist/scan/arrow-query.js.map +1 -0
- package/dist/scan/bind-sql-predicate.cjs +36 -0
- package/dist/scan/bind-sql-predicate.cjs.map +7 -0
- package/dist/scan/bind-sql-predicate.d.ts +4 -0
- package/dist/scan/bind-sql-predicate.d.ts.map +1 -0
- package/dist/scan/bind-sql-predicate.js +11 -0
- package/dist/scan/bind-sql-predicate.js.map +1 -0
- package/dist/scan/federated-table-scan-source.cjs +719 -0
- package/dist/scan/federated-table-scan-source.cjs.map +7 -0
- package/dist/scan/federated-table-scan-source.d.ts +116 -0
- package/dist/scan/federated-table-scan-source.d.ts.map +1 -0
- package/dist/scan/federated-table-scan-source.js +691 -0
- package/dist/scan/federated-table-scan-source.js.map +1 -0
- package/dist/scan/index.cjs +87 -0
- package/dist/scan/index.cjs.map +7 -0
- package/dist/scan/index.d.ts +20 -0
- package/dist/scan/index.d.ts.map +1 -0
- package/dist/scan/index.js +17 -0
- package/dist/scan/index.js.map +1 -0
- package/dist/scan/parse-sql-predicate.cjs +328 -0
- package/dist/scan/parse-sql-predicate.cjs.map +7 -0
- package/dist/scan/parse-sql-predicate.d.ts +10 -0
- package/dist/scan/parse-sql-predicate.d.ts.map +1 -0
- package/dist/scan/parse-sql-predicate.js +322 -0
- package/dist/scan/parse-sql-predicate.js.map +1 -0
- package/dist/scan/query-arrow-table.cjs +633 -0
- package/dist/scan/query-arrow-table.cjs.map +7 -0
- package/dist/scan/query-arrow-table.d.ts +83 -0
- package/dist/scan/query-arrow-table.d.ts.map +1 -0
- package/dist/scan/query-arrow-table.js +663 -0
- package/dist/scan/query-arrow-table.js.map +1 -0
- package/dist/scan/rows-to-arrow.cjs +71 -0
- package/dist/scan/rows-to-arrow.cjs.map +7 -0
- package/dist/scan/rows-to-arrow.d.ts +4 -0
- package/dist/scan/rows-to-arrow.d.ts.map +1 -0
- package/dist/scan/rows-to-arrow.js +39 -0
- package/dist/scan/rows-to-arrow.js.map +1 -0
- package/dist/scan/scan-engine.cjs +66 -0
- package/dist/scan/scan-engine.cjs.map +7 -0
- package/dist/scan/scan-engine.d.ts +45 -0
- package/dist/scan/scan-engine.d.ts.map +1 -0
- package/dist/scan/scan-engine.js +51 -0
- package/dist/scan/scan-engine.js.map +1 -0
- package/dist/scan/scan-query.cjs +19 -0
- package/dist/scan/scan-query.cjs.map +7 -0
- package/dist/scan/scan-query.d.ts +24 -0
- package/dist/scan/scan-query.d.ts.map +1 -0
- package/dist/scan/scan-query.js +5 -0
- package/dist/scan/scan-query.js.map +1 -0
- package/dist/scan/sql-predicate-schema.cjs +237 -0
- package/dist/scan/sql-predicate-schema.cjs.map +7 -0
- package/dist/scan/sql-predicate-schema.d.ts +156 -0
- package/dist/scan/sql-predicate-schema.d.ts.map +1 -0
- package/dist/scan/sql-predicate-schema.js +226 -0
- package/dist/scan/sql-predicate-schema.js.map +1 -0
- package/dist/scan/sql-predicate-types.cjs +34 -0
- package/dist/scan/sql-predicate-types.cjs.map +7 -0
- package/dist/scan/sql-predicate-types.d.ts +45 -0
- package/dist/scan/sql-predicate-types.d.ts.map +1 -0
- package/dist/scan/sql-predicate-types.js +9 -0
- package/dist/scan/sql-predicate-types.js.map +1 -0
- package/dist/scan/sql-predicate-zod.cjs +61 -0
- package/dist/scan/sql-predicate-zod.cjs.map +7 -0
- package/dist/scan/sql-predicate-zod.d.ts +11 -0
- package/dist/scan/sql-predicate-zod.d.ts.map +1 -0
- package/dist/scan/sql-predicate-zod.js +45 -0
- package/dist/scan/sql-predicate-zod.js.map +1 -0
- package/dist/scan/sql-predicate.cjs +44 -0
- package/dist/scan/sql-predicate.cjs.map +7 -0
- package/dist/scan/sql-predicate.d.ts +6 -0
- package/dist/scan/sql-predicate.d.ts.map +1 -0
- package/dist/scan/sql-predicate.js +8 -0
- package/dist/scan/sql-predicate.js.map +1 -0
- package/dist/scan/table-query-capabilities.cjs +52 -0
- package/dist/scan/table-query-capabilities.cjs.map +7 -0
- package/dist/scan/table-query-capabilities.d.ts +6 -0
- package/dist/scan/table-query-capabilities.d.ts.map +1 -0
- package/dist/scan/table-query-capabilities.js +26 -0
- package/dist/scan/table-query-capabilities.js.map +1 -0
- package/dist/scan/table-query.cjs +56 -0
- package/dist/scan/table-query.cjs.map +7 -0
- package/dist/scan/table-query.d.ts +29 -0
- package/dist/scan/table-query.d.ts.map +1 -0
- package/dist/scan/table-query.js +30 -0
- package/dist/scan/table-query.js.map +1 -0
- package/dist/scan/vector-table-scan-source.cjs +227 -0
- package/dist/scan/vector-table-scan-source.cjs.map +7 -0
- package/dist/scan/vector-table-scan-source.d.ts +93 -0
- package/dist/scan/vector-table-scan-source.d.ts.map +1 -0
- package/dist/scan/vector-table-scan-source.js +221 -0
- package/dist/scan/vector-table-scan-source.js.map +1 -0
- package/dist/schema/categories/category-gis.d.ts +7 -0
- package/dist/schema/categories/category-gis.d.ts.map +1 -0
- package/dist/schema/categories/category-gis.js +5 -0
- package/dist/schema/categories/category-gis.js.map +1 -0
- package/dist/schema/categories/category-image.d.ts +18 -0
- package/dist/schema/categories/category-image.d.ts.map +1 -0
- package/dist/schema/categories/category-image.js +5 -0
- package/dist/schema/categories/category-image.js.map +1 -0
- package/dist/schema/categories/category-mesh.d.ts +99 -0
- package/dist/schema/categories/category-mesh.d.ts.map +1 -0
- package/dist/schema/categories/category-mesh.js +14 -0
- package/dist/schema/categories/category-mesh.js.map +1 -0
- package/dist/schema/categories/category-table.d.ts +106 -0
- package/dist/schema/categories/category-table.d.ts.map +1 -0
- package/dist/schema/categories/category-table.js +5 -0
- package/dist/schema/categories/category-table.js.map +1 -0
- package/dist/schema/categories/category-texture.d.ts +115 -0
- package/dist/schema/categories/category-texture.d.ts.map +1 -0
- package/dist/schema/categories/category-texture.js +5 -0
- package/dist/schema/categories/category-texture.js.map +1 -0
- package/dist/schema/deprecated/mesh-utils.d.ts +12 -0
- package/dist/schema/deprecated/mesh-utils.d.ts.map +1 -0
- package/dist/schema/deprecated/mesh-utils.js +37 -0
- package/dist/schema/deprecated/mesh-utils.js.map +1 -0
- package/dist/schema/float16.d.ts +19 -0
- package/dist/schema/float16.d.ts.map +1 -0
- package/dist/schema/float16.js +90 -0
- package/dist/schema/float16.js.map +1 -0
- package/dist/schema/geoarrow-metadata.schema.json +117 -0
- package/dist/schema/geometry/arrow-binary-features.d.ts +45 -0
- package/dist/schema/geometry/arrow-binary-features.d.ts.map +1 -0
- package/dist/schema/geometry/arrow-binary-features.js +5 -0
- package/dist/schema/geometry/arrow-binary-features.js.map +1 -0
- package/dist/schema/geometry/binary-features.d.ts +30 -0
- package/dist/schema/geometry/binary-features.d.ts.map +1 -0
- package/dist/schema/geometry/binary-features.js +5 -0
- package/dist/schema/geometry/binary-features.js.map +1 -0
- package/dist/schema/geometry/binary-geometries.d.ts +33 -0
- package/dist/schema/geometry/binary-geometries.d.ts.map +1 -0
- package/dist/schema/geometry/binary-geometries.js +5 -0
- package/dist/schema/geometry/binary-geometries.js.map +1 -0
- package/dist/schema/geometry/flat-geometries.d.ts +61 -0
- package/dist/schema/geometry/flat-geometries.d.ts.map +1 -0
- package/dist/schema/geometry/flat-geometries.js +5 -0
- package/dist/schema/geometry/flat-geometries.js.map +1 -0
- package/dist/schema/geometry/geoarrow.d.ts +69 -0
- package/dist/schema/geometry/geoarrow.d.ts.map +1 -0
- package/dist/schema/geometry/geoarrow.js +5 -0
- package/dist/schema/geometry/geoarrow.js.map +1 -0
- package/dist/schema/geoparquet.schema.json +222 -0
- package/dist/schema/geospatial-metadata-zod-schema.cjs +154 -0
- package/dist/schema/geospatial-metadata-zod-schema.cjs.map +6 -0
- package/dist/schema/geospatial-metadata-zod-schema.d.ts +44 -0
- package/dist/schema/geospatial-metadata-zod-schema.d.ts.map +1 -0
- package/dist/schema/geospatial-metadata-zod-schema.js +151 -0
- package/dist/schema/geospatial-metadata-zod-schema.js.map +1 -0
- package/dist/schema/index.cjs +259 -0
- package/dist/schema/index.cjs.map +6 -0
- package/dist/schema/index.d.ts +21 -0
- package/dist/schema/index.d.ts.map +1 -0
- package/dist/schema/index.js +9 -0
- package/dist/schema/index.js.map +1 -0
- package/dist/schema/metadata.d.ts +40 -0
- package/dist/schema/metadata.d.ts.map +1 -0
- package/dist/schema/metadata.js +86 -0
- package/dist/schema/metadata.js.map +1 -0
- package/dist/schema/types/batch.d.ts +37 -0
- package/dist/schema/types/batch.d.ts.map +1 -0
- package/dist/schema/types/batch.js +5 -0
- package/dist/schema/types/batch.js.map +1 -0
- package/dist/schema/types/schema.d.ts +70 -0
- package/dist/schema/types/schema.d.ts.map +1 -0
- package/dist/schema/types/schema.js +5 -0
- package/dist/schema/types/schema.js.map +1 -0
- package/dist/schema/types/types.d.ts +16 -0
- package/dist/schema/types/types.d.ts.map +1 -0
- package/dist/schema/types/types.js +6 -0
- package/dist/schema/types/types.js.map +1 -0
- package/dist/schema-utils/arrow-transport.cjs +691 -0
- package/dist/schema-utils/arrow-transport.cjs.map +6 -0
- package/dist/schema-utils/arrow-transport.d.ts +4 -0
- package/dist/schema-utils/arrow-transport.d.ts.map +1 -0
- package/dist/schema-utils/arrow-transport.js +7 -0
- package/dist/schema-utils/arrow-transport.js.map +1 -0
- package/dist/schema-utils/deprecated.d.ts +24 -0
- package/dist/schema-utils/deprecated.d.ts.map +1 -0
- package/dist/schema-utils/deprecated.js +27 -0
- package/dist/schema-utils/deprecated.js.map +1 -0
- package/dist/schema-utils/index.cjs +3422 -0
- package/dist/schema-utils/index.cjs.map +6 -0
- package/dist/schema-utils/index.d.ts +38 -0
- package/dist/schema-utils/index.d.ts.map +1 -0
- package/dist/schema-utils/index.js +77 -0
- package/dist/schema-utils/index.js.map +1 -0
- package/dist/schema-utils/lib/arrow/arrow-table-transport.d.ts +76 -0
- package/dist/schema-utils/lib/arrow/arrow-table-transport.d.ts.map +1 -0
- package/dist/schema-utils/lib/arrow/arrow-table-transport.js +182 -0
- package/dist/schema-utils/lib/arrow/arrow-table-transport.js.map +1 -0
- package/dist/schema-utils/lib/arrow/split-arrow-buffers.d.ts +33 -0
- package/dist/schema-utils/lib/arrow/split-arrow-buffers.d.ts.map +1 -0
- package/dist/schema-utils/lib/arrow/split-arrow-buffers.js +134 -0
- package/dist/schema-utils/lib/arrow/split-arrow-buffers.js.map +1 -0
- package/dist/schema-utils/lib/arrow-utils/arrow-fixed-size-list-utils.d.ts +11 -0
- package/dist/schema-utils/lib/arrow-utils/arrow-fixed-size-list-utils.d.ts.map +1 -0
- package/dist/schema-utils/lib/arrow-utils/arrow-fixed-size-list-utils.js +45 -0
- package/dist/schema-utils/lib/arrow-utils/arrow-fixed-size-list-utils.js.map +1 -0
- package/dist/schema-utils/lib/arrow-utils/arrow-list-of-fixed-size-list-utils.d.ts +11 -0
- package/dist/schema-utils/lib/arrow-utils/arrow-list-of-fixed-size-list-utils.d.ts.map +1 -0
- package/dist/schema-utils/lib/arrow-utils/arrow-list-of-fixed-size-list-utils.js +33 -0
- package/dist/schema-utils/lib/arrow-utils/arrow-list-of-fixed-size-list-utils.js.map +1 -0
- package/dist/schema-utils/lib/converters/convert.d.ts +10 -0
- package/dist/schema-utils/lib/converters/convert.d.ts.map +1 -0
- package/dist/schema-utils/lib/converters/convert.js +98 -0
- package/dist/schema-utils/lib/converters/convert.js.map +1 -0
- package/dist/schema-utils/lib/converters/converters.d.ts +3 -0
- package/dist/schema-utils/lib/converters/converters.d.ts.map +1 -0
- package/dist/schema-utils/lib/converters/converters.js +5 -0
- package/dist/schema-utils/lib/converters/converters.js.map +1 -0
- package/dist/schema-utils/lib/converters/types.d.ts +35 -0
- package/dist/schema-utils/lib/converters/types.d.ts.map +1 -0
- package/dist/schema-utils/lib/converters/types.js +5 -0
- package/dist/schema-utils/lib/converters/types.js.map +1 -0
- package/dist/schema-utils/lib/mesh/convert-mesh-to-table.d.ts +44 -0
- package/dist/schema-utils/lib/mesh/convert-mesh-to-table.d.ts.map +1 -0
- package/dist/schema-utils/lib/mesh/convert-mesh-to-table.js +187 -0
- package/dist/schema-utils/lib/mesh/convert-mesh-to-table.js.map +1 -0
- package/dist/schema-utils/lib/mesh/convert-table-to-mesh.d.ts +14 -0
- package/dist/schema-utils/lib/mesh/convert-table-to-mesh.d.ts.map +1 -0
- package/dist/schema-utils/lib/mesh/convert-table-to-mesh.js +217 -0
- package/dist/schema-utils/lib/mesh/convert-table-to-mesh.js.map +1 -0
- package/dist/schema-utils/lib/mesh/deduce-mesh-schema.d.ts +23 -0
- package/dist/schema-utils/lib/mesh/deduce-mesh-schema.d.ts.map +1 -0
- package/dist/schema-utils/lib/mesh/deduce-mesh-schema.js +72 -0
- package/dist/schema-utils/lib/mesh/deduce-mesh-schema.js.map +1 -0
- package/dist/schema-utils/lib/mesh/mesh-utils.d.ts +23 -0
- package/dist/schema-utils/lib/mesh/mesh-utils.d.ts.map +1 -0
- package/dist/schema-utils/lib/mesh/mesh-utils.js +54 -0
- package/dist/schema-utils/lib/mesh/mesh-utils.js.map +1 -0
- package/dist/schema-utils/lib/mesh/point-cloud-tiler.d.ts +98 -0
- package/dist/schema-utils/lib/mesh/point-cloud-tiler.d.ts.map +1 -0
- package/dist/schema-utils/lib/mesh/point-cloud-tiler.js +407 -0
- package/dist/schema-utils/lib/mesh/point-cloud-tiler.js.map +1 -0
- package/dist/schema-utils/lib/schema/convert-arrow-schema.d.ts +39 -0
- package/dist/schema-utils/lib/schema/convert-arrow-schema.d.ts.map +1 -0
- package/dist/schema-utils/lib/schema/convert-arrow-schema.js +441 -0
- package/dist/schema-utils/lib/schema/convert-arrow-schema.js.map +1 -0
- package/dist/schema-utils/lib/schema/data-type.d.ts +16 -0
- package/dist/schema-utils/lib/schema/data-type.d.ts.map +1 -0
- package/dist/schema-utils/lib/schema/data-type.js +102 -0
- package/dist/schema-utils/lib/schema/data-type.js.map +1 -0
- package/dist/schema-utils/lib/schema/deduce-table-schema.d.ts +14 -0
- package/dist/schema-utils/lib/schema/deduce-table-schema.d.ts.map +1 -0
- package/dist/schema-utils/lib/schema/deduce-table-schema.js +101 -0
- package/dist/schema-utils/lib/schema/deduce-table-schema.js.map +1 -0
- package/dist/schema-utils/lib/table/arrow-api/arrow-like-field.d.ts +19 -0
- package/dist/schema-utils/lib/table/arrow-api/arrow-like-field.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/arrow-api/arrow-like-field.js +37 -0
- package/dist/schema-utils/lib/table/arrow-api/arrow-like-field.js.map +1 -0
- package/dist/schema-utils/lib/table/arrow-api/arrow-like-interface.d.ts +43 -0
- package/dist/schema-utils/lib/table/arrow-api/arrow-like-interface.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/arrow-api/arrow-like-interface.js +5 -0
- package/dist/schema-utils/lib/table/arrow-api/arrow-like-interface.js.map +1 -0
- package/dist/schema-utils/lib/table/arrow-api/arrow-like-schema.d.ts +12 -0
- package/dist/schema-utils/lib/table/arrow-api/arrow-like-schema.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/arrow-api/arrow-like-schema.js +82 -0
- package/dist/schema-utils/lib/table/arrow-api/arrow-like-schema.js.map +1 -0
- package/dist/schema-utils/lib/table/arrow-api/arrow-like-table.d.ts +28 -0
- package/dist/schema-utils/lib/table/arrow-api/arrow-like-table.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/arrow-api/arrow-like-table.js +64 -0
- package/dist/schema-utils/lib/table/arrow-api/arrow-like-table.js.map +1 -0
- package/dist/schema-utils/lib/table/arrow-api/arrow-like-type.d.ts +177 -0
- package/dist/schema-utils/lib/table/arrow-api/arrow-like-type.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/arrow-api/arrow-like-type.js +441 -0
- package/dist/schema-utils/lib/table/arrow-api/arrow-like-type.js.map +1 -0
- package/dist/schema-utils/lib/table/arrow-api/enum.d.ts +92 -0
- package/dist/schema-utils/lib/table/arrow-api/enum.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/arrow-api/enum.js +98 -0
- package/dist/schema-utils/lib/table/arrow-api/enum.js.map +1 -0
- package/dist/schema-utils/lib/table/arrow-api/get-type-info.d.ts +13 -0
- package/dist/schema-utils/lib/table/arrow-api/get-type-info.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/arrow-api/get-type-info.js +28 -0
- package/dist/schema-utils/lib/table/arrow-api/get-type-info.js.map +1 -0
- package/dist/schema-utils/lib/table/arrow-api/index.d.ts +6 -0
- package/dist/schema-utils/lib/table/arrow-api/index.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/arrow-api/index.js +8 -0
- package/dist/schema-utils/lib/table/arrow-api/index.js.map +1 -0
- package/dist/schema-utils/lib/table/batch-builder/arrow-table-batch-aggregator.d.ts +10 -0
- package/dist/schema-utils/lib/table/batch-builder/arrow-table-batch-aggregator.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/batch-builder/arrow-table-batch-aggregator.js +71 -0
- package/dist/schema-utils/lib/table/batch-builder/arrow-table-batch-aggregator.js.map +1 -0
- package/dist/schema-utils/lib/table/batch-builder/arrow-table-builder.d.ts +28 -0
- package/dist/schema-utils/lib/table/batch-builder/arrow-table-builder.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/batch-builder/arrow-table-builder.js +104 -0
- package/dist/schema-utils/lib/table/batch-builder/arrow-table-builder.js.map +1 -0
- package/dist/schema-utils/lib/table/batch-builder/base-table-batch-aggregator.d.ts +19 -0
- package/dist/schema-utils/lib/table/batch-builder/base-table-batch-aggregator.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/batch-builder/base-table-batch-aggregator.js +64 -0
- package/dist/schema-utils/lib/table/batch-builder/base-table-batch-aggregator.js.map +1 -0
- package/dist/schema-utils/lib/table/batch-builder/columnar-table-batch-aggregator.d.ts +20 -0
- package/dist/schema-utils/lib/table/batch-builder/columnar-table-batch-aggregator.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/batch-builder/columnar-table-batch-aggregator.js +83 -0
- package/dist/schema-utils/lib/table/batch-builder/columnar-table-batch-aggregator.js.map +1 -0
- package/dist/schema-utils/lib/table/batch-builder/row-table-batch-aggregator.d.ts +21 -0
- package/dist/schema-utils/lib/table/batch-builder/row-table-batch-aggregator.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/batch-builder/row-table-batch-aggregator.js +86 -0
- package/dist/schema-utils/lib/table/batch-builder/row-table-batch-aggregator.js.map +1 -0
- package/dist/schema-utils/lib/table/batch-builder/table-batch-aggregator.d.ts +24 -0
- package/dist/schema-utils/lib/table/batch-builder/table-batch-aggregator.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/batch-builder/table-batch-aggregator.js +5 -0
- package/dist/schema-utils/lib/table/batch-builder/table-batch-aggregator.js.map +1 -0
- package/dist/schema-utils/lib/table/batch-builder/table-batch-builder.d.ts +52 -0
- package/dist/schema-utils/lib/table/batch-builder/table-batch-builder.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/batch-builder/table-batch-builder.js +149 -0
- package/dist/schema-utils/lib/table/batch-builder/table-batch-builder.js.map +1 -0
- package/dist/schema-utils/lib/table/batches/convert-batches.d.ts +10 -0
- package/dist/schema-utils/lib/table/batches/convert-batches.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/batches/convert-batches.js +46 -0
- package/dist/schema-utils/lib/table/batches/convert-batches.js.map +1 -0
- package/dist/schema-utils/lib/table/batches/make-arrow-batch-iterator.d.ts +17 -0
- package/dist/schema-utils/lib/table/batches/make-arrow-batch-iterator.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/batches/make-arrow-batch-iterator.js +61 -0
- package/dist/schema-utils/lib/table/batches/make-arrow-batch-iterator.js.map +1 -0
- package/dist/schema-utils/lib/table/batches/make-table-batch-iterator.d.ts +15 -0
- package/dist/schema-utils/lib/table/batches/make-table-batch-iterator.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/batches/make-table-batch-iterator.js +22 -0
- package/dist/schema-utils/lib/table/batches/make-table-batch-iterator.js.map +1 -0
- package/dist/schema-utils/lib/table/batches/make-table-from-batches.d.ts +9 -0
- package/dist/schema-utils/lib/table/batches/make-table-from-batches.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/batches/make-table-from-batches.js +63 -0
- package/dist/schema-utils/lib/table/batches/make-table-from-batches.js.map +1 -0
- package/dist/schema-utils/lib/table/query-arrow-table.d.ts +23 -0
- package/dist/schema-utils/lib/table/query-arrow-table.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/query-arrow-table.js +73 -0
- package/dist/schema-utils/lib/table/query-arrow-table.js.map +1 -0
- package/dist/schema-utils/lib/table/tables/convert-arrow-table.d.ts +24 -0
- package/dist/schema-utils/lib/table/tables/convert-arrow-table.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/tables/convert-arrow-table.js +151 -0
- package/dist/schema-utils/lib/table/tables/convert-arrow-table.js.map +1 -0
- package/dist/schema-utils/lib/table/tables/convert-table.d.ts +43 -0
- package/dist/schema-utils/lib/table/tables/convert-table.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/tables/convert-table.js +122 -0
- package/dist/schema-utils/lib/table/tables/convert-table.js.map +1 -0
- package/dist/schema-utils/lib/table/tables/make-table.d.ts +67 -0
- package/dist/schema-utils/lib/table/tables/make-table.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/tables/make-table.js +102 -0
- package/dist/schema-utils/lib/table/tables/make-table.js.map +1 -0
- package/dist/schema-utils/lib/table/tables/row-utils.d.ts +15 -0
- package/dist/schema-utils/lib/table/tables/row-utils.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/tables/row-utils.js +50 -0
- package/dist/schema-utils/lib/table/tables/row-utils.js.map +1 -0
- package/dist/schema-utils/lib/table/tables/table-accessors.d.ts +68 -0
- package/dist/schema-utils/lib/table/tables/table-accessors.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/tables/table-accessors.js +352 -0
- package/dist/schema-utils/lib/table/tables/table-accessors.js.map +1 -0
- package/dist/schema-utils/lib/table/tables/table-column.d.ts +7 -0
- package/dist/schema-utils/lib/table/tables/table-column.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/tables/table-column.js +40 -0
- package/dist/schema-utils/lib/table/tables/table-column.js.map +1 -0
- package/dist/schema-utils/lib/table/tables/table-converter/convert-tables.d.ts +9 -0
- package/dist/schema-utils/lib/table/tables/table-converter/convert-tables.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/tables/table-converter/convert-tables.js +19 -0
- package/dist/schema-utils/lib/table/tables/table-converter/convert-tables.js.map +1 -0
- package/dist/schema-utils/lib/table/tables/table-converter/table-converter.d.ts +16 -0
- package/dist/schema-utils/lib/table/tables/table-converter/table-converter.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/tables/table-converter/table-converter.js +45 -0
- package/dist/schema-utils/lib/table/tables/table-converter/table-converter.js.map +1 -0
- package/dist/schema-utils/lib/table/tables/table-types.d.ts +12 -0
- package/dist/schema-utils/lib/table/tables/table-types.d.ts.map +1 -0
- package/dist/schema-utils/lib/table/tables/table-types.js +24 -0
- package/dist/schema-utils/lib/table/tables/table-types.js.map +1 -0
- package/dist/schema-utils/lib/utils/assert.d.ts +2 -0
- package/dist/schema-utils/lib/utils/assert.d.ts.map +1 -0
- package/dist/schema-utils/lib/utils/assert.js +12 -0
- package/dist/schema-utils/lib/utils/assert.js.map +1 -0
- package/dist/schema-utils/lib/utils/async-queue.d.ts +18 -0
- package/dist/schema-utils/lib/utils/async-queue.d.ts.map +1 -0
- package/dist/schema-utils/lib/utils/async-queue.js +96 -0
- package/dist/schema-utils/lib/utils/async-queue.js.map +1 -0
- package/dist/schema-utils/types/types.d.ts +15 -0
- package/dist/schema-utils/types/types.d.ts.map +1 -0
- package/dist/schema-utils/types/types.js +5 -0
- package/dist/schema-utils/types/types.js.map +1 -0
- package/dist/vector-table-scan-source.cjs +1703 -0
- package/dist/vector-table-scan-source.cjs.map +6 -0
- package/dist/vector-table-scan-source.d.ts +2 -0
- package/dist/vector-table-scan-source.d.ts.map +1 -0
- package/dist/vector-table-scan-source.js +2 -0
- package/dist/vector-table-scan-source.js.map +1 -0
- package/dist/wkt/index.cjs +44 -0
- package/dist/wkt/index.cjs.map +7 -0
- package/dist/wkt/index.d.ts +3 -0
- package/dist/wkt/index.d.ts.map +1 -0
- package/dist/wkt/index.js +6 -0
- package/dist/wkt/index.js.map +1 -0
- package/dist/wkt/twkb/convert-geometry-to-twkb.cjs +211 -0
- package/dist/wkt/twkb/convert-geometry-to-twkb.cjs.map +7 -0
- package/dist/wkt/twkb/convert-geometry-to-twkb.d.ts +6 -0
- package/dist/wkt/twkb/convert-geometry-to-twkb.d.ts.map +1 -0
- package/dist/wkt/twkb/convert-geometry-to-twkb.js +204 -0
- package/dist/wkt/twkb/convert-geometry-to-twkb.js.map +1 -0
- package/dist/wkt/twkb/convert-twkb-to-geometry.cjs +251 -0
- package/dist/wkt/twkb/convert-twkb-to-geometry.cjs.map +7 -0
- package/dist/wkt/twkb/convert-twkb-to-geometry.d.ts +10 -0
- package/dist/wkt/twkb/convert-twkb-to-geometry.d.ts.map +1 -0
- package/dist/wkt/twkb/convert-twkb-to-geometry.js +261 -0
- package/dist/wkt/twkb/convert-twkb-to-geometry.js.map +1 -0
- package/dist/wkt/twkb/index.cjs +36 -0
- package/dist/wkt/twkb/index.cjs.map +7 -0
- package/dist/wkt/twkb/index.d.ts +3 -0
- package/dist/wkt/twkb/index.d.ts.map +1 -0
- package/dist/wkt/twkb/index.js +6 -0
- package/dist/wkt/twkb/index.js.map +1 -0
- package/dist/wkt/twkb/twkb-io.cjs +102 -0
- package/dist/wkt/twkb/twkb-io.cjs.map +7 -0
- package/dist/wkt/twkb/twkb-io.d.ts +33 -0
- package/dist/wkt/twkb/twkb-io.d.ts.map +1 -0
- package/dist/wkt/twkb/twkb-io.js +78 -0
- package/dist/wkt/twkb/twkb-io.js.map +1 -0
- package/dist/wkt/twkb/twkb-types.cjs +40 -0
- package/dist/wkt/twkb/twkb-types.cjs.map +7 -0
- package/dist/wkt/twkb/twkb-types.d.ts +11 -0
- package/dist/wkt/twkb/twkb-types.d.ts.map +1 -0
- package/dist/wkt/twkb/twkb-types.js +15 -0
- package/dist/wkt/twkb/twkb-types.js.map +1 -0
- package/dist/worker-utils/index.cjs +413 -0
- package/dist/worker-utils/index.cjs.map +6 -0
- package/dist/worker-utils/index.d.ts +22 -0
- package/dist/worker-utils/index.d.ts.map +1 -0
- package/dist/worker-utils/index.js +40 -0
- package/dist/worker-utils/index.js.map +1 -0
- package/dist/worker-utils/lib/async-queue/async-queue.d.ts +2 -0
- package/dist/worker-utils/lib/async-queue/async-queue.d.ts.map +1 -0
- package/dist/worker-utils/lib/async-queue/async-queue.js +5 -0
- package/dist/worker-utils/lib/async-queue/async-queue.js.map +1 -0
- package/dist/worker-utils/lib/env-utils/assert.d.ts +3 -0
- package/dist/worker-utils/lib/env-utils/assert.d.ts.map +1 -0
- package/dist/worker-utils/lib/env-utils/assert.js +13 -0
- package/dist/worker-utils/lib/env-utils/assert.js.map +1 -0
- package/dist/worker-utils/lib/env-utils/globals.d.ts +22 -0
- package/dist/worker-utils/lib/env-utils/globals.d.ts.map +1 -0
- package/dist/worker-utils/lib/env-utils/globals.js +30 -0
- package/dist/worker-utils/lib/env-utils/globals.js.map +1 -0
- package/dist/worker-utils/lib/env-utils/version.d.ts +3 -0
- package/dist/worker-utils/lib/env-utils/version.d.ts.map +1 -0
- package/dist/worker-utils/lib/env-utils/version.js +14 -0
- package/dist/worker-utils/lib/env-utils/version.js.map +1 -0
- package/dist/worker-utils/lib/library-utils/library-utils.d.ts +42 -0
- package/dist/worker-utils/lib/library-utils/library-utils.d.ts.map +1 -0
- package/dist/worker-utils/lib/library-utils/library-utils.js +248 -0
- package/dist/worker-utils/lib/library-utils/library-utils.js.map +1 -0
- package/dist/worker-utils/lib/node/worker_threads-browser.d.ts +14 -0
- package/dist/worker-utils/lib/node/worker_threads-browser.d.ts.map +1 -0
- package/dist/worker-utils/lib/node/worker_threads-browser.js +22 -0
- package/dist/worker-utils/lib/node/worker_threads-browser.js.map +1 -0
- package/dist/worker-utils/lib/node/worker_threads.d.ts +15 -0
- package/dist/worker-utils/lib/node/worker_threads.d.ts.map +1 -0
- package/dist/worker-utils/lib/node/worker_threads.js +16 -0
- package/dist/worker-utils/lib/node/worker_threads.js.map +1 -0
- package/dist/worker-utils/lib/npm-tag.d.ts +2 -0
- package/dist/worker-utils/lib/npm-tag.d.ts.map +1 -0
- package/dist/worker-utils/lib/npm-tag.js +5 -0
- package/dist/worker-utils/lib/npm-tag.js.map +1 -0
- package/dist/worker-utils/lib/process-utils/child-process-proxy.browser.d.ts +8 -0
- package/dist/worker-utils/lib/process-utils/child-process-proxy.browser.d.ts.map +1 -0
- package/dist/worker-utils/lib/process-utils/child-process-proxy.browser.js +18 -0
- package/dist/worker-utils/lib/process-utils/child-process-proxy.browser.js.map +1 -0
- package/dist/worker-utils/lib/process-utils/child-process-proxy.d.ts +45 -0
- package/dist/worker-utils/lib/process-utils/child-process-proxy.d.ts.map +1 -0
- package/dist/worker-utils/lib/process-utils/child-process-proxy.js +123 -0
- package/dist/worker-utils/lib/process-utils/child-process-proxy.js.map +1 -0
- package/dist/worker-utils/lib/process-utils/process-utils.d.ts +2 -0
- package/dist/worker-utils/lib/process-utils/process-utils.d.ts.map +1 -0
- package/dist/worker-utils/lib/process-utils/process-utils.js +32 -0
- package/dist/worker-utils/lib/process-utils/process-utils.js.map +1 -0
- package/dist/worker-utils/lib/worker-api/create-worker.d.ts +2 -0
- package/dist/worker-utils/lib/worker-api/create-worker.d.ts.map +1 -0
- package/dist/worker-utils/lib/worker-api/create-worker.js +5 -0
- package/dist/worker-utils/lib/worker-api/create-worker.js.map +1 -0
- package/dist/worker-utils/lib/worker-api/get-worker-url.d.ts +29 -0
- package/dist/worker-utils/lib/worker-api/get-worker-url.d.ts.map +1 -0
- package/dist/worker-utils/lib/worker-api/get-worker-url.js +99 -0
- package/dist/worker-utils/lib/worker-api/get-worker-url.js.map +1 -0
- package/dist/worker-utils/lib/worker-api/process-on-worker.d.ts +3 -0
- package/dist/worker-utils/lib/worker-api/process-on-worker.d.ts.map +1 -0
- package/dist/worker-utils/lib/worker-api/process-on-worker.js +5 -0
- package/dist/worker-utils/lib/worker-api/process-on-worker.js.map +1 -0
- package/dist/worker-utils/lib/worker-api/validate-worker-version.d.ts +9 -0
- package/dist/worker-utils/lib/worker-api/validate-worker-version.d.ts.map +1 -0
- package/dist/worker-utils/lib/worker-api/validate-worker-version.js +35 -0
- package/dist/worker-utils/lib/worker-api/validate-worker-version.js.map +1 -0
- package/dist/worker-utils/lib/worker-farm/worker-body.d.ts +2 -0
- package/dist/worker-utils/lib/worker-farm/worker-body.d.ts.map +1 -0
- package/dist/worker-utils/lib/worker-farm/worker-body.js +5 -0
- package/dist/worker-utils/lib/worker-farm/worker-body.js.map +1 -0
- package/dist/worker-utils/lib/worker-farm/worker-farm.d.ts +2 -0
- package/dist/worker-utils/lib/worker-farm/worker-farm.d.ts.map +1 -0
- package/dist/worker-utils/lib/worker-farm/worker-farm.js +5 -0
- package/dist/worker-utils/lib/worker-farm/worker-farm.js.map +1 -0
- package/dist/worker-utils/lib/worker-farm/worker-job.d.ts +2 -0
- package/dist/worker-utils/lib/worker-farm/worker-job.d.ts.map +1 -0
- package/dist/worker-utils/lib/worker-farm/worker-job.js +5 -0
- package/dist/worker-utils/lib/worker-farm/worker-job.js.map +1 -0
- package/dist/worker-utils/lib/worker-farm/worker-pool.d.ts +2 -0
- package/dist/worker-utils/lib/worker-farm/worker-pool.d.ts.map +1 -0
- package/dist/worker-utils/lib/worker-farm/worker-pool.js +5 -0
- package/dist/worker-utils/lib/worker-farm/worker-pool.js.map +1 -0
- package/dist/worker-utils/lib/worker-farm/worker-thread.d.ts +2 -0
- package/dist/worker-utils/lib/worker-farm/worker-thread.d.ts.map +1 -0
- package/dist/worker-utils/lib/worker-farm/worker-thread.js +5 -0
- package/dist/worker-utils/lib/worker-farm/worker-thread.js.map +1 -0
- package/dist/worker-utils/lib/worker-utils/get-loadable-worker-url.d.ts +14 -0
- package/dist/worker-utils/lib/worker-utils/get-loadable-worker-url.d.ts.map +1 -0
- package/dist/worker-utils/lib/worker-utils/get-loadable-worker-url.js +72 -0
- package/dist/worker-utils/lib/worker-utils/get-loadable-worker-url.js.map +1 -0
- package/dist/worker-utils/lib/worker-utils/get-transfer-list.d.ts +15 -0
- package/dist/worker-utils/lib/worker-utils/get-transfer-list.d.ts.map +1 -0
- package/dist/worker-utils/lib/worker-utils/get-transfer-list.js +86 -0
- package/dist/worker-utils/lib/worker-utils/get-transfer-list.js.map +1 -0
- package/dist/worker-utils/lib/worker-utils/remove-nontransferable-options.d.ts +6 -0
- package/dist/worker-utils/lib/worker-utils/remove-nontransferable-options.d.ts.map +1 -0
- package/dist/worker-utils/lib/worker-utils/remove-nontransferable-options.js +27 -0
- package/dist/worker-utils/lib/worker-utils/remove-nontransferable-options.js.map +1 -0
- package/dist/worker-utils/null-worker-node.js +473 -0
- package/dist/worker-utils/null-worker-node.js.map +7 -0
- package/dist/worker-utils/null-worker.js +472 -0
- package/dist/worker-utils/null-worker.js.map +7 -0
- package/dist/worker-utils/types.d.ts +2 -0
- package/dist/worker-utils/types.d.ts.map +1 -0
- package/dist/worker-utils/types.js +5 -0
- package/dist/worker-utils/types.js.map +1 -0
- package/dist/worker-utils/workers/null-worker.d.ts +2 -0
- package/dist/worker-utils/workers/null-worker.d.ts.map +1 -0
- package/dist/worker-utils/workers/null-worker.js +17 -0
- package/dist/worker-utils/workers/null-worker.js.map +1 -0
- package/dist/workers/null-worker-node.js +1 -1
- package/dist/workers/null-worker-node.js.map +1 -1
- package/dist/workers/null-worker.js +1 -1
- package/dist/workers/null-worker.js.map +1 -1
- package/package.json +349 -13
- package/src/arrow-geometry/arrow-geoarrow-adapter.ts +568 -0
- package/src/arrow-geometry/binary-features.ts +399 -0
- package/src/arrow-geometry/binary-geometry-to-wkb.ts +245 -0
- package/src/arrow-geometry/feature-collection-to-arrow.ts +158 -0
- package/src/arrow-geometry/feature-table.ts +936 -0
- package/src/arrow-geometry/geoarrow-builder.ts +862 -0
- package/src/arrow-geometry/geoarrow-union-kind.ts +47 -0
- package/src/arrow-geometry/geojson-table.ts +156 -0
- package/src/arrow-geometry/geometry-codecs.ts +186 -0
- package/src/arrow-geometry/geometry-field.ts +349 -0
- package/src/arrow-geometry/geometry-to-wkt.ts +121 -0
- package/src/arrow-geometry/geometry-utils.ts +29 -0
- package/src/arrow-geometry/index.ts +42 -0
- package/src/arrow-geometry/legacy-binary/convert-flat-geojson-to-binary-features.ts +583 -0
- package/src/arrow-geometry/legacy-binary/convert-geojson-to-binary-features.ts +45 -0
- package/src/arrow-geometry/legacy-binary/convert-geojson-to-flat-geojson.ts +177 -0
- package/src/arrow-geometry/legacy-binary/flat-geojson-to-binary-types.ts +62 -0
- package/src/arrow-geometry/legacy-binary/geometry-info.ts +129 -0
- package/src/arrow-geometry/legacy-binary/transform-coordinates.ts +72 -0
- package/src/arrow-geometry/legacy-binary.ts +24 -0
- package/src/arrow-geometry/native-geometry.ts +278 -0
- package/src/arrow-geometry/sampled-bounds.ts +46 -0
- package/src/arrow-geometry/triangulate-wkb.ts +1133 -0
- package/src/arrow-geometry/wkb-arrow-utils.ts +202 -0
- package/src/arrow-geometry/wkb-builder.ts +223 -0
- package/src/arrow-geometry/wkb-statistics.ts +70 -0
- package/src/arrow-geometry/wkb-table.ts +62 -0
- package/src/arrow-geometry/wkb-types.ts +21 -0
- package/src/cluster-source.ts +1 -0
- package/src/constants/index.ts +23 -0
- package/src/federated-table-scan-source.ts +1 -0
- package/src/geoarrow/binary-polygon-to-geoarrow.ts +120 -0
- package/src/geoarrow/clustering/cluster-index.ts +510 -0
- package/src/geoarrow/clustering/cluster-source.ts +281 -0
- package/src/geoarrow/clustering/get-representative-point.ts +192 -0
- package/src/geoarrow/compatibility.ts +65 -0
- package/src/geoarrow/convert-table-to-geoarrow.ts +256 -0
- package/src/geoarrow/deprecated.ts +73 -0
- package/src/geoarrow/geo-column/geo-column-info.ts +114 -0
- package/src/geoarrow/geo-column/geo-column.ts +85 -0
- package/src/geoarrow/geoarrow-bounds.ts +176 -0
- package/src/geoarrow/geoarrow-builder.ts +21 -0
- package/src/geoarrow/geoarrow-capabilities.ts +581 -0
- package/src/geoarrow/geoarrow-conformance.ts +177 -0
- package/src/geoarrow/geoarrow-converter/convert-geoarrow-geometry.ts +2168 -0
- package/src/geoarrow/geoarrow-converter/convert-geoarrow.ts +75 -0
- package/src/geoarrow/geoarrow-converter/geoarrow-converter.ts +105 -0
- package/src/geoarrow/geoarrow-converter/geoarrow-geometry-converter.ts +66 -0
- package/src/geoarrow/geoarrow-functions.ts +293 -0
- package/src/geoarrow/geoarrow-inspection.ts +296 -0
- package/src/geoarrow/geoarrow-layout.ts +844 -0
- package/src/geoarrow/geoarrow-resource-limits.ts +94 -0
- package/src/geoarrow/geoarrow-spatial-index.ts +251 -0
- package/src/geoarrow/geoarrow-stream.ts +377 -0
- package/src/geoarrow/geoarrow-types.ts +91 -0
- package/src/geoarrow/get-geo-column-from-geoarrow.ts.disabled +251 -0
- package/src/geoarrow/get-geoarrow-geometry-info.ts +147 -0
- package/src/geoarrow/get-geoarrow-native-geometry.ts +8 -0
- package/src/geoarrow/get-geoarrow-vertex-count.ts +225 -0
- package/src/geoarrow/index.ts +260 -0
- package/src/geoarrow/lib/arrow-geoarrow-adapter.ts +12 -0
- package/src/geoarrow/lib/binary-geometry-api/binary-geometry-info.ts +75 -0
- package/src/geoarrow/lib/feature-collection-converters/convert-arrow-binary-feature-collection.ts +576 -0
- package/src/geoarrow/lib/feature-collection-converters/convert-binary-features-to-geojson.ts +152 -0
- package/src/geoarrow/lib/feature-collection-converters/convert-geometry-column-to-binary-feature-collection.ts +1598 -0
- package/src/geoarrow/lib/feature-collection-converters/feature-collection-converter/convert-feature-collection.ts +212 -0
- package/src/geoarrow/lib/feature-collection-converters/feature-collection-converter/feature-collection-converter.ts +96 -0
- package/src/geoarrow/lib/geoarrow/geoarrow-union-kind.ts +4 -0
- package/src/geoarrow/lib/geometry-converters/convert-binary-geometry-to-geojson.ts +154 -0
- package/src/geoarrow/lib/geometry-converters/convert-geoarrow-to-geojson.ts +195 -0
- package/src/geoarrow/lib/geometry-converters/geometry-converter/geometry-converter.ts +143 -0
- package/src/geoarrow/lib/geometry-converters/wkb/convert-wkb-to-binary-geometry.ts +86 -0
- package/src/geoarrow/lib/geometry-converters/wkb/helpers/parse-wkb-header.ts +116 -0
- package/src/geoarrow/lib/geometry-converters/wkb/helpers/wkb-types.ts +82 -0
- package/src/geoarrow/lib/geometry-predicates.ts +170 -0
- package/src/geoarrow/lib/kernels/decode-wkt-native.ts +752 -0
- package/src/geoarrow/lib/kernels/encode-geoarrow-box.ts +303 -0
- package/src/geoarrow/lib/kernels/encode-geoarrow-wkt.ts +373 -0
- package/src/geoarrow/lib/kernels/geoarrow-union.ts +97 -0
- package/src/geoarrow/lib/table-converters/convert-geoarrow-table.ts +120 -0
- package/src/geoarrow/lib/table-converters/convert-wkb-table-to-geojson.ts +16 -0
- package/src/geoarrow/map-geoarrow-coordinates.ts +282 -0
- package/src/geoarrow/mesharrow/arrow-fixed-size-list-utils.ts +62 -0
- package/src/geoarrow/mesharrow/arrow-list-of-fixed-size-list-utils.ts +47 -0
- package/src/geoarrow/mesharrow/get-bounding-box.ts +37 -0
- package/src/geoarrow/mesharrow/get-deck-binary-data.ts +70 -0
- package/src/geoarrow/mesharrow/mesh-accessors.ts +27 -0
- package/src/geoarrow/metadata/geoarrow-metadata.ts +91 -0
- package/src/geoarrow/metadata/geoparquet-metadata-schema.ts +71 -0
- package/src/geoarrow/metadata/geoparquet-metadata.ts +16 -0
- package/src/geoarrow/metadata/merge-geoarrow-metadata.ts +357 -0
- package/src/geoarrow/metadata/metadata-utils.ts +6 -0
- package/src/geoarrow/rewind-geoarrow.ts +268 -0
- package/src/index.ts +10 -10
- package/src/iterators/make-iterator/make-iterator.ts +1 -1
- package/src/iterators/make-iterator/make-stream-iterator.ts +1 -1
- package/src/iterators/make-iterator/make-string-iterator.ts +1 -1
- package/src/lib/api/core-api.ts +1 -1
- package/src/lib/api/create-data-source.ts +2 -2
- package/src/lib/api/encode-table.ts +2 -2
- package/src/lib/api/encode.ts +3 -3
- package/src/lib/api/load-in-batches.ts +2 -2
- package/src/lib/api/load-loader.ts +155 -1
- package/src/lib/api/load.ts +2 -2
- package/src/lib/api/parse-file.ts +5 -3
- package/src/lib/api/parse-in-batches.ts +49 -11
- package/src/lib/api/parse-sync.ts +2 -2
- package/src/lib/api/parse.ts +8 -6
- package/src/lib/api/preload.ts +27 -7
- package/src/lib/api/register-loaders.ts +1 -1
- package/src/lib/api/select-loader.ts +3 -3
- package/src/lib/api/select-source.ts +1 -1
- package/src/lib/common.ts +1 -1
- package/src/lib/fetch/fetch-file.ts +2 -2
- package/src/lib/filesystems/browser-filesystem.ts +2 -2
- package/src/lib/init.ts +1 -1
- package/src/lib/loader-utils/get-data.ts +2 -2
- package/src/lib/loader-utils/get-fetch-function.ts +6 -4
- package/src/lib/loader-utils/loader-context.ts +8 -2
- package/src/lib/loader-utils/loggers.ts +1 -1
- package/src/lib/loader-utils/normalize-loader.ts +2 -2
- package/src/lib/loader-utils/option-defaults.ts +4 -2
- package/src/lib/loader-utils/option-utils.ts +2 -2
- package/src/lib/utils/resource-utils.ts +1 -1
- package/src/lib/utils/response-utils.ts +1 -1
- package/src/loader-utils/format-types.ts +49 -0
- package/src/loader-utils/index.ts +534 -0
- package/src/loader-utils/json-loader.ts +39 -0
- package/src/loader-utils/lib/binary-utils/array-buffer-utils.ts +114 -0
- package/src/loader-utils/lib/binary-utils/binary-chunk-reader.ts +297 -0
- package/src/loader-utils/lib/binary-utils/dataview-copy-utils.ts +121 -0
- package/src/loader-utils/lib/binary-utils/encode-array-buffer-to-base64.ts +17 -0
- package/src/loader-utils/lib/binary-utils/get-first-characters.ts +46 -0
- package/src/loader-utils/lib/binary-utils/hex-transcoder.ts +54 -0
- package/src/loader-utils/lib/binary-utils/memory-conversion-utils.ts +105 -0
- package/src/loader-utils/lib/binary-utils/memory-copy-utils.ts +69 -0
- package/src/loader-utils/lib/crs/crs-reprojection.ts +52 -0
- package/src/loader-utils/lib/env-utils/assert.ts +13 -0
- package/src/loader-utils/lib/env-utils/globals.ts +36 -0
- package/src/loader-utils/lib/file-provider/data-view-file.ts +83 -0
- package/src/loader-utils/lib/file-provider/file-handle-file.ts +114 -0
- package/src/loader-utils/lib/file-provider/file-provider-interface.ts +60 -0
- package/src/loader-utils/lib/file-provider/file-provider.ts +130 -0
- package/src/loader-utils/lib/files/array-buffer-file.ts +46 -0
- package/src/loader-utils/lib/files/blob-file.ts +45 -0
- package/src/loader-utils/lib/files/file.ts +39 -0
- package/src/loader-utils/lib/files/http-file-transport.ts +432 -0
- package/src/loader-utils/lib/files/http-file-types.ts +60 -0
- package/src/loader-utils/lib/files/http-file.ts +267 -0
- package/src/loader-utils/lib/files/node-file-facade.ts +57 -0
- package/src/loader-utils/lib/files/sources.ts +154 -0
- package/src/loader-utils/lib/filesystems/filesystem.ts +40 -0
- package/src/loader-utils/lib/filesystems/node-filesystem-facade.ts +65 -0
- package/src/loader-utils/lib/iterators/async-iteration.ts +136 -0
- package/src/loader-utils/lib/iterators/text-iterators.ts +76 -0
- package/src/loader-utils/lib/javascript-utils/is-type.ts +130 -0
- package/src/loader-utils/lib/laz/LASZIP-LICENSE +202 -0
- package/src/loader-utils/lib/laz/LASZIP-NOTICE +6 -0
- package/src/loader-utils/lib/laz/laz-arithmetic-encoder.ts +446 -0
- package/src/loader-utils/lib/laz/laz-chunk-decoder.ts +5251 -0
- package/src/loader-utils/lib/laz/laz-chunk-encoder.ts +1909 -0
- package/src/loader-utils/lib/log-utils/log.ts +28 -0
- package/src/loader-utils/lib/module-utils/initialize-wasm-module.ts +51 -0
- package/src/loader-utils/lib/module-utils/js-module-utils.ts +44 -0
- package/src/loader-utils/lib/node/buffer.browser.ts +22 -0
- package/src/loader-utils/lib/node/buffer.ts +40 -0
- package/src/loader-utils/lib/node/fs.browser.ts +5 -0
- package/src/loader-utils/lib/node/promisify.ts +72 -0
- package/src/loader-utils/lib/node/stream.browser.ts +5 -0
- package/src/loader-utils/lib/node/stream.ts +12 -0
- package/src/loader-utils/lib/option-utils/merge-options.ts +50 -0
- package/src/loader-utils/lib/parser-utils/parse-json.ts +16 -0
- package/src/loader-utils/lib/path-utils/cached-uri-resolver.ts +69 -0
- package/src/loader-utils/lib/path-utils/file-aliases.ts +49 -0
- package/src/loader-utils/lib/path-utils/get-cwd.ts +12 -0
- package/src/loader-utils/lib/path-utils/path.ts +173 -0
- package/src/loader-utils/lib/request-utils/abort-utils.ts +64 -0
- package/src/loader-utils/lib/request-utils/authentication.ts +134 -0
- package/src/loader-utils/lib/request-utils/parse-content-type.ts +22 -0
- package/src/loader-utils/lib/request-utils/range-request-cache.ts +279 -0
- package/src/loader-utils/lib/request-utils/range-request-scheduler.ts +899 -0
- package/src/loader-utils/lib/request-utils/request-cache.ts +296 -0
- package/src/loader-utils/lib/request-utils/request-credentials.ts +574 -0
- package/src/loader-utils/lib/request-utils/request-scheduler.ts +230 -0
- package/src/loader-utils/lib/scan-utils/columnar-predicate.ts +397 -0
- package/src/loader-utils/lib/scan-utils/experimental-scan-options.ts +46 -0
- package/src/loader-utils/lib/scan-utils/point-cloud-query.ts +176 -0
- package/src/loader-utils/lib/scan-utils/raster-query.ts +82 -0
- package/src/loader-utils/lib/scan-utils/relational-query.ts +188 -0
- package/src/loader-utils/lib/scan-utils/scan-executor.ts +208 -0
- package/src/loader-utils/lib/scan-utils/scan-fragments.ts +33 -0
- package/src/loader-utils/lib/scan-utils/scan-query-metadata.ts +439 -0
- package/src/loader-utils/lib/scan-utils/table-query-explain.ts +88 -0
- package/src/loader-utils/lib/scan-utils/table-query.ts +163 -0
- package/src/loader-utils/lib/scan-utils/table-scan-batch.ts +200 -0
- package/src/loader-utils/lib/sources/catalog-source.ts +42 -0
- package/src/loader-utils/lib/sources/data-source-manager.ts +569 -0
- package/src/loader-utils/lib/sources/data-source.ts +236 -0
- package/src/loader-utils/lib/sources/image-source.ts +66 -0
- package/src/loader-utils/lib/sources/image-tile-source.ts +22 -0
- package/src/loader-utils/lib/sources/raster-coverage.ts +92 -0
- package/src/loader-utils/lib/sources/raster-region.ts +35 -0
- package/src/loader-utils/lib/sources/raster-sampling.ts +213 -0
- package/src/loader-utils/lib/sources/raster-source.ts +344 -0
- package/src/loader-utils/lib/sources/service-capabilities.ts +50 -0
- package/src/loader-utils/lib/sources/tile-grid.ts +414 -0
- package/src/loader-utils/lib/sources/tile-source-adapter.ts +117 -0
- package/src/loader-utils/lib/sources/tile-source-utils.ts +19 -0
- package/src/loader-utils/lib/sources/tile-source.ts +200 -0
- package/src/loader-utils/lib/sources/utils/image-type.ts +14 -0
- package/src/loader-utils/lib/sources/utils/utils.ts +31 -0
- package/src/loader-utils/lib/sources/vector-source.ts +89 -0
- package/src/loader-utils/lib/sources/vector-tile-source.ts +29 -0
- package/src/loader-utils/lib/sources/xyz-grid-options.ts +90 -0
- package/src/loader-utils/lib/sources/xyz-grid.ts +88 -0
- package/src/loader-utils/lib/worker-loader-utils/create-loader-worker.ts +256 -0
- package/src/loader-utils/lib/worker-loader-utils/encode-with-worker.ts +28 -0
- package/src/loader-utils/lib/worker-loader-utils/parse-with-worker.ts +392 -0
- package/src/loader-utils/loader-types.ts +545 -0
- package/src/loader-utils/source-types.ts +76 -0
- package/src/loader-utils/tile-grid.ts +8 -0
- package/src/loader-utils/types.ts +83 -0
- package/src/loader-utils/workers/json-worker.ts +8 -0
- package/src/loader-utils/writer-types.ts +107 -0
- package/src/null-loader.ts +2 -2
- package/src/polyfills/README.md +16 -0
- package/src/polyfills/buffer/btoa.node.ts +15 -0
- package/src/polyfills/buffer/to-array-buffer.node.ts +12 -0
- package/src/polyfills/crypto/node-hash.ts +78 -0
- package/src/polyfills/file/file-reader.ts +59 -0
- package/src/polyfills/file/install-file-polyfills.ts +14 -0
- package/src/polyfills/filesystems/fetch-node.ts +98 -0
- package/src/polyfills/filesystems/node-file.ts +169 -0
- package/src/polyfills/filesystems/node-filesystem.ts +54 -0
- package/src/polyfills/filesystems/stream-utils.node.ts +81 -0
- package/src/polyfills/images/encode-image-node.ts +52 -0
- package/src/polyfills/images/image-codecs-node.ts +5 -0
- package/src/polyfills/images/load-sharp.ts +13 -0
- package/src/polyfills/images/node-image-bitmap.ts +81 -0
- package/src/polyfills/images/node-image-formats.ts +12 -0
- package/src/polyfills/images/parse-image-node.ts +45 -0
- package/src/polyfills/index.browser.ts +23 -0
- package/src/polyfills/index.ts +132 -0
- package/src/polyfills/libs/encoding-indexes-asian.js +15 -0
- package/src/polyfills/load-library/require-utils.node.ts +108 -0
- package/src/polyfills/streams/make-node-stream.ts +61 -0
- package/src/polyfills/text-encoder/encoding-indexes.ts +36 -0
- package/src/polyfills/text-encoder/text-encoder.ts +3085 -0
- package/src/polyfills/utils/assert.ts +9 -0
- package/src/polyfills/utils/buffer-utils.ts +40 -0
- package/src/polyfills/utils/filesystem-types.ts +13 -0
- package/src/polyfills/utils/is-browser.ts +8 -0
- package/src/polyfills/utils/path-utils.ts +31 -0
- package/src/polyfills/wip/fetch-browser/fetch-file.browser.d.ts +34 -0
- package/src/scan/arrow-query.ts +17 -0
- package/src/scan/bind-sql-predicate.ts +21 -0
- package/src/scan/federated-table-scan-source.ts +996 -0
- package/src/scan/index.ts +114 -0
- package/src/scan/parse-sql-predicate.ts +381 -0
- package/src/scan/query-arrow-table.ts +846 -0
- package/src/scan/rows-to-arrow.ts +45 -0
- package/src/scan/scan-engine.ts +96 -0
- package/src/scan/scan-query.ts +27 -0
- package/src/scan/sql-predicate-schema.ts +251 -0
- package/src/scan/sql-predicate-types.ts +87 -0
- package/src/scan/sql-predicate-zod.ts +52 -0
- package/src/scan/sql-predicate.ts +28 -0
- package/src/scan/table-query-capabilities.ts +29 -0
- package/src/scan/table-query.ts +79 -0
- package/src/scan/vector-table-scan-source.ts +296 -0
- package/src/schema/categories/category-gis.ts +63 -0
- package/src/schema/categories/category-image.ts +23 -0
- package/src/schema/categories/category-mesh.ts +138 -0
- package/src/schema/categories/category-table.ts +125 -0
- package/src/schema/categories/category-texture.ts +259 -0
- package/src/schema/deprecated/mesh-utils.ts +46 -0
- package/src/schema/float16.ts +111 -0
- package/src/schema/geometry/arrow-binary-features.ts +54 -0
- package/src/schema/geometry/binary-features.ts +43 -0
- package/src/schema/geometry/binary-geometries.ts +45 -0
- package/src/schema/geometry/flat-geometries.ts +72 -0
- package/src/schema/geometry/geoarrow.ts +116 -0
- package/src/schema/geospatial-metadata-zod-schema.ts +163 -0
- package/src/schema/index.ts +169 -0
- package/src/schema/metadata.ts +115 -0
- package/src/schema/types/batch.ts +47 -0
- package/src/schema/types/schema.ts +86 -0
- package/src/schema/types/types.ts +52 -0
- package/src/schema-utils/arrow-transport.ts +7 -0
- package/src/schema-utils/deprecated.ts +53 -0
- package/src/schema-utils/index.ts +165 -0
- package/src/schema-utils/lib/arrow/arrow-table-transport.ts +282 -0
- package/src/schema-utils/lib/arrow/split-arrow-buffers.ts +247 -0
- package/src/schema-utils/lib/arrow-utils/arrow-fixed-size-list-utils.ts +78 -0
- package/src/schema-utils/lib/arrow-utils/arrow-list-of-fixed-size-list-utils.ts +48 -0
- package/src/schema-utils/lib/converters/convert.ts +142 -0
- package/src/schema-utils/lib/converters/converters.ts +6 -0
- package/src/schema-utils/lib/converters/types.ts +44 -0
- package/src/schema-utils/lib/mesh/convert-mesh-to-table.ts +311 -0
- package/src/schema-utils/lib/mesh/convert-table-to-mesh.ts +257 -0
- package/src/schema-utils/lib/mesh/deduce-mesh-schema.ts +85 -0
- package/src/schema-utils/lib/mesh/mesh-utils.ts +73 -0
- package/src/schema-utils/lib/mesh/point-cloud-tiler.ts +485 -0
- package/src/schema-utils/lib/schema/convert-arrow-schema.ts +552 -0
- package/src/schema-utils/lib/schema/data-type.ts +122 -0
- package/src/schema-utils/lib/schema/deduce-table-schema.ts +119 -0
- package/src/schema-utils/lib/table/arrow-api/arrow-like-field.ts +53 -0
- package/src/schema-utils/lib/table/arrow-api/arrow-like-interface.ts +84 -0
- package/src/schema-utils/lib/table/arrow-api/arrow-like-schema.ts +101 -0
- package/src/schema-utils/lib/table/arrow-api/arrow-like-table.ts +85 -0
- package/src/schema-utils/lib/table/arrow-api/arrow-like-type.ts +500 -0
- package/src/schema-utils/lib/table/arrow-api/enum.ts +99 -0
- package/src/schema-utils/lib/table/arrow-api/get-type-info.ts +38 -0
- package/src/schema-utils/lib/table/arrow-api/index.ts +50 -0
- package/src/schema-utils/lib/table/batch-builder/arrow-table-batch-aggregator-builders.ts.disabled +190 -0
- package/src/schema-utils/lib/table/batch-builder/arrow-table-batch-aggregator.ts +85 -0
- package/src/schema-utils/lib/table/batch-builder/arrow-table-builder.ts +123 -0
- package/src/schema-utils/lib/table/batch-builder/base-table-batch-aggregator.ts +82 -0
- package/src/schema-utils/lib/table/batch-builder/columnar-table-batch-aggregator.ts +103 -0
- package/src/schema-utils/lib/table/batch-builder/row-table-batch-aggregator.ts +108 -0
- package/src/schema-utils/lib/table/batch-builder/table-batch-aggregator.ts +28 -0
- package/src/schema-utils/lib/table/batch-builder/table-batch-builder.ts +185 -0
- package/src/schema-utils/lib/table/batches/convert-batches.ts +83 -0
- package/src/schema-utils/lib/table/batches/make-arrow-batch-iterator.ts +81 -0
- package/src/schema-utils/lib/table/batches/make-table-batch-iterator.ts +25 -0
- package/src/schema-utils/lib/table/batches/make-table-from-batches.ts +84 -0
- package/src/schema-utils/lib/table/query-arrow-table.ts +130 -0
- package/src/schema-utils/lib/table/tables/convert-arrow-table.ts +198 -0
- package/src/schema-utils/lib/table/tables/convert-table.ts +152 -0
- package/src/schema-utils/lib/table/tables/make-table.ts +127 -0
- package/src/schema-utils/lib/table/tables/row-utils.ts +59 -0
- package/src/schema-utils/lib/table/tables/table-accessors.ts +418 -0
- package/src/schema-utils/lib/table/tables/table-column.ts +49 -0
- package/src/schema-utils/lib/table/tables/table-converter/convert-tables.ts +35 -0
- package/src/schema-utils/lib/table/tables/table-converter/table-converter.ts +57 -0
- package/src/schema-utils/lib/table/tables/table-types.ts +37 -0
- package/src/schema-utils/lib/utils/assert.ts +12 -0
- package/src/schema-utils/lib/utils/async-queue.ts +109 -0
- package/src/schema-utils/types/types.ts +45 -0
- package/src/vector-table-scan-source.ts +1 -0
- package/src/wkt/index.ts +11 -0
- package/src/wkt/twkb/convert-geometry-to-twkb.ts +317 -0
- package/src/wkt/twkb/convert-twkb-to-geometry.ts +373 -0
- package/src/wkt/twkb/index.ts +6 -0
- package/src/wkt/twkb/twkb-io.ts +85 -0
- package/src/wkt/twkb/twkb-types.ts +14 -0
- package/src/worker-utils/index.ts +82 -0
- package/src/worker-utils/lib/async-queue/async-queue.ts +5 -0
- package/src/worker-utils/lib/env-utils/assert.ts +14 -0
- package/src/worker-utils/lib/env-utils/globals.ts +40 -0
- package/src/worker-utils/lib/env-utils/version.ts +18 -0
- package/src/worker-utils/lib/library-utils/library-utils.ts +303 -0
- package/src/worker-utils/lib/node/worker_threads-browser.ts +34 -0
- package/src/worker-utils/lib/node/worker_threads.ts +58 -0
- package/src/worker-utils/lib/npm-tag.ts +5 -0
- package/src/worker-utils/lib/process-utils/child-process-proxy.browser.ts +23 -0
- package/src/worker-utils/lib/process-utils/child-process-proxy.ts +165 -0
- package/src/worker-utils/lib/process-utils/process-utils.ts +34 -0
- package/src/worker-utils/lib/worker-api/create-worker.ts +5 -0
- package/src/worker-utils/lib/worker-api/get-worker-url.ts +128 -0
- package/src/worker-utils/lib/worker-api/process-on-worker.ts +12 -0
- package/src/worker-utils/lib/worker-api/validate-worker-version.ts +44 -0
- package/src/worker-utils/lib/worker-farm/worker-body.ts +5 -0
- package/src/worker-utils/lib/worker-farm/worker-farm.ts +5 -0
- package/src/worker-utils/lib/worker-farm/worker-job.ts +5 -0
- package/src/worker-utils/lib/worker-farm/worker-pool.ts +5 -0
- package/src/worker-utils/lib/worker-farm/worker-thread.ts +5 -0
- package/src/worker-utils/lib/worker-utils/get-loadable-worker-url.ts +81 -0
- package/src/worker-utils/lib/worker-utils/get-transfer-list.ts +93 -0
- package/src/worker-utils/lib/worker-utils/remove-nontransferable-options.ts +27 -0
- package/src/worker-utils/types.ts +18 -0
- package/src/worker-utils/workers/null-worker.ts +20 -0
- package/src/workers/null-worker-node.ts +1 -1
- package/src/workers/null-worker.ts +1 -1
- package/third-party-licenses/Apache-2.0 +73 -0
- package/third-party-licenses/fetch-LICENSE +20 -0
- package/third-party-licenses/fetch-progress-LICENSE +21 -0
- package/third-party-licenses/path-resolve-LICENSE +21 -0
- package/third-party-licenses/retained-MIT-LICENSE +23 -0
- package/third-party-licenses/text-encoding-LICENSE +29 -0
- package/third-party-licenses/wkx-LICENSE +20 -0
|
@@ -0,0 +1,545 @@
|
|
|
1
|
+
// loaders.gl
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
// Copyright (c) vis.gl contributors
|
|
4
|
+
import * as arrow from 'apache-arrow';
|
|
5
|
+
/**
|
|
6
|
+
* Incremental two-pass writer for fixed-type GeoArrow geometry columns.
|
|
7
|
+
*
|
|
8
|
+
* The same geometry event sequence can be sent to a measure-mode builder and then
|
|
9
|
+
* to a write-mode builder. Measure mode returns exact buffer sizes; write mode
|
|
10
|
+
* fills caller-provided typed arrays directly.
|
|
11
|
+
*/
|
|
12
|
+
export class GeoArrowBuilder {
|
|
13
|
+
/** GeoArrow extension encoding emitted by this builder. */
|
|
14
|
+
encoding;
|
|
15
|
+
/** Whether coordinate tuples include Z. */
|
|
16
|
+
hasZ;
|
|
17
|
+
/** Whether coordinate tuples include M. */
|
|
18
|
+
hasM;
|
|
19
|
+
/** Exact coordinate dimension emitted by this builder. */
|
|
20
|
+
dimension;
|
|
21
|
+
state;
|
|
22
|
+
/** Creates a GeoArrow builder in measure or write mode. */
|
|
23
|
+
constructor(options) {
|
|
24
|
+
this.encoding = options.encoding;
|
|
25
|
+
this.dimension =
|
|
26
|
+
options.dimension ||
|
|
27
|
+
(options.hasZ && options.hasM ? 'xyzm' : options.hasZ ? 'xyz' : options.hasM ? 'xym' : 'xy');
|
|
28
|
+
this.hasZ = this.dimension === 'xyz' || this.dimension === 'xyzm';
|
|
29
|
+
this.hasM = this.dimension === 'xym' || this.dimension === 'xyzm';
|
|
30
|
+
const coordinateLayout = options.coordinateLayout || 'interleaved';
|
|
31
|
+
const offsetType = options.offsetType || 'int32';
|
|
32
|
+
this.state = {
|
|
33
|
+
mode: options.mode,
|
|
34
|
+
encoding: options.encoding,
|
|
35
|
+
coordinateSize: getCoordinateSize(this.dimension),
|
|
36
|
+
coordinateLayout,
|
|
37
|
+
offsetType,
|
|
38
|
+
transform: options.transform,
|
|
39
|
+
length: 0,
|
|
40
|
+
nullCount: 0,
|
|
41
|
+
coordinateCount: 0,
|
|
42
|
+
geometryChildCount: 0,
|
|
43
|
+
partChildCount: 0,
|
|
44
|
+
geometryOffsetCount: 1,
|
|
45
|
+
partOffsetCount: 1,
|
|
46
|
+
ringOffsetCount: 1,
|
|
47
|
+
target: options.mode === 'write' ? options.target : undefined
|
|
48
|
+
};
|
|
49
|
+
this.initializeOffsets();
|
|
50
|
+
}
|
|
51
|
+
/** Emits one null geometry row. */
|
|
52
|
+
writeNullGeometry() {
|
|
53
|
+
this.state.length++;
|
|
54
|
+
this.state.nullCount++;
|
|
55
|
+
if (this.encoding !== 'geoarrow.point' && this.encoding !== 'geoarrow.box') {
|
|
56
|
+
this.writeGeometryOffset();
|
|
57
|
+
}
|
|
58
|
+
if (this.encoding === 'geoarrow.point')
|
|
59
|
+
this.state.coordinateCount++;
|
|
60
|
+
}
|
|
61
|
+
/** Begins one top-level geometry. */
|
|
62
|
+
beginGeometry(_type, _count) {
|
|
63
|
+
this.setValid(this.state.length);
|
|
64
|
+
this.state.length++;
|
|
65
|
+
}
|
|
66
|
+
/** Begins one point geometry or nested point. */
|
|
67
|
+
beginPoint() {
|
|
68
|
+
if (this.encoding === 'geoarrow.point')
|
|
69
|
+
this.beginGeometry();
|
|
70
|
+
}
|
|
71
|
+
/** Begins one axis-aligned GeoArrow box row. */
|
|
72
|
+
beginBox() {
|
|
73
|
+
if (this.encoding !== 'geoarrow.box') {
|
|
74
|
+
throw new Error(`Cannot write Box into ${this.encoding}`);
|
|
75
|
+
}
|
|
76
|
+
this.beginGeometry();
|
|
77
|
+
}
|
|
78
|
+
/** Writes one axis-aligned box in canonical minimum-then-maximum ordinate order. */
|
|
79
|
+
writeBox(xmin, ymin, xmax, ymax, zmin, zmax, mmin, mmax) {
|
|
80
|
+
if (this.encoding !== 'geoarrow.box') {
|
|
81
|
+
throw new Error(`Cannot write Box into ${this.encoding}`);
|
|
82
|
+
}
|
|
83
|
+
const coordinateIndex = this.state.coordinateCount;
|
|
84
|
+
const values = getBoxValues(this.dimension, xmin, ymin, xmax, ymax, zmin, zmax, mmin, mmax);
|
|
85
|
+
if (this.state.mode === 'write') {
|
|
86
|
+
this.writeBoxValues(this.getTarget().coordinates, coordinateIndex, values);
|
|
87
|
+
}
|
|
88
|
+
this.state.coordinateCount++;
|
|
89
|
+
}
|
|
90
|
+
/** Begins one line string geometry or nested line string. */
|
|
91
|
+
beginLineString(pointCount) {
|
|
92
|
+
if (this.encoding === 'geoarrow.linestring') {
|
|
93
|
+
this.beginGeometry();
|
|
94
|
+
this.writeGeometryOffset(pointCount);
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
if (this.encoding === 'geoarrow.multilinestring') {
|
|
98
|
+
this.writePartOffset(pointCount);
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
throw new Error(`Cannot write LineString into ${this.encoding}`);
|
|
102
|
+
}
|
|
103
|
+
/** Begins one polygon geometry or nested polygon. */
|
|
104
|
+
beginPolygon(ringCount) {
|
|
105
|
+
if (this.encoding === 'geoarrow.polygon') {
|
|
106
|
+
this.beginGeometry();
|
|
107
|
+
this.writeGeometryOffset(ringCount);
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
if (this.encoding === 'geoarrow.multipolygon') {
|
|
111
|
+
this.writePartOffset(ringCount);
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
throw new Error(`Cannot write Polygon into ${this.encoding}`);
|
|
115
|
+
}
|
|
116
|
+
/** Begins one polygon linear ring. */
|
|
117
|
+
beginLinearRing(pointCount) {
|
|
118
|
+
if (this.encoding === 'geoarrow.polygon') {
|
|
119
|
+
this.writePartOffset(pointCount);
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
if (this.encoding === 'geoarrow.multipolygon') {
|
|
123
|
+
this.writeRingOffset(pointCount);
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
throw new Error(`Cannot write LinearRing into ${this.encoding}`);
|
|
127
|
+
}
|
|
128
|
+
/** Begins one multipoint geometry. */
|
|
129
|
+
beginMultiPoint(pointCount) {
|
|
130
|
+
if (this.encoding !== 'geoarrow.multipoint') {
|
|
131
|
+
throw new Error(`Cannot write MultiPoint into ${this.encoding}`);
|
|
132
|
+
}
|
|
133
|
+
this.beginGeometry();
|
|
134
|
+
this.writeGeometryOffset(pointCount);
|
|
135
|
+
}
|
|
136
|
+
/** Begins one multilinestring geometry. */
|
|
137
|
+
beginMultiLineString(lineCount) {
|
|
138
|
+
if (this.encoding !== 'geoarrow.multilinestring') {
|
|
139
|
+
throw new Error(`Cannot write MultiLineString into ${this.encoding}`);
|
|
140
|
+
}
|
|
141
|
+
this.beginGeometry();
|
|
142
|
+
this.writeGeometryOffset(lineCount);
|
|
143
|
+
}
|
|
144
|
+
/** Begins one multipolygon geometry. */
|
|
145
|
+
beginMultiPolygon(polygonCount) {
|
|
146
|
+
if (this.encoding !== 'geoarrow.multipolygon') {
|
|
147
|
+
throw new Error(`Cannot write MultiPolygon into ${this.encoding}`);
|
|
148
|
+
}
|
|
149
|
+
this.beginGeometry();
|
|
150
|
+
this.writeGeometryOffset(polygonCount);
|
|
151
|
+
}
|
|
152
|
+
/** Writes one coordinate tuple. The third ordinate is M for an XYM builder. */
|
|
153
|
+
writeCoordinate(x, y, z, m) {
|
|
154
|
+
const coordinateIndex = this.state.coordinateCount;
|
|
155
|
+
if (this.state.mode === 'write') {
|
|
156
|
+
const target = this.getTarget();
|
|
157
|
+
const coordinate = this.getCoordinateValuesForWrite(x, y, z, m);
|
|
158
|
+
const transformedCoordinate = this.state.transform
|
|
159
|
+
? this.state.transform(coordinate)
|
|
160
|
+
: coordinate;
|
|
161
|
+
this.writeCoordinateValues(target.coordinates, coordinateIndex, transformedCoordinate, coordinate);
|
|
162
|
+
}
|
|
163
|
+
this.state.coordinateCount++;
|
|
164
|
+
}
|
|
165
|
+
/** Completes the current geometry array and returns its row count. */
|
|
166
|
+
finishGeometry() {
|
|
167
|
+
return this.state.length;
|
|
168
|
+
}
|
|
169
|
+
/** Returns current measured or written array metadata. */
|
|
170
|
+
getGeometryArray() {
|
|
171
|
+
return {
|
|
172
|
+
encoding: this.encoding,
|
|
173
|
+
coordinateSize: this.state.coordinateSize,
|
|
174
|
+
dimension: this.dimension,
|
|
175
|
+
coordinateLayout: this.state.coordinateLayout,
|
|
176
|
+
offsetType: this.state.offsetType,
|
|
177
|
+
length: this.state.length,
|
|
178
|
+
nullCount: this.state.nullCount,
|
|
179
|
+
nullBitmap: this.getNullBitmap(),
|
|
180
|
+
coordinates: this.getCoordinateValues(),
|
|
181
|
+
geometryOffsets: this.getGeometryOffsets(),
|
|
182
|
+
partOffsets: this.getPartOffsets(),
|
|
183
|
+
ringOffsets: this.getRingOffsets()
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
/** Measures geometry callbacks and returns allocated offsets. */
|
|
187
|
+
static measureGeometryArray(writers, options) {
|
|
188
|
+
const builder = new GeoArrowBuilder({ mode: 'measure', ...options });
|
|
189
|
+
for (const writer of writers)
|
|
190
|
+
writer ? writer(builder) : builder.writeNullGeometry();
|
|
191
|
+
builder.finishGeometry();
|
|
192
|
+
return builder.getGeometryArray();
|
|
193
|
+
}
|
|
194
|
+
/** Writes geometry callbacks into a measured target. */
|
|
195
|
+
static writeGeometryArray(writers, measured, options) {
|
|
196
|
+
const builder = new GeoArrowBuilder({ mode: 'write', target: measured, ...options });
|
|
197
|
+
for (const writer of writers)
|
|
198
|
+
writer ? writer(builder) : builder.writeNullGeometry();
|
|
199
|
+
builder.finishGeometry();
|
|
200
|
+
return builder.getGeometryArray();
|
|
201
|
+
}
|
|
202
|
+
/** Builds GeoArrow buffers from callbacks in two passes. */
|
|
203
|
+
static buildGeometryArray(writers, options) {
|
|
204
|
+
const measured = GeoArrowBuilder.measureGeometryArray(writers, options);
|
|
205
|
+
return GeoArrowBuilder.writeGeometryArray(writers, measured, options);
|
|
206
|
+
}
|
|
207
|
+
/** Wraps GeoArrow buffers in an Apache Arrow Data instance. */
|
|
208
|
+
static makeGeometryData(geometryArray) {
|
|
209
|
+
if (geometryArray.encoding === 'geoarrow.box') {
|
|
210
|
+
return withNulls(makeBoxData(geometryArray.coordinates, geometryArray.dimension), geometryArray);
|
|
211
|
+
}
|
|
212
|
+
const coordinateData = makeCoordinateData(geometryArray.coordinates, geometryArray.dimension, geometryArray.coordinateLayout);
|
|
213
|
+
let data = coordinateData;
|
|
214
|
+
switch (geometryArray.encoding) {
|
|
215
|
+
case 'geoarrow.point':
|
|
216
|
+
return withNulls(data, geometryArray);
|
|
217
|
+
case 'geoarrow.linestring':
|
|
218
|
+
case 'geoarrow.multipoint':
|
|
219
|
+
data = makeListData(coordinateData, geometryArray.geometryOffsets, 'vertices', geometryArray.offsetType);
|
|
220
|
+
return withNulls(data, geometryArray);
|
|
221
|
+
case 'geoarrow.polygon':
|
|
222
|
+
case 'geoarrow.multilinestring':
|
|
223
|
+
data = makeListData(coordinateData, geometryArray.partOffsets, 'vertices', geometryArray.offsetType);
|
|
224
|
+
data = makeListData(data, geometryArray.geometryOffsets, 'rings', geometryArray.offsetType);
|
|
225
|
+
return withNulls(data, geometryArray);
|
|
226
|
+
case 'geoarrow.multipolygon':
|
|
227
|
+
data = makeListData(coordinateData, geometryArray.ringOffsets, 'vertices', geometryArray.offsetType);
|
|
228
|
+
data = makeListData(data, geometryArray.partOffsets, 'rings', geometryArray.offsetType);
|
|
229
|
+
data = makeListData(data, geometryArray.geometryOffsets, 'polygons', geometryArray.offsetType);
|
|
230
|
+
return withNulls(data, geometryArray);
|
|
231
|
+
default:
|
|
232
|
+
throw new Error(`Unsupported GeoArrow encoding ${geometryArray.encoding}`);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
initializeOffsets() {
|
|
236
|
+
if (this.state.mode !== 'measure')
|
|
237
|
+
return;
|
|
238
|
+
const target = {
|
|
239
|
+
nullBitmap: new Uint8Array(0),
|
|
240
|
+
coordinates: makeCoordinateBuffers(0, this.dimension, this.state.coordinateLayout)
|
|
241
|
+
};
|
|
242
|
+
if (this.encoding !== 'geoarrow.point' && this.encoding !== 'geoarrow.box') {
|
|
243
|
+
target.geometryOffsets = this.makeOffsets(1);
|
|
244
|
+
}
|
|
245
|
+
if (this.encoding === 'geoarrow.polygon' ||
|
|
246
|
+
this.encoding === 'geoarrow.multilinestring' ||
|
|
247
|
+
this.encoding === 'geoarrow.multipolygon') {
|
|
248
|
+
target.partOffsets = this.makeOffsets(1);
|
|
249
|
+
}
|
|
250
|
+
if (this.encoding === 'geoarrow.multipolygon')
|
|
251
|
+
target.ringOffsets = this.makeOffsets(1);
|
|
252
|
+
this.state.target = target;
|
|
253
|
+
}
|
|
254
|
+
getCoordinateValuesForWrite(x, y, z, m) {
|
|
255
|
+
if (this.dimension === 'xy')
|
|
256
|
+
return [x, y];
|
|
257
|
+
if (this.dimension === 'xyz')
|
|
258
|
+
return [x, y, z ?? Number.NaN];
|
|
259
|
+
if (this.dimension === 'xym')
|
|
260
|
+
return [x, y, m ?? z ?? Number.NaN];
|
|
261
|
+
return [x, y, z ?? Number.NaN, m ?? Number.NaN];
|
|
262
|
+
}
|
|
263
|
+
writeGeometryOffset(childCount = 0) {
|
|
264
|
+
if (this.encoding === 'geoarrow.point')
|
|
265
|
+
return;
|
|
266
|
+
this.state.geometryChildCount += childCount;
|
|
267
|
+
this.appendOffset('geometryOffsets', this.state.geometryChildCount);
|
|
268
|
+
}
|
|
269
|
+
writePartOffset(childCount = 0) {
|
|
270
|
+
this.state.partChildCount += childCount;
|
|
271
|
+
this.appendOffset('partOffsets', this.state.partChildCount);
|
|
272
|
+
}
|
|
273
|
+
writeRingOffset(childCount = 0) {
|
|
274
|
+
this.appendOffset('ringOffsets', this.state.coordinateCount + childCount);
|
|
275
|
+
}
|
|
276
|
+
appendOffset(name, value) {
|
|
277
|
+
const target = this.getTarget();
|
|
278
|
+
const offsets = target[name];
|
|
279
|
+
if (!offsets)
|
|
280
|
+
return;
|
|
281
|
+
if (this.state.mode === 'measure') {
|
|
282
|
+
this.incrementOffsetCount(name);
|
|
283
|
+
return;
|
|
284
|
+
}
|
|
285
|
+
const index = this.getOffsetCount(name);
|
|
286
|
+
if (index >= offsets.length)
|
|
287
|
+
throw new Error(`GeoArrowBuilder target ${name} overflow`);
|
|
288
|
+
offsets[index] = offsets instanceof BigInt64Array ? BigInt(value) : value;
|
|
289
|
+
this.incrementOffsetCount(name);
|
|
290
|
+
}
|
|
291
|
+
getOffsetCount(name) {
|
|
292
|
+
switch (name) {
|
|
293
|
+
case 'geometryOffsets':
|
|
294
|
+
return this.state.geometryOffsetCount;
|
|
295
|
+
case 'partOffsets':
|
|
296
|
+
return this.state.partOffsetCount;
|
|
297
|
+
case 'ringOffsets':
|
|
298
|
+
return this.state.ringOffsetCount;
|
|
299
|
+
default:
|
|
300
|
+
throw new Error(`Unexpected offset buffer ${name}`);
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
incrementOffsetCount(name) {
|
|
304
|
+
switch (name) {
|
|
305
|
+
case 'geometryOffsets':
|
|
306
|
+
this.state.geometryOffsetCount++;
|
|
307
|
+
return;
|
|
308
|
+
case 'partOffsets':
|
|
309
|
+
this.state.partOffsetCount++;
|
|
310
|
+
return;
|
|
311
|
+
case 'ringOffsets':
|
|
312
|
+
this.state.ringOffsetCount++;
|
|
313
|
+
return;
|
|
314
|
+
default:
|
|
315
|
+
throw new Error(`Unexpected offset buffer ${name}`);
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
setValid(rowIndex) {
|
|
319
|
+
if (this.state.mode !== 'write')
|
|
320
|
+
return;
|
|
321
|
+
const bitmap = this.getTarget().nullBitmap;
|
|
322
|
+
bitmap[rowIndex >> 3] |= 1 << (rowIndex & 7);
|
|
323
|
+
}
|
|
324
|
+
getTarget() {
|
|
325
|
+
if (!this.state.target)
|
|
326
|
+
throw new Error('GeoArrowBuilder target is not initialized');
|
|
327
|
+
return this.state.target;
|
|
328
|
+
}
|
|
329
|
+
getNullBitmap() {
|
|
330
|
+
return this.state.mode === 'measure'
|
|
331
|
+
? new Uint8Array(Math.ceil(this.state.length / 8))
|
|
332
|
+
: this.getTarget().nullBitmap;
|
|
333
|
+
}
|
|
334
|
+
getCoordinateValues() {
|
|
335
|
+
return this.state.mode === 'measure'
|
|
336
|
+
? this.encoding === 'geoarrow.box'
|
|
337
|
+
? makeBoxBuffers(this.state.coordinateCount, this.dimension, this.state.coordinateLayout)
|
|
338
|
+
: makeCoordinateBuffers(this.state.coordinateCount, this.dimension, this.state.coordinateLayout)
|
|
339
|
+
: this.getTarget().coordinates;
|
|
340
|
+
}
|
|
341
|
+
getGeometryOffsets() {
|
|
342
|
+
return this.state.mode === 'measure' &&
|
|
343
|
+
this.encoding !== 'geoarrow.point' &&
|
|
344
|
+
this.encoding !== 'geoarrow.box'
|
|
345
|
+
? this.makeOffsets(this.state.geometryOffsetCount)
|
|
346
|
+
: this.getTarget().geometryOffsets;
|
|
347
|
+
}
|
|
348
|
+
getPartOffsets() {
|
|
349
|
+
return this.state.mode === 'measure' &&
|
|
350
|
+
(this.encoding === 'geoarrow.polygon' ||
|
|
351
|
+
this.encoding === 'geoarrow.multilinestring' ||
|
|
352
|
+
this.encoding === 'geoarrow.multipolygon')
|
|
353
|
+
? this.makeOffsets(this.state.partOffsetCount)
|
|
354
|
+
: this.getTarget().partOffsets;
|
|
355
|
+
}
|
|
356
|
+
getRingOffsets() {
|
|
357
|
+
return this.state.mode === 'measure' && this.encoding === 'geoarrow.multipolygon'
|
|
358
|
+
? this.makeOffsets(this.state.ringOffsetCount)
|
|
359
|
+
: this.getTarget().ringOffsets;
|
|
360
|
+
}
|
|
361
|
+
makeOffsets(length) {
|
|
362
|
+
return this.state.offsetType === 'int64' ? new BigInt64Array(length) : new Int32Array(length);
|
|
363
|
+
}
|
|
364
|
+
writeCoordinateValues(coordinates, coordinateIndex, transformedCoordinate, originalCoordinate) {
|
|
365
|
+
if (coordinates instanceof Float64Array) {
|
|
366
|
+
if (coordinateIndex >= coordinates.length / this.state.coordinateSize) {
|
|
367
|
+
throw new Error('GeoArrowBuilder target coordinate buffer overflow');
|
|
368
|
+
}
|
|
369
|
+
const valueOffset = coordinateIndex * this.state.coordinateSize;
|
|
370
|
+
for (let dimensionIndex = 0; dimensionIndex < this.state.coordinateSize; dimensionIndex++) {
|
|
371
|
+
coordinates[valueOffset + dimensionIndex] =
|
|
372
|
+
transformedCoordinate[dimensionIndex] ?? originalCoordinate[dimensionIndex] ?? Number.NaN;
|
|
373
|
+
}
|
|
374
|
+
return;
|
|
375
|
+
}
|
|
376
|
+
const coordinateNames = getCoordinateNames(this.dimension);
|
|
377
|
+
for (let dimensionIndex = 0; dimensionIndex < coordinateNames.length; dimensionIndex++) {
|
|
378
|
+
const coordinateValues = coordinates[coordinateNames[dimensionIndex]];
|
|
379
|
+
if (!coordinateValues || coordinateIndex >= coordinateValues.length) {
|
|
380
|
+
throw new Error('GeoArrowBuilder target coordinate buffer overflow');
|
|
381
|
+
}
|
|
382
|
+
coordinateValues[coordinateIndex] =
|
|
383
|
+
transformedCoordinate[dimensionIndex] ?? originalCoordinate[dimensionIndex] ?? Number.NaN;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
writeBoxValues(coordinates, coordinateIndex, values) {
|
|
387
|
+
if (coordinates instanceof Float64Array) {
|
|
388
|
+
const valueOffset = coordinateIndex * values.length;
|
|
389
|
+
if (valueOffset + values.length > coordinates.length) {
|
|
390
|
+
throw new Error('GeoArrowBuilder target box buffer overflow');
|
|
391
|
+
}
|
|
392
|
+
coordinates.set(values, valueOffset);
|
|
393
|
+
return;
|
|
394
|
+
}
|
|
395
|
+
const boxCoordinates = coordinates;
|
|
396
|
+
const names = getBoxFieldNames(this.dimension);
|
|
397
|
+
for (let index = 0; index < names.length; index++) {
|
|
398
|
+
const valuesBuffer = boxCoordinates[names[index]];
|
|
399
|
+
if (!(valuesBuffer instanceof Float64Array) || coordinateIndex >= valuesBuffer.length) {
|
|
400
|
+
throw new Error('GeoArrowBuilder target box buffer overflow');
|
|
401
|
+
}
|
|
402
|
+
valuesBuffer[coordinateIndex] = values[index];
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
function makePrimitiveData(values) {
|
|
407
|
+
return arrow.makeData({ type: new arrow.Float64(), data: values });
|
|
408
|
+
}
|
|
409
|
+
/** Returns the canonical child names for one GeoArrow box dimension. */
|
|
410
|
+
function getBoxFieldNames(dimension) {
|
|
411
|
+
const minimumNames = dimension === 'xy'
|
|
412
|
+
? ['xmin', 'ymin']
|
|
413
|
+
: dimension === 'xyz'
|
|
414
|
+
? ['xmin', 'ymin', 'zmin']
|
|
415
|
+
: dimension === 'xym'
|
|
416
|
+
? ['xmin', 'ymin', 'mmin']
|
|
417
|
+
: ['xmin', 'ymin', 'zmin', 'mmin'];
|
|
418
|
+
const maximumNames = dimension === 'xy'
|
|
419
|
+
? ['xmax', 'ymax']
|
|
420
|
+
: dimension === 'xyz'
|
|
421
|
+
? ['xmax', 'ymax', 'zmax']
|
|
422
|
+
: dimension === 'xym'
|
|
423
|
+
? ['xmax', 'ymax', 'mmax']
|
|
424
|
+
: ['xmax', 'ymax', 'zmax', 'mmax'];
|
|
425
|
+
return [...minimumNames, ...maximumNames];
|
|
426
|
+
}
|
|
427
|
+
/** Returns the number of ordinates in one coordinate tuple. */
|
|
428
|
+
function getCoordinateSize(dimension) {
|
|
429
|
+
return dimension === 'xy' ? 2 : dimension === 'xyzm' ? 4 : 3;
|
|
430
|
+
}
|
|
431
|
+
function makeCoordinateData(values, dimension, coordinateLayout) {
|
|
432
|
+
if (coordinateLayout === 'separated') {
|
|
433
|
+
const coordinateBuffers = values;
|
|
434
|
+
const coordinateNames = getCoordinateNames(dimension);
|
|
435
|
+
return arrow.makeData({
|
|
436
|
+
type: new arrow.Struct(coordinateNames.map(name => new arrow.Field(name, new arrow.Float64(), false))),
|
|
437
|
+
children: coordinateNames.map(name => makePrimitiveData(coordinateBuffers[name]))
|
|
438
|
+
});
|
|
439
|
+
}
|
|
440
|
+
return arrow.makeData({
|
|
441
|
+
type: new arrow.FixedSizeList(getCoordinateSize(dimension), new arrow.Field(dimension, new arrow.Float64(), false)),
|
|
442
|
+
child: makePrimitiveData(values)
|
|
443
|
+
});
|
|
444
|
+
}
|
|
445
|
+
/** Creates Arrow struct data from interleaved or separated box buffers. */
|
|
446
|
+
function makeBoxData(values, dimension) {
|
|
447
|
+
const names = getBoxFieldNames(dimension);
|
|
448
|
+
const children = names.map((name, index) => {
|
|
449
|
+
if (values instanceof Float64Array) {
|
|
450
|
+
const boxSize = names.length;
|
|
451
|
+
return makePrimitiveData(Float64Array.from({ length: values.length / boxSize }, (_, rowIndex) => values[rowIndex * boxSize + index]));
|
|
452
|
+
}
|
|
453
|
+
return makePrimitiveData(values[name]);
|
|
454
|
+
});
|
|
455
|
+
return arrow.makeData({
|
|
456
|
+
type: new arrow.Struct(names.map(name => new arrow.Field(name, new arrow.Float64(), false))),
|
|
457
|
+
children
|
|
458
|
+
});
|
|
459
|
+
}
|
|
460
|
+
function makeListData(child, offsets, fieldName, offsetType) {
|
|
461
|
+
return arrow.makeData({
|
|
462
|
+
type: offsetType === 'int64'
|
|
463
|
+
? makeLargeListType(new arrow.Field(fieldName, child.type, false))
|
|
464
|
+
: new arrow.List(new arrow.Field(fieldName, child.type, false)),
|
|
465
|
+
valueOffsets: offsets,
|
|
466
|
+
child
|
|
467
|
+
});
|
|
468
|
+
}
|
|
469
|
+
function makeLargeListType(field) {
|
|
470
|
+
const LargeList = getOptionalArrowConstructor('LargeList');
|
|
471
|
+
if (!LargeList) {
|
|
472
|
+
throw new Error('64-bit GeoArrow offsets require an Apache Arrow runtime that exports LargeList');
|
|
473
|
+
}
|
|
474
|
+
return new LargeList(field);
|
|
475
|
+
}
|
|
476
|
+
function getOptionalArrowConstructor(typeName) {
|
|
477
|
+
return arrow[typeName];
|
|
478
|
+
}
|
|
479
|
+
function makeCoordinateBuffers(coordinateCount, dimension, coordinateLayout) {
|
|
480
|
+
if (coordinateLayout === 'interleaved') {
|
|
481
|
+
return new Float64Array(coordinateCount * getCoordinateSize(dimension));
|
|
482
|
+
}
|
|
483
|
+
const coordinateNames = getCoordinateNames(dimension);
|
|
484
|
+
const buffers = {
|
|
485
|
+
x: new Float64Array(coordinateCount),
|
|
486
|
+
y: new Float64Array(coordinateCount)
|
|
487
|
+
};
|
|
488
|
+
for (const name of coordinateNames.slice(2))
|
|
489
|
+
buffers[name] = new Float64Array(coordinateCount);
|
|
490
|
+
return buffers;
|
|
491
|
+
}
|
|
492
|
+
/** Allocates box buffers in the requested layout. */
|
|
493
|
+
function makeBoxBuffers(boxCount, dimension, coordinateLayout) {
|
|
494
|
+
const names = getBoxFieldNames(dimension);
|
|
495
|
+
if (coordinateLayout === 'interleaved') {
|
|
496
|
+
return new Float64Array(boxCount * names.length);
|
|
497
|
+
}
|
|
498
|
+
const buffers = {};
|
|
499
|
+
for (const name of names) {
|
|
500
|
+
buffers[name] = new Float64Array(boxCount);
|
|
501
|
+
}
|
|
502
|
+
return buffers;
|
|
503
|
+
}
|
|
504
|
+
/** Packs box bounds in canonical minimum-then-maximum order. */
|
|
505
|
+
function getBoxValues(dimension, xmin, ymin, xmax, ymax, zmin, zmax, mmin, mmax) {
|
|
506
|
+
switch (dimension) {
|
|
507
|
+
case 'xy':
|
|
508
|
+
return [xmin, ymin, xmax, ymax];
|
|
509
|
+
case 'xyz':
|
|
510
|
+
return [xmin, ymin, zmin ?? Number.NaN, xmax, ymax, zmax ?? Number.NaN];
|
|
511
|
+
case 'xym':
|
|
512
|
+
return [xmin, ymin, mmin ?? Number.NaN, xmax, ymax, mmax ?? Number.NaN];
|
|
513
|
+
case 'xyzm':
|
|
514
|
+
return [
|
|
515
|
+
xmin,
|
|
516
|
+
ymin,
|
|
517
|
+
zmin ?? Number.NaN,
|
|
518
|
+
mmin ?? Number.NaN,
|
|
519
|
+
xmax,
|
|
520
|
+
ymax,
|
|
521
|
+
zmax ?? Number.NaN,
|
|
522
|
+
mmax ?? Number.NaN
|
|
523
|
+
];
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
function getCoordinateNames(dimension) {
|
|
527
|
+
switch (dimension) {
|
|
528
|
+
case 'xy':
|
|
529
|
+
return ['x', 'y'];
|
|
530
|
+
case 'xyz':
|
|
531
|
+
return ['x', 'y', 'z'];
|
|
532
|
+
case 'xym':
|
|
533
|
+
return ['x', 'y', 'm'];
|
|
534
|
+
case 'xyzm':
|
|
535
|
+
return ['x', 'y', 'z', 'm'];
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
function withNulls(data, geometryArray) {
|
|
539
|
+
return new arrow.Data(data.type, 0, geometryArray.length, geometryArray.nullCount, [
|
|
540
|
+
data.valueOffsets,
|
|
541
|
+
data.values,
|
|
542
|
+
geometryArray.nullCount > 0 ? geometryArray.nullBitmap : undefined
|
|
543
|
+
], data.children);
|
|
544
|
+
}
|
|
545
|
+
//# sourceMappingURL=geoarrow-builder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geoarrow-builder.js","sourceRoot":"","sources":["../../src/arrow-geometry/geoarrow-builder.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,+BAA+B;AAC/B,oCAAoC;AAEpC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AA0JtC;;;;;;GAMG;AACH,MAAM,OAAO,eAAe;IAC1B,2DAA2D;IAClD,QAAQ,CAA0B;IAC3C,2CAA2C;IAClC,IAAI,CAAU;IACvB,2CAA2C;IAClC,IAAI,CAAU;IACvB,0DAA0D;IACjD,SAAS,CAA2B;IACrC,KAAK,CAAuB;IAEpC,2DAA2D;IAC3D,YAAY,OAA+B;QACzC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;QACjC,IAAI,CAAC,SAAS;YACZ,OAAO,CAAC,SAAS;gBACjB,CAAC,OAAO,CAAC,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;QAC/F,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,SAAS,KAAK,KAAK,IAAI,IAAI,CAAC,SAAS,KAAK,MAAM,CAAC;QAClE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,SAAS,KAAK,KAAK,IAAI,IAAI,CAAC,SAAS,KAAK,MAAM,CAAC;QAClE,MAAM,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,IAAI,aAAa,CAAC;QACnE,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,OAAO,CAAC;QACjD,IAAI,CAAC,KAAK,GAAG;YAC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AAO,IAAI,KAAK,CAAC,IAAI,CACnB,IAAI,CAAC,IAAI,EACT,CAAC,EACD,aAAa,CAAC,MAAM,EACpB,aAAa,CAAC,SAAS,EACvB;QACE,IAAI,CAAC,YAAY;QACjB,IAAI,CAAC,MAAM;QACX,aAAa,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS;KACnE,EACD,IAAI,CAAC,QAAQ,CACd,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/arrow-geometry/geoarrow-union-kind.ts
|
|
21
|
+
var geoarrow_union_kind_exports = {};
|
|
22
|
+
__export(geoarrow_union_kind_exports, {
|
|
23
|
+
getGeoArrowUnionGeometryKind: () => getGeoArrowUnionGeometryKind
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(geoarrow_union_kind_exports);
|
|
26
|
+
function getGeoArrowUnionGeometryKind(fieldName, typeId) {
|
|
27
|
+
const normalizedName = (fieldName || "").toLowerCase().replace(/[^a-z]/g, "");
|
|
28
|
+
if (normalizedName.includes("geometrycollection")) return "GeometryCollection";
|
|
29
|
+
if (normalizedName.includes("multipolygon")) return "MultiPolygon";
|
|
30
|
+
if (normalizedName.includes("multilinestring")) return "MultiLineString";
|
|
31
|
+
if (normalizedName.includes("multipoint")) return "MultiPoint";
|
|
32
|
+
if (normalizedName.includes("polygon")) return "Polygon";
|
|
33
|
+
if (normalizedName.includes("linestring")) return "LineString";
|
|
34
|
+
if (normalizedName.includes("line")) return "LineString";
|
|
35
|
+
if (normalizedName.includes("point")) return "Point";
|
|
36
|
+
switch (typeId % 10) {
|
|
37
|
+
case 1:
|
|
38
|
+
return "Point";
|
|
39
|
+
case 2:
|
|
40
|
+
return "LineString";
|
|
41
|
+
case 3:
|
|
42
|
+
return "Polygon";
|
|
43
|
+
case 4:
|
|
44
|
+
return "MultiPoint";
|
|
45
|
+
case 5:
|
|
46
|
+
return "MultiLineString";
|
|
47
|
+
case 6:
|
|
48
|
+
return "MultiPolygon";
|
|
49
|
+
case 7:
|
|
50
|
+
return "GeometryCollection";
|
|
51
|
+
default:
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
56
|
+
0 && (module.exports = {
|
|
57
|
+
getGeoArrowUnionGeometryKind
|
|
58
|
+
});
|
|
59
|
+
//# sourceMappingURL=geoarrow-union-kind.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/arrow-geometry/geoarrow-union-kind.ts"],
|
|
4
|
+
"sourcesContent": ["// loaders.gl\n// SPDX-License-Identifier: MIT\n// Copyright (c) vis.gl contributors\n\n/** Geometry families represented by a GeoArrow dense union child. */\nexport type GeoArrowUnionGeometryKind =\n | 'Point'\n | 'LineString'\n | 'Polygon'\n | 'MultiPoint'\n | 'MultiLineString'\n | 'MultiPolygon'\n | 'GeometryCollection';\n\n/** Resolves a dense-union child family from its legal name or canonical type ID. */\nexport function getGeoArrowUnionGeometryKind(\n fieldName: string | undefined,\n typeId: number\n): GeoArrowUnionGeometryKind | null {\n const normalizedName = (fieldName || '').toLowerCase().replace(/[^a-z]/g, '');\n if (normalizedName.includes('geometrycollection')) return 'GeometryCollection';\n if (normalizedName.includes('multipolygon')) return 'MultiPolygon';\n if (normalizedName.includes('multilinestring')) return 'MultiLineString';\n if (normalizedName.includes('multipoint')) return 'MultiPoint';\n if (normalizedName.includes('polygon')) return 'Polygon';\n if (normalizedName.includes('linestring')) return 'LineString';\n if (normalizedName.includes('line')) return 'LineString';\n if (normalizedName.includes('point')) return 'Point';\n switch (typeId % 10) {\n case 1:\n return 'Point';\n case 2:\n return 'LineString';\n case 3:\n return 'Polygon';\n case 4:\n return 'MultiPoint';\n case 5:\n return 'MultiLineString';\n case 6:\n return 'MultiPolygon';\n case 7:\n return 'GeometryCollection';\n default:\n return null;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAeO,SAAS,6BACd,WACA,QACkC;AAClC,QAAM,kBAAkB,aAAa,IAAI,YAAY,EAAE,QAAQ,WAAW,EAAE;AAC5E,MAAI,eAAe,SAAS,oBAAoB,EAAG,QAAO;AAC1D,MAAI,eAAe,SAAS,cAAc,EAAG,QAAO;AACpD,MAAI,eAAe,SAAS,iBAAiB,EAAG,QAAO;AACvD,MAAI,eAAe,SAAS,YAAY,EAAG,QAAO;AAClD,MAAI,eAAe,SAAS,SAAS,EAAG,QAAO;AAC/C,MAAI,eAAe,SAAS,YAAY,EAAG,QAAO;AAClD,MAAI,eAAe,SAAS,MAAM,EAAG,QAAO;AAC5C,MAAI,eAAe,SAAS,OAAO,EAAG,QAAO;AAC7C,UAAQ,SAAS,IAAI;AAAA,IACnB,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT;AACE,aAAO;AAAA,EACX;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Geometry families represented by a GeoArrow dense union child. */
|
|
2
|
+
export type GeoArrowUnionGeometryKind = 'Point' | 'LineString' | 'Polygon' | 'MultiPoint' | 'MultiLineString' | 'MultiPolygon' | 'GeometryCollection';
|
|
3
|
+
/** Resolves a dense-union child family from its legal name or canonical type ID. */
|
|
4
|
+
export declare function getGeoArrowUnionGeometryKind(fieldName: string | undefined, typeId: number): GeoArrowUnionGeometryKind | null;
|
|
5
|
+
//# sourceMappingURL=geoarrow-union-kind.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geoarrow-union-kind.d.ts","sourceRoot":"","sources":["../../src/arrow-geometry/geoarrow-union-kind.ts"],"names":[],"mappings":"AAIA,qEAAqE;AACrE,MAAM,MAAM,yBAAyB,GACjC,OAAO,GACP,YAAY,GACZ,SAAS,GACT,YAAY,GACZ,iBAAiB,GACjB,cAAc,GACd,oBAAoB,CAAC;AAEzB,oFAAoF;AACpF,wBAAgB,4BAA4B,CAC1C,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,MAAM,EAAE,MAAM,GACb,yBAAyB,GAAG,IAAI,CA4BlC"}
|