@math.gl/geospatial 5.0.0-beta.3 → 5.0.0-beta.5
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/README.md +192 -2
- package/THIRD-PARTY-NOTICES.md +192 -20
- package/dist/expressions.d.ts +1 -1
- package/dist/expressions.d.ts.map +1 -1
- package/dist/index.cjs +456 -4614
- package/dist/index.cjs.map +3 -3
- package/dist/index.d.ts +9 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/projection/experimental/common/adjust_lat.js +1 -1
- package/dist/projection/experimental/common/adjust_lat.js.map +1 -1
- package/dist/projection/experimental/common/adjust_lon.js +1 -1
- package/dist/projection/experimental/common/adjust_lon.js.map +1 -1
- package/dist/projection/experimental/common/asinhy.js +1 -1
- package/dist/projection/experimental/common/asinhy.js.map +1 -1
- package/dist/projection/experimental/common/asinz.js +1 -1
- package/dist/projection/experimental/common/asinz.js.map +1 -1
- package/dist/projection/experimental/common/authlat.js +1 -1
- package/dist/projection/experimental/common/authlat.js.map +1 -1
- package/dist/projection/experimental/common/authset.js +1 -1
- package/dist/projection/experimental/common/authset.js.map +1 -1
- package/dist/projection/experimental/common/clens.js +1 -1
- package/dist/projection/experimental/common/clens.js.map +1 -1
- package/dist/projection/experimental/common/clens_cmplx.js +1 -1
- package/dist/projection/experimental/common/clens_cmplx.js.map +1 -1
- package/dist/projection/experimental/common/constants.js +1 -1
- package/dist/projection/experimental/common/constants.js.map +1 -1
- package/dist/projection/experimental/common/cosh.js +1 -1
- package/dist/projection/experimental/common/cosh.js.map +1 -1
- package/dist/projection/experimental/common/e0fn.js +1 -1
- package/dist/projection/experimental/common/e0fn.js.map +1 -1
- package/dist/projection/experimental/common/e1fn.js +1 -1
- package/dist/projection/experimental/common/e1fn.js.map +1 -1
- package/dist/projection/experimental/common/e2fn.js +1 -1
- package/dist/projection/experimental/common/e2fn.js.map +1 -1
- package/dist/projection/experimental/common/e3fn.js +1 -1
- package/dist/projection/experimental/common/e3fn.js.map +1 -1
- package/dist/projection/experimental/common/fL.js +1 -1
- package/dist/projection/experimental/common/fL.js.map +1 -1
- package/dist/projection/experimental/common/gN.js +1 -1
- package/dist/projection/experimental/common/gN.js.map +1 -1
- package/dist/projection/experimental/common/gatg.js +1 -1
- package/dist/projection/experimental/common/gatg.js.map +1 -1
- package/dist/projection/experimental/common/hypot.js +1 -1
- package/dist/projection/experimental/common/hypot.js.map +1 -1
- package/dist/projection/experimental/common/imlfn.js +1 -1
- package/dist/projection/experimental/common/imlfn.js.map +1 -1
- package/dist/projection/experimental/common/invlatiso.js +1 -1
- package/dist/projection/experimental/common/invlatiso.js.map +1 -1
- package/dist/projection/experimental/common/iqsfnz.js +1 -1
- package/dist/projection/experimental/common/iqsfnz.js.map +1 -1
- package/dist/projection/experimental/common/latiso.js +1 -1
- package/dist/projection/experimental/common/latiso.js.map +1 -1
- package/dist/projection/experimental/common/log1py.js +1 -1
- package/dist/projection/experimental/common/log1py.js.map +1 -1
- package/dist/projection/experimental/common/mlfn.js +1 -1
- package/dist/projection/experimental/common/mlfn.js.map +1 -1
- package/dist/projection/experimental/common/msfnz.js +1 -1
- package/dist/projection/experimental/common/msfnz.js.map +1 -1
- package/dist/projection/experimental/common/phi2z.js +1 -1
- package/dist/projection/experimental/common/phi2z.js.map +1 -1
- package/dist/projection/experimental/common/pj_enfn.js +1 -1
- package/dist/projection/experimental/common/pj_enfn.js.map +1 -1
- package/dist/projection/experimental/common/pj_inv_mlfn.js +1 -1
- package/dist/projection/experimental/common/pj_inv_mlfn.js.map +1 -1
- package/dist/projection/experimental/common/pj_mlfn.js +1 -1
- package/dist/projection/experimental/common/pj_mlfn.js.map +1 -1
- package/dist/projection/experimental/common/qsfnz.js +1 -1
- package/dist/projection/experimental/common/qsfnz.js.map +1 -1
- package/dist/projection/experimental/common/sign.js +1 -1
- package/dist/projection/experimental/common/sign.js.map +1 -1
- package/dist/projection/experimental/common/sinh.js +1 -1
- package/dist/projection/experimental/common/sinh.js.map +1 -1
- package/dist/projection/experimental/common/srat.js +1 -1
- package/dist/projection/experimental/common/srat.js.map +1 -1
- package/dist/projection/experimental/common/tsfnz.js +1 -1
- package/dist/projection/experimental/common/tsfnz.js.map +1 -1
- package/dist/projection/experimental/common/vincenty.js +1 -1
- package/dist/projection/experimental/common/vincenty.js.map +1 -1
- package/dist/projection/experimental/core.cjs +100 -2
- package/dist/projection/experimental/core.cjs.map +2 -2
- package/dist/projection/experimental/core.d.ts +1 -0
- package/dist/projection/experimental/core.d.ts.map +1 -1
- package/dist/projection/experimental/crs/datum-table.js +1 -1
- package/dist/projection/experimental/crs/datum-table.js.map +1 -1
- package/dist/projection/experimental/crs/ellipsoid-table.js +1 -1
- package/dist/projection/experimental/crs/ellipsoid-table.js.map +1 -1
- package/dist/projection/experimental/crs/primemeridian-table.js +1 -1
- package/dist/projection/experimental/crs/primemeridian-table.js.map +1 -1
- package/dist/projection/experimental/crs/structured.js +1 -1
- package/dist/projection/experimental/crs/structured.js.map +1 -1
- package/dist/projection/experimental/crs/wkt.js +1 -1
- package/dist/projection/experimental/crs/wkt.js.map +1 -1
- package/dist/projection/experimental/datum.js +1 -1
- package/dist/projection/experimental/datum.js.map +1 -1
- package/dist/projection/experimental/ellipsoidal-gnomonic.js +1 -1
- package/dist/projection/experimental/ellipsoidal-gnomonic.js.map +1 -1
- package/dist/projection/experimental/entries/projections/eqc.cjs +1 -0
- package/dist/projection/experimental/entries/projections/eqc.cjs.map +1 -1
- package/dist/projection/experimental/entries/projections/merc.cjs +1 -0
- package/dist/projection/experimental/entries/projections/merc.cjs.map +1 -1
- package/dist/projection/experimental/grids/geotiff.js +1 -1
- package/dist/projection/experimental/grids/geotiff.js.map +1 -1
- package/dist/projection/experimental/grids/ntv2.js +1 -1
- package/dist/projection/experimental/grids/ntv2.js.map +1 -1
- package/dist/projection/experimental/index.cjs +102 -2
- package/dist/projection/experimental/index.cjs.map +3 -3
- package/dist/projection/experimental/kernels/aea.js +1 -1
- package/dist/projection/experimental/kernels/aea.js.map +1 -1
- package/dist/projection/experimental/kernels/aeqd.js +1 -1
- package/dist/projection/experimental/kernels/aeqd.js.map +1 -1
- package/dist/projection/experimental/kernels/bonne.js +1 -1
- package/dist/projection/experimental/kernels/bonne.js.map +1 -1
- package/dist/projection/experimental/kernels/cass.js +1 -1
- package/dist/projection/experimental/kernels/cass.js.map +1 -1
- package/dist/projection/experimental/kernels/cea.js +1 -1
- package/dist/projection/experimental/kernels/cea.js.map +1 -1
- package/dist/projection/experimental/kernels/eck6.js +1 -1
- package/dist/projection/experimental/kernels/eck6.js.map +1 -1
- package/dist/projection/experimental/kernels/eqdc.js +1 -1
- package/dist/projection/experimental/kernels/eqdc.js.map +1 -1
- package/dist/projection/experimental/kernels/eqearth.js +1 -1
- package/dist/projection/experimental/kernels/eqearth.js.map +1 -1
- package/dist/projection/experimental/kernels/equi.js +1 -1
- package/dist/projection/experimental/kernels/equi.js.map +1 -1
- package/dist/projection/experimental/kernels/etmerc.js +1 -1
- package/dist/projection/experimental/kernels/etmerc.js.map +1 -1
- package/dist/projection/experimental/kernels/gauss.js +1 -1
- package/dist/projection/experimental/kernels/gauss.js.map +1 -1
- package/dist/projection/experimental/kernels/geos.js +1 -1
- package/dist/projection/experimental/kernels/geos.js.map +1 -1
- package/dist/projection/experimental/kernels/gnom.js +1 -1
- package/dist/projection/experimental/kernels/gnom.js.map +1 -1
- package/dist/projection/experimental/kernels/gstmerc.js +1 -1
- package/dist/projection/experimental/kernels/gstmerc.js.map +1 -1
- package/dist/projection/experimental/kernels/krovak.js +1 -1
- package/dist/projection/experimental/kernels/krovak.js.map +1 -1
- package/dist/projection/experimental/kernels/laea.js +1 -1
- package/dist/projection/experimental/kernels/laea.js.map +1 -1
- package/dist/projection/experimental/kernels/lcc.js +1 -1
- package/dist/projection/experimental/kernels/lcc.js.map +1 -1
- package/dist/projection/experimental/kernels/mill.js +1 -1
- package/dist/projection/experimental/kernels/mill.js.map +1 -1
- package/dist/projection/experimental/kernels/moll.js +1 -1
- package/dist/projection/experimental/kernels/moll.js.map +1 -1
- package/dist/projection/experimental/kernels/nzmg.js +1 -1
- package/dist/projection/experimental/kernels/nzmg.js.map +1 -1
- package/dist/projection/experimental/kernels/omerc.js +1 -1
- package/dist/projection/experimental/kernels/omerc.js.map +1 -1
- package/dist/projection/experimental/kernels/poly.js +1 -1
- package/dist/projection/experimental/kernels/poly.js.map +1 -1
- package/dist/projection/experimental/kernels/qsc.js +1 -1
- package/dist/projection/experimental/kernels/qsc.js.map +1 -1
- package/dist/projection/experimental/kernels/robin.js +1 -1
- package/dist/projection/experimental/kernels/robin.js.map +1 -1
- package/dist/projection/experimental/kernels/sinu.js +1 -1
- package/dist/projection/experimental/kernels/sinu.js.map +1 -1
- package/dist/projection/experimental/kernels/somerc.js +1 -1
- package/dist/projection/experimental/kernels/somerc.js.map +1 -1
- package/dist/projection/experimental/kernels/stere.js +1 -1
- package/dist/projection/experimental/kernels/stere.js.map +1 -1
- package/dist/projection/experimental/kernels/sterea.js +1 -1
- package/dist/projection/experimental/kernels/sterea.js.map +1 -1
- package/dist/projection/experimental/kernels/tmerc.js +1 -1
- package/dist/projection/experimental/kernels/tmerc.js.map +1 -1
- package/dist/projection/experimental/kernels/tpers.js +1 -1
- package/dist/projection/experimental/kernels/tpers.js.map +1 -1
- package/dist/projection/experimental/kernels/vandg.js +1 -1
- package/dist/projection/experimental/kernels/vandg.js.map +1 -1
- package/dist/projection/experimental/kinematic-helmert.js +1 -1
- package/dist/projection/experimental/kinematic-helmert.js.map +1 -1
- package/dist/projection/experimental/lazy-projections/index.cjs +100 -2
- package/dist/projection/experimental/lazy-projections/index.cjs.map +2 -2
- package/dist/projection/experimental/projections/equidistant-cylindrical.d.ts.map +1 -1
- package/dist/projection/experimental/projections/equidistant-cylindrical.js +1 -0
- package/dist/projection/experimental/projections/equidistant-cylindrical.js.map +1 -1
- package/dist/projection/experimental/projections/mercator.d.ts.map +1 -1
- package/dist/projection/experimental/projections/mercator.js +1 -0
- package/dist/projection/experimental/projections/mercator.js.map +1 -1
- package/dist/projection/experimental/transform-description.d.ts +8 -0
- package/dist/projection/experimental/transform-description.d.ts.map +1 -0
- package/dist/projection/experimental/transform-description.js +57 -0
- package/dist/projection/experimental/transform-description.js.map +1 -0
- package/dist/projection/experimental/types.d.ts +5 -0
- package/dist/projection/experimental/types.d.ts.map +1 -1
- package/dist/projection/experimental/typescript-projection.d.ts +4 -0
- package/dist/projection/experimental/typescript-projection.d.ts.map +1 -1
- package/dist/projection/experimental/typescript-projection.js +54 -5
- package/dist/projection/experimental/typescript-projection.js.map +1 -1
- package/dist/projection/index.cjs +102 -2
- package/dist/projection/index.cjs.map +3 -3
- package/dist/projection/transform-analysis.cjs +100 -2
- package/dist/projection/transform-analysis.cjs.map +2 -2
- package/dist/projection/transform-description.d.ts +44 -0
- package/dist/projection/transform-description.d.ts.map +1 -0
- package/dist/projection/transform-description.js +5 -0
- package/dist/projection/transform-description.js.map +1 -0
- package/dist/projection/types.d.ts +4 -0
- package/dist/projection/types.d.ts.map +1 -1
- package/dist/tasks/definitions.d.ts +3 -3
- package/dist/tasks/index.cjs +107 -2
- package/dist/tasks/index.cjs.map +3 -3
- package/dist/tasks/index.d.ts +1 -1
- package/dist/tasks/index.d.ts.map +1 -1
- package/dist/tasks/map-worker.js +1 -1
- package/dist/tasks/map-worker.js.map +1 -1
- package/dist/tasks/operations.d.ts +1 -1
- package/dist/tasks/operations.d.ts.map +1 -1
- package/dist/tasks/projection-worker.js +1 -1
- package/dist/tasks/projection-worker.js.map +1 -1
- package/dist/terrain/contour-boundary-diagnostics.d.ts +23 -0
- package/dist/terrain/contour-boundary-diagnostics.d.ts.map +1 -0
- package/dist/terrain/contour-boundary-diagnostics.js +62 -0
- package/dist/terrain/contour-boundary-diagnostics.js.map +1 -0
- package/dist/terrain/contour-mixed-weld.d.ts +25 -0
- package/dist/terrain/contour-mixed-weld.d.ts.map +1 -0
- package/dist/terrain/contour-mixed-weld.js +194 -0
- package/dist/terrain/contour-mixed-weld.js.map +1 -0
- package/dist/terrain/contour-tile-paths.d.ts +7 -0
- package/dist/terrain/contour-tile-paths.d.ts.map +1 -0
- package/dist/terrain/contour-tile-paths.js +12 -0
- package/dist/terrain/contour-tile-paths.js.map +1 -0
- package/dist/terrain/contour-tile-weld.d.ts +24 -0
- package/dist/terrain/contour-tile-weld.d.ts.map +1 -0
- package/dist/terrain/contour-tile-weld.js +147 -0
- package/dist/terrain/contour-tile-weld.js.map +1 -0
- package/dist/terrain/gradient-pyramid.d.ts +29 -0
- package/dist/terrain/gradient-pyramid.d.ts.map +1 -0
- package/dist/terrain/gradient-pyramid.js +94 -0
- package/dist/terrain/gradient-pyramid.js.map +1 -0
- package/dist/terrain/height-field.d.ts.map +1 -1
- package/dist/terrain/height-field.js +48 -5
- package/dist/terrain/height-field.js.map +1 -1
- package/dist/terrain/index.cjs +448 -4
- package/dist/terrain/index.cjs.map +3 -3
- package/dist/terrain/index.d.ts +9 -0
- package/dist/terrain/index.d.ts.map +1 -1
- package/dist/terrain/index.js +5 -0
- package/dist/terrain/index.js.map +1 -1
- package/dist/terrain/tiled.d.ts +10 -2
- package/dist/terrain/tiled.d.ts.map +1 -1
- package/dist/terrain/tiled.js +5 -1
- package/dist/terrain/tiled.js.map +1 -1
- package/dist/terrain/types.d.ts +6 -0
- package/dist/terrain/types.d.ts.map +1 -1
- package/dist/turf.cjs +25 -671
- package/dist/turf.cjs.map +3 -3
- package/dist/turf.d.ts +1 -1
- package/dist/turf.d.ts.map +1 -1
- package/dist/turf.js +2 -2
- package/dist/turf.js.map +1 -1
- package/package.json +15 -19
- package/src/expressions.ts +1 -1
- package/src/index.ts +15 -123
- package/src/projection/experimental/common/adjust_lat.ts +1 -1
- package/src/projection/experimental/common/adjust_lon.ts +1 -1
- package/src/projection/experimental/common/asinhy.ts +1 -1
- package/src/projection/experimental/common/asinz.ts +1 -1
- package/src/projection/experimental/common/authlat.ts +1 -1
- package/src/projection/experimental/common/authset.ts +1 -1
- package/src/projection/experimental/common/clens.ts +1 -1
- package/src/projection/experimental/common/clens_cmplx.ts +1 -1
- package/src/projection/experimental/common/constants.ts +1 -1
- package/src/projection/experimental/common/cosh.ts +1 -1
- package/src/projection/experimental/common/e0fn.ts +1 -1
- package/src/projection/experimental/common/e1fn.ts +1 -1
- package/src/projection/experimental/common/e2fn.ts +1 -1
- package/src/projection/experimental/common/e3fn.ts +1 -1
- package/src/projection/experimental/common/fL.ts +1 -1
- package/src/projection/experimental/common/gN.ts +1 -1
- package/src/projection/experimental/common/gatg.ts +1 -1
- package/src/projection/experimental/common/hypot.ts +1 -1
- package/src/projection/experimental/common/imlfn.ts +1 -1
- package/src/projection/experimental/common/invlatiso.ts +1 -1
- package/src/projection/experimental/common/iqsfnz.ts +1 -1
- package/src/projection/experimental/common/latiso.ts +1 -1
- package/src/projection/experimental/common/log1py.ts +1 -1
- package/src/projection/experimental/common/mlfn.ts +1 -1
- package/src/projection/experimental/common/msfnz.ts +1 -1
- package/src/projection/experimental/common/phi2z.ts +1 -1
- package/src/projection/experimental/common/pj_enfn.ts +1 -1
- package/src/projection/experimental/common/pj_inv_mlfn.ts +1 -1
- package/src/projection/experimental/common/pj_mlfn.ts +1 -1
- package/src/projection/experimental/common/qsfnz.ts +1 -1
- package/src/projection/experimental/common/sign.ts +1 -1
- package/src/projection/experimental/common/sinh.ts +1 -1
- package/src/projection/experimental/common/srat.ts +1 -1
- package/src/projection/experimental/common/tsfnz.ts +1 -1
- package/src/projection/experimental/common/vincenty.ts +1 -1
- package/src/projection/experimental/core.ts +8 -0
- package/src/projection/experimental/crs/datum-table.ts +1 -1
- package/src/projection/experimental/crs/ellipsoid-table.ts +1 -1
- package/src/projection/experimental/crs/primemeridian-table.ts +1 -1
- package/src/projection/experimental/crs/structured.ts +1 -1
- package/src/projection/experimental/crs/wkt.ts +1 -1
- package/src/projection/experimental/datum.ts +1 -1
- package/src/projection/experimental/ellipsoidal-gnomonic.ts +1 -1
- package/src/projection/experimental/exact-helmert.ts +1 -1
- package/src/projection/experimental/grids/geotiff.ts +1 -1
- package/src/projection/experimental/grids/grid.ts +1 -1
- package/src/projection/experimental/grids/ntv2.ts +1 -1
- package/src/projection/experimental/helmert-flat.ts +1 -1
- package/src/projection/experimental/kernels/aea.ts +1 -1
- package/src/projection/experimental/kernels/aeqd.ts +1 -1
- package/src/projection/experimental/kernels/bonne.ts +1 -1
- package/src/projection/experimental/kernels/cass.ts +1 -1
- package/src/projection/experimental/kernels/cea.ts +1 -1
- package/src/projection/experimental/kernels/eck6.ts +1 -1
- package/src/projection/experimental/kernels/eqdc.ts +1 -1
- package/src/projection/experimental/kernels/eqearth.ts +1 -1
- package/src/projection/experimental/kernels/equi.ts +1 -1
- package/src/projection/experimental/kernels/etmerc.ts +1 -1
- package/src/projection/experimental/kernels/gauss.ts +1 -1
- package/src/projection/experimental/kernels/geos.ts +1 -1
- package/src/projection/experimental/kernels/gnom.ts +1 -1
- package/src/projection/experimental/kernels/gstmerc.ts +1 -1
- package/src/projection/experimental/kernels/krovak.ts +1 -1
- package/src/projection/experimental/kernels/laea.ts +1 -1
- package/src/projection/experimental/kernels/lcc.ts +1 -1
- package/src/projection/experimental/kernels/mill.ts +1 -1
- package/src/projection/experimental/kernels/moll.ts +1 -1
- package/src/projection/experimental/kernels/nzmg.ts +1 -1
- package/src/projection/experimental/kernels/omerc.ts +1 -1
- package/src/projection/experimental/kernels/ortho.ts +1 -1
- package/src/projection/experimental/kernels/poly.ts +1 -1
- package/src/projection/experimental/kernels/qsc.ts +1 -1
- package/src/projection/experimental/kernels/robin.ts +1 -1
- package/src/projection/experimental/kernels/sinu.ts +1 -1
- package/src/projection/experimental/kernels/somerc.ts +1 -1
- package/src/projection/experimental/kernels/stere.ts +1 -1
- package/src/projection/experimental/kernels/sterea.ts +1 -1
- package/src/projection/experimental/kernels/tmerc.ts +1 -1
- package/src/projection/experimental/kernels/tpers.ts +1 -1
- package/src/projection/experimental/kernels/vandg.ts +1 -1
- package/src/projection/experimental/kinematic-helmert-flat.ts +1 -1
- package/src/projection/experimental/kinematic-helmert.ts +1 -1
- package/src/projection/experimental/projection-pipeline.ts +1 -1
- package/src/projection/experimental/projections/equidistant-cylindrical.ts +1 -0
- package/src/projection/experimental/projections/mercator.ts +1 -0
- package/src/projection/experimental/projections/ob-tran.ts +1 -1
- package/src/projection/experimental/transform-description.ts +82 -0
- package/src/projection/experimental/types.ts +5 -0
- package/src/projection/experimental/typescript-projection.ts +54 -6
- package/src/projection/transform-description.ts +69 -0
- package/src/projection/types.ts +11 -0
- package/src/tasks/definitions.ts +1 -1
- package/src/tasks/index.ts +1 -1
- package/src/tasks/map-worker.ts +1 -1
- package/src/tasks/operations.ts +1 -1
- package/src/tasks/projection-worker.ts +1 -1
- package/src/terrain/contour-boundary-diagnostics.ts +90 -0
- package/src/terrain/contour-mixed-weld.ts +254 -0
- package/src/terrain/contour-tile-paths.ts +20 -0
- package/src/terrain/contour-tile-weld.ts +182 -0
- package/src/terrain/gradient-pyramid.ts +129 -0
- package/src/terrain/height-field.ts +45 -5
- package/src/terrain/index.ts +12 -0
- package/src/terrain/tiled.ts +16 -3
- package/src/terrain/types.ts +9 -1
- package/src/turf.ts +7 -3
- package/crs/README.md +0 -84
- package/crs/schemas/README.md +0 -9
- package/dist/geoarrow/builder-entry.d.ts +0 -4
- package/dist/geoarrow/builder-entry.d.ts.map +0 -1
- package/dist/geoarrow/builder-entry.js +0 -5
- package/dist/geoarrow/builder-entry.js.map +0 -1
- package/dist/geoarrow/builder.d.ts +0 -106
- package/dist/geoarrow/builder.d.ts.map +0 -1
- package/dist/geoarrow/builder.js +0 -668
- package/dist/geoarrow/builder.js.map +0 -1
- package/dist/geoarrow/codecs.d.ts +0 -24
- package/dist/geoarrow/codecs.d.ts.map +0 -1
- package/dist/geoarrow/codecs.js +0 -916
- package/dist/geoarrow/codecs.js.map +0 -1
- package/dist/geoarrow/index.cjs +0 -4352
- package/dist/geoarrow/index.cjs.map +0 -6
- package/dist/geoarrow/index.d.ts +0 -21
- package/dist/geoarrow/index.d.ts.map +0 -1
- package/dist/geoarrow/index.js +0 -15
- package/dist/geoarrow/index.js.map +0 -1
- package/dist/geoarrow/kernels.d.ts +0 -56
- package/dist/geoarrow/kernels.d.ts.map +0 -1
- package/dist/geoarrow/kernels.js +0 -982
- package/dist/geoarrow/kernels.js.map +0 -1
- package/dist/geoarrow/layout.d.ts +0 -66
- package/dist/geoarrow/layout.d.ts.map +0 -1
- package/dist/geoarrow/layout.js +0 -723
- package/dist/geoarrow/layout.js.map +0 -1
- package/dist/geoarrow/stream-tessellate.d.ts +0 -34
- package/dist/geoarrow/stream-tessellate.d.ts.map +0 -1
- package/dist/geoarrow/stream-tessellate.js +0 -171
- package/dist/geoarrow/stream-tessellate.js.map +0 -1
- package/dist/geoarrow/stream.d.ts +0 -29
- package/dist/geoarrow/stream.d.ts.map +0 -1
- package/dist/geoarrow/stream.js +0 -100
- package/dist/geoarrow/stream.js.map +0 -1
- package/dist/geoarrow/tessellate.d.ts +0 -31
- package/dist/geoarrow/tessellate.d.ts.map +0 -1
- package/dist/geoarrow/tessellate.js +0 -102
- package/dist/geoarrow/tessellate.js.map +0 -1
- package/dist/geoarrow/tessellation-entry.d.ts +0 -4
- package/dist/geoarrow/tessellation-entry.d.ts.map +0 -1
- package/dist/geoarrow/tessellation-entry.js +0 -5
- package/dist/geoarrow/tessellation-entry.js.map +0 -1
- package/dist/geoarrow/types.d.ts +0 -155
- package/dist/geoarrow/types.d.ts.map +0 -1
- package/dist/geoarrow/types.js +0 -71
- package/dist/geoarrow/types.js.map +0 -1
- package/dist/geoarrow/views.d.ts +0 -45
- package/dist/geoarrow/views.d.ts.map +0 -1
- package/dist/geoarrow/views.js +0 -114
- package/dist/geoarrow/views.js.map +0 -1
- package/dist/geoarrow/wkb-entry.d.ts +0 -4
- package/dist/geoarrow/wkb-entry.d.ts.map +0 -1
- package/dist/geoarrow/wkb-entry.js +0 -6
- package/dist/geoarrow/wkb-entry.js.map +0 -1
- package/dist/geoarrow/worker.d.ts +0 -11
- package/dist/geoarrow/worker.d.ts.map +0 -1
- package/dist/geoarrow/worker.js +0 -10
- package/dist/geoarrow/worker.js.map +0 -1
- package/dist/wkb/index.d.ts +0 -11
- package/dist/wkb/index.d.ts.map +0 -1
- package/dist/wkb/index.js +0 -9
- package/dist/wkb/index.js.map +0 -1
- package/dist/wkb/types.d.ts +0 -30
- package/dist/wkb/types.d.ts.map +0 -1
- package/dist/wkb/types.js +0 -34
- package/dist/wkb/types.js.map +0 -1
- package/dist/wkb/wkb-builder.d.ts +0 -91
- package/dist/wkb/wkb-builder.d.ts.map +0 -1
- package/dist/wkb/wkb-builder.js +0 -283
- package/dist/wkb/wkb-builder.js.map +0 -1
- package/dist/wkb/wkb-reader.d.ts +0 -74
- package/dist/wkb/wkb-reader.d.ts.map +0 -1
- package/dist/wkb/wkb-reader.js +0 -251
- package/dist/wkb/wkb-reader.js.map +0 -1
- package/dist/wkb/wkb.d.ts +0 -21
- package/dist/wkb/wkb.d.ts.map +0 -1
- package/dist/wkb/wkb.js +0 -204
- package/dist/wkb/wkb.js.map +0 -1
- package/dist/wkb/wkt.d.ts +0 -19
- package/dist/wkb/wkt.d.ts.map +0 -1
- package/dist/wkb/wkt.js +0 -321
- package/dist/wkb/wkt.js.map +0 -1
- package/projection/THIRD-PARTY-NOTICES.md +0 -210
- package/src/discontinuous/elastic/README.md +0 -20
- package/src/discontinuous/spherical-clip/README.md +0 -16
- package/src/discontinuous/world-kernels/README.md +0 -24
- package/src/geoarrow/builder-entry.ts +0 -18
- package/src/geoarrow/builder.ts +0 -860
- package/src/geoarrow/codecs.ts +0 -1268
- package/src/geoarrow/index.ts +0 -111
- package/src/geoarrow/kernels.ts +0 -1290
- package/src/geoarrow/layout.ts +0 -900
- package/src/geoarrow/stream-tessellate.ts +0 -205
- package/src/geoarrow/stream.ts +0 -130
- package/src/geoarrow/tessellate.ts +0 -133
- package/src/geoarrow/tessellation-entry.ts +0 -7
- package/src/geoarrow/types.ts +0 -259
- package/src/geoarrow/views.ts +0 -150
- package/src/geoarrow/wkb-entry.ts +0 -13
- package/src/geoarrow/worker.ts +0 -20
- package/src/terrain/vendor/README.md +0 -20
- package/src/vendor/geographiclib-geodesic/README.md +0 -26
- package/src/wkb/index.ts +0 -38
- package/src/wkb/types.ts +0 -54
- package/src/wkb/wkb-builder.ts +0 -395
- package/src/wkb/wkb-reader.ts +0 -401
- package/src/wkb/wkb.ts +0 -255
- package/src/wkb/wkt.ts +0 -375
- /package/{projection/APACHE-2.0-LICENSE.txt → APACHE-2.0-LICENSE.txt} +0 -0
- /package/{projection/PROJ-LICENSE.txt → PROJ-LICENSE.txt} +0 -0
- /package/{projection/PROJ4-LICENSE.md → PROJ4-LICENSE.md} +0 -0
- /package/{crs/schemas → src/crs}/projjson.schema.json +0 -0
package/src/index.ts
CHANGED
|
@@ -125,123 +125,7 @@ export {
|
|
|
125
125
|
EPSG3857ToEPSG4326
|
|
126
126
|
} from './web-mercator';
|
|
127
127
|
export type {EPSG3857Options, FitBoundsOptions, DistanceScales} from './web-mercator';
|
|
128
|
-
|
|
129
|
-
getWellKnownDimensionSize,
|
|
130
|
-
inferWellKnownGeometryDimension,
|
|
131
|
-
parseWKB,
|
|
132
|
-
writeWKB,
|
|
133
|
-
inspectWKBHeader,
|
|
134
|
-
scanWKB,
|
|
135
|
-
visitWKB,
|
|
136
|
-
WKBBuilder,
|
|
137
|
-
formatWKT,
|
|
138
|
-
parseWKT,
|
|
139
|
-
parseWKTWithMetadata
|
|
140
|
-
} from './wkb/index';
|
|
141
|
-
export type {
|
|
142
|
-
WellKnownDimension,
|
|
143
|
-
WellKnownGeometry,
|
|
144
|
-
WKBParseOptions,
|
|
145
|
-
WKBParseResult,
|
|
146
|
-
WKBBounds,
|
|
147
|
-
WKBDialect,
|
|
148
|
-
WKBGeometryCounts,
|
|
149
|
-
WKBGeometryType,
|
|
150
|
-
WKBHeader,
|
|
151
|
-
WKBScanResult,
|
|
152
|
-
WKBTraversalOptions,
|
|
153
|
-
WKBVisitor,
|
|
154
|
-
WKBBuilderBaseOptions,
|
|
155
|
-
WKBBuilderMeasureOptions,
|
|
156
|
-
WKBBuilderOptions,
|
|
157
|
-
WKBBuilderWriteOptions,
|
|
158
|
-
WKBCoordinateTransform,
|
|
159
|
-
WKBGeometryArray,
|
|
160
|
-
WKBGeometryWriter,
|
|
161
|
-
WKTParseOptions,
|
|
162
|
-
WKTParseResult
|
|
163
|
-
} from './wkb/index';
|
|
164
|
-
export {
|
|
165
|
-
getGeoArrowDimensionSize,
|
|
166
|
-
getGeoArrowEncodingForGeometry,
|
|
167
|
-
getGeoArrowGeometryType,
|
|
168
|
-
inferGeoArrowGeometryDimension,
|
|
169
|
-
mergeGeoArrowDimensions,
|
|
170
|
-
iterateGeoArrowBatches,
|
|
171
|
-
getGeoArrowRowView,
|
|
172
|
-
concatenateGeoArrowColumns,
|
|
173
|
-
getGeoArrowRowCount,
|
|
174
|
-
getGeoArrowTransferList,
|
|
175
|
-
getGeoArrowVertexCount,
|
|
176
|
-
inspectGeoArrowColumn,
|
|
177
|
-
isGeoArrowValueValid,
|
|
178
|
-
materializeGeoArrowRows,
|
|
179
|
-
sliceGeoArrowArray,
|
|
180
|
-
sliceGeoArrowColumn,
|
|
181
|
-
validateGeoArrowColumn,
|
|
182
|
-
visitGeoArrowCoordinates,
|
|
183
|
-
allocateGeoArrowBuilderTarget,
|
|
184
|
-
GeoArrowBuilder,
|
|
185
|
-
makeGeoArrowColumnFromGeometryRows,
|
|
186
|
-
assertGeoArrowResourceLimits,
|
|
187
|
-
convertGeoArrowColumn,
|
|
188
|
-
getGeoArrowBounds,
|
|
189
|
-
getGeoArrowRowBounds,
|
|
190
|
-
interleaveGeoArrowCoordinates,
|
|
191
|
-
mapGeoArrowCoordinates,
|
|
192
|
-
mapGeoArrowCoordinatesInto,
|
|
193
|
-
normalizeGeoArrowUnion,
|
|
194
|
-
rewindGeoArrow,
|
|
195
|
-
decodeGeoArrowWKB,
|
|
196
|
-
decodeGeoArrowWKT,
|
|
197
|
-
encodeGeoArrowWKB,
|
|
198
|
-
encodeGeoArrowWKT,
|
|
199
|
-
getGeoArrowWKBVertexCount,
|
|
200
|
-
tessellateGeoArrowPolygons
|
|
201
|
-
} from './geoarrow/index';
|
|
202
|
-
export type {
|
|
203
|
-
GeoArrowArray,
|
|
204
|
-
GeoArrowArrayBase,
|
|
205
|
-
GeoArrowBox,
|
|
206
|
-
GeoArrowBounds,
|
|
207
|
-
GeoArrowColumn,
|
|
208
|
-
GeoArrowCoordinateLayout,
|
|
209
|
-
GeoArrowCoordinateMapper,
|
|
210
|
-
GeoArrowDenseUnion,
|
|
211
|
-
GeoArrowDenseUnionChild,
|
|
212
|
-
GeoArrowDimension,
|
|
213
|
-
GeoArrowEncoding,
|
|
214
|
-
GeoArrowFixedSizeList,
|
|
215
|
-
GeoArrowGeometryValue,
|
|
216
|
-
GeoArrowList,
|
|
217
|
-
GeoArrowNumericArray,
|
|
218
|
-
GeoArrowOffsets,
|
|
219
|
-
GeoArrowPrimitive,
|
|
220
|
-
GeoArrowSerialized,
|
|
221
|
-
GeoArrowStruct,
|
|
222
|
-
GeoArrowValidity,
|
|
223
|
-
GeoArrowBatchView,
|
|
224
|
-
GeoArrowRowView,
|
|
225
|
-
GeoArrowColumnInspection,
|
|
226
|
-
GeoArrowValidationIssue,
|
|
227
|
-
GeoArrowValidationResult,
|
|
228
|
-
GeoArrowBuilderEncoding,
|
|
229
|
-
GeoArrowBuilderMeasurement,
|
|
230
|
-
GeoArrowBuilderModeOptions,
|
|
231
|
-
GeoArrowBuilderOptions,
|
|
232
|
-
GeoArrowColumnFromRowsOptions,
|
|
233
|
-
GeoArrowBuilderTarget,
|
|
234
|
-
ConvertGeoArrowColumnOptions,
|
|
235
|
-
GeoArrowResourceLimitOptions,
|
|
236
|
-
GeoArrowRingOrientation,
|
|
237
|
-
MapGeoArrowCoordinatesOptions,
|
|
238
|
-
RewindGeoArrowOptions,
|
|
239
|
-
DecodeGeoArrowWKBOptions,
|
|
240
|
-
GeoArrowTessellation,
|
|
241
|
-
TessellateGeoArrowPolygonsOptions
|
|
242
|
-
} from './geoarrow/index';
|
|
243
|
-
export {prepareGeoArrowTransfer} from './geoarrow/worker';
|
|
244
|
-
export type {GeoArrowTransfer} from './geoarrow/worker';
|
|
128
|
+
|
|
245
129
|
export {GEOSPATIAL_FUNCTION_LIBRARY} from './expressions';
|
|
246
130
|
export {
|
|
247
131
|
createOrthographicCutAtlas,
|
|
@@ -373,6 +257,16 @@ export type {TerrainProfileSampler, TerrainProfile} from './terrain/profile';
|
|
|
373
257
|
export {createTerrainContours} from './terrain/contours';
|
|
374
258
|
export type {TerrainContours, TerrainContourOptions} from './terrain/contours';
|
|
375
259
|
export {stitchTerrainContours} from './terrain/contour-paths';
|
|
260
|
+
export {weldTerrainContourTiles} from './terrain/contour-tile-weld';
|
|
261
|
+
export {
|
|
262
|
+
diagnoseTerrainContourBoundaries,
|
|
263
|
+
TerrainContourBoundaryAxis
|
|
264
|
+
} from './terrain/contour-boundary-diagnostics';
|
|
265
|
+
export type {TerrainContourBoundaryDiagnostics} from './terrain/contour-boundary-diagnostics';
|
|
266
|
+
export {stitchTerrainContourTiles} from './terrain/contour-tile-paths';
|
|
267
|
+
export {createTerrainGradientPyramid} from './terrain/gradient-pyramid';
|
|
268
|
+
export type {TerrainGradientPyramid, TerrainGradientPyramidLevel} from './terrain/gradient-pyramid';
|
|
269
|
+
export type {TerrainContourTile, TerrainContourTileWeldOptions} from './terrain/contour-tile-weld';
|
|
376
270
|
export type {TerrainContourPaths, TerrainContourPathLimits} from './terrain/contour-paths';
|
|
377
271
|
export {simplifyTerrainContourPaths} from './terrain/contour-simplify';
|
|
378
272
|
export type {TerrainSimplifiedContourPaths} from './terrain/contour-simplify';
|
|
@@ -399,10 +293,8 @@ export type {
|
|
|
399
293
|
export {stitchTerrainMeshEdges} from './terrain/mesh-stitch';
|
|
400
294
|
export type {TerrainSeamMesh, TerrainMeshStitchOptions} from './terrain/mesh-stitch';
|
|
401
295
|
|
|
402
|
-
export {
|
|
296
|
+
export {weldTerrainMixedContourTiles} from './terrain/contour-mixed-weld';
|
|
403
297
|
export type {
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
GeoArrowStreamMesh
|
|
408
|
-
} from './geoarrow/index';
|
|
298
|
+
TerrainMixedContourTile,
|
|
299
|
+
TerrainMixedContourWeldOptions
|
|
300
|
+
} from './terrain/contour-mixed-weld';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Adapted from proj4js 2.22.0; corrected the inclusive pole boundary. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Adapted from proj4js 2.22.0; corrected the inclusive pole boundary. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
import {HALF_PI} from './constants';
|
|
7
7
|
import sign from './sign';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
import {TWO_PI, SPI} from './constants';
|
|
7
7
|
import sign from './sign';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
import hypot from './hypot';
|
|
7
7
|
import log1py from './log1py';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
export default function (x: number) {
|
|
7
7
|
if (Math.abs(x) > 1) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
export default function authlat(beta: number, APA: readonly number[]) {
|
|
7
7
|
var t = beta + beta;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
var P00 = 0.33333333333333333333;
|
|
7
7
|
var P01 = 0.17222222222222222222;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
export default function (pp: readonly number[], arg_r: number) {
|
|
7
7
|
var r = 2 * Math.cos(arg_r);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution. Modified to write the complex result into caller-owned scratch storage.
|
|
5
5
|
|
|
6
6
|
import sinh from './sinh';
|
|
7
7
|
import cosh from './cosh';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
export const EPSLN = 1e-10;
|
|
7
7
|
export const HALF_PI = Math.PI / 2;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
export default function (x: number) {
|
|
7
7
|
var r = Math.exp(x);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
export default function (x: number) {
|
|
7
7
|
return 1 - 0.25 * x * (1 + (x / 16) * (3 + 1.25 * x));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
export default function (x: number) {
|
|
7
7
|
return 0.375 * x * (1 + 0.25 * x * (1 + 0.46875 * x));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
export default function (x: number) {
|
|
7
7
|
return 0.05859375 * x * x * (1 + 0.75 * x);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
export default function (x: number) {
|
|
7
7
|
return x * x * x * (35 / 3072);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
import {HALF_PI} from './constants';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
export default function (a: number, e: number, sinphi: number) {
|
|
7
7
|
var temp = e * sinphi;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
export default function (pp: readonly number[], B: number) {
|
|
7
7
|
var cos_2B = 2 * Math.cos(2 * B);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
export default function (x: number, y: number) {
|
|
7
7
|
x = Math.abs(x);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
export default function (ml: number, e0: number, e1: number, e2: number, e3: number) {
|
|
7
7
|
var phi;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
import fL from './fL';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Adapted from proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Adapted from proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
import {HALF_PI} from './constants';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
import {HALF_PI} from './constants';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
export default function (x: number) {
|
|
7
7
|
var y = 1 + x;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
export default function (e0: number, e1: number, e2: number, e3: number, phi: number) {
|
|
7
7
|
return e0 * phi - e1 * Math.sin(2 * phi) + e2 * Math.sin(4 * phi) - e3 * Math.sin(6 * phi);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
export default function (eccent: number, sinphi: number, cosphi: number) {
|
|
7
7
|
var con = eccent * sinphi;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
import {HALF_PI} from './constants';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
var C00 = 1;
|
|
7
7
|
var C02 = 0.25;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
import pj_mlfn from './pj_mlfn';
|
|
7
7
|
import {EPSLN} from './constants';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
export default function (phi: number, sphi: number, cphi: number, en: readonly number[]) {
|
|
7
7
|
cphi *= sphi;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
export default function (eccent: number, sinphi: number) {
|
|
7
7
|
var con;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
export default function (x: number) {
|
|
7
7
|
return x < 0 ? -1 : 1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
export default function (x: number) {
|
|
7
7
|
var r = Math.exp(x);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
export default function (esinp: number, exp: number) {
|
|
7
7
|
return Math.pow((1 - esinp) / (1 + esinp), exp);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
4
|
// SPDX-FileCopyrightText: Copyright (c) PROJ contributors
|
|
5
|
-
// SPDX-FileComment: Adapted from proj4js 2.22.0; stable half-angle evaluation adapted from PROJ 9.5.1 src/tsfn.cpp (MIT). See ../../../../
|
|
5
|
+
// SPDX-FileComment: Adapted from proj4js 2.22.0; stable half-angle evaluation adapted from PROJ 9.5.1 src/tsfn.cpp (MIT). See ../../../../PROJ-LICENSE.txt. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
6
6
|
|
|
7
7
|
export default function (eccent: number, phi: number, sinphi: number) {
|
|
8
8
|
// PROJ's sign-dependent half-angle identities avoid cancellation near poles.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0, modified to write into caller-owned storage without temporary result objects. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0, modified to write into caller-owned storage without temporary result objects. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
|
|
5
5
|
|
|
6
6
|
import type {Point} from '../kernel';
|
|
7
7
|
|
|
@@ -75,3 +75,11 @@ export type {
|
|
|
75
75
|
Projection,
|
|
76
76
|
PreparedProjection
|
|
77
77
|
} from '../types';
|
|
78
|
+
|
|
79
|
+
export type {
|
|
80
|
+
ProjectionAlgorithmIdentity,
|
|
81
|
+
ProjectionCRSDescription,
|
|
82
|
+
ProjectionTransformStage,
|
|
83
|
+
ProjectionDirectionDescription,
|
|
84
|
+
ProjectionTransformDescription
|
|
85
|
+
} from '../transform-description';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md.
|
|
5
5
|
|
|
6
6
|
const datums: Record<
|
|
7
7
|
string,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md.
|
|
5
5
|
|
|
6
6
|
const ellipsoids: Record<string, {a: number; b?: number; rf?: number; ellipseName: string}> = {
|
|
7
7
|
MERIT: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
|
-
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../
|
|
4
|
+
// SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md.
|
|
5
5
|
|
|
6
6
|
const primeMeridian: Record<string, number> = {};
|
|
7
7
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
4
|
// SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
|
|
5
|
-
// SPDX-FileComment: Original adapter; datum lookup and method/parameter normalization rules are adapted from proj4js 2.22.0 and its MIT-licensed wkt-parser dependency. See ../../../../
|
|
5
|
+
// SPDX-FileComment: Original adapter; datum lookup and method/parameter normalization rules are adapted from proj4js 2.22.0 and its MIT-licensed wkt-parser dependency. See ../../../../PROJ4-LICENSE.md.
|
|
6
6
|
import {datumNameKey, getDatumDefinitions} from './datum-catalog';
|
|
7
7
|
import {DEGREES_TO_RADIANS} from '../parameters';
|
|
8
8
|
import {unsupportedStage} from './types';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// math.gl
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
|
|
4
|
-
// SPDX-FileComment: Original adapter; named-axis fallback inspired by proj4js 2.22.0 / wkt-parser (MIT). See ../../../../
|
|
4
|
+
// SPDX-FileComment: Original adapter; named-axis fallback inspired by proj4js 2.22.0 / wkt-parser (MIT). See ../../../../PROJ4-LICENSE.md for upstream attribution.
|
|
5
5
|
import {inferCRSRepresentation} from '../../../crs/spatial-reference';
|
|
6
6
|
import {parseWKTCRS} from '../../../crs/wkt-crs';
|
|
7
7
|
import type {WKTCRSNode} from '../../../crs/index';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
|
|
4
4
|
// SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
|
|
5
|
-
// SPDX-FileComment: Helmert equations directly adapted from proj4js 2.22.0 datumUtils.js. See ../../../
|
|
5
|
+
// SPDX-FileComment: Helmert equations directly adapted from proj4js 2.22.0 datumUtils.js. See ../../../PROJ4-LICENSE.md. Geocentric equations now delegate to the attributed @math.gl/core leaf.
|
|
6
6
|
import {spheroidToCartesian, cartesianToSpheroid} from '@math.gl/core';
|
|
7
7
|
import type {Datum, Ellipsoid} from './crs/types';
|
|
8
8
|
import type {ProjectionPoint} from './types';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: Copyright (c) PROJ contributors
|
|
4
4
|
// SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
|
|
5
|
-
// SPDX-FileComment: Ellipsoidal gnomonic dispatch and inverse Newton equations adapted from PROJ 9.5.1 src/projections/gnom.cpp (Karney geodesic formulation). See ../../../
|
|
5
|
+
// SPDX-FileComment: Ellipsoidal gnomonic dispatch and inverse Newton equations adapted from PROJ 9.5.1 src/projections/gnom.cpp (Karney geodesic formulation). See ../../../PROJ-LICENSE.txt. Geodesic evaluation uses the shared ellipsoid engine; public optional polygon/line facade code stays out of projection bundles.
|
|
6
6
|
import {createGeodesicEngine, nonAreaGeodesicMask} from '../../ellipsoid-geodesic';
|
|
7
7
|
import type {KernelParameters, Point} from './kernel';
|
|
8
8
|
import adjust_lon from './common/adjust_lon';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// SPDX-FileCopyrightText: Copyright (c) 2016, Thomas Knudsen / SDFE (PROJ)
|
|
4
4
|
// SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
|
|
5
|
-
// SPDX-FileComment: Exact rotation matrix adapted from PROJ 9.5.1 src/transformations/helmert.cpp. See ../../../
|
|
5
|
+
// SPDX-FileComment: Exact rotation matrix adapted from PROJ 9.5.1 src/transformations/helmert.cpp. See ../../../PROJ-LICENSE.txt. Modified into prepared, typed, allocation-free point operations. Existing small-angle Helmert equations remain the proj4js adaptation in datum.ts.
|
|
6
6
|
import type {ProjectionPoint} from './types';
|
|
7
7
|
|
|
8
8
|
type Operation = (point: ProjectionPoint) => void;
|