@math.gl/geospatial 5.0.0-alpha.18 → 5.0.0-alpha.19
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 +12 -0
- package/crs/README.md +84 -0
- package/crs/schemas/README.md +9 -0
- package/crs/schemas/projjson.schema.json +1174 -0
- package/dist/crs/crs-metadata.cjs +67 -0
- package/dist/crs/crs-metadata.cjs.map +6 -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/index.cjs +916 -0
- package/dist/crs/index.cjs.map +6 -0
- package/dist/crs/index.d.ts +12 -0
- package/dist/crs/index.d.ts.map +1 -0
- package/dist/crs/index.js +10 -0
- package/dist/crs/index.js.map +1 -0
- package/dist/crs/proj-string.cjs +219 -0
- package/dist/crs/proj-string.cjs.map +6 -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/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/spatial-reference.cjs +80 -0
- package/dist/crs/spatial-reference.cjs.map +6 -0
- package/dist/crs/spatial-reference.d.ts +104 -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.cjs +610 -0
- package/dist/crs/wkt-crs.cjs.map +6 -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/ellipsoid-helpers/ellipsoid-transform.d.ts +1 -1
- package/dist/ellipsoid-helpers/ellipsoid-transform.d.ts.map +1 -1
- package/dist/ellipsoid-tangent-plane.d.ts +1 -1
- package/dist/ellipsoid-tangent-plane.d.ts.map +1 -1
- package/dist/ellipsoid-tangent-plane.js +1 -1
- package/dist/ellipsoid-tangent-plane.js.map +1 -1
- package/dist/ellipsoid.d.ts +1 -1
- package/dist/ellipsoid.d.ts.map +1 -1
- package/dist/entries/ellipsoid.cjs +572 -0
- package/dist/entries/ellipsoid.cjs.map +6 -0
- package/dist/entries/ellipsoid.d.ts +5 -0
- package/dist/entries/ellipsoid.d.ts.map +1 -0
- package/dist/entries/ellipsoid.js +7 -0
- package/dist/entries/ellipsoid.js.map +1 -0
- package/dist/expressions.cjs +528 -0
- package/dist/expressions.cjs.map +6 -0
- package/dist/expressions.d.ts +4 -0
- package/dist/expressions.d.ts.map +1 -0
- package/dist/expressions.js +23 -0
- package/dist/expressions.js.map +1 -0
- package/dist/geoarrow/builder-entry.cjs +699 -0
- package/dist/geoarrow/builder-entry.cjs.map +6 -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 +921 -0
- package/dist/geoarrow/codecs.js.map +1 -0
- package/dist/geoarrow/index.cjs +4089 -0
- package/dist/geoarrow/index.cjs.map +6 -0
- package/dist/geoarrow/index.d.ts +15 -0
- package/dist/geoarrow/index.d.ts.map +1 -0
- package/dist/geoarrow/index.js +11 -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 +64 -0
- package/dist/geoarrow/layout.d.ts.map +1 -0
- package/dist/geoarrow/layout.js +722 -0
- package/dist/geoarrow/layout.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.cjs +431 -0
- package/dist/geoarrow/tessellation-entry.cjs.map +6 -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 +147 -0
- package/dist/geoarrow/types.d.ts.map +1 -0
- package/dist/geoarrow/types.js +41 -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.cjs +2467 -0
- package/dist/geoarrow/wkb-entry.cjs.map +6 -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.cjs +77 -0
- package/dist/geoarrow/worker.cjs.map +6 -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/globe.cjs +1002 -0
- package/dist/globe.cjs.map +6 -0
- package/dist/globe.d.ts +10 -0
- package/dist/globe.d.ts.map +1 -0
- package/dist/globe.js +9 -0
- package/dist/globe.js.map +1 -0
- package/dist/index.cjs +154 -261
- package/dist/index.cjs.map +3 -3
- package/dist/index.d.ts +3 -15
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -9
- package/dist/index.js.map +1 -1
- 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 +1 -1
- 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/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 +1940 -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 +8 -0
- package/dist/projection/experimental/crs/normalize.d.ts.map +1 -0
- package/dist/projection/experimental/crs/normalize.js +279 -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/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 +10 -0
- package/dist/projection/experimental/crs-descriptor.d.ts.map +1 -0
- package/dist/projection/experimental/crs-descriptor.js +171 -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/entries/projections/aea.cjs +642 -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 +559 -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 +451 -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 +475 -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 +571 -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 +761 -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 +642 -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 +510 -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 +852 -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 +573 -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 +588 -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 +714 -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 +583 -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 +582 -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 +684 -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 +623 -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 +10047 -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/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 +136 -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 +103 -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 +41 -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 +12 -0
- package/dist/projection/experimental/kernels/gnom.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/gnom.js +95 -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 +23 -0
- package/dist/projection/experimental/kernels/laea.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/laea.js +278 -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 +131 -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 +89 -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 +9 -0
- package/dist/projection/experimental/kernels/ortho.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/ortho.js +91 -0
- package/dist/projection/experimental/kernels/ortho.js.map +1 -0
- package/dist/projection/experimental/kernels/poly.d.ts +13 -0
- package/dist/projection/experimental/kernels/poly.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/poly.js +141 -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 +379 -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 +104 -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 +81 -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 +195 -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 +65 -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 +156 -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 +2243 -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 +27 -0
- package/dist/projection/experimental/projection-engine.d.ts.map +1 -0
- package/dist/projection/experimental/projection-engine.js +50 -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 +20 -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 +16 -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 +91 -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 +156 -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 +11504 -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 +1961 -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 +1889 -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 +47 -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/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/tile-matrix.cjs +94 -20
- package/dist/tile-matrix.cjs.map +1 -1
- package/dist/tile-matrix.d.ts +30 -8
- package/dist/tile-matrix.d.ts.map +1 -1
- package/dist/tile-matrix.js +125 -25
- package/dist/tile-matrix.js.map +1 -1
- package/dist/tiles.cjs +303 -0
- package/dist/tiles.cjs.map +6 -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/web-mercator.cjs +20 -0
- package/dist/web-mercator.cjs.map +6 -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.cjs +1050 -0
- package/dist/wkb/index.cjs.map +6 -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 +276 -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/package.json +1053 -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 +163 -0
- package/src/crs/crs-metadata.ts +63 -0
- package/src/crs/crs.ts +36 -0
- package/src/crs/index.ts +65 -0
- package/src/crs/proj-string.ts +239 -0
- package/src/crs/projjson-schema-constants.ts +9 -0
- package/src/crs/projjson-types.ts +665 -0
- package/src/crs/spatial-reference.ts +221 -0
- package/src/crs/units-table.ts +51 -0
- package/src/crs/wkt-crs.ts +790 -0
- package/src/ellipsoid-helpers/ellipsoid-transform.ts +1 -1
- package/src/ellipsoid-tangent-plane.ts +1 -1
- package/src/ellipsoid.ts +1 -1
- package/src/entries/ellipsoid.ts +8 -0
- package/src/expressions.ts +34 -0
- package/src/geoarrow/builder-entry.ts +18 -0
- package/src/geoarrow/builder.ts +860 -0
- package/src/geoarrow/codecs.ts +1274 -0
- package/src/geoarrow/index.ts +100 -0
- package/src/geoarrow/kernels.ts +1290 -0
- package/src/geoarrow/layout.ts +899 -0
- package/src/geoarrow/tessellate.ts +133 -0
- package/src/geoarrow/tessellation-entry.ts +7 -0
- package/src/geoarrow/types.ts +219 -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/globe.ts +14 -0
- package/src/index.ts +3 -30
- package/src/make-obb-from-region.ts +1 -1
- 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/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 +13 -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 +306 -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/spatial-reference.ts +115 -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 +250 -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/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/kernel.ts +142 -0
- package/src/projection/experimental/kernels/aea.ts +170 -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 +136 -0
- package/src/projection/experimental/kernels/equi.ts +53 -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 +113 -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 +297 -0
- package/src/projection/experimental/kernels/lcc.ts +147 -0
- package/src/projection/experimental/kernels/mill.ts +60 -0
- package/src/projection/experimental/kernels/moll.ts +105 -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 +106 -0
- package/src/projection/experimental/kernels/poly.ts +156 -0
- package/src/projection/experimental/kernels/qsc.ts +369 -0
- package/src/projection/experimental/kernels/robin.ts +189 -0
- package/src/projection/experimental/kernels/sinu.ts +116 -0
- package/src/projection/experimental/kernels/somerc.ts +112 -0
- package/src/projection/experimental/kernels/stere.ts +221 -0
- package/src/projection/experimental/kernels/sterea.ts +80 -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 +179 -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 +81 -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 +34 -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 +181 -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 +74 -0
- package/src/projection/experimental/spatial-deformation.ts +115 -0
- package/src/projection/experimental/types.ts +181 -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 +79 -0
- package/src/projection/web-mercator.ts +148 -0
- package/src/subdivide-globe-mesh.ts +75 -0
- package/src/tile-matrix.ts +205 -34
- package/src/tiles.ts +28 -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 +386 -0
- package/src/wkb/wkb-reader.ts +401 -0
- package/src/wkb/wkb.ts +255 -0
- package/src/wkb/wkt.ts +375 -0
package/dist/globe.cjs
ADDED
|
@@ -0,0 +1,1002 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// dist/globe.js
|
|
30
|
+
var globe_exports = {};
|
|
31
|
+
__export(globe_exports, {
|
|
32
|
+
EllipsoidOccluder: () => EllipsoidOccluder,
|
|
33
|
+
LngLatRectangle: () => LngLatRectangle,
|
|
34
|
+
getGlobeHorizonBounds: () => getGlobeHorizonBounds,
|
|
35
|
+
makeOBBFromRegion: () => makeOBBFromRegion,
|
|
36
|
+
splitGlobeBounds: () => splitGlobeBounds,
|
|
37
|
+
subdivideGlobeMesh: () => subdivideGlobeMesh
|
|
38
|
+
});
|
|
39
|
+
module.exports = __toCommonJS(globe_exports);
|
|
40
|
+
|
|
41
|
+
// dist/lng-lat-rectangle.js
|
|
42
|
+
var import_core = require("@math.gl/core");
|
|
43
|
+
var LngLatRectangle = class {
|
|
44
|
+
/**
|
|
45
|
+
* Creates a new two dimensional region specified as longitude and latitude coordinates.
|
|
46
|
+
*
|
|
47
|
+
* @param west The westernmost longitude, in radians, in the range [-Pi, Pi].
|
|
48
|
+
* @param south The southernmost latitude, in radians, in the range [-Pi/2, Pi/2].
|
|
49
|
+
* @param east The easternmost longitude, in radians, in the range [-Pi, Pi].
|
|
50
|
+
* @param north The northernmost latitude, in radians, in the range [-Pi/2, Pi/2].
|
|
51
|
+
*/
|
|
52
|
+
constructor(west, south, east, north) {
|
|
53
|
+
this.west = west;
|
|
54
|
+
this.south = south;
|
|
55
|
+
this.east = east;
|
|
56
|
+
this.north = north;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Computes the center of a rectangle.
|
|
60
|
+
*
|
|
61
|
+
* @param rectangle The rectangle for which to find the center
|
|
62
|
+
* @param [result] The object onto which to store the result.
|
|
63
|
+
* @returns The modified result parameter or a new Cartographic instance if none was provided.
|
|
64
|
+
*/
|
|
65
|
+
static center(rectangle, result) {
|
|
66
|
+
if (!result)
|
|
67
|
+
result = new import_core.Vector3();
|
|
68
|
+
let east = rectangle.east;
|
|
69
|
+
const west = rectangle.west;
|
|
70
|
+
if (east < west) {
|
|
71
|
+
east += import_core._MathUtils.TWO_PI;
|
|
72
|
+
}
|
|
73
|
+
const longitude = (0, import_core.normalizeAngle)((west + east) * 0.5, "negative-pi-to-pi");
|
|
74
|
+
const latitude = (rectangle.south + rectangle.north) * 0.5;
|
|
75
|
+
result.x = longitude;
|
|
76
|
+
result.y = latitude;
|
|
77
|
+
result.z = 0;
|
|
78
|
+
return result;
|
|
79
|
+
}
|
|
80
|
+
get width() {
|
|
81
|
+
let east = this.east;
|
|
82
|
+
const west = this.west;
|
|
83
|
+
if (east < west) {
|
|
84
|
+
east += import_core._MathUtils.TWO_PI;
|
|
85
|
+
}
|
|
86
|
+
return east - west;
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
// dist/make-obb-from-region.js
|
|
91
|
+
var import_core7 = require("@math.gl/core");
|
|
92
|
+
var import_culling2 = require("@math.gl/geometry/culling");
|
|
93
|
+
|
|
94
|
+
// dist/ellipsoid.js
|
|
95
|
+
var import_core5 = require("@math.gl/core");
|
|
96
|
+
var import_spheroid = require("@math.gl/core/spheroid");
|
|
97
|
+
var vec3 = __toESM(require("@math.gl/core/vec3"), 1);
|
|
98
|
+
|
|
99
|
+
// dist/constants.js
|
|
100
|
+
var WGS84_RADIUS_X = 6378137;
|
|
101
|
+
var WGS84_RADIUS_Y = 6378137;
|
|
102
|
+
var WGS84_RADIUS_Z = 6356752314245179e-9;
|
|
103
|
+
var WGS84_CONSTANTS = {
|
|
104
|
+
radii: [WGS84_RADIUS_X, WGS84_RADIUS_Y, WGS84_RADIUS_Z],
|
|
105
|
+
radiiSquared: [
|
|
106
|
+
WGS84_RADIUS_X * WGS84_RADIUS_X,
|
|
107
|
+
WGS84_RADIUS_Y * WGS84_RADIUS_Y,
|
|
108
|
+
WGS84_RADIUS_Z * WGS84_RADIUS_Z
|
|
109
|
+
],
|
|
110
|
+
oneOverRadii: [1 / WGS84_RADIUS_X, 1 / WGS84_RADIUS_Y, 1 / WGS84_RADIUS_Z],
|
|
111
|
+
oneOverRadiiSquared: [
|
|
112
|
+
1 / (WGS84_RADIUS_X * WGS84_RADIUS_X),
|
|
113
|
+
1 / (WGS84_RADIUS_Y * WGS84_RADIUS_Y),
|
|
114
|
+
1 / (WGS84_RADIUS_Z * WGS84_RADIUS_Z)
|
|
115
|
+
],
|
|
116
|
+
maximumRadius: Math.max(WGS84_RADIUS_X, WGS84_RADIUS_Y, WGS84_RADIUS_Z),
|
|
117
|
+
centerToleranceSquared: 0.1
|
|
118
|
+
// EPSILON1;
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
// dist/type-utils.js
|
|
122
|
+
var import_core2 = require("@math.gl/core");
|
|
123
|
+
function identity(x) {
|
|
124
|
+
return x;
|
|
125
|
+
}
|
|
126
|
+
var scratchVector = new import_core2.Vector3();
|
|
127
|
+
function fromCartographic(cartographic, result = [], map = identity) {
|
|
128
|
+
if ("longitude" in cartographic) {
|
|
129
|
+
result[0] = map(cartographic.longitude);
|
|
130
|
+
result[1] = map(cartographic.latitude);
|
|
131
|
+
result[2] = cartographic.height;
|
|
132
|
+
} else if ("x" in cartographic) {
|
|
133
|
+
result[0] = map(cartographic.x);
|
|
134
|
+
result[1] = map(cartographic.y);
|
|
135
|
+
result[2] = cartographic.z;
|
|
136
|
+
} else {
|
|
137
|
+
result[0] = map(cartographic[0]);
|
|
138
|
+
result[1] = map(cartographic[1]);
|
|
139
|
+
result[2] = cartographic[2];
|
|
140
|
+
}
|
|
141
|
+
return result;
|
|
142
|
+
}
|
|
143
|
+
function fromCartographicToRadians(cartographic, vector = []) {
|
|
144
|
+
return fromCartographic(cartographic, vector, import_core2.config._cartographicRadians ? identity : import_core2.toRadians);
|
|
145
|
+
}
|
|
146
|
+
function toCartographicFromRadiansComponents(longitude, latitude, height, cartographic) {
|
|
147
|
+
const map = import_core2.config._cartographicRadians ? identity : import_core2.toDegrees;
|
|
148
|
+
const mappedLongitude = map(longitude), mappedLatitude = map(latitude);
|
|
149
|
+
if ("longitude" in cartographic) {
|
|
150
|
+
cartographic.longitude = mappedLongitude;
|
|
151
|
+
cartographic.latitude = mappedLatitude;
|
|
152
|
+
cartographic.height = height;
|
|
153
|
+
} else if ("x" in cartographic) {
|
|
154
|
+
cartographic.x = mappedLongitude;
|
|
155
|
+
cartographic.y = mappedLatitude;
|
|
156
|
+
cartographic.z = height;
|
|
157
|
+
} else {
|
|
158
|
+
cartographic[0] = mappedLongitude;
|
|
159
|
+
cartographic[1] = mappedLatitude;
|
|
160
|
+
cartographic[2] = height;
|
|
161
|
+
}
|
|
162
|
+
return cartographic;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
// dist/ellipsoid-helpers/ellipsoid-transform.js
|
|
166
|
+
var import_core3 = require("@math.gl/core");
|
|
167
|
+
var import_local_frame = require("@math.gl/core/local-frame");
|
|
168
|
+
var EPSILON14 = 1e-14;
|
|
169
|
+
var scratchOrigin = new import_core3.Vector3();
|
|
170
|
+
var scratchBasis = (0, import_local_frame.createLocalFrameBasis)();
|
|
171
|
+
var VECTOR_PRODUCT_LOCAL_FRAME = {
|
|
172
|
+
up: {
|
|
173
|
+
south: "east",
|
|
174
|
+
north: "west",
|
|
175
|
+
west: "south",
|
|
176
|
+
east: "north"
|
|
177
|
+
},
|
|
178
|
+
down: {
|
|
179
|
+
south: "west",
|
|
180
|
+
north: "east",
|
|
181
|
+
west: "north",
|
|
182
|
+
east: "south"
|
|
183
|
+
},
|
|
184
|
+
south: {
|
|
185
|
+
up: "west",
|
|
186
|
+
down: "east",
|
|
187
|
+
west: "down",
|
|
188
|
+
east: "up"
|
|
189
|
+
},
|
|
190
|
+
north: {
|
|
191
|
+
up: "east",
|
|
192
|
+
down: "west",
|
|
193
|
+
west: "up",
|
|
194
|
+
east: "down"
|
|
195
|
+
},
|
|
196
|
+
west: {
|
|
197
|
+
up: "north",
|
|
198
|
+
down: "south",
|
|
199
|
+
north: "down",
|
|
200
|
+
south: "up"
|
|
201
|
+
},
|
|
202
|
+
east: {
|
|
203
|
+
up: "south",
|
|
204
|
+
down: "north",
|
|
205
|
+
north: "up",
|
|
206
|
+
south: "down"
|
|
207
|
+
}
|
|
208
|
+
};
|
|
209
|
+
var degeneratePositionLocalFrame = {
|
|
210
|
+
north: [-1, 0, 0],
|
|
211
|
+
east: [0, 1, 0],
|
|
212
|
+
up: [0, 0, 1],
|
|
213
|
+
south: [1, 0, 0],
|
|
214
|
+
west: [0, -1, 0],
|
|
215
|
+
down: [0, 0, -1]
|
|
216
|
+
};
|
|
217
|
+
var scratchAxisVectors = {
|
|
218
|
+
east: new import_core3.Vector3(),
|
|
219
|
+
north: new import_core3.Vector3(),
|
|
220
|
+
up: new import_core3.Vector3(),
|
|
221
|
+
west: new import_core3.Vector3(),
|
|
222
|
+
south: new import_core3.Vector3(),
|
|
223
|
+
down: new import_core3.Vector3()
|
|
224
|
+
};
|
|
225
|
+
var scratchVector1 = new import_core3.Vector3();
|
|
226
|
+
var scratchVector2 = new import_core3.Vector3();
|
|
227
|
+
var scratchVector3 = new import_core3.Vector3();
|
|
228
|
+
function localFrameToFixedFrame(ellipsoid, firstAxis, secondAxis, thirdAxis, cartesianOrigin, result) {
|
|
229
|
+
const thirdAxisInferred = VECTOR_PRODUCT_LOCAL_FRAME[firstAxis] && VECTOR_PRODUCT_LOCAL_FRAME[firstAxis][secondAxis];
|
|
230
|
+
(0, import_core3.assert)(thirdAxisInferred && (!thirdAxis || thirdAxis === thirdAxisInferred));
|
|
231
|
+
let firstAxisVector;
|
|
232
|
+
let secondAxisVector;
|
|
233
|
+
let thirdAxisVector;
|
|
234
|
+
const origin = scratchOrigin.copy(cartesianOrigin);
|
|
235
|
+
const atPole = (0, import_core3.equals)(origin.x, 0, EPSILON14) && (0, import_core3.equals)(origin.y, 0, EPSILON14);
|
|
236
|
+
const radii = ellipsoid.radii;
|
|
237
|
+
if (radii.x === radii.y && radii.x > 0 && radii.z > 0 && radii.z <= radii.x && (!atPole || origin.z !== 0)) {
|
|
238
|
+
const { east, up } = scratchAxisVectors;
|
|
239
|
+
if (atPole) {
|
|
240
|
+
east.set(0, 1, 0);
|
|
241
|
+
up.set(0, 0, Math.sign(origin.z));
|
|
242
|
+
} else {
|
|
243
|
+
east.set(-origin.y, origin.x, 0).normalize();
|
|
244
|
+
ellipsoid.geodeticSurfaceNormal(origin, up);
|
|
245
|
+
}
|
|
246
|
+
if (!(0, import_local_frame.eastNorthUpBasisFromDirections)(east, up, scratchBasis) || !(0, import_local_frame.localFrameToMatrix)(scratchBasis, origin, firstAxis, secondAxis, thirdAxis, result))
|
|
247
|
+
throw new Error("Unsupported local frame");
|
|
248
|
+
return result;
|
|
249
|
+
}
|
|
250
|
+
if (atPole) {
|
|
251
|
+
const sign = Math.sign(origin.z);
|
|
252
|
+
firstAxisVector = scratchVector1.fromArray(degeneratePositionLocalFrame[firstAxis]);
|
|
253
|
+
if (firstAxis !== "east" && firstAxis !== "west") {
|
|
254
|
+
firstAxisVector.scale(sign);
|
|
255
|
+
}
|
|
256
|
+
secondAxisVector = scratchVector2.fromArray(degeneratePositionLocalFrame[secondAxis]);
|
|
257
|
+
if (secondAxis !== "east" && secondAxis !== "west") {
|
|
258
|
+
secondAxisVector.scale(sign);
|
|
259
|
+
}
|
|
260
|
+
thirdAxisVector = scratchVector3.fromArray(degeneratePositionLocalFrame[thirdAxis]);
|
|
261
|
+
if (thirdAxis !== "east" && thirdAxis !== "west") {
|
|
262
|
+
thirdAxisVector.scale(sign);
|
|
263
|
+
}
|
|
264
|
+
} else {
|
|
265
|
+
const { up, east, north } = scratchAxisVectors;
|
|
266
|
+
east.set(-origin.y, origin.x, 0).normalize();
|
|
267
|
+
ellipsoid.geodeticSurfaceNormal(origin, up);
|
|
268
|
+
north.copy(up).cross(east);
|
|
269
|
+
const { down, west, south } = scratchAxisVectors;
|
|
270
|
+
down.copy(up).scale(-1);
|
|
271
|
+
west.copy(east).scale(-1);
|
|
272
|
+
south.copy(north).scale(-1);
|
|
273
|
+
firstAxisVector = scratchAxisVectors[firstAxis];
|
|
274
|
+
secondAxisVector = scratchAxisVectors[secondAxis];
|
|
275
|
+
thirdAxisVector = scratchAxisVectors[thirdAxis];
|
|
276
|
+
}
|
|
277
|
+
const ax = firstAxisVector.x, ay = firstAxisVector.y, az = firstAxisVector.z;
|
|
278
|
+
const bx = secondAxisVector.x, by = secondAxisVector.y, bz = secondAxisVector.z;
|
|
279
|
+
const cx = thirdAxisVector.x, cy = thirdAxisVector.y, cz = thirdAxisVector.z;
|
|
280
|
+
const x = origin.x, y = origin.y, z = origin.z;
|
|
281
|
+
result[0] = ax;
|
|
282
|
+
result[1] = ay;
|
|
283
|
+
result[2] = az;
|
|
284
|
+
result[3] = 0;
|
|
285
|
+
result[4] = bx;
|
|
286
|
+
result[5] = by;
|
|
287
|
+
result[6] = bz;
|
|
288
|
+
result[7] = 0;
|
|
289
|
+
result[8] = cx;
|
|
290
|
+
result[9] = cy;
|
|
291
|
+
result[10] = cz;
|
|
292
|
+
result[11] = 0;
|
|
293
|
+
result[12] = x;
|
|
294
|
+
result[13] = y;
|
|
295
|
+
result[14] = z;
|
|
296
|
+
result[15] = 1;
|
|
297
|
+
return result;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
// dist/ellipsoid-helpers/scale-to-geodetic-surface.js
|
|
301
|
+
var import_core4 = require("@math.gl/core");
|
|
302
|
+
var scratchVector4 = new import_core4.Vector3();
|
|
303
|
+
var scaleToGeodeticSurfaceIntersection = new import_core4.Vector3();
|
|
304
|
+
var scaleToGeodeticSurfaceGradient = new import_core4.Vector3();
|
|
305
|
+
function scaleToGeodeticSurface(cartesian, ellipsoid, result = []) {
|
|
306
|
+
const { oneOverRadii, oneOverRadiiSquared, centerToleranceSquared } = ellipsoid;
|
|
307
|
+
const object = cartesian;
|
|
308
|
+
const positionX = "x" in cartesian ? object.x : cartesian[0];
|
|
309
|
+
const positionY = "x" in cartesian ? object.y : cartesian[1];
|
|
310
|
+
const positionZ = "x" in cartesian ? object.z : cartesian[2];
|
|
311
|
+
if (!Number.isFinite(positionX) || !Number.isFinite(positionY) || !Number.isFinite(positionZ)) {
|
|
312
|
+
return void 0;
|
|
313
|
+
}
|
|
314
|
+
scratchVector4.set(positionX, positionY, positionZ);
|
|
315
|
+
const oneOverRadiiX = oneOverRadii.x;
|
|
316
|
+
const oneOverRadiiY = oneOverRadii.y;
|
|
317
|
+
const oneOverRadiiZ = oneOverRadii.z;
|
|
318
|
+
const x2 = positionX * positionX * oneOverRadiiX * oneOverRadiiX;
|
|
319
|
+
const y2 = positionY * positionY * oneOverRadiiY * oneOverRadiiY;
|
|
320
|
+
const z2 = positionZ * positionZ * oneOverRadiiZ * oneOverRadiiZ;
|
|
321
|
+
const squaredNorm = x2 + y2 + z2;
|
|
322
|
+
const ratio = Math.sqrt(1 / squaredNorm);
|
|
323
|
+
if (!Number.isFinite(ratio) || !Number.isFinite(squaredNorm)) {
|
|
324
|
+
return void 0;
|
|
325
|
+
}
|
|
326
|
+
const intersection = scaleToGeodeticSurfaceIntersection;
|
|
327
|
+
intersection.set(positionX, positionY, positionZ).scale(ratio);
|
|
328
|
+
if (squaredNorm < centerToleranceSquared) {
|
|
329
|
+
return writeResult(result, intersection.x, intersection.y, intersection.z);
|
|
330
|
+
}
|
|
331
|
+
const oneOverRadiiSquaredX = oneOverRadiiSquared.x;
|
|
332
|
+
const oneOverRadiiSquaredY = oneOverRadiiSquared.y;
|
|
333
|
+
const oneOverRadiiSquaredZ = oneOverRadiiSquared.z;
|
|
334
|
+
const gradient = scaleToGeodeticSurfaceGradient;
|
|
335
|
+
gradient.set(intersection.x * oneOverRadiiSquaredX * 2, intersection.y * oneOverRadiiSquaredY * 2, intersection.z * oneOverRadiiSquaredZ * 2);
|
|
336
|
+
let lambda = (1 - ratio) * scratchVector4.len() / (0.5 * gradient.len());
|
|
337
|
+
let correction = 0;
|
|
338
|
+
let xMultiplier;
|
|
339
|
+
let yMultiplier;
|
|
340
|
+
let zMultiplier;
|
|
341
|
+
let func;
|
|
342
|
+
for (let iteration = 0; iteration < 64; iteration++) {
|
|
343
|
+
lambda -= correction;
|
|
344
|
+
xMultiplier = 1 / (1 + lambda * oneOverRadiiSquaredX);
|
|
345
|
+
yMultiplier = 1 / (1 + lambda * oneOverRadiiSquaredY);
|
|
346
|
+
zMultiplier = 1 / (1 + lambda * oneOverRadiiSquaredZ);
|
|
347
|
+
const xMultiplier2 = xMultiplier * xMultiplier;
|
|
348
|
+
const yMultiplier2 = yMultiplier * yMultiplier;
|
|
349
|
+
const zMultiplier2 = zMultiplier * zMultiplier;
|
|
350
|
+
const xMultiplier3 = xMultiplier2 * xMultiplier;
|
|
351
|
+
const yMultiplier3 = yMultiplier2 * yMultiplier;
|
|
352
|
+
const zMultiplier3 = zMultiplier2 * zMultiplier;
|
|
353
|
+
func = x2 * xMultiplier2 + y2 * yMultiplier2 + z2 * zMultiplier2 - 1;
|
|
354
|
+
if (!Number.isFinite(func))
|
|
355
|
+
return void 0;
|
|
356
|
+
if (Math.abs(func) <= import_core4._MathUtils.EPSILON12) {
|
|
357
|
+
return writeResult(result, positionX * xMultiplier, positionY * yMultiplier, positionZ * zMultiplier);
|
|
358
|
+
}
|
|
359
|
+
const denominator = x2 * xMultiplier3 * oneOverRadiiSquaredX + y2 * yMultiplier3 * oneOverRadiiSquaredY + z2 * zMultiplier3 * oneOverRadiiSquaredZ;
|
|
360
|
+
const derivative = -2 * denominator;
|
|
361
|
+
if (!Number.isFinite(derivative) || derivative === 0)
|
|
362
|
+
return void 0;
|
|
363
|
+
correction = func / derivative;
|
|
364
|
+
if (!Number.isFinite(correction))
|
|
365
|
+
return void 0;
|
|
366
|
+
}
|
|
367
|
+
return void 0;
|
|
368
|
+
}
|
|
369
|
+
function writeResult(result, x, y, z) {
|
|
370
|
+
if ((0, import_core4.isArray)(result)) {
|
|
371
|
+
result[0] = x;
|
|
372
|
+
result[1] = y;
|
|
373
|
+
result[2] = z;
|
|
374
|
+
} else {
|
|
375
|
+
const point = result;
|
|
376
|
+
point.x = x;
|
|
377
|
+
point.y = y;
|
|
378
|
+
point.z = z;
|
|
379
|
+
}
|
|
380
|
+
return result;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
// dist/ellipsoid.js
|
|
384
|
+
var spheroidScratch = { x: 0, y: 0, z: 0 };
|
|
385
|
+
var scratchVector5 = new import_core5.Vector3();
|
|
386
|
+
var scratchNormal = new import_core5.Vector3();
|
|
387
|
+
var scratchK = new import_core5.Vector3();
|
|
388
|
+
var scratchPosition = new import_core5.Vector3();
|
|
389
|
+
var scratchHeight = new import_core5.Vector3();
|
|
390
|
+
var scratchCartesian = new import_core5.Vector3();
|
|
391
|
+
var Ellipsoid = class _Ellipsoid {
|
|
392
|
+
/** Construct from two-axis geometry, including normalized projection ellipsoids.
|
|
393
|
+
* The equatorial X/Y radii are equal; no CRS or datum information is inferred.
|
|
394
|
+
*/
|
|
395
|
+
static fromSpheroid(parameters) {
|
|
396
|
+
const { semiMajorAxis, semiMinorAxis } = parameters;
|
|
397
|
+
validateSpheroid(semiMajorAxis, semiMinorAxis);
|
|
398
|
+
return new _Ellipsoid(semiMajorAxis, semiMajorAxis, semiMinorAxis);
|
|
399
|
+
}
|
|
400
|
+
constructor(x = 0, y = 0, z = 0) {
|
|
401
|
+
this.centerToleranceSquared = import_core5._MathUtils.EPSILON1;
|
|
402
|
+
(0, import_core5.assert)(x >= 0);
|
|
403
|
+
(0, import_core5.assert)(y >= 0);
|
|
404
|
+
(0, import_core5.assert)(z >= 0);
|
|
405
|
+
this.radii = new import_core5.Vector3(x, y, z);
|
|
406
|
+
this.radiiSquared = new import_core5.Vector3(x * x, y * y, z * z);
|
|
407
|
+
this.radiiToTheFourth = new import_core5.Vector3(x * x * x * x, y * y * y * y, z * z * z * z);
|
|
408
|
+
this.oneOverRadii = new import_core5.Vector3(x === 0 ? 0 : 1 / x, y === 0 ? 0 : 1 / y, z === 0 ? 0 : 1 / z);
|
|
409
|
+
this.oneOverRadiiSquared = new import_core5.Vector3(x === 0 ? 0 : 1 / (x * x), y === 0 ? 0 : 1 / (y * y), z === 0 ? 0 : 1 / (z * z));
|
|
410
|
+
this.minimumRadius = Math.min(x, y, z);
|
|
411
|
+
this.maximumRadius = Math.max(x, y, z);
|
|
412
|
+
if (this.radiiSquared.z !== 0) {
|
|
413
|
+
this.squaredXOverSquaredZ = this.radiiSquared.x / this.radiiSquared.z;
|
|
414
|
+
}
|
|
415
|
+
if (x === y && z > 0 && z <= x && Number.isFinite(this.radiiSquared.x) && this.radiiSquared.z > 0)
|
|
416
|
+
this.spheroidGeometry = Object.freeze({
|
|
417
|
+
semiMajorAxis: x,
|
|
418
|
+
semiMinorAxis: z,
|
|
419
|
+
eccentricitySquared: 1 - this.radiiSquared.z / this.radiiSquared.x
|
|
420
|
+
});
|
|
421
|
+
Object.freeze(this);
|
|
422
|
+
}
|
|
423
|
+
/** Return an owned geometry snapshot for a sphere or oblate spheroid.
|
|
424
|
+
* Triaxial, prolate and degenerate ellipsoids cannot be represented by this contract.
|
|
425
|
+
* Call during setup, outside coordinate loops.
|
|
426
|
+
*/
|
|
427
|
+
toSpheroid() {
|
|
428
|
+
const { x, y, z } = this.radii;
|
|
429
|
+
if (x !== y)
|
|
430
|
+
throw new Error("Spheroid requires equal X/Y radii");
|
|
431
|
+
validateSpheroid(x, z);
|
|
432
|
+
return Object.freeze({ semiMajorAxis: x, semiMinorAxis: z });
|
|
433
|
+
}
|
|
434
|
+
/** Compares this Ellipsoid against the provided Ellipsoid componentwise */
|
|
435
|
+
equals(right) {
|
|
436
|
+
return this === right || Boolean(right && this.radii.equals(right.radii));
|
|
437
|
+
}
|
|
438
|
+
/** Creates a string representing this Ellipsoid in the format '(radii.x, radii.y, radii.z)'. */
|
|
439
|
+
toString() {
|
|
440
|
+
return this.radii.toString();
|
|
441
|
+
}
|
|
442
|
+
cartographicToCartesian(cartographic, result = [0, 0, 0]) {
|
|
443
|
+
if (this.spheroidGeometry) {
|
|
444
|
+
const llh = fromCartographicToRadians(cartographic, scratchCartesian);
|
|
445
|
+
spheroidScratch.x = llh[0];
|
|
446
|
+
spheroidScratch.y = llh[1];
|
|
447
|
+
spheroidScratch.z = llh[2];
|
|
448
|
+
if (!(0, import_spheroid.spheroidToCartesian)(spheroidScratch, this.spheroidGeometry))
|
|
449
|
+
return void 0;
|
|
450
|
+
return writeResult(result, spheroidScratch.x, spheroidScratch.y, spheroidScratch.z);
|
|
451
|
+
}
|
|
452
|
+
const normal = scratchNormal;
|
|
453
|
+
const k = scratchK;
|
|
454
|
+
const [, , height] = cartographic;
|
|
455
|
+
this.geodeticSurfaceNormalCartographic(cartographic, normal);
|
|
456
|
+
k.copy(this.radiiSquared).scale(normal);
|
|
457
|
+
const gamma = Math.sqrt(normal.dot(k));
|
|
458
|
+
k.scale(1 / gamma);
|
|
459
|
+
normal.scale(height);
|
|
460
|
+
k.add(normal);
|
|
461
|
+
return k.to(result);
|
|
462
|
+
}
|
|
463
|
+
cartesianToCartographic(cartesian, result = [0, 0, 0]) {
|
|
464
|
+
const object = cartesian;
|
|
465
|
+
const x = "x" in cartesian ? object.x : cartesian[0];
|
|
466
|
+
const y = "x" in cartesian ? object.y : cartesian[1];
|
|
467
|
+
const z = "x" in cartesian ? object.z : cartesian[2];
|
|
468
|
+
if (!Number.isFinite(x) || !Number.isFinite(y) || !Number.isFinite(z))
|
|
469
|
+
return void 0;
|
|
470
|
+
if (this.spheroidGeometry && Number.isFinite(x * x + y * y + z * z) && Number.isFinite(this.oneOverRadiiSquared.x) && Number.isFinite(this.oneOverRadiiSquared.z)) {
|
|
471
|
+
spheroidScratch.x = x;
|
|
472
|
+
spheroidScratch.y = y;
|
|
473
|
+
spheroidScratch.z = z;
|
|
474
|
+
if (!(0, import_spheroid.cartesianToSpheroid)(spheroidScratch, this.spheroidGeometry))
|
|
475
|
+
return void 0;
|
|
476
|
+
const longitude2 = x === 0 && y === 0 ? Math.atan2(y, x) : spheroidScratch.x;
|
|
477
|
+
return toCartographicFromRadiansComponents(longitude2, spheroidScratch.y, spheroidScratch.z, result);
|
|
478
|
+
}
|
|
479
|
+
scratchCartesian.set(x, y, z);
|
|
480
|
+
const point = this.scaleToGeodeticSurface(scratchCartesian, scratchPosition);
|
|
481
|
+
if (!point) {
|
|
482
|
+
return void 0;
|
|
483
|
+
}
|
|
484
|
+
const normal = this.geodeticSurfaceNormal(point, scratchNormal);
|
|
485
|
+
const h = scratchHeight;
|
|
486
|
+
h.copy(scratchCartesian).subtract(point);
|
|
487
|
+
const longitude = Math.atan2(normal.y, normal.x);
|
|
488
|
+
const latitude = Math.atan2(normal.z, Math.hypot(normal.x, normal.y));
|
|
489
|
+
const height = Math.sign(vec3.dot(h, scratchCartesian)) * vec3.length(h);
|
|
490
|
+
return toCartographicFromRadiansComponents(longitude, latitude, height, result);
|
|
491
|
+
}
|
|
492
|
+
eastNorthUpToFixedFrame(origin, result = new import_core5.Matrix4()) {
|
|
493
|
+
return localFrameToFixedFrame(this, "east", "north", "up", origin, result);
|
|
494
|
+
}
|
|
495
|
+
// Computes a 4x4 transformation matrix from a reference frame centered at
|
|
496
|
+
// the provided origin to the ellipsoid's fixed reference frame.
|
|
497
|
+
localFrameToFixedFrame(firstAxis, secondAxis, thirdAxis, origin, result = new import_core5.Matrix4()) {
|
|
498
|
+
return localFrameToFixedFrame(this, firstAxis, secondAxis, thirdAxis, origin, result);
|
|
499
|
+
}
|
|
500
|
+
geocentricSurfaceNormal(cartesian, result = [0, 0, 0]) {
|
|
501
|
+
return scratchVector5.from(cartesian).normalize().to(result);
|
|
502
|
+
}
|
|
503
|
+
geodeticSurfaceNormalCartographic(cartographic, result = [0, 0, 0]) {
|
|
504
|
+
const cartographicVectorRadians = fromCartographicToRadians(cartographic);
|
|
505
|
+
const longitude = cartographicVectorRadians[0];
|
|
506
|
+
const latitude = cartographicVectorRadians[1];
|
|
507
|
+
const cosLatitude = Math.cos(latitude);
|
|
508
|
+
scratchVector5.set(cosLatitude * Math.cos(longitude), cosLatitude * Math.sin(longitude), Math.sin(latitude)).normalize();
|
|
509
|
+
return scratchVector5.to(result);
|
|
510
|
+
}
|
|
511
|
+
geodeticSurfaceNormal(cartesian, result = [0, 0, 0]) {
|
|
512
|
+
return scratchVector5.from(cartesian).scale(this.oneOverRadiiSquared).normalize().to(result);
|
|
513
|
+
}
|
|
514
|
+
/** Scales the provided Cartesian position along the geodetic surface normal
|
|
515
|
+
* so that it is on the surface of this ellipsoid. If the position is
|
|
516
|
+
* at the center of the ellipsoid, this function returns undefined. */
|
|
517
|
+
scaleToGeodeticSurface(cartesian, result) {
|
|
518
|
+
return scaleToGeodeticSurface(cartesian, this, result);
|
|
519
|
+
}
|
|
520
|
+
/** Scales the provided Cartesian position along the geocentric surface normal
|
|
521
|
+
* so that it is on the surface of this ellipsoid. */
|
|
522
|
+
scaleToGeocentricSurface(cartesian, result = [0, 0, 0]) {
|
|
523
|
+
scratchPosition.from(cartesian);
|
|
524
|
+
const positionX = scratchPosition.x;
|
|
525
|
+
const positionY = scratchPosition.y;
|
|
526
|
+
const positionZ = scratchPosition.z;
|
|
527
|
+
const oneOverRadiiSquared = this.oneOverRadiiSquared;
|
|
528
|
+
const beta = 1 / Math.sqrt(positionX * positionX * oneOverRadiiSquared.x + positionY * positionY * oneOverRadiiSquared.y + positionZ * positionZ * oneOverRadiiSquared.z);
|
|
529
|
+
return scratchPosition.multiplyByScalar(beta).to(result);
|
|
530
|
+
}
|
|
531
|
+
/** Transforms a Cartesian X, Y, Z position to the ellipsoid-scaled space by multiplying
|
|
532
|
+
* its components by the result of `Ellipsoid#oneOverRadii` */
|
|
533
|
+
transformPositionToScaledSpace(position, result = [0, 0, 0]) {
|
|
534
|
+
return scratchPosition.from(position).scale(this.oneOverRadii).to(result);
|
|
535
|
+
}
|
|
536
|
+
/** Transforms a Cartesian X, Y, Z position from the ellipsoid-scaled space by multiplying
|
|
537
|
+
* its components by the result of `Ellipsoid#radii`. */
|
|
538
|
+
transformPositionFromScaledSpace(position, result = [0, 0, 0]) {
|
|
539
|
+
return scratchPosition.from(position).scale(this.radii).to(result);
|
|
540
|
+
}
|
|
541
|
+
/** Computes a point which is the intersection of the surface normal with the z-axis. */
|
|
542
|
+
getSurfaceNormalIntersectionWithZAxis(position, buffer = 0, result = [0, 0, 0]) {
|
|
543
|
+
(0, import_core5.assert)((0, import_core5.equals)(this.radii.x, this.radii.y, import_core5._MathUtils.EPSILON15));
|
|
544
|
+
(0, import_core5.assert)(this.radii.z > 0);
|
|
545
|
+
scratchPosition.from(position);
|
|
546
|
+
const z = scratchPosition.z * (1 - this.squaredXOverSquaredZ);
|
|
547
|
+
if (Math.abs(z) >= this.radii.z - buffer) {
|
|
548
|
+
return void 0;
|
|
549
|
+
}
|
|
550
|
+
return scratchPosition.set(0, 0, z).to(result);
|
|
551
|
+
}
|
|
552
|
+
};
|
|
553
|
+
Ellipsoid.WGS84 = new Ellipsoid(WGS84_RADIUS_X, WGS84_RADIUS_Y, WGS84_RADIUS_Z);
|
|
554
|
+
function validateSpheroid(a, b) {
|
|
555
|
+
if (!Number.isFinite(a) || !Number.isFinite(b) || a <= 0 || b <= 0 || b > a)
|
|
556
|
+
throw new Error("Spheroid requires finite positive axes with semiMinorAxis <= semiMajorAxis");
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
// dist/ellipsoid-tangent-plane.js
|
|
560
|
+
var import_core6 = require("@math.gl/core");
|
|
561
|
+
var import_culling = require("@math.gl/geometry/culling");
|
|
562
|
+
var scratchOrigin2 = new import_core6.Vector3();
|
|
563
|
+
var scratchCart3 = new import_core6.Vector3();
|
|
564
|
+
var scratchEastNorthUp = new import_core6.Matrix4();
|
|
565
|
+
var scratchProjectPointOntoPlaneCartesian3 = new import_core6.Vector3();
|
|
566
|
+
var EllipsoidTangentPlane = class {
|
|
567
|
+
/**
|
|
568
|
+
* Creates a new plane tangent to the WGS84 ellipsoid at the provided origin.
|
|
569
|
+
* If origin is not on the surface of the ellipsoid, its surface projection will be used.
|
|
570
|
+
*
|
|
571
|
+
* @param origin A nonzero Cartesian point on or near the ellipsoid.
|
|
572
|
+
* @param ellipsoid The ellipsoid to which the origin belongs. Defaults to WGS84.
|
|
573
|
+
*/
|
|
574
|
+
constructor(origin, ellipsoid = Ellipsoid.WGS84) {
|
|
575
|
+
const originOnSurface = ellipsoid.scaleToGeodeticSurface(origin, scratchOrigin2);
|
|
576
|
+
const eastNorthUp = ellipsoid.eastNorthUpToFixedFrame(originOnSurface, scratchEastNorthUp);
|
|
577
|
+
this._origin = new import_core6.Vector3(originOnSurface);
|
|
578
|
+
this._xAxis = new import_core6.Vector3(scratchCart3.from(eastNorthUp.getColumn(0)));
|
|
579
|
+
this._yAxis = new import_core6.Vector3(scratchCart3.from(eastNorthUp.getColumn(1)));
|
|
580
|
+
const normal = new import_core6.Vector3(scratchCart3.from(eastNorthUp.getColumn(2)));
|
|
581
|
+
this._plane = new import_culling.Plane().fromPointNormal(this._origin, normal);
|
|
582
|
+
}
|
|
583
|
+
/**
|
|
584
|
+
* Computes the projection of the provided 3D position onto the 2D plane, along the plane normal.
|
|
585
|
+
*
|
|
586
|
+
* @param cartesian The WGS84 Cartesian point to project.
|
|
587
|
+
* @param result The optional object in which to store the local east-north coordinates.
|
|
588
|
+
* @returns The supplied result or a new Vector2.
|
|
589
|
+
*/
|
|
590
|
+
projectPointToNearestOnPlane(cartesian, result) {
|
|
591
|
+
if (!result)
|
|
592
|
+
result = new import_core6.Vector2();
|
|
593
|
+
const intersectionPoint = this._plane.projectPointOntoPlane(cartesian, scratchProjectPointOntoPlaneCartesian3);
|
|
594
|
+
const v = intersectionPoint.subtract(this._origin);
|
|
595
|
+
const x = this._xAxis.dot(v);
|
|
596
|
+
const y = this._yAxis.dot(v);
|
|
597
|
+
result.x = x;
|
|
598
|
+
result.y = y;
|
|
599
|
+
return result;
|
|
600
|
+
}
|
|
601
|
+
get plane() {
|
|
602
|
+
return this._plane;
|
|
603
|
+
}
|
|
604
|
+
get origin() {
|
|
605
|
+
return this._origin;
|
|
606
|
+
}
|
|
607
|
+
get xAxis() {
|
|
608
|
+
return this._xAxis;
|
|
609
|
+
}
|
|
610
|
+
get yAxis() {
|
|
611
|
+
return this._yAxis;
|
|
612
|
+
}
|
|
613
|
+
get zAxis() {
|
|
614
|
+
return this._plane.normal;
|
|
615
|
+
}
|
|
616
|
+
};
|
|
617
|
+
|
|
618
|
+
// dist/make-obb-from-region.js
|
|
619
|
+
var scratchOffset = new import_core7.Vector3();
|
|
620
|
+
var scratchTangentPoint = new import_core7.Vector3();
|
|
621
|
+
var scratchPerimeterCartographicNC = new import_core7.Vector3();
|
|
622
|
+
var scratchPerimeterCartographicNW = new import_core7.Vector3();
|
|
623
|
+
var scratchPerimeterCartographicCW = new import_core7.Vector3();
|
|
624
|
+
var scratchPerimeterCartographicSW = new import_core7.Vector3();
|
|
625
|
+
var scratchPerimeterCartographicSC = new import_core7.Vector3();
|
|
626
|
+
var scratchPerimeterCartesianNC = new import_core7.Vector3();
|
|
627
|
+
var scratchPerimeterCartesianNW = new import_core7.Vector3();
|
|
628
|
+
var scratchPerimeterCartesianCW = new import_core7.Vector3();
|
|
629
|
+
var scratchPerimeterCartesianSW = new import_core7.Vector3();
|
|
630
|
+
var scratchPerimeterCartesianSC = new import_core7.Vector3();
|
|
631
|
+
var scratchPerimeterProjectedNC = new import_core7.Vector2();
|
|
632
|
+
var scratchPerimeterProjectedNW = new import_core7.Vector2();
|
|
633
|
+
var scratchPerimeterProjectedCW = new import_core7.Vector2();
|
|
634
|
+
var scratchPerimeterProjectedSW = new import_core7.Vector2();
|
|
635
|
+
var scratchPerimeterProjectedSC = new import_core7.Vector2();
|
|
636
|
+
var scratchPlane = new import_culling2.Plane();
|
|
637
|
+
var scratchPlaneOrigin = new import_core7.Vector3();
|
|
638
|
+
var scratchPlaneNormal = new import_core7.Vector3();
|
|
639
|
+
var scratchPlaneXAxis = new import_core7.Vector3();
|
|
640
|
+
var scratchHorizonCartesian = new import_core7.Vector3();
|
|
641
|
+
var scratchHorizonProjected = new import_core7.Vector2();
|
|
642
|
+
var scratchMaxY = new import_core7.Vector3();
|
|
643
|
+
var scratchZ = new import_core7.Vector3();
|
|
644
|
+
var VECTOR3_UNIT_X = new import_core7.Vector3(1, 0, 0);
|
|
645
|
+
var VECTOR3_UNIT_Z = new import_core7.Vector3(0, 0, 1);
|
|
646
|
+
function makeOBBFromRegion(region, ellipsoid = Ellipsoid.WGS84, options = {}) {
|
|
647
|
+
if (!region || region.length !== 6 || region.some((value) => !Number.isFinite(value))) {
|
|
648
|
+
throw new Error("makeOBBFromRegion: region must contain exactly six finite numbers");
|
|
649
|
+
}
|
|
650
|
+
const unitScale = options.units === "degrees" ? (0, import_core7.radians)(1) : 1;
|
|
651
|
+
const [rawWest, rawSouth, rawEast, rawNorth, minimumHeight, maximumHeight] = region;
|
|
652
|
+
if (minimumHeight > maximumHeight) {
|
|
653
|
+
throw new Error("makeOBBFromRegion: minimumHeight must not exceed maximumHeight");
|
|
654
|
+
}
|
|
655
|
+
const south = rawSouth * unitScale;
|
|
656
|
+
const north = rawNorth * unitScale;
|
|
657
|
+
const west = normalizeLongitude(rawWest * unitScale);
|
|
658
|
+
let east = normalizeLongitude(rawEast * unitScale);
|
|
659
|
+
const directedSpan = rawEast * unitScale - rawWest * unitScale;
|
|
660
|
+
if (directedSpan >= import_core7._MathUtils.TWO_PI - 1e-12) {
|
|
661
|
+
east = west + import_core7._MathUtils.TWO_PI;
|
|
662
|
+
}
|
|
663
|
+
const latitudeTolerance = 1e-12;
|
|
664
|
+
if (south > north || south < -import_core7._MathUtils.PI_OVER_TWO - latitudeTolerance || north > import_core7._MathUtils.PI_OVER_TWO + latitudeTolerance) {
|
|
665
|
+
throw new Error("makeOBBFromRegion: latitude must be within [-\u03C0/2, \u03C0/2] and south \u2264 north");
|
|
666
|
+
}
|
|
667
|
+
const clampedSouth = Math.max(-import_core7._MathUtils.PI_OVER_TWO, Math.min(import_core7._MathUtils.PI_OVER_TWO, south));
|
|
668
|
+
const clampedNorth = Math.max(-import_core7._MathUtils.PI_OVER_TWO, Math.min(import_core7._MathUtils.PI_OVER_TWO, north));
|
|
669
|
+
return makeOBBFromNormalizedRegion([west, clampedSouth, east, clampedNorth, minimumHeight, maximumHeight], ellipsoid, options.transform);
|
|
670
|
+
}
|
|
671
|
+
function normalizeLongitude(value) {
|
|
672
|
+
const normalized = ((value + Math.PI) % import_core7._MathUtils.TWO_PI + import_core7._MathUtils.TWO_PI) % import_core7._MathUtils.TWO_PI - Math.PI;
|
|
673
|
+
return normalized === -Math.PI && value > 0 ? Math.PI : normalized;
|
|
674
|
+
}
|
|
675
|
+
function makeOBBFromNormalizedRegion(region, ellipsoid, transform) {
|
|
676
|
+
const obb = new import_culling2.OrientedBoundingBox();
|
|
677
|
+
const [west, south, east, north, minimumHeight, maximumHeight] = region;
|
|
678
|
+
const northDeg = (0, import_core7.degrees)(north);
|
|
679
|
+
const southDeg = (0, import_core7.degrees)(south);
|
|
680
|
+
let maxX;
|
|
681
|
+
let maxY;
|
|
682
|
+
let maxZ;
|
|
683
|
+
let minX;
|
|
684
|
+
let minY;
|
|
685
|
+
let minZ;
|
|
686
|
+
let plane;
|
|
687
|
+
const rectangle = new LngLatRectangle(west, south, east, north);
|
|
688
|
+
const tangentPoint = LngLatRectangle.center(rectangle, scratchTangentPoint);
|
|
689
|
+
const tangentPointCartographic = new import_core7.Vector3([
|
|
690
|
+
(0, import_core7.degrees)(tangentPoint.x),
|
|
691
|
+
(0, import_core7.degrees)(tangentPoint.y),
|
|
692
|
+
0
|
|
693
|
+
]);
|
|
694
|
+
const lonCenter = tangentPoint.x;
|
|
695
|
+
const lonCenterDeg = tangentPointCartographic.x;
|
|
696
|
+
if (rectangle.width <= import_core7._MathUtils.PI) {
|
|
697
|
+
const westDeg = (0, import_core7.degrees)(west);
|
|
698
|
+
const tangentPoint2 = ellipsoid.cartographicToCartesian(tangentPointCartographic);
|
|
699
|
+
const ellipsoidTangentPlane = new EllipsoidTangentPlane(tangentPoint2, ellipsoid);
|
|
700
|
+
const latCenter = southDeg < 0 && northDeg > 0 ? 0 : tangentPointCartographic.y;
|
|
701
|
+
const perimeterCartographicNC = scratchPerimeterCartographicNC.copy([
|
|
702
|
+
lonCenterDeg,
|
|
703
|
+
northDeg,
|
|
704
|
+
maximumHeight
|
|
705
|
+
]);
|
|
706
|
+
const perimeterCartographicNW = scratchPerimeterCartographicNW.copy([
|
|
707
|
+
westDeg,
|
|
708
|
+
northDeg,
|
|
709
|
+
maximumHeight
|
|
710
|
+
]);
|
|
711
|
+
const perimeterCartographicCW = scratchPerimeterCartographicCW.copy([
|
|
712
|
+
westDeg,
|
|
713
|
+
latCenter,
|
|
714
|
+
maximumHeight
|
|
715
|
+
]);
|
|
716
|
+
const perimeterCartographicSW = scratchPerimeterCartographicSW.copy([
|
|
717
|
+
westDeg,
|
|
718
|
+
southDeg,
|
|
719
|
+
maximumHeight
|
|
720
|
+
]);
|
|
721
|
+
const perimeterCartographicSC = scratchPerimeterCartographicSC.copy([
|
|
722
|
+
lonCenterDeg,
|
|
723
|
+
southDeg,
|
|
724
|
+
maximumHeight
|
|
725
|
+
]);
|
|
726
|
+
const perimeterCartesianNC = ellipsoid.cartographicToCartesian(perimeterCartographicNC, scratchPerimeterCartesianNC);
|
|
727
|
+
let perimeterCartesianNW = ellipsoid.cartographicToCartesian(perimeterCartographicNW, scratchPerimeterCartesianNW);
|
|
728
|
+
const perimeterCartesianCW = ellipsoid.cartographicToCartesian(perimeterCartographicCW, scratchPerimeterCartesianCW);
|
|
729
|
+
let perimeterCartesianSW = ellipsoid.cartographicToCartesian(perimeterCartographicSW, scratchPerimeterCartesianSW);
|
|
730
|
+
const perimeterCartesianSC = ellipsoid.cartographicToCartesian(perimeterCartographicSC, scratchPerimeterCartesianSC);
|
|
731
|
+
const perimeterProjectedNC = ellipsoidTangentPlane.projectPointToNearestOnPlane(perimeterCartesianNC, scratchPerimeterProjectedNC);
|
|
732
|
+
const perimeterProjectedNW = ellipsoidTangentPlane.projectPointToNearestOnPlane(perimeterCartesianNW, scratchPerimeterProjectedNW);
|
|
733
|
+
const perimeterProjectedCW = ellipsoidTangentPlane.projectPointToNearestOnPlane(perimeterCartesianCW, scratchPerimeterProjectedCW);
|
|
734
|
+
const perimeterProjectedSW = ellipsoidTangentPlane.projectPointToNearestOnPlane(perimeterCartesianSW, scratchPerimeterProjectedSW);
|
|
735
|
+
const perimeterProjectedSC = ellipsoidTangentPlane.projectPointToNearestOnPlane(perimeterCartesianSC, scratchPerimeterProjectedSC);
|
|
736
|
+
minX = Math.min(perimeterProjectedNW.x, perimeterProjectedCW.x, perimeterProjectedSW.x);
|
|
737
|
+
maxX = -minX;
|
|
738
|
+
maxY = Math.max(perimeterProjectedNW.y, perimeterProjectedNC.y);
|
|
739
|
+
minY = Math.min(perimeterProjectedSW.y, perimeterProjectedSC.y);
|
|
740
|
+
perimeterCartographicNW.z = perimeterCartographicSW.z = minimumHeight;
|
|
741
|
+
perimeterCartesianNW = ellipsoid.cartographicToCartesian(perimeterCartographicNW, scratchPerimeterCartesianNW);
|
|
742
|
+
perimeterCartesianSW = ellipsoid.cartographicToCartesian(perimeterCartographicSW, scratchPerimeterCartesianSW);
|
|
743
|
+
plane = ellipsoidTangentPlane.plane;
|
|
744
|
+
minZ = Math.min(plane.getPointDistance(perimeterCartesianNW), plane.getPointDistance(perimeterCartesianSW));
|
|
745
|
+
maxZ = maximumHeight;
|
|
746
|
+
return applyTransform(fromPlaneExtents(ellipsoidTangentPlane.origin, ellipsoidTangentPlane.xAxis, ellipsoidTangentPlane.yAxis, ellipsoidTangentPlane.zAxis, minX, maxX, minY, maxY, minZ, maxZ, obb), transform);
|
|
747
|
+
}
|
|
748
|
+
const eastDeg = (0, import_core7.degrees)(east);
|
|
749
|
+
const fullyAboveEquator = south > 0;
|
|
750
|
+
const fullyBelowEquator = north < 0;
|
|
751
|
+
const latitudeNearestToEquator = fullyAboveEquator ? southDeg : fullyBelowEquator ? northDeg : 0;
|
|
752
|
+
const planeOrigin = ellipsoid.cartographicToCartesian([lonCenterDeg, latitudeNearestToEquator, maximumHeight], scratchPlaneOrigin);
|
|
753
|
+
planeOrigin.z = 0;
|
|
754
|
+
const isPole = Math.abs(planeOrigin.x) < import_core7._MathUtils.EPSILON10 && Math.abs(planeOrigin.y) < import_core7._MathUtils.EPSILON10;
|
|
755
|
+
const planeNormal = !isPole ? scratchPlaneNormal.copy(planeOrigin).normalize() : VECTOR3_UNIT_X;
|
|
756
|
+
const planeYAxis = VECTOR3_UNIT_Z;
|
|
757
|
+
const planeXAxis = scratchPlaneXAxis.copy(planeNormal).cross(planeYAxis);
|
|
758
|
+
plane = scratchPlane.fromPointNormal(planeOrigin, planeNormal);
|
|
759
|
+
const horizonCartesian = ellipsoid.cartographicToCartesian([(0, import_core7.degrees)(lonCenter + import_core7._MathUtils.PI_OVER_TWO), latitudeNearestToEquator, maximumHeight], scratchHorizonCartesian);
|
|
760
|
+
const projectedPoint = plane.projectPointOntoPlane(horizonCartesian, scratchHorizonProjected);
|
|
761
|
+
maxX = projectedPoint.dot(planeXAxis);
|
|
762
|
+
minX = -maxX;
|
|
763
|
+
const northHeight = fullyBelowEquator ? minimumHeight : maximumHeight;
|
|
764
|
+
const southHeight = fullyAboveEquator ? minimumHeight : maximumHeight;
|
|
765
|
+
maxY = latitudeZExtent(ellipsoid, northDeg, northHeight, true);
|
|
766
|
+
minY = latitudeZExtent(ellipsoid, southDeg, southHeight, false);
|
|
767
|
+
const farZ = ellipsoid.cartographicToCartesian([eastDeg, latitudeNearestToEquator, maximumHeight], scratchZ);
|
|
768
|
+
minZ = plane.getPointDistance(farZ);
|
|
769
|
+
maxZ = 0;
|
|
770
|
+
return applyTransform(fromPlaneExtents(planeOrigin, planeXAxis, planeYAxis, planeNormal, minX, maxX, minY, maxY, minZ, maxZ, obb), transform);
|
|
771
|
+
}
|
|
772
|
+
function applyTransform(obb, transform) {
|
|
773
|
+
if (!transform)
|
|
774
|
+
return obb;
|
|
775
|
+
const axes = [0, 1, 2].map((column) => obb.halfAxes.getColumn(column, new import_core7.Vector3()));
|
|
776
|
+
const center = transform.transformAsPoint(obb.center);
|
|
777
|
+
const minimum = [Infinity, Infinity, Infinity];
|
|
778
|
+
const maximum = [-Infinity, -Infinity, -Infinity];
|
|
779
|
+
for (let mask = 0; mask < 8; mask++) {
|
|
780
|
+
const corner = new import_core7.Vector3(center);
|
|
781
|
+
for (let axis = 0; axis < 3; axis++) {
|
|
782
|
+
const transformedAxis = transform.transformAsVector(axes[axis]);
|
|
783
|
+
corner.add(new import_core7.Vector3(transformedAxis).scale((mask & 1 << axis) === 0 ? -1 : 1));
|
|
784
|
+
}
|
|
785
|
+
for (let component = 0; component < 3; component++) {
|
|
786
|
+
minimum[component] = Math.min(minimum[component], corner[component]);
|
|
787
|
+
maximum[component] = Math.max(maximum[component], corner[component]);
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
obb.center.copy(minimum).add(maximum).scale(0.5);
|
|
791
|
+
const halfSize = new import_core7.Vector3(maximum).subtract(minimum).scale(0.5);
|
|
792
|
+
obb.halfAxes = new import_core7.Matrix3().set(halfSize.x, 0, 0, 0, halfSize.y, 0, 0, 0, halfSize.z);
|
|
793
|
+
return obb;
|
|
794
|
+
}
|
|
795
|
+
function latitudeZExtent(ellipsoid, latitude, height, maximum) {
|
|
796
|
+
let extent = maximum ? -Infinity : Infinity;
|
|
797
|
+
for (const longitude of [0, 90, 180, 270]) {
|
|
798
|
+
const z = ellipsoid.cartographicToCartesian([longitude, latitude, height], scratchMaxY).z;
|
|
799
|
+
extent = maximum ? Math.max(extent, z) : Math.min(extent, z);
|
|
800
|
+
}
|
|
801
|
+
return extent;
|
|
802
|
+
}
|
|
803
|
+
function fromPlaneExtents(planeOrigin, planeXAxis, planeYAxis, planeZAxis, minimumX, maximumX, minimumY, maximumY, minimumZ, maximumZ, result) {
|
|
804
|
+
const center = result.center;
|
|
805
|
+
const halfAxes = result.halfAxes;
|
|
806
|
+
halfAxes.setColumn(0, planeXAxis);
|
|
807
|
+
halfAxes.setColumn(1, planeYAxis);
|
|
808
|
+
halfAxes.setColumn(2, planeZAxis);
|
|
809
|
+
const centerOffset = scratchOffset.set((minimumX + maximumX) / 2, (minimumY + maximumY) / 2, (minimumZ + maximumZ) / 2).transformByMatrix3(halfAxes);
|
|
810
|
+
const scaleX = (maximumX - minimumX) / 2;
|
|
811
|
+
const scaleY = (maximumY - minimumY) / 2;
|
|
812
|
+
const scaleZ = (maximumZ - minimumZ) / 2;
|
|
813
|
+
halfAxes[0] *= scaleX;
|
|
814
|
+
halfAxes[1] *= scaleX;
|
|
815
|
+
halfAxes[2] *= scaleX;
|
|
816
|
+
halfAxes[3] *= scaleY;
|
|
817
|
+
halfAxes[4] *= scaleY;
|
|
818
|
+
halfAxes[5] *= scaleY;
|
|
819
|
+
halfAxes[6] *= scaleZ;
|
|
820
|
+
halfAxes[7] *= scaleZ;
|
|
821
|
+
halfAxes[8] *= scaleZ;
|
|
822
|
+
center.copy(planeOrigin).add(centerOffset);
|
|
823
|
+
return result;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
// dist/ellipsoid-occluder.js
|
|
827
|
+
var EllipsoidOccluder = class {
|
|
828
|
+
constructor(radii, center = [0, 0, 0]) {
|
|
829
|
+
validateVector(radii);
|
|
830
|
+
validateVector(center);
|
|
831
|
+
if (Array.from(radii).some((value) => value <= 0))
|
|
832
|
+
throw new RangeError("Radii must be positive");
|
|
833
|
+
this.radii = Object.freeze(Array.from(radii));
|
|
834
|
+
this.center = Object.freeze(Array.from(center));
|
|
835
|
+
}
|
|
836
|
+
/** Nonnegative ray parameter interval, including tangency and inside-origin rays.
|
|
837
|
+
* Direction need not be normalized. Undefined is a true miss; never clamps a miss
|
|
838
|
+
* to the limb. Result is untouched on miss. Distances equal parameters only for
|
|
839
|
+
* unit directions. Zero direction is a miss.
|
|
840
|
+
*/
|
|
841
|
+
intersectRay(origin, direction, result = [0, 0]) {
|
|
842
|
+
validateVector(origin);
|
|
843
|
+
validateVector(direction);
|
|
844
|
+
const [x, y, z] = this.scalePoint(origin);
|
|
845
|
+
const dx = direction[0] / this.radii[0];
|
|
846
|
+
const dy = direction[1] / this.radii[1];
|
|
847
|
+
const dz = direction[2] / this.radii[2];
|
|
848
|
+
const length2 = Math.hypot(dx, dy, dz);
|
|
849
|
+
if (length2 === 0 || !Number.isFinite(length2))
|
|
850
|
+
return void 0;
|
|
851
|
+
const ux = dx / length2, uy = dy / length2, uz = dz / length2;
|
|
852
|
+
const along = -(x * ux + y * uy + z * uz);
|
|
853
|
+
const perpendicular = Math.hypot(y * uz - z * uy, z * ux - x * uz, x * uy - y * ux);
|
|
854
|
+
if (perpendicular > 1)
|
|
855
|
+
return void 0;
|
|
856
|
+
const half = Math.sqrt((1 - perpendicular) * (1 + perpendicular));
|
|
857
|
+
let near = along - half;
|
|
858
|
+
let far = along + half;
|
|
859
|
+
const radius = Math.hypot(x, y, z);
|
|
860
|
+
if (!Number.isFinite(radius))
|
|
861
|
+
throw new RangeError("Scaled origin magnitude must be finite");
|
|
862
|
+
if (half > 0 && along > 0 && far !== 0)
|
|
863
|
+
near = (radius - 1) / far * (radius + 1);
|
|
864
|
+
if (half > 0 && along < 0 && near !== 0)
|
|
865
|
+
far = (radius - 1) / near * (radius + 1);
|
|
866
|
+
if (far < 0)
|
|
867
|
+
return void 0;
|
|
868
|
+
result[0] = Math.max(0, Math.min(near, far)) / length2;
|
|
869
|
+
result[1] = Math.max(0, far) / length2;
|
|
870
|
+
return result;
|
|
871
|
+
}
|
|
872
|
+
/** True if the finite camera-to-point segment enters the solid interior.
|
|
873
|
+
* Surface contact/tangency alone is not occlusion. Works for elevated points;
|
|
874
|
+
* unlike a facing-normal test it does not discard visible points beyond the
|
|
875
|
+
* surface horizon. tolerance is a nonnegative scaled-space squared-radius margin.
|
|
876
|
+
*/
|
|
877
|
+
isPointOccluded(camera, point, tolerance = 1e-12) {
|
|
878
|
+
validateVector(camera);
|
|
879
|
+
validateVector(point);
|
|
880
|
+
if (!Number.isFinite(tolerance) || tolerance < 0 || tolerance >= 1)
|
|
881
|
+
throw new RangeError("Tolerance must be in [0, 1)");
|
|
882
|
+
const a = this.scalePoint(camera);
|
|
883
|
+
const b = this.scalePoint(point);
|
|
884
|
+
const dx = b[0] - a[0], dy = b[1] - a[1], dz = b[2] - a[2];
|
|
885
|
+
const length2 = Math.hypot(dx, dy, dz);
|
|
886
|
+
if (!Number.isFinite(length2))
|
|
887
|
+
throw new RangeError("Segment magnitude must be finite");
|
|
888
|
+
if (length2 === 0)
|
|
889
|
+
return Math.hypot(...a) ** 2 < 1 - tolerance;
|
|
890
|
+
const ux = dx / length2, uy = dy / length2, uz = dz / length2;
|
|
891
|
+
const distance = Math.max(0, Math.min(length2, -(a[0] * ux + a[1] * uy + a[2] * uz)));
|
|
892
|
+
return Math.hypot(a[0] + distance * ux, a[1] + distance * uy, a[2] + distance * uz) ** 2 < 1 - tolerance;
|
|
893
|
+
}
|
|
894
|
+
/** Exact apparent limb ellipse for an exterior camera; undefined on/inside surface. */
|
|
895
|
+
getHorizon(camera) {
|
|
896
|
+
validateVector(camera);
|
|
897
|
+
const scaled = this.scalePoint(camera);
|
|
898
|
+
const distance = Math.hypot(...scaled);
|
|
899
|
+
if (!Number.isFinite(distance))
|
|
900
|
+
throw new RangeError("Camera magnitude must be finite");
|
|
901
|
+
if (distance <= 1)
|
|
902
|
+
return void 0;
|
|
903
|
+
const normal = scaled.map((value) => value / distance);
|
|
904
|
+
const reference = Math.abs(normal[2]) < 0.9 ? [0, 0, 1] : [0, 1, 0];
|
|
905
|
+
const u = cross(normal, reference);
|
|
906
|
+
const uLength = Math.hypot(...u);
|
|
907
|
+
const v = cross(normal, u.map((value) => value / uLength));
|
|
908
|
+
const radius = Math.sqrt((1 - 1 / distance) * (1 + 1 / distance));
|
|
909
|
+
return {
|
|
910
|
+
center: normal.map((value, i) => this.center[i] + this.radii[i] * value / distance),
|
|
911
|
+
axis1: u.map((value, i) => this.radii[i] * radius * value / uLength),
|
|
912
|
+
axis2: v.map((value, i) => this.radii[i] * radius * value)
|
|
913
|
+
};
|
|
914
|
+
}
|
|
915
|
+
scalePoint(point) {
|
|
916
|
+
const result = this.radii.map((radius, i) => (point[i] - this.center[i]) / radius);
|
|
917
|
+
if (!result.every(Number.isFinite))
|
|
918
|
+
throw new RangeError("Scaled coordinates must be finite");
|
|
919
|
+
return result;
|
|
920
|
+
}
|
|
921
|
+
};
|
|
922
|
+
function validateVector(vector) {
|
|
923
|
+
if (vector.length !== 3 || !Array.from(vector).every(Number.isFinite))
|
|
924
|
+
throw new RangeError("Expected three finite Cartesian components");
|
|
925
|
+
}
|
|
926
|
+
function cross(a, b) {
|
|
927
|
+
return [a[1] * b[2] - a[2] * b[1], a[2] * b[0] - a[0] * b[2], a[0] * b[1] - a[1] * b[0]];
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
// dist/globe-horizon-bounds.js
|
|
931
|
+
function getGlobeHorizonBounds(camera, radius) {
|
|
932
|
+
if (camera.length !== 3 || !Array.from(camera).every(Number.isFinite) || !Number.isFinite(radius) || radius <= 0)
|
|
933
|
+
throw new RangeError("Expected a finite camera and positive sphere radius");
|
|
934
|
+
const distance = Math.hypot(camera[0], camera[1], camera[2]);
|
|
935
|
+
if (!Number.isFinite(distance))
|
|
936
|
+
throw new RangeError("Camera magnitude must be finite");
|
|
937
|
+
if (distance <= radius)
|
|
938
|
+
return void 0;
|
|
939
|
+
const latitude = Math.atan2(camera[2], Math.hypot(camera[0], camera[1]));
|
|
940
|
+
const longitude = Math.atan2(camera[1], camera[0]);
|
|
941
|
+
const angle = Math.acos(radius / distance);
|
|
942
|
+
const degrees2 = 180 / Math.PI;
|
|
943
|
+
const padding = 1e-10;
|
|
944
|
+
const south = Math.max(-90, (latitude - angle) * degrees2 - padding);
|
|
945
|
+
const north = Math.min(90, (latitude + angle) * degrees2 + padding);
|
|
946
|
+
if (Math.abs(latitude) + angle >= Math.PI / 2 - 1e-12)
|
|
947
|
+
return [-180, south, 180, north];
|
|
948
|
+
const extent = Math.asin(Math.min(1, Math.sin(angle) / Math.cos(latitude))) * degrees2 + padding;
|
|
949
|
+
return [wrap(longitude * degrees2 - extent), south, wrap(longitude * degrees2 + extent), north];
|
|
950
|
+
}
|
|
951
|
+
function splitGlobeBounds(bounds) {
|
|
952
|
+
const [west, south, east, north] = bounds;
|
|
953
|
+
if (bounds.length !== 4 || !bounds.every(Number.isFinite) || west < -180 || west > 180 || east < -180 || east > 180 || south < -90 || north > 90 || south > north)
|
|
954
|
+
throw new RangeError("Invalid degree bounds");
|
|
955
|
+
return west <= east ? [[west, south, east, north]] : [
|
|
956
|
+
[west, south, 180, north],
|
|
957
|
+
[-180, south, east, north]
|
|
958
|
+
];
|
|
959
|
+
}
|
|
960
|
+
function wrap(longitude) {
|
|
961
|
+
return ((longitude + 180) % 360 + 360) % 360 - 180;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
// dist/subdivide-globe-mesh.js
|
|
965
|
+
var import_spheroid2 = require("@math.gl/core/spheroid");
|
|
966
|
+
var import_polygon = require("@math.gl/geometry/polygon");
|
|
967
|
+
function subdivideGlobeMesh(mesh, options) {
|
|
968
|
+
const { semiMajorAxis = 6371e3, semiMinorAxis = semiMajorAxis, size = 2, ...limits } = options;
|
|
969
|
+
if (size !== 2 && size !== 3)
|
|
970
|
+
throw new RangeError("Source size must be 2 or 3");
|
|
971
|
+
if (!Number.isFinite(semiMajorAxis) || !Number.isFinite(semiMinorAxis) || semiMajorAxis <= 0 || semiMinorAxis <= 0 || semiMinorAxis > semiMajorAxis)
|
|
972
|
+
throw new RangeError("Expected positive sphere/oblate axes");
|
|
973
|
+
for (let i = 1; i < mesh.positions.length; i += size)
|
|
974
|
+
if (Math.abs(mesh.positions[i]) > 90)
|
|
975
|
+
throw new RangeError("Latitude outside [-90, 90]");
|
|
976
|
+
for (let i = 0; i < mesh.indices.length; i += 3) {
|
|
977
|
+
const longitudes = [0, 1, 2].map((j) => mesh.positions[mesh.indices[i + j] * size]);
|
|
978
|
+
if (Math.max(...longitudes) - Math.min(...longitudes) > 180)
|
|
979
|
+
throw new RangeError("Unwrap longitude seams before globe subdivision");
|
|
980
|
+
}
|
|
981
|
+
const geometry = {
|
|
982
|
+
semiMajorAxis,
|
|
983
|
+
semiMinorAxis,
|
|
984
|
+
eccentricitySquared: 1 - (semiMinorAxis / semiMajorAxis) ** 2
|
|
985
|
+
};
|
|
986
|
+
return (0, import_polygon.subdivideTriangleMesh)(mesh, {
|
|
987
|
+
...limits,
|
|
988
|
+
size,
|
|
989
|
+
targetSize: 3,
|
|
990
|
+
transform(position) {
|
|
991
|
+
const point = {
|
|
992
|
+
x: position[0] * Math.PI / 180,
|
|
993
|
+
y: position[1] * Math.PI / 180,
|
|
994
|
+
z: size === 3 ? position[2] : 0
|
|
995
|
+
};
|
|
996
|
+
if (!(0, import_spheroid2.spheroidToCartesian)(point, geometry))
|
|
997
|
+
return null;
|
|
998
|
+
return [point.x, point.y, point.z];
|
|
999
|
+
}
|
|
1000
|
+
});
|
|
1001
|
+
}
|
|
1002
|
+
//# sourceMappingURL=globe.cjs.map
|