@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
@@ -2,7 +2,7 @@
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
4
  // SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
5
- // SPDX-FileComment: Helmert equations directly adapted from proj4js 2.22.0 datumUtils.js. See ../../../projection/PROJ4-LICENSE.md. Geocentric equations now delegate to the attributed @math.gl/core leaf.
5
+ // SPDX-FileComment: Helmert equations directly adapted from proj4js 2.22.0 datumUtils.js. See ../../../PROJ4-LICENSE.md. Geocentric equations now delegate to the attributed @math.gl/core leaf.
6
6
  import {spheroidToCartesian, cartesianToSpheroid} from '@math.gl/core';
7
7
  import type {Datum, Ellipsoid} from './crs/types';
8
8
  import type {ProjectionPoint} from './types';
@@ -2,7 +2,7 @@
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: Copyright (c) PROJ contributors
4
4
  // SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
5
- // SPDX-FileComment: Ellipsoidal gnomonic dispatch and inverse Newton equations adapted from PROJ 9.5.1 src/projections/gnom.cpp (Karney geodesic formulation). See ../../../projection/PROJ-LICENSE.txt. Geodesic evaluation uses the shared ellipsoid engine; public optional polygon/line facade code stays out of projection bundles.
5
+ // SPDX-FileComment: Ellipsoidal gnomonic dispatch and inverse Newton equations adapted from PROJ 9.5.1 src/projections/gnom.cpp (Karney geodesic formulation). See ../../../PROJ-LICENSE.txt. Geodesic evaluation uses the shared ellipsoid engine; public optional polygon/line facade code stays out of projection bundles.
6
6
  import {createGeodesicEngine, nonAreaGeodesicMask} from '../../ellipsoid-geodesic';
7
7
  import type {KernelParameters, Point} from './kernel';
8
8
  import adjust_lon from './common/adjust_lon';
@@ -2,7 +2,7 @@
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: Copyright (c) 2016, Thomas Knudsen / SDFE (PROJ)
4
4
  // SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
5
- // SPDX-FileComment: Exact rotation matrix adapted from PROJ 9.5.1 src/transformations/helmert.cpp. See ../../../projection/PROJ-LICENSE.txt. Modified into prepared, typed, allocation-free point operations. Existing small-angle Helmert equations remain the proj4js adaptation in datum.ts.
5
+ // SPDX-FileComment: Exact rotation matrix adapted from PROJ 9.5.1 src/transformations/helmert.cpp. See ../../../PROJ-LICENSE.txt. Modified into prepared, typed, allocation-free point operations. Existing small-angle Helmert equations remain the proj4js adaptation in datum.ts.
6
6
  import type {ProjectionPoint} from './types';
7
7
 
8
8
  type Operation = (point: ProjectionPoint) => void;
@@ -2,7 +2,7 @@
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
4
  // SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
5
- // SPDX-FileComment: GeoTIFF node orientation directly adapted from proj4js 2.22.0 lib/nadgrid.js. See ../../../../projection/PROJ4-LICENSE.md. Modified for explicit async loading, validation and nodata handling; no geotiff runtime import.
5
+ // SPDX-FileComment: GeoTIFF node orientation directly adapted from proj4js 2.22.0 lib/nadgrid.js. See ../../../../PROJ4-LICENSE.md. Modified for explicit async loading, validation and nodata handling; no geotiff runtime import.
6
6
  import {createDatumGrid} from './grid';
7
7
  import type {DatumGrid, Subgrid} from './types';
8
8
 
@@ -2,7 +2,7 @@
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
4
  // SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
5
- // SPDX-FileComment: Bilinear interpolation and inverse grid equations directly adapted from proj4js 2.22.0 lib/datum_transform.js. See ../../../../projection/PROJ4-LICENSE.md. Modified for immutable explicit state, inclusive edges, nodata and bounded two-axis convergence.
5
+ // SPDX-FileComment: Bilinear interpolation and inverse grid equations directly adapted from proj4js 2.22.0 lib/datum_transform.js. See ../../../../PROJ4-LICENSE.md. Modified for immutable explicit state, inclusive edges, nodata and bounded two-axis convergence.
6
6
  import type {DatumGrid, Subgrid} from './types';
7
7
  import {wrapLongitude} from '../parameters';
8
8
 
@@ -2,7 +2,7 @@
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
4
  // SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
5
- // SPDX-FileComment: NTv2 decoding directly adapted from proj4js 2.22.0 lib/nadgrid.js. See ../../../../projection/PROJ4-LICENSE.md. Modified for explicit ownership, bounds/geometry validation and no global registration.
5
+ // SPDX-FileComment: NTv2 decoding directly adapted from proj4js 2.22.0 lib/nadgrid.js. See ../../../../PROJ4-LICENSE.md. Modified for explicit ownership, bounds/geometry validation and no global registration.
6
6
  import {createDatumGrid} from './grid';
7
7
  import type {DatumGrid, Subgrid} from './types';
8
8
 
@@ -3,7 +3,7 @@
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
4
  // SPDX-FileCopyrightText: Copyright (c) 2016, Thomas Knudsen / SDFE (PROJ)
5
5
  // SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
6
- // SPDX-FileComment: Original whole-buffer dispatch. Small-angle equations follow the proj4js adaptation in datum.ts; see ../../../projection/PROJ4-LICENSE.md. Exact equations follow exact-helmert.ts, adapted from PROJ 9.5.1 helmert.cpp; see ../../../projection/PROJ-LICENSE.txt. Consume its prepared matrix without recomputing rotations.
6
+ // SPDX-FileComment: Original whole-buffer dispatch. Small-angle equations follow the proj4js adaptation in datum.ts; see ../../../PROJ4-LICENSE.md. Exact equations follow exact-helmert.ts, adapted from PROJ 9.5.1 helmert.cpp; see ../../../PROJ-LICENSE.txt. Consume its prepared matrix without recomputing rotations.
7
7
  import type {NumericFlatOperation} from './numeric-flat';
8
8
 
9
9
  /** Setup-owned coefficients: small-angle rx/ry/rz or row-major exact matrix, then dx/dy/dz/scale. */
@@ -1,7 +1,7 @@
1
1
  // math.gl
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
- // SPDX-FileComment: Adapted from proj4js 2.22.0 with a roundoff-bounded authalic inverse at poles. See ../../../../projection/PROJ4-LICENSE.md for upstream attribution. Independent corrections acknowledge PROJ 9.5.1 src/projections/aea.cpp; see ../../../../projection/PROJ-LICENSE.txt.
4
+ // SPDX-FileComment: Adapted from proj4js 2.22.0 with a roundoff-bounded authalic inverse at poles. See ../../../../PROJ4-LICENSE.md for upstream attribution. Independent corrections acknowledge PROJ 9.5.1 src/projections/aea.cpp; see ../../../../PROJ-LICENSE.txt.
5
5
 
6
6
  import type {KernelParameters, Point} from '../kernel';
7
7
  export type State = KernelParameters & {
@@ -2,7 +2,7 @@
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
4
  // SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
5
- // SPDX-FileComment: Original math.gl inverse Cartesian rotation correction. Adapted from proj4js 2.22.0; polar meridian integration/inversion is original math.gl code. See ../../../../projection/PROJ4-LICENSE.md for the upstream license and attribution.
5
+ // SPDX-FileComment: Original math.gl inverse Cartesian rotation correction. Adapted from proj4js 2.22.0; polar meridian integration/inversion is original math.gl code. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
6
6
 
7
7
  import type {KernelParameters, Point} from '../kernel';
8
8
  import {inverseSphericalLatitude} from '../inverse-spherical-latitude';
@@ -1,7 +1,7 @@
1
1
  // math.gl
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
- // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../projection/PROJ4-LICENSE.md for the upstream license and attribution.
4
+ // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
5
5
 
6
6
  import type {KernelParameters, Point} from '../kernel';
7
7
  export type State = KernelParameters & {
@@ -1,7 +1,7 @@
1
1
  // math.gl
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
- // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../projection/PROJ4-LICENSE.md for the upstream license and attribution. Corrected series signs and inverse refinement informed by PROJ 9.5.1 cass.cpp. See ../../../../projection/PROJ-LICENSE.txt. Newton solver implementation is original math.gl code.
4
+ // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution. Corrected series signs and inverse refinement informed by PROJ 9.5.1 cass.cpp. See ../../../../PROJ-LICENSE.txt. Newton solver implementation is original math.gl code.
5
5
 
6
6
  import type {KernelParameters, Point} from '../kernel';
7
7
  export type State = KernelParameters & {
@@ -1,7 +1,7 @@
1
1
  // math.gl
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
- // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../projection/PROJ4-LICENSE.md for the upstream license and attribution.
4
+ // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
5
5
 
6
6
  import type {KernelParameters, Point} from '../kernel';
7
7
  export type State = KernelParameters & {};
@@ -1,7 +1,7 @@
1
1
  // math.gl
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
- // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../projection/PROJ4-LICENSE.md for the upstream license and attribution.
4
+ // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
5
5
 
6
6
  import type {KernelParameters} from '../kernel';
7
7
  export type State = KernelParameters & {
@@ -1,7 +1,7 @@
1
1
  // math.gl
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
- // SPDX-FileComment: Adapted from proj4js 2.22.0. See ../../../../projection/PROJ4-LICENSE.md for the upstream license and attribution. math.gl uses the higher-order meridional series shared with Cassini, rather than the upstream truncated e0/e1/e2/e3 series. Qualified against PROJ 9.5.1.
4
+ // SPDX-FileComment: Adapted from proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution. math.gl uses the higher-order meridional series shared with Cassini, rather than the upstream truncated e0/e1/e2/e3 series. Qualified against PROJ 9.5.1.
5
5
 
6
6
  import type {KernelParameters, Point} from '../kernel';
7
7
  export type State = KernelParameters & {
@@ -1,7 +1,7 @@
1
1
  // math.gl
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  // SPDX-FileCopyrightText: 2018 Bernie Jenny, Monash University, Melbourne, Australia (Equal Earth, ported through proj4js)
4
- // SPDX-FileComment: Adapted from proj4js 2.22.0 lib/projections/eqearth.js with explicit TypeScript state and bounded inverse pole roundoff. Original Apache-2.0 notice retained below. See ../../../../projection/APACHE-2.0-LICENSE.txt and ../../../../projection/THIRD-PARTY-NOTICES.md. Independent corrections acknowledge PROJ 9.5.1 src/projections/eqearth.cpp and OSGeo/PROJ #1097; see ../../../../projection/PROJ-LICENSE.txt.
4
+ // SPDX-FileComment: Adapted from proj4js 2.22.0 lib/projections/eqearth.js with explicit TypeScript state and bounded inverse pole roundoff. Original Apache-2.0 notice retained below. See ../../../../APACHE-2.0-LICENSE.txt and ../../../../THIRD-PARTY-NOTICES.md#projection-sources-and-notices. Independent corrections acknowledge PROJ 9.5.1 src/projections/eqearth.cpp and OSGeo/PROJ #1097; see ../../../../PROJ-LICENSE.txt.
5
5
 
6
6
  import type {KernelParameters, Point} from '../kernel';
7
7
  export type State = KernelParameters & {
@@ -1,7 +1,7 @@
1
1
  // math.gl
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
- // SPDX-FileComment: Adapted from proj4js 2.22.0 with bounded inverse pole roundoff. See ../../../../projection/PROJ4-LICENSE.md for upstream attribution.
4
+ // SPDX-FileComment: Adapted from proj4js 2.22.0 with bounded inverse pole roundoff. See ../../../../PROJ4-LICENSE.md for upstream attribution.
5
5
 
6
6
  import type {KernelParameters, Point} from '../kernel';
7
7
  export type State = KernelParameters & {
@@ -1,7 +1,7 @@
1
1
  // math.gl
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
- // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../projection/PROJ4-LICENSE.md for the upstream license and attribution.
4
+ // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
5
5
 
6
6
  import type {KernelParameters, Point} from '../kernel';
7
7
  export type State = KernelParameters & {
@@ -1,7 +1,7 @@
1
1
  // math.gl
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
- // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../projection/PROJ4-LICENSE.md for the upstream license and attribution.
4
+ // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
5
5
 
6
6
  import type {KernelParameters, Point} from '../kernel';
7
7
  export type State = KernelParameters & {
@@ -1,7 +1,7 @@
1
1
  // math.gl
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
- // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../projection/PROJ4-LICENSE.md for the upstream license and attribution.
4
+ // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
5
5
 
6
6
  import type {KernelParameters, Point} from '../kernel';
7
7
  export type State = KernelParameters & {
@@ -1,7 +1,7 @@
1
1
  // math.gl
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
- // SPDX-FileComment: Spherical path adapted from proj4js 2.22.0; ellipsoidal path delegates to the attributed PROJ/GeographicLib adapter. See ../../../../projection/PROJ4-LICENSE.md for the upstream license and attribution.
4
+ // SPDX-FileComment: Spherical path adapted from proj4js 2.22.0; ellipsoidal path delegates to the attributed PROJ/GeographicLib adapter. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
5
5
 
6
6
  import type {KernelParameters, Point} from '../kernel';
7
7
  import {
@@ -1,7 +1,7 @@
1
1
  // math.gl
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
- // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../projection/PROJ4-LICENSE.md for the upstream license and attribution.
4
+ // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
5
5
 
6
6
  import type {KernelParameters, Point} from '../kernel';
7
7
  export type State = KernelParameters & {
@@ -1,7 +1,7 @@
1
1
  // math.gl
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
- // SPDX-FileComment: Adapted from proj4js 2.22.0, using the exact pi/4 constant as in PROJ 9.5.1 src/projections/krovak.cpp to preserve the south pole. See ../../../../projection/PROJ-LICENSE.txt. See ../../../../projection/PROJ4-LICENSE.md for the upstream license and attribution.
4
+ // SPDX-FileComment: Adapted from proj4js 2.22.0, using the exact pi/4 constant as in PROJ 9.5.1 src/projections/krovak.cpp to preserve the south pole. See ../../../../PROJ-LICENSE.txt. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
5
5
 
6
6
  import type {KernelParameters, Point} from '../kernel';
7
7
  export type State = KernelParameters & {
@@ -2,7 +2,7 @@
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
4
  // SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
5
- // SPDX-FileComment: Original math.gl pole-complement and Cartesian inverse stability corrections. Adapted from proj4js 2.22.0 with bounded inverse disk/pole roundoff. See ../../../../projection/PROJ4-LICENSE.md for upstream attribution. Independent corrections acknowledge PROJ 9.5.1 src/projections/laea.cpp; see ../../../../projection/PROJ-LICENSE.txt.
5
+ // SPDX-FileComment: Original math.gl pole-complement and Cartesian inverse stability corrections. Adapted from proj4js 2.22.0 with bounded inverse disk/pole roundoff. See ../../../../PROJ4-LICENSE.md for upstream attribution. Independent corrections acknowledge PROJ 9.5.1 src/projections/laea.cpp; see ../../../../PROJ-LICENSE.txt.
6
6
 
7
7
  import type {KernelParameters, Point} from '../kernel';
8
8
  export type State = KernelParameters & {
@@ -1,7 +1,7 @@
1
1
  // math.gl
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
- // SPDX-FileComment: Adapted from proj4js 2.22.0 with exact pole handling instead of latitude perturbation. See ../../../../projection/PROJ4-LICENSE.md for upstream attribution. Independent corrections acknowledge PROJ 9.5.1 src/projections/lcc.cpp; see ../../../../projection/PROJ-LICENSE.txt.
4
+ // SPDX-FileComment: Adapted from proj4js 2.22.0 with exact pole handling instead of latitude perturbation. See ../../../../PROJ4-LICENSE.md for upstream attribution. Independent corrections acknowledge PROJ 9.5.1 src/projections/lcc.cpp; see ../../../../PROJ-LICENSE.txt.
5
5
 
6
6
  import type {KernelParameters, Point} from '../kernel';
7
7
  export type State = KernelParameters & {
@@ -1,7 +1,7 @@
1
1
  // math.gl
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
- // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../projection/PROJ4-LICENSE.md for the upstream license and attribution.
4
+ // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
5
5
 
6
6
  import type {KernelParameters, Point} from '../kernel';
7
7
  export type State = KernelParameters & {};
@@ -2,7 +2,7 @@
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
4
  // SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
5
- // SPDX-FileComment: Original math.gl pole-complement solve, exact constants and bounded inverse replace cancellation-prone iteration. Direct TypeScript port of proj4js 2.22.0. See ../../../../projection/PROJ4-LICENSE.md for the upstream license and attribution.
5
+ // SPDX-FileComment: Original math.gl pole-complement solve, exact constants and bounded inverse replace cancellation-prone iteration. Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
6
6
 
7
7
  import type {KernelParameters, Point} from '../kernel';
8
8
  export type State = KernelParameters & {};
@@ -1,7 +1,7 @@
1
1
  // math.gl
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
- // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../projection/PROJ4-LICENSE.md for the upstream license and attribution.
4
+ // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
5
5
 
6
6
  import type {KernelParameters, Point} from '../kernel';
7
7
  export type State = KernelParameters & {
@@ -1,7 +1,7 @@
1
1
  // math.gl
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
- // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0, modified to reuse the caller-owned point instead of allocating coordinate results. See ../../../../projection/PROJ4-LICENSE.md for the upstream license and attribution.
4
+ // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0, modified to reuse the caller-owned point instead of allocating coordinate results. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
5
5
 
6
6
  import type {KernelParameters, Point} from '../kernel';
7
7
  export type State = KernelParameters & {
@@ -1,7 +1,7 @@
1
1
  // math.gl
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
4
- // SPDX-FileComment: Original orthographic equations using an ellipsoid surface and parallel ray intersection. Independently qualified against native PROJ. Independent corrections acknowledge PROJ 9.5.1 src/projections/ortho.cpp and OSGeo/PROJ #2361, #2844 and #2855; see ../../../../projection/PROJ-LICENSE.txt.
4
+ // SPDX-FileComment: Original orthographic equations using an ellipsoid surface and parallel ray intersection. Independently qualified against native PROJ. Independent corrections acknowledge PROJ 9.5.1 src/projections/ortho.cpp and OSGeo/PROJ #2361, #2844 and #2855; see ../../../../PROJ-LICENSE.txt.
5
5
  import type {KernelParameters, Point} from '../kernel';
6
6
  import adjust_lon from '../common/adjust_lon';
7
7
 
@@ -2,7 +2,7 @@
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
4
  // SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
5
- // SPDX-FileComment: Original math.gl polar inverse tangent-plane limit and shared meridional quadrature remove cancellation, truncation and inverse residuals. Adapted from proj4js 2.22.0 with corrected spherical meridian distance across pole-relative latitudes. See ../../../../projection/PROJ4-LICENSE.md for upstream attribution. Independent corrections acknowledge PROJ 9.5.1 src/projections/poly.cpp; see ../../../../projection/PROJ-LICENSE.txt.
5
+ // SPDX-FileComment: Original math.gl polar inverse tangent-plane limit and shared meridional quadrature remove cancellation, truncation and inverse residuals. Adapted from proj4js 2.22.0 with corrected spherical meridian distance across pole-relative latitudes. See ../../../../PROJ4-LICENSE.md for upstream attribution. Independent corrections acknowledge PROJ 9.5.1 src/projections/poly.cpp; see ../../../../PROJ-LICENSE.txt.
6
6
 
7
7
  import type {KernelParameters, Point} from '../kernel';
8
8
  export type State = KernelParameters & {
@@ -2,7 +2,7 @@
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
4
  // SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
5
- // SPDX-FileComment: Original math.gl half-angle and atan2 stability corrections. Direct TypeScript port of proj4js 2.22.0, modified to reuse the caller-owned point and represent area/temporary coordinates as local numbers. See ../../../../projection/PROJ4-LICENSE.md for the upstream license and attribution.
5
+ // SPDX-FileComment: Original math.gl half-angle and atan2 stability corrections. Direct TypeScript port of proj4js 2.22.0, modified to reuse the caller-owned point and represent area/temporary coordinates as local numbers. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
6
6
 
7
7
  import type {KernelParameters, Point} from '../kernel';
8
8
  export type State = KernelParameters & {
@@ -1,7 +1,7 @@
1
1
  // math.gl
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
- // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0, modified to reuse the input point and avoid per-coordinate result objects and Newton callbacks. See ../../../../projection/PROJ4-LICENSE.md for the upstream license and attribution. Table precision and interval selection follow PROJ 9.5.1 robin.cpp. See ../../../../projection/PROJ-LICENSE.txt for PROJ attribution.
4
+ // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0, modified to reuse the input point and avoid per-coordinate result objects and Newton callbacks. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution. Table precision and interval selection follow PROJ 9.5.1 robin.cpp. See ../../../../PROJ-LICENSE.txt for PROJ attribution.
5
5
 
6
6
  import type {KernelParameters, Point} from '../kernel';
7
7
  export type State = KernelParameters & {};
@@ -1,7 +1,7 @@
1
1
  // math.gl
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
- // SPDX-FileComment: Adapted from proj4js 2.22.0 with bounded Eckert VI inverse pole-line validation. See ../../../../projection/PROJ4-LICENSE.md for upstream attribution. Independent corrections acknowledge PROJ 9.5.1 src/projections/gn_sinu.cpp; see ../../../../projection/PROJ-LICENSE.txt.
4
+ // SPDX-FileComment: Adapted from proj4js 2.22.0 with bounded Eckert VI inverse pole-line validation. See ../../../../PROJ4-LICENSE.md for upstream attribution. Independent corrections acknowledge PROJ 9.5.1 src/projections/gn_sinu.cpp; see ../../../../PROJ-LICENSE.txt.
5
5
 
6
6
  import type {KernelParameters, Point} from '../kernel';
7
7
  export type State = KernelParameters & {
@@ -2,7 +2,7 @@
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
4
  // SPDX-FileCopyrightText: Copyright (c) PROJ contributors
5
- // SPDX-FileComment: Initialization adapted from proj4js 2.22.0; forward branch and inverse Newton equations adapted from PROJ 9.5.1 src/projections/somerc.cpp. See ../../../../projection/PROJ-LICENSE.txt. See ../../../../projection/PROJ4-LICENSE.md for the upstream license and attribution.
5
+ // SPDX-FileComment: Initialization adapted from proj4js 2.22.0; forward branch and inverse Newton equations adapted from PROJ 9.5.1 src/projections/somerc.cpp. See ../../../../PROJ-LICENSE.txt. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
6
6
 
7
7
  import type {KernelParameters, Point} from '../kernel';
8
8
  export type State = KernelParameters & {
@@ -3,7 +3,7 @@
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
4
  // SPDX-FileCopyrightText: Copyright (c) PROJ contributors
5
5
  // SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
6
- // SPDX-FileComment: Original math.gl inverse Cartesian rotation correction. Adapted from proj4js 2.22.0, with polar half-angle equations from PROJ 9.5.1 src/projections/stere.cpp. See ../../../../projection/PROJ-LICENSE.txt. See ../../../../projection/PROJ4-LICENSE.md for the upstream license and attribution.
6
+ // SPDX-FileComment: Original math.gl inverse Cartesian rotation correction. Adapted from proj4js 2.22.0, with polar half-angle equations from PROJ 9.5.1 src/projections/stere.cpp. See ../../../../PROJ-LICENSE.txt. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
7
7
 
8
8
  import type {KernelParameters, Point} from '../kernel';
9
9
  import {inverseSphericalLatitude} from '../inverse-spherical-latitude';
@@ -2,7 +2,7 @@
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
4
  // SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
5
- // SPDX-FileComment: Original math.gl inverse Cartesian rotation correction. Direct TypeScript port of proj4js 2.22.0. See ../../../../projection/PROJ4-LICENSE.md for the upstream license and attribution.
5
+ // SPDX-FileComment: Original math.gl inverse Cartesian rotation correction. Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
6
6
 
7
7
  import type {KernelParameters, Point} from '../kernel';
8
8
  import {inverseSphericalLatitude} from '../inverse-spherical-latitude';
@@ -1,7 +1,7 @@
1
1
  // math.gl
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
- // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../projection/PROJ4-LICENSE.md for the upstream license and attribution.
4
+ // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
5
5
 
6
6
  import type {KernelParameters, Point} from '../kernel';
7
7
  export type State = KernelParameters & {
@@ -1,7 +1,7 @@
1
1
  // math.gl
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
- // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0, modified to keep inverse temporary coordinates in local numbers. See ../../../../projection/PROJ4-LICENSE.md for the upstream license and attribution.
4
+ // SPDX-FileComment: Direct TypeScript port of proj4js 2.22.0, modified to keep inverse temporary coordinates in local numbers. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
5
5
 
6
6
  import type {KernelParameters, Point} from '../kernel';
7
7
  export type State = KernelParameters & {
@@ -2,7 +2,7 @@
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
4
  // SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
5
- // SPDX-FileComment: Cancellation-resistant rationalization of forward/inverse numerators is original math.gl code. Remaining equations ported from of proj4js 2.22.0. See ../../../../projection/PROJ4-LICENSE.md for the upstream license and attribution.
5
+ // SPDX-FileComment: Cancellation-resistant rationalization of forward/inverse numerators is original math.gl code. Remaining equations ported from of proj4js 2.22.0. See ../../../../PROJ4-LICENSE.md for the upstream license and attribution.
6
6
 
7
7
  import type {KernelParameters, Point} from '../kernel';
8
8
  export type State = KernelParameters & {
@@ -3,7 +3,7 @@
3
3
  // SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
4
4
  // SPDX-FileCopyrightText: Copyright (c) 2016, Thomas Knudsen / SDFE (PROJ)
5
5
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
6
- // SPDX-FileComment: Original numeric-buffer traversal around kinematic-helmert.ts's existing attributed equations and prepared coefficients. Exact matrix application follows the PROJ adaptation; small-angle matrix application follows the proj4js adaptation. See ../../../projection/PROJ-LICENSE.txt and ../../../projection/PROJ4-LICENSE.md. No model data is included.
6
+ // SPDX-FileComment: Original numeric-buffer traversal around kinematic-helmert.ts's existing attributed equations and prepared coefficients. Exact matrix application follows the PROJ adaptation; small-angle matrix application follows the proj4js adaptation. See ../../../PROJ-LICENSE.txt and ../../../PROJ4-LICENSE.md. No model data is included.
7
7
  import type {NumericFlatOperation} from './numeric-flat';
8
8
 
9
9
  /** Borrow the stage's owned coefficients, with exactly the scalar epoch preparation. */
@@ -3,7 +3,7 @@
3
3
  // SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
4
4
  // SPDX-FileCopyrightText: Copyright (c) 2016, Thomas Knudsen / SDFE (PROJ)
5
5
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
6
- // SPDX-FileComment: Original epoch propagation follows PROJ's kinematic Helmert contract. Exact matrix/convention transpose adapted from PROJ 9.5.1 helmert.cpp. See ../../../projection/PROJ-LICENSE.txt. Small-angle equations follow the attributed proj4js adaptation in datum.ts. See ../../../projection/PROJ4-LICENSE.md for the small-angle adaptation license.
6
+ // SPDX-FileComment: Original epoch propagation follows PROJ's kinematic Helmert contract. Exact matrix/convention transpose adapted from PROJ 9.5.1 helmert.cpp. See ../../../PROJ-LICENSE.txt. Small-angle equations follow the attributed proj4js adaptation in datum.ts. See ../../../PROJ4-LICENSE.md for the small-angle adaptation license.
7
7
  import {createKinematicHelmertFlat} from './kinematic-helmert-flat';
8
8
  import type {NumericFlatOperation} from './numeric-flat';
9
9
  import type {ProjectionPoint} from './types';
@@ -1,7 +1,7 @@
1
1
  // math.gl
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
4
- // SPDX-FileComment: Original typed orchestration inspired by PROJ's explicit pipeline model. Projection, geocentric and static Helmert equations reuse the proj4js adaptations in this package; see datum.ts and ../../../projection/PROJ4-LICENSE.md. The separate exact Helmert matrix is adapted from PROJ; see exact-helmert.ts and ../../../projection/PROJ-LICENSE.txt.
4
+ // SPDX-FileComment: Original typed orchestration inspired by PROJ's explicit pipeline model. Projection, geocentric and static Helmert equations reuse the proj4js adaptations in this package; see datum.ts and ../../../PROJ4-LICENSE.md. The separate exact Helmert matrix is adapted from PROJ; see exact-helmert.ts and ../../../PROJ-LICENSE.txt.
5
5
  import type {DeformationModel} from './deformation';
6
6
  import {CORE_PARAMETERS, normalizeCRS} from './crs/normalize';
7
7
  import {unsupportedStage} from './crs/types';
@@ -13,6 +13,7 @@ import {longitudeRange, envelope, scale, add} from '../rendering-profile/renderi
13
13
  /** Spherical equidistant cylindrical (the eqc formulation used by proj4js). */
14
14
  export const equidistantCylindrical: ProjectionPlugin = {
15
15
  name: 'eqc',
16
+ semantics: {id: '@math.gl/geospatial/eqc', version: 1},
16
17
  aliases: ['Equirectangular', 'Equidistant_Cylindrical', 'Equidistant_Cylindrical_Spherical'],
17
18
  parameters: ['lon_0', 'lat_0', 'lat_ts', 'x_0', 'y_0'],
18
19
  create({semiMajorAxis: a, parameters, primeMeridian = 0}) {
@@ -18,6 +18,7 @@ import {
18
18
  /** Spherical and ellipsoidal Mercator, using the PROJ Mercator equations. */
19
19
  export const mercator: ProjectionPlugin = {
20
20
  name: 'merc',
21
+ semantics: {id: '@math.gl/geospatial/merc', version: 1},
21
22
  aliases: [
22
23
  'Mercator',
23
24
  'Popular Visualisation Pseudo Mercator',
@@ -2,7 +2,7 @@
2
2
  // SPDX-License-Identifier: MIT
3
3
  // SPDX-FileCopyrightText: 2014 Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf (proj4js)
4
4
  // SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
5
- // SPDX-FileComment: Rotation equations directly ported from proj4js 2.22.0 lib/projections/ob_tran.js. See ../../../../projection/PROJ4-LICENSE.md. Modified to use an explicitly supplied plugin instead of proj4js's global registry.
5
+ // SPDX-FileComment: Rotation equations directly ported from proj4js 2.22.0 lib/projections/ob_tran.js. See ../../../../PROJ4-LICENSE.md. Modified to use an explicitly supplied plugin instead of proj4js's global registry.
6
6
  import type {
7
7
  ProjectionPlugin,
8
8
  ProjectionParameters,
@@ -0,0 +1,82 @@
1
+ // math.gl
2
+ // SPDX-License-Identifier: MIT
3
+ // SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
4
+
5
+ import type {NormalizedCRS} from './crs/types';
6
+ import type {
7
+ ProjectionAlgorithmIdentity,
8
+ ProjectionCRSDescription,
9
+ ProjectionDirectionDescription,
10
+ ProjectionTransformDescription
11
+ } from '../transform-description';
12
+
13
+ /** Snapshot only data; grid functions and plugin objects never escape through metadata. */
14
+ export function describeCRS(
15
+ crs: NormalizedCRS & {algorithm?: ProjectionAlgorithmIdentity}
16
+ ): ProjectionCRSDescription {
17
+ const ellipsoid = Object.freeze({...crs.ellipsoid});
18
+ return Object.freeze({
19
+ kind: crs.kind,
20
+ projection: crs.projection,
21
+ parameters: Object.freeze(
22
+ Object.fromEntries(
23
+ Object.entries(crs.parameters).map(([name, value]) => [name, value ?? null])
24
+ )
25
+ ),
26
+ ellipsoid,
27
+ datum: Object.freeze({
28
+ ellipsoid: Object.freeze({...crs.datum.ellipsoid}),
29
+ towgs84: crs.datum.towgs84 && Object.freeze([...crs.datum.towgs84]),
30
+ grids:
31
+ crs.datum.grids &&
32
+ Object.freeze(
33
+ crs.datum.grids.map(reference =>
34
+ Object.freeze({
35
+ name: reference.name,
36
+ optional: reference.optional,
37
+ loaded: Boolean(reference.grid)
38
+ })
39
+ )
40
+ )
41
+ }),
42
+ angularUnit: crs.angularUnit,
43
+ toMeter: crs.toMeter,
44
+ verticalUnit: crs.verticalUnit,
45
+ primeMeridian: crs.primeMeridian,
46
+ axis: crs.axis,
47
+ storedAxis: crs.storedAxis,
48
+ longitudeWrap: crs.longitudeWrap,
49
+ areaOfUse: crs.areaOfUse && Object.freeze([...crs.areaOfUse] as const),
50
+ lossy: crs.lossy,
51
+ algorithm: crs.algorithm && Object.freeze({...crs.algorithm})
52
+ });
53
+ }
54
+
55
+ export function describeTransform(
56
+ source: ProjectionCRSDescription,
57
+ target: ProjectionCRSDescription,
58
+ forward: ProjectionDirectionDescription,
59
+ inverse: ProjectionDirectionDescription
60
+ ): ProjectionTransformDescription {
61
+ const opaqueReasons: Array<ProjectionTransformDescription['opaqueReasons'][number]> = [];
62
+ if (!source.algorithm) opaqueReasons.push('source-algorithm');
63
+ if (!target.algorithm) opaqueReasons.push('target-algorithm');
64
+ // Names do not identify resource contents or custom sampling behavior.
65
+ if (
66
+ source.datum.grids ||
67
+ target.datum.grids ||
68
+ source.parameters['geoidgrids'] ||
69
+ target.parameters['geoidgrids']
70
+ )
71
+ opaqueReasons.push('grid-resource');
72
+ return Object.freeze({
73
+ version: 1,
74
+ source,
75
+ target,
76
+ forward,
77
+ inverse,
78
+ lossy: source.lossy || target.lossy,
79
+ complete: opaqueReasons.length === 0,
80
+ opaqueReasons: Object.freeze(opaqueReasons)
81
+ });
82
+ }
@@ -13,6 +13,7 @@ export type {
13
13
  } from '../../crs/crs-descriptor-types';
14
14
  import type {TypeScriptCRSInput} from './crs/spatial-reference';
15
15
  import type {CreateProjectionOptions, ProjectionEngine} from '../types';
16
+ import type {ProjectionAlgorithmIdentity} from '../transform-description';
16
17
 
17
18
  /** Raw PROJ parameters. Angles are decimal degrees and lengths are meters. */
18
19
  export type ProjectionParameters = Readonly<Record<string, string | undefined>>;
@@ -95,6 +96,10 @@ export type ProjectionContext = {
95
96
 
96
97
  /** Explicit registration avoids global state and imports of unused projections. */
97
98
  export type ProjectionPlugin = {
99
+ /** Optional promise of stable coordinate semantics. Omit for opaque/custom algorithms.
100
+ * Copying this identity onto a replacement create() asserts semantic equivalence.
101
+ */
102
+ readonly semantics?: ProjectionAlgorithmIdentity;
98
103
  readonly name: string;
99
104
  readonly aliases?: readonly string[];
100
105
  /** Projection-specific PROJ parameters accepted in addition to the core parameters. */