@math.gl/geospatial 5.0.0-beta.4 → 5.0.0-beta.6

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.
Files changed (579) hide show
  1. package/README.md +192 -2
  2. package/THIRD-PARTY-NOTICES.md +192 -20
  3. package/dist/expressions.d.ts +1 -1
  4. package/dist/expressions.d.ts.map +1 -1
  5. package/dist/index.cjs +6953 -10021
  6. package/dist/index.cjs.map +3 -3
  7. package/dist/index.d.ts +40 -8
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +20 -4
  10. package/dist/index.js.map +1 -1
  11. package/dist/projection/experimental/common/adjust_lat.js +1 -1
  12. package/dist/projection/experimental/common/adjust_lat.js.map +1 -1
  13. package/dist/projection/experimental/common/adjust_lon.js +1 -1
  14. package/dist/projection/experimental/common/adjust_lon.js.map +1 -1
  15. package/dist/projection/experimental/common/asinhy.js +1 -1
  16. package/dist/projection/experimental/common/asinhy.js.map +1 -1
  17. package/dist/projection/experimental/common/asinz.js +1 -1
  18. package/dist/projection/experimental/common/asinz.js.map +1 -1
  19. package/dist/projection/experimental/common/authlat.js +1 -1
  20. package/dist/projection/experimental/common/authlat.js.map +1 -1
  21. package/dist/projection/experimental/common/authset.js +1 -1
  22. package/dist/projection/experimental/common/authset.js.map +1 -1
  23. package/dist/projection/experimental/common/clens.js +1 -1
  24. package/dist/projection/experimental/common/clens.js.map +1 -1
  25. package/dist/projection/experimental/common/clens_cmplx.js +1 -1
  26. package/dist/projection/experimental/common/clens_cmplx.js.map +1 -1
  27. package/dist/projection/experimental/common/constants.js +1 -1
  28. package/dist/projection/experimental/common/constants.js.map +1 -1
  29. package/dist/projection/experimental/common/cosh.js +1 -1
  30. package/dist/projection/experimental/common/cosh.js.map +1 -1
  31. package/dist/projection/experimental/common/e0fn.js +1 -1
  32. package/dist/projection/experimental/common/e0fn.js.map +1 -1
  33. package/dist/projection/experimental/common/e1fn.js +1 -1
  34. package/dist/projection/experimental/common/e1fn.js.map +1 -1
  35. package/dist/projection/experimental/common/e2fn.js +1 -1
  36. package/dist/projection/experimental/common/e2fn.js.map +1 -1
  37. package/dist/projection/experimental/common/e3fn.js +1 -1
  38. package/dist/projection/experimental/common/e3fn.js.map +1 -1
  39. package/dist/projection/experimental/common/fL.js +1 -1
  40. package/dist/projection/experimental/common/fL.js.map +1 -1
  41. package/dist/projection/experimental/common/gN.js +1 -1
  42. package/dist/projection/experimental/common/gN.js.map +1 -1
  43. package/dist/projection/experimental/common/gatg.js +1 -1
  44. package/dist/projection/experimental/common/gatg.js.map +1 -1
  45. package/dist/projection/experimental/common/hypot.js +1 -1
  46. package/dist/projection/experimental/common/hypot.js.map +1 -1
  47. package/dist/projection/experimental/common/imlfn.js +1 -1
  48. package/dist/projection/experimental/common/imlfn.js.map +1 -1
  49. package/dist/projection/experimental/common/invlatiso.js +1 -1
  50. package/dist/projection/experimental/common/invlatiso.js.map +1 -1
  51. package/dist/projection/experimental/common/iqsfnz.js +1 -1
  52. package/dist/projection/experimental/common/iqsfnz.js.map +1 -1
  53. package/dist/projection/experimental/common/latiso.js +1 -1
  54. package/dist/projection/experimental/common/latiso.js.map +1 -1
  55. package/dist/projection/experimental/common/log1py.js +1 -1
  56. package/dist/projection/experimental/common/log1py.js.map +1 -1
  57. package/dist/projection/experimental/common/mlfn.js +1 -1
  58. package/dist/projection/experimental/common/mlfn.js.map +1 -1
  59. package/dist/projection/experimental/common/msfnz.js +1 -1
  60. package/dist/projection/experimental/common/msfnz.js.map +1 -1
  61. package/dist/projection/experimental/common/phi2z.js +1 -1
  62. package/dist/projection/experimental/common/phi2z.js.map +1 -1
  63. package/dist/projection/experimental/common/pj_enfn.js +1 -1
  64. package/dist/projection/experimental/common/pj_enfn.js.map +1 -1
  65. package/dist/projection/experimental/common/pj_inv_mlfn.js +1 -1
  66. package/dist/projection/experimental/common/pj_inv_mlfn.js.map +1 -1
  67. package/dist/projection/experimental/common/pj_mlfn.js +1 -1
  68. package/dist/projection/experimental/common/pj_mlfn.js.map +1 -1
  69. package/dist/projection/experimental/common/qsfnz.js +1 -1
  70. package/dist/projection/experimental/common/qsfnz.js.map +1 -1
  71. package/dist/projection/experimental/common/sign.js +1 -1
  72. package/dist/projection/experimental/common/sign.js.map +1 -1
  73. package/dist/projection/experimental/common/sinh.js +1 -1
  74. package/dist/projection/experimental/common/sinh.js.map +1 -1
  75. package/dist/projection/experimental/common/srat.js +1 -1
  76. package/dist/projection/experimental/common/srat.js.map +1 -1
  77. package/dist/projection/experimental/common/tsfnz.js +1 -1
  78. package/dist/projection/experimental/common/tsfnz.js.map +1 -1
  79. package/dist/projection/experimental/common/vincenty.js +1 -1
  80. package/dist/projection/experimental/common/vincenty.js.map +1 -1
  81. package/dist/projection/experimental/core.cjs +100 -2
  82. package/dist/projection/experimental/core.cjs.map +2 -2
  83. package/dist/projection/experimental/core.d.ts +1 -0
  84. package/dist/projection/experimental/core.d.ts.map +1 -1
  85. package/dist/projection/experimental/crs/datum-table.js +1 -1
  86. package/dist/projection/experimental/crs/datum-table.js.map +1 -1
  87. package/dist/projection/experimental/crs/ellipsoid-table.js +1 -1
  88. package/dist/projection/experimental/crs/ellipsoid-table.js.map +1 -1
  89. package/dist/projection/experimental/crs/primemeridian-table.js +1 -1
  90. package/dist/projection/experimental/crs/primemeridian-table.js.map +1 -1
  91. package/dist/projection/experimental/crs/structured.js +1 -1
  92. package/dist/projection/experimental/crs/structured.js.map +1 -1
  93. package/dist/projection/experimental/crs/wkt.js +1 -1
  94. package/dist/projection/experimental/crs/wkt.js.map +1 -1
  95. package/dist/projection/experimental/datum.js +1 -1
  96. package/dist/projection/experimental/datum.js.map +1 -1
  97. package/dist/projection/experimental/ellipsoidal-gnomonic.js +1 -1
  98. package/dist/projection/experimental/ellipsoidal-gnomonic.js.map +1 -1
  99. package/dist/projection/experimental/entries/projections/eqc.cjs +1 -0
  100. package/dist/projection/experimental/entries/projections/eqc.cjs.map +1 -1
  101. package/dist/projection/experimental/entries/projections/merc.cjs +1 -0
  102. package/dist/projection/experimental/entries/projections/merc.cjs.map +1 -1
  103. package/dist/projection/experimental/grids/geotiff.js +1 -1
  104. package/dist/projection/experimental/grids/geotiff.js.map +1 -1
  105. package/dist/projection/experimental/grids/ntv2.js +1 -1
  106. package/dist/projection/experimental/grids/ntv2.js.map +1 -1
  107. package/dist/projection/experimental/index.cjs +102 -2
  108. package/dist/projection/experimental/index.cjs.map +3 -3
  109. package/dist/projection/experimental/kernels/aea.js +1 -1
  110. package/dist/projection/experimental/kernels/aea.js.map +1 -1
  111. package/dist/projection/experimental/kernels/aeqd.js +1 -1
  112. package/dist/projection/experimental/kernels/aeqd.js.map +1 -1
  113. package/dist/projection/experimental/kernels/bonne.js +1 -1
  114. package/dist/projection/experimental/kernels/bonne.js.map +1 -1
  115. package/dist/projection/experimental/kernels/cass.js +1 -1
  116. package/dist/projection/experimental/kernels/cass.js.map +1 -1
  117. package/dist/projection/experimental/kernels/cea.js +1 -1
  118. package/dist/projection/experimental/kernels/cea.js.map +1 -1
  119. package/dist/projection/experimental/kernels/eck6.js +1 -1
  120. package/dist/projection/experimental/kernels/eck6.js.map +1 -1
  121. package/dist/projection/experimental/kernels/eqdc.js +1 -1
  122. package/dist/projection/experimental/kernels/eqdc.js.map +1 -1
  123. package/dist/projection/experimental/kernels/eqearth.js +1 -1
  124. package/dist/projection/experimental/kernels/eqearth.js.map +1 -1
  125. package/dist/projection/experimental/kernels/equi.js +1 -1
  126. package/dist/projection/experimental/kernels/equi.js.map +1 -1
  127. package/dist/projection/experimental/kernels/etmerc.js +1 -1
  128. package/dist/projection/experimental/kernels/etmerc.js.map +1 -1
  129. package/dist/projection/experimental/kernels/gauss.js +1 -1
  130. package/dist/projection/experimental/kernels/gauss.js.map +1 -1
  131. package/dist/projection/experimental/kernels/geos.js +1 -1
  132. package/dist/projection/experimental/kernels/geos.js.map +1 -1
  133. package/dist/projection/experimental/kernels/gnom.js +1 -1
  134. package/dist/projection/experimental/kernels/gnom.js.map +1 -1
  135. package/dist/projection/experimental/kernels/gstmerc.js +1 -1
  136. package/dist/projection/experimental/kernels/gstmerc.js.map +1 -1
  137. package/dist/projection/experimental/kernels/krovak.js +1 -1
  138. package/dist/projection/experimental/kernels/krovak.js.map +1 -1
  139. package/dist/projection/experimental/kernels/laea.js +1 -1
  140. package/dist/projection/experimental/kernels/laea.js.map +1 -1
  141. package/dist/projection/experimental/kernels/lcc.js +1 -1
  142. package/dist/projection/experimental/kernels/lcc.js.map +1 -1
  143. package/dist/projection/experimental/kernels/mill.js +1 -1
  144. package/dist/projection/experimental/kernels/mill.js.map +1 -1
  145. package/dist/projection/experimental/kernels/moll.js +1 -1
  146. package/dist/projection/experimental/kernels/moll.js.map +1 -1
  147. package/dist/projection/experimental/kernels/nzmg.js +1 -1
  148. package/dist/projection/experimental/kernels/nzmg.js.map +1 -1
  149. package/dist/projection/experimental/kernels/omerc.js +1 -1
  150. package/dist/projection/experimental/kernels/omerc.js.map +1 -1
  151. package/dist/projection/experimental/kernels/poly.js +1 -1
  152. package/dist/projection/experimental/kernels/poly.js.map +1 -1
  153. package/dist/projection/experimental/kernels/qsc.js +1 -1
  154. package/dist/projection/experimental/kernels/qsc.js.map +1 -1
  155. package/dist/projection/experimental/kernels/robin.js +1 -1
  156. package/dist/projection/experimental/kernels/robin.js.map +1 -1
  157. package/dist/projection/experimental/kernels/sinu.js +1 -1
  158. package/dist/projection/experimental/kernels/sinu.js.map +1 -1
  159. package/dist/projection/experimental/kernels/somerc.js +1 -1
  160. package/dist/projection/experimental/kernels/somerc.js.map +1 -1
  161. package/dist/projection/experimental/kernels/stere.js +1 -1
  162. package/dist/projection/experimental/kernels/stere.js.map +1 -1
  163. package/dist/projection/experimental/kernels/sterea.js +1 -1
  164. package/dist/projection/experimental/kernels/sterea.js.map +1 -1
  165. package/dist/projection/experimental/kernels/tmerc.js +1 -1
  166. package/dist/projection/experimental/kernels/tmerc.js.map +1 -1
  167. package/dist/projection/experimental/kernels/tpers.js +1 -1
  168. package/dist/projection/experimental/kernels/tpers.js.map +1 -1
  169. package/dist/projection/experimental/kernels/vandg.js +1 -1
  170. package/dist/projection/experimental/kernels/vandg.js.map +1 -1
  171. package/dist/projection/experimental/kinematic-helmert.js +1 -1
  172. package/dist/projection/experimental/kinematic-helmert.js.map +1 -1
  173. package/dist/projection/experimental/lazy-projections/index.cjs +100 -2
  174. package/dist/projection/experimental/lazy-projections/index.cjs.map +2 -2
  175. package/dist/projection/experimental/projections/equidistant-cylindrical.d.ts.map +1 -1
  176. package/dist/projection/experimental/projections/equidistant-cylindrical.js +1 -0
  177. package/dist/projection/experimental/projections/equidistant-cylindrical.js.map +1 -1
  178. package/dist/projection/experimental/projections/mercator.d.ts.map +1 -1
  179. package/dist/projection/experimental/projections/mercator.js +1 -0
  180. package/dist/projection/experimental/projections/mercator.js.map +1 -1
  181. package/dist/projection/experimental/transform-description.d.ts +8 -0
  182. package/dist/projection/experimental/transform-description.d.ts.map +1 -0
  183. package/dist/projection/experimental/transform-description.js +57 -0
  184. package/dist/projection/experimental/transform-description.js.map +1 -0
  185. package/dist/projection/experimental/types.d.ts +5 -0
  186. package/dist/projection/experimental/types.d.ts.map +1 -1
  187. package/dist/projection/experimental/typescript-projection.d.ts +4 -0
  188. package/dist/projection/experimental/typescript-projection.d.ts.map +1 -1
  189. package/dist/projection/experimental/typescript-projection.js +54 -5
  190. package/dist/projection/experimental/typescript-projection.js.map +1 -1
  191. package/dist/projection/index.cjs +102 -2
  192. package/dist/projection/index.cjs.map +3 -3
  193. package/dist/projection/transform-analysis.cjs +100 -2
  194. package/dist/projection/transform-analysis.cjs.map +2 -2
  195. package/dist/projection/transform-description.d.ts +44 -0
  196. package/dist/projection/transform-description.d.ts.map +1 -0
  197. package/dist/projection/transform-description.js +5 -0
  198. package/dist/projection/transform-description.js.map +1 -0
  199. package/dist/projection/types.d.ts +4 -0
  200. package/dist/projection/types.d.ts.map +1 -1
  201. package/dist/tasks/definitions.d.ts +3 -3
  202. package/dist/tasks/index.cjs +107 -2
  203. package/dist/tasks/index.cjs.map +3 -3
  204. package/dist/tasks/index.d.ts +1 -1
  205. package/dist/tasks/index.d.ts.map +1 -1
  206. package/dist/tasks/map-worker.js +1 -1
  207. package/dist/tasks/map-worker.js.map +1 -1
  208. package/dist/tasks/operations.d.ts +1 -1
  209. package/dist/tasks/operations.d.ts.map +1 -1
  210. package/dist/tasks/projection-worker.js +1 -1
  211. package/dist/tasks/projection-worker.js.map +1 -1
  212. package/dist/terrain/bounds-regions.d.ts +15 -0
  213. package/dist/terrain/bounds-regions.d.ts.map +1 -0
  214. package/dist/terrain/bounds-regions.js +84 -0
  215. package/dist/terrain/bounds-regions.js.map +1 -0
  216. package/dist/terrain/bounds-update.d.ts +11 -0
  217. package/dist/terrain/bounds-update.d.ts.map +1 -0
  218. package/dist/terrain/bounds-update.js +10 -0
  219. package/dist/terrain/bounds-update.js.map +1 -0
  220. package/dist/terrain/box-index.d.ts +9 -0
  221. package/dist/terrain/box-index.d.ts.map +1 -0
  222. package/dist/terrain/box-index.js +43 -0
  223. package/dist/terrain/box-index.js.map +1 -0
  224. package/dist/terrain/contour-mixed-weld.d.ts +25 -0
  225. package/dist/terrain/contour-mixed-weld.d.ts.map +1 -0
  226. package/dist/terrain/contour-mixed-weld.js +194 -0
  227. package/dist/terrain/contour-mixed-weld.js.map +1 -0
  228. package/dist/terrain/contour-simplify.d.ts +1 -0
  229. package/dist/terrain/contour-simplify.d.ts.map +1 -1
  230. package/dist/terrain/contour-simplify.js +5 -1
  231. package/dist/terrain/contour-simplify.js.map +1 -1
  232. package/dist/terrain/contour-topology.d.ts +30 -0
  233. package/dist/terrain/contour-topology.d.ts.map +1 -0
  234. package/dist/terrain/contour-topology.js +236 -0
  235. package/dist/terrain/contour-topology.js.map +1 -0
  236. package/dist/terrain/delatin-regions.d.ts +14 -0
  237. package/dist/terrain/delatin-regions.d.ts.map +1 -0
  238. package/dist/terrain/delatin-regions.js +15 -0
  239. package/dist/terrain/delatin-regions.js.map +1 -0
  240. package/dist/terrain/dirty-regions.d.ts +11 -0
  241. package/dist/terrain/dirty-regions.d.ts.map +1 -0
  242. package/dist/terrain/dirty-regions.js +34 -0
  243. package/dist/terrain/dirty-regions.js.map +1 -0
  244. package/dist/terrain/gradient-pyramid-regions.d.ts +15 -0
  245. package/dist/terrain/gradient-pyramid-regions.d.ts.map +1 -0
  246. package/dist/terrain/gradient-pyramid-regions.js +112 -0
  247. package/dist/terrain/gradient-pyramid-regions.js.map +1 -0
  248. package/dist/terrain/gradient-pyramid-update.d.ts +11 -0
  249. package/dist/terrain/gradient-pyramid-update.d.ts.map +1 -0
  250. package/dist/terrain/gradient-pyramid-update.js +17 -0
  251. package/dist/terrain/gradient-pyramid-update.js.map +1 -0
  252. package/dist/terrain/height-field.d.ts.map +1 -1
  253. package/dist/terrain/height-field.js +48 -5
  254. package/dist/terrain/height-field.js.map +1 -1
  255. package/dist/terrain/index.cjs +1613 -79
  256. package/dist/terrain/index.cjs.map +3 -3
  257. package/dist/terrain/index.d.ts +40 -0
  258. package/dist/terrain/index.d.ts.map +1 -1
  259. package/dist/terrain/index.js +20 -0
  260. package/dist/terrain/index.js.map +1 -1
  261. package/dist/terrain/isobands.d.ts +24 -0
  262. package/dist/terrain/isobands.d.ts.map +1 -0
  263. package/dist/terrain/isobands.js +281 -0
  264. package/dist/terrain/isobands.js.map +1 -0
  265. package/dist/terrain/lod-morph-evaluate.d.ts +8 -0
  266. package/dist/terrain/lod-morph-evaluate.d.ts.map +1 -0
  267. package/dist/terrain/lod-morph-evaluate.js +30 -0
  268. package/dist/terrain/lod-morph-evaluate.js.map +1 -0
  269. package/dist/terrain/lod-morph.d.ts +35 -0
  270. package/dist/terrain/lod-morph.d.ts.map +1 -0
  271. package/dist/terrain/lod-morph.js +87 -0
  272. package/dist/terrain/lod-morph.js.map +1 -0
  273. package/dist/terrain/martini-regions.d.ts +14 -0
  274. package/dist/terrain/martini-regions.d.ts.map +1 -0
  275. package/dist/terrain/martini-regions.js +26 -0
  276. package/dist/terrain/martini-regions.js.map +1 -0
  277. package/dist/terrain/mesh-error.d.ts.map +1 -1
  278. package/dist/terrain/mesh-error.js +9 -1
  279. package/dist/terrain/mesh-error.js.map +1 -1
  280. package/dist/terrain/mesh-regions-data.d.ts +24 -0
  281. package/dist/terrain/mesh-regions-data.d.ts.map +1 -0
  282. package/dist/terrain/mesh-regions-data.js +80 -0
  283. package/dist/terrain/mesh-regions-data.js.map +1 -0
  284. package/dist/terrain/mesh-regions.d.ts +12 -0
  285. package/dist/terrain/mesh-regions.d.ts.map +1 -0
  286. package/dist/terrain/mesh-regions.js +10 -0
  287. package/dist/terrain/mesh-regions.js.map +1 -0
  288. package/dist/terrain/mesh-update.d.ts +11 -0
  289. package/dist/terrain/mesh-update.d.ts.map +1 -0
  290. package/dist/terrain/mesh-update.js +10 -0
  291. package/dist/terrain/mesh-update.js.map +1 -0
  292. package/dist/terrain/mixed-gradient-update.d.ts +15 -0
  293. package/dist/terrain/mixed-gradient-update.d.ts.map +1 -0
  294. package/dist/terrain/mixed-gradient-update.js +24 -0
  295. package/dist/terrain/mixed-gradient-update.js.map +1 -0
  296. package/dist/terrain/mixed-halo-update.d.ts +16 -0
  297. package/dist/terrain/mixed-halo-update.d.ts.map +1 -0
  298. package/dist/terrain/mixed-halo-update.js +46 -0
  299. package/dist/terrain/mixed-halo-update.js.map +1 -0
  300. package/dist/terrain/mixed-vertex-halos.d.ts +32 -0
  301. package/dist/terrain/mixed-vertex-halos.d.ts.map +1 -0
  302. package/dist/terrain/mixed-vertex-halos.js +125 -0
  303. package/dist/terrain/mixed-vertex-halos.js.map +1 -0
  304. package/dist/terrain/persistent-bounds.d.ts +16 -0
  305. package/dist/terrain/persistent-bounds.d.ts.map +1 -0
  306. package/dist/terrain/persistent-bounds.js +51 -0
  307. package/dist/terrain/persistent-bounds.js.map +1 -0
  308. package/dist/terrain/persistent-gradients.d.ts +16 -0
  309. package/dist/terrain/persistent-gradients.d.ts.map +1 -0
  310. package/dist/terrain/persistent-gradients.js +69 -0
  311. package/dist/terrain/persistent-gradients.js.map +1 -0
  312. package/dist/terrain/persistent-hierarchy-data.d.ts +41 -0
  313. package/dist/terrain/persistent-hierarchy-data.d.ts.map +1 -0
  314. package/dist/terrain/persistent-hierarchy-data.js +130 -0
  315. package/dist/terrain/persistent-hierarchy-data.js.map +1 -0
  316. package/dist/terrain/sample-triangle-height.d.ts +4 -0
  317. package/dist/terrain/sample-triangle-height.d.ts.map +1 -0
  318. package/dist/terrain/sample-triangle-height.js +46 -0
  319. package/dist/terrain/sample-triangle-height.js.map +1 -0
  320. package/dist/terrain/tile-update-data.d.ts +14 -0
  321. package/dist/terrain/tile-update-data.d.ts.map +1 -0
  322. package/dist/terrain/tile-update-data.js +23 -0
  323. package/dist/terrain/tile-update-data.js.map +1 -0
  324. package/dist/terrain/tiled.d.ts +10 -2
  325. package/dist/terrain/tiled.d.ts.map +1 -1
  326. package/dist/terrain/tiled.js +5 -1
  327. package/dist/terrain/tiled.js.map +1 -1
  328. package/dist/terrain/types.d.ts +6 -0
  329. package/dist/terrain/types.d.ts.map +1 -1
  330. package/dist/turf.cjs +25 -671
  331. package/dist/turf.cjs.map +3 -3
  332. package/dist/turf.d.ts +1 -1
  333. package/dist/turf.d.ts.map +1 -1
  334. package/dist/turf.js +2 -2
  335. package/dist/turf.js.map +1 -1
  336. package/package.json +15 -19
  337. package/src/expressions.ts +1 -1
  338. package/src/index.ts +64 -123
  339. package/src/projection/experimental/common/adjust_lat.ts +1 -1
  340. package/src/projection/experimental/common/adjust_lon.ts +1 -1
  341. package/src/projection/experimental/common/asinhy.ts +1 -1
  342. package/src/projection/experimental/common/asinz.ts +1 -1
  343. package/src/projection/experimental/common/authlat.ts +1 -1
  344. package/src/projection/experimental/common/authset.ts +1 -1
  345. package/src/projection/experimental/common/clens.ts +1 -1
  346. package/src/projection/experimental/common/clens_cmplx.ts +1 -1
  347. package/src/projection/experimental/common/constants.ts +1 -1
  348. package/src/projection/experimental/common/cosh.ts +1 -1
  349. package/src/projection/experimental/common/e0fn.ts +1 -1
  350. package/src/projection/experimental/common/e1fn.ts +1 -1
  351. package/src/projection/experimental/common/e2fn.ts +1 -1
  352. package/src/projection/experimental/common/e3fn.ts +1 -1
  353. package/src/projection/experimental/common/fL.ts +1 -1
  354. package/src/projection/experimental/common/gN.ts +1 -1
  355. package/src/projection/experimental/common/gatg.ts +1 -1
  356. package/src/projection/experimental/common/hypot.ts +1 -1
  357. package/src/projection/experimental/common/imlfn.ts +1 -1
  358. package/src/projection/experimental/common/invlatiso.ts +1 -1
  359. package/src/projection/experimental/common/iqsfnz.ts +1 -1
  360. package/src/projection/experimental/common/latiso.ts +1 -1
  361. package/src/projection/experimental/common/log1py.ts +1 -1
  362. package/src/projection/experimental/common/mlfn.ts +1 -1
  363. package/src/projection/experimental/common/msfnz.ts +1 -1
  364. package/src/projection/experimental/common/phi2z.ts +1 -1
  365. package/src/projection/experimental/common/pj_enfn.ts +1 -1
  366. package/src/projection/experimental/common/pj_inv_mlfn.ts +1 -1
  367. package/src/projection/experimental/common/pj_mlfn.ts +1 -1
  368. package/src/projection/experimental/common/qsfnz.ts +1 -1
  369. package/src/projection/experimental/common/sign.ts +1 -1
  370. package/src/projection/experimental/common/sinh.ts +1 -1
  371. package/src/projection/experimental/common/srat.ts +1 -1
  372. package/src/projection/experimental/common/tsfnz.ts +1 -1
  373. package/src/projection/experimental/common/vincenty.ts +1 -1
  374. package/src/projection/experimental/core.ts +8 -0
  375. package/src/projection/experimental/crs/datum-table.ts +1 -1
  376. package/src/projection/experimental/crs/ellipsoid-table.ts +1 -1
  377. package/src/projection/experimental/crs/primemeridian-table.ts +1 -1
  378. package/src/projection/experimental/crs/structured.ts +1 -1
  379. package/src/projection/experimental/crs/wkt.ts +1 -1
  380. package/src/projection/experimental/datum.ts +1 -1
  381. package/src/projection/experimental/ellipsoidal-gnomonic.ts +1 -1
  382. package/src/projection/experimental/exact-helmert.ts +1 -1
  383. package/src/projection/experimental/grids/geotiff.ts +1 -1
  384. package/src/projection/experimental/grids/grid.ts +1 -1
  385. package/src/projection/experimental/grids/ntv2.ts +1 -1
  386. package/src/projection/experimental/helmert-flat.ts +1 -1
  387. package/src/projection/experimental/kernels/aea.ts +1 -1
  388. package/src/projection/experimental/kernels/aeqd.ts +1 -1
  389. package/src/projection/experimental/kernels/bonne.ts +1 -1
  390. package/src/projection/experimental/kernels/cass.ts +1 -1
  391. package/src/projection/experimental/kernels/cea.ts +1 -1
  392. package/src/projection/experimental/kernels/eck6.ts +1 -1
  393. package/src/projection/experimental/kernels/eqdc.ts +1 -1
  394. package/src/projection/experimental/kernels/eqearth.ts +1 -1
  395. package/src/projection/experimental/kernels/equi.ts +1 -1
  396. package/src/projection/experimental/kernels/etmerc.ts +1 -1
  397. package/src/projection/experimental/kernels/gauss.ts +1 -1
  398. package/src/projection/experimental/kernels/geos.ts +1 -1
  399. package/src/projection/experimental/kernels/gnom.ts +1 -1
  400. package/src/projection/experimental/kernels/gstmerc.ts +1 -1
  401. package/src/projection/experimental/kernels/krovak.ts +1 -1
  402. package/src/projection/experimental/kernels/laea.ts +1 -1
  403. package/src/projection/experimental/kernels/lcc.ts +1 -1
  404. package/src/projection/experimental/kernels/mill.ts +1 -1
  405. package/src/projection/experimental/kernels/moll.ts +1 -1
  406. package/src/projection/experimental/kernels/nzmg.ts +1 -1
  407. package/src/projection/experimental/kernels/omerc.ts +1 -1
  408. package/src/projection/experimental/kernels/ortho.ts +1 -1
  409. package/src/projection/experimental/kernels/poly.ts +1 -1
  410. package/src/projection/experimental/kernels/qsc.ts +1 -1
  411. package/src/projection/experimental/kernels/robin.ts +1 -1
  412. package/src/projection/experimental/kernels/sinu.ts +1 -1
  413. package/src/projection/experimental/kernels/somerc.ts +1 -1
  414. package/src/projection/experimental/kernels/stere.ts +1 -1
  415. package/src/projection/experimental/kernels/sterea.ts +1 -1
  416. package/src/projection/experimental/kernels/tmerc.ts +1 -1
  417. package/src/projection/experimental/kernels/tpers.ts +1 -1
  418. package/src/projection/experimental/kernels/vandg.ts +1 -1
  419. package/src/projection/experimental/kinematic-helmert-flat.ts +1 -1
  420. package/src/projection/experimental/kinematic-helmert.ts +1 -1
  421. package/src/projection/experimental/projection-pipeline.ts +1 -1
  422. package/src/projection/experimental/projections/equidistant-cylindrical.ts +1 -0
  423. package/src/projection/experimental/projections/mercator.ts +1 -0
  424. package/src/projection/experimental/projections/ob-tran.ts +1 -1
  425. package/src/projection/experimental/transform-description.ts +82 -0
  426. package/src/projection/experimental/types.ts +5 -0
  427. package/src/projection/experimental/typescript-projection.ts +54 -6
  428. package/src/projection/transform-description.ts +69 -0
  429. package/src/projection/types.ts +11 -0
  430. package/src/tasks/definitions.ts +1 -1
  431. package/src/tasks/index.ts +1 -1
  432. package/src/tasks/map-worker.ts +1 -1
  433. package/src/tasks/operations.ts +1 -1
  434. package/src/tasks/projection-worker.ts +1 -1
  435. package/src/terrain/bounds-regions.ts +106 -0
  436. package/src/terrain/bounds-update.ts +19 -0
  437. package/src/terrain/box-index.ts +47 -0
  438. package/src/terrain/contour-mixed-weld.ts +254 -0
  439. package/src/terrain/contour-simplify.ts +10 -2
  440. package/src/terrain/contour-topology.ts +263 -0
  441. package/src/terrain/delatin-regions.ts +25 -0
  442. package/src/terrain/dirty-regions.ts +61 -0
  443. package/src/terrain/gradient-pyramid-regions.ts +140 -0
  444. package/src/terrain/gradient-pyramid-update.ts +25 -0
  445. package/src/terrain/height-field.ts +45 -5
  446. package/src/terrain/index.ts +58 -0
  447. package/src/terrain/isobands.ts +348 -0
  448. package/src/terrain/lod-morph-evaluate.ts +36 -0
  449. package/src/terrain/lod-morph.ts +138 -0
  450. package/src/terrain/martini-regions.ts +38 -0
  451. package/src/terrain/mesh-error.ts +14 -1
  452. package/src/terrain/mesh-regions-data.ts +113 -0
  453. package/src/terrain/mesh-regions.ts +18 -0
  454. package/src/terrain/mesh-update.ts +15 -0
  455. package/src/terrain/mixed-gradient-update.ts +40 -0
  456. package/src/terrain/mixed-halo-update.ts +56 -0
  457. package/src/terrain/mixed-vertex-halos.ts +170 -0
  458. package/src/terrain/persistent-bounds.ts +95 -0
  459. package/src/terrain/persistent-gradients.ts +117 -0
  460. package/src/terrain/persistent-hierarchy-data.ts +196 -0
  461. package/src/terrain/sample-triangle-height.ts +50 -0
  462. package/src/terrain/tile-update-data.ts +32 -0
  463. package/src/terrain/tiled.ts +16 -3
  464. package/src/terrain/types.ts +9 -1
  465. package/src/turf.ts +7 -3
  466. package/crs/README.md +0 -84
  467. package/crs/schemas/README.md +0 -9
  468. package/dist/geoarrow/builder-entry.d.ts +0 -4
  469. package/dist/geoarrow/builder-entry.d.ts.map +0 -1
  470. package/dist/geoarrow/builder-entry.js +0 -5
  471. package/dist/geoarrow/builder-entry.js.map +0 -1
  472. package/dist/geoarrow/builder.d.ts +0 -106
  473. package/dist/geoarrow/builder.d.ts.map +0 -1
  474. package/dist/geoarrow/builder.js +0 -668
  475. package/dist/geoarrow/builder.js.map +0 -1
  476. package/dist/geoarrow/codecs.d.ts +0 -24
  477. package/dist/geoarrow/codecs.d.ts.map +0 -1
  478. package/dist/geoarrow/codecs.js +0 -916
  479. package/dist/geoarrow/codecs.js.map +0 -1
  480. package/dist/geoarrow/index.cjs +0 -4352
  481. package/dist/geoarrow/index.cjs.map +0 -6
  482. package/dist/geoarrow/index.d.ts +0 -21
  483. package/dist/geoarrow/index.d.ts.map +0 -1
  484. package/dist/geoarrow/index.js +0 -15
  485. package/dist/geoarrow/index.js.map +0 -1
  486. package/dist/geoarrow/kernels.d.ts +0 -56
  487. package/dist/geoarrow/kernels.d.ts.map +0 -1
  488. package/dist/geoarrow/kernels.js +0 -982
  489. package/dist/geoarrow/kernels.js.map +0 -1
  490. package/dist/geoarrow/layout.d.ts +0 -66
  491. package/dist/geoarrow/layout.d.ts.map +0 -1
  492. package/dist/geoarrow/layout.js +0 -723
  493. package/dist/geoarrow/layout.js.map +0 -1
  494. package/dist/geoarrow/stream-tessellate.d.ts +0 -34
  495. package/dist/geoarrow/stream-tessellate.d.ts.map +0 -1
  496. package/dist/geoarrow/stream-tessellate.js +0 -171
  497. package/dist/geoarrow/stream-tessellate.js.map +0 -1
  498. package/dist/geoarrow/stream.d.ts +0 -29
  499. package/dist/geoarrow/stream.d.ts.map +0 -1
  500. package/dist/geoarrow/stream.js +0 -100
  501. package/dist/geoarrow/stream.js.map +0 -1
  502. package/dist/geoarrow/tessellate.d.ts +0 -31
  503. package/dist/geoarrow/tessellate.d.ts.map +0 -1
  504. package/dist/geoarrow/tessellate.js +0 -102
  505. package/dist/geoarrow/tessellate.js.map +0 -1
  506. package/dist/geoarrow/tessellation-entry.d.ts +0 -4
  507. package/dist/geoarrow/tessellation-entry.d.ts.map +0 -1
  508. package/dist/geoarrow/tessellation-entry.js +0 -5
  509. package/dist/geoarrow/tessellation-entry.js.map +0 -1
  510. package/dist/geoarrow/types.d.ts +0 -155
  511. package/dist/geoarrow/types.d.ts.map +0 -1
  512. package/dist/geoarrow/types.js +0 -71
  513. package/dist/geoarrow/types.js.map +0 -1
  514. package/dist/geoarrow/views.d.ts +0 -45
  515. package/dist/geoarrow/views.d.ts.map +0 -1
  516. package/dist/geoarrow/views.js +0 -114
  517. package/dist/geoarrow/views.js.map +0 -1
  518. package/dist/geoarrow/wkb-entry.d.ts +0 -4
  519. package/dist/geoarrow/wkb-entry.d.ts.map +0 -1
  520. package/dist/geoarrow/wkb-entry.js +0 -6
  521. package/dist/geoarrow/wkb-entry.js.map +0 -1
  522. package/dist/geoarrow/worker.d.ts +0 -11
  523. package/dist/geoarrow/worker.d.ts.map +0 -1
  524. package/dist/geoarrow/worker.js +0 -10
  525. package/dist/geoarrow/worker.js.map +0 -1
  526. package/dist/wkb/index.d.ts +0 -11
  527. package/dist/wkb/index.d.ts.map +0 -1
  528. package/dist/wkb/index.js +0 -9
  529. package/dist/wkb/index.js.map +0 -1
  530. package/dist/wkb/types.d.ts +0 -30
  531. package/dist/wkb/types.d.ts.map +0 -1
  532. package/dist/wkb/types.js +0 -34
  533. package/dist/wkb/types.js.map +0 -1
  534. package/dist/wkb/wkb-builder.d.ts +0 -91
  535. package/dist/wkb/wkb-builder.d.ts.map +0 -1
  536. package/dist/wkb/wkb-builder.js +0 -283
  537. package/dist/wkb/wkb-builder.js.map +0 -1
  538. package/dist/wkb/wkb-reader.d.ts +0 -74
  539. package/dist/wkb/wkb-reader.d.ts.map +0 -1
  540. package/dist/wkb/wkb-reader.js +0 -251
  541. package/dist/wkb/wkb-reader.js.map +0 -1
  542. package/dist/wkb/wkb.d.ts +0 -21
  543. package/dist/wkb/wkb.d.ts.map +0 -1
  544. package/dist/wkb/wkb.js +0 -204
  545. package/dist/wkb/wkb.js.map +0 -1
  546. package/dist/wkb/wkt.d.ts +0 -19
  547. package/dist/wkb/wkt.d.ts.map +0 -1
  548. package/dist/wkb/wkt.js +0 -321
  549. package/dist/wkb/wkt.js.map +0 -1
  550. package/projection/THIRD-PARTY-NOTICES.md +0 -210
  551. package/src/discontinuous/elastic/README.md +0 -20
  552. package/src/discontinuous/spherical-clip/README.md +0 -16
  553. package/src/discontinuous/world-kernels/README.md +0 -24
  554. package/src/geoarrow/builder-entry.ts +0 -18
  555. package/src/geoarrow/builder.ts +0 -860
  556. package/src/geoarrow/codecs.ts +0 -1268
  557. package/src/geoarrow/index.ts +0 -111
  558. package/src/geoarrow/kernels.ts +0 -1290
  559. package/src/geoarrow/layout.ts +0 -900
  560. package/src/geoarrow/stream-tessellate.ts +0 -205
  561. package/src/geoarrow/stream.ts +0 -130
  562. package/src/geoarrow/tessellate.ts +0 -133
  563. package/src/geoarrow/tessellation-entry.ts +0 -7
  564. package/src/geoarrow/types.ts +0 -259
  565. package/src/geoarrow/views.ts +0 -150
  566. package/src/geoarrow/wkb-entry.ts +0 -13
  567. package/src/geoarrow/worker.ts +0 -20
  568. package/src/terrain/vendor/README.md +0 -20
  569. package/src/vendor/geographiclib-geodesic/README.md +0 -26
  570. package/src/wkb/index.ts +0 -38
  571. package/src/wkb/types.ts +0 -54
  572. package/src/wkb/wkb-builder.ts +0 -395
  573. package/src/wkb/wkb-reader.ts +0 -401
  574. package/src/wkb/wkb.ts +0 -255
  575. package/src/wkb/wkt.ts +0 -375
  576. /package/{projection/APACHE-2.0-LICENSE.txt → APACHE-2.0-LICENSE.txt} +0 -0
  577. /package/{projection/PROJ-LICENSE.txt → PROJ-LICENSE.txt} +0 -0
  578. /package/{projection/PROJ4-LICENSE.md → PROJ4-LICENSE.md} +0 -0
  579. /package/{crs/schemas → src/crs}/projjson.schema.json +0 -0
package/README.md CHANGED
@@ -7,7 +7,7 @@ This module contains geospatial math, primarly ellipsoid math for dealing with t
7
7
  For documentation please visit the [website](https://math.gl).
8
8
 
9
9
  The grouped subpaths include `@math.gl/geospatial`, `/globe`, `/tiles`, `/crs`, `/projection`, `/web-mercator`,
10
- `/wkb`, `/geoarrow`, `/expressions`, and the experimental `/discontinuous`. DGGS remains a separate module at `@math.gl/dggs`.
10
+ `/expressions`, and the experimental `/discontinuous`. DGGS remains a separate module at `@math.gl/dggs`.
11
11
  `@math.gl/web-mercator` remains available for existing applications.
12
12
 
13
13
  Use `@math.gl/geospatial` for ellipsoid coordinate math and local tangent frames,
@@ -29,7 +29,7 @@ Use `@math.gl/geospatial` for [oblique ellipsoidal visibility and shared cut gra
29
29
 
30
30
  ## Batched GeoArrow operations
31
31
 
32
- Import `@math.gl/geospatial/turf` for Turf-style operations on native GeoArrow columns from `@math.gl/geospatial/geoarrow`.
32
+ Import `@math.gl/geospatial/turf` for Turf-style operations on native GeoArrow columns from `@math.gl/arrow/geoarrow-utils`.
33
33
  The entry point processes physical coordinate buffers without materializing GeoJSON rows.
34
34
  `bbox`, `distance`, `bearing`, `length`, `area`, and `booleanPointInPolygon` return
35
35
  `{values, validity}`: values are typed arrays in row order and validity is an Arrow bitmap
@@ -56,3 +56,193 @@ references; these operations do not reproject or validate CRS compatibility.
56
56
  Future phases can add transformations and derived geometries, further predicates, and
57
57
  then topology operations such as intersection, union, difference, and buffer. Each phase
58
58
  will need explicit geometry support and numerical compatibility guarantees.
59
+
60
+ ## CRS
61
+
62
+ Proj4-independent coordinate reference system definitions shared by math.gl integrations.
63
+
64
+ PROJJSON is an OSGeo/PROJ specification, not an independently published OGC or ISO standard. It
65
+ is designed as a lossless JSON encoding of OGC WKT2:2019 / ISO 19162:2019 and is referenced by OGC
66
+ standards. This package uses strict PROJJSON v0.7 as its semantic CRS object model. Authority codes,
67
+ PROJ strings, WKT2, WKT1, and vendor WKT dialects remain string serializations. WKT and PROJ
68
+ syntax trees preserve the serializations without claiming semantic conversion to PROJJSON.
69
+
70
+ ```ts
71
+ import {parsePROJString, parseWKTCRS} from '@math.gl/geospatial/crs';
72
+ import type {CRSDefinition, PROJJSONCRS} from '@math.gl/geospatial/crs';
73
+
74
+ const authorityCode: CRSDefinition = 'EPSG:4326';
75
+ const projString: CRSDefinition = '+proj=longlat +datum=WGS84 +no_defs';
76
+ const projjson: PROJJSONCRS = {
77
+ type: 'GeographicCRS',
78
+ name: 'WGS 84',
79
+ datum: {
80
+ name: 'World Geodetic System 1984',
81
+ ellipsoid: {
82
+ name: 'WGS 84',
83
+ semi_major_axis: 6378137,
84
+ inverse_flattening: 298.257223563
85
+ }
86
+ }
87
+ };
88
+
89
+ const wkt = parseWKTCRS('GEOGCRS["WGS 84",ID["EPSG",4326]]');
90
+ const proj = parsePROJString('+proj=longlat +datum=WGS84 +no_defs');
91
+ ```
92
+
93
+ `SpatialReference` adds format-neutral discovery state around those definitions. It distinguishes
94
+ explicit definitions, specification defaults, explicitly unknown CRS values, and absent metadata;
95
+ it can also retain alternate representations, coordinate epoch, coordinate frame, stored
96
+ component order, and units.
97
+
98
+ ```ts
99
+ import {createSpatialReference} from '@math.gl/geospatial/crs';
100
+
101
+ const spatialReference = createSpatialReference({
102
+ crs: {
103
+ state: 'explicit',
104
+ definition: 'EPSG:4326',
105
+ representation: 'identifier',
106
+ provenance: 'metadata'
107
+ },
108
+ coordinateFrame: 'geographic',
109
+ coordinateOrder: ['x', 'y']
110
+ });
111
+ ```
112
+
113
+ The official PROJJSON v0.7 JSON Schema is vendored unchanged under its MIT license and exported as
114
+ `@math.gl/geospatial/crs/projjson.schema.json`. It is the source of truth for the checked-in generated
115
+ TypeScript declarations. Its runtime APIs parse, encode,
116
+ and validate serialization syntax and identify already-resolved metadata. They do not perform registry lookup, semantic equivalence,
117
+ coordinate transformation, or general conversion between WKT, PROJ, and PROJJSON.
118
+
119
+ The `ProjectionTransform` in `@math.gl/geospatial/projection/core` directly accepts
120
+ these readonly definitions, `CRSReference`, and `SpatialReference` descriptors. Its optional
121
+ WKT/PROJJSON adapters use this package's types and parsers; execution support is checked
122
+ by `checkProjectionCompatibility`. Unknown/absent metadata remains unresolved.
123
+ See the [projection API](https://math.gl/docs/modules/geospatial/projection/api-reference/typescript-projection)
124
+ for the supported transformation subset and storage-order behavior.
125
+
126
+ See the [PROJJSON specification](https://proj.org/en/stable/specifications/projjson.html).
127
+ See the math.gl [Coordinate Reference Systems guide](https://math.gl/docs/modules/geospatial/crs/developer-guide/coordinate-reference-systems)
128
+ for representations, epochs, axis order, vertical CRS, and transformation guidance.
129
+
130
+ `linearUnits` provides names and metre conversion factors keyed by PROJ unit
131
+ identifier. For example, `linearUnits.ft` is `{name: 'feet', metersPerUnit: 0.3048}`.
132
+
133
+ `getCRSSignature(metadata)` returns a deterministic signature for resolved
134
+ `CRSMetadata`. It tracks projection parameters, ellipsoid, effective axis order,
135
+ units, and horizontal extraction. Parameter order and object identity do not
136
+ matter. This is an identity of resolved execution conventions, not a semantic
137
+ equivalence test for arbitrary CRS definitions. Projection descriptors use this
138
+ result as `signature` when structured input or overrides require resolved metadata;
139
+ default string definitions retain the original string.
140
+
141
+ Import `getCRSSignature`, `linearUnits`, `CRSMetadata` and `CRSUnit` from
142
+ `@math.gl/geospatial/crs` when only resolved metadata is needed. This entry keeps
143
+ WKT/PROJ syntax readers out of the initial graph of code-split applications.
144
+
145
+ ## Projection
146
+
147
+ This module transforms coordinates between geospatial coordinate reference systems.
148
+ `projectionEngine` uses the math.gl projection engine with the full projection catalogue and shared
149
+ math.gl/crs WKT/PROJJSON readers. The package has no runtime dependency on proj4js.
150
+ The v5 alpha package was renamed from `@math.gl/proj4`. Create transforms through
151
+ `projectionEngine.createProjection({from, to})` instead of the former `Proj4Projection`
152
+ constructor. The `/classic` wrapper is removed.
153
+
154
+ The runtime-free `@math.gl/geospatial/projection/types` entry exports the `ProjectionEngine` factory
155
+ and `Projection` transform contracts. Concrete engines are `FullProjectionEngine`,
156
+ `ConfigurableProjectionEngine`, `LazyProjectionEngine` and the minimal
157
+ `WebMercatorProjectionEngine` (`@math.gl/geospatial/projection/web-mercator`).
158
+
159
+ ```typescript
160
+ import {projectionEngine} from '@math.gl/geospatial/projection';
161
+
162
+ const projection = projectionEngine.createProjection({to: 'EPSG:3857'});
163
+ const meters = projection.project([12, 55]);
164
+ ```
165
+
166
+ For selective bundles, use `ProjectionTransform` from `@math.gl/geospatial/projection/core` with
167
+ explicit projection plugins. `lazyProjectionEngine` from `@math.gl/geospatial/projection/projections/lazy`
168
+ creates transforms that load algorithms on demand. The engine supports
169
+ geocentric/Helmert transforms and prepared horizontal datum grids. `projectFlat` and `unprojectFlat` transform interleaved
170
+ Float32/Float64 buffers without temporary coordinate arrays in the built-in pipeline.
171
+ Unsupported CRS variants fail explicitly; the documented support profile defines
172
+ compatibility boundaries.
173
+
174
+ Native PROJ is the numerical accuracy reference; proj4js 2.22.0 remains a
175
+ compatibility and benchmark reference. Independent forward/inverse fixtures cover
176
+ documented domains, with a separate pole and spherical-approximation audit. This
177
+ does not establish full-domain parity with modern PROJ; see the
178
+ [projection accuracy audit](https://github.com/visgl/math.gl/blob/master/docs/modules/geospatial/projection/modern-proj-audit.md)
179
+ for the supported numerical domains and remaining gaps.
180
+
181
+ ### Attribution
182
+
183
+ The engine is derived from proj4js, with an independently designed modular runtime
184
+ and additional coordinate operations. Direct ports and adaptations retain their
185
+ upstream notices. Source headers use `SPDX-License-Identifier` for the license,
186
+ `SPDX-FileCopyrightText` for ownership and `SPDX-FileComment` for provenance; see
187
+ [THIRD-PARTY-NOTICES.md](./THIRD-PARTY-NOTICES.md#projection-sources-and-notices) and the
188
+ [documentation](https://visgl.github.io/math.gl/next/docs/modules/projection).
189
+
190
+ ## Terrain
191
+
192
+ Experimental renderer-independent height fields, sampling, derivatives, and regular
193
+ terrain meshes. The main entry point has no runtime imports from other packages.
194
+ Mesh construction is available separately from `@math.gl/geospatial/terrain`.
195
+
196
+ ```ts
197
+ import {HeightField, TerrainSampleStatus} from '@math.gl/geospatial/terrain';
198
+ import {HeightFieldGeometry} from '@math.gl/geospatial/terrain';
199
+
200
+ const field = new HeightField({
201
+ width: 2,
202
+ height: 2,
203
+ heights: new Float32Array([0, 2, 1, 4]),
204
+ columnStep: [10, 0],
205
+ rowStep: [0, 10],
206
+ registration: 'vertex',
207
+ heightReference: 'local-survey'
208
+ });
209
+
210
+ const sample = field.sample(5, 5);
211
+ if (sample.status === TerrainSampleStatus.VALID) {
212
+ console.log(sample.height); // 1.75 meters, using bilinear interpolation
213
+ }
214
+
215
+ const mesh = new HeightFieldGeometry(field);
216
+ // POSITION is relative to mesh.origin; NORMAL is a smooth shading normal.
217
+ // Use field.sample(x, y, {interpolation: 'triangle'}) for the mesh's linear surface.
218
+ ```
219
+
220
+ The main entry uses affine local Cartesian coordinates and heights in
221
+ meters, with Z up. The optional `/terrain/geographic` entry adds longitude/latitude
222
+ queries and physical east/north derivatives for geographic and Web Mercator rasters.
223
+ The `/terrain/tiled` entry adds cell-registered local-metric tile snapshots, seam
224
+ sampling, residency-aware fallback, incremental snapshot updates and transferable halo buffers.
225
+ The `/terrain/packed` entry adds a versioned f32/u32 upload layout with byte and
226
+ height-error budgets and validated CPU reconstruction. Shader implementations, GPU
227
+ resources and compute graph integration belong in luma.gl; math.gl contains no
228
+ shader code. No entry converts
229
+ height references. Input arrays are copied; missing samples are stored as finite zeros
230
+ with a separate mask. Query status must be checked before using a result.
231
+
232
+ See the [API and numerical contract](https://github.com/visgl/math.gl/blob/master/docs/modules/geospatial/terrain/README.md) and
233
+ [implementation roadmap](https://github.com/visgl/math.gl/blob/master/dev-docs/terrain-roadmap.md).
234
+
235
+ The optional `/terrain/surface` entry adds indexed triangle surfaces, barycentric
236
+ height sampling, explicit halfedge topology and BVH ray/segment/nearest queries.
237
+ Bounded query variants report completion and work counts; sphere queries return
238
+ face/edge/vertex contacts with explicit work and contact-capacity limits.
239
+ Segment-clearance and capsule queries cover the full axis, including interior
240
+ contacts missed by endpoint-only sphere tests. They do not report first-impact time.
241
+ `/terrain/bounds` adds conservative min/max hierarchies over height-field cells.
242
+ These are CPU/data APIs; shader and device execution stay in luma.gl.
243
+
244
+ ## Binary geometry representations
245
+
246
+ Arrow and GeoArrow adapters, physical descriptor kernels, tessellation, and WKB/WKT
247
+ codecs are provided by [`@math.gl/arrow`](../arrow/README.md). Geographic operations
248
+ in this package can consume its descriptors without requiring Apache Arrow.
@@ -9,26 +9,24 @@ latest available upstream releases.
9
9
  | Source / author | Use and retained notice |
10
10
  | --- | --- |
11
11
  | CesiumJS contributors | Adapted ellipsoid and related geometry utilities; Apache-2.0, [LICENSE](./LICENSE). |
12
- | proj4js 2.22.0 / PROJ | Adapted projection kernels, helpers and datum transformations; [detailed file-level provenance](./projection/THIRD-PARTY-NOTICES.md), [proj4js terms](./projection/PROJ4-LICENSE.md), [PROJ terms](./projection/PROJ-LICENSE.txt). |
13
- | Bernie Jenny and Equal Earth collaborators | Equal Earth kernel ported through proj4js; Apache-2.0, [full license](./projection/APACHE-2.0-LICENSE.txt). Source retains the original collaborator credits. |
14
- | Charles Karney / GeographicLib | Vendored geodesic solver and adapted rhumb, intersection and polygon algorithms; MIT, [notice](./GEOGRAPHICLIB-LICENSE.txt), [vendored version and modifications](./src/vendor/geographiclib-geodesic/README.md). |
15
- | Mike Bostock / d3-geo-projection | Adapted [world projection kernels and modification inventory](./src/discontinuous/world-kernels/README.md), elliptic, Guyou, Gringorten, quincuncial, Berghaus, Gingery, interrupted and polyhedral work; ISC, [D3 notice](./src/discontinuous/D3-LICENSE.txt). Reference fixtures use version 4.0.0; no D3 runtime dependency. |
16
- | Mike Bostock / d3-geo 3.1.1 | Adapted spherical circle clipping, reused by the original global polygon atlas adapter; ISC, [retained license](./src/discontinuous/spherical-clip/D3-GEO-LICENSE.txt), [modifications and file inventory](./src/discontinuous/spherical-clip/README.md). No runtime D3 dependency. |
12
+ | proj4js 2.22.0 / PROJ | Adapted projection kernels, helpers and datum transformations; [detailed file-level provenance](./THIRD-PARTY-NOTICES.md#projection-sources-and-notices), [proj4js terms](./PROJ4-LICENSE.md), [PROJ terms](./PROJ-LICENSE.txt). |
13
+ | Bernie Jenny and Equal Earth collaborators | Equal Earth kernel ported through proj4js; Apache-2.0, [full license](./APACHE-2.0-LICENSE.txt). Source retains the original collaborator credits. |
14
+ | Charles Karney / GeographicLib | Vendored geodesic solver and adapted rhumb, intersection and polygon algorithms; MIT, [notice](./GEOGRAPHICLIB-LICENSE.txt), [vendored version and modifications](https://github.com/visgl/math.gl/blob/master/modules/geospatial/src/vendor/geographiclib-geodesic/README.md). |
15
+ | Mike Bostock / d3-geo-projection | Adapted [world projection kernels and modification inventory](https://github.com/visgl/math.gl/blob/master/modules/geospatial/src/discontinuous/world-kernels/README.md), elliptic, Guyou, Gringorten, quincuncial, Berghaus, Gingery, interrupted and polyhedral work; ISC, [D3 notice](./src/discontinuous/D3-LICENSE.txt). No D3 runtime dependency. |
16
+ | Mike Bostock / d3-geo 3.1.1 | Adapted spherical circle clipping, reused by the original global polygon atlas adapter; ISC, [retained license](./src/discontinuous/spherical-clip/D3-GEO-LICENSE.txt), [modifications and file inventory](https://github.com/visgl/math.gl/blob/master/modules/geospatial/src/discontinuous/spherical-clip/README.md). No runtime D3 dependency. |
17
17
  | Ricky Reusser / scijs | Adaptive Simpson integration used by the hyperelliptical kernel, via d3-geo-projection; [MIT license](./src/discontinuous/world-kernels/INTEGRATE-LICENSE.txt). |
18
18
  | d3-geo-polygon contributors | AirOcean topology/rotation; ISC, [AirOcean notice](./src/discontinuous/AIR-OCEAN-LICENSE.txt). |
19
19
 
20
20
  The separately installed `polygon-clipping` dependency retains its own package
21
21
  license. The opt-in terrain/martini entry uses separately installed
22
22
  `@mapbox/martini` 0.2.0 by Vladimir Agafonkin / Mapbox under its ISC package license;
23
- the backend source is not vendored or copied. EPSG definitions and external datum-grid fixtures have source-specific
24
- terms documented with the CRS schemas and test fixtures; a standards reference
25
- is not a blanket license to redistribute arbitrary grids.
23
+ the backend source is not vendored or copied.
26
24
 
27
25
  Projection authors receive mathematical credit in the [projection references](https://math.gl/docs/modules/geospatial/projection/developer-guide/discontinuous-projections#references-and-implementation-credits).
28
26
  AirOcean is radial/gnomonic, not an exact Gray–Fuller implementation. Nico Belmonte's
29
27
  myriahedral demonstration is credited as inspiration; its application code is not incorporated.
30
28
 
31
- HEALPix is independently implemented from M. R. Calabretta, [Mapping on the HEALPix grid (2004)](https://arxiv.org/abs/astro-ph/0412607). The HEALPix and Gingery numerical fixtures use d3-geo-projection 4.0.0; the package does not depend on D3 at runtime.
29
+ HEALPix is independently implemented from M. R. Calabretta, [Mapping on the HEALPix grid (2004)](https://arxiv.org/abs/astro-ph/0412607). The package does not depend on D3 at runtime.
32
30
 
33
31
  ## Gray–Fuller, Petroff, and Snyder maps
34
32
 
@@ -36,21 +34,18 @@ HEALPix is independently implemented from M. R. Calabretta, [Mapping on the HEAL
36
34
  1995 face equations, also published by **Philippe Rivière** in
37
35
  [d3-geo-polygon's Gray–Fuller kernel](https://github.com/d3/d3-geo-polygon/blob/main/src/grayfuller.js)
38
36
  with a public-domain dedication. math.gl adds its own monotone inverse and
39
- integrates the existing ISC-licensed AirOcean topology. Reference fixtures use
40
- d3-geo-polygon **2.0.1**, without adding a runtime dependency.
37
+ integrates the existing ISC-licensed AirOcean topology without adding a runtime dependency.
41
38
  - **Matthew A. Petroff**: `petroff.ts` adapts the forward/inverse equations in
42
39
  `new_projection.py`, [Zenodo record 4661351](https://doi.org/10.5281/zenodo.4661351).
43
40
  The archive's code is **CC0-1.0**, as stated in its
44
41
  [retained README/license](./src/discontinuous/PETROFF-LICENSE.txt). The record's
45
42
  CC-BY metadata also covers images that are not incorporated. Modifications:
46
43
  scalar TypeScript, stable Cartesian evaluation, explicit singular limits,
47
- chart-boundary ownership, and MapEngine integration. Reference fixtures evaluate
48
- the original Python with NumPy; no Python/JAX runtime dependency.
44
+ chart-boundary ownership, and MapEngine integration.
49
45
  - **John P. Snyder**, *An Equal-Area Map Projection for Polyhedral Globes* (1992),
50
46
  and [BRSR's vector formulation](https://brsr.github.io/2021/08/31/snyder-equal-area.html):
51
47
  mathematical sources for the independently implemented spherical triangle
52
- equations in `snyder.ts`. ISEA reference fixtures use **PROJ 9.8.1** through
53
- pyproj 3.8.0, without adding a runtime dependency.
48
+ equations in `snyder.ts`.
54
49
  - **Felix Palmer / PROJ contributors**: `snyder-mesh.ts` adapts only polyhedron
55
50
  coordinate/face tables and parent trees from PROJ revision
56
51
  `5fa31c29f0a806568ed7bc76c1a557604db4a804`, under the
@@ -67,7 +62,7 @@ are spherical equal-area maps; they do not implement ellipsoidal CRS transforms.
67
62
 
68
63
  Elastic I, II and III coordinate tables are by Justin Kunimune, released under the
69
64
  [Unlicense](./src/discontinuous/elastic/UNLICENSE.txt). See the
70
- [provenance record](./src/discontinuous/elastic/README.md) for the pinned revision,
65
+ [provenance record](https://github.com/visgl/math.gl/blob/master/modules/geospatial/src/discontinuous/elastic/README.md) for the pinned revision,
71
66
  conversion details, units, and links to the published format and research.
72
67
 
73
68
  ## G8/G9 geodesics
@@ -82,9 +77,7 @@ copyright notices are included in the packaged [LICENSE](./LICENSE).
82
77
 
83
78
  `src/triaxial.ts` and `src/triaxial/integrate.ts` are original Cartesian
84
79
  coordinate/geodesic implementations. GeographicLib 2.7's distinct Jacobi solution
85
- is an offline comparator, not runtime source or a dependency. The original native
86
- API caller and fixtures pin the source archive and generator; no upstream test
87
- fixtures or native implementation are incorporated.
80
+ is a mathematical reference; its native implementation is not incorporated.
88
81
 
89
82
  ### Exact edge areas
90
83
 
@@ -112,5 +105,184 @@ caller-owned output; its numerical equations are unchanged.
112
105
  The isolated `src/terrain/vendor/delatin.js` backend is transferred from loaders.gl.
113
106
  It retains the ISC copyright of Michael Fogleman and Vladimir Agafonkin (2019),
114
107
  with [full terms](./src/terrain/vendor/DELATIN-LICENSE.txt) and
115
- [exact provenance and modifications](./src/terrain/vendor/README.md).
108
+ [exact provenance and modifications](https://github.com/visgl/math.gl/blob/master/modules/geospatial/src/terrain/vendor/README.md).
116
109
  The public adapter and mesh contracts are original math.gl work.
110
+
111
+ ## Projection sources and notices
112
+
113
+ Paths beginning with `src/` below are relative to the `@math.gl/geospatial` package root.
114
+ License files named without a path are in the module root.
115
+
116
+ The math.gl projection engine uses proj4js **2.22.0** as its pinned compatibility
117
+ reference: https://github.com/proj4js/proj4js/tree/v2.22.0.
118
+
119
+ Except for the original ellipsoidal orthographic kernel (`kernels/ortho.ts`) and
120
+ meridian integration helper (`common/meridian-distance.ts`), the numerical kernels under `src/projection/experimental/kernels/`, numerical helpers under
121
+ `src/projection/experimental/common/`, and CRS datum/ellipsoid/unit/prime-meridian tables are
122
+ **direct TypeScript ports** of the corresponding proj4js sources. Source comments
123
+ retain attribution to the proj4js authors, with `SPDX-License-Identifier` license
124
+ expressions, `SPDX-FileCopyrightText` credits naming the upstream copyright holders,
125
+ and `SPDX-FileComment` provenance. They have been modified to use explicit
126
+ state, typed inputs, bounded iterations, and strict errors. The MIT license is reproduced in `PROJ4-LICENSE.md`.
127
+ The geocentric/Helmert equations in `datum.ts` and rotation equations in
128
+ `projections/ob-tran.ts` are likewise directly adapted from proj4js, with attribution
129
+ in those files.
130
+
131
+ The NTv2 decoder, GeoTIFF node orientation and interpolation/inverse equations in
132
+ `src/projection/experimental/grids/grid.ts`, `grids/ntv2.ts` and `grids/geotiff.ts` are directly adapted from proj4js 2.22.0
133
+ `lib/nadgrid.js` and `lib/datum_transform.js`. Their headers retain upstream
134
+ MIT attribution. The per-instance grid registration contract is original math.gl
135
+ code informed by upstream grid-list behavior.
136
+
137
+ `kernels/eqearth.ts` retains its original **Apache-2.0** notice:
138
+ Copyright 2018 Bernie Jenny, Monash University, Melbourne, Australia.
139
+ The original credits to Bojan Savric, Tom Patterson, Matthew Bloch and Andreas Hocevar
140
+ are retained in that source file. Its full license is included in
141
+ `APACHE-2.0-LICENSE.txt`. The TypeScript state conversion is a modification of that
142
+ source, not a claim of an independently authored algorithm.
143
+
144
+ The plugin adapters, normalization/execution pipeline, and WKT/PROJJSON execution
145
+ adapters are original math.gl code informed by proj4js behavior. The datum alias/
146
+ authority lookup and method/parameter normalization rules in `crs/structured.ts` are directly adapted
147
+ from proj4js 2.22.0 and its MIT-licensed wkt-parser dependency, with attribution
148
+ in the source. Mercator and
149
+ equidistant cylindrical are original equation implementations, MIT-licensed to the vis.gl contributors. Syntax parsing is provided
150
+ by `@math.gl/geospatial/crs`; the projection runtime does not import proj4js.
151
+
152
+ Cassini series signs/inverse refinement and Robinson coefficient precision/interval
153
+ selection are adapted from [PROJ 9.5.1](https://github.com/OSGeo/PROJ/tree/9.5.1/src/projections).
154
+ The Cassini Newton solver and Robinson exact-knot handling are original math.gl
155
+ modifications. Both files retain their proj4js port notices and identify the PROJ
156
+ adaptations. PROJ's MIT-style terms and attribution are reproduced in `PROJ-LICENSE.txt`.
157
+
158
+ The explicit height stage (`src/projection/experimental/vertical-datum.ts`), regular-grid
159
+ interpolator/geoid adapter (`grids/vertical.ts`) and GTX reader (`grids/gtx.ts`) are
160
+ original math.gl implementations. Their public registration follows the existing
161
+ proj4-style engine API; geoid-height signs and GTX layout/nodata conventions follow
162
+ PROJ/GDAL documentation. No proj4js or PROJ implementation was copied into these files.
163
+ The structural geoid adapter does not copy or import GeographicLib or `@math.gl/earth`
164
+ code. Applications providing a geoid model retain that model's own license and data terms.
165
+
166
+
167
+ `src/projection/experimental/grids/vertical-geotiff.ts` is original math.gl adapter code written
168
+ against the PROJ Geodetic TIFF Grid format, not a direct proj4js or PROJ fork. It does
169
+ not copy or import a TIFF decoder. The optional decoding library is chosen by the
170
+ application.
171
+
172
+ ### Typed operation pipelines
173
+
174
+ `src/projection/experimental/projection-pipeline.ts` is original math.gl orchestration inspired
175
+ by PROJ's explicit operation/units model, not a direct PROJ fork. It reuses projection
176
+ kernels and the geocentric/static Helmert equations directly adapted from proj4js in
177
+ `datum.ts`, with their existing attribution and `PROJ4-LICENSE.md`.
178
+
179
+ `src/projection/experimental/exact-helmert.ts` directly adapts the exact rotation matrix and
180
+ convention transpose from PROJ 9.5.1 `src/transformations/helmert.cpp` (Copyright
181
+ (c) 2016, Thomas Knudsen / SDFE), under the MIT-style terms in `PROJ-LICENSE.txt`.
182
+ It is modified into prepared typed point operations; the existing approximate
183
+ Helmert equations remain the attributed proj4js adaptation in `datum.ts`.
184
+
185
+ `src/projection/experimental/helmert-flat.ts` adds original direct-buffer traversal around
186
+ these existing attributed equations. Its small-angle arithmetic follows the
187
+ proj4js adaptation in `datum.ts`; exact matrix application follows the PROJ
188
+ adaptation in `exact-helmert.ts` and consumes that stage's prepared matrix.
189
+ Its SPDX headers retain both upstream copyright credits and point to the existing
190
+ `PROJ4-LICENSE.md` and `PROJ-LICENSE.txt`. No new third-party model data is added.
191
+ Ordinate-stack and direction-specific orchestration are original math.gl code
192
+ inspired by PROJ pipeline contracts, not direct PROJ or proj4js forks.
193
+
194
+ `src/projection/experimental/kinematic-helmert.ts` is original epoch/rate orchestration following
195
+ PROJ's documented parameter propagation contract. Its exact matrix/convention
196
+ transpose directly adapts PROJ 9.5.1 `helmert.cpp`, with the Thomas Knudsen / SDFE
197
+ copyright and `PROJ-LICENSE.txt` terms above; its small-angle equations follow the
198
+ existing attributed proj4js `datum.ts` adaptation.
199
+
200
+
201
+ `src/projection/experimental/kinematic-helmert-flat.ts` adds original coordinate-buffer
202
+ traversal using the epoch preparation and owned coefficients in `kinematic-helmert.ts`.
203
+ The exact matrix application follows that file's existing PROJ adaptation; the
204
+ small-angle matrix application follows its attributed proj4js adaptation. Both
205
+ upstream copyrights and license references remain in the source header. This
206
+ optimization introduces no model files, databases or additional third-party code.
207
+
208
+
209
+ ### Prepared velocity models
210
+
211
+ The optional deformation model, velocity-grid preparation and velocity GeoTIFF
212
+ adapter are original math.gl code inspired by PROJ's documented deformation/GTG
213
+ contracts, not direct PROJ or proj4js forks. The model uses an original ENU basis
214
+ rotation and inverse solver, while reusing the existing attributed proj4js geocentric
215
+ conversion in datum.ts. No new upstream code or third-party model data is included.
216
+ Application-provided model files and decoders retain their own terms.
217
+
218
+ ### Source header convention
219
+
220
+ All projection engine source files declare their license with
221
+ `SPDX-License-Identifier` and ownership with `SPDX-FileCopyrightText`. Files with
222
+ multiple copyright holders use a separate copyright tag for each notice. Years
223
+ are retained when supplied by the original notice; none are invented.
224
+
225
+ `SPDX-FileComment` records direct ports, adaptations, inspiration and modifications,
226
+ with links to retained license files where applicable. Each file comment occupies
227
+ one line so source scanning can extract the complete provenance. Original wrappers
228
+ and adapters retain their own copyright; importing an attributed kernel does not
229
+ make the adapter a port. These tags follow the [SPDX source file tag convention](https://spdx.github.io/spdx-spec/v2.3/file-tags/).
230
+ The original Equal Earth Apache notice and all distributed upstream license texts
231
+ remain intact.
232
+
233
+
234
+ ### Horizontal grid tuple adapter
235
+
236
+ `src/projection/experimental/grids/grid.ts` reuses a private working point in the tuple-returning
237
+ adapter. This original adapter change retains the existing attributed interpolation
238
+ and inverse kernel described above. Successful calls still return an owned tuple.
239
+ No additional third-party code or model data is included.
240
+
241
+ ### Shared spheroid arithmetic
242
+
243
+ The existing proj4js-derived geocentric forward equations and Hannover inverse from
244
+ `datum.ts` now live in `@math.gl/core`, used by projection and the qualified
245
+ sphere/oblate geometry paths. The numeric leaf retains the proj4js SPDX copyright,
246
+ MIT identifier and full `PROJ4-LICENSE.md` in the core package. The safeguarded
247
+ surface/exterior fallback and adapters are original math.gl work. No new upstream
248
+ source or model data is introduced. Geospatial retains its existing Cesium-derived
249
+ three-radius/interior kernels and Apache-2.0 attribution.
250
+
251
+ ### Modern PROJ corrections and upstream regressions
252
+
253
+ The independently implemented orthographic and pole-boundary corrections
254
+ acknowledge the numerical behavior and bug investigations maintained by
255
+ OSGeo/PROJ. Their SPDX-FileComment tags identify PROJ 9.5.1 source files and,
256
+ where applicable, upstream issues and PRs. The retained `PROJ-LICENSE.txt` supplies
257
+ PROJ's MIT terms. Existing proj4js copyright notices and Equal Earth's Apache-2.0
258
+ notice remain intact; independent math.gl implementations retain their own
259
+ copyright rather than assigning new copyright notices to upstream maintainers.
260
+
261
+ Orthographic behavior was informed by PROJ #2361 and the inverse-convergence
262
+ investigation in #2844/#2855. The parallel-ray/ellipsoid inverse and its rendering
263
+ enclosures are original math.gl code. Equal Earth's ellipsoidal authalic semantics
264
+ are documented in PROJ #1097. No PROJ model data is added.
265
+
266
+ ### Shared ellipsoid geodesics and gnomonic
267
+
268
+ `src/ellipsoid-geodesic.ts` is an original typed facade over the shared GeographicLib
269
+ geodesic implementation in `src/vendor/geographiclib-geodesic/runtime.js`. That
270
+ source combines Math.js, Geodesic.js and GeodesicLine.js from GeographicLib JS 2.2.0,
271
+ pinned at commit 9c4036d6242aa997e08e43a20df789e2007fbe6f, preserving Charles Karney's
272
+ copyright and MIT terms. The version template is filled and an ESM export added.
273
+ The full MIT license is in `./GEOGRAPHICLIB-LICENSE.txt` and the module `./LICENSE`.
274
+ No package dependency is added.
275
+
276
+ The ellipsoidal gnomonic Newton formulation and Swiss oblique Mercator branch and
277
+ inverse equations follow PROJ 9.5.1. Stable conformal latitude expressions follow
278
+ PROJ's tsfn formulation. Source SPDX comments identify these adaptations; the PROJ
279
+ license is retained in `PROJ-LICENSE.txt` and the module `./LICENSE`.
280
+
281
+ ### Original pole-conditioning corrections
282
+
283
+ The follow-up review adds original math.gl authalic pole-complement/inversion and
284
+ Cartesian spherical-inverse helpers. LAEA, stereographic, oblique stereographic,
285
+ spherical AEQD, QSC, Mollweide and polyconic retain their existing attributed ports;
286
+ new half-angle identities, stable complements, polar inverse limits and quadrature
287
+ reuse are original math.gl corrections, not copied upstream implementations.
288
+ Source SPDX comments preserve existing proj4js/PROJ credits and identify the changes.
@@ -1,4 +1,4 @@
1
- import type { ExpressionFunctionLibrary } from '@math.gl/core';
1
+ import type { ExpressionFunctionLibrary } from '@math.gl/core/expressions';
2
2
  /** WGS84 ellipsoid helpers available to the expression evaluator. */
3
3
  export declare const GEOSPATIAL_FUNCTION_LIBRARY: ExpressionFunctionLibrary;
4
4
  //# sourceMappingURL=expressions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"expressions.d.ts","sourceRoot":"","sources":["../src/expressions.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAC,yBAAyB,EAAC,MAAM,eAAe,CAAC;AAE7D,qEAAqE;AACrE,eAAO,MAAM,2BAA2B,EAAE,yBAsBzC,CAAC"}
1
+ {"version":3,"file":"expressions.d.ts","sourceRoot":"","sources":["../src/expressions.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAC,yBAAyB,EAAC,MAAM,2BAA2B,CAAC;AAEzE,qEAAqE;AACrE,eAAO,MAAM,2BAA2B,EAAE,yBAsBzC,CAAC"}