@math.gl/geospatial 5.0.0-alpha.9 → 5.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/GEOGRAPHICLIB-LICENSE.txt +28 -0
- package/LICENSE +268 -69
- package/README.md +51 -0
- package/THIRD-PARTY-NOTICES.md +116 -0
- package/crs/README.md +84 -0
- package/crs/schemas/README.md +9 -0
- package/crs/schemas/projjson.schema.json +1174 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +5 -3
- package/dist/constants.js.map +1 -1
- package/dist/coordinates/angles.d.ts +20 -0
- package/dist/coordinates/angles.d.ts.map +1 -0
- package/dist/coordinates/angles.js +117 -0
- package/dist/coordinates/angles.js.map +1 -0
- package/dist/coordinates/grid.d.ts +23 -0
- package/dist/coordinates/grid.d.ts.map +1 -0
- package/dist/coordinates/grid.js +110 -0
- package/dist/coordinates/grid.js.map +1 -0
- package/dist/coordinates/mgrs.d.ts +25 -0
- package/dist/coordinates/mgrs.d.ts.map +1 -0
- package/dist/coordinates/mgrs.js +124 -0
- package/dist/coordinates/mgrs.js.map +1 -0
- package/dist/coordinates.d.ts +7 -0
- package/dist/coordinates.d.ts.map +1 -0
- package/dist/coordinates.js +7 -0
- package/dist/coordinates.js.map +1 -0
- package/dist/crs/crs-descriptor-types.d.ts +71 -0
- package/dist/crs/crs-descriptor-types.d.ts.map +1 -0
- package/dist/crs/crs-descriptor-types.js +5 -0
- package/dist/crs/crs-descriptor-types.js.map +1 -0
- package/dist/crs/crs-descriptor.d.ts +26 -0
- package/dist/crs/crs-descriptor.d.ts.map +1 -0
- package/dist/crs/crs-descriptor.js +131 -0
- package/dist/crs/crs-descriptor.js.map +1 -0
- package/dist/crs/crs-metadata.d.ts +43 -0
- package/dist/crs/crs-metadata.d.ts.map +1 -0
- package/dist/crs/crs-metadata.js +26 -0
- package/dist/crs/crs-metadata.js.map +1 -0
- package/dist/crs/crs.d.ts +22 -0
- package/dist/crs/crs.d.ts.map +1 -0
- package/dist/crs/crs.js +5 -0
- package/dist/crs/crs.js.map +1 -0
- package/dist/crs/execution-identity.d.ts +26 -0
- package/dist/crs/execution-identity.d.ts.map +1 -0
- package/dist/crs/execution-identity.js +76 -0
- package/dist/crs/execution-identity.js.map +1 -0
- package/dist/crs/index.cjs +1252 -0
- package/dist/crs/index.cjs.map +6 -0
- package/dist/crs/index.d.ts +21 -0
- package/dist/crs/index.d.ts.map +1 -0
- package/dist/crs/index.js +15 -0
- package/dist/crs/index.js.map +1 -0
- package/dist/crs/proj-string.d.ts +32 -0
- package/dist/crs/proj-string.d.ts.map +1 -0
- package/dist/crs/proj-string.js +204 -0
- package/dist/crs/proj-string.js.map +1 -0
- package/dist/crs/projection-domain.d.ts +33 -0
- package/dist/crs/projection-domain.d.ts.map +1 -0
- package/dist/crs/projection-domain.js +69 -0
- package/dist/crs/projection-domain.js.map +1 -0
- package/dist/crs/projjson-schema-constants.d.ts +5 -0
- package/dist/crs/projjson-schema-constants.d.ts.map +1 -0
- package/dist/crs/projjson-schema-constants.js +8 -0
- package/dist/crs/projjson-schema-constants.js.map +1 -0
- package/dist/crs/projjson-types.d.ts +557 -0
- package/dist/crs/projjson-types.d.ts.map +1 -0
- package/dist/crs/projjson-types.js +5 -0
- package/dist/crs/projjson-types.js.map +1 -0
- package/dist/crs/resolver.d.ts +43 -0
- package/dist/crs/resolver.d.ts.map +1 -0
- package/dist/crs/resolver.js +142 -0
- package/dist/crs/resolver.js.map +1 -0
- package/dist/crs/spatial-reference.d.ts +106 -0
- package/dist/crs/spatial-reference.d.ts.map +1 -0
- package/dist/crs/spatial-reference.js +86 -0
- package/dist/crs/spatial-reference.js.map +1 -0
- package/dist/crs/units-table.d.ts +4 -0
- package/dist/crs/units-table.d.ts.map +1 -0
- package/dist/crs/units-table.js +29 -0
- package/dist/crs/units-table.js.map +1 -0
- package/dist/crs/wkt-crs.d.ts +86 -0
- package/dist/crs/wkt-crs.d.ts.map +1 -0
- package/dist/crs/wkt-crs.js +613 -0
- package/dist/crs/wkt-crs.js.map +1 -0
- package/dist/discontinuous/air-ocean-mesh.d.ts +15 -0
- package/dist/discontinuous/air-ocean-mesh.d.ts.map +1 -0
- package/dist/discontinuous/air-ocean-mesh.js +75 -0
- package/dist/discontinuous/air-ocean-mesh.js.map +1 -0
- package/dist/discontinuous/albers-usa.d.ts +9 -0
- package/dist/discontinuous/albers-usa.d.ts.map +1 -0
- package/dist/discontinuous/albers-usa.js +105 -0
- package/dist/discontinuous/albers-usa.js.map +1 -0
- package/dist/discontinuous/cap-map.d.ts +23 -0
- package/dist/discontinuous/cap-map.d.ts.map +1 -0
- package/dist/discontinuous/cap-map.js +314 -0
- package/dist/discontinuous/cap-map.js.map +1 -0
- package/dist/discontinuous/elastic/data.d.ts +26 -0
- package/dist/discontinuous/elastic/data.d.ts.map +1 -0
- package/dist/discontinuous/elastic/data.js +72 -0
- package/dist/discontinuous/elastic/data.js.map +1 -0
- package/dist/discontinuous/elastic/elasticI.d.ts +3 -0
- package/dist/discontinuous/elastic/elasticI.d.ts.map +1 -0
- package/dist/discontinuous/elastic/elasticI.js +5233 -0
- package/dist/discontinuous/elastic/elasticI.js.map +1 -0
- package/dist/discontinuous/elastic/elasticII.d.ts +3 -0
- package/dist/discontinuous/elastic/elasticII.d.ts.map +1 -0
- package/dist/discontinuous/elastic/elasticII.js +18162 -0
- package/dist/discontinuous/elastic/elasticII.js.map +1 -0
- package/dist/discontinuous/elastic/elasticIII.d.ts +3 -0
- package/dist/discontinuous/elastic/elasticIII.d.ts.map +1 -0
- package/dist/discontinuous/elastic/elasticIII.js +29566 -0
- package/dist/discontinuous/elastic/elasticIII.js.map +1 -0
- package/dist/discontinuous/elastic/geometry.d.ts +22 -0
- package/dist/discontinuous/elastic/geometry.d.ts.map +1 -0
- package/dist/discontinuous/elastic/geometry.js +131 -0
- package/dist/discontinuous/elastic/geometry.js.map +1 -0
- package/dist/discontinuous/elastic/grid.d.ts +15 -0
- package/dist/discontinuous/elastic/grid.d.ts.map +1 -0
- package/dist/discontinuous/elastic/grid.js +177 -0
- package/dist/discontinuous/elastic/grid.js.map +1 -0
- package/dist/discontinuous/elastic/map.d.ts +8 -0
- package/dist/discontinuous/elastic/map.d.ts.map +1 -0
- package/dist/discontinuous/elastic/map.js +260 -0
- package/dist/discontinuous/elastic/map.js.map +1 -0
- package/dist/discontinuous/global-polygons.d.ts +35 -0
- package/dist/discontinuous/global-polygons.d.ts.map +1 -0
- package/dist/discontinuous/global-polygons.js +215 -0
- package/dist/discontinuous/global-polygons.js.map +1 -0
- package/dist/discontinuous/gray-fuller.d.ts +5 -0
- package/dist/discontinuous/gray-fuller.d.ts.map +1 -0
- package/dist/discontinuous/gray-fuller.js +36 -0
- package/dist/discontinuous/gray-fuller.js.map +1 -0
- package/dist/discontinuous/gringorten-kernel.d.ts +5 -0
- package/dist/discontinuous/gringorten-kernel.d.ts.map +1 -0
- package/dist/discontinuous/gringorten-kernel.js +94 -0
- package/dist/discontinuous/gringorten-kernel.js.map +1 -0
- package/dist/discontinuous/healpix.d.ts +13 -0
- package/dist/discontinuous/healpix.d.ts.map +1 -0
- package/dist/discontinuous/healpix.js +61 -0
- package/dist/discontinuous/healpix.js.map +1 -0
- package/dist/discontinuous/layout.d.ts +72 -0
- package/dist/discontinuous/layout.d.ts.map +1 -0
- package/dist/discontinuous/layout.js +114 -0
- package/dist/discontinuous/layout.js.map +1 -0
- package/dist/discontinuous/map-engine.d.ts +214 -0
- package/dist/discontinuous/map-engine.d.ts.map +1 -0
- package/dist/discontinuous/map-engine.js +408 -0
- package/dist/discontinuous/map-engine.js.map +1 -0
- package/dist/discontinuous/map-layout.d.ts +93 -0
- package/dist/discontinuous/map-layout.d.ts.map +1 -0
- package/dist/discontinuous/map-layout.js +490 -0
- package/dist/discontinuous/map-layout.js.map +1 -0
- package/dist/discontinuous/map-transition.d.ts +42 -0
- package/dist/discontinuous/map-transition.d.ts.map +1 -0
- package/dist/discontinuous/map-transition.js +283 -0
- package/dist/discontinuous/map-transition.js.map +1 -0
- package/dist/discontinuous/math.d.ts +19 -0
- package/dist/discontinuous/math.d.ts.map +1 -0
- package/dist/discontinuous/math.js +65 -0
- package/dist/discontinuous/math.js.map +1 -0
- package/dist/discontinuous/mercator-map.d.ts +24 -0
- package/dist/discontinuous/mercator-map.d.ts.map +1 -0
- package/dist/discontinuous/mercator-map.js +134 -0
- package/dist/discontinuous/mercator-map.js.map +1 -0
- package/dist/discontinuous/myriahedral/graticule.d.ts +6 -0
- package/dist/discontinuous/myriahedral/graticule.d.ts.map +1 -0
- package/dist/discontinuous/myriahedral/graticule.js +37 -0
- package/dist/discontinuous/myriahedral/graticule.js.map +1 -0
- package/dist/discontinuous/myriahedral/mesh.d.ts +18 -0
- package/dist/discontinuous/myriahedral/mesh.d.ts.map +1 -0
- package/dist/discontinuous/myriahedral/mesh.js +131 -0
- package/dist/discontinuous/myriahedral/mesh.js.map +1 -0
- package/dist/discontinuous/myriahedral/unfold.d.ts +56 -0
- package/dist/discontinuous/myriahedral/unfold.d.ts.map +1 -0
- package/dist/discontinuous/myriahedral/unfold.js +191 -0
- package/dist/discontinuous/myriahedral/unfold.js.map +1 -0
- package/dist/discontinuous/myriahedral.d.ts +62 -0
- package/dist/discontinuous/myriahedral.d.ts.map +1 -0
- package/dist/discontinuous/myriahedral.js +217 -0
- package/dist/discontinuous/myriahedral.js.map +1 -0
- package/dist/discontinuous/petroff.d.ts +8 -0
- package/dist/discontinuous/petroff.d.ts.map +1 -0
- package/dist/discontinuous/petroff.js +159 -0
- package/dist/discontinuous/petroff.js.map +1 -0
- package/dist/discontinuous/polyhedral.d.ts +8 -0
- package/dist/discontinuous/polyhedral.d.ts.map +1 -0
- package/dist/discontinuous/polyhedral.js +117 -0
- package/dist/discontinuous/polyhedral.js.map +1 -0
- package/dist/discontinuous/prepare-features.d.ts +81 -0
- package/dist/discontinuous/prepare-features.d.ts.map +1 -0
- package/dist/discontinuous/prepare-features.js +149 -0
- package/dist/discontinuous/prepare-features.js.map +1 -0
- package/dist/discontinuous/presets.d.ts +71 -0
- package/dist/discontinuous/presets.d.ts.map +1 -0
- package/dist/discontinuous/presets.js +372 -0
- package/dist/discontinuous/presets.js.map +1 -0
- package/dist/discontinuous/projection-catalog.d.ts +33 -0
- package/dist/discontinuous/projection-catalog.d.ts.map +1 -0
- package/dist/discontinuous/projection-catalog.js +96 -0
- package/dist/discontinuous/projection-catalog.js.map +1 -0
- package/dist/discontinuous/quincuncial-kernel.d.ts +9 -0
- package/dist/discontinuous/quincuncial-kernel.d.ts.map +1 -0
- package/dist/discontinuous/quincuncial-kernel.js +139 -0
- package/dist/discontinuous/quincuncial-kernel.js.map +1 -0
- package/dist/discontinuous/quincuncial-star.d.ts +29 -0
- package/dist/discontinuous/quincuncial-star.d.ts.map +1 -0
- package/dist/discontinuous/quincuncial-star.js +307 -0
- package/dist/discontinuous/quincuncial-star.js.map +1 -0
- package/dist/discontinuous/regional-map.d.ts +19 -0
- package/dist/discontinuous/regional-map.d.ts.map +1 -0
- package/dist/discontinuous/regional-map.js +190 -0
- package/dist/discontinuous/regional-map.js.map +1 -0
- package/dist/discontinuous/retroazimuthal-map.d.ts +6 -0
- package/dist/discontinuous/retroazimuthal-map.d.ts.map +1 -0
- package/dist/discontinuous/retroazimuthal-map.js +52 -0
- package/dist/discontinuous/retroazimuthal-map.js.map +1 -0
- package/dist/discontinuous/rotated-map.d.ts +31 -0
- package/dist/discontinuous/rotated-map.d.ts.map +1 -0
- package/dist/discontinuous/rotated-map.js +66 -0
- package/dist/discontinuous/rotated-map.js.map +1 -0
- package/dist/discontinuous/snyder-mesh.d.ts +11 -0
- package/dist/discontinuous/snyder-mesh.d.ts.map +1 -0
- package/dist/discontinuous/snyder-mesh.js +88 -0
- package/dist/discontinuous/snyder-mesh.js.map +1 -0
- package/dist/discontinuous/snyder.d.ts +16 -0
- package/dist/discontinuous/snyder.d.ts.map +1 -0
- package/dist/discontinuous/snyder.js +153 -0
- package/dist/discontinuous/snyder.js.map +1 -0
- package/dist/discontinuous/spherical-clip/cartesian.d.ts +8 -0
- package/dist/discontinuous/spherical-clip/cartesian.d.ts.map +1 -0
- package/dist/discontinuous/spherical-clip/cartesian.js +34 -0
- package/dist/discontinuous/spherical-clip/cartesian.js.map +1 -0
- package/dist/discontinuous/spherical-clip/circle.d.ts +2 -0
- package/dist/discontinuous/spherical-clip/circle.d.ts.map +1 -0
- package/dist/discontinuous/spherical-clip/circle.js +34 -0
- package/dist/discontinuous/spherical-clip/circle.js.map +1 -0
- package/dist/discontinuous/spherical-clip/clip-buffer.d.ts +9 -0
- package/dist/discontinuous/spherical-clip/clip-buffer.d.ts.map +1 -0
- package/dist/discontinuous/spherical-clip/clip-buffer.js +28 -0
- package/dist/discontinuous/spherical-clip/clip-buffer.js.map +1 -0
- package/dist/discontinuous/spherical-clip/clip-circle.d.ts +9 -0
- package/dist/discontinuous/spherical-clip/clip-circle.d.ts.map +1 -0
- package/dist/discontinuous/spherical-clip/clip-circle.js +160 -0
- package/dist/discontinuous/spherical-clip/clip-circle.js.map +1 -0
- package/dist/discontinuous/spherical-clip/clip-index.d.ts +9 -0
- package/dist/discontinuous/spherical-clip/clip-index.d.ts.map +1 -0
- package/dist/discontinuous/spherical-clip/clip-index.js +117 -0
- package/dist/discontinuous/spherical-clip/clip-index.js.map +1 -0
- package/dist/discontinuous/spherical-clip/clip-rejoin.d.ts +2 -0
- package/dist/discontinuous/spherical-clip/clip-rejoin.d.ts.map +1 -0
- package/dist/discontinuous/spherical-clip/clip-rejoin.js +99 -0
- package/dist/discontinuous/spherical-clip/clip-rejoin.js.map +1 -0
- package/dist/discontinuous/spherical-clip/helpers.d.ts +8 -0
- package/dist/discontinuous/spherical-clip/helpers.d.ts.map +1 -0
- package/dist/discontinuous/spherical-clip/helpers.js +21 -0
- package/dist/discontinuous/spherical-clip/helpers.js.map +1 -0
- package/dist/discontinuous/spherical-clip/math.d.ts +26 -0
- package/dist/discontinuous/spherical-clip/math.d.ts.map +1 -0
- package/dist/discontinuous/spherical-clip/math.js +39 -0
- package/dist/discontinuous/spherical-clip/math.js.map +1 -0
- package/dist/discontinuous/spherical-clip/noop.d.ts +2 -0
- package/dist/discontinuous/spherical-clip/noop.d.ts.map +1 -0
- package/dist/discontinuous/spherical-clip/noop.js +6 -0
- package/dist/discontinuous/spherical-clip/noop.js.map +1 -0
- package/dist/discontinuous/spherical-clip/pointEqual.d.ts +2 -0
- package/dist/discontinuous/spherical-clip/pointEqual.d.ts.map +1 -0
- package/dist/discontinuous/spherical-clip/pointEqual.js +9 -0
- package/dist/discontinuous/spherical-clip/pointEqual.js.map +1 -0
- package/dist/discontinuous/spherical-clip/polygonContains.d.ts +2 -0
- package/dist/discontinuous/spherical-clip/polygonContains.d.ts.map +1 -0
- package/dist/discontinuous/spherical-clip/polygonContains.js +52 -0
- package/dist/discontinuous/spherical-clip/polygonContains.js.map +1 -0
- package/dist/discontinuous/world-composite-kernels.d.ts +11 -0
- package/dist/discontinuous/world-composite-kernels.d.ts.map +1 -0
- package/dist/discontinuous/world-composite-kernels.js +30 -0
- package/dist/discontinuous/world-composite-kernels.js.map +1 -0
- package/dist/discontinuous/world-kernels/airy.d.ts +5 -0
- package/dist/discontinuous/world-kernels/airy.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/airy.js +28 -0
- package/dist/discontinuous/world-kernels/airy.js.map +1 -0
- package/dist/discontinuous/world-kernels/aitoff.d.ts +5 -0
- package/dist/discontinuous/world-kernels/aitoff.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/aitoff.js +26 -0
- package/dist/discontinuous/world-kernels/aitoff.js.map +1 -0
- package/dist/discontinuous/world-kernels/armadillo.d.ts +5 -0
- package/dist/discontinuous/world-kernels/armadillo.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/armadillo.js +28 -0
- package/dist/discontinuous/world-kernels/armadillo.js.map +1 -0
- package/dist/discontinuous/world-kernels/august.d.ts +5 -0
- package/dist/discontinuous/world-kernels/august.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/august.js +21 -0
- package/dist/discontinuous/world-kernels/august.js.map +1 -0
- package/dist/discontinuous/world-kernels/baker.d.ts +5 -0
- package/dist/discontinuous/world-kernels/baker.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/baker.js +29 -0
- package/dist/discontinuous/world-kernels/baker.js.map +1 -0
- package/dist/discontinuous/world-kernels/bertin.d.ts +5 -0
- package/dist/discontinuous/world-kernels/bertin.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/bertin.js +32 -0
- package/dist/discontinuous/world-kernels/bertin.js.map +1 -0
- package/dist/discontinuous/world-kernels/boggs.d.ts +5 -0
- package/dist/discontinuous/world-kernels/boggs.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/boggs.js +24 -0
- package/dist/discontinuous/world-kernels/boggs.js.map +1 -0
- package/dist/discontinuous/world-kernels/bonne.d.ts +3 -0
- package/dist/discontinuous/world-kernels/bonne.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/bonne.js +22 -0
- package/dist/discontinuous/world-kernels/bonne.js.map +1 -0
- package/dist/discontinuous/world-kernels/bottomley.d.ts +5 -0
- package/dist/discontinuous/world-kernels/bottomley.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/bottomley.js +18 -0
- package/dist/discontinuous/world-kernels/bottomley.js.map +1 -0
- package/dist/discontinuous/world-kernels/bromley.d.ts +5 -0
- package/dist/discontinuous/world-kernels/bromley.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/bromley.js +9 -0
- package/dist/discontinuous/world-kernels/bromley.js.map +1 -0
- package/dist/discontinuous/world-kernels/chamberlin.d.ts +2 -0
- package/dist/discontinuous/world-kernels/chamberlin.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/chamberlin.js +81 -0
- package/dist/discontinuous/world-kernels/chamberlin.js.map +1 -0
- package/dist/discontinuous/world-kernels/collignon.d.ts +5 -0
- package/dist/discontinuous/world-kernels/collignon.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/collignon.js +15 -0
- package/dist/discontinuous/world-kernels/collignon.js.map +1 -0
- package/dist/discontinuous/world-kernels/craig.d.ts +5 -0
- package/dist/discontinuous/world-kernels/craig.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/craig.js +30 -0
- package/dist/discontinuous/world-kernels/craig.js.map +1 -0
- package/dist/discontinuous/world-kernels/craster.d.ts +5 -0
- package/dist/discontinuous/world-kernels/craster.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/craster.js +15 -0
- package/dist/discontinuous/world-kernels/craster.js.map +1 -0
- package/dist/discontinuous/world-kernels/cylindricalEqualArea.d.ts +5 -0
- package/dist/discontinuous/world-kernels/cylindricalEqualArea.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/cylindricalEqualArea.js +17 -0
- package/dist/discontinuous/world-kernels/cylindricalEqualArea.js.map +1 -0
- package/dist/discontinuous/world-kernels/cylindricalStereographic.d.ts +5 -0
- package/dist/discontinuous/world-kernels/cylindricalStereographic.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/cylindricalStereographic.js +17 -0
- package/dist/discontinuous/world-kernels/cylindricalStereographic.js.map +1 -0
- package/dist/discontinuous/world-kernels/d3-geo-raw.d.ts +9 -0
- package/dist/discontinuous/world-kernels/d3-geo-raw.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/d3-geo-raw.js +21 -0
- package/dist/discontinuous/world-kernels/d3-geo-raw.js.map +1 -0
- package/dist/discontinuous/world-kernels/eckert1.d.ts +5 -0
- package/dist/discontinuous/world-kernels/eckert1.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/eckert1.js +15 -0
- package/dist/discontinuous/world-kernels/eckert1.js.map +1 -0
- package/dist/discontinuous/world-kernels/eckert2.d.ts +5 -0
- package/dist/discontinuous/world-kernels/eckert2.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/eckert2.js +15 -0
- package/dist/discontinuous/world-kernels/eckert2.js.map +1 -0
- package/dist/discontinuous/world-kernels/eckert3.d.ts +5 -0
- package/dist/discontinuous/world-kernels/eckert3.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/eckert3.js +15 -0
- package/dist/discontinuous/world-kernels/eckert3.js.map +1 -0
- package/dist/discontinuous/world-kernels/eckert4.d.ts +5 -0
- package/dist/discontinuous/world-kernels/eckert4.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/eckert4.js +20 -0
- package/dist/discontinuous/world-kernels/eckert4.js.map +1 -0
- package/dist/discontinuous/world-kernels/eckert5.d.ts +5 -0
- package/dist/discontinuous/world-kernels/eckert5.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/eckert5.js +14 -0
- package/dist/discontinuous/world-kernels/eckert5.js.map +1 -0
- package/dist/discontinuous/world-kernels/eckert6.d.ts +5 -0
- package/dist/discontinuous/world-kernels/eckert6.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/eckert6.js +19 -0
- package/dist/discontinuous/world-kernels/eckert6.js.map +1 -0
- package/dist/discontinuous/world-kernels/eisenlohr.d.ts +5 -0
- package/dist/discontinuous/world-kernels/eisenlohr.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/eisenlohr.js +41 -0
- package/dist/discontinuous/world-kernels/eisenlohr.js.map +1 -0
- package/dist/discontinuous/world-kernels/fahey.d.ts +5 -0
- package/dist/discontinuous/world-kernels/fahey.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/fahey.js +16 -0
- package/dist/discontinuous/world-kernels/fahey.js.map +1 -0
- package/dist/discontinuous/world-kernels/foucaut.d.ts +5 -0
- package/dist/discontinuous/world-kernels/foucaut.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/foucaut.js +15 -0
- package/dist/discontinuous/world-kernels/foucaut.js.map +1 -0
- package/dist/discontinuous/world-kernels/foucautSinusoidal.d.ts +5 -0
- package/dist/discontinuous/world-kernels/foucautSinusoidal.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/foucautSinusoidal.js +27 -0
- package/dist/discontinuous/world-kernels/foucautSinusoidal.js.map +1 -0
- package/dist/discontinuous/world-kernels/ginzburg4.d.ts +5 -0
- package/dist/discontinuous/world-kernels/ginzburg4.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/ginzburg4.js +8 -0
- package/dist/discontinuous/world-kernels/ginzburg4.js.map +1 -0
- package/dist/discontinuous/world-kernels/ginzburg5.d.ts +5 -0
- package/dist/discontinuous/world-kernels/ginzburg5.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/ginzburg5.js +8 -0
- package/dist/discontinuous/world-kernels/ginzburg5.js.map +1 -0
- package/dist/discontinuous/world-kernels/ginzburg6.d.ts +5 -0
- package/dist/discontinuous/world-kernels/ginzburg6.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/ginzburg6.js +9 -0
- package/dist/discontinuous/world-kernels/ginzburg6.js.map +1 -0
- package/dist/discontinuous/world-kernels/ginzburg8.d.ts +5 -0
- package/dist/discontinuous/world-kernels/ginzburg8.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/ginzburg8.js +28 -0
- package/dist/discontinuous/world-kernels/ginzburg8.js.map +1 -0
- package/dist/discontinuous/world-kernels/ginzburg9.d.ts +5 -0
- package/dist/discontinuous/world-kernels/ginzburg9.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/ginzburg9.js +8 -0
- package/dist/discontinuous/world-kernels/ginzburg9.js.map +1 -0
- package/dist/discontinuous/world-kernels/ginzburgPolyconic.d.ts +5 -0
- package/dist/discontinuous/world-kernels/ginzburgPolyconic.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/ginzburgPolyconic.js +29 -0
- package/dist/discontinuous/world-kernels/ginzburgPolyconic.js.map +1 -0
- package/dist/discontinuous/world-kernels/hammer.d.ts +3 -0
- package/dist/discontinuous/world-kernels/hammer.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/hammer.js +34 -0
- package/dist/discontinuous/world-kernels/hammer.js.map +1 -0
- package/dist/discontinuous/world-kernels/hammerRetroazimuthal.d.ts +5 -0
- package/dist/discontinuous/world-kernels/hammerRetroazimuthal.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/hammerRetroazimuthal.js +37 -0
- package/dist/discontinuous/world-kernels/hammerRetroazimuthal.js.map +1 -0
- package/dist/discontinuous/world-kernels/hill.d.ts +5 -0
- package/dist/discontinuous/world-kernels/hill.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/hill.js +36 -0
- package/dist/discontinuous/world-kernels/hill.js.map +1 -0
- package/dist/discontinuous/world-kernels/homolosine.d.ts +5 -0
- package/dist/discontinuous/world-kernels/homolosine.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/homolosine.js +22 -0
- package/dist/discontinuous/world-kernels/homolosine.js.map +1 -0
- package/dist/discontinuous/world-kernels/hufnagel.d.ts +5 -0
- package/dist/discontinuous/world-kernels/hufnagel.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/hufnagel.js +53 -0
- package/dist/discontinuous/world-kernels/hufnagel.js.map +1 -0
- package/dist/discontinuous/world-kernels/hyperelliptical.d.ts +5 -0
- package/dist/discontinuous/world-kernels/hyperelliptical.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/hyperelliptical.js +47 -0
- package/dist/discontinuous/world-kernels/hyperelliptical.js.map +1 -0
- package/dist/discontinuous/world-kernels/integrate.d.ts +2 -0
- package/dist/discontinuous/world-kernels/integrate.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/integrate.js +82 -0
- package/dist/discontinuous/world-kernels/integrate.js.map +1 -0
- package/dist/discontinuous/world-kernels/kavrayskiy7.d.ts +5 -0
- package/dist/discontinuous/world-kernels/kavrayskiy7.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/kavrayskiy7.js +13 -0
- package/dist/discontinuous/world-kernels/kavrayskiy7.js.map +1 -0
- package/dist/discontinuous/world-kernels/lagrange.d.ts +5 -0
- package/dist/discontinuous/world-kernels/lagrange.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/lagrange.js +27 -0
- package/dist/discontinuous/world-kernels/lagrange.js.map +1 -0
- package/dist/discontinuous/world-kernels/larrivee.d.ts +5 -0
- package/dist/discontinuous/world-kernels/larrivee.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/larrivee.js +26 -0
- package/dist/discontinuous/world-kernels/larrivee.js.map +1 -0
- package/dist/discontinuous/world-kernels/laskowski.d.ts +5 -0
- package/dist/discontinuous/world-kernels/laskowski.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/laskowski.js +31 -0
- package/dist/discontinuous/world-kernels/laskowski.js.map +1 -0
- package/dist/discontinuous/world-kernels/littrow.d.ts +5 -0
- package/dist/discontinuous/world-kernels/littrow.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/littrow.js +13 -0
- package/dist/discontinuous/world-kernels/littrow.js.map +1 -0
- package/dist/discontinuous/world-kernels/loximuthal.d.ts +5 -0
- package/dist/discontinuous/world-kernels/loximuthal.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/loximuthal.js +30 -0
- package/dist/discontinuous/world-kernels/loximuthal.js.map +1 -0
- package/dist/discontinuous/world-kernels/math.d.ts +36 -0
- package/dist/discontinuous/world-kernels/math.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/math.js +63 -0
- package/dist/discontinuous/world-kernels/math.js.map +1 -0
- package/dist/discontinuous/world-kernels/miller.d.ts +5 -0
- package/dist/discontinuous/world-kernels/miller.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/miller.js +13 -0
- package/dist/discontinuous/world-kernels/miller.js.map +1 -0
- package/dist/discontinuous/world-kernels/modifiedStereographic.d.ts +18 -0
- package/dist/discontinuous/world-kernels/modifiedStereographic.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/modifiedStereographic.js +79 -0
- package/dist/discontinuous/world-kernels/modifiedStereographic.js.map +1 -0
- package/dist/discontinuous/world-kernels/mollweide.d.ts +10 -0
- package/dist/discontinuous/world-kernels/mollweide.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/mollweide.js +24 -0
- package/dist/discontinuous/world-kernels/mollweide.js.map +1 -0
- package/dist/discontinuous/world-kernels/mtFlatPolarParabolic.d.ts +5 -0
- package/dist/discontinuous/world-kernels/mtFlatPolarParabolic.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/mtFlatPolarParabolic.js +19 -0
- package/dist/discontinuous/world-kernels/mtFlatPolarParabolic.js.map +1 -0
- package/dist/discontinuous/world-kernels/mtFlatPolarQuartic.d.ts +5 -0
- package/dist/discontinuous/world-kernels/mtFlatPolarQuartic.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/mtFlatPolarQuartic.js +26 -0
- package/dist/discontinuous/world-kernels/mtFlatPolarQuartic.js.map +1 -0
- package/dist/discontinuous/world-kernels/mtFlatPolarSinusoidal.d.ts +5 -0
- package/dist/discontinuous/world-kernels/mtFlatPolarSinusoidal.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/mtFlatPolarSinusoidal.js +22 -0
- package/dist/discontinuous/world-kernels/mtFlatPolarSinusoidal.js.map +1 -0
- package/dist/discontinuous/world-kernels/naturalEarth2.d.ts +5 -0
- package/dist/discontinuous/world-kernels/naturalEarth2.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/naturalEarth2.js +37 -0
- package/dist/discontinuous/world-kernels/naturalEarth2.js.map +1 -0
- package/dist/discontinuous/world-kernels/nellHammer.d.ts +5 -0
- package/dist/discontinuous/world-kernels/nellHammer.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/nellHammer.js +18 -0
- package/dist/discontinuous/world-kernels/nellHammer.js.map +1 -0
- package/dist/discontinuous/world-kernels/newton.d.ts +3 -0
- package/dist/discontinuous/world-kernels/newton.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/newton.js +65 -0
- package/dist/discontinuous/world-kernels/newton.js.map +1 -0
- package/dist/discontinuous/world-kernels/nicolosi.d.ts +5 -0
- package/dist/discontinuous/world-kernels/nicolosi.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/nicolosi.js +38 -0
- package/dist/discontinuous/world-kernels/nicolosi.js.map +1 -0
- package/dist/discontinuous/world-kernels/patterson.d.ts +5 -0
- package/dist/discontinuous/world-kernels/patterson.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/patterson.js +32 -0
- package/dist/discontinuous/world-kernels/patterson.js.map +1 -0
- package/dist/discontinuous/world-kernels/polyconic.d.ts +5 -0
- package/dist/discontinuous/world-kernels/polyconic.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/polyconic.js +30 -0
- package/dist/discontinuous/world-kernels/polyconic.js.map +1 -0
- package/dist/discontinuous/world-kernels/rectangularPolyconic.d.ts +5 -0
- package/dist/discontinuous/world-kernels/rectangularPolyconic.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/rectangularPolyconic.js +31 -0
- package/dist/discontinuous/world-kernels/rectangularPolyconic.js.map +1 -0
- package/dist/discontinuous/world-kernels/robinson.d.ts +5 -0
- package/dist/discontinuous/world-kernels/robinson.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/robinson.js +63 -0
- package/dist/discontinuous/world-kernels/robinson.js.map +1 -0
- package/dist/discontinuous/world-kernels/satellite.d.ts +5 -0
- package/dist/discontinuous/world-kernels/satellite.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/satellite.js +32 -0
- package/dist/discontinuous/world-kernels/satellite.js.map +1 -0
- package/dist/discontinuous/world-kernels/sinuMollweide.d.ts +7 -0
- package/dist/discontinuous/world-kernels/sinuMollweide.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/sinuMollweide.js +20 -0
- package/dist/discontinuous/world-kernels/sinuMollweide.js.map +1 -0
- package/dist/discontinuous/world-kernels/sinusoidal.d.ts +5 -0
- package/dist/discontinuous/world-kernels/sinusoidal.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/sinusoidal.js +13 -0
- package/dist/discontinuous/world-kernels/sinusoidal.js.map +1 -0
- package/dist/discontinuous/world-kernels/times.d.ts +5 -0
- package/dist/discontinuous/world-kernels/times.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/times.js +15 -0
- package/dist/discontinuous/world-kernels/times.js.map +1 -0
- package/dist/discontinuous/world-kernels/twoPointEquidistant.d.ts +3 -0
- package/dist/discontinuous/world-kernels/twoPointEquidistant.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/twoPointEquidistant.js +28 -0
- package/dist/discontinuous/world-kernels/twoPointEquidistant.js.map +1 -0
- package/dist/discontinuous/world-kernels/vanDerGrinten.d.ts +5 -0
- package/dist/discontinuous/world-kernels/vanDerGrinten.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/vanDerGrinten.js +30 -0
- package/dist/discontinuous/world-kernels/vanDerGrinten.js.map +1 -0
- package/dist/discontinuous/world-kernels/vanDerGrinten2.d.ts +5 -0
- package/dist/discontinuous/world-kernels/vanDerGrinten2.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/vanDerGrinten2.js +25 -0
- package/dist/discontinuous/world-kernels/vanDerGrinten2.js.map +1 -0
- package/dist/discontinuous/world-kernels/vanDerGrinten3.d.ts +5 -0
- package/dist/discontinuous/world-kernels/vanDerGrinten3.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/vanDerGrinten3.js +22 -0
- package/dist/discontinuous/world-kernels/vanDerGrinten3.js.map +1 -0
- package/dist/discontinuous/world-kernels/vanDerGrinten4.d.ts +5 -0
- package/dist/discontinuous/world-kernels/vanDerGrinten4.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/vanDerGrinten4.js +38 -0
- package/dist/discontinuous/world-kernels/vanDerGrinten4.js.map +1 -0
- package/dist/discontinuous/world-kernels/wagner.d.ts +5 -0
- package/dist/discontinuous/world-kernels/wagner.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/wagner.js +44 -0
- package/dist/discontinuous/world-kernels/wagner.js.map +1 -0
- package/dist/discontinuous/world-kernels/wagner4.d.ts +5 -0
- package/dist/discontinuous/world-kernels/wagner4.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/wagner4.js +10 -0
- package/dist/discontinuous/world-kernels/wagner4.js.map +1 -0
- package/dist/discontinuous/world-kernels/wagner6.d.ts +5 -0
- package/dist/discontinuous/world-kernels/wagner6.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/wagner6.js +13 -0
- package/dist/discontinuous/world-kernels/wagner6.js.map +1 -0
- package/dist/discontinuous/world-kernels/wiechel.d.ts +5 -0
- package/dist/discontinuous/world-kernels/wiechel.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/wiechel.js +15 -0
- package/dist/discontinuous/world-kernels/wiechel.js.map +1 -0
- package/dist/discontinuous/world-kernels/winkel3.d.ts +5 -0
- package/dist/discontinuous/world-kernels/winkel3.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels/winkel3.js +20 -0
- package/dist/discontinuous/world-kernels/winkel3.js.map +1 -0
- package/dist/discontinuous/world-kernels.d.ts +150 -0
- package/dist/discontinuous/world-kernels.d.ts.map +1 -0
- package/dist/discontinuous/world-kernels.js +215 -0
- package/dist/discontinuous/world-kernels.js.map +1 -0
- package/dist/discontinuous/world-map.d.ts +25 -0
- package/dist/discontinuous/world-map.d.ts.map +1 -0
- package/dist/discontinuous/world-map.js +187 -0
- package/dist/discontinuous/world-map.js.map +1 -0
- package/dist/discontinuous.cjs +7310 -0
- package/dist/discontinuous.cjs.map +6 -0
- package/dist/discontinuous.d.ts +52 -0
- package/dist/discontinuous.d.ts.map +1 -0
- package/dist/discontinuous.js +36 -0
- package/dist/discontinuous.js.map +1 -0
- package/dist/elastic.cjs +52991 -0
- package/dist/elastic.cjs.map +6 -0
- package/dist/elastic.d.ts +5 -0
- package/dist/elastic.d.ts.map +1 -0
- package/dist/elastic.js +8 -0
- package/dist/elastic.js.map +1 -0
- package/dist/ellipsoid-geodesic.d.ts +63 -0
- package/dist/ellipsoid-geodesic.d.ts.map +1 -0
- package/dist/ellipsoid-geodesic.js +70 -0
- package/dist/ellipsoid-geodesic.js.map +1 -0
- package/dist/ellipsoid-helpers/ellipsoid-transform.d.ts +1 -1
- package/dist/ellipsoid-helpers/ellipsoid-transform.d.ts.map +1 -1
- package/dist/ellipsoid-helpers/ellipsoid-transform.js +59 -18
- package/dist/ellipsoid-helpers/ellipsoid-transform.js.map +1 -1
- package/dist/ellipsoid-helpers/exact-nearest-surface.d.ts +16 -0
- package/dist/ellipsoid-helpers/exact-nearest-surface.d.ts.map +1 -0
- package/dist/ellipsoid-helpers/exact-nearest-surface.js +108 -0
- package/dist/ellipsoid-helpers/exact-nearest-surface.js.map +1 -0
- package/dist/ellipsoid-helpers/intersection-bounds.d.ts +18 -0
- package/dist/ellipsoid-helpers/intersection-bounds.d.ts.map +1 -0
- package/dist/ellipsoid-helpers/intersection-bounds.js +60 -0
- package/dist/ellipsoid-helpers/intersection-bounds.js.map +1 -0
- package/dist/ellipsoid-helpers/nearest-surface.d.ts +12 -0
- package/dist/ellipsoid-helpers/nearest-surface.d.ts.map +1 -0
- package/dist/ellipsoid-helpers/nearest-surface.js +127 -0
- package/dist/ellipsoid-helpers/nearest-surface.js.map +1 -0
- package/dist/ellipsoid-helpers/rhumb-pole-distance.d.ts +3 -0
- package/dist/ellipsoid-helpers/rhumb-pole-distance.d.ts.map +1 -0
- package/dist/ellipsoid-helpers/rhumb-pole-distance.js +63 -0
- package/dist/ellipsoid-helpers/rhumb-pole-distance.js.map +1 -0
- package/dist/ellipsoid-helpers/scale-to-geodetic-surface.d.ts +2 -0
- package/dist/ellipsoid-helpers/scale-to-geodetic-surface.d.ts.map +1 -1
- package/dist/ellipsoid-helpers/scale-to-geodetic-surface.js +32 -63
- package/dist/ellipsoid-helpers/scale-to-geodetic-surface.js.map +1 -1
- package/dist/ellipsoid-helpers/surface-polygon.d.ts +65 -0
- package/dist/ellipsoid-helpers/surface-polygon.d.ts.map +1 -0
- package/dist/ellipsoid-helpers/surface-polygon.js +159 -0
- package/dist/ellipsoid-helpers/surface-polygon.js.map +1 -0
- package/dist/ellipsoid-helpers/tangent-plane-numerics.d.ts +7 -0
- package/dist/ellipsoid-helpers/tangent-plane-numerics.d.ts.map +1 -0
- package/dist/ellipsoid-helpers/tangent-plane-numerics.js +88 -0
- package/dist/ellipsoid-helpers/tangent-plane-numerics.js.map +1 -0
- package/dist/ellipsoid-metrics.d.ts +31 -0
- package/dist/ellipsoid-metrics.d.ts.map +1 -0
- package/dist/ellipsoid-metrics.js +186 -0
- package/dist/ellipsoid-metrics.js.map +1 -0
- package/dist/ellipsoid-occluder.d.ts +28 -0
- package/dist/ellipsoid-occluder.d.ts.map +1 -0
- package/dist/ellipsoid-occluder.js +112 -0
- package/dist/ellipsoid-occluder.js.map +1 -0
- package/dist/ellipsoid-rhumb.d.ts +52 -0
- package/dist/ellipsoid-rhumb.d.ts.map +1 -0
- package/dist/ellipsoid-rhumb.js +321 -0
- package/dist/ellipsoid-rhumb.js.map +1 -0
- package/dist/ellipsoid-tangent-plane.d.ts +30 -8
- package/dist/ellipsoid-tangent-plane.d.ts.map +1 -1
- package/dist/ellipsoid-tangent-plane.js +181 -31
- package/dist/ellipsoid-tangent-plane.js.map +1 -1
- package/dist/ellipsoid-transforms.d.ts +12 -0
- package/dist/ellipsoid-transforms.d.ts.map +1 -0
- package/dist/ellipsoid-transforms.js +15 -0
- package/dist/ellipsoid-transforms.js.map +1 -0
- package/dist/ellipsoid.d.ts +13 -12
- package/dist/ellipsoid.d.ts.map +1 -1
- package/dist/ellipsoid.js +230 -66
- package/dist/ellipsoid.js.map +1 -1
- package/dist/entries/ellipsoid.d.ts +26 -0
- package/dist/entries/ellipsoid.d.ts.map +1 -0
- package/dist/entries/ellipsoid.js +17 -0
- package/dist/entries/ellipsoid.js.map +1 -0
- package/dist/expressions.d.ts +4 -0
- package/dist/expressions.d.ts.map +1 -0
- package/dist/expressions.js +24 -0
- package/dist/expressions.js.map +1 -0
- package/dist/geoarrow/builder-entry.d.ts +4 -0
- package/dist/geoarrow/builder-entry.d.ts.map +1 -0
- package/dist/geoarrow/builder-entry.js +5 -0
- package/dist/geoarrow/builder-entry.js.map +1 -0
- package/dist/geoarrow/builder.d.ts +106 -0
- package/dist/geoarrow/builder.d.ts.map +1 -0
- package/dist/geoarrow/builder.js +668 -0
- package/dist/geoarrow/builder.js.map +1 -0
- package/dist/geoarrow/codecs.d.ts +24 -0
- package/dist/geoarrow/codecs.d.ts.map +1 -0
- package/dist/geoarrow/codecs.js +916 -0
- package/dist/geoarrow/codecs.js.map +1 -0
- package/dist/geoarrow/index.cjs +4352 -0
- package/dist/geoarrow/index.cjs.map +6 -0
- package/dist/geoarrow/index.d.ts +21 -0
- package/dist/geoarrow/index.d.ts.map +1 -0
- package/dist/geoarrow/index.js +15 -0
- package/dist/geoarrow/index.js.map +1 -0
- package/dist/geoarrow/kernels.d.ts +56 -0
- package/dist/geoarrow/kernels.d.ts.map +1 -0
- package/dist/geoarrow/kernels.js +982 -0
- package/dist/geoarrow/kernels.js.map +1 -0
- package/dist/geoarrow/layout.d.ts +66 -0
- package/dist/geoarrow/layout.d.ts.map +1 -0
- package/dist/geoarrow/layout.js +723 -0
- package/dist/geoarrow/layout.js.map +1 -0
- package/dist/geoarrow/stream-tessellate.d.ts +34 -0
- package/dist/geoarrow/stream-tessellate.d.ts.map +1 -0
- package/dist/geoarrow/stream-tessellate.js +171 -0
- package/dist/geoarrow/stream-tessellate.js.map +1 -0
- package/dist/geoarrow/stream.d.ts +29 -0
- package/dist/geoarrow/stream.d.ts.map +1 -0
- package/dist/geoarrow/stream.js +100 -0
- package/dist/geoarrow/stream.js.map +1 -0
- package/dist/geoarrow/tessellate.d.ts +31 -0
- package/dist/geoarrow/tessellate.d.ts.map +1 -0
- package/dist/geoarrow/tessellate.js +102 -0
- package/dist/geoarrow/tessellate.js.map +1 -0
- package/dist/geoarrow/tessellation-entry.d.ts +4 -0
- package/dist/geoarrow/tessellation-entry.d.ts.map +1 -0
- package/dist/geoarrow/tessellation-entry.js +5 -0
- package/dist/geoarrow/tessellation-entry.js.map +1 -0
- package/dist/geoarrow/types.d.ts +155 -0
- package/dist/geoarrow/types.d.ts.map +1 -0
- package/dist/geoarrow/types.js +71 -0
- package/dist/geoarrow/types.js.map +1 -0
- package/dist/geoarrow/views.d.ts +45 -0
- package/dist/geoarrow/views.d.ts.map +1 -0
- package/dist/geoarrow/views.js +114 -0
- package/dist/geoarrow/views.js.map +1 -0
- package/dist/geoarrow/wkb-entry.d.ts +4 -0
- package/dist/geoarrow/wkb-entry.d.ts.map +1 -0
- package/dist/geoarrow/wkb-entry.js +6 -0
- package/dist/geoarrow/wkb-entry.js.map +1 -0
- package/dist/geoarrow/worker.d.ts +11 -0
- package/dist/geoarrow/worker.d.ts.map +1 -0
- package/dist/geoarrow/worker.js +10 -0
- package/dist/geoarrow/worker.js.map +1 -0
- package/dist/geodesic-buffer.d.ts +34 -0
- package/dist/geodesic-buffer.d.ts.map +1 -0
- package/dist/geodesic-buffer.js +86 -0
- package/dist/geodesic-buffer.js.map +1 -0
- package/dist/geodesic-exact/area.d.ts +5 -0
- package/dist/geodesic-exact/area.d.ts.map +1 -0
- package/dist/geodesic-exact/area.js +56 -0
- package/dist/geodesic-exact/area.js.map +1 -0
- package/dist/geodesic-exact/inverse-engine.d.ts +57 -0
- package/dist/geodesic-exact/inverse-engine.d.ts.map +1 -0
- package/dist/geodesic-exact/inverse-engine.js +56 -0
- package/dist/geodesic-exact/inverse-engine.js.map +1 -0
- package/dist/geodesic-exact/polygon.d.ts +12 -0
- package/dist/geodesic-exact/polygon.d.ts.map +1 -0
- package/dist/geodesic-exact/polygon.js +27 -0
- package/dist/geodesic-exact/polygon.js.map +1 -0
- package/dist/geodesic-exact/quadrature.d.ts +9 -0
- package/dist/geodesic-exact/quadrature.d.ts.map +1 -0
- package/dist/geodesic-exact/quadrature.js +62 -0
- package/dist/geodesic-exact/quadrature.js.map +1 -0
- package/dist/geodesic-exact.d.ts +23 -0
- package/dist/geodesic-exact.d.ts.map +1 -0
- package/dist/geodesic-exact.js +210 -0
- package/dist/geodesic-exact.js.map +1 -0
- package/dist/geodesic-intersections.d.ts +83 -0
- package/dist/geodesic-intersections.d.ts.map +1 -0
- package/dist/geodesic-intersections.js +451 -0
- package/dist/geodesic-intersections.js.map +1 -0
- package/dist/geodesic-path.d.ts +28 -0
- package/dist/geodesic-path.d.ts.map +1 -0
- package/dist/geodesic-path.js +102 -0
- package/dist/geodesic-path.js.map +1 -0
- package/dist/geodesic-polygon.d.ts +11 -0
- package/dist/geodesic-polygon.d.ts.map +1 -0
- package/dist/geodesic-polygon.js +16 -0
- package/dist/geodesic-polygon.js.map +1 -0
- package/dist/geographic-atlas/atlas.d.ts +34 -0
- package/dist/geographic-atlas/atlas.d.ts.map +1 -0
- package/dist/geographic-atlas/atlas.js +493 -0
- package/dist/geographic-atlas/atlas.js.map +1 -0
- package/dist/geographic-atlas/curves.d.ts +25 -0
- package/dist/geographic-atlas/curves.d.ts.map +1 -0
- package/dist/geographic-atlas/curves.js +270 -0
- package/dist/geographic-atlas/curves.js.map +1 -0
- package/dist/geographic-atlas/math.d.ts +38 -0
- package/dist/geographic-atlas/math.d.ts.map +1 -0
- package/dist/geographic-atlas/math.js +115 -0
- package/dist/geographic-atlas/math.js.map +1 -0
- package/dist/geographic-atlas/sampling.d.ts +18 -0
- package/dist/geographic-atlas/sampling.d.ts.map +1 -0
- package/dist/geographic-atlas/sampling.js +96 -0
- package/dist/geographic-atlas/sampling.js.map +1 -0
- package/dist/geographic-atlas/topology.d.ts +20 -0
- package/dist/geographic-atlas/topology.d.ts.map +1 -0
- package/dist/geographic-atlas/topology.js +159 -0
- package/dist/geographic-atlas/topology.js.map +1 -0
- package/dist/geographic-atlas/types.d.ts +55 -0
- package/dist/geographic-atlas/types.d.ts.map +1 -0
- package/dist/geographic-atlas/types.js +2 -0
- package/dist/geographic-atlas/types.js.map +1 -0
- package/dist/geographic-atlas.d.ts +37 -0
- package/dist/geographic-atlas.d.ts.map +1 -0
- package/dist/geographic-atlas.js +77 -0
- package/dist/geographic-atlas.js.map +1 -0
- package/dist/geographic-cuts.d.ts +35 -0
- package/dist/geographic-cuts.d.ts.map +1 -0
- package/dist/geographic-cuts.js +78 -0
- package/dist/geographic-cuts.js.map +1 -0
- package/dist/geographic-seams/cut-options.d.ts +13 -0
- package/dist/geographic-seams/cut-options.d.ts.map +1 -0
- package/dist/geographic-seams/cut-options.js +38 -0
- package/dist/geographic-seams/cut-options.js.map +1 -0
- package/dist/geographic-seams/edge.d.ts +46 -0
- package/dist/geographic-seams/edge.d.ts.map +1 -0
- package/dist/geographic-seams/edge.js +372 -0
- package/dist/geographic-seams/edge.js.map +1 -0
- package/dist/geographic-seams/latitude.d.ts +6 -0
- package/dist/geographic-seams/latitude.d.ts.map +1 -0
- package/dist/geographic-seams/latitude.js +47 -0
- package/dist/geographic-seams/latitude.js.map +1 -0
- package/dist/geographic-seams/polygon.d.ts +27 -0
- package/dist/geographic-seams/polygon.d.ts.map +1 -0
- package/dist/geographic-seams/polygon.js +422 -0
- package/dist/geographic-seams/polygon.js.map +1 -0
- package/dist/geographic-seams/subdivide-cut.d.ts +14 -0
- package/dist/geographic-seams/subdivide-cut.d.ts.map +1 -0
- package/dist/geographic-seams/subdivide-cut.js +149 -0
- package/dist/geographic-seams/subdivide-cut.js.map +1 -0
- package/dist/geographic-seams/types.d.ts +59 -0
- package/dist/geographic-seams/types.d.ts.map +1 -0
- package/dist/geographic-seams/types.js +8 -0
- package/dist/geographic-seams/types.js.map +1 -0
- package/dist/geographic-seams.d.ts +12 -0
- package/dist/geographic-seams.d.ts.map +1 -0
- package/dist/geographic-seams.js +54 -0
- package/dist/geographic-seams.js.map +1 -0
- package/dist/geographic-tiles.d.ts +24 -0
- package/dist/geographic-tiles.d.ts.map +1 -0
- package/dist/geographic-tiles.js +72 -0
- package/dist/geographic-tiles.js.map +1 -0
- package/dist/globe-horizon-bounds.d.ts +13 -0
- package/dist/globe-horizon-bounds.d.ts.map +1 -0
- package/dist/globe-horizon-bounds.js +59 -0
- package/dist/globe-horizon-bounds.js.map +1 -0
- package/dist/globe.d.ts +16 -0
- package/dist/globe.d.ts.map +1 -0
- package/dist/globe.js +12 -0
- package/dist/globe.js.map +1 -0
- package/dist/index.cjs +17735 -500
- package/dist/index.cjs.map +3 -3
- package/dist/index.d.ts +71 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +40 -6
- package/dist/index.js.map +1 -1
- package/dist/lng-lat-rectangle.d.ts.map +1 -1
- package/dist/lng-lat-rectangle.js +5 -3
- package/dist/lng-lat-rectangle.js.map +1 -1
- package/dist/local-reference-frame.d.ts +57 -0
- package/dist/local-reference-frame.d.ts.map +1 -0
- package/dist/local-reference-frame.js +247 -0
- package/dist/local-reference-frame.js.map +1 -0
- package/dist/make-obb-from-region.d.ts +1 -1
- package/dist/make-obb-from-region.d.ts.map +1 -1
- package/dist/make-obb-from-region.js +6 -4
- package/dist/make-obb-from-region.js.map +1 -1
- package/dist/projection/analysis.cjs +239 -0
- package/dist/projection/analysis.cjs.map +6 -0
- package/dist/projection/analysis.d.ts +72 -0
- package/dist/projection/analysis.d.ts.map +1 -0
- package/dist/projection/analysis.js +221 -0
- package/dist/projection/analysis.js.map +1 -0
- package/dist/projection/bulk.cjs +203 -0
- package/dist/projection/bulk.cjs.map +6 -0
- package/dist/projection/bulk.d.ts +51 -0
- package/dist/projection/bulk.d.ts.map +1 -0
- package/dist/projection/bulk.js +215 -0
- package/dist/projection/bulk.js.map +1 -0
- package/dist/projection/datums.cjs +1383 -0
- package/dist/projection/datums.cjs.map +6 -0
- package/dist/projection/datums.d.ts +5 -0
- package/dist/projection/datums.d.ts.map +1 -0
- package/dist/projection/datums.js +10 -0
- package/dist/projection/datums.js.map +1 -0
- package/dist/projection/deformation.cjs +134 -0
- package/dist/projection/deformation.cjs.map +6 -0
- package/dist/projection/deformation.d.ts +3 -0
- package/dist/projection/deformation.d.ts.map +1 -0
- package/dist/projection/deformation.js +5 -0
- package/dist/projection/deformation.js.map +1 -0
- package/dist/projection/experimental/authalic-latitude.d.ts +7 -0
- package/dist/projection/experimental/authalic-latitude.d.ts.map +1 -0
- package/dist/projection/experimental/authalic-latitude.js +51 -0
- package/dist/projection/experimental/authalic-latitude.js.map +1 -0
- package/dist/projection/experimental/catalogue-kernel.d.ts +9 -0
- package/dist/projection/experimental/catalogue-kernel.d.ts.map +1 -0
- package/dist/projection/experimental/catalogue-kernel.js +44 -0
- package/dist/projection/experimental/catalogue-kernel.js.map +1 -0
- package/dist/projection/experimental/common/adjust_lat.d.ts +2 -0
- package/dist/projection/experimental/common/adjust_lat.d.ts.map +1 -0
- package/dist/projection/experimental/common/adjust_lat.js +10 -0
- package/dist/projection/experimental/common/adjust_lat.js.map +1 -0
- package/dist/projection/experimental/common/adjust_lon.d.ts +2 -0
- package/dist/projection/experimental/common/adjust_lon.d.ts.map +1 -0
- package/dist/projection/experimental/common/adjust_lon.js +13 -0
- package/dist/projection/experimental/common/adjust_lon.js.map +1 -0
- package/dist/projection/experimental/common/asinhy.d.ts +2 -0
- package/dist/projection/experimental/common/asinhy.d.ts.map +1 -0
- package/dist/projection/experimental/common/asinhy.js +12 -0
- package/dist/projection/experimental/common/asinhy.js.map +1 -0
- package/dist/projection/experimental/common/asinz.d.ts +2 -0
- package/dist/projection/experimental/common/asinz.d.ts.map +1 -0
- package/dist/projection/experimental/common/asinz.js +11 -0
- package/dist/projection/experimental/common/asinz.js.map +1 -0
- package/dist/projection/experimental/common/authlat.d.ts +2 -0
- package/dist/projection/experimental/common/authlat.d.ts.map +1 -0
- package/dist/projection/experimental/common/authlat.js +9 -0
- package/dist/projection/experimental/common/authlat.js.map +1 -0
- package/dist/projection/experimental/common/authset.d.ts +2 -0
- package/dist/projection/experimental/common/authset.d.ts.map +1 -0
- package/dist/projection/experimental/common/authset.js +24 -0
- package/dist/projection/experimental/common/authset.js.map +1 -0
- package/dist/projection/experimental/common/clens.d.ts +2 -0
- package/dist/projection/experimental/common/clens.d.ts.map +1 -0
- package/dist/projection/experimental/common/clens.js +18 -0
- package/dist/projection/experimental/common/clens.js.map +1 -0
- package/dist/projection/experimental/common/clens_cmplx.d.ts +5 -0
- package/dist/projection/experimental/common/clens_cmplx.d.ts.map +1 -0
- package/dist/projection/experimental/common/clens_cmplx.js +34 -0
- package/dist/projection/experimental/common/clens_cmplx.js.map +1 -0
- package/dist/projection/experimental/common/constants.d.ts +9 -0
- package/dist/projection/experimental/common/constants.d.ts.map +1 -0
- package/dist/projection/experimental/common/constants.js +14 -0
- package/dist/projection/experimental/common/constants.js.map +1 -0
- package/dist/projection/experimental/common/cosh.d.ts +2 -0
- package/dist/projection/experimental/common/cosh.d.ts.map +1 -0
- package/dist/projection/experimental/common/cosh.js +10 -0
- package/dist/projection/experimental/common/cosh.js.map +1 -0
- package/dist/projection/experimental/common/e0fn.d.ts +2 -0
- package/dist/projection/experimental/common/e0fn.d.ts.map +1 -0
- package/dist/projection/experimental/common/e0fn.js +8 -0
- package/dist/projection/experimental/common/e0fn.js.map +1 -0
- package/dist/projection/experimental/common/e1fn.d.ts +2 -0
- package/dist/projection/experimental/common/e1fn.d.ts.map +1 -0
- package/dist/projection/experimental/common/e1fn.js +8 -0
- package/dist/projection/experimental/common/e1fn.js.map +1 -0
- package/dist/projection/experimental/common/e2fn.d.ts +2 -0
- package/dist/projection/experimental/common/e2fn.d.ts.map +1 -0
- package/dist/projection/experimental/common/e2fn.js +8 -0
- package/dist/projection/experimental/common/e2fn.js.map +1 -0
- package/dist/projection/experimental/common/e3fn.d.ts +2 -0
- package/dist/projection/experimental/common/e3fn.d.ts.map +1 -0
- package/dist/projection/experimental/common/e3fn.js +8 -0
- package/dist/projection/experimental/common/e3fn.js.map +1 -0
- package/dist/projection/experimental/common/fL.d.ts +2 -0
- package/dist/projection/experimental/common/fL.d.ts.map +1 -0
- package/dist/projection/experimental/common/fL.js +9 -0
- package/dist/projection/experimental/common/fL.js.map +1 -0
- package/dist/projection/experimental/common/gN.d.ts +2 -0
- package/dist/projection/experimental/common/gN.d.ts.map +1 -0
- package/dist/projection/experimental/common/gN.js +9 -0
- package/dist/projection/experimental/common/gN.js.map +1 -0
- package/dist/projection/experimental/common/gatg.d.ts +2 -0
- package/dist/projection/experimental/common/gatg.d.ts.map +1 -0
- package/dist/projection/experimental/common/gatg.js +18 -0
- package/dist/projection/experimental/common/gatg.js.map +1 -0
- package/dist/projection/experimental/common/hypot.d.ts +2 -0
- package/dist/projection/experimental/common/hypot.d.ts.map +1 -0
- package/dist/projection/experimental/common/hypot.js +12 -0
- package/dist/projection/experimental/common/hypot.js.map +1 -0
- package/dist/projection/experimental/common/imlfn.d.ts +2 -0
- package/dist/projection/experimental/common/imlfn.d.ts.map +1 -0
- package/dist/projection/experimental/common/imlfn.js +21 -0
- package/dist/projection/experimental/common/imlfn.js.map +1 -0
- package/dist/projection/experimental/common/invlatiso.d.ts +2 -0
- package/dist/projection/experimental/common/invlatiso.d.ts.map +1 -0
- package/dist/projection/experimental/common/invlatiso.js +20 -0
- package/dist/projection/experimental/common/invlatiso.js.map +1 -0
- package/dist/projection/experimental/common/iqsfnz.d.ts +2 -0
- package/dist/projection/experimental/common/iqsfnz.d.ts.map +1 -0
- package/dist/projection/experimental/common/iqsfnz.js +44 -0
- package/dist/projection/experimental/common/iqsfnz.js.map +1 -0
- package/dist/projection/experimental/common/latiso.d.ts +2 -0
- package/dist/projection/experimental/common/latiso.d.ts.map +1 -0
- package/dist/projection/experimental/common/latiso.js +19 -0
- package/dist/projection/experimental/common/latiso.js.map +1 -0
- package/dist/projection/experimental/common/log1py.d.ts +2 -0
- package/dist/projection/experimental/common/log1py.d.ts.map +1 -0
- package/dist/projection/experimental/common/log1py.js +10 -0
- package/dist/projection/experimental/common/log1py.js.map +1 -0
- package/dist/projection/experimental/common/meridian-distance.d.ts +5 -0
- package/dist/projection/experimental/common/meridian-distance.d.ts.map +1 -0
- package/dist/projection/experimental/common/meridian-distance.js +47 -0
- package/dist/projection/experimental/common/meridian-distance.js.map +1 -0
- package/dist/projection/experimental/common/mlfn.d.ts +2 -0
- package/dist/projection/experimental/common/mlfn.d.ts.map +1 -0
- package/dist/projection/experimental/common/mlfn.js +8 -0
- package/dist/projection/experimental/common/mlfn.js.map +1 -0
- package/dist/projection/experimental/common/msfnz.d.ts +2 -0
- package/dist/projection/experimental/common/msfnz.d.ts.map +1 -0
- package/dist/projection/experimental/common/msfnz.js +9 -0
- package/dist/projection/experimental/common/msfnz.js.map +1 -0
- package/dist/projection/experimental/common/phi2z.d.ts +2 -0
- package/dist/projection/experimental/common/phi2z.d.ts.map +1 -0
- package/dist/projection/experimental/common/phi2z.js +21 -0
- package/dist/projection/experimental/common/phi2z.js.map +1 -0
- package/dist/projection/experimental/common/pj_enfn.d.ts +2 -0
- package/dist/projection/experimental/common/pj_enfn.d.ts.map +1 -0
- package/dist/projection/experimental/common/pj_enfn.js +28 -0
- package/dist/projection/experimental/common/pj_enfn.js.map +1 -0
- package/dist/projection/experimental/common/pj_inv_mlfn.d.ts +2 -0
- package/dist/projection/experimental/common/pj_inv_mlfn.d.ts.map +1 -0
- package/dist/projection/experimental/common/pj_inv_mlfn.js +26 -0
- package/dist/projection/experimental/common/pj_inv_mlfn.js.map +1 -0
- package/dist/projection/experimental/common/pj_mlfn.d.ts +2 -0
- package/dist/projection/experimental/common/pj_mlfn.d.ts.map +1 -0
- package/dist/projection/experimental/common/pj_mlfn.js +10 -0
- package/dist/projection/experimental/common/pj_mlfn.js.map +1 -0
- package/dist/projection/experimental/common/qsfnz.d.ts +2 -0
- package/dist/projection/experimental/common/qsfnz.d.ts.map +1 -0
- package/dist/projection/experimental/common/qsfnz.js +16 -0
- package/dist/projection/experimental/common/qsfnz.js.map +1 -0
- package/dist/projection/experimental/common/sign.d.ts +2 -0
- package/dist/projection/experimental/common/sign.d.ts.map +1 -0
- package/dist/projection/experimental/common/sign.js +8 -0
- package/dist/projection/experimental/common/sign.js.map +1 -0
- package/dist/projection/experimental/common/sinh.d.ts +2 -0
- package/dist/projection/experimental/common/sinh.d.ts.map +1 -0
- package/dist/projection/experimental/common/sinh.js +10 -0
- package/dist/projection/experimental/common/sinh.js.map +1 -0
- package/dist/projection/experimental/common/srat.d.ts +2 -0
- package/dist/projection/experimental/common/srat.d.ts.map +1 -0
- package/dist/projection/experimental/common/srat.js +8 -0
- package/dist/projection/experimental/common/srat.js.map +1 -0
- package/dist/projection/experimental/common/tsfnz.d.ts +2 -0
- package/dist/projection/experimental/common/tsfnz.d.ts.map +1 -0
- package/dist/projection/experimental/common/tsfnz.js +12 -0
- package/dist/projection/experimental/common/tsfnz.js.map +1 -0
- package/dist/projection/experimental/common/vincenty.d.ts +29 -0
- package/dist/projection/experimental/common/vincenty.d.ts.map +1 -0
- package/dist/projection/experimental/common/vincenty.js +134 -0
- package/dist/projection/experimental/common/vincenty.js.map +1 -0
- package/dist/projection/experimental/core.cjs +1995 -0
- package/dist/projection/experimental/core.cjs.map +6 -0
- package/dist/projection/experimental/core.d.ts +16 -0
- package/dist/projection/experimental/core.d.ts.map +1 -0
- package/dist/projection/experimental/core.js +10 -0
- package/dist/projection/experimental/core.js.map +1 -0
- package/dist/projection/experimental/crs/datum-catalog.d.ts +5 -0
- package/dist/projection/experimental/crs/datum-catalog.d.ts.map +1 -0
- package/dist/projection/experimental/crs/datum-catalog.js +47 -0
- package/dist/projection/experimental/crs/datum-catalog.js.map +1 -0
- package/dist/projection/experimental/crs/datum-table.d.ts +8 -0
- package/dist/projection/experimental/crs/datum-table.d.ts.map +1 -0
- package/dist/projection/experimental/crs/datum-table.js +1355 -0
- package/dist/projection/experimental/crs/datum-table.js.map +1 -0
- package/dist/projection/experimental/crs/ellipsoid-table.d.ts +8 -0
- package/dist/projection/experimental/crs/ellipsoid-table.d.ts.map +1 -0
- package/dist/projection/experimental/crs/ellipsoid-table.js +229 -0
- package/dist/projection/experimental/crs/ellipsoid-table.js.map +1 -0
- package/dist/projection/experimental/crs/normalize.d.ts +11 -0
- package/dist/projection/experimental/crs/normalize.d.ts.map +1 -0
- package/dist/projection/experimental/crs/normalize.js +286 -0
- package/dist/projection/experimental/crs/normalize.js.map +1 -0
- package/dist/projection/experimental/crs/primemeridian-table.d.ts +3 -0
- package/dist/projection/experimental/crs/primemeridian-table.d.ts.map +1 -0
- package/dist/projection/experimental/crs/primemeridian-table.js +20 -0
- package/dist/projection/experimental/crs/primemeridian-table.js.map +1 -0
- package/dist/projection/experimental/crs/projjson.cjs +564 -0
- package/dist/projection/experimental/crs/projjson.cjs.map +6 -0
- package/dist/projection/experimental/crs/projjson.d.ts +4 -0
- package/dist/projection/experimental/crs/projjson.d.ts.map +1 -0
- package/dist/projection/experimental/crs/projjson.js +12 -0
- package/dist/projection/experimental/crs/projjson.js.map +1 -0
- package/dist/projection/experimental/crs/resolve.d.ts +11 -0
- package/dist/projection/experimental/crs/resolve.d.ts.map +1 -0
- package/dist/projection/experimental/crs/resolve.js +61 -0
- package/dist/projection/experimental/crs/resolve.js.map +1 -0
- package/dist/projection/experimental/crs/spatial-reference.d.ts +11 -0
- package/dist/projection/experimental/crs/spatial-reference.d.ts.map +1 -0
- package/dist/projection/experimental/crs/spatial-reference.js +91 -0
- package/dist/projection/experimental/crs/spatial-reference.js.map +1 -0
- package/dist/projection/experimental/crs/structured.d.ts +8 -0
- package/dist/projection/experimental/crs/structured.d.ts.map +1 -0
- package/dist/projection/experimental/crs/structured.js +534 -0
- package/dist/projection/experimental/crs/structured.js.map +1 -0
- package/dist/projection/experimental/crs/types.d.ts +73 -0
- package/dist/projection/experimental/crs/types.d.ts.map +1 -0
- package/dist/projection/experimental/crs/types.js +21 -0
- package/dist/projection/experimental/crs/types.js.map +1 -0
- package/dist/projection/experimental/crs/wkt.cjs +1229 -0
- package/dist/projection/experimental/crs/wkt.cjs.map +6 -0
- package/dist/projection/experimental/crs/wkt.d.ts +3 -0
- package/dist/projection/experimental/crs/wkt.d.ts.map +1 -0
- package/dist/projection/experimental/crs/wkt.js +190 -0
- package/dist/projection/experimental/crs/wkt.js.map +1 -0
- package/dist/projection/experimental/crs-descriptor.d.ts +13 -0
- package/dist/projection/experimental/crs-descriptor.d.ts.map +1 -0
- package/dist/projection/experimental/crs-descriptor.js +174 -0
- package/dist/projection/experimental/crs-descriptor.js.map +1 -0
- package/dist/projection/experimental/crs-rendering-scale.d.ts +5 -0
- package/dist/projection/experimental/crs-rendering-scale.d.ts.map +1 -0
- package/dist/projection/experimental/crs-rendering-scale.js +97 -0
- package/dist/projection/experimental/crs-rendering-scale.js.map +1 -0
- package/dist/projection/experimental/datum.d.ts +17 -0
- package/dist/projection/experimental/datum.d.ts.map +1 -0
- package/dist/projection/experimental/datum.js +160 -0
- package/dist/projection/experimental/datum.js.map +1 -0
- package/dist/projection/experimental/deformation-inverse.d.ts +5 -0
- package/dist/projection/experimental/deformation-inverse.d.ts.map +1 -0
- package/dist/projection/experimental/deformation-inverse.js +89 -0
- package/dist/projection/experimental/deformation-inverse.js.map +1 -0
- package/dist/projection/experimental/deformation.d.ts +23 -0
- package/dist/projection/experimental/deformation.d.ts.map +1 -0
- package/dist/projection/experimental/deformation.js +13 -0
- package/dist/projection/experimental/deformation.js.map +1 -0
- package/dist/projection/experimental/ellipsoidal-gnomonic.d.ts +10 -0
- package/dist/projection/experimental/ellipsoidal-gnomonic.d.ts.map +1 -0
- package/dist/projection/experimental/ellipsoidal-gnomonic.js +59 -0
- package/dist/projection/experimental/ellipsoidal-gnomonic.js.map +1 -0
- package/dist/projection/experimental/engine-options.d.ts +10 -0
- package/dist/projection/experimental/engine-options.d.ts.map +1 -0
- package/dist/projection/experimental/engine-options.js +26 -0
- package/dist/projection/experimental/engine-options.js.map +1 -0
- package/dist/projection/experimental/entries/projections/aea.cjs +649 -0
- package/dist/projection/experimental/entries/projections/aea.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/aea.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/aea.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/aea.js +5 -0
- package/dist/projection/experimental/entries/projections/aea.js.map +1 -0
- package/dist/projection/experimental/entries/projections/aeqd.cjs +718 -0
- package/dist/projection/experimental/entries/projections/aeqd.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/aeqd.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/aeqd.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/aeqd.js +5 -0
- package/dist/projection/experimental/entries/projections/aeqd.js.map +1 -0
- package/dist/projection/experimental/entries/projections/bonne.cjs +621 -0
- package/dist/projection/experimental/entries/projections/bonne.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/bonne.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/bonne.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/bonne.js +5 -0
- package/dist/projection/experimental/entries/projections/bonne.js.map +1 -0
- package/dist/projection/experimental/entries/projections/cass.cjs +610 -0
- package/dist/projection/experimental/entries/projections/cass.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/cass.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/cass.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/cass.js +5 -0
- package/dist/projection/experimental/entries/projections/cass.js.map +1 -0
- package/dist/projection/experimental/entries/projections/cea.cjs +536 -0
- package/dist/projection/experimental/entries/projections/cea.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/cea.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/cea.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/cea.js +5 -0
- package/dist/projection/experimental/entries/projections/cea.js.map +1 -0
- package/dist/projection/experimental/entries/projections/eck6.cjs +562 -0
- package/dist/projection/experimental/entries/projections/eck6.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/eck6.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/eck6.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/eck6.js +5 -0
- package/dist/projection/experimental/entries/projections/eck6.js.map +1 -0
- package/dist/projection/experimental/entries/projections/eqc.cjs +256 -0
- package/dist/projection/experimental/entries/projections/eqc.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/eqc.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/eqc.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/eqc.js +5 -0
- package/dist/projection/experimental/entries/projections/eqc.js.map +1 -0
- package/dist/projection/experimental/entries/projections/eqdc.cjs +650 -0
- package/dist/projection/experimental/entries/projections/eqdc.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/eqdc.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/eqdc.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/eqdc.js +5 -0
- package/dist/projection/experimental/entries/projections/eqdc.js.map +1 -0
- package/dist/projection/experimental/entries/projections/eqearth.cjs +460 -0
- package/dist/projection/experimental/entries/projections/eqearth.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/eqearth.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/eqearth.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/eqearth.js +5 -0
- package/dist/projection/experimental/entries/projections/eqearth.js.map +1 -0
- package/dist/projection/experimental/entries/projections/equi.cjs +477 -0
- package/dist/projection/experimental/entries/projections/equi.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/equi.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/equi.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/equi.js +5 -0
- package/dist/projection/experimental/entries/projections/equi.js.map +1 -0
- package/dist/projection/experimental/entries/projections/etmerc.cjs +887 -0
- package/dist/projection/experimental/entries/projections/etmerc.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/etmerc.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/etmerc.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/etmerc.js +5 -0
- package/dist/projection/experimental/entries/projections/etmerc.js.map +1 -0
- package/dist/projection/experimental/entries/projections/geocent.cjs +215 -0
- package/dist/projection/experimental/entries/projections/geocent.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/geocent.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/geocent.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/geocent.js +5 -0
- package/dist/projection/experimental/entries/projections/geocent.js.map +1 -0
- package/dist/projection/experimental/entries/projections/geos.cjs +703 -0
- package/dist/projection/experimental/entries/projections/geos.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/geos.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/geos.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/geos.js +5 -0
- package/dist/projection/experimental/entries/projections/geos.js.map +1 -0
- package/dist/projection/experimental/entries/projections/gnom.cjs +2028 -0
- package/dist/projection/experimental/entries/projections/gnom.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/gnom.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/gnom.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/gnom.js +5 -0
- package/dist/projection/experimental/entries/projections/gnom.js.map +1 -0
- package/dist/projection/experimental/entries/projections/gstmerc.cjs +526 -0
- package/dist/projection/experimental/entries/projections/gstmerc.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/gstmerc.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/gstmerc.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/gstmerc.js +5 -0
- package/dist/projection/experimental/entries/projections/gstmerc.js.map +1 -0
- package/dist/projection/experimental/entries/projections/krovak.cjs +683 -0
- package/dist/projection/experimental/entries/projections/krovak.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/krovak.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/krovak.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/krovak.js +5 -0
- package/dist/projection/experimental/entries/projections/krovak.js.map +1 -0
- package/dist/projection/experimental/entries/projections/laea.cjs +797 -0
- package/dist/projection/experimental/entries/projections/laea.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/laea.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/laea.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/laea.js +5 -0
- package/dist/projection/experimental/entries/projections/laea.js.map +1 -0
- package/dist/projection/experimental/entries/projections/lcc.cjs +637 -0
- package/dist/projection/experimental/entries/projections/lcc.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/lcc.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/lcc.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/lcc.js +5 -0
- package/dist/projection/experimental/entries/projections/lcc.js.map +1 -0
- package/dist/projection/experimental/entries/projections/merc.cjs +354 -0
- package/dist/projection/experimental/entries/projections/merc.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/merc.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/merc.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/merc.js +5 -0
- package/dist/projection/experimental/entries/projections/merc.js.map +1 -0
- package/dist/projection/experimental/entries/projections/mill.cjs +470 -0
- package/dist/projection/experimental/entries/projections/mill.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/mill.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/mill.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/mill.js +5 -0
- package/dist/projection/experimental/entries/projections/mill.js.map +1 -0
- package/dist/projection/experimental/entries/projections/moll.cjs +517 -0
- package/dist/projection/experimental/entries/projections/moll.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/moll.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/moll.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/moll.js +5 -0
- package/dist/projection/experimental/entries/projections/moll.js.map +1 -0
- package/dist/projection/experimental/entries/projections/nzmg.cjs +623 -0
- package/dist/projection/experimental/entries/projections/nzmg.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/nzmg.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/nzmg.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/nzmg.js +5 -0
- package/dist/projection/experimental/entries/projections/nzmg.js.map +1 -0
- package/dist/projection/experimental/entries/projections/ob_tran.cjs +540 -0
- package/dist/projection/experimental/entries/projections/ob_tran.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/ob_tran.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/ob_tran.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/ob_tran.js +5 -0
- package/dist/projection/experimental/entries/projections/ob_tran.js.map +1 -0
- package/dist/projection/experimental/entries/projections/omerc.cjs +850 -0
- package/dist/projection/experimental/entries/projections/omerc.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/omerc.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/omerc.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/omerc.js +5 -0
- package/dist/projection/experimental/entries/projections/omerc.js.map +1 -0
- package/dist/projection/experimental/entries/projections/ortho.cjs +519 -0
- package/dist/projection/experimental/entries/projections/ortho.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/ortho.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/ortho.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/ortho.js +5 -0
- package/dist/projection/experimental/entries/projections/ortho.js.map +1 -0
- package/dist/projection/experimental/entries/projections/poly.cjs +622 -0
- package/dist/projection/experimental/entries/projections/poly.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/poly.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/poly.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/poly.js +5 -0
- package/dist/projection/experimental/entries/projections/poly.js.map +1 -0
- package/dist/projection/experimental/entries/projections/qsc.cjs +695 -0
- package/dist/projection/experimental/entries/projections/qsc.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/qsc.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/qsc.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/qsc.js +5 -0
- package/dist/projection/experimental/entries/projections/qsc.js.map +1 -0
- package/dist/projection/experimental/entries/projections/robin.cjs +584 -0
- package/dist/projection/experimental/entries/projections/robin.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/robin.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/robin.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/robin.js +5 -0
- package/dist/projection/experimental/entries/projections/robin.js.map +1 -0
- package/dist/projection/experimental/entries/projections/sinu.cjs +586 -0
- package/dist/projection/experimental/entries/projections/sinu.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/sinu.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/sinu.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/sinu.js +5 -0
- package/dist/projection/experimental/entries/projections/sinu.js.map +1 -0
- package/dist/projection/experimental/entries/projections/somerc.cjs +575 -0
- package/dist/projection/experimental/entries/projections/somerc.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/somerc.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/somerc.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/somerc.js +5 -0
- package/dist/projection/experimental/entries/projections/somerc.js.map +1 -0
- package/dist/projection/experimental/entries/projections/stere.cjs +697 -0
- package/dist/projection/experimental/entries/projections/stere.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/stere.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/stere.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/stere.js +5 -0
- package/dist/projection/experimental/entries/projections/stere.js.map +1 -0
- package/dist/projection/experimental/entries/projections/sterea.cjs +631 -0
- package/dist/projection/experimental/entries/projections/sterea.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/sterea.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/sterea.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/sterea.js +5 -0
- package/dist/projection/experimental/entries/projections/sterea.js.map +1 -0
- package/dist/projection/experimental/entries/projections/tmerc.cjs +887 -0
- package/dist/projection/experimental/entries/projections/tmerc.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/tmerc.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/tmerc.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/tmerc.js +5 -0
- package/dist/projection/experimental/entries/projections/tmerc.js.map +1 -0
- package/dist/projection/experimental/entries/projections/tpers.cjs +645 -0
- package/dist/projection/experimental/entries/projections/tpers.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/tpers.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/tpers.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/tpers.js +5 -0
- package/dist/projection/experimental/entries/projections/tpers.js.map +1 -0
- package/dist/projection/experimental/entries/projections/utm.cjs +915 -0
- package/dist/projection/experimental/entries/projections/utm.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/utm.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/utm.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/utm.js +5 -0
- package/dist/projection/experimental/entries/projections/utm.js.map +1 -0
- package/dist/projection/experimental/entries/projections/vandg.cjs +560 -0
- package/dist/projection/experimental/entries/projections/vandg.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/vandg.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/vandg.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/vandg.js +5 -0
- package/dist/projection/experimental/entries/projections/vandg.js.map +1 -0
- package/dist/projection/experimental/exact-helmert.d.ts +9 -0
- package/dist/projection/experimental/exact-helmert.d.ts.map +1 -0
- package/dist/projection/experimental/exact-helmert.js +32 -0
- package/dist/projection/experimental/exact-helmert.js.map +1 -0
- package/dist/projection/experimental/flat-projection.d.ts +15 -0
- package/dist/projection/experimental/flat-projection.d.ts.map +1 -0
- package/dist/projection/experimental/flat-projection.js +70 -0
- package/dist/projection/experimental/flat-projection.js.map +1 -0
- package/dist/projection/experimental/grids/geotiff.cjs +180 -0
- package/dist/projection/experimental/grids/geotiff.cjs.map +6 -0
- package/dist/projection/experimental/grids/geotiff.d.ts +23 -0
- package/dist/projection/experimental/grids/geotiff.d.ts.map +1 -0
- package/dist/projection/experimental/grids/geotiff.js +59 -0
- package/dist/projection/experimental/grids/geotiff.js.map +1 -0
- package/dist/projection/experimental/grids/grid.d.ts +4 -0
- package/dist/projection/experimental/grids/grid.d.ts.map +1 -0
- package/dist/projection/experimental/grids/grid.js +111 -0
- package/dist/projection/experimental/grids/grid.js.map +1 -0
- package/dist/projection/experimental/grids/gtx.cjs +91 -0
- package/dist/projection/experimental/grids/gtx.cjs.map +6 -0
- package/dist/projection/experimental/grids/gtx.d.ts +7 -0
- package/dist/projection/experimental/grids/gtx.d.ts.map +1 -0
- package/dist/projection/experimental/grids/gtx.js +30 -0
- package/dist/projection/experimental/grids/gtx.js.map +1 -0
- package/dist/projection/experimental/grids/ntv2.cjs +181 -0
- package/dist/projection/experimental/grids/ntv2.cjs.map +6 -0
- package/dist/projection/experimental/grids/ntv2.d.ts +8 -0
- package/dist/projection/experimental/grids/ntv2.d.ts.map +1 -0
- package/dist/projection/experimental/grids/ntv2.js +56 -0
- package/dist/projection/experimental/grids/ntv2.js.map +1 -0
- package/dist/projection/experimental/grids/scalar-geotiff.d.ts +58 -0
- package/dist/projection/experimental/grids/scalar-geotiff.d.ts.map +1 -0
- package/dist/projection/experimental/grids/scalar-geotiff.js +147 -0
- package/dist/projection/experimental/grids/scalar-geotiff.js.map +1 -0
- package/dist/projection/experimental/grids/types.d.ts +35 -0
- package/dist/projection/experimental/grids/types.d.ts.map +1 -0
- package/dist/projection/experimental/grids/types.js +2 -0
- package/dist/projection/experimental/grids/types.js.map +1 -0
- package/dist/projection/experimental/grids/velocity-geotiff.cjs +247 -0
- package/dist/projection/experimental/grids/velocity-geotiff.cjs.map +6 -0
- package/dist/projection/experimental/grids/velocity-geotiff.d.ts +11 -0
- package/dist/projection/experimental/grids/velocity-geotiff.d.ts.map +1 -0
- package/dist/projection/experimental/grids/velocity-geotiff.js +61 -0
- package/dist/projection/experimental/grids/velocity-geotiff.js.map +1 -0
- package/dist/projection/experimental/grids/velocity.d.ts +21 -0
- package/dist/projection/experimental/grids/velocity.d.ts.map +1 -0
- package/dist/projection/experimental/grids/velocity.js +29 -0
- package/dist/projection/experimental/grids/velocity.js.map +1 -0
- package/dist/projection/experimental/grids/vertical-geotiff.cjs +195 -0
- package/dist/projection/experimental/grids/vertical-geotiff.cjs.map +6 -0
- package/dist/projection/experimental/grids/vertical-geotiff.d.ts +6 -0
- package/dist/projection/experimental/grids/vertical-geotiff.d.ts.map +1 -0
- package/dist/projection/experimental/grids/vertical-geotiff.js +20 -0
- package/dist/projection/experimental/grids/vertical-geotiff.js.map +1 -0
- package/dist/projection/experimental/grids/vertical.cjs +80 -0
- package/dist/projection/experimental/grids/vertical.cjs.map +6 -0
- package/dist/projection/experimental/grids/vertical.d.ts +22 -0
- package/dist/projection/experimental/grids/vertical.d.ts.map +1 -0
- package/dist/projection/experimental/grids/vertical.js +73 -0
- package/dist/projection/experimental/grids/vertical.js.map +1 -0
- package/dist/projection/experimental/helmert-flat.d.ts +4 -0
- package/dist/projection/experimental/helmert-flat.d.ts.map +1 -0
- package/dist/projection/experimental/helmert-flat.js +53 -0
- package/dist/projection/experimental/helmert-flat.js.map +1 -0
- package/dist/projection/experimental/index.cjs +11607 -0
- package/dist/projection/experimental/index.cjs.map +6 -0
- package/dist/projection/experimental/index.d.ts +49 -0
- package/dist/projection/experimental/index.d.ts.map +1 -0
- package/dist/projection/experimental/index.js +48 -0
- package/dist/projection/experimental/index.js.map +1 -0
- package/dist/projection/experimental/inverse-spherical-latitude.d.ts +2 -0
- package/dist/projection/experimental/inverse-spherical-latitude.d.ts.map +1 -0
- package/dist/projection/experimental/inverse-spherical-latitude.js +11 -0
- package/dist/projection/experimental/inverse-spherical-latitude.js.map +1 -0
- package/dist/projection/experimental/kernel.d.ts +37 -0
- package/dist/projection/experimental/kernel.d.ts.map +1 -0
- package/dist/projection/experimental/kernel.js +81 -0
- package/dist/projection/experimental/kernel.js.map +1 -0
- package/dist/projection/experimental/kernels/aea.d.ts +25 -0
- package/dist/projection/experimental/kernels/aea.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/aea.js +118 -0
- package/dist/projection/experimental/kernels/aea.js.map +1 -0
- package/dist/projection/experimental/kernels/aeqd.d.ts +10 -0
- package/dist/projection/experimental/kernels/aeqd.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/aeqd.js +168 -0
- package/dist/projection/experimental/kernels/aeqd.js.map +1 -0
- package/dist/projection/experimental/kernels/bonne.d.ts +12 -0
- package/dist/projection/experimental/kernels/bonne.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/bonne.js +128 -0
- package/dist/projection/experimental/kernels/bonne.js.map +1 -0
- package/dist/projection/experimental/kernels/cass.d.ts +10 -0
- package/dist/projection/experimental/kernels/cass.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/cass.js +122 -0
- package/dist/projection/experimental/kernels/cass.js.map +1 -0
- package/dist/projection/experimental/kernels/cea.d.ts +6 -0
- package/dist/projection/experimental/kernels/cea.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/cea.js +63 -0
- package/dist/projection/experimental/kernels/cea.js.map +1 -0
- package/dist/projection/experimental/kernels/eck6.d.ts +13 -0
- package/dist/projection/experimental/kernels/eck6.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/eck6.js +23 -0
- package/dist/projection/experimental/kernels/eck6.js.map +1 -0
- package/dist/projection/experimental/kernels/eqdc.d.ts +19 -0
- package/dist/projection/experimental/kernels/eqdc.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/eqdc.js +117 -0
- package/dist/projection/experimental/kernels/eqdc.js.map +1 -0
- package/dist/projection/experimental/kernels/eqearth.d.ts +10 -0
- package/dist/projection/experimental/kernels/eqearth.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/eqearth.js +114 -0
- package/dist/projection/experimental/kernels/eqearth.js.map +1 -0
- package/dist/projection/experimental/kernels/equi.d.ts +9 -0
- package/dist/projection/experimental/kernels/equi.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/equi.js +43 -0
- package/dist/projection/experimental/kernels/equi.js.map +1 -0
- package/dist/projection/experimental/kernels/etmerc.d.ts +13 -0
- package/dist/projection/experimental/kernels/etmerc.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/etmerc.js +145 -0
- package/dist/projection/experimental/kernels/etmerc.js.map +1 -0
- package/dist/projection/experimental/kernels/gauss.d.ts +12 -0
- package/dist/projection/experimental/kernels/gauss.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/gauss.js +64 -0
- package/dist/projection/experimental/kernels/gauss.js.map +1 -0
- package/dist/projection/experimental/kernels/geos.d.ts +17 -0
- package/dist/projection/experimental/kernels/geos.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/geos.js +153 -0
- package/dist/projection/experimental/kernels/geos.js.map +1 -0
- package/dist/projection/experimental/kernels/gnom.d.ts +14 -0
- package/dist/projection/experimental/kernels/gnom.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/gnom.js +102 -0
- package/dist/projection/experimental/kernels/gnom.js.map +1 -0
- package/dist/projection/experimental/kernels/gstmerc.d.ts +13 -0
- package/dist/projection/experimental/kernels/gstmerc.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/gstmerc.js +57 -0
- package/dist/projection/experimental/kernels/gstmerc.js.map +1 -0
- package/dist/projection/experimental/kernels/krovak.d.ts +23 -0
- package/dist/projection/experimental/kernels/krovak.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/krovak.js +128 -0
- package/dist/projection/experimental/kernels/krovak.js.map +1 -0
- package/dist/projection/experimental/kernels/laea.d.ts +22 -0
- package/dist/projection/experimental/kernels/laea.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/laea.js +296 -0
- package/dist/projection/experimental/kernels/laea.js.map +1 -0
- package/dist/projection/experimental/kernels/lcc.d.ts +10 -0
- package/dist/projection/experimental/kernels/lcc.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/lcc.js +126 -0
- package/dist/projection/experimental/kernels/lcc.js.map +1 -0
- package/dist/projection/experimental/kernels/mill.d.ts +6 -0
- package/dist/projection/experimental/kernels/mill.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/mill.js +49 -0
- package/dist/projection/experimental/kernels/mill.js.map +1 -0
- package/dist/projection/experimental/kernels/moll.d.ts +6 -0
- package/dist/projection/experimental/kernels/moll.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/moll.js +104 -0
- package/dist/projection/experimental/kernels/moll.js.map +1 -0
- package/dist/projection/experimental/kernels/nzmg.d.ts +28 -0
- package/dist/projection/experimental/kernels/nzmg.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/nzmg.js +209 -0
- package/dist/projection/experimental/kernels/nzmg.js.map +1 -0
- package/dist/projection/experimental/kernels/omerc.d.ts +30 -0
- package/dist/projection/experimental/kernels/omerc.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/omerc.js +260 -0
- package/dist/projection/experimental/kernels/omerc.js.map +1 -0
- package/dist/projection/experimental/kernels/ortho.d.ts +10 -0
- package/dist/projection/experimental/kernels/ortho.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/ortho.js +43 -0
- package/dist/projection/experimental/kernels/ortho.js.map +1 -0
- package/dist/projection/experimental/kernels/poly.d.ts +10 -0
- package/dist/projection/experimental/kernels/poly.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/poly.js +193 -0
- package/dist/projection/experimental/kernels/poly.js.map +1 -0
- package/dist/projection/experimental/kernels/qsc.d.ts +10 -0
- package/dist/projection/experimental/kernels/qsc.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/qsc.js +364 -0
- package/dist/projection/experimental/kernels/qsc.js.map +1 -0
- package/dist/projection/experimental/kernels/robin.d.ts +6 -0
- package/dist/projection/experimental/kernels/robin.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/robin.js +166 -0
- package/dist/projection/experimental/kernels/robin.js.map +1 -0
- package/dist/projection/experimental/kernels/sinu.d.ts +12 -0
- package/dist/projection/experimental/kernels/sinu.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/sinu.js +107 -0
- package/dist/projection/experimental/kernels/sinu.js.map +1 -0
- package/dist/projection/experimental/kernels/somerc.d.ts +13 -0
- package/dist/projection/experimental/kernels/somerc.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/somerc.js +79 -0
- package/dist/projection/experimental/kernels/somerc.js.map +1 -0
- package/dist/projection/experimental/kernels/stere.d.ts +15 -0
- package/dist/projection/experimental/kernels/stere.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/stere.js +207 -0
- package/dist/projection/experimental/kernels/stere.js.map +1 -0
- package/dist/projection/experimental/kernels/sterea.d.ts +11 -0
- package/dist/projection/experimental/kernels/sterea.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/sterea.js +67 -0
- package/dist/projection/experimental/kernels/sterea.js.map +1 -0
- package/dist/projection/experimental/kernels/tmerc.d.ts +9 -0
- package/dist/projection/experimental/kernels/tmerc.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/tmerc.js +201 -0
- package/dist/projection/experimental/kernels/tmerc.js.map +1 -0
- package/dist/projection/experimental/kernels/tpers.d.ts +22 -0
- package/dist/projection/experimental/kernels/tpers.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/tpers.js +156 -0
- package/dist/projection/experimental/kernels/tpers.js.map +1 -0
- package/dist/projection/experimental/kernels/vandg.d.ts +8 -0
- package/dist/projection/experimental/kernels/vandg.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/vandg.js +133 -0
- package/dist/projection/experimental/kernels/vandg.js.map +1 -0
- package/dist/projection/experimental/kinematic-helmert-flat.d.ts +4 -0
- package/dist/projection/experimental/kinematic-helmert-flat.d.ts.map +1 -0
- package/dist/projection/experimental/kinematic-helmert-flat.js +60 -0
- package/dist/projection/experimental/kinematic-helmert-flat.js.map +1 -0
- package/dist/projection/experimental/kinematic-helmert.d.ts +11 -0
- package/dist/projection/experimental/kinematic-helmert.d.ts.map +1 -0
- package/dist/projection/experimental/kinematic-helmert.js +103 -0
- package/dist/projection/experimental/kinematic-helmert.js.map +1 -0
- package/dist/projection/experimental/lazy-projection.d.ts +17 -0
- package/dist/projection/experimental/lazy-projection.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projection.js +166 -0
- package/dist/projection/experimental/lazy-projection.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/aea.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/aea.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/aea.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/aea.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/aea.js +7 -0
- package/dist/projection/experimental/lazy-projections/aea.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/aeqd.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/aeqd.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/aeqd.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/aeqd.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/aeqd.js +8 -0
- package/dist/projection/experimental/lazy-projections/aeqd.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/bonne.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/bonne.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/bonne.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/bonne.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/bonne.js +7 -0
- package/dist/projection/experimental/lazy-projections/bonne.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/cass.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/cass.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/cass.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/cass.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/cass.js +7 -0
- package/dist/projection/experimental/lazy-projections/cass.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/cea.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/cea.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/cea.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/cea.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/cea.js +8 -0
- package/dist/projection/experimental/lazy-projections/cea.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/eck6.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/eck6.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/eck6.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/eck6.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/eck6.js +7 -0
- package/dist/projection/experimental/lazy-projections/eck6.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/eqc.cjs +82 -0
- package/dist/projection/experimental/lazy-projections/eqc.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/eqc.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/eqc.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/eqc.js +11 -0
- package/dist/projection/experimental/lazy-projections/eqc.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/eqdc.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/eqdc.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/eqdc.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/eqdc.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/eqdc.js +8 -0
- package/dist/projection/experimental/lazy-projections/eqdc.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/eqearth.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/eqearth.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/eqearth.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/eqearth.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/eqearth.js +7 -0
- package/dist/projection/experimental/lazy-projections/eqearth.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/equi.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/equi.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/equi.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/equi.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/equi.js +7 -0
- package/dist/projection/experimental/lazy-projections/equi.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/etmerc.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/etmerc.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/etmerc.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/etmerc.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/etmerc.js +8 -0
- package/dist/projection/experimental/lazy-projections/etmerc.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/geocent.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/geocent.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/geocent.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/geocent.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/geocent.js +7 -0
- package/dist/projection/experimental/lazy-projections/geocent.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/geos.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/geos.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/geos.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/geos.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/geos.js +7 -0
- package/dist/projection/experimental/lazy-projections/geos.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/gnom.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/gnom.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/gnom.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/gnom.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/gnom.js +7 -0
- package/dist/projection/experimental/lazy-projections/gnom.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/gstmerc.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/gstmerc.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/gstmerc.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/gstmerc.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/gstmerc.js +9 -0
- package/dist/projection/experimental/lazy-projections/gstmerc.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/index.cjs +2401 -0
- package/dist/projection/experimental/lazy-projections/index.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/index.d.ts +38 -0
- package/dist/projection/experimental/lazy-projections/index.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/index.js +41 -0
- package/dist/projection/experimental/lazy-projections/index.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/krovak.cjs +87 -0
- package/dist/projection/experimental/lazy-projections/krovak.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/krovak.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/krovak.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/krovak.js +15 -0
- package/dist/projection/experimental/lazy-projections/krovak.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/laea.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/laea.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/laea.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/laea.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/laea.js +8 -0
- package/dist/projection/experimental/lazy-projections/laea.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/lcc.cjs +89 -0
- package/dist/projection/experimental/lazy-projections/lcc.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/lcc.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/lcc.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/lcc.js +18 -0
- package/dist/projection/experimental/lazy-projections/lcc.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/merc.cjs +88 -0
- package/dist/projection/experimental/lazy-projections/merc.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/merc.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/merc.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/merc.js +16 -0
- package/dist/projection/experimental/lazy-projections/merc.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/mill.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/mill.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/mill.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/mill.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/mill.js +8 -0
- package/dist/projection/experimental/lazy-projections/mill.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/moll.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/moll.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/moll.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/moll.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/moll.js +7 -0
- package/dist/projection/experimental/lazy-projections/moll.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/nzmg.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/nzmg.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/nzmg.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/nzmg.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/nzmg.js +8 -0
- package/dist/projection/experimental/lazy-projections/nzmg.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/ob_tran.cjs +90 -0
- package/dist/projection/experimental/lazy-projections/ob_tran.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/ob_tran.d.ts +5 -0
- package/dist/projection/experimental/lazy-projections/ob_tran.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/ob_tran.js +18 -0
- package/dist/projection/experimental/lazy-projections/ob_tran.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/omerc.cjs +91 -0
- package/dist/projection/experimental/lazy-projections/omerc.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/omerc.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/omerc.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/omerc.js +19 -0
- package/dist/projection/experimental/lazy-projections/omerc.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/ortho.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/ortho.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/ortho.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/ortho.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/ortho.js +7 -0
- package/dist/projection/experimental/lazy-projections/ortho.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/poly.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/poly.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/poly.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/poly.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/poly.js +7 -0
- package/dist/projection/experimental/lazy-projections/poly.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/qsc.cjs +82 -0
- package/dist/projection/experimental/lazy-projections/qsc.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/qsc.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/qsc.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/qsc.js +12 -0
- package/dist/projection/experimental/lazy-projections/qsc.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/robin.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/robin.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/robin.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/robin.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/robin.js +7 -0
- package/dist/projection/experimental/lazy-projections/robin.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/sinu.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/sinu.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/sinu.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/sinu.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/sinu.js +7 -0
- package/dist/projection/experimental/lazy-projections/sinu.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/somerc.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/somerc.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/somerc.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/somerc.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/somerc.js +8 -0
- package/dist/projection/experimental/lazy-projections/somerc.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/stere.cjs +87 -0
- package/dist/projection/experimental/lazy-projections/stere.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/stere.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/stere.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/stere.js +15 -0
- package/dist/projection/experimental/lazy-projections/stere.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/sterea.cjs +87 -0
- package/dist/projection/experimental/lazy-projections/sterea.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/sterea.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/sterea.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/sterea.js +16 -0
- package/dist/projection/experimental/lazy-projections/sterea.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/tmerc.cjs +89 -0
- package/dist/projection/experimental/lazy-projections/tmerc.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/tmerc.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/tmerc.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/tmerc.js +18 -0
- package/dist/projection/experimental/lazy-projections/tmerc.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/tpers.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/tpers.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/tpers.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/tpers.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/tpers.js +8 -0
- package/dist/projection/experimental/lazy-projections/tpers.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/utm.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/utm.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/utm.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/utm.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/utm.js +8 -0
- package/dist/projection/experimental/lazy-projections/utm.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/vandg.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/vandg.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/vandg.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/vandg.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/vandg.js +7 -0
- package/dist/projection/experimental/lazy-projections/vandg.js.map +1 -0
- package/dist/projection/experimental/mutable-projection.d.ts +6 -0
- package/dist/projection/experimental/mutable-projection.d.ts.map +1 -0
- package/dist/projection/experimental/mutable-projection.js +53 -0
- package/dist/projection/experimental/mutable-projection.js.map +1 -0
- package/dist/projection/experimental/numeric-flat.d.ts +8 -0
- package/dist/projection/experimental/numeric-flat.d.ts.map +1 -0
- package/dist/projection/experimental/numeric-flat.js +54 -0
- package/dist/projection/experimental/numeric-flat.js.map +1 -0
- package/dist/projection/experimental/parameters.d.ts +8 -0
- package/dist/projection/experimental/parameters.d.ts.map +1 -0
- package/dist/projection/experimental/parameters.js +31 -0
- package/dist/projection/experimental/parameters.js.map +1 -0
- package/dist/projection/experimental/projection-descriptor.d.ts +13 -0
- package/dist/projection/experimental/projection-descriptor.d.ts.map +1 -0
- package/dist/projection/experimental/projection-descriptor.js +52 -0
- package/dist/projection/experimental/projection-descriptor.js.map +1 -0
- package/dist/projection/experimental/projection-engine.d.ts +23 -0
- package/dist/projection/experimental/projection-engine.d.ts.map +1 -0
- package/dist/projection/experimental/projection-engine.js +33 -0
- package/dist/projection/experimental/projection-engine.js.map +1 -0
- package/dist/projection/experimental/projection-pipeline.d.ts +142 -0
- package/dist/projection/experimental/projection-pipeline.d.ts.map +1 -0
- package/dist/projection/experimental/projection-pipeline.js +740 -0
- package/dist/projection/experimental/projection-pipeline.js.map +1 -0
- package/dist/projection/experimental/projection-scratch.d.ts +11 -0
- package/dist/projection/experimental/projection-scratch.d.ts.map +1 -0
- package/dist/projection/experimental/projection-scratch.js +25 -0
- package/dist/projection/experimental/projection-scratch.js.map +1 -0
- package/dist/projection/experimental/projections/aea.d.ts +3 -0
- package/dist/projection/experimental/projections/aea.d.ts.map +1 -0
- package/dist/projection/experimental/projections/aea.js +24 -0
- package/dist/projection/experimental/projections/aea.js.map +1 -0
- package/dist/projection/experimental/projections/aeqd.d.ts +3 -0
- package/dist/projection/experimental/projections/aeqd.d.ts.map +1 -0
- package/dist/projection/experimental/projections/aeqd.js +19 -0
- package/dist/projection/experimental/projections/aeqd.js.map +1 -0
- package/dist/projection/experimental/projections/bonne.d.ts +3 -0
- package/dist/projection/experimental/projections/bonne.d.ts.map +1 -0
- package/dist/projection/experimental/projections/bonne.js +25 -0
- package/dist/projection/experimental/projections/bonne.js.map +1 -0
- package/dist/projection/experimental/projections/cass.d.ts +3 -0
- package/dist/projection/experimental/projections/cass.d.ts.map +1 -0
- package/dist/projection/experimental/projections/cass.js +22 -0
- package/dist/projection/experimental/projections/cass.js.map +1 -0
- package/dist/projection/experimental/projections/cea.d.ts +3 -0
- package/dist/projection/experimental/projections/cea.d.ts.map +1 -0
- package/dist/projection/experimental/projections/cea.js +24 -0
- package/dist/projection/experimental/projections/cea.js.map +1 -0
- package/dist/projection/experimental/projections/eck6.d.ts +3 -0
- package/dist/projection/experimental/projections/eck6.d.ts.map +1 -0
- package/dist/projection/experimental/projections/eck6.js +22 -0
- package/dist/projection/experimental/projections/eck6.js.map +1 -0
- package/dist/projection/experimental/projections/eqdc.d.ts +3 -0
- package/dist/projection/experimental/projections/eqdc.d.ts.map +1 -0
- package/dist/projection/experimental/projections/eqdc.js +23 -0
- package/dist/projection/experimental/projections/eqdc.js.map +1 -0
- package/dist/projection/experimental/projections/eqearth.d.ts +3 -0
- package/dist/projection/experimental/projections/eqearth.d.ts.map +1 -0
- package/dist/projection/experimental/projections/eqearth.js +47 -0
- package/dist/projection/experimental/projections/eqearth.js.map +1 -0
- package/dist/projection/experimental/projections/equi.d.ts +3 -0
- package/dist/projection/experimental/projections/equi.d.ts.map +1 -0
- package/dist/projection/experimental/projections/equi.js +24 -0
- package/dist/projection/experimental/projections/equi.js.map +1 -0
- package/dist/projection/experimental/projections/equidistant-cylindrical.d.ts +4 -0
- package/dist/projection/experimental/projections/equidistant-cylindrical.d.ts.map +1 -0
- package/dist/projection/experimental/projections/equidistant-cylindrical.js +47 -0
- package/dist/projection/experimental/projections/equidistant-cylindrical.js.map +1 -0
- package/dist/projection/experimental/projections/geocentric.d.ts +3 -0
- package/dist/projection/experimental/projections/geocentric.d.ts.map +1 -0
- package/dist/projection/experimental/projections/geocentric.js +34 -0
- package/dist/projection/experimental/projections/geocentric.js.map +1 -0
- package/dist/projection/experimental/projections/geos.d.ts +3 -0
- package/dist/projection/experimental/projections/geos.d.ts.map +1 -0
- package/dist/projection/experimental/projections/geos.js +30 -0
- package/dist/projection/experimental/projections/geos.js.map +1 -0
- package/dist/projection/experimental/projections/gnom.d.ts +3 -0
- package/dist/projection/experimental/projections/gnom.d.ts.map +1 -0
- package/dist/projection/experimental/projections/gnom.js +22 -0
- package/dist/projection/experimental/projections/gnom.js.map +1 -0
- package/dist/projection/experimental/projections/gstmerc.d.ts +3 -0
- package/dist/projection/experimental/projections/gstmerc.d.ts.map +1 -0
- package/dist/projection/experimental/projections/gstmerc.js +23 -0
- package/dist/projection/experimental/projections/gstmerc.js.map +1 -0
- package/dist/projection/experimental/projections/krovak.d.ts +3 -0
- package/dist/projection/experimental/projections/krovak.d.ts.map +1 -0
- package/dist/projection/experimental/projections/krovak.js +41 -0
- package/dist/projection/experimental/projections/krovak.js.map +1 -0
- package/dist/projection/experimental/projections/laea.d.ts +3 -0
- package/dist/projection/experimental/projections/laea.d.ts.map +1 -0
- package/dist/projection/experimental/projections/laea.js +22 -0
- package/dist/projection/experimental/projections/laea.js.map +1 -0
- package/dist/projection/experimental/projections/lcc.d.ts +3 -0
- package/dist/projection/experimental/projections/lcc.d.ts.map +1 -0
- package/dist/projection/experimental/projections/lcc.js +39 -0
- package/dist/projection/experimental/projections/lcc.js.map +1 -0
- package/dist/projection/experimental/projections/mercator.d.ts +4 -0
- package/dist/projection/experimental/projections/mercator.d.ts.map +1 -0
- package/dist/projection/experimental/projections/mercator.js +106 -0
- package/dist/projection/experimental/projections/mercator.js.map +1 -0
- package/dist/projection/experimental/projections/mill.d.ts +3 -0
- package/dist/projection/experimental/projections/mill.d.ts.map +1 -0
- package/dist/projection/experimental/projections/mill.js +22 -0
- package/dist/projection/experimental/projections/mill.js.map +1 -0
- package/dist/projection/experimental/projections/moll.d.ts +3 -0
- package/dist/projection/experimental/projections/moll.d.ts.map +1 -0
- package/dist/projection/experimental/projections/moll.js +22 -0
- package/dist/projection/experimental/projections/moll.js.map +1 -0
- package/dist/projection/experimental/projections/nzmg.d.ts +3 -0
- package/dist/projection/experimental/projections/nzmg.d.ts.map +1 -0
- package/dist/projection/experimental/projections/nzmg.js +29 -0
- package/dist/projection/experimental/projections/nzmg.js.map +1 -0
- package/dist/projection/experimental/projections/ob-tran.d.ts +4 -0
- package/dist/projection/experimental/projections/ob-tran.d.ts.map +1 -0
- package/dist/projection/experimental/projections/ob-tran.js +194 -0
- package/dist/projection/experimental/projections/ob-tran.js.map +1 -0
- package/dist/projection/experimental/projections/omerc.d.ts +3 -0
- package/dist/projection/experimental/projections/omerc.d.ts.map +1 -0
- package/dist/projection/experimental/projections/omerc.js +69 -0
- package/dist/projection/experimental/projections/omerc.js.map +1 -0
- package/dist/projection/experimental/projections/ortho.d.ts +3 -0
- package/dist/projection/experimental/projections/ortho.d.ts.map +1 -0
- package/dist/projection/experimental/projections/ortho.js +20 -0
- package/dist/projection/experimental/projections/ortho.js.map +1 -0
- package/dist/projection/experimental/projections/poly.d.ts +3 -0
- package/dist/projection/experimental/projections/poly.d.ts.map +1 -0
- package/dist/projection/experimental/projections/poly.js +22 -0
- package/dist/projection/experimental/projections/poly.js.map +1 -0
- package/dist/projection/experimental/projections/qsc.d.ts +3 -0
- package/dist/projection/experimental/projections/qsc.d.ts.map +1 -0
- package/dist/projection/experimental/projections/qsc.js +64 -0
- package/dist/projection/experimental/projections/qsc.js.map +1 -0
- package/dist/projection/experimental/projections/robin.d.ts +3 -0
- package/dist/projection/experimental/projections/robin.d.ts.map +1 -0
- package/dist/projection/experimental/projections/robin.js +22 -0
- package/dist/projection/experimental/projections/robin.js.map +1 -0
- package/dist/projection/experimental/projections/sinu.d.ts +3 -0
- package/dist/projection/experimental/projections/sinu.d.ts.map +1 -0
- package/dist/projection/experimental/projections/sinu.js +22 -0
- package/dist/projection/experimental/projections/sinu.js.map +1 -0
- package/dist/projection/experimental/projections/somerc.d.ts +3 -0
- package/dist/projection/experimental/projections/somerc.d.ts.map +1 -0
- package/dist/projection/experimental/projections/somerc.js +22 -0
- package/dist/projection/experimental/projections/somerc.js.map +1 -0
- package/dist/projection/experimental/projections/stere.d.ts +3 -0
- package/dist/projection/experimental/projections/stere.d.ts.map +1 -0
- package/dist/projection/experimental/projections/stere.js +32 -0
- package/dist/projection/experimental/projections/stere.js.map +1 -0
- package/dist/projection/experimental/projections/sterea.d.ts +3 -0
- package/dist/projection/experimental/projections/sterea.d.ts.map +1 -0
- package/dist/projection/experimental/projections/sterea.js +32 -0
- package/dist/projection/experimental/projections/sterea.js.map +1 -0
- package/dist/projection/experimental/projections/tpers.d.ts +3 -0
- package/dist/projection/experimental/projections/tpers.d.ts.map +1 -0
- package/dist/projection/experimental/projections/tpers.js +31 -0
- package/dist/projection/experimental/projections/tpers.js.map +1 -0
- package/dist/projection/experimental/projections/transverse-mercator.d.ts +6 -0
- package/dist/projection/experimental/projections/transverse-mercator.d.ts.map +1 -0
- package/dist/projection/experimental/projections/transverse-mercator.js +48 -0
- package/dist/projection/experimental/projections/transverse-mercator.js.map +1 -0
- package/dist/projection/experimental/projections/utm.d.ts +3 -0
- package/dist/projection/experimental/projections/utm.d.ts.map +1 -0
- package/dist/projection/experimental/projections/utm.js +37 -0
- package/dist/projection/experimental/projections/utm.js.map +1 -0
- package/dist/projection/experimental/projections/vandg.d.ts +3 -0
- package/dist/projection/experimental/projections/vandg.d.ts.map +1 -0
- package/dist/projection/experimental/projections/vandg.js +22 -0
- package/dist/projection/experimental/projections/vandg.js.map +1 -0
- package/dist/projection/experimental/rendering-profile/angular-rendering-profile.d.ts +9 -0
- package/dist/projection/experimental/rendering-profile/angular-rendering-profile.d.ts.map +1 -0
- package/dist/projection/experimental/rendering-profile/angular-rendering-profile.js +79 -0
- package/dist/projection/experimental/rendering-profile/angular-rendering-profile.js.map +1 -0
- package/dist/projection/experimental/rendering-profile/azimuthal-rendering-bounds.d.ts +23 -0
- package/dist/projection/experimental/rendering-profile/azimuthal-rendering-bounds.d.ts.map +1 -0
- package/dist/projection/experimental/rendering-profile/azimuthal-rendering-bounds.js +131 -0
- package/dist/projection/experimental/rendering-profile/azimuthal-rendering-bounds.js.map +1 -0
- package/dist/projection/experimental/rendering-profile/geographic-bounds.d.ts +29 -0
- package/dist/projection/experimental/rendering-profile/geographic-bounds.d.ts.map +1 -0
- package/dist/projection/experimental/rendering-profile/geographic-bounds.js +127 -0
- package/dist/projection/experimental/rendering-profile/geographic-bounds.js.map +1 -0
- package/dist/projection/experimental/rendering-profile/geographic-rendering-profile.d.ts +4 -0
- package/dist/projection/experimental/rendering-profile/geographic-rendering-profile.d.ts.map +1 -0
- package/dist/projection/experimental/rendering-profile/geographic-rendering-profile.js +18 -0
- package/dist/projection/experimental/rendering-profile/geographic-rendering-profile.js.map +1 -0
- package/dist/projection/experimental/rendering-profile/geostationary-rendering-profile.d.ts +7 -0
- package/dist/projection/experimental/rendering-profile/geostationary-rendering-profile.d.ts.map +1 -0
- package/dist/projection/experimental/rendering-profile/geostationary-rendering-profile.js +86 -0
- package/dist/projection/experimental/rendering-profile/geostationary-rendering-profile.js.map +1 -0
- package/dist/projection/experimental/rendering-profile/identity-rendering-profile.d.ts +4 -0
- package/dist/projection/experimental/rendering-profile/identity-rendering-profile.d.ts.map +1 -0
- package/dist/projection/experimental/rendering-profile/identity-rendering-profile.js +13 -0
- package/dist/projection/experimental/rendering-profile/identity-rendering-profile.js.map +1 -0
- package/dist/projection/experimental/rendering-profile/rectangular-rendering-profile.d.ts +13 -0
- package/dist/projection/experimental/rendering-profile/rectangular-rendering-profile.d.ts.map +1 -0
- package/dist/projection/experimental/rendering-profile/rectangular-rendering-profile.js +76 -0
- package/dist/projection/experimental/rendering-profile/rectangular-rendering-profile.js.map +1 -0
- package/dist/projection/experimental/rendering-profile/regional-rendering-bounds.d.ts +29 -0
- package/dist/projection/experimental/rendering-profile/regional-rendering-bounds.d.ts.map +1 -0
- package/dist/projection/experimental/rendering-profile/regional-rendering-bounds.js +143 -0
- package/dist/projection/experimental/rendering-profile/regional-rendering-bounds.js.map +1 -0
- package/dist/projection/experimental/rendering-profile/rendering-bounds.d.ts +28 -0
- package/dist/projection/experimental/rendering-profile/rendering-bounds.d.ts.map +1 -0
- package/dist/projection/experimental/rendering-profile/rendering-bounds.js +111 -0
- package/dist/projection/experimental/rendering-profile/rendering-bounds.js.map +1 -0
- package/dist/projection/experimental/rendering-profile/rendering-profile.d.ts +11 -0
- package/dist/projection/experimental/rendering-profile/rendering-profile.d.ts.map +1 -0
- package/dist/projection/experimental/rendering-profile/rendering-profile.js +81 -0
- package/dist/projection/experimental/rendering-profile/rendering-profile.js.map +1 -0
- package/dist/projection/experimental/rendering-profile/spherical-rendering-domain.d.ts +24 -0
- package/dist/projection/experimental/rendering-profile/spherical-rendering-domain.d.ts.map +1 -0
- package/dist/projection/experimental/rendering-profile/spherical-rendering-domain.js +129 -0
- package/dist/projection/experimental/rendering-profile/spherical-rendering-domain.js.map +1 -0
- package/dist/projection/experimental/scalar-output.d.ts +8 -0
- package/dist/projection/experimental/scalar-output.d.ts.map +1 -0
- package/dist/projection/experimental/scalar-output.js +46 -0
- package/dist/projection/experimental/scalar-output.js.map +1 -0
- package/dist/projection/experimental/spatial-deformation.d.ts +6 -0
- package/dist/projection/experimental/spatial-deformation.d.ts.map +1 -0
- package/dist/projection/experimental/spatial-deformation.js +85 -0
- package/dist/projection/experimental/spatial-deformation.js.map +1 -0
- package/dist/projection/experimental/types.d.ts +98 -0
- package/dist/projection/experimental/types.d.ts.map +1 -0
- package/dist/projection/experimental/types.js +5 -0
- package/dist/projection/experimental/types.js.map +1 -0
- package/dist/projection/experimental/typescript-projection.d.ts +76 -0
- package/dist/projection/experimental/typescript-projection.d.ts.map +1 -0
- package/dist/projection/experimental/typescript-projection.js +459 -0
- package/dist/projection/experimental/typescript-projection.js.map +1 -0
- package/dist/projection/experimental/vertical-datum.d.ts +4 -0
- package/dist/projection/experimental/vertical-datum.d.ts.map +1 -0
- package/dist/projection/experimental/vertical-datum.js +43 -0
- package/dist/projection/experimental/vertical-datum.js.map +1 -0
- package/dist/projection/grids/velocity.cjs +92 -0
- package/dist/projection/grids/velocity.cjs.map +6 -0
- package/dist/projection/grids/velocity.d.ts +3 -0
- package/dist/projection/grids/velocity.d.ts.map +1 -0
- package/dist/projection/grids/velocity.js +5 -0
- package/dist/projection/grids/velocity.js.map +1 -0
- package/dist/projection/index.cjs +13064 -0
- package/dist/projection/index.cjs.map +6 -0
- package/dist/projection/index.d.ts +3 -0
- package/dist/projection/index.d.ts.map +1 -0
- package/dist/projection/index.js +6 -0
- package/dist/projection/index.js.map +1 -0
- package/dist/projection/lib/projection.d.ts +8 -0
- package/dist/projection/lib/projection.d.ts.map +1 -0
- package/dist/projection/lib/projection.js +115 -0
- package/dist/projection/lib/projection.js.map +1 -0
- package/dist/projection/numerical-derivative.d.ts +15 -0
- package/dist/projection/numerical-derivative.d.ts.map +1 -0
- package/dist/projection/numerical-derivative.js +47 -0
- package/dist/projection/numerical-derivative.js.map +1 -0
- package/dist/projection/operations.cjs +322 -0
- package/dist/projection/operations.cjs.map +6 -0
- package/dist/projection/operations.d.ts +89 -0
- package/dist/projection/operations.d.ts.map +1 -0
- package/dist/projection/operations.js +344 -0
- package/dist/projection/operations.js.map +1 -0
- package/dist/projection/pipeline.cjs +1965 -0
- package/dist/projection/pipeline.cjs.map +6 -0
- package/dist/projection/pipeline.d.ts +2 -0
- package/dist/projection/pipeline.d.ts.map +1 -0
- package/dist/projection/pipeline.js +5 -0
- package/dist/projection/pipeline.js.map +1 -0
- package/dist/projection/temporal.cjs +290 -0
- package/dist/projection/temporal.cjs.map +6 -0
- package/dist/projection/temporal.d.ts +31 -0
- package/dist/projection/temporal.d.ts.map +1 -0
- package/dist/projection/temporal.js +91 -0
- package/dist/projection/temporal.js.map +1 -0
- package/dist/projection/transform-analysis.cjs +1893 -0
- package/dist/projection/transform-analysis.cjs.map +6 -0
- package/dist/projection/transform-analysis.d.ts +43 -0
- package/dist/projection/transform-analysis.d.ts.map +1 -0
- package/dist/projection/transform-analysis.js +110 -0
- package/dist/projection/transform-analysis.js.map +1 -0
- package/dist/projection/types.cjs +18 -0
- package/dist/projection/types.cjs.map +6 -0
- package/dist/projection/types.d.ts +51 -0
- package/dist/projection/types.d.ts.map +1 -0
- package/dist/projection/types.js +5 -0
- package/dist/projection/types.js.map +1 -0
- package/dist/projection/web-mercator.cjs +171 -0
- package/dist/projection/web-mercator.cjs.map +6 -0
- package/dist/projection/web-mercator.d.ts +7 -0
- package/dist/projection/web-mercator.d.ts.map +1 -0
- package/dist/projection/web-mercator.js +113 -0
- package/dist/projection/web-mercator.js.map +1 -0
- package/dist/rhumb-path.d.ts +28 -0
- package/dist/rhumb-path.d.ts.map +1 -0
- package/dist/rhumb-path.js +100 -0
- package/dist/rhumb-path.js.map +1 -0
- package/dist/rhumb-polygon.d.ts +11 -0
- package/dist/rhumb-polygon.d.ts.map +1 -0
- package/dist/rhumb-polygon.js +19 -0
- package/dist/rhumb-polygon.js.map +1 -0
- package/dist/subdivide-geodesic-polyline.d.ts +15 -0
- package/dist/subdivide-geodesic-polyline.d.ts.map +1 -0
- package/dist/subdivide-geodesic-polyline.js +52 -0
- package/dist/subdivide-geodesic-polyline.js.map +1 -0
- package/dist/subdivide-globe-mesh.d.ts +20 -0
- package/dist/subdivide-globe-mesh.d.ts.map +1 -0
- package/dist/subdivide-globe-mesh.js +54 -0
- package/dist/subdivide-globe-mesh.js.map +1 -0
- package/dist/subdivide-rhumb-polyline.d.ts +12 -0
- package/dist/subdivide-rhumb-polyline.d.ts.map +1 -0
- package/dist/subdivide-rhumb-polyline.js +82 -0
- package/dist/subdivide-rhumb-polyline.js.map +1 -0
- package/dist/terrain/adaptive-mesh-types.d.ts +21 -0
- package/dist/terrain/adaptive-mesh-types.d.ts.map +1 -0
- package/dist/terrain/adaptive-mesh-types.js +5 -0
- package/dist/terrain/adaptive-mesh-types.js.map +1 -0
- package/dist/terrain/bounds.d.ts +41 -0
- package/dist/terrain/bounds.d.ts.map +1 -0
- package/dist/terrain/bounds.js +141 -0
- package/dist/terrain/bounds.js.map +1 -0
- package/dist/terrain/contour-path-data.d.ts +26 -0
- package/dist/terrain/contour-path-data.d.ts.map +1 -0
- package/dist/terrain/contour-path-data.js +59 -0
- package/dist/terrain/contour-path-data.js.map +1 -0
- package/dist/terrain/contour-paths.d.ts +8 -0
- package/dist/terrain/contour-paths.d.ts.map +1 -0
- package/dist/terrain/contour-paths.js +83 -0
- package/dist/terrain/contour-paths.js.map +1 -0
- package/dist/terrain/contour-simplify.d.ts +18 -0
- package/dist/terrain/contour-simplify.d.ts.map +1 -0
- package/dist/terrain/contour-simplify.js +152 -0
- package/dist/terrain/contour-simplify.js.map +1 -0
- package/dist/terrain/contours.d.ts +29 -0
- package/dist/terrain/contours.d.ts.map +1 -0
- package/dist/terrain/contours.js +133 -0
- package/dist/terrain/contours.js.map +1 -0
- package/dist/terrain/delatin.d.ts +12 -0
- package/dist/terrain/delatin.d.ts.map +1 -0
- package/dist/terrain/delatin.js +69 -0
- package/dist/terrain/delatin.js.map +1 -0
- package/dist/terrain/derivatives.d.ts +23 -0
- package/dist/terrain/derivatives.d.ts.map +1 -0
- package/dist/terrain/derivatives.js +71 -0
- package/dist/terrain/derivatives.js.map +1 -0
- package/dist/terrain/geographic.d.ts +21 -0
- package/dist/terrain/geographic.d.ts.map +1 -0
- package/dist/terrain/geographic.js +91 -0
- package/dist/terrain/geographic.js.map +1 -0
- package/dist/terrain/geometry.d.ts +14 -0
- package/dist/terrain/geometry.d.ts.map +1 -0
- package/dist/terrain/geometry.js +116 -0
- package/dist/terrain/geometry.js.map +1 -0
- package/dist/terrain/height-field.d.ts +31 -0
- package/dist/terrain/height-field.d.ts.map +1 -0
- package/dist/terrain/height-field.js +305 -0
- package/dist/terrain/height-field.js.map +1 -0
- package/dist/terrain/index.cjs +3099 -0
- package/dist/terrain/index.cjs.map +6 -0
- package/dist/terrain/index.d.ts +46 -0
- package/dist/terrain/index.d.ts.map +1 -0
- package/dist/terrain/index.js +28 -0
- package/dist/terrain/index.js.map +1 -0
- package/dist/terrain/martini.d.ts +13 -0
- package/dist/terrain/martini.d.ts.map +1 -0
- package/dist/terrain/martini.js +65 -0
- package/dist/terrain/martini.js.map +1 -0
- package/dist/terrain/mesh-data.d.ts +21 -0
- package/dist/terrain/mesh-data.d.ts.map +1 -0
- package/dist/terrain/mesh-data.js +79 -0
- package/dist/terrain/mesh-data.js.map +1 -0
- package/dist/terrain/mesh-edges.d.ts +7 -0
- package/dist/terrain/mesh-edges.d.ts.map +1 -0
- package/dist/terrain/mesh-edges.js +21 -0
- package/dist/terrain/mesh-edges.js.map +1 -0
- package/dist/terrain/mesh-error.d.ts +16 -0
- package/dist/terrain/mesh-error.d.ts.map +1 -0
- package/dist/terrain/mesh-error.js +114 -0
- package/dist/terrain/mesh-error.js.map +1 -0
- package/dist/terrain/mesh-skirts.d.ts +29 -0
- package/dist/terrain/mesh-skirts.d.ts.map +1 -0
- package/dist/terrain/mesh-skirts.js +119 -0
- package/dist/terrain/mesh-skirts.js.map +1 -0
- package/dist/terrain/mesh-stitch.d.ts +35 -0
- package/dist/terrain/mesh-stitch.d.ts.map +1 -0
- package/dist/terrain/mesh-stitch.js +267 -0
- package/dist/terrain/mesh-stitch.js.map +1 -0
- package/dist/terrain/mesh.d.ts +6 -0
- package/dist/terrain/mesh.d.ts.map +1 -0
- package/dist/terrain/mesh.js +38 -0
- package/dist/terrain/mesh.js.map +1 -0
- package/dist/terrain/packed.d.ts +33 -0
- package/dist/terrain/packed.d.ts.map +1 -0
- package/dist/terrain/packed.js +136 -0
- package/dist/terrain/packed.js.map +1 -0
- package/dist/terrain/profile-measure.d.ts +26 -0
- package/dist/terrain/profile-measure.d.ts.map +1 -0
- package/dist/terrain/profile-measure.js +111 -0
- package/dist/terrain/profile-measure.js.map +1 -0
- package/dist/terrain/profile.d.ts +22 -0
- package/dist/terrain/profile.d.ts.map +1 -0
- package/dist/terrain/profile.js +76 -0
- package/dist/terrain/profile.js.map +1 -0
- package/dist/terrain/slope-aspect.d.ts +21 -0
- package/dist/terrain/slope-aspect.d.ts.map +1 -0
- package/dist/terrain/slope-aspect.js +52 -0
- package/dist/terrain/slope-aspect.js.map +1 -0
- package/dist/terrain/surface.d.ts +123 -0
- package/dist/terrain/surface.d.ts.map +1 -0
- package/dist/terrain/surface.js +366 -0
- package/dist/terrain/surface.js.map +1 -0
- package/dist/terrain/tiled.d.ts +80 -0
- package/dist/terrain/tiled.d.ts.map +1 -0
- package/dist/terrain/tiled.js +378 -0
- package/dist/terrain/tiled.js.map +1 -0
- package/dist/terrain/types.d.ts +58 -0
- package/dist/terrain/types.d.ts.map +1 -0
- package/dist/terrain/types.js +13 -0
- package/dist/terrain/types.js.map +1 -0
- package/dist/terrain/vendor/delatin.d.ts +38 -0
- package/dist/terrain/vendor/delatin.d.ts.map +1 -0
- package/dist/terrain/vendor/delatin.js +407 -0
- package/dist/terrain/vendor/delatin.js.map +1 -0
- package/dist/terrain/vertex-tiles.d.ts +35 -0
- package/dist/terrain/vertex-tiles.d.ts.map +1 -0
- package/dist/terrain/vertex-tiles.js +120 -0
- package/dist/terrain/vertex-tiles.js.map +1 -0
- package/dist/tile-matrix.d.ts +107 -0
- package/dist/tile-matrix.d.ts.map +1 -0
- package/dist/tile-matrix.js +383 -0
- package/dist/tile-matrix.js.map +1 -0
- package/dist/tiles.d.ts +5 -0
- package/dist/tiles.d.ts.map +1 -0
- package/dist/tiles.js +6 -0
- package/dist/tiles.js.map +1 -0
- package/dist/triaxial/integrate.d.ts +2 -0
- package/dist/triaxial/integrate.d.ts.map +1 -0
- package/dist/triaxial/integrate.js +76 -0
- package/dist/triaxial/integrate.js.map +1 -0
- package/dist/triaxial.d.ts +42 -0
- package/dist/triaxial.d.ts.map +1 -0
- package/dist/triaxial.js +141 -0
- package/dist/triaxial.js.map +1 -0
- package/dist/turf.cjs +1660 -0
- package/dist/turf.cjs.map +6 -0
- package/dist/turf.d.ts +103 -0
- package/dist/turf.d.ts.map +1 -0
- package/dist/turf.js +1026 -0
- package/dist/turf.js.map +1 -0
- package/dist/type-utils.d.ts +2 -0
- package/dist/type-utils.d.ts.map +1 -1
- package/dist/type-utils.js +25 -2
- package/dist/type-utils.js.map +1 -1
- package/dist/vendor/geographiclib-geodesic/runtime.d.ts +9 -0
- package/dist/vendor/geographiclib-geodesic/runtime.d.ts.map +1 -0
- package/dist/vendor/geographiclib-geodesic/runtime.js +2245 -0
- package/dist/vendor/geographiclib-geodesic/runtime.js.map +1 -0
- package/dist/web-mercator.d.ts +2 -0
- package/dist/web-mercator.d.ts.map +1 -0
- package/dist/web-mercator.js +5 -0
- package/dist/web-mercator.js.map +1 -0
- package/dist/wkb/index.d.ts +11 -0
- package/dist/wkb/index.d.ts.map +1 -0
- package/dist/wkb/index.js +9 -0
- package/dist/wkb/index.js.map +1 -0
- package/dist/wkb/types.d.ts +30 -0
- package/dist/wkb/types.d.ts.map +1 -0
- package/dist/wkb/types.js +34 -0
- package/dist/wkb/types.js.map +1 -0
- package/dist/wkb/wkb-builder.d.ts +91 -0
- package/dist/wkb/wkb-builder.d.ts.map +1 -0
- package/dist/wkb/wkb-builder.js +283 -0
- package/dist/wkb/wkb-builder.js.map +1 -0
- package/dist/wkb/wkb-reader.d.ts +74 -0
- package/dist/wkb/wkb-reader.d.ts.map +1 -0
- package/dist/wkb/wkb-reader.js +251 -0
- package/dist/wkb/wkb-reader.js.map +1 -0
- package/dist/wkb/wkb.d.ts +21 -0
- package/dist/wkb/wkb.d.ts.map +1 -0
- package/dist/wkb/wkb.js +204 -0
- package/dist/wkb/wkb.js.map +1 -0
- package/dist/wkb/wkt.d.ts +19 -0
- package/dist/wkb/wkt.d.ts.map +1 -0
- package/dist/wkb/wkt.js +321 -0
- package/dist/wkb/wkt.js.map +1 -0
- package/dist/workers/index.cjs +20879 -0
- package/dist/workers/index.cjs.map +6 -0
- package/dist/workers/index.d.ts +12 -0
- package/dist/workers/index.d.ts.map +1 -0
- package/dist/workers/index.js +41 -0
- package/dist/workers/index.js.map +1 -0
- package/dist/workers/map-worker.d.ts +2 -0
- package/dist/workers/map-worker.d.ts.map +1 -0
- package/dist/workers/map-worker.js +7 -0
- package/dist/workers/map-worker.js.map +1 -0
- package/dist/workers/operations.cjs +20036 -0
- package/dist/workers/operations.cjs.map +6 -0
- package/dist/workers/operations.d.ts +15 -0
- package/dist/workers/operations.d.ts.map +1 -0
- package/dist/workers/operations.js +46 -0
- package/dist/workers/operations.js.map +1 -0
- package/dist/workers/projection-worker.d.ts +2 -0
- package/dist/workers/projection-worker.d.ts.map +1 -0
- package/dist/workers/projection-worker.js +7 -0
- package/dist/workers/projection-worker.js.map +1 -0
- package/package.json +1023 -6
- package/projection/APACHE-2.0-LICENSE.txt +55 -0
- package/projection/PROJ-LICENSE.txt +37 -0
- package/projection/PROJ4-LICENSE.md +29 -0
- package/projection/THIRD-PARTY-NOTICES.md +210 -0
- package/src/constants.ts +5 -3
- package/src/coordinates/angles.ts +160 -0
- package/src/coordinates/grid.ts +141 -0
- package/src/coordinates/mgrs.ts +157 -0
- package/src/coordinates.ts +24 -0
- package/src/crs/crs-descriptor-types.ts +81 -0
- package/src/crs/crs-descriptor.ts +203 -0
- package/src/crs/crs-metadata.ts +63 -0
- package/src/crs/crs.ts +36 -0
- package/src/crs/execution-identity.ts +98 -0
- package/src/crs/index.ts +101 -0
- package/src/crs/proj-string.ts +239 -0
- package/src/crs/projection-domain.ts +100 -0
- package/src/crs/projjson-schema-constants.ts +9 -0
- package/src/crs/projjson-types.ts +665 -0
- package/src/crs/resolver.ts +194 -0
- package/src/crs/spatial-reference.ts +224 -0
- package/src/crs/units-table.ts +51 -0
- package/src/crs/wkt-crs.ts +790 -0
- package/src/discontinuous/AIR-OCEAN-LICENSE.txt +26 -0
- package/src/discontinuous/D3-LICENSE.txt +37 -0
- package/src/discontinuous/PETROFF-LICENSE.txt +55 -0
- package/src/discontinuous/PROJ-LICENSE.txt +34 -0
- package/src/discontinuous/air-ocean-mesh.ts +86 -0
- package/src/discontinuous/albers-usa.ts +181 -0
- package/src/discontinuous/cap-map.ts +406 -0
- package/src/discontinuous/elastic/README.md +20 -0
- package/src/discontinuous/elastic/UNLICENSE.txt +24 -0
- package/src/discontinuous/elastic/data.ts +86 -0
- package/src/discontinuous/elastic/elasticI.ts +5238 -0
- package/src/discontinuous/elastic/elasticII.ts +18167 -0
- package/src/discontinuous/elastic/elasticIII.ts +29571 -0
- package/src/discontinuous/elastic/geometry.ts +172 -0
- package/src/discontinuous/elastic/grid.ts +194 -0
- package/src/discontinuous/elastic/map.ts +317 -0
- package/src/discontinuous/global-polygons.ts +273 -0
- package/src/discontinuous/gray-fuller.ts +38 -0
- package/src/discontinuous/gringorten-kernel.ts +160 -0
- package/src/discontinuous/healpix.ts +61 -0
- package/src/discontinuous/layout.ts +177 -0
- package/src/discontinuous/map-engine.ts +602 -0
- package/src/discontinuous/map-layout.ts +605 -0
- package/src/discontinuous/map-transition.ts +339 -0
- package/src/discontinuous/math.ts +67 -0
- package/src/discontinuous/mercator-map.ts +160 -0
- package/src/discontinuous/myriahedral/graticule.ts +40 -0
- package/src/discontinuous/myriahedral/mesh.ts +138 -0
- package/src/discontinuous/myriahedral/unfold.ts +240 -0
- package/src/discontinuous/myriahedral.ts +311 -0
- package/src/discontinuous/petroff.ts +178 -0
- package/src/discontinuous/polyhedral.ts +138 -0
- package/src/discontinuous/prepare-features.ts +245 -0
- package/src/discontinuous/presets.ts +450 -0
- package/src/discontinuous/projection-catalog.ts +132 -0
- package/src/discontinuous/quincuncial-kernel.ts +173 -0
- package/src/discontinuous/quincuncial-star.ts +328 -0
- package/src/discontinuous/regional-map.ts +229 -0
- package/src/discontinuous/retroazimuthal-map.ts +52 -0
- package/src/discontinuous/rotated-map.ts +86 -0
- package/src/discontinuous/snyder-mesh.ts +88 -0
- package/src/discontinuous/snyder.ts +171 -0
- package/src/discontinuous/spherical-clip/D3-GEO-LICENSE.txt +34 -0
- package/src/discontinuous/spherical-clip/README.md +16 -0
- package/src/discontinuous/spherical-clip/cartesian.js +43 -0
- package/src/discontinuous/spherical-clip/circle.js +35 -0
- package/src/discontinuous/spherical-clip/clip-buffer.js +29 -0
- package/src/discontinuous/spherical-clip/clip-circle.js +197 -0
- package/src/discontinuous/spherical-clip/clip-index.js +140 -0
- package/src/discontinuous/spherical-clip/clip-rejoin.js +111 -0
- package/src/discontinuous/spherical-clip/helpers.js +20 -0
- package/src/discontinuous/spherical-clip/math.js +45 -0
- package/src/discontinuous/spherical-clip/noop.js +6 -0
- package/src/discontinuous/spherical-clip/pointEqual.js +10 -0
- package/src/discontinuous/spherical-clip/polygonContains.js +96 -0
- package/src/discontinuous/world-composite-kernels.ts +30 -0
- package/src/discontinuous/world-kernels/INTEGRATE-LICENSE.txt +21 -0
- package/src/discontinuous/world-kernels/README.md +24 -0
- package/src/discontinuous/world-kernels/airy.js +43 -0
- package/src/discontinuous/world-kernels/aitoff.js +48 -0
- package/src/discontinuous/world-kernels/armadillo.js +51 -0
- package/src/discontinuous/world-kernels/august.js +36 -0
- package/src/discontinuous/world-kernels/baker.js +50 -0
- package/src/discontinuous/world-kernels/bertin.js +41 -0
- package/src/discontinuous/world-kernels/boggs.js +32 -0
- package/src/discontinuous/world-kernels/bonne.js +27 -0
- package/src/discontinuous/world-kernels/bottomley.js +25 -0
- package/src/discontinuous/world-kernels/bromley.js +10 -0
- package/src/discontinuous/world-kernels/chamberlin.js +97 -0
- package/src/discontinuous/world-kernels/collignon.js +17 -0
- package/src/discontinuous/world-kernels/craig.js +33 -0
- package/src/discontinuous/world-kernels/craster.js +18 -0
- package/src/discontinuous/world-kernels/cylindricalEqualArea.js +21 -0
- package/src/discontinuous/world-kernels/cylindricalStereographic.js +21 -0
- package/src/discontinuous/world-kernels/d3-geo-raw.js +26 -0
- package/src/discontinuous/world-kernels/eckert1.js +18 -0
- package/src/discontinuous/world-kernels/eckert2.js +17 -0
- package/src/discontinuous/world-kernels/eckert3.js +17 -0
- package/src/discontinuous/world-kernels/eckert4.js +24 -0
- package/src/discontinuous/world-kernels/eckert5.js +17 -0
- package/src/discontinuous/world-kernels/eckert6.js +22 -0
- package/src/discontinuous/world-kernels/eisenlohr.js +88 -0
- package/src/discontinuous/world-kernels/fahey.js +19 -0
- package/src/discontinuous/world-kernels/foucaut.js +20 -0
- package/src/discontinuous/world-kernels/foucautSinusoidal.js +38 -0
- package/src/discontinuous/world-kernels/ginzburg4.js +17 -0
- package/src/discontinuous/world-kernels/ginzburg5.js +17 -0
- package/src/discontinuous/world-kernels/ginzburg6.js +19 -0
- package/src/discontinuous/world-kernels/ginzburg8.js +34 -0
- package/src/discontinuous/world-kernels/ginzburg9.js +17 -0
- package/src/discontinuous/world-kernels/ginzburgPolyconic.js +64 -0
- package/src/discontinuous/world-kernels/hammer.js +37 -0
- package/src/discontinuous/world-kernels/hammerRetroazimuthal.js +63 -0
- package/src/discontinuous/world-kernels/hill.js +57 -0
- package/src/discontinuous/world-kernels/homolosine.js +24 -0
- package/src/discontinuous/world-kernels/hufnagel.js +68 -0
- package/src/discontinuous/world-kernels/hyperelliptical.js +56 -0
- package/src/discontinuous/world-kernels/integrate.js +99 -0
- package/src/discontinuous/world-kernels/kavrayskiy7.js +15 -0
- package/src/discontinuous/world-kernels/lagrange.js +32 -0
- package/src/discontinuous/world-kernels/larrivee.js +43 -0
- package/src/discontinuous/world-kernels/laskowski.js +50 -0
- package/src/discontinuous/world-kernels/littrow.js +19 -0
- package/src/discontinuous/world-kernels/loximuthal.js +38 -0
- package/src/discontinuous/world-kernels/math.js +98 -0
- package/src/discontinuous/world-kernels/miller.js +15 -0
- package/src/discontinuous/world-kernels/modifiedStereographic.js +112 -0
- package/src/discontinuous/world-kernels/mollweide.js +30 -0
- package/src/discontinuous/world-kernels/mtFlatPolarParabolic.js +23 -0
- package/src/discontinuous/world-kernels/mtFlatPolarQuartic.js +29 -0
- package/src/discontinuous/world-kernels/mtFlatPolarSinusoidal.js +25 -0
- package/src/discontinuous/world-kernels/naturalEarth2.js +46 -0
- package/src/discontinuous/world-kernels/nellHammer.js +20 -0
- package/src/discontinuous/world-kernels/newton.js +77 -0
- package/src/discontinuous/world-kernels/nicolosi.js +60 -0
- package/src/discontinuous/world-kernels/patterson.js +45 -0
- package/src/discontinuous/world-kernels/polyconic.js +36 -0
- package/src/discontinuous/world-kernels/rectangularPolyconic.js +41 -0
- package/src/discontinuous/world-kernels/robinson.js +88 -0
- package/src/discontinuous/world-kernels/satellite.js +44 -0
- package/src/discontinuous/world-kernels/sinuMollweide.js +24 -0
- package/src/discontinuous/world-kernels/sinusoidal.js +15 -0
- package/src/discontinuous/world-kernels/times.js +19 -0
- package/src/discontinuous/world-kernels/twoPointEquidistant.js +41 -0
- package/src/discontinuous/world-kernels/vanDerGrinten.js +48 -0
- package/src/discontinuous/world-kernels/vanDerGrinten2.js +32 -0
- package/src/discontinuous/world-kernels/vanDerGrinten3.js +24 -0
- package/src/discontinuous/world-kernels/vanDerGrinten4.js +70 -0
- package/src/discontinuous/world-kernels/wagner.js +61 -0
- package/src/discontinuous/world-kernels/wagner4.js +13 -0
- package/src/discontinuous/world-kernels/wagner6.js +15 -0
- package/src/discontinuous/world-kernels/wiechel.js +25 -0
- package/src/discontinuous/world-kernels/winkel3.js +45 -0
- package/src/discontinuous/world-kernels.ts +249 -0
- package/src/discontinuous/world-map.ts +257 -0
- package/src/discontinuous.ts +142 -0
- package/src/elastic.ts +7 -0
- package/src/ellipsoid-geodesic.ts +170 -0
- package/src/ellipsoid-helpers/ellipsoid-transform.ts +79 -20
- package/src/ellipsoid-helpers/exact-nearest-surface.ts +118 -0
- package/src/ellipsoid-helpers/intersection-bounds.ts +85 -0
- package/src/ellipsoid-helpers/nearest-surface.ts +157 -0
- package/src/ellipsoid-helpers/rhumb-pole-distance.ts +76 -0
- package/src/ellipsoid-helpers/scale-to-geodetic-surface.ts +31 -90
- package/src/ellipsoid-helpers/surface-polygon.ts +210 -0
- package/src/ellipsoid-helpers/tangent-plane-numerics.ts +124 -0
- package/src/ellipsoid-metrics.ts +225 -0
- package/src/ellipsoid-occluder.ts +135 -0
- package/src/ellipsoid-rhumb.ts +408 -0
- package/src/ellipsoid-tangent-plane.ts +236 -38
- package/src/ellipsoid-transforms.ts +61 -0
- package/src/ellipsoid.ts +281 -117
- package/src/entries/ellipsoid.ts +44 -0
- package/src/expressions.ts +35 -0
- package/src/geoarrow/builder-entry.ts +18 -0
- package/src/geoarrow/builder.ts +860 -0
- package/src/geoarrow/codecs.ts +1268 -0
- package/src/geoarrow/index.ts +111 -0
- package/src/geoarrow/kernels.ts +1290 -0
- package/src/geoarrow/layout.ts +900 -0
- package/src/geoarrow/stream-tessellate.ts +205 -0
- package/src/geoarrow/stream.ts +130 -0
- package/src/geoarrow/tessellate.ts +133 -0
- package/src/geoarrow/tessellation-entry.ts +7 -0
- package/src/geoarrow/types.ts +259 -0
- package/src/geoarrow/views.ts +150 -0
- package/src/geoarrow/wkb-entry.ts +13 -0
- package/src/geoarrow/worker.ts +20 -0
- package/src/geodesic-buffer.ts +120 -0
- package/src/geodesic-exact/area.ts +70 -0
- package/src/geodesic-exact/inverse-engine.ts +166 -0
- package/src/geodesic-exact/polygon.ts +36 -0
- package/src/geodesic-exact/quadrature.ts +60 -0
- package/src/geodesic-exact.ts +290 -0
- package/src/geodesic-intersections.ts +598 -0
- package/src/geodesic-path.ts +128 -0
- package/src/geodesic-polygon.ts +19 -0
- package/src/geographic-atlas/atlas.ts +645 -0
- package/src/geographic-atlas/curves.ts +360 -0
- package/src/geographic-atlas/math.ts +125 -0
- package/src/geographic-atlas/sampling.ts +146 -0
- package/src/geographic-atlas/topology.ts +196 -0
- package/src/geographic-atlas/types.ts +48 -0
- package/src/geographic-atlas.ts +104 -0
- package/src/geographic-cuts.ts +114 -0
- package/src/geographic-seams/cut-options.ts +50 -0
- package/src/geographic-seams/edge.ts +416 -0
- package/src/geographic-seams/latitude.ts +47 -0
- package/src/geographic-seams/polygon.ts +551 -0
- package/src/geographic-seams/subdivide-cut.ts +203 -0
- package/src/geographic-seams/types.ts +67 -0
- package/src/geographic-seams.ts +81 -0
- package/src/geographic-tiles.ts +87 -0
- package/src/globe-horizon-bounds.ts +68 -0
- package/src/globe.ts +31 -0
- package/src/index.ts +392 -7
- package/src/lng-lat-rectangle.ts +5 -3
- package/src/local-reference-frame.ts +316 -0
- package/src/make-obb-from-region.ts +6 -4
- package/src/projection/analysis.ts +284 -0
- package/src/projection/bulk.ts +343 -0
- package/src/projection/datums.ts +13 -0
- package/src/projection/deformation.ts +5 -0
- package/src/projection/experimental/authalic-latitude.ts +49 -0
- package/src/projection/experimental/catalogue-kernel.ts +65 -0
- package/src/projection/experimental/common/adjust_lat.ts +11 -0
- package/src/projection/experimental/common/adjust_lon.ts +14 -0
- package/src/projection/experimental/common/asinhy.ts +14 -0
- package/src/projection/experimental/common/asinz.ts +11 -0
- package/src/projection/experimental/common/authlat.ts +9 -0
- package/src/projection/experimental/common/authset.ts +25 -0
- package/src/projection/experimental/common/clens.ts +20 -0
- package/src/projection/experimental/common/clens_cmplx.ts +43 -0
- package/src/projection/experimental/common/constants.ts +15 -0
- package/src/projection/experimental/common/cosh.ts +10 -0
- package/src/projection/experimental/common/e0fn.ts +8 -0
- package/src/projection/experimental/common/e1fn.ts +8 -0
- package/src/projection/experimental/common/e2fn.ts +8 -0
- package/src/projection/experimental/common/e3fn.ts +8 -0
- package/src/projection/experimental/common/fL.ts +10 -0
- package/src/projection/experimental/common/gN.ts +9 -0
- package/src/projection/experimental/common/gatg.ts +20 -0
- package/src/projection/experimental/common/hypot.ts +13 -0
- package/src/projection/experimental/common/imlfn.ts +23 -0
- package/src/projection/experimental/common/invlatiso.ts +20 -0
- package/src/projection/experimental/common/iqsfnz.ts +45 -0
- package/src/projection/experimental/common/latiso.ts +21 -0
- package/src/projection/experimental/common/log1py.ts +11 -0
- package/src/projection/experimental/common/meridian-distance.ts +45 -0
- package/src/projection/experimental/common/mlfn.ts +8 -0
- package/src/projection/experimental/common/msfnz.ts +9 -0
- package/src/projection/experimental/common/phi2z.ts +22 -0
- package/src/projection/experimental/common/pj_enfn.ts +29 -0
- package/src/projection/experimental/common/pj_inv_mlfn.ts +28 -0
- package/src/projection/experimental/common/pj_mlfn.ts +10 -0
- package/src/projection/experimental/common/qsfnz.ts +17 -0
- package/src/projection/experimental/common/sign.ts +8 -0
- package/src/projection/experimental/common/sinh.ts +10 -0
- package/src/projection/experimental/common/srat.ts +8 -0
- package/src/projection/experimental/common/tsfnz.ts +14 -0
- package/src/projection/experimental/common/vincenty.ts +180 -0
- package/src/projection/experimental/core.ts +77 -0
- package/src/projection/experimental/crs/datum-catalog.ts +65 -0
- package/src/projection/experimental/crs/datum-table.ts +1360 -0
- package/src/projection/experimental/crs/ellipsoid-table.ts +230 -0
- package/src/projection/experimental/crs/normalize.ts +318 -0
- package/src/projection/experimental/crs/primemeridian-table.ts +22 -0
- package/src/projection/experimental/crs/projjson.ts +12 -0
- package/src/projection/experimental/crs/resolve.ts +78 -0
- package/src/projection/experimental/crs/spatial-reference.ts +120 -0
- package/src/projection/experimental/crs/structured.ts +580 -0
- package/src/projection/experimental/crs/types.ts +97 -0
- package/src/projection/experimental/crs/wkt.ts +201 -0
- package/src/projection/experimental/crs-descriptor.ts +256 -0
- package/src/projection/experimental/crs-rendering-scale.ts +115 -0
- package/src/projection/experimental/datum.ts +185 -0
- package/src/projection/experimental/deformation-inverse.ts +125 -0
- package/src/projection/experimental/deformation.ts +30 -0
- package/src/projection/experimental/ellipsoidal-gnomonic.ts +83 -0
- package/src/projection/experimental/engine-options.ts +36 -0
- package/src/projection/experimental/entries/projections/aea.ts +5 -0
- package/src/projection/experimental/entries/projections/aeqd.ts +5 -0
- package/src/projection/experimental/entries/projections/bonne.ts +5 -0
- package/src/projection/experimental/entries/projections/cass.ts +5 -0
- package/src/projection/experimental/entries/projections/cea.ts +5 -0
- package/src/projection/experimental/entries/projections/eck6.ts +5 -0
- package/src/projection/experimental/entries/projections/eqc.ts +5 -0
- package/src/projection/experimental/entries/projections/eqdc.ts +5 -0
- package/src/projection/experimental/entries/projections/eqearth.ts +5 -0
- package/src/projection/experimental/entries/projections/equi.ts +5 -0
- package/src/projection/experimental/entries/projections/etmerc.ts +5 -0
- package/src/projection/experimental/entries/projections/geocent.ts +5 -0
- package/src/projection/experimental/entries/projections/geos.ts +5 -0
- package/src/projection/experimental/entries/projections/gnom.ts +5 -0
- package/src/projection/experimental/entries/projections/gstmerc.ts +5 -0
- package/src/projection/experimental/entries/projections/krovak.ts +5 -0
- package/src/projection/experimental/entries/projections/laea.ts +5 -0
- package/src/projection/experimental/entries/projections/lcc.ts +5 -0
- package/src/projection/experimental/entries/projections/merc.ts +5 -0
- package/src/projection/experimental/entries/projections/mill.ts +5 -0
- package/src/projection/experimental/entries/projections/moll.ts +5 -0
- package/src/projection/experimental/entries/projections/nzmg.ts +5 -0
- package/src/projection/experimental/entries/projections/ob_tran.ts +5 -0
- package/src/projection/experimental/entries/projections/omerc.ts +5 -0
- package/src/projection/experimental/entries/projections/ortho.ts +5 -0
- package/src/projection/experimental/entries/projections/poly.ts +5 -0
- package/src/projection/experimental/entries/projections/qsc.ts +5 -0
- package/src/projection/experimental/entries/projections/robin.ts +5 -0
- package/src/projection/experimental/entries/projections/sinu.ts +5 -0
- package/src/projection/experimental/entries/projections/somerc.ts +5 -0
- package/src/projection/experimental/entries/projections/stere.ts +5 -0
- package/src/projection/experimental/entries/projections/sterea.ts +5 -0
- package/src/projection/experimental/entries/projections/tmerc.ts +5 -0
- package/src/projection/experimental/entries/projections/tpers.ts +5 -0
- package/src/projection/experimental/entries/projections/utm.ts +5 -0
- package/src/projection/experimental/entries/projections/vandg.ts +5 -0
- package/src/projection/experimental/exact-helmert.ts +58 -0
- package/src/projection/experimental/flat-projection.ts +80 -0
- package/src/projection/experimental/grids/geotiff.ts +88 -0
- package/src/projection/experimental/grids/grid.ts +141 -0
- package/src/projection/experimental/grids/gtx.ts +31 -0
- package/src/projection/experimental/grids/ntv2.ts +71 -0
- package/src/projection/experimental/grids/scalar-geotiff.ts +231 -0
- package/src/projection/experimental/grids/types.ts +35 -0
- package/src/projection/experimental/grids/velocity-geotiff.ts +82 -0
- package/src/projection/experimental/grids/velocity.ts +58 -0
- package/src/projection/experimental/grids/vertical-geotiff.ts +28 -0
- package/src/projection/experimental/grids/vertical.ts +99 -0
- package/src/projection/experimental/helmert-flat.ts +76 -0
- package/src/projection/experimental/index.ts +59 -0
- package/src/projection/experimental/inverse-spherical-latitude.ts +19 -0
- package/src/projection/experimental/kernel.ts +142 -0
- package/src/projection/experimental/kernels/aea.ts +149 -0
- package/src/projection/experimental/kernels/aeqd.ts +171 -0
- package/src/projection/experimental/kernels/bonne.ts +141 -0
- package/src/projection/experimental/kernels/cass.ts +140 -0
- package/src/projection/experimental/kernels/cea.ts +71 -0
- package/src/projection/experimental/kernels/eck6.ts +36 -0
- package/src/projection/experimental/kernels/eqdc.ts +137 -0
- package/src/projection/experimental/kernels/eqearth.ts +146 -0
- package/src/projection/experimental/kernels/equi.ts +55 -0
- package/src/projection/experimental/kernels/etmerc.ts +190 -0
- package/src/projection/experimental/kernels/gauss.ts +79 -0
- package/src/projection/experimental/kernels/geos.ts +183 -0
- package/src/projection/experimental/kernels/gnom.ts +123 -0
- package/src/projection/experimental/kernels/gstmerc.ts +74 -0
- package/src/projection/experimental/kernels/krovak.ts +166 -0
- package/src/projection/experimental/kernels/laea.ts +320 -0
- package/src/projection/experimental/kernels/lcc.ts +141 -0
- package/src/projection/experimental/kernels/mill.ts +60 -0
- package/src/projection/experimental/kernels/moll.ts +109 -0
- package/src/projection/experimental/kernels/nzmg.ts +249 -0
- package/src/projection/experimental/kernels/omerc.ts +343 -0
- package/src/projection/experimental/kernels/ortho.ts +52 -0
- package/src/projection/experimental/kernels/poly.ts +217 -0
- package/src/projection/experimental/kernels/qsc.ts +359 -0
- package/src/projection/experimental/kernels/robin.ts +189 -0
- package/src/projection/experimental/kernels/sinu.ts +118 -0
- package/src/projection/experimental/kernels/somerc.ts +102 -0
- package/src/projection/experimental/kernels/stere.ts +249 -0
- package/src/projection/experimental/kernels/sterea.ts +82 -0
- package/src/projection/experimental/kernels/tmerc.ts +227 -0
- package/src/projection/experimental/kernels/tpers.ts +187 -0
- package/src/projection/experimental/kernels/vandg.ts +147 -0
- package/src/projection/experimental/kinematic-helmert-flat.ts +85 -0
- package/src/projection/experimental/kinematic-helmert.ts +132 -0
- package/src/projection/experimental/lazy-projection.ts +190 -0
- package/src/projection/experimental/lazy-projections/aea.ts +10 -0
- package/src/projection/experimental/lazy-projections/aeqd.ts +12 -0
- package/src/projection/experimental/lazy-projections/bonne.ts +10 -0
- package/src/projection/experimental/lazy-projections/cass.ts +10 -0
- package/src/projection/experimental/lazy-projections/cea.ts +12 -0
- package/src/projection/experimental/lazy-projections/eck6.ts +10 -0
- package/src/projection/experimental/lazy-projections/eqc.ts +15 -0
- package/src/projection/experimental/lazy-projections/eqdc.ts +11 -0
- package/src/projection/experimental/lazy-projections/eqearth.ts +10 -0
- package/src/projection/experimental/lazy-projections/equi.ts +10 -0
- package/src/projection/experimental/lazy-projections/etmerc.ts +12 -0
- package/src/projection/experimental/lazy-projections/geocent.ts +10 -0
- package/src/projection/experimental/lazy-projections/geos.ts +10 -0
- package/src/projection/experimental/lazy-projections/gnom.ts +10 -0
- package/src/projection/experimental/lazy-projections/gstmerc.ts +13 -0
- package/src/projection/experimental/lazy-projections/index.ts +41 -0
- package/src/projection/experimental/lazy-projections/krovak.ts +18 -0
- package/src/projection/experimental/lazy-projections/laea.ts +12 -0
- package/src/projection/experimental/lazy-projections/lcc.ts +22 -0
- package/src/projection/experimental/lazy-projections/merc.ts +19 -0
- package/src/projection/experimental/lazy-projections/mill.ts +11 -0
- package/src/projection/experimental/lazy-projections/moll.ts +10 -0
- package/src/projection/experimental/lazy-projections/nzmg.ts +11 -0
- package/src/projection/experimental/lazy-projections/ob_tran.ts +25 -0
- package/src/projection/experimental/lazy-projections/omerc.ts +22 -0
- package/src/projection/experimental/lazy-projections/ortho.ts +10 -0
- package/src/projection/experimental/lazy-projections/poly.ts +10 -0
- package/src/projection/experimental/lazy-projections/qsc.ts +16 -0
- package/src/projection/experimental/lazy-projections/robin.ts +10 -0
- package/src/projection/experimental/lazy-projections/sinu.ts +10 -0
- package/src/projection/experimental/lazy-projections/somerc.ts +12 -0
- package/src/projection/experimental/lazy-projections/stere.ts +18 -0
- package/src/projection/experimental/lazy-projections/sterea.ts +20 -0
- package/src/projection/experimental/lazy-projections/tmerc.ts +22 -0
- package/src/projection/experimental/lazy-projections/tpers.ts +11 -0
- package/src/projection/experimental/lazy-projections/utm.ts +12 -0
- package/src/projection/experimental/lazy-projections/vandg.ts +10 -0
- package/src/projection/experimental/mutable-projection.ts +63 -0
- package/src/projection/experimental/numeric-flat.ts +73 -0
- package/src/projection/experimental/parameters.ts +36 -0
- package/src/projection/experimental/projection-descriptor.ts +79 -0
- package/src/projection/experimental/projection-engine.ts +62 -0
- package/src/projection/experimental/projection-pipeline.ts +1047 -0
- package/src/projection/experimental/projection-scratch.ts +26 -0
- package/src/projection/experimental/projections/aea.ts +41 -0
- package/src/projection/experimental/projections/aeqd.ts +27 -0
- package/src/projection/experimental/projections/bonne.ts +38 -0
- package/src/projection/experimental/projections/cass.ts +39 -0
- package/src/projection/experimental/projections/cea.ts +31 -0
- package/src/projection/experimental/projections/eck6.ts +30 -0
- package/src/projection/experimental/projections/eqdc.ts +40 -0
- package/src/projection/experimental/projections/eqearth.ts +72 -0
- package/src/projection/experimental/projections/equi.ts +31 -0
- package/src/projection/experimental/projections/equidistant-cylindrical.ts +79 -0
- package/src/projection/experimental/projections/geocentric.ts +42 -0
- package/src/projection/experimental/projections/geos.ts +46 -0
- package/src/projection/experimental/projections/gnom.ts +51 -0
- package/src/projection/experimental/projections/gstmerc.ts +43 -0
- package/src/projection/experimental/projections/krovak.ts +61 -0
- package/src/projection/experimental/projections/laea.ts +39 -0
- package/src/projection/experimental/projections/lcc.ts +67 -0
- package/src/projection/experimental/projections/mercator.ts +150 -0
- package/src/projection/experimental/projections/mill.ts +30 -0
- package/src/projection/experimental/projections/moll.ts +30 -0
- package/src/projection/experimental/projections/nzmg.ts +47 -0
- package/src/projection/experimental/projections/ob-tran.ts +279 -0
- package/src/projection/experimental/projections/omerc.ts +86 -0
- package/src/projection/experimental/projections/ortho.ts +34 -0
- package/src/projection/experimental/projections/poly.ts +40 -0
- package/src/projection/experimental/projections/qsc.ts +84 -0
- package/src/projection/experimental/projections/robin.ts +30 -0
- package/src/projection/experimental/projections/sinu.ts +30 -0
- package/src/projection/experimental/projections/somerc.ts +39 -0
- package/src/projection/experimental/projections/stere.ts +59 -0
- package/src/projection/experimental/projections/sterea.ts +61 -0
- package/src/projection/experimental/projections/tpers.ts +59 -0
- package/src/projection/experimental/projections/transverse-mercator.ts +89 -0
- package/src/projection/experimental/projections/utm.ts +50 -0
- package/src/projection/experimental/projections/vandg.ts +30 -0
- package/src/projection/experimental/rendering-profile/angular-rendering-profile.ts +117 -0
- package/src/projection/experimental/rendering-profile/azimuthal-rendering-bounds.ts +251 -0
- package/src/projection/experimental/rendering-profile/geographic-bounds.ts +190 -0
- package/src/projection/experimental/rendering-profile/geographic-rendering-profile.ts +29 -0
- package/src/projection/experimental/rendering-profile/geostationary-rendering-profile.ts +128 -0
- package/src/projection/experimental/rendering-profile/identity-rendering-profile.ts +15 -0
- package/src/projection/experimental/rendering-profile/rectangular-rendering-profile.ts +133 -0
- package/src/projection/experimental/rendering-profile/regional-rendering-bounds.ts +252 -0
- package/src/projection/experimental/rendering-profile/rendering-bounds.ts +163 -0
- package/src/projection/experimental/rendering-profile/rendering-profile.ts +96 -0
- package/src/projection/experimental/rendering-profile/spherical-rendering-domain.ts +175 -0
- package/src/projection/experimental/scalar-output.ts +77 -0
- package/src/projection/experimental/spatial-deformation.ts +115 -0
- package/src/projection/experimental/types.ts +117 -0
- package/src/projection/experimental/typescript-projection.ts +581 -0
- package/src/projection/experimental/vertical-datum.ts +39 -0
- package/src/projection/grids/velocity.ts +5 -0
- package/src/projection/index.ts +6 -0
- package/src/projection/lib/projection.ts +161 -0
- package/src/projection/numerical-derivative.ts +50 -0
- package/src/projection/operations.ts +479 -0
- package/src/projection/pipeline.ts +4 -0
- package/src/projection/temporal.ts +133 -0
- package/src/projection/transform-analysis.ts +169 -0
- package/src/projection/types.ts +83 -0
- package/src/projection/web-mercator.ts +148 -0
- package/src/rhumb-path.ts +128 -0
- package/src/rhumb-polygon.ts +24 -0
- package/src/subdivide-geodesic-polyline.ts +74 -0
- package/src/subdivide-globe-mesh.ts +75 -0
- package/src/subdivide-rhumb-polyline.ts +108 -0
- package/src/terrain/adaptive-mesh-types.ts +25 -0
- package/src/terrain/bounds.ts +189 -0
- package/src/terrain/contour-path-data.ts +106 -0
- package/src/terrain/contour-paths.ts +107 -0
- package/src/terrain/contour-simplify.ts +189 -0
- package/src/terrain/contours.ts +180 -0
- package/src/terrain/delatin.ts +82 -0
- package/src/terrain/derivatives.ts +100 -0
- package/src/terrain/geographic.ts +131 -0
- package/src/terrain/geometry.ts +128 -0
- package/src/terrain/height-field.ts +361 -0
- package/src/terrain/index.ts +82 -0
- package/src/terrain/martini.ts +77 -0
- package/src/terrain/mesh-data.ts +111 -0
- package/src/terrain/mesh-edges.ts +27 -0
- package/src/terrain/mesh-error.ts +158 -0
- package/src/terrain/mesh-skirts.ts +166 -0
- package/src/terrain/mesh-stitch.ts +345 -0
- package/src/terrain/mesh.ts +49 -0
- package/src/terrain/packed.ts +172 -0
- package/src/terrain/profile-measure.ts +146 -0
- package/src/terrain/profile.ts +111 -0
- package/src/terrain/slope-aspect.ts +74 -0
- package/src/terrain/surface.ts +511 -0
- package/src/terrain/tiled.ts +488 -0
- package/src/terrain/types.ts +65 -0
- package/src/terrain/vendor/DELATIN-LICENSE.txt +17 -0
- package/src/terrain/vendor/README.md +20 -0
- package/src/terrain/vendor/delatin.js +491 -0
- package/src/terrain/vertex-tiles.ts +160 -0
- package/src/tile-matrix.ts +589 -0
- package/src/tiles.ts +32 -0
- package/src/triaxial/integrate.ts +82 -0
- package/src/triaxial.ts +195 -0
- package/src/turf.ts +1200 -0
- package/src/type-utils.ts +31 -3
- package/src/vendor/geographiclib-geodesic/README.md +26 -0
- package/src/vendor/geographiclib-geodesic/runtime.js +2339 -0
- package/src/web-mercator.ts +5 -0
- package/src/wkb/index.ts +38 -0
- package/src/wkb/types.ts +54 -0
- package/src/wkb/wkb-builder.ts +395 -0
- package/src/wkb/wkb-reader.ts +401 -0
- package/src/wkb/wkb.ts +255 -0
- package/src/wkb/wkt.ts +375 -0
- package/src/workers/index.ts +59 -0
- package/src/workers/map-worker.ts +7 -0
- package/src/workers/operations.ts +65 -0
- package/src/workers/projection-worker.ts +7 -0
|
@@ -0,0 +1,1290 @@
|
|
|
1
|
+
// math.gl
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
// SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
|
|
4
|
+
|
|
5
|
+
import type {
|
|
6
|
+
GeoArrowArray,
|
|
7
|
+
GeoArrowBounds,
|
|
8
|
+
GeoArrowColumn,
|
|
9
|
+
GeoArrowCoordinateLayout,
|
|
10
|
+
GeoArrowCoordinateMapper,
|
|
11
|
+
GeoArrowDimension,
|
|
12
|
+
GeoArrowEncoding
|
|
13
|
+
} from './types';
|
|
14
|
+
import {getGeoArrowDimensionSize, getGeoArrowGeometryType} from './types';
|
|
15
|
+
import type {GeoArrowBuilderEncoding} from './builder';
|
|
16
|
+
import {GeoArrowBuilder} from './builder';
|
|
17
|
+
import {
|
|
18
|
+
getGeoArrowRowCount,
|
|
19
|
+
getGeoArrowVertexCount,
|
|
20
|
+
isGeoArrowValueValid,
|
|
21
|
+
visitGeoArrowCoordinates,
|
|
22
|
+
getListRange
|
|
23
|
+
} from './layout';
|
|
24
|
+
|
|
25
|
+
/** Resource limits applied before potentially expensive materialization or conversion. */
|
|
26
|
+
export type GeoArrowResourceLimitOptions = Readonly<{
|
|
27
|
+
maximumRows?: number;
|
|
28
|
+
maximumCoordinates?: number;
|
|
29
|
+
maximumChunks?: number;
|
|
30
|
+
maximumNestingDepth?: number;
|
|
31
|
+
maximumOutputBytes?: number;
|
|
32
|
+
}>;
|
|
33
|
+
|
|
34
|
+
/** Coordinate-map options. */
|
|
35
|
+
export type MapGeoArrowCoordinatesOptions = Readonly<{
|
|
36
|
+
dimension?: GeoArrowDimension;
|
|
37
|
+
coordinateLayout?: GeoArrowCoordinateLayout;
|
|
38
|
+
coordinateType?: 'preserve' | 'float32' | 'float64';
|
|
39
|
+
limits?: GeoArrowResourceLimitOptions;
|
|
40
|
+
}>;
|
|
41
|
+
|
|
42
|
+
/** Conversion options for native physical layouts. */
|
|
43
|
+
export type ConvertGeoArrowColumnOptions = Readonly<{
|
|
44
|
+
encoding?: GeoArrowEncoding | 'native';
|
|
45
|
+
dimension?: GeoArrowDimension;
|
|
46
|
+
coordinateLayout?: GeoArrowCoordinateLayout | 'preserve';
|
|
47
|
+
coordinateType?: 'preserve' | 'float32' | 'float64';
|
|
48
|
+
offsetType?: 'preserve' | 'int32' | 'int64';
|
|
49
|
+
limits?: GeoArrowResourceLimitOptions;
|
|
50
|
+
}>;
|
|
51
|
+
|
|
52
|
+
/** Ring orientation requested by {@link rewindGeoArrow}. */
|
|
53
|
+
export type GeoArrowRingOrientation = 'clockwise' | 'counter-clockwise';
|
|
54
|
+
|
|
55
|
+
/** Rewind options. */
|
|
56
|
+
export type RewindGeoArrowOptions = Readonly<{
|
|
57
|
+
outer?: GeoArrowRingOrientation;
|
|
58
|
+
limits?: GeoArrowResourceLimitOptions;
|
|
59
|
+
}>;
|
|
60
|
+
|
|
61
|
+
/** Returns XY bounds, or null when the column contains no finite coordinates. */
|
|
62
|
+
export function getGeoArrowBounds(column: GeoArrowColumn): GeoArrowBounds | null {
|
|
63
|
+
if (column.encoding === 'geoarrow.box') return getGeoArrowBoxBounds(column);
|
|
64
|
+
let minimumX = Number.POSITIVE_INFINITY;
|
|
65
|
+
let minimumY = Number.POSITIVE_INFINITY;
|
|
66
|
+
let maximumX = Number.NEGATIVE_INFINITY;
|
|
67
|
+
let maximumY = Number.NEGATIVE_INFINITY;
|
|
68
|
+
visitGeoArrowCoordinates(column, coordinate => {
|
|
69
|
+
const x = coordinate[0];
|
|
70
|
+
const y = coordinate[1];
|
|
71
|
+
if (Number.isFinite(x) && Number.isFinite(y)) {
|
|
72
|
+
minimumX = Math.min(minimumX, x);
|
|
73
|
+
minimumY = Math.min(minimumY, y);
|
|
74
|
+
maximumX = Math.max(maximumX, x);
|
|
75
|
+
maximumY = Math.max(maximumY, y);
|
|
76
|
+
}
|
|
77
|
+
return coordinate;
|
|
78
|
+
});
|
|
79
|
+
return Number.isFinite(minimumX) ? [minimumX, minimumY, maximumX, maximumY] : null;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/** Computes exact XY bounds for each logical row without materializing geometry values. */
|
|
83
|
+
export function getGeoArrowRowBounds(column: GeoArrowColumn): readonly (GeoArrowBounds | null)[] {
|
|
84
|
+
const rowCount = getGeoArrowRowCount(column);
|
|
85
|
+
if (column.encoding === 'geoarrow.box') {
|
|
86
|
+
const result: Array<GeoArrowBounds | null> = [];
|
|
87
|
+
for (const chunk of column.chunks) {
|
|
88
|
+
for (let rowIndex = 0; rowIndex < chunk.length; rowIndex++) {
|
|
89
|
+
if (chunk.kind !== 'struct' || !isGeoArrowValueValid(chunk.validity, rowIndex)) {
|
|
90
|
+
result.push(null);
|
|
91
|
+
continue;
|
|
92
|
+
}
|
|
93
|
+
const index = (chunk.offset || 0) + rowIndex;
|
|
94
|
+
const xmin = readPrimitiveNumber(chunk.children['xmin'], index);
|
|
95
|
+
const ymin = readPrimitiveNumber(chunk.children['ymin'], index);
|
|
96
|
+
const xmax = readPrimitiveNumber(chunk.children['xmax'], index);
|
|
97
|
+
const ymax = readPrimitiveNumber(chunk.children['ymax'], index);
|
|
98
|
+
result.push(
|
|
99
|
+
[xmin, ymin, xmax, ymax].every(Number.isFinite) ? [xmin, ymin, xmax, ymax] : null
|
|
100
|
+
);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
return result;
|
|
104
|
+
}
|
|
105
|
+
const minimumX = new Float64Array(rowCount).fill(Number.POSITIVE_INFINITY);
|
|
106
|
+
const minimumY = new Float64Array(rowCount).fill(Number.POSITIVE_INFINITY);
|
|
107
|
+
const maximumX = new Float64Array(rowCount).fill(Number.NEGATIVE_INFINITY);
|
|
108
|
+
const maximumY = new Float64Array(rowCount).fill(Number.NEGATIVE_INFINITY);
|
|
109
|
+
visitGeoArrowCoordinates(column, (coordinate, sourceRowIndex) => {
|
|
110
|
+
const [x, y] = coordinate;
|
|
111
|
+
if (Number.isFinite(x) && Number.isFinite(y)) {
|
|
112
|
+
minimumX[sourceRowIndex] = Math.min(minimumX[sourceRowIndex], x);
|
|
113
|
+
minimumY[sourceRowIndex] = Math.min(minimumY[sourceRowIndex], y);
|
|
114
|
+
maximumX[sourceRowIndex] = Math.max(maximumX[sourceRowIndex], x);
|
|
115
|
+
maximumY[sourceRowIndex] = Math.max(maximumY[sourceRowIndex], y);
|
|
116
|
+
}
|
|
117
|
+
return coordinate;
|
|
118
|
+
});
|
|
119
|
+
const bounds: Array<GeoArrowBounds | null> = [];
|
|
120
|
+
for (let rowIndex = 0; rowIndex < rowCount; rowIndex++) {
|
|
121
|
+
bounds.push(
|
|
122
|
+
Number.isFinite(minimumX[rowIndex])
|
|
123
|
+
? [minimumX[rowIndex], minimumY[rowIndex], maximumX[rowIndex], maximumY[rowIndex]]
|
|
124
|
+
: null
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
return bounds;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
function getGeoArrowBoxBounds(column: GeoArrowColumn): GeoArrowBounds | null {
|
|
131
|
+
let minimumX = Number.POSITIVE_INFINITY;
|
|
132
|
+
let minimumY = Number.POSITIVE_INFINITY;
|
|
133
|
+
let maximumX = Number.NEGATIVE_INFINITY;
|
|
134
|
+
let maximumY = Number.NEGATIVE_INFINITY;
|
|
135
|
+
for (const chunk of column.chunks) {
|
|
136
|
+
if (chunk.kind !== 'struct') continue;
|
|
137
|
+
const xmin = chunk.children['xmin'];
|
|
138
|
+
const ymin = chunk.children['ymin'];
|
|
139
|
+
const xmax = chunk.children['xmax'];
|
|
140
|
+
const ymax = chunk.children['ymax'];
|
|
141
|
+
if (!xmin || !ymin || !xmax || !ymax) continue;
|
|
142
|
+
for (let rowIndex = 0; rowIndex < chunk.length; rowIndex++) {
|
|
143
|
+
if (!isGeoArrowValueValid(chunk.validity, rowIndex)) continue;
|
|
144
|
+
const structIndex = (chunk.offset || 0) + rowIndex;
|
|
145
|
+
const bounds = [
|
|
146
|
+
readPrimitiveNumber(xmin, structIndex),
|
|
147
|
+
readPrimitiveNumber(ymin, structIndex),
|
|
148
|
+
readPrimitiveNumber(xmax, structIndex),
|
|
149
|
+
readPrimitiveNumber(ymax, structIndex)
|
|
150
|
+
];
|
|
151
|
+
if (bounds.every(Number.isFinite)) {
|
|
152
|
+
minimumX = Math.min(minimumX, bounds[0]);
|
|
153
|
+
minimumY = Math.min(minimumY, bounds[1]);
|
|
154
|
+
maximumX = Math.max(maximumX, bounds[2]);
|
|
155
|
+
maximumY = Math.max(maximumY, bounds[3]);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
return Number.isFinite(minimumX) ? [minimumX, minimumY, maximumX, maximumY] : null;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
function readPrimitiveNumber(array: GeoArrowArray, index: number): number {
|
|
163
|
+
if (array.kind !== 'primitive' || !isGeoArrowValueValid(array.validity, index)) return Number.NaN;
|
|
164
|
+
const valueIndex = (array.offset || 0) + index * (array.stride || 1);
|
|
165
|
+
return Number(array.values[valueIndex]);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/** Maps every coordinate into newly allocated physical buffers while preserving column semantics. */
|
|
169
|
+
export function mapGeoArrowCoordinates(
|
|
170
|
+
column: GeoArrowColumn,
|
|
171
|
+
mapper: GeoArrowCoordinateMapper,
|
|
172
|
+
options: MapGeoArrowCoordinatesOptions = {},
|
|
173
|
+
sourceDimension?: GeoArrowDimension
|
|
174
|
+
): GeoArrowColumn {
|
|
175
|
+
assertGeoArrowResourceLimits(column, options.limits);
|
|
176
|
+
if (column.encoding === 'geoarrow.wkb' || column.encoding === 'geoarrow.wkt') {
|
|
177
|
+
throw new Error('Coordinate mapping requires native GeoArrow storage');
|
|
178
|
+
}
|
|
179
|
+
const dimension = options.dimension || column.dimension;
|
|
180
|
+
const layout = options.coordinateLayout || column.coordinateLayout || 'interleaved';
|
|
181
|
+
let rowOffset = 0;
|
|
182
|
+
const chunks = column.chunks.map(chunk => {
|
|
183
|
+
const mapped = mapArrayCoordinates(
|
|
184
|
+
chunk,
|
|
185
|
+
column.encoding,
|
|
186
|
+
rowOffset,
|
|
187
|
+
dimension,
|
|
188
|
+
layout,
|
|
189
|
+
mapper,
|
|
190
|
+
options.coordinateType || 'preserve',
|
|
191
|
+
options.dimension !== undefined,
|
|
192
|
+
options.coordinateLayout !== undefined,
|
|
193
|
+
sourceDimension
|
|
194
|
+
);
|
|
195
|
+
rowOffset += chunk.length;
|
|
196
|
+
return mapped;
|
|
197
|
+
});
|
|
198
|
+
return {...column, dimension, coordinateLayout: layout, chunks};
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Maps coordinates and copies the result into caller-provided destination buffers.
|
|
203
|
+
*
|
|
204
|
+
* The destination must have the same physical topology as the mapped result. Topology, validity,
|
|
205
|
+
* offsets, and metadata in the destination are never replaced.
|
|
206
|
+
*/
|
|
207
|
+
export function mapGeoArrowCoordinatesInto(
|
|
208
|
+
target: GeoArrowColumn,
|
|
209
|
+
source: GeoArrowColumn,
|
|
210
|
+
mapper: GeoArrowCoordinateMapper,
|
|
211
|
+
options: Omit<MapGeoArrowCoordinatesOptions, 'coordinateLayout'> = {}
|
|
212
|
+
): GeoArrowColumn {
|
|
213
|
+
const mapped = mapGeoArrowCoordinates(source, mapper, {
|
|
214
|
+
...options,
|
|
215
|
+
coordinateLayout: target.coordinateLayout || undefined
|
|
216
|
+
});
|
|
217
|
+
const sourceLeaves = collectCoordinateLeaves(mapped);
|
|
218
|
+
const targetLeaves = collectCoordinateLeaves(target);
|
|
219
|
+
if (sourceLeaves.length !== targetLeaves.length) {
|
|
220
|
+
throw new Error('GeoArrow destination has different coordinate topology');
|
|
221
|
+
}
|
|
222
|
+
for (let index = 0; index < sourceLeaves.length; index++) {
|
|
223
|
+
const sourceLeaf = sourceLeaves[index];
|
|
224
|
+
const targetLeaf = targetLeaves[index];
|
|
225
|
+
if (sourceLeaf.length !== targetLeaf.length) {
|
|
226
|
+
throw new Error('GeoArrow destination coordinate buffer has a different length');
|
|
227
|
+
}
|
|
228
|
+
targetLeaf.set(sourceLeaf as never);
|
|
229
|
+
}
|
|
230
|
+
return target;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/** Converts separated native coordinates to interleaved tuples. Identity is returned unchanged. */
|
|
234
|
+
export function interleaveGeoArrowCoordinates(column: GeoArrowColumn): GeoArrowColumn {
|
|
235
|
+
if (column.coordinateLayout === 'interleaved') return column;
|
|
236
|
+
if (!column.coordinateLayout) return column;
|
|
237
|
+
return mapGeoArrowCoordinates(column, coordinate => coordinate, {
|
|
238
|
+
coordinateLayout: 'interleaved'
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/** Normalizes dense-union children by ascending type ID without changing dispatch buffers. */
|
|
243
|
+
export function normalizeGeoArrowUnion(column: GeoArrowColumn): GeoArrowColumn {
|
|
244
|
+
if (column.encoding !== 'geoarrow.geometry') return column;
|
|
245
|
+
let changed = false;
|
|
246
|
+
const chunks = column.chunks.map(chunk => {
|
|
247
|
+
if (chunk.kind !== 'dense-union') return chunk;
|
|
248
|
+
const children = [...chunk.children].sort((left, right) => left.typeId - right.typeId);
|
|
249
|
+
changed ||= children.some((child, index) => child !== chunk.children[index]);
|
|
250
|
+
return children.every((child, index) => child === chunk.children[index])
|
|
251
|
+
? chunk
|
|
252
|
+
: {...chunk, children};
|
|
253
|
+
});
|
|
254
|
+
return changed ? {...column, chunks} : column;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
/** Converts between concrete/mixed encodings, dimensions, and coordinate layouts. */
|
|
258
|
+
export function convertGeoArrowColumn(
|
|
259
|
+
column: GeoArrowColumn,
|
|
260
|
+
options: ConvertGeoArrowColumnOptions = {}
|
|
261
|
+
): GeoArrowColumn {
|
|
262
|
+
const encoding =
|
|
263
|
+
options.encoding === 'native' || !options.encoding ? column.encoding : options.encoding;
|
|
264
|
+
const dimension = options.dimension || column.dimension;
|
|
265
|
+
const coordinateLayout =
|
|
266
|
+
options.coordinateLayout === 'preserve' || !options.coordinateLayout
|
|
267
|
+
? column.coordinateLayout
|
|
268
|
+
: options.coordinateLayout;
|
|
269
|
+
const requestedOffsetType = options.offsetType || 'preserve';
|
|
270
|
+
const currentOffsetType = getColumnOffsetType(column);
|
|
271
|
+
if (
|
|
272
|
+
encoding === column.encoding &&
|
|
273
|
+
dimension === column.dimension &&
|
|
274
|
+
coordinateLayout === column.coordinateLayout &&
|
|
275
|
+
(requestedOffsetType === 'preserve' || requestedOffsetType === currentOffsetType) &&
|
|
276
|
+
(!options.coordinateType || options.coordinateType === 'preserve')
|
|
277
|
+
) {
|
|
278
|
+
return column;
|
|
279
|
+
}
|
|
280
|
+
if (encoding === 'geoarrow.wkb' || encoding === 'geoarrow.wkt') {
|
|
281
|
+
throw new Error('Use encodeGeoArrowWKB or encodeGeoArrowWKT for serialized output');
|
|
282
|
+
}
|
|
283
|
+
assertGeoArrowResourceLimits(column, options.limits);
|
|
284
|
+
const needsCoordinateMap =
|
|
285
|
+
dimension !== column.dimension ||
|
|
286
|
+
coordinateLayout !== column.coordinateLayout ||
|
|
287
|
+
(options.coordinateType && options.coordinateType !== 'preserve');
|
|
288
|
+
const mapped = needsCoordinateMap
|
|
289
|
+
? mapGeoArrowCoordinates(
|
|
290
|
+
column,
|
|
291
|
+
coordinate => coordinate,
|
|
292
|
+
{
|
|
293
|
+
dimension,
|
|
294
|
+
coordinateLayout: coordinateLayout || undefined,
|
|
295
|
+
coordinateType: options.coordinateType,
|
|
296
|
+
limits: options.limits
|
|
297
|
+
},
|
|
298
|
+
column.dimension
|
|
299
|
+
)
|
|
300
|
+
: column;
|
|
301
|
+
const offsetConverted =
|
|
302
|
+
requestedOffsetType === 'preserve'
|
|
303
|
+
? mapped
|
|
304
|
+
: {
|
|
305
|
+
...mapped,
|
|
306
|
+
chunks: mapped.chunks.map(chunk => convertArrayOffsets(chunk, requestedOffsetType))
|
|
307
|
+
};
|
|
308
|
+
if (encoding === column.encoding) return offsetConverted;
|
|
309
|
+
if (encoding === 'geoarrow.geometry') return promoteToDenseUnion(offsetConverted);
|
|
310
|
+
const promoted = promoteSingleFamily(offsetConverted, encoding, requestedOffsetType);
|
|
311
|
+
if (promoted) return promoted;
|
|
312
|
+
if (column.encoding === 'geoarrow.geometry') return demoteDenseUnion(offsetConverted, encoding);
|
|
313
|
+
throw new Error(`Rows cannot be represented as ${encoding}`);
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/** Wraps a concrete family in one list level without copying its coordinate/topology buffers. */
|
|
317
|
+
function promoteSingleFamily(
|
|
318
|
+
column: GeoArrowColumn,
|
|
319
|
+
encoding: GeoArrowEncoding,
|
|
320
|
+
offsetType: ConvertGeoArrowColumnOptions['offsetType']
|
|
321
|
+
): GeoArrowColumn | null {
|
|
322
|
+
const sourceEncoding = column.encoding;
|
|
323
|
+
const validPair =
|
|
324
|
+
(sourceEncoding === 'geoarrow.point' && encoding === 'geoarrow.multipoint') ||
|
|
325
|
+
(sourceEncoding === 'geoarrow.linestring' && encoding === 'geoarrow.multilinestring') ||
|
|
326
|
+
(sourceEncoding === 'geoarrow.polygon' && encoding === 'geoarrow.multipolygon');
|
|
327
|
+
if (!validPair) return null;
|
|
328
|
+
const chunks = column.chunks.map(chunk => {
|
|
329
|
+
const OffsetArray =
|
|
330
|
+
offsetType === 'int64' || (offsetType === 'preserve' && findOffsetType(chunk) === 'int64')
|
|
331
|
+
? BigInt64Array
|
|
332
|
+
: Int32Array;
|
|
333
|
+
const offsets = new OffsetArray(chunk.length + 1);
|
|
334
|
+
for (let index = 0; index <= chunk.length; index++) {
|
|
335
|
+
if (offsets instanceof BigInt64Array) offsets[index] = BigInt(index);
|
|
336
|
+
else offsets[index] = index;
|
|
337
|
+
}
|
|
338
|
+
return {
|
|
339
|
+
kind: 'list' as const,
|
|
340
|
+
length: chunk.length,
|
|
341
|
+
offsets,
|
|
342
|
+
child: chunk,
|
|
343
|
+
validity: chunk.validity
|
|
344
|
+
};
|
|
345
|
+
});
|
|
346
|
+
return {...column, encoding, chunks};
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
function resizeCoordinate(
|
|
350
|
+
coordinate: readonly number[],
|
|
351
|
+
sourceDimension: GeoArrowDimension,
|
|
352
|
+
targetDimension: GeoArrowDimension
|
|
353
|
+
): number[] {
|
|
354
|
+
const sourceNames = getDimensionNames(sourceDimension);
|
|
355
|
+
return getDimensionNames(targetDimension).map(name => {
|
|
356
|
+
const sourceIndex = sourceNames.indexOf(name);
|
|
357
|
+
return sourceIndex >= 0 ? (coordinate[sourceIndex] ?? 0) : 0;
|
|
358
|
+
});
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
/** Rewinds polygon rings without changing non-polygon rows. */
|
|
362
|
+
export function rewindGeoArrow(
|
|
363
|
+
column: GeoArrowColumn,
|
|
364
|
+
options: RewindGeoArrowOptions = {}
|
|
365
|
+
): GeoArrowColumn {
|
|
366
|
+
assertGeoArrowResourceLimits(column, options.limits);
|
|
367
|
+
if (column.encoding === 'geoarrow.wkb' || column.encoding === 'geoarrow.wkt') {
|
|
368
|
+
throw new Error('Rewinding requires native GeoArrow storage');
|
|
369
|
+
}
|
|
370
|
+
const outerClockwise = (options.outer || 'counter-clockwise') === 'clockwise';
|
|
371
|
+
let changed = false;
|
|
372
|
+
const chunks = column.chunks.map(chunk => {
|
|
373
|
+
const clone = mapArrayCoordinates(
|
|
374
|
+
chunk,
|
|
375
|
+
column.encoding,
|
|
376
|
+
0,
|
|
377
|
+
column.dimension,
|
|
378
|
+
column.coordinateLayout || 'interleaved',
|
|
379
|
+
coordinate => coordinate,
|
|
380
|
+
'preserve'
|
|
381
|
+
);
|
|
382
|
+
changed ||= rewindArrayRings(clone, column.encoding, outerClockwise);
|
|
383
|
+
return clone;
|
|
384
|
+
});
|
|
385
|
+
return changed ? {...column, chunks} : column;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
/** Throws when a column exceeds configured work or output limits. */
|
|
389
|
+
export function assertGeoArrowResourceLimits(
|
|
390
|
+
column: GeoArrowColumn,
|
|
391
|
+
options: GeoArrowResourceLimitOptions = {}
|
|
392
|
+
): void {
|
|
393
|
+
const rows = getGeoArrowRowCount(column);
|
|
394
|
+
if (rows > (options.maximumRows ?? Number.POSITIVE_INFINITY)) {
|
|
395
|
+
throw new Error(`GeoArrow row count ${rows} exceeds maximumRows`);
|
|
396
|
+
}
|
|
397
|
+
if (column.chunks.length > (options.maximumChunks ?? Number.POSITIVE_INFINITY)) {
|
|
398
|
+
throw new Error(`GeoArrow chunk count ${column.chunks.length} exceeds maximumChunks`);
|
|
399
|
+
}
|
|
400
|
+
const coordinates = getGeoArrowVertexCount(column);
|
|
401
|
+
if (coordinates > (options.maximumCoordinates ?? Number.POSITIVE_INFINITY)) {
|
|
402
|
+
throw new Error(`GeoArrow coordinate count ${coordinates} exceeds maximumCoordinates`);
|
|
403
|
+
}
|
|
404
|
+
if (options.maximumNestingDepth !== undefined) {
|
|
405
|
+
const depth = Math.max(0, ...column.chunks.map(getArrayDepth));
|
|
406
|
+
if (depth > options.maximumNestingDepth) {
|
|
407
|
+
throw new Error(`GeoArrow nesting depth ${depth} exceeds maximumNestingDepth`);
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
if (options.maximumOutputBytes !== undefined) {
|
|
411
|
+
const estimatedBytes = coordinates * getGeoArrowDimensionSize(column.dimension) * 8;
|
|
412
|
+
if (estimatedBytes > options.maximumOutputBytes) {
|
|
413
|
+
throw new Error(`GeoArrow estimated output ${estimatedBytes} exceeds maximumOutputBytes`);
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
/** Directly clones a physical array while rewriting only coordinate leaves. */
|
|
419
|
+
function mapArrayCoordinates(
|
|
420
|
+
array: GeoArrowArray,
|
|
421
|
+
encoding: GeoArrowEncoding,
|
|
422
|
+
rowOffset: number,
|
|
423
|
+
targetDimension: GeoArrowDimension,
|
|
424
|
+
targetLayout: GeoArrowCoordinateLayout,
|
|
425
|
+
mapper: GeoArrowCoordinateMapper,
|
|
426
|
+
coordinateType: 'preserve' | 'float32' | 'float64',
|
|
427
|
+
forceDimension = false,
|
|
428
|
+
forceLayout = false,
|
|
429
|
+
sourceDimension?: GeoArrowDimension,
|
|
430
|
+
rowIndicesOverride?: readonly number[]
|
|
431
|
+
): GeoArrowArray {
|
|
432
|
+
if (encoding === 'geoarrow.geometry' && array.kind === 'dense-union') {
|
|
433
|
+
const childRowIndices = collectUnionRowIndices(array, rowOffset);
|
|
434
|
+
return {
|
|
435
|
+
...array,
|
|
436
|
+
children: array.children.map((child, childIndex) => {
|
|
437
|
+
const childEncoding = child.encoding || getEncodingFromChildName(child.name);
|
|
438
|
+
const childDimension = forceDimension
|
|
439
|
+
? targetDimension
|
|
440
|
+
: child.dimension || targetDimension;
|
|
441
|
+
const childLayout = forceLayout ? targetLayout : child.coordinateLayout || targetLayout;
|
|
442
|
+
return {
|
|
443
|
+
...child,
|
|
444
|
+
data: mapArrayCoordinates(
|
|
445
|
+
child.data,
|
|
446
|
+
childEncoding,
|
|
447
|
+
rowOffset,
|
|
448
|
+
childDimension,
|
|
449
|
+
childLayout,
|
|
450
|
+
mapper,
|
|
451
|
+
coordinateType,
|
|
452
|
+
forceDimension,
|
|
453
|
+
forceLayout,
|
|
454
|
+
childDimension,
|
|
455
|
+
childRowIndices[childIndex]
|
|
456
|
+
),
|
|
457
|
+
dimension: childDimension,
|
|
458
|
+
coordinateLayout: childLayout,
|
|
459
|
+
encoding: childEncoding
|
|
460
|
+
};
|
|
461
|
+
})
|
|
462
|
+
};
|
|
463
|
+
}
|
|
464
|
+
if (encoding === 'geoarrow.geometrycollection' && array.kind === 'list') {
|
|
465
|
+
return {
|
|
466
|
+
...array,
|
|
467
|
+
child: mapArrayCoordinates(
|
|
468
|
+
array.child,
|
|
469
|
+
'geoarrow.geometry',
|
|
470
|
+
rowOffset,
|
|
471
|
+
targetDimension,
|
|
472
|
+
targetLayout,
|
|
473
|
+
mapper,
|
|
474
|
+
coordinateType,
|
|
475
|
+
forceDimension,
|
|
476
|
+
forceLayout,
|
|
477
|
+
sourceDimension,
|
|
478
|
+
rowIndicesOverride
|
|
479
|
+
)
|
|
480
|
+
};
|
|
481
|
+
}
|
|
482
|
+
const depth = getEncodingDepth(encoding);
|
|
483
|
+
const rowIndices = rowIndicesOverride || collectLeafRowIndices(array, depth, rowOffset);
|
|
484
|
+
return mapNestedArray(
|
|
485
|
+
array,
|
|
486
|
+
depth,
|
|
487
|
+
rowOffset,
|
|
488
|
+
targetDimension,
|
|
489
|
+
targetLayout,
|
|
490
|
+
mapper,
|
|
491
|
+
coordinateType,
|
|
492
|
+
rowIndices,
|
|
493
|
+
sourceDimension
|
|
494
|
+
);
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
function mapNestedArray(
|
|
498
|
+
array: GeoArrowArray,
|
|
499
|
+
depth: number,
|
|
500
|
+
rowOffset: number,
|
|
501
|
+
targetDimension: GeoArrowDimension,
|
|
502
|
+
targetLayout: GeoArrowCoordinateLayout,
|
|
503
|
+
mapper: GeoArrowCoordinateMapper,
|
|
504
|
+
coordinateType: 'preserve' | 'float32' | 'float64',
|
|
505
|
+
rowIndices?: readonly number[],
|
|
506
|
+
sourceDimension?: GeoArrowDimension
|
|
507
|
+
): GeoArrowArray {
|
|
508
|
+
if (depth === 0) {
|
|
509
|
+
return mapCoordinateLeaf(
|
|
510
|
+
array,
|
|
511
|
+
rowOffset,
|
|
512
|
+
targetDimension,
|
|
513
|
+
targetLayout,
|
|
514
|
+
mapper,
|
|
515
|
+
coordinateType,
|
|
516
|
+
rowIndices,
|
|
517
|
+
sourceDimension
|
|
518
|
+
);
|
|
519
|
+
}
|
|
520
|
+
if (array.kind !== 'list') return array;
|
|
521
|
+
return {
|
|
522
|
+
...array,
|
|
523
|
+
child: mapNestedArray(
|
|
524
|
+
array.child,
|
|
525
|
+
depth - 1,
|
|
526
|
+
rowOffset,
|
|
527
|
+
targetDimension,
|
|
528
|
+
targetLayout,
|
|
529
|
+
mapper,
|
|
530
|
+
coordinateType,
|
|
531
|
+
rowIndices,
|
|
532
|
+
sourceDimension
|
|
533
|
+
)
|
|
534
|
+
};
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
function mapCoordinateLeaf(
|
|
538
|
+
array: GeoArrowArray,
|
|
539
|
+
rowOffset: number,
|
|
540
|
+
targetDimension: GeoArrowDimension,
|
|
541
|
+
targetLayout: GeoArrowCoordinateLayout,
|
|
542
|
+
mapper: GeoArrowCoordinateMapper,
|
|
543
|
+
coordinateType: 'preserve' | 'float32' | 'float64',
|
|
544
|
+
rowIndices?: readonly number[],
|
|
545
|
+
sourceDimension?: GeoArrowDimension
|
|
546
|
+
): GeoArrowArray {
|
|
547
|
+
const count = array.length;
|
|
548
|
+
const targetSize = getGeoArrowDimensionSize(targetDimension);
|
|
549
|
+
const sourceValues = new Array<number[]>(count);
|
|
550
|
+
for (let index = 0; index < count; index++) {
|
|
551
|
+
const coordinate = readCoordinateAt(array, index);
|
|
552
|
+
const mapped = coordinate
|
|
553
|
+
? mapper(
|
|
554
|
+
sourceDimension
|
|
555
|
+
? resizeCoordinate(coordinate, sourceDimension, targetDimension)
|
|
556
|
+
: coordinate,
|
|
557
|
+
rowIndices?.[index] ?? rowOffset
|
|
558
|
+
)
|
|
559
|
+
: new Array(targetSize).fill(0);
|
|
560
|
+
if (mapped.length !== targetSize) {
|
|
561
|
+
throw new Error(`Coordinate mapper returned ${mapped.length} values; expected ${targetSize}`);
|
|
562
|
+
}
|
|
563
|
+
sourceValues[index] = [...mapped];
|
|
564
|
+
}
|
|
565
|
+
const FloatArray = resolveCoordinateConstructor(array, coordinateType);
|
|
566
|
+
return makeCoordinateLeaf(
|
|
567
|
+
sourceValues,
|
|
568
|
+
targetDimension,
|
|
569
|
+
targetLayout,
|
|
570
|
+
FloatArray,
|
|
571
|
+
array.validity
|
|
572
|
+
);
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
/** Fills one row-index entry per coordinate in a concrete nested array. */
|
|
576
|
+
function collectLeafRowIndices(array: GeoArrowArray, depth: number, rowOffset: number): number[] {
|
|
577
|
+
const output = new Array<number>(getLeafLength(array, depth)).fill(rowOffset);
|
|
578
|
+
for (let rowIndex = 0; rowIndex < array.length; rowIndex++) {
|
|
579
|
+
if (isGeoArrowValueValid(array.validity, rowIndex)) {
|
|
580
|
+
assignNestedRowIndices(array, rowIndex, depth, rowOffset + rowIndex, output);
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
return output;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
function assignNestedRowIndices(
|
|
587
|
+
array: GeoArrowArray,
|
|
588
|
+
index: number,
|
|
589
|
+
depth: number,
|
|
590
|
+
rowIndex: number,
|
|
591
|
+
output: number[]
|
|
592
|
+
): void {
|
|
593
|
+
if (depth === 0) {
|
|
594
|
+
if (index >= 0 && index < output.length) output[index] = rowIndex;
|
|
595
|
+
return;
|
|
596
|
+
}
|
|
597
|
+
if (array.kind !== 'list') return;
|
|
598
|
+
const [first, last] = getListRange(array, index);
|
|
599
|
+
for (let childIndex = first; childIndex < last; childIndex++) {
|
|
600
|
+
assignNestedRowIndices(array.child, childIndex, depth - 1, rowIndex, output);
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
function collectUnionRowIndices(union: GeoArrowArray, rowOffset: number): number[][] {
|
|
605
|
+
if (union.kind !== 'dense-union') return [];
|
|
606
|
+
const output = union.children.map(child => {
|
|
607
|
+
const encoding = child.encoding || getEncodingFromChildName(child.name);
|
|
608
|
+
return new Array<number>(getLeafLength(child.data, getEncodingDepth(encoding))).fill(rowOffset);
|
|
609
|
+
});
|
|
610
|
+
for (let rowIndex = 0; rowIndex < union.length; rowIndex++) {
|
|
611
|
+
if (!isGeoArrowValueValid(union.validity, rowIndex)) continue;
|
|
612
|
+
const physical = (union.offset || 0) + rowIndex;
|
|
613
|
+
const childIndex = union.children.findIndex(child => child.typeId === union.typeIds[physical]);
|
|
614
|
+
if (childIndex < 0) continue;
|
|
615
|
+
const child = union.children[childIndex];
|
|
616
|
+
assignUnionRowIndices(
|
|
617
|
+
child.data,
|
|
618
|
+
child.encoding || getEncodingFromChildName(child.name),
|
|
619
|
+
union.valueOffsets[physical],
|
|
620
|
+
rowOffset + rowIndex,
|
|
621
|
+
output[childIndex]
|
|
622
|
+
);
|
|
623
|
+
}
|
|
624
|
+
return output;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
function assignUnionRowIndices(
|
|
628
|
+
array: GeoArrowArray,
|
|
629
|
+
encoding: GeoArrowEncoding,
|
|
630
|
+
index: number,
|
|
631
|
+
rowIndex: number,
|
|
632
|
+
output: number[]
|
|
633
|
+
): void {
|
|
634
|
+
if (encoding === 'geoarrow.geometry' && array.kind === 'dense-union') {
|
|
635
|
+
const physical = (array.offset || 0) + index;
|
|
636
|
+
const childIndex = array.children.findIndex(child => child.typeId === array.typeIds[physical]);
|
|
637
|
+
if (childIndex >= 0) {
|
|
638
|
+
const child = array.children[childIndex];
|
|
639
|
+
assignUnionRowIndices(
|
|
640
|
+
child.data,
|
|
641
|
+
child.encoding || getEncodingFromChildName(child.name),
|
|
642
|
+
array.valueOffsets[physical],
|
|
643
|
+
rowIndex,
|
|
644
|
+
output
|
|
645
|
+
);
|
|
646
|
+
}
|
|
647
|
+
return;
|
|
648
|
+
}
|
|
649
|
+
if (encoding === 'geoarrow.geometrycollection' && array.kind === 'list') {
|
|
650
|
+
const [first, last] = getListRange(array, index);
|
|
651
|
+
if (array.child.kind === 'dense-union') {
|
|
652
|
+
for (let childIndex = first; childIndex < last; childIndex++) {
|
|
653
|
+
assignUnionRowIndices(array.child, 'geoarrow.geometry', childIndex, rowIndex, output);
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
return;
|
|
657
|
+
}
|
|
658
|
+
assignNestedRowIndices(array, index, getEncodingDepth(encoding), rowIndex, output);
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
function getLeafLength(array: GeoArrowArray, depth: number): number {
|
|
662
|
+
let current = array;
|
|
663
|
+
for (let level = 0; level < depth; level++) {
|
|
664
|
+
if (current.kind !== 'list') return 0;
|
|
665
|
+
current = current.child;
|
|
666
|
+
}
|
|
667
|
+
return current.length;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
function resolveCoordinateConstructor(
|
|
671
|
+
array: GeoArrowArray,
|
|
672
|
+
coordinateType: 'preserve' | 'float32' | 'float64'
|
|
673
|
+
): Float32ArrayConstructor | Float64ArrayConstructor {
|
|
674
|
+
if (coordinateType === 'float32') return Float32Array;
|
|
675
|
+
if (coordinateType === 'float64') return Float64Array;
|
|
676
|
+
if (array.kind === 'fixed-size-list' && array.child.kind === 'primitive') {
|
|
677
|
+
return array.child.values instanceof Float32Array ? Float32Array : Float64Array;
|
|
678
|
+
}
|
|
679
|
+
if (array.kind === 'struct') {
|
|
680
|
+
const child = array.children['x'];
|
|
681
|
+
if (child?.kind === 'primitive' && child.values instanceof Float32Array) return Float32Array;
|
|
682
|
+
}
|
|
683
|
+
return Float64Array;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
function makeCoordinateLeaf(
|
|
687
|
+
coordinates: readonly (readonly number[])[],
|
|
688
|
+
dimension: GeoArrowDimension,
|
|
689
|
+
layout: GeoArrowCoordinateLayout,
|
|
690
|
+
FloatArray: Float32ArrayConstructor | Float64ArrayConstructor,
|
|
691
|
+
validity: GeoArrowArray['validity']
|
|
692
|
+
): GeoArrowArray {
|
|
693
|
+
const size = getGeoArrowDimensionSize(dimension);
|
|
694
|
+
if (layout === 'interleaved') {
|
|
695
|
+
const values = new FloatArray(coordinates.length * size);
|
|
696
|
+
for (let index = 0; index < coordinates.length; index++) {
|
|
697
|
+
values.set(coordinates[index], index * size);
|
|
698
|
+
}
|
|
699
|
+
return {
|
|
700
|
+
kind: 'fixed-size-list',
|
|
701
|
+
length: coordinates.length,
|
|
702
|
+
size,
|
|
703
|
+
child: {kind: 'primitive', length: values.length, values},
|
|
704
|
+
validity
|
|
705
|
+
};
|
|
706
|
+
}
|
|
707
|
+
const children: Record<string, GeoArrowArray> = {
|
|
708
|
+
x: {kind: 'primitive', length: coordinates.length, values: new FloatArray(coordinates.length)},
|
|
709
|
+
y: {kind: 'primitive', length: coordinates.length, values: new FloatArray(coordinates.length)}
|
|
710
|
+
};
|
|
711
|
+
const names = getDimensionNames(dimension);
|
|
712
|
+
for (let component = 2; component < names.length; component++) {
|
|
713
|
+
children[names[component]] = {
|
|
714
|
+
kind: 'primitive',
|
|
715
|
+
length: coordinates.length,
|
|
716
|
+
values: new FloatArray(coordinates.length)
|
|
717
|
+
};
|
|
718
|
+
}
|
|
719
|
+
for (let index = 0; index < coordinates.length; index++) {
|
|
720
|
+
const coordinate = coordinates[index];
|
|
721
|
+
for (let component = 0; component < names.length; component++) {
|
|
722
|
+
const child = children[names[component]];
|
|
723
|
+
if (child.kind === 'primitive') child.values[index] = coordinate[component];
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
return {kind: 'struct', length: coordinates.length, children, validity};
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
function readCoordinateAt(array: GeoArrowArray, index: number): number[] | null {
|
|
730
|
+
if (!isGeoArrowValueValid(array.validity, index)) return null;
|
|
731
|
+
if (array.kind === 'fixed-size-list') {
|
|
732
|
+
const logicalIndex = (array.offset || 0) + index;
|
|
733
|
+
if (array.child.kind !== 'primitive') return null;
|
|
734
|
+
const values: number[] = [];
|
|
735
|
+
for (let component = 0; component < array.size; component++) {
|
|
736
|
+
const scalarIndex = logicalIndex * array.size + component;
|
|
737
|
+
values.push(
|
|
738
|
+
Number(
|
|
739
|
+
array.child.values[(array.child.offset || 0) + scalarIndex * (array.child.stride || 1)]
|
|
740
|
+
)
|
|
741
|
+
);
|
|
742
|
+
}
|
|
743
|
+
return values;
|
|
744
|
+
}
|
|
745
|
+
if (array.kind === 'struct') {
|
|
746
|
+
const logicalIndex = (array.offset || 0) + index;
|
|
747
|
+
const values: number[] = [];
|
|
748
|
+
for (const name of ['x', 'y', 'z', 'm'] as const) {
|
|
749
|
+
const child = array.children[name];
|
|
750
|
+
if (child?.kind === 'primitive') {
|
|
751
|
+
values.push(Number(child.values[(child.offset || 0) + logicalIndex * (child.stride || 1)]));
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
return values.length >= 2 ? values : null;
|
|
755
|
+
}
|
|
756
|
+
return null;
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
function getDimensionNames(dimension: GeoArrowDimension): Array<'x' | 'y' | 'z' | 'm'> {
|
|
760
|
+
switch (dimension) {
|
|
761
|
+
case 'xy':
|
|
762
|
+
return ['x', 'y'];
|
|
763
|
+
case 'xyz':
|
|
764
|
+
return ['x', 'y', 'z'];
|
|
765
|
+
case 'xym':
|
|
766
|
+
return ['x', 'y', 'm'];
|
|
767
|
+
case 'xyzm':
|
|
768
|
+
return ['x', 'y', 'z', 'm'];
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
function getEncodingFromChildName(name: string): GeoArrowEncoding {
|
|
773
|
+
const normalized = name.replace(/[^a-z]/gi, '').toLowerCase();
|
|
774
|
+
const encoding = `geoarrow.${normalized}` as GeoArrowEncoding;
|
|
775
|
+
if (
|
|
776
|
+
encoding === 'geoarrow.point' ||
|
|
777
|
+
encoding === 'geoarrow.linestring' ||
|
|
778
|
+
encoding === 'geoarrow.polygon' ||
|
|
779
|
+
encoding === 'geoarrow.multipoint' ||
|
|
780
|
+
encoding === 'geoarrow.multilinestring' ||
|
|
781
|
+
encoding === 'geoarrow.multipolygon' ||
|
|
782
|
+
encoding === 'geoarrow.geometrycollection'
|
|
783
|
+
) {
|
|
784
|
+
return encoding;
|
|
785
|
+
}
|
|
786
|
+
throw new Error(`Unknown GeoArrow dense-union child ${name}`);
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
function getEncodingDepth(encoding: GeoArrowEncoding): 0 | 1 | 2 | 3 {
|
|
790
|
+
switch (encoding) {
|
|
791
|
+
case 'geoarrow.point':
|
|
792
|
+
return 0;
|
|
793
|
+
case 'geoarrow.linestring':
|
|
794
|
+
case 'geoarrow.multipoint':
|
|
795
|
+
return 1;
|
|
796
|
+
case 'geoarrow.polygon':
|
|
797
|
+
case 'geoarrow.multilinestring':
|
|
798
|
+
return 2;
|
|
799
|
+
case 'geoarrow.multipolygon':
|
|
800
|
+
return 3;
|
|
801
|
+
default:
|
|
802
|
+
return 0;
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
function promoteToDenseUnion(column: GeoArrowColumn): GeoArrowColumn {
|
|
807
|
+
if (column.encoding === 'geoarrow.geometry') return column;
|
|
808
|
+
const chunks = column.chunks.map(chunk => {
|
|
809
|
+
const typeId = getCanonicalTypeId(column.encoding, column.dimension);
|
|
810
|
+
const typeIds = new Int8Array(chunk.length);
|
|
811
|
+
typeIds.fill(typeId);
|
|
812
|
+
const valueOffsets = new Int32Array(chunk.length);
|
|
813
|
+
for (let index = 0; index < chunk.length; index++) valueOffsets[index] = index;
|
|
814
|
+
return {
|
|
815
|
+
kind: 'dense-union' as const,
|
|
816
|
+
length: chunk.length,
|
|
817
|
+
typeIds,
|
|
818
|
+
valueOffsets,
|
|
819
|
+
children: [
|
|
820
|
+
{
|
|
821
|
+
name: getGeoArrowGeometryTypeName(column.encoding),
|
|
822
|
+
typeId,
|
|
823
|
+
encoding: column.encoding,
|
|
824
|
+
dimension: column.dimension,
|
|
825
|
+
coordinateLayout: column.coordinateLayout,
|
|
826
|
+
data: chunk
|
|
827
|
+
}
|
|
828
|
+
]
|
|
829
|
+
};
|
|
830
|
+
});
|
|
831
|
+
return {...column, encoding: 'geoarrow.geometry', chunks};
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
function demoteDenseUnion(column: GeoArrowColumn, encoding: GeoArrowEncoding): GeoArrowColumn {
|
|
835
|
+
if (encoding === 'geoarrow.geometry' || encoding === 'geoarrow.geometrycollection') return column;
|
|
836
|
+
if (!isConcreteEncoding(encoding)) throw new Error(`Rows cannot be represented as ${encoding}`);
|
|
837
|
+
const builderOptions = {
|
|
838
|
+
encoding,
|
|
839
|
+
dimension: column.dimension,
|
|
840
|
+
coordinateLayout: column.coordinateLayout || 'interleaved',
|
|
841
|
+
offsetType: getColumnOffsetType(column)
|
|
842
|
+
} as const;
|
|
843
|
+
const chunks = column.chunks.map(chunk => {
|
|
844
|
+
if (chunk.kind !== 'dense-union') throw new Error('Expected dense-union storage');
|
|
845
|
+
const replay = (builder: GeoArrowBuilder): void => {
|
|
846
|
+
for (let index = 0; index < chunk.length; index++) {
|
|
847
|
+
if (!isGeoArrowValueValid(chunk.validity, index)) {
|
|
848
|
+
builder.append(null);
|
|
849
|
+
continue;
|
|
850
|
+
}
|
|
851
|
+
const physical = (chunk.offset || 0) + index;
|
|
852
|
+
const child = chunk.children.find(
|
|
853
|
+
candidate => candidate.typeId === chunk.typeIds[physical]
|
|
854
|
+
);
|
|
855
|
+
const childEncoding = child && (child.encoding || getEncodingFromChildName(child.name));
|
|
856
|
+
const childIndex = chunk.valueOffsets[physical];
|
|
857
|
+
if (!child || !childEncoding || !isGeoArrowValueValid(child.data.validity, childIndex)) {
|
|
858
|
+
builder.append(null);
|
|
859
|
+
continue;
|
|
860
|
+
}
|
|
861
|
+
if (!isConcreteEncoding(childEncoding) || !canPromoteEncoding(childEncoding, encoding)) {
|
|
862
|
+
throw new Error(`Rows cannot be represented as ${encoding}`);
|
|
863
|
+
}
|
|
864
|
+
replayPhysicalGeometryIntoBuilder(
|
|
865
|
+
builder,
|
|
866
|
+
child.data,
|
|
867
|
+
childIndex,
|
|
868
|
+
childEncoding,
|
|
869
|
+
child.dimension || column.dimension,
|
|
870
|
+
encoding
|
|
871
|
+
);
|
|
872
|
+
}
|
|
873
|
+
};
|
|
874
|
+
const measure = new GeoArrowBuilder({...builderOptions, mode: 'measure'});
|
|
875
|
+
replay(measure);
|
|
876
|
+
const write = new GeoArrowBuilder({
|
|
877
|
+
...builderOptions,
|
|
878
|
+
mode: 'write',
|
|
879
|
+
target: measure.allocateTarget()
|
|
880
|
+
});
|
|
881
|
+
replay(write);
|
|
882
|
+
return write.finish().chunks[0];
|
|
883
|
+
});
|
|
884
|
+
return {...column, encoding, coordinateLayout: builderOptions.coordinateLayout, chunks};
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
function replayPhysicalGeometryIntoBuilder(
|
|
888
|
+
builder: GeoArrowBuilder,
|
|
889
|
+
array: GeoArrowArray,
|
|
890
|
+
rowIndex: number,
|
|
891
|
+
sourceEncoding: GeoArrowBuilderEncoding,
|
|
892
|
+
sourceDimension: GeoArrowDimension,
|
|
893
|
+
targetEncoding: GeoArrowBuilderEncoding
|
|
894
|
+
): void {
|
|
895
|
+
const targetType = getGeoArrowGeometryTypeName(targetEncoding) as
|
|
896
|
+
| 'Point'
|
|
897
|
+
| 'LineString'
|
|
898
|
+
| 'Polygon'
|
|
899
|
+
| 'MultiPoint'
|
|
900
|
+
| 'MultiLineString'
|
|
901
|
+
| 'MultiPolygon';
|
|
902
|
+
builder.beginGeometry(targetType, sourceDimension);
|
|
903
|
+
if (sourceEncoding === 'geoarrow.point') {
|
|
904
|
+
writePhysicalCoordinateIntoBuilder(builder, array, rowIndex, sourceDimension);
|
|
905
|
+
} else if (sourceEncoding === 'geoarrow.linestring' || sourceEncoding === 'geoarrow.multipoint') {
|
|
906
|
+
const [first, last] = requireListRange(array, rowIndex);
|
|
907
|
+
if (targetEncoding === 'geoarrow.multilinestring') builder.beginRing(last - first);
|
|
908
|
+
const leaf = (array as import('./types').GeoArrowList).child;
|
|
909
|
+
for (let index = first; index < last; index++) {
|
|
910
|
+
writePhysicalCoordinateIntoBuilder(builder, leaf, index, sourceDimension);
|
|
911
|
+
}
|
|
912
|
+
} else if (
|
|
913
|
+
sourceEncoding === 'geoarrow.polygon' ||
|
|
914
|
+
sourceEncoding === 'geoarrow.multilinestring'
|
|
915
|
+
) {
|
|
916
|
+
const [first, last] = requireListRange(array, rowIndex);
|
|
917
|
+
if (targetEncoding === 'geoarrow.multipolygon') builder.beginPolygon();
|
|
918
|
+
const parts = (array as import('./types').GeoArrowList).child;
|
|
919
|
+
for (let partIndex = first; partIndex < last; partIndex++) {
|
|
920
|
+
const [partFirst, partLast] = requireListRange(parts, partIndex);
|
|
921
|
+
builder.beginRing(partLast - partFirst);
|
|
922
|
+
const leaf = (parts as import('./types').GeoArrowList).child;
|
|
923
|
+
for (let index = partFirst; index < partLast; index++) {
|
|
924
|
+
writePhysicalCoordinateIntoBuilder(builder, leaf, index, sourceDimension);
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
} else {
|
|
928
|
+
const [first, last] = requireListRange(array, rowIndex);
|
|
929
|
+
const polygons = (array as import('./types').GeoArrowList).child;
|
|
930
|
+
for (let polygonIndex = first; polygonIndex < last; polygonIndex++) {
|
|
931
|
+
builder.beginPolygon();
|
|
932
|
+
const [partFirst, partLast] = requireListRange(polygons, polygonIndex);
|
|
933
|
+
const parts = (polygons as import('./types').GeoArrowList).child;
|
|
934
|
+
for (let partIndex = partFirst; partIndex < partLast; partIndex++) {
|
|
935
|
+
const [ringFirst, ringLast] = requireListRange(parts, partIndex);
|
|
936
|
+
builder.beginRing(ringLast - ringFirst);
|
|
937
|
+
const leaf = (parts as import('./types').GeoArrowList).child;
|
|
938
|
+
for (let index = ringFirst; index < ringLast; index++) {
|
|
939
|
+
writePhysicalCoordinateIntoBuilder(builder, leaf, index, sourceDimension);
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
builder.endGeometry();
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
function writePhysicalCoordinateIntoBuilder(
|
|
948
|
+
builder: GeoArrowBuilder,
|
|
949
|
+
array: GeoArrowArray,
|
|
950
|
+
index: number,
|
|
951
|
+
dimension: GeoArrowDimension
|
|
952
|
+
): void {
|
|
953
|
+
if (array.kind === 'fixed-size-list' && array.child.kind === 'primitive') {
|
|
954
|
+
const logical = (array.offset || 0) + index;
|
|
955
|
+
const stride = array.child.stride || 1;
|
|
956
|
+
const scalarOffset = (array.child.offset || 0) + logical * array.size * stride;
|
|
957
|
+
const x = Number(array.child.values[scalarOffset]);
|
|
958
|
+
const y = Number(array.child.values[scalarOffset + stride]);
|
|
959
|
+
const third =
|
|
960
|
+
array.size > 2 ? Number(array.child.values[scalarOffset + 2 * stride]) : undefined;
|
|
961
|
+
const fourth =
|
|
962
|
+
array.size > 3 ? Number(array.child.values[scalarOffset + 3 * stride]) : undefined;
|
|
963
|
+
builder.writeCoordinateFromDimension(
|
|
964
|
+
x,
|
|
965
|
+
y,
|
|
966
|
+
dimension === 'xyz' || dimension === 'xyzm' ? third : undefined,
|
|
967
|
+
dimension === 'xym' ? third : fourth,
|
|
968
|
+
dimension
|
|
969
|
+
);
|
|
970
|
+
return;
|
|
971
|
+
}
|
|
972
|
+
if (array.kind === 'struct') {
|
|
973
|
+
const logical = (array.offset || 0) + index;
|
|
974
|
+
const read = (name: 'x' | 'y' | 'z' | 'm'): number | undefined => {
|
|
975
|
+
const child = array.children[name];
|
|
976
|
+
return child?.kind === 'primitive'
|
|
977
|
+
? Number(child.values[(child.offset || 0) + logical * (child.stride || 1)])
|
|
978
|
+
: undefined;
|
|
979
|
+
};
|
|
980
|
+
builder.writeCoordinateFromDimension(read('x')!, read('y')!, read('z'), read('m'), dimension);
|
|
981
|
+
return;
|
|
982
|
+
}
|
|
983
|
+
throw new Error('Invalid GeoArrow coordinate storage');
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
function requireListRange(array: GeoArrowArray, index: number): [number, number] {
|
|
987
|
+
if (array.kind !== 'list') throw new Error('Invalid GeoArrow list storage');
|
|
988
|
+
return getListRange(array, index);
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
function canPromoteEncoding(source: GeoArrowEncoding, target: GeoArrowEncoding): boolean {
|
|
992
|
+
return (
|
|
993
|
+
source === target ||
|
|
994
|
+
(source === 'geoarrow.point' && target === 'geoarrow.multipoint') ||
|
|
995
|
+
(source === 'geoarrow.linestring' && target === 'geoarrow.multilinestring') ||
|
|
996
|
+
(source === 'geoarrow.polygon' && target === 'geoarrow.multipolygon')
|
|
997
|
+
);
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
function isConcreteEncoding(encoding: GeoArrowEncoding): encoding is GeoArrowBuilderEncoding {
|
|
1001
|
+
return (
|
|
1002
|
+
encoding === 'geoarrow.point' ||
|
|
1003
|
+
encoding === 'geoarrow.linestring' ||
|
|
1004
|
+
encoding === 'geoarrow.polygon' ||
|
|
1005
|
+
encoding === 'geoarrow.multipoint' ||
|
|
1006
|
+
encoding === 'geoarrow.multilinestring' ||
|
|
1007
|
+
encoding === 'geoarrow.multipolygon'
|
|
1008
|
+
);
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
function getCanonicalTypeId(encoding: GeoArrowEncoding, dimension: GeoArrowDimension): number {
|
|
1012
|
+
const families = [
|
|
1013
|
+
'point',
|
|
1014
|
+
'linestring',
|
|
1015
|
+
'polygon',
|
|
1016
|
+
'multipoint',
|
|
1017
|
+
'multilinestring',
|
|
1018
|
+
'multipolygon',
|
|
1019
|
+
'geometrycollection'
|
|
1020
|
+
];
|
|
1021
|
+
const dimensions = ['xy', 'xyz', 'xym', 'xyzm'];
|
|
1022
|
+
const family = encoding.replace('geoarrow.', '');
|
|
1023
|
+
const familyIndex = families.indexOf(family);
|
|
1024
|
+
const dimensionIndex = dimensions.indexOf(dimension);
|
|
1025
|
+
return familyIndex < 0 || dimensionIndex < 0 ? 1 : familyIndex * 4 + dimensionIndex + 1;
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
function getColumnOffsetType(column: GeoArrowColumn): 'int32' | 'int64' {
|
|
1029
|
+
for (const chunk of column.chunks) {
|
|
1030
|
+
const found = findOffsetType(chunk);
|
|
1031
|
+
if (found) return found;
|
|
1032
|
+
}
|
|
1033
|
+
return 'int32';
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
function findOffsetType(array: GeoArrowArray): 'int32' | 'int64' | null {
|
|
1037
|
+
switch (array.kind) {
|
|
1038
|
+
case 'list':
|
|
1039
|
+
case 'serialized':
|
|
1040
|
+
return array.offsets instanceof BigInt64Array ? 'int64' : 'int32';
|
|
1041
|
+
case 'fixed-size-list':
|
|
1042
|
+
return findOffsetType(array.child);
|
|
1043
|
+
case 'struct': {
|
|
1044
|
+
for (const child of Object.values(array.children)) {
|
|
1045
|
+
const found = findOffsetType(child);
|
|
1046
|
+
if (found) return found;
|
|
1047
|
+
}
|
|
1048
|
+
return null;
|
|
1049
|
+
}
|
|
1050
|
+
case 'dense-union':
|
|
1051
|
+
for (const child of array.children) {
|
|
1052
|
+
const found = findOffsetType(child.data);
|
|
1053
|
+
if (found) return found;
|
|
1054
|
+
}
|
|
1055
|
+
return null;
|
|
1056
|
+
default:
|
|
1057
|
+
return null;
|
|
1058
|
+
}
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
function convertArrayOffsets(array: GeoArrowArray, offsetType: 'int32' | 'int64'): GeoArrowArray {
|
|
1062
|
+
const toOffsets = (
|
|
1063
|
+
offsets: Int32Array | BigInt64Array,
|
|
1064
|
+
offsetBase: number | bigint | undefined
|
|
1065
|
+
): {offsets: Int32Array | BigInt64Array; offsetBase?: number | bigint} => {
|
|
1066
|
+
if (offsetType === 'int64') {
|
|
1067
|
+
const result = new BigInt64Array(offsets.length);
|
|
1068
|
+
for (let index = 0; index < offsets.length; index++) result[index] = BigInt(offsets[index]);
|
|
1069
|
+
return {offsets: result, ...(offsetBase === undefined ? {} : {offsetBase})};
|
|
1070
|
+
}
|
|
1071
|
+
const result = new Int32Array(offsets.length);
|
|
1072
|
+
const base = BigInt(offsetBase ?? 0);
|
|
1073
|
+
for (let index = 0; index < offsets.length; index++) {
|
|
1074
|
+
const value = BigInt(offsets[index]) - base;
|
|
1075
|
+
if (value < -2147483648n || value > 2147483647n) {
|
|
1076
|
+
throw new Error('GeoArrow offset cannot be represented as Int32');
|
|
1077
|
+
}
|
|
1078
|
+
result[index] = Number(value);
|
|
1079
|
+
}
|
|
1080
|
+
return {offsets: result, offsetBase: 0};
|
|
1081
|
+
};
|
|
1082
|
+
switch (array.kind) {
|
|
1083
|
+
case 'list':
|
|
1084
|
+
if (array.offsets instanceof (offsetType === 'int64' ? BigInt64Array : Int32Array)) {
|
|
1085
|
+
return {...array, child: convertArrayOffsets(array.child, offsetType)};
|
|
1086
|
+
}
|
|
1087
|
+
return {
|
|
1088
|
+
...array,
|
|
1089
|
+
...toOffsets(array.offsets, array.offsetBase),
|
|
1090
|
+
child: convertArrayOffsets(array.child, offsetType)
|
|
1091
|
+
} as GeoArrowArray;
|
|
1092
|
+
case 'serialized':
|
|
1093
|
+
if (array.offsets instanceof (offsetType === 'int64' ? BigInt64Array : Int32Array))
|
|
1094
|
+
return array;
|
|
1095
|
+
return {...array, ...toOffsets(array.offsets, array.offsetBase)} as GeoArrowArray;
|
|
1096
|
+
case 'fixed-size-list':
|
|
1097
|
+
return {...array, child: convertArrayOffsets(array.child, offsetType)};
|
|
1098
|
+
case 'struct':
|
|
1099
|
+
return {
|
|
1100
|
+
...array,
|
|
1101
|
+
children: Object.fromEntries(
|
|
1102
|
+
Object.entries(array.children).map(([name, child]) => [
|
|
1103
|
+
name,
|
|
1104
|
+
convertArrayOffsets(child, offsetType)
|
|
1105
|
+
])
|
|
1106
|
+
)
|
|
1107
|
+
};
|
|
1108
|
+
case 'dense-union':
|
|
1109
|
+
return {
|
|
1110
|
+
...array,
|
|
1111
|
+
children: array.children.map(child => ({
|
|
1112
|
+
...child,
|
|
1113
|
+
data: convertArrayOffsets(child.data, offsetType)
|
|
1114
|
+
}))
|
|
1115
|
+
};
|
|
1116
|
+
default:
|
|
1117
|
+
return array;
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
function getGeoArrowGeometryTypeName(encoding: GeoArrowEncoding): string {
|
|
1122
|
+
return getGeoArrowGeometryType(encoding) || encoding.replace('geoarrow.', '');
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
function rewindArrayRings(
|
|
1126
|
+
array: GeoArrowArray,
|
|
1127
|
+
encoding: GeoArrowEncoding,
|
|
1128
|
+
outerClockwise: boolean
|
|
1129
|
+
): boolean {
|
|
1130
|
+
if (encoding === 'geoarrow.geometry' && array.kind === 'dense-union') {
|
|
1131
|
+
let changed = false;
|
|
1132
|
+
for (const child of array.children) {
|
|
1133
|
+
if (
|
|
1134
|
+
rewindArrayRings(
|
|
1135
|
+
child.data,
|
|
1136
|
+
child.encoding || getEncodingFromChildName(child.name),
|
|
1137
|
+
outerClockwise
|
|
1138
|
+
)
|
|
1139
|
+
)
|
|
1140
|
+
changed = true;
|
|
1141
|
+
}
|
|
1142
|
+
return changed;
|
|
1143
|
+
}
|
|
1144
|
+
if (encoding === 'geoarrow.geometrycollection' && array.kind === 'list') {
|
|
1145
|
+
if (array.child.kind !== 'dense-union') return false;
|
|
1146
|
+
let changed = false;
|
|
1147
|
+
for (const child of array.child.children) {
|
|
1148
|
+
if (
|
|
1149
|
+
rewindArrayRings(
|
|
1150
|
+
child.data,
|
|
1151
|
+
child.encoding || getEncodingFromChildName(child.name),
|
|
1152
|
+
outerClockwise
|
|
1153
|
+
)
|
|
1154
|
+
)
|
|
1155
|
+
changed = true;
|
|
1156
|
+
}
|
|
1157
|
+
return changed;
|
|
1158
|
+
}
|
|
1159
|
+
if (encoding !== 'geoarrow.polygon' && encoding !== 'geoarrow.multipolygon') return false;
|
|
1160
|
+
if (array.kind !== 'list' || array.child.kind !== 'list') return false;
|
|
1161
|
+
let changed = false;
|
|
1162
|
+
for (let rowIndex = 0; rowIndex < array.length; rowIndex++) {
|
|
1163
|
+
if (!isGeoArrowValueValid(array.validity, rowIndex)) continue;
|
|
1164
|
+
const [, rowEnd] = getListRange(array, rowIndex);
|
|
1165
|
+
const rowStart = getListRange(array, rowIndex)[0];
|
|
1166
|
+
if (encoding === 'geoarrow.polygon') {
|
|
1167
|
+
const rings = array.child;
|
|
1168
|
+
if (rewindRingGroup(rings, rowStart, rowEnd, outerClockwise)) changed = true;
|
|
1169
|
+
} else {
|
|
1170
|
+
const polygons = array.child;
|
|
1171
|
+
for (let polygonIndex = rowStart; polygonIndex < rowEnd; polygonIndex++) {
|
|
1172
|
+
const [ringStart, ringEnd] = getListRange(polygons, polygonIndex);
|
|
1173
|
+
if (rewindRingGroup(polygons.child, ringStart, ringEnd, outerClockwise)) changed = true;
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
}
|
|
1177
|
+
return changed;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
function rewindRingGroup(
|
|
1181
|
+
rings: GeoArrowArray,
|
|
1182
|
+
firstRing: number,
|
|
1183
|
+
lastRing: number,
|
|
1184
|
+
outerClockwise: boolean
|
|
1185
|
+
): boolean {
|
|
1186
|
+
if (rings.kind !== 'list') return false;
|
|
1187
|
+
const leaf = rings.child;
|
|
1188
|
+
if (leaf.kind !== 'fixed-size-list' && leaf.kind !== 'struct') return false;
|
|
1189
|
+
let changed = false;
|
|
1190
|
+
for (let ringIndex = firstRing; ringIndex < lastRing; ringIndex++) {
|
|
1191
|
+
const [first, last] = getListRange(rings, ringIndex);
|
|
1192
|
+
const area = getRingArea(leaf, first, last);
|
|
1193
|
+
if (!Number.isFinite(area) || area === 0) continue;
|
|
1194
|
+
const shouldClockwise = ringIndex === firstRing ? outerClockwise : !outerClockwise;
|
|
1195
|
+
if (area < 0 !== shouldClockwise) {
|
|
1196
|
+
reverseCoordinateRange(leaf, first, last);
|
|
1197
|
+
changed = true;
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
return changed;
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
function getRingArea(leaf: GeoArrowArray, first: number, last: number): number {
|
|
1204
|
+
let area = 0;
|
|
1205
|
+
for (let index = first; index < last; index++) {
|
|
1206
|
+
const current = readCoordinateAt(leaf, index);
|
|
1207
|
+
const next = readCoordinateAt(leaf, index + 1 < last ? index + 1 : first);
|
|
1208
|
+
if (!current || !next) return Number.NaN;
|
|
1209
|
+
area += current[0] * next[1] - next[0] * current[1];
|
|
1210
|
+
}
|
|
1211
|
+
return area / 2;
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
function reverseCoordinateRange(leaf: GeoArrowArray, first: number, last: number): void {
|
|
1215
|
+
const values: number[][] = [];
|
|
1216
|
+
for (let index = first; index < last; index++) values.push(readCoordinateAt(leaf, index)!);
|
|
1217
|
+
values.reverse();
|
|
1218
|
+
for (let index = first; index < last; index++)
|
|
1219
|
+
writeCoordinateAt(leaf, index, values[index - first]);
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
function writeCoordinateAt(
|
|
1223
|
+
array: GeoArrowArray,
|
|
1224
|
+
index: number,
|
|
1225
|
+
coordinate: readonly number[]
|
|
1226
|
+
): void {
|
|
1227
|
+
if (array.kind === 'fixed-size-list' && array.child.kind === 'primitive') {
|
|
1228
|
+
const logical = (array.offset || 0) + index;
|
|
1229
|
+
for (let component = 0; component < array.size; component++) {
|
|
1230
|
+
const scalar = (array.child.offset || 0) + logical * array.size + component;
|
|
1231
|
+
array.child.values[scalar] = coordinate[component];
|
|
1232
|
+
}
|
|
1233
|
+
} else if (array.kind === 'struct') {
|
|
1234
|
+
const logical = (array.offset || 0) + index;
|
|
1235
|
+
const names = ['x', 'y', 'z', 'm'] as const;
|
|
1236
|
+
for (let component = 0; component < names.length; component++) {
|
|
1237
|
+
const child = array.children[names[component]];
|
|
1238
|
+
if (child?.kind === 'primitive')
|
|
1239
|
+
child.values[(child.offset || 0) + logical * (child.stride || 1)] = coordinate[component];
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
function collectCoordinateLeaves(column: GeoArrowColumn): Array<Float32Array | Float64Array> {
|
|
1245
|
+
const leaves: Array<Float32Array | Float64Array> = [];
|
|
1246
|
+
for (const chunk of column.chunks) collectArrayCoordinateLeaves(chunk, leaves);
|
|
1247
|
+
return leaves;
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
function collectArrayCoordinateLeaves(
|
|
1251
|
+
array: GeoArrowArray,
|
|
1252
|
+
leaves: Array<Float32Array | Float64Array>
|
|
1253
|
+
): void {
|
|
1254
|
+
switch (array.kind) {
|
|
1255
|
+
case 'primitive':
|
|
1256
|
+
if (array.values instanceof Float32Array || array.values instanceof Float64Array) {
|
|
1257
|
+
leaves.push(array.values);
|
|
1258
|
+
}
|
|
1259
|
+
break;
|
|
1260
|
+
case 'fixed-size-list':
|
|
1261
|
+
case 'list':
|
|
1262
|
+
collectArrayCoordinateLeaves(array.child, leaves);
|
|
1263
|
+
break;
|
|
1264
|
+
case 'struct':
|
|
1265
|
+
for (const name of ['x', 'y', 'z', 'm']) {
|
|
1266
|
+
const child = array.children[name];
|
|
1267
|
+
if (child) collectArrayCoordinateLeaves(child, leaves);
|
|
1268
|
+
}
|
|
1269
|
+
break;
|
|
1270
|
+
case 'dense-union':
|
|
1271
|
+
for (const child of array.children) collectArrayCoordinateLeaves(child.data, leaves);
|
|
1272
|
+
break;
|
|
1273
|
+
default:
|
|
1274
|
+
break;
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
function getArrayDepth(array: GeoArrowArray): number {
|
|
1279
|
+
switch (array.kind) {
|
|
1280
|
+
case 'list':
|
|
1281
|
+
case 'fixed-size-list':
|
|
1282
|
+
return 1 + getArrayDepth(array.child);
|
|
1283
|
+
case 'struct':
|
|
1284
|
+
return 1 + Math.max(0, ...Object.values(array.children).map(getArrayDepth));
|
|
1285
|
+
case 'dense-union':
|
|
1286
|
+
return 1 + Math.max(0, ...array.children.map(child => getArrayDepth(child.data)));
|
|
1287
|
+
default:
|
|
1288
|
+
return 1;
|
|
1289
|
+
}
|
|
1290
|
+
}
|