@math.gl/geospatial 5.0.0-alpha.9 → 5.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2791) hide show
  1. package/GEOGRAPHICLIB-LICENSE.txt +28 -0
  2. package/LICENSE +268 -69
  3. package/README.md +51 -0
  4. package/THIRD-PARTY-NOTICES.md +116 -0
  5. package/crs/README.md +84 -0
  6. package/crs/schemas/README.md +9 -0
  7. package/crs/schemas/projjson.schema.json +1174 -0
  8. package/dist/constants.d.ts.map +1 -1
  9. package/dist/constants.js +5 -3
  10. package/dist/constants.js.map +1 -1
  11. package/dist/coordinates/angles.d.ts +20 -0
  12. package/dist/coordinates/angles.d.ts.map +1 -0
  13. package/dist/coordinates/angles.js +117 -0
  14. package/dist/coordinates/angles.js.map +1 -0
  15. package/dist/coordinates/grid.d.ts +23 -0
  16. package/dist/coordinates/grid.d.ts.map +1 -0
  17. package/dist/coordinates/grid.js +110 -0
  18. package/dist/coordinates/grid.js.map +1 -0
  19. package/dist/coordinates/mgrs.d.ts +25 -0
  20. package/dist/coordinates/mgrs.d.ts.map +1 -0
  21. package/dist/coordinates/mgrs.js +124 -0
  22. package/dist/coordinates/mgrs.js.map +1 -0
  23. package/dist/coordinates.d.ts +7 -0
  24. package/dist/coordinates.d.ts.map +1 -0
  25. package/dist/coordinates.js +7 -0
  26. package/dist/coordinates.js.map +1 -0
  27. package/dist/crs/crs-descriptor-types.d.ts +71 -0
  28. package/dist/crs/crs-descriptor-types.d.ts.map +1 -0
  29. package/dist/crs/crs-descriptor-types.js +5 -0
  30. package/dist/crs/crs-descriptor-types.js.map +1 -0
  31. package/dist/crs/crs-descriptor.d.ts +26 -0
  32. package/dist/crs/crs-descriptor.d.ts.map +1 -0
  33. package/dist/crs/crs-descriptor.js +131 -0
  34. package/dist/crs/crs-descriptor.js.map +1 -0
  35. package/dist/crs/crs-metadata.d.ts +43 -0
  36. package/dist/crs/crs-metadata.d.ts.map +1 -0
  37. package/dist/crs/crs-metadata.js +26 -0
  38. package/dist/crs/crs-metadata.js.map +1 -0
  39. package/dist/crs/crs.d.ts +22 -0
  40. package/dist/crs/crs.d.ts.map +1 -0
  41. package/dist/crs/crs.js +5 -0
  42. package/dist/crs/crs.js.map +1 -0
  43. package/dist/crs/execution-identity.d.ts +26 -0
  44. package/dist/crs/execution-identity.d.ts.map +1 -0
  45. package/dist/crs/execution-identity.js +76 -0
  46. package/dist/crs/execution-identity.js.map +1 -0
  47. package/dist/crs/index.cjs +1252 -0
  48. package/dist/crs/index.cjs.map +6 -0
  49. package/dist/crs/index.d.ts +21 -0
  50. package/dist/crs/index.d.ts.map +1 -0
  51. package/dist/crs/index.js +15 -0
  52. package/dist/crs/index.js.map +1 -0
  53. package/dist/crs/proj-string.d.ts +32 -0
  54. package/dist/crs/proj-string.d.ts.map +1 -0
  55. package/dist/crs/proj-string.js +204 -0
  56. package/dist/crs/proj-string.js.map +1 -0
  57. package/dist/crs/projection-domain.d.ts +33 -0
  58. package/dist/crs/projection-domain.d.ts.map +1 -0
  59. package/dist/crs/projection-domain.js +69 -0
  60. package/dist/crs/projection-domain.js.map +1 -0
  61. package/dist/crs/projjson-schema-constants.d.ts +5 -0
  62. package/dist/crs/projjson-schema-constants.d.ts.map +1 -0
  63. package/dist/crs/projjson-schema-constants.js +8 -0
  64. package/dist/crs/projjson-schema-constants.js.map +1 -0
  65. package/dist/crs/projjson-types.d.ts +557 -0
  66. package/dist/crs/projjson-types.d.ts.map +1 -0
  67. package/dist/crs/projjson-types.js +5 -0
  68. package/dist/crs/projjson-types.js.map +1 -0
  69. package/dist/crs/resolver.d.ts +43 -0
  70. package/dist/crs/resolver.d.ts.map +1 -0
  71. package/dist/crs/resolver.js +142 -0
  72. package/dist/crs/resolver.js.map +1 -0
  73. package/dist/crs/spatial-reference.d.ts +106 -0
  74. package/dist/crs/spatial-reference.d.ts.map +1 -0
  75. package/dist/crs/spatial-reference.js +86 -0
  76. package/dist/crs/spatial-reference.js.map +1 -0
  77. package/dist/crs/units-table.d.ts +4 -0
  78. package/dist/crs/units-table.d.ts.map +1 -0
  79. package/dist/crs/units-table.js +29 -0
  80. package/dist/crs/units-table.js.map +1 -0
  81. package/dist/crs/wkt-crs.d.ts +86 -0
  82. package/dist/crs/wkt-crs.d.ts.map +1 -0
  83. package/dist/crs/wkt-crs.js +613 -0
  84. package/dist/crs/wkt-crs.js.map +1 -0
  85. package/dist/discontinuous/air-ocean-mesh.d.ts +15 -0
  86. package/dist/discontinuous/air-ocean-mesh.d.ts.map +1 -0
  87. package/dist/discontinuous/air-ocean-mesh.js +75 -0
  88. package/dist/discontinuous/air-ocean-mesh.js.map +1 -0
  89. package/dist/discontinuous/albers-usa.d.ts +9 -0
  90. package/dist/discontinuous/albers-usa.d.ts.map +1 -0
  91. package/dist/discontinuous/albers-usa.js +105 -0
  92. package/dist/discontinuous/albers-usa.js.map +1 -0
  93. package/dist/discontinuous/cap-map.d.ts +23 -0
  94. package/dist/discontinuous/cap-map.d.ts.map +1 -0
  95. package/dist/discontinuous/cap-map.js +314 -0
  96. package/dist/discontinuous/cap-map.js.map +1 -0
  97. package/dist/discontinuous/elastic/data.d.ts +26 -0
  98. package/dist/discontinuous/elastic/data.d.ts.map +1 -0
  99. package/dist/discontinuous/elastic/data.js +72 -0
  100. package/dist/discontinuous/elastic/data.js.map +1 -0
  101. package/dist/discontinuous/elastic/elasticI.d.ts +3 -0
  102. package/dist/discontinuous/elastic/elasticI.d.ts.map +1 -0
  103. package/dist/discontinuous/elastic/elasticI.js +5233 -0
  104. package/dist/discontinuous/elastic/elasticI.js.map +1 -0
  105. package/dist/discontinuous/elastic/elasticII.d.ts +3 -0
  106. package/dist/discontinuous/elastic/elasticII.d.ts.map +1 -0
  107. package/dist/discontinuous/elastic/elasticII.js +18162 -0
  108. package/dist/discontinuous/elastic/elasticII.js.map +1 -0
  109. package/dist/discontinuous/elastic/elasticIII.d.ts +3 -0
  110. package/dist/discontinuous/elastic/elasticIII.d.ts.map +1 -0
  111. package/dist/discontinuous/elastic/elasticIII.js +29566 -0
  112. package/dist/discontinuous/elastic/elasticIII.js.map +1 -0
  113. package/dist/discontinuous/elastic/geometry.d.ts +22 -0
  114. package/dist/discontinuous/elastic/geometry.d.ts.map +1 -0
  115. package/dist/discontinuous/elastic/geometry.js +131 -0
  116. package/dist/discontinuous/elastic/geometry.js.map +1 -0
  117. package/dist/discontinuous/elastic/grid.d.ts +15 -0
  118. package/dist/discontinuous/elastic/grid.d.ts.map +1 -0
  119. package/dist/discontinuous/elastic/grid.js +177 -0
  120. package/dist/discontinuous/elastic/grid.js.map +1 -0
  121. package/dist/discontinuous/elastic/map.d.ts +8 -0
  122. package/dist/discontinuous/elastic/map.d.ts.map +1 -0
  123. package/dist/discontinuous/elastic/map.js +260 -0
  124. package/dist/discontinuous/elastic/map.js.map +1 -0
  125. package/dist/discontinuous/global-polygons.d.ts +35 -0
  126. package/dist/discontinuous/global-polygons.d.ts.map +1 -0
  127. package/dist/discontinuous/global-polygons.js +215 -0
  128. package/dist/discontinuous/global-polygons.js.map +1 -0
  129. package/dist/discontinuous/gray-fuller.d.ts +5 -0
  130. package/dist/discontinuous/gray-fuller.d.ts.map +1 -0
  131. package/dist/discontinuous/gray-fuller.js +36 -0
  132. package/dist/discontinuous/gray-fuller.js.map +1 -0
  133. package/dist/discontinuous/gringorten-kernel.d.ts +5 -0
  134. package/dist/discontinuous/gringorten-kernel.d.ts.map +1 -0
  135. package/dist/discontinuous/gringorten-kernel.js +94 -0
  136. package/dist/discontinuous/gringorten-kernel.js.map +1 -0
  137. package/dist/discontinuous/healpix.d.ts +13 -0
  138. package/dist/discontinuous/healpix.d.ts.map +1 -0
  139. package/dist/discontinuous/healpix.js +61 -0
  140. package/dist/discontinuous/healpix.js.map +1 -0
  141. package/dist/discontinuous/layout.d.ts +72 -0
  142. package/dist/discontinuous/layout.d.ts.map +1 -0
  143. package/dist/discontinuous/layout.js +114 -0
  144. package/dist/discontinuous/layout.js.map +1 -0
  145. package/dist/discontinuous/map-engine.d.ts +214 -0
  146. package/dist/discontinuous/map-engine.d.ts.map +1 -0
  147. package/dist/discontinuous/map-engine.js +408 -0
  148. package/dist/discontinuous/map-engine.js.map +1 -0
  149. package/dist/discontinuous/map-layout.d.ts +93 -0
  150. package/dist/discontinuous/map-layout.d.ts.map +1 -0
  151. package/dist/discontinuous/map-layout.js +490 -0
  152. package/dist/discontinuous/map-layout.js.map +1 -0
  153. package/dist/discontinuous/map-transition.d.ts +42 -0
  154. package/dist/discontinuous/map-transition.d.ts.map +1 -0
  155. package/dist/discontinuous/map-transition.js +283 -0
  156. package/dist/discontinuous/map-transition.js.map +1 -0
  157. package/dist/discontinuous/math.d.ts +19 -0
  158. package/dist/discontinuous/math.d.ts.map +1 -0
  159. package/dist/discontinuous/math.js +65 -0
  160. package/dist/discontinuous/math.js.map +1 -0
  161. package/dist/discontinuous/mercator-map.d.ts +24 -0
  162. package/dist/discontinuous/mercator-map.d.ts.map +1 -0
  163. package/dist/discontinuous/mercator-map.js +134 -0
  164. package/dist/discontinuous/mercator-map.js.map +1 -0
  165. package/dist/discontinuous/myriahedral/graticule.d.ts +6 -0
  166. package/dist/discontinuous/myriahedral/graticule.d.ts.map +1 -0
  167. package/dist/discontinuous/myriahedral/graticule.js +37 -0
  168. package/dist/discontinuous/myriahedral/graticule.js.map +1 -0
  169. package/dist/discontinuous/myriahedral/mesh.d.ts +18 -0
  170. package/dist/discontinuous/myriahedral/mesh.d.ts.map +1 -0
  171. package/dist/discontinuous/myriahedral/mesh.js +131 -0
  172. package/dist/discontinuous/myriahedral/mesh.js.map +1 -0
  173. package/dist/discontinuous/myriahedral/unfold.d.ts +56 -0
  174. package/dist/discontinuous/myriahedral/unfold.d.ts.map +1 -0
  175. package/dist/discontinuous/myriahedral/unfold.js +191 -0
  176. package/dist/discontinuous/myriahedral/unfold.js.map +1 -0
  177. package/dist/discontinuous/myriahedral.d.ts +62 -0
  178. package/dist/discontinuous/myriahedral.d.ts.map +1 -0
  179. package/dist/discontinuous/myriahedral.js +217 -0
  180. package/dist/discontinuous/myriahedral.js.map +1 -0
  181. package/dist/discontinuous/petroff.d.ts +8 -0
  182. package/dist/discontinuous/petroff.d.ts.map +1 -0
  183. package/dist/discontinuous/petroff.js +159 -0
  184. package/dist/discontinuous/petroff.js.map +1 -0
  185. package/dist/discontinuous/polyhedral.d.ts +8 -0
  186. package/dist/discontinuous/polyhedral.d.ts.map +1 -0
  187. package/dist/discontinuous/polyhedral.js +117 -0
  188. package/dist/discontinuous/polyhedral.js.map +1 -0
  189. package/dist/discontinuous/prepare-features.d.ts +81 -0
  190. package/dist/discontinuous/prepare-features.d.ts.map +1 -0
  191. package/dist/discontinuous/prepare-features.js +149 -0
  192. package/dist/discontinuous/prepare-features.js.map +1 -0
  193. package/dist/discontinuous/presets.d.ts +71 -0
  194. package/dist/discontinuous/presets.d.ts.map +1 -0
  195. package/dist/discontinuous/presets.js +372 -0
  196. package/dist/discontinuous/presets.js.map +1 -0
  197. package/dist/discontinuous/projection-catalog.d.ts +33 -0
  198. package/dist/discontinuous/projection-catalog.d.ts.map +1 -0
  199. package/dist/discontinuous/projection-catalog.js +96 -0
  200. package/dist/discontinuous/projection-catalog.js.map +1 -0
  201. package/dist/discontinuous/quincuncial-kernel.d.ts +9 -0
  202. package/dist/discontinuous/quincuncial-kernel.d.ts.map +1 -0
  203. package/dist/discontinuous/quincuncial-kernel.js +139 -0
  204. package/dist/discontinuous/quincuncial-kernel.js.map +1 -0
  205. package/dist/discontinuous/quincuncial-star.d.ts +29 -0
  206. package/dist/discontinuous/quincuncial-star.d.ts.map +1 -0
  207. package/dist/discontinuous/quincuncial-star.js +307 -0
  208. package/dist/discontinuous/quincuncial-star.js.map +1 -0
  209. package/dist/discontinuous/regional-map.d.ts +19 -0
  210. package/dist/discontinuous/regional-map.d.ts.map +1 -0
  211. package/dist/discontinuous/regional-map.js +190 -0
  212. package/dist/discontinuous/regional-map.js.map +1 -0
  213. package/dist/discontinuous/retroazimuthal-map.d.ts +6 -0
  214. package/dist/discontinuous/retroazimuthal-map.d.ts.map +1 -0
  215. package/dist/discontinuous/retroazimuthal-map.js +52 -0
  216. package/dist/discontinuous/retroazimuthal-map.js.map +1 -0
  217. package/dist/discontinuous/rotated-map.d.ts +31 -0
  218. package/dist/discontinuous/rotated-map.d.ts.map +1 -0
  219. package/dist/discontinuous/rotated-map.js +66 -0
  220. package/dist/discontinuous/rotated-map.js.map +1 -0
  221. package/dist/discontinuous/snyder-mesh.d.ts +11 -0
  222. package/dist/discontinuous/snyder-mesh.d.ts.map +1 -0
  223. package/dist/discontinuous/snyder-mesh.js +88 -0
  224. package/dist/discontinuous/snyder-mesh.js.map +1 -0
  225. package/dist/discontinuous/snyder.d.ts +16 -0
  226. package/dist/discontinuous/snyder.d.ts.map +1 -0
  227. package/dist/discontinuous/snyder.js +153 -0
  228. package/dist/discontinuous/snyder.js.map +1 -0
  229. package/dist/discontinuous/spherical-clip/cartesian.d.ts +8 -0
  230. package/dist/discontinuous/spherical-clip/cartesian.d.ts.map +1 -0
  231. package/dist/discontinuous/spherical-clip/cartesian.js +34 -0
  232. package/dist/discontinuous/spherical-clip/cartesian.js.map +1 -0
  233. package/dist/discontinuous/spherical-clip/circle.d.ts +2 -0
  234. package/dist/discontinuous/spherical-clip/circle.d.ts.map +1 -0
  235. package/dist/discontinuous/spherical-clip/circle.js +34 -0
  236. package/dist/discontinuous/spherical-clip/circle.js.map +1 -0
  237. package/dist/discontinuous/spherical-clip/clip-buffer.d.ts +9 -0
  238. package/dist/discontinuous/spherical-clip/clip-buffer.d.ts.map +1 -0
  239. package/dist/discontinuous/spherical-clip/clip-buffer.js +28 -0
  240. package/dist/discontinuous/spherical-clip/clip-buffer.js.map +1 -0
  241. package/dist/discontinuous/spherical-clip/clip-circle.d.ts +9 -0
  242. package/dist/discontinuous/spherical-clip/clip-circle.d.ts.map +1 -0
  243. package/dist/discontinuous/spherical-clip/clip-circle.js +160 -0
  244. package/dist/discontinuous/spherical-clip/clip-circle.js.map +1 -0
  245. package/dist/discontinuous/spherical-clip/clip-index.d.ts +9 -0
  246. package/dist/discontinuous/spherical-clip/clip-index.d.ts.map +1 -0
  247. package/dist/discontinuous/spherical-clip/clip-index.js +117 -0
  248. package/dist/discontinuous/spherical-clip/clip-index.js.map +1 -0
  249. package/dist/discontinuous/spherical-clip/clip-rejoin.d.ts +2 -0
  250. package/dist/discontinuous/spherical-clip/clip-rejoin.d.ts.map +1 -0
  251. package/dist/discontinuous/spherical-clip/clip-rejoin.js +99 -0
  252. package/dist/discontinuous/spherical-clip/clip-rejoin.js.map +1 -0
  253. package/dist/discontinuous/spherical-clip/helpers.d.ts +8 -0
  254. package/dist/discontinuous/spherical-clip/helpers.d.ts.map +1 -0
  255. package/dist/discontinuous/spherical-clip/helpers.js +21 -0
  256. package/dist/discontinuous/spherical-clip/helpers.js.map +1 -0
  257. package/dist/discontinuous/spherical-clip/math.d.ts +26 -0
  258. package/dist/discontinuous/spherical-clip/math.d.ts.map +1 -0
  259. package/dist/discontinuous/spherical-clip/math.js +39 -0
  260. package/dist/discontinuous/spherical-clip/math.js.map +1 -0
  261. package/dist/discontinuous/spherical-clip/noop.d.ts +2 -0
  262. package/dist/discontinuous/spherical-clip/noop.d.ts.map +1 -0
  263. package/dist/discontinuous/spherical-clip/noop.js +6 -0
  264. package/dist/discontinuous/spherical-clip/noop.js.map +1 -0
  265. package/dist/discontinuous/spherical-clip/pointEqual.d.ts +2 -0
  266. package/dist/discontinuous/spherical-clip/pointEqual.d.ts.map +1 -0
  267. package/dist/discontinuous/spherical-clip/pointEqual.js +9 -0
  268. package/dist/discontinuous/spherical-clip/pointEqual.js.map +1 -0
  269. package/dist/discontinuous/spherical-clip/polygonContains.d.ts +2 -0
  270. package/dist/discontinuous/spherical-clip/polygonContains.d.ts.map +1 -0
  271. package/dist/discontinuous/spherical-clip/polygonContains.js +52 -0
  272. package/dist/discontinuous/spherical-clip/polygonContains.js.map +1 -0
  273. package/dist/discontinuous/world-composite-kernels.d.ts +11 -0
  274. package/dist/discontinuous/world-composite-kernels.d.ts.map +1 -0
  275. package/dist/discontinuous/world-composite-kernels.js +30 -0
  276. package/dist/discontinuous/world-composite-kernels.js.map +1 -0
  277. package/dist/discontinuous/world-kernels/airy.d.ts +5 -0
  278. package/dist/discontinuous/world-kernels/airy.d.ts.map +1 -0
  279. package/dist/discontinuous/world-kernels/airy.js +28 -0
  280. package/dist/discontinuous/world-kernels/airy.js.map +1 -0
  281. package/dist/discontinuous/world-kernels/aitoff.d.ts +5 -0
  282. package/dist/discontinuous/world-kernels/aitoff.d.ts.map +1 -0
  283. package/dist/discontinuous/world-kernels/aitoff.js +26 -0
  284. package/dist/discontinuous/world-kernels/aitoff.js.map +1 -0
  285. package/dist/discontinuous/world-kernels/armadillo.d.ts +5 -0
  286. package/dist/discontinuous/world-kernels/armadillo.d.ts.map +1 -0
  287. package/dist/discontinuous/world-kernels/armadillo.js +28 -0
  288. package/dist/discontinuous/world-kernels/armadillo.js.map +1 -0
  289. package/dist/discontinuous/world-kernels/august.d.ts +5 -0
  290. package/dist/discontinuous/world-kernels/august.d.ts.map +1 -0
  291. package/dist/discontinuous/world-kernels/august.js +21 -0
  292. package/dist/discontinuous/world-kernels/august.js.map +1 -0
  293. package/dist/discontinuous/world-kernels/baker.d.ts +5 -0
  294. package/dist/discontinuous/world-kernels/baker.d.ts.map +1 -0
  295. package/dist/discontinuous/world-kernels/baker.js +29 -0
  296. package/dist/discontinuous/world-kernels/baker.js.map +1 -0
  297. package/dist/discontinuous/world-kernels/bertin.d.ts +5 -0
  298. package/dist/discontinuous/world-kernels/bertin.d.ts.map +1 -0
  299. package/dist/discontinuous/world-kernels/bertin.js +32 -0
  300. package/dist/discontinuous/world-kernels/bertin.js.map +1 -0
  301. package/dist/discontinuous/world-kernels/boggs.d.ts +5 -0
  302. package/dist/discontinuous/world-kernels/boggs.d.ts.map +1 -0
  303. package/dist/discontinuous/world-kernels/boggs.js +24 -0
  304. package/dist/discontinuous/world-kernels/boggs.js.map +1 -0
  305. package/dist/discontinuous/world-kernels/bonne.d.ts +3 -0
  306. package/dist/discontinuous/world-kernels/bonne.d.ts.map +1 -0
  307. package/dist/discontinuous/world-kernels/bonne.js +22 -0
  308. package/dist/discontinuous/world-kernels/bonne.js.map +1 -0
  309. package/dist/discontinuous/world-kernels/bottomley.d.ts +5 -0
  310. package/dist/discontinuous/world-kernels/bottomley.d.ts.map +1 -0
  311. package/dist/discontinuous/world-kernels/bottomley.js +18 -0
  312. package/dist/discontinuous/world-kernels/bottomley.js.map +1 -0
  313. package/dist/discontinuous/world-kernels/bromley.d.ts +5 -0
  314. package/dist/discontinuous/world-kernels/bromley.d.ts.map +1 -0
  315. package/dist/discontinuous/world-kernels/bromley.js +9 -0
  316. package/dist/discontinuous/world-kernels/bromley.js.map +1 -0
  317. package/dist/discontinuous/world-kernels/chamberlin.d.ts +2 -0
  318. package/dist/discontinuous/world-kernels/chamberlin.d.ts.map +1 -0
  319. package/dist/discontinuous/world-kernels/chamberlin.js +81 -0
  320. package/dist/discontinuous/world-kernels/chamberlin.js.map +1 -0
  321. package/dist/discontinuous/world-kernels/collignon.d.ts +5 -0
  322. package/dist/discontinuous/world-kernels/collignon.d.ts.map +1 -0
  323. package/dist/discontinuous/world-kernels/collignon.js +15 -0
  324. package/dist/discontinuous/world-kernels/collignon.js.map +1 -0
  325. package/dist/discontinuous/world-kernels/craig.d.ts +5 -0
  326. package/dist/discontinuous/world-kernels/craig.d.ts.map +1 -0
  327. package/dist/discontinuous/world-kernels/craig.js +30 -0
  328. package/dist/discontinuous/world-kernels/craig.js.map +1 -0
  329. package/dist/discontinuous/world-kernels/craster.d.ts +5 -0
  330. package/dist/discontinuous/world-kernels/craster.d.ts.map +1 -0
  331. package/dist/discontinuous/world-kernels/craster.js +15 -0
  332. package/dist/discontinuous/world-kernels/craster.js.map +1 -0
  333. package/dist/discontinuous/world-kernels/cylindricalEqualArea.d.ts +5 -0
  334. package/dist/discontinuous/world-kernels/cylindricalEqualArea.d.ts.map +1 -0
  335. package/dist/discontinuous/world-kernels/cylindricalEqualArea.js +17 -0
  336. package/dist/discontinuous/world-kernels/cylindricalEqualArea.js.map +1 -0
  337. package/dist/discontinuous/world-kernels/cylindricalStereographic.d.ts +5 -0
  338. package/dist/discontinuous/world-kernels/cylindricalStereographic.d.ts.map +1 -0
  339. package/dist/discontinuous/world-kernels/cylindricalStereographic.js +17 -0
  340. package/dist/discontinuous/world-kernels/cylindricalStereographic.js.map +1 -0
  341. package/dist/discontinuous/world-kernels/d3-geo-raw.d.ts +9 -0
  342. package/dist/discontinuous/world-kernels/d3-geo-raw.d.ts.map +1 -0
  343. package/dist/discontinuous/world-kernels/d3-geo-raw.js +21 -0
  344. package/dist/discontinuous/world-kernels/d3-geo-raw.js.map +1 -0
  345. package/dist/discontinuous/world-kernels/eckert1.d.ts +5 -0
  346. package/dist/discontinuous/world-kernels/eckert1.d.ts.map +1 -0
  347. package/dist/discontinuous/world-kernels/eckert1.js +15 -0
  348. package/dist/discontinuous/world-kernels/eckert1.js.map +1 -0
  349. package/dist/discontinuous/world-kernels/eckert2.d.ts +5 -0
  350. package/dist/discontinuous/world-kernels/eckert2.d.ts.map +1 -0
  351. package/dist/discontinuous/world-kernels/eckert2.js +15 -0
  352. package/dist/discontinuous/world-kernels/eckert2.js.map +1 -0
  353. package/dist/discontinuous/world-kernels/eckert3.d.ts +5 -0
  354. package/dist/discontinuous/world-kernels/eckert3.d.ts.map +1 -0
  355. package/dist/discontinuous/world-kernels/eckert3.js +15 -0
  356. package/dist/discontinuous/world-kernels/eckert3.js.map +1 -0
  357. package/dist/discontinuous/world-kernels/eckert4.d.ts +5 -0
  358. package/dist/discontinuous/world-kernels/eckert4.d.ts.map +1 -0
  359. package/dist/discontinuous/world-kernels/eckert4.js +20 -0
  360. package/dist/discontinuous/world-kernels/eckert4.js.map +1 -0
  361. package/dist/discontinuous/world-kernels/eckert5.d.ts +5 -0
  362. package/dist/discontinuous/world-kernels/eckert5.d.ts.map +1 -0
  363. package/dist/discontinuous/world-kernels/eckert5.js +14 -0
  364. package/dist/discontinuous/world-kernels/eckert5.js.map +1 -0
  365. package/dist/discontinuous/world-kernels/eckert6.d.ts +5 -0
  366. package/dist/discontinuous/world-kernels/eckert6.d.ts.map +1 -0
  367. package/dist/discontinuous/world-kernels/eckert6.js +19 -0
  368. package/dist/discontinuous/world-kernels/eckert6.js.map +1 -0
  369. package/dist/discontinuous/world-kernels/eisenlohr.d.ts +5 -0
  370. package/dist/discontinuous/world-kernels/eisenlohr.d.ts.map +1 -0
  371. package/dist/discontinuous/world-kernels/eisenlohr.js +41 -0
  372. package/dist/discontinuous/world-kernels/eisenlohr.js.map +1 -0
  373. package/dist/discontinuous/world-kernels/fahey.d.ts +5 -0
  374. package/dist/discontinuous/world-kernels/fahey.d.ts.map +1 -0
  375. package/dist/discontinuous/world-kernels/fahey.js +16 -0
  376. package/dist/discontinuous/world-kernels/fahey.js.map +1 -0
  377. package/dist/discontinuous/world-kernels/foucaut.d.ts +5 -0
  378. package/dist/discontinuous/world-kernels/foucaut.d.ts.map +1 -0
  379. package/dist/discontinuous/world-kernels/foucaut.js +15 -0
  380. package/dist/discontinuous/world-kernels/foucaut.js.map +1 -0
  381. package/dist/discontinuous/world-kernels/foucautSinusoidal.d.ts +5 -0
  382. package/dist/discontinuous/world-kernels/foucautSinusoidal.d.ts.map +1 -0
  383. package/dist/discontinuous/world-kernels/foucautSinusoidal.js +27 -0
  384. package/dist/discontinuous/world-kernels/foucautSinusoidal.js.map +1 -0
  385. package/dist/discontinuous/world-kernels/ginzburg4.d.ts +5 -0
  386. package/dist/discontinuous/world-kernels/ginzburg4.d.ts.map +1 -0
  387. package/dist/discontinuous/world-kernels/ginzburg4.js +8 -0
  388. package/dist/discontinuous/world-kernels/ginzburg4.js.map +1 -0
  389. package/dist/discontinuous/world-kernels/ginzburg5.d.ts +5 -0
  390. package/dist/discontinuous/world-kernels/ginzburg5.d.ts.map +1 -0
  391. package/dist/discontinuous/world-kernels/ginzburg5.js +8 -0
  392. package/dist/discontinuous/world-kernels/ginzburg5.js.map +1 -0
  393. package/dist/discontinuous/world-kernels/ginzburg6.d.ts +5 -0
  394. package/dist/discontinuous/world-kernels/ginzburg6.d.ts.map +1 -0
  395. package/dist/discontinuous/world-kernels/ginzburg6.js +9 -0
  396. package/dist/discontinuous/world-kernels/ginzburg6.js.map +1 -0
  397. package/dist/discontinuous/world-kernels/ginzburg8.d.ts +5 -0
  398. package/dist/discontinuous/world-kernels/ginzburg8.d.ts.map +1 -0
  399. package/dist/discontinuous/world-kernels/ginzburg8.js +28 -0
  400. package/dist/discontinuous/world-kernels/ginzburg8.js.map +1 -0
  401. package/dist/discontinuous/world-kernels/ginzburg9.d.ts +5 -0
  402. package/dist/discontinuous/world-kernels/ginzburg9.d.ts.map +1 -0
  403. package/dist/discontinuous/world-kernels/ginzburg9.js +8 -0
  404. package/dist/discontinuous/world-kernels/ginzburg9.js.map +1 -0
  405. package/dist/discontinuous/world-kernels/ginzburgPolyconic.d.ts +5 -0
  406. package/dist/discontinuous/world-kernels/ginzburgPolyconic.d.ts.map +1 -0
  407. package/dist/discontinuous/world-kernels/ginzburgPolyconic.js +29 -0
  408. package/dist/discontinuous/world-kernels/ginzburgPolyconic.js.map +1 -0
  409. package/dist/discontinuous/world-kernels/hammer.d.ts +3 -0
  410. package/dist/discontinuous/world-kernels/hammer.d.ts.map +1 -0
  411. package/dist/discontinuous/world-kernels/hammer.js +34 -0
  412. package/dist/discontinuous/world-kernels/hammer.js.map +1 -0
  413. package/dist/discontinuous/world-kernels/hammerRetroazimuthal.d.ts +5 -0
  414. package/dist/discontinuous/world-kernels/hammerRetroazimuthal.d.ts.map +1 -0
  415. package/dist/discontinuous/world-kernels/hammerRetroazimuthal.js +37 -0
  416. package/dist/discontinuous/world-kernels/hammerRetroazimuthal.js.map +1 -0
  417. package/dist/discontinuous/world-kernels/hill.d.ts +5 -0
  418. package/dist/discontinuous/world-kernels/hill.d.ts.map +1 -0
  419. package/dist/discontinuous/world-kernels/hill.js +36 -0
  420. package/dist/discontinuous/world-kernels/hill.js.map +1 -0
  421. package/dist/discontinuous/world-kernels/homolosine.d.ts +5 -0
  422. package/dist/discontinuous/world-kernels/homolosine.d.ts.map +1 -0
  423. package/dist/discontinuous/world-kernels/homolosine.js +22 -0
  424. package/dist/discontinuous/world-kernels/homolosine.js.map +1 -0
  425. package/dist/discontinuous/world-kernels/hufnagel.d.ts +5 -0
  426. package/dist/discontinuous/world-kernels/hufnagel.d.ts.map +1 -0
  427. package/dist/discontinuous/world-kernels/hufnagel.js +53 -0
  428. package/dist/discontinuous/world-kernels/hufnagel.js.map +1 -0
  429. package/dist/discontinuous/world-kernels/hyperelliptical.d.ts +5 -0
  430. package/dist/discontinuous/world-kernels/hyperelliptical.d.ts.map +1 -0
  431. package/dist/discontinuous/world-kernels/hyperelliptical.js +47 -0
  432. package/dist/discontinuous/world-kernels/hyperelliptical.js.map +1 -0
  433. package/dist/discontinuous/world-kernels/integrate.d.ts +2 -0
  434. package/dist/discontinuous/world-kernels/integrate.d.ts.map +1 -0
  435. package/dist/discontinuous/world-kernels/integrate.js +82 -0
  436. package/dist/discontinuous/world-kernels/integrate.js.map +1 -0
  437. package/dist/discontinuous/world-kernels/kavrayskiy7.d.ts +5 -0
  438. package/dist/discontinuous/world-kernels/kavrayskiy7.d.ts.map +1 -0
  439. package/dist/discontinuous/world-kernels/kavrayskiy7.js +13 -0
  440. package/dist/discontinuous/world-kernels/kavrayskiy7.js.map +1 -0
  441. package/dist/discontinuous/world-kernels/lagrange.d.ts +5 -0
  442. package/dist/discontinuous/world-kernels/lagrange.d.ts.map +1 -0
  443. package/dist/discontinuous/world-kernels/lagrange.js +27 -0
  444. package/dist/discontinuous/world-kernels/lagrange.js.map +1 -0
  445. package/dist/discontinuous/world-kernels/larrivee.d.ts +5 -0
  446. package/dist/discontinuous/world-kernels/larrivee.d.ts.map +1 -0
  447. package/dist/discontinuous/world-kernels/larrivee.js +26 -0
  448. package/dist/discontinuous/world-kernels/larrivee.js.map +1 -0
  449. package/dist/discontinuous/world-kernels/laskowski.d.ts +5 -0
  450. package/dist/discontinuous/world-kernels/laskowski.d.ts.map +1 -0
  451. package/dist/discontinuous/world-kernels/laskowski.js +31 -0
  452. package/dist/discontinuous/world-kernels/laskowski.js.map +1 -0
  453. package/dist/discontinuous/world-kernels/littrow.d.ts +5 -0
  454. package/dist/discontinuous/world-kernels/littrow.d.ts.map +1 -0
  455. package/dist/discontinuous/world-kernels/littrow.js +13 -0
  456. package/dist/discontinuous/world-kernels/littrow.js.map +1 -0
  457. package/dist/discontinuous/world-kernels/loximuthal.d.ts +5 -0
  458. package/dist/discontinuous/world-kernels/loximuthal.d.ts.map +1 -0
  459. package/dist/discontinuous/world-kernels/loximuthal.js +30 -0
  460. package/dist/discontinuous/world-kernels/loximuthal.js.map +1 -0
  461. package/dist/discontinuous/world-kernels/math.d.ts +36 -0
  462. package/dist/discontinuous/world-kernels/math.d.ts.map +1 -0
  463. package/dist/discontinuous/world-kernels/math.js +63 -0
  464. package/dist/discontinuous/world-kernels/math.js.map +1 -0
  465. package/dist/discontinuous/world-kernels/miller.d.ts +5 -0
  466. package/dist/discontinuous/world-kernels/miller.d.ts.map +1 -0
  467. package/dist/discontinuous/world-kernels/miller.js +13 -0
  468. package/dist/discontinuous/world-kernels/miller.js.map +1 -0
  469. package/dist/discontinuous/world-kernels/modifiedStereographic.d.ts +18 -0
  470. package/dist/discontinuous/world-kernels/modifiedStereographic.d.ts.map +1 -0
  471. package/dist/discontinuous/world-kernels/modifiedStereographic.js +79 -0
  472. package/dist/discontinuous/world-kernels/modifiedStereographic.js.map +1 -0
  473. package/dist/discontinuous/world-kernels/mollweide.d.ts +10 -0
  474. package/dist/discontinuous/world-kernels/mollweide.d.ts.map +1 -0
  475. package/dist/discontinuous/world-kernels/mollweide.js +24 -0
  476. package/dist/discontinuous/world-kernels/mollweide.js.map +1 -0
  477. package/dist/discontinuous/world-kernels/mtFlatPolarParabolic.d.ts +5 -0
  478. package/dist/discontinuous/world-kernels/mtFlatPolarParabolic.d.ts.map +1 -0
  479. package/dist/discontinuous/world-kernels/mtFlatPolarParabolic.js +19 -0
  480. package/dist/discontinuous/world-kernels/mtFlatPolarParabolic.js.map +1 -0
  481. package/dist/discontinuous/world-kernels/mtFlatPolarQuartic.d.ts +5 -0
  482. package/dist/discontinuous/world-kernels/mtFlatPolarQuartic.d.ts.map +1 -0
  483. package/dist/discontinuous/world-kernels/mtFlatPolarQuartic.js +26 -0
  484. package/dist/discontinuous/world-kernels/mtFlatPolarQuartic.js.map +1 -0
  485. package/dist/discontinuous/world-kernels/mtFlatPolarSinusoidal.d.ts +5 -0
  486. package/dist/discontinuous/world-kernels/mtFlatPolarSinusoidal.d.ts.map +1 -0
  487. package/dist/discontinuous/world-kernels/mtFlatPolarSinusoidal.js +22 -0
  488. package/dist/discontinuous/world-kernels/mtFlatPolarSinusoidal.js.map +1 -0
  489. package/dist/discontinuous/world-kernels/naturalEarth2.d.ts +5 -0
  490. package/dist/discontinuous/world-kernels/naturalEarth2.d.ts.map +1 -0
  491. package/dist/discontinuous/world-kernels/naturalEarth2.js +37 -0
  492. package/dist/discontinuous/world-kernels/naturalEarth2.js.map +1 -0
  493. package/dist/discontinuous/world-kernels/nellHammer.d.ts +5 -0
  494. package/dist/discontinuous/world-kernels/nellHammer.d.ts.map +1 -0
  495. package/dist/discontinuous/world-kernels/nellHammer.js +18 -0
  496. package/dist/discontinuous/world-kernels/nellHammer.js.map +1 -0
  497. package/dist/discontinuous/world-kernels/newton.d.ts +3 -0
  498. package/dist/discontinuous/world-kernels/newton.d.ts.map +1 -0
  499. package/dist/discontinuous/world-kernels/newton.js +65 -0
  500. package/dist/discontinuous/world-kernels/newton.js.map +1 -0
  501. package/dist/discontinuous/world-kernels/nicolosi.d.ts +5 -0
  502. package/dist/discontinuous/world-kernels/nicolosi.d.ts.map +1 -0
  503. package/dist/discontinuous/world-kernels/nicolosi.js +38 -0
  504. package/dist/discontinuous/world-kernels/nicolosi.js.map +1 -0
  505. package/dist/discontinuous/world-kernels/patterson.d.ts +5 -0
  506. package/dist/discontinuous/world-kernels/patterson.d.ts.map +1 -0
  507. package/dist/discontinuous/world-kernels/patterson.js +32 -0
  508. package/dist/discontinuous/world-kernels/patterson.js.map +1 -0
  509. package/dist/discontinuous/world-kernels/polyconic.d.ts +5 -0
  510. package/dist/discontinuous/world-kernels/polyconic.d.ts.map +1 -0
  511. package/dist/discontinuous/world-kernels/polyconic.js +30 -0
  512. package/dist/discontinuous/world-kernels/polyconic.js.map +1 -0
  513. package/dist/discontinuous/world-kernels/rectangularPolyconic.d.ts +5 -0
  514. package/dist/discontinuous/world-kernels/rectangularPolyconic.d.ts.map +1 -0
  515. package/dist/discontinuous/world-kernels/rectangularPolyconic.js +31 -0
  516. package/dist/discontinuous/world-kernels/rectangularPolyconic.js.map +1 -0
  517. package/dist/discontinuous/world-kernels/robinson.d.ts +5 -0
  518. package/dist/discontinuous/world-kernels/robinson.d.ts.map +1 -0
  519. package/dist/discontinuous/world-kernels/robinson.js +63 -0
  520. package/dist/discontinuous/world-kernels/robinson.js.map +1 -0
  521. package/dist/discontinuous/world-kernels/satellite.d.ts +5 -0
  522. package/dist/discontinuous/world-kernels/satellite.d.ts.map +1 -0
  523. package/dist/discontinuous/world-kernels/satellite.js +32 -0
  524. package/dist/discontinuous/world-kernels/satellite.js.map +1 -0
  525. package/dist/discontinuous/world-kernels/sinuMollweide.d.ts +7 -0
  526. package/dist/discontinuous/world-kernels/sinuMollweide.d.ts.map +1 -0
  527. package/dist/discontinuous/world-kernels/sinuMollweide.js +20 -0
  528. package/dist/discontinuous/world-kernels/sinuMollweide.js.map +1 -0
  529. package/dist/discontinuous/world-kernels/sinusoidal.d.ts +5 -0
  530. package/dist/discontinuous/world-kernels/sinusoidal.d.ts.map +1 -0
  531. package/dist/discontinuous/world-kernels/sinusoidal.js +13 -0
  532. package/dist/discontinuous/world-kernels/sinusoidal.js.map +1 -0
  533. package/dist/discontinuous/world-kernels/times.d.ts +5 -0
  534. package/dist/discontinuous/world-kernels/times.d.ts.map +1 -0
  535. package/dist/discontinuous/world-kernels/times.js +15 -0
  536. package/dist/discontinuous/world-kernels/times.js.map +1 -0
  537. package/dist/discontinuous/world-kernels/twoPointEquidistant.d.ts +3 -0
  538. package/dist/discontinuous/world-kernels/twoPointEquidistant.d.ts.map +1 -0
  539. package/dist/discontinuous/world-kernels/twoPointEquidistant.js +28 -0
  540. package/dist/discontinuous/world-kernels/twoPointEquidistant.js.map +1 -0
  541. package/dist/discontinuous/world-kernels/vanDerGrinten.d.ts +5 -0
  542. package/dist/discontinuous/world-kernels/vanDerGrinten.d.ts.map +1 -0
  543. package/dist/discontinuous/world-kernels/vanDerGrinten.js +30 -0
  544. package/dist/discontinuous/world-kernels/vanDerGrinten.js.map +1 -0
  545. package/dist/discontinuous/world-kernels/vanDerGrinten2.d.ts +5 -0
  546. package/dist/discontinuous/world-kernels/vanDerGrinten2.d.ts.map +1 -0
  547. package/dist/discontinuous/world-kernels/vanDerGrinten2.js +25 -0
  548. package/dist/discontinuous/world-kernels/vanDerGrinten2.js.map +1 -0
  549. package/dist/discontinuous/world-kernels/vanDerGrinten3.d.ts +5 -0
  550. package/dist/discontinuous/world-kernels/vanDerGrinten3.d.ts.map +1 -0
  551. package/dist/discontinuous/world-kernels/vanDerGrinten3.js +22 -0
  552. package/dist/discontinuous/world-kernels/vanDerGrinten3.js.map +1 -0
  553. package/dist/discontinuous/world-kernels/vanDerGrinten4.d.ts +5 -0
  554. package/dist/discontinuous/world-kernels/vanDerGrinten4.d.ts.map +1 -0
  555. package/dist/discontinuous/world-kernels/vanDerGrinten4.js +38 -0
  556. package/dist/discontinuous/world-kernels/vanDerGrinten4.js.map +1 -0
  557. package/dist/discontinuous/world-kernels/wagner.d.ts +5 -0
  558. package/dist/discontinuous/world-kernels/wagner.d.ts.map +1 -0
  559. package/dist/discontinuous/world-kernels/wagner.js +44 -0
  560. package/dist/discontinuous/world-kernels/wagner.js.map +1 -0
  561. package/dist/discontinuous/world-kernels/wagner4.d.ts +5 -0
  562. package/dist/discontinuous/world-kernels/wagner4.d.ts.map +1 -0
  563. package/dist/discontinuous/world-kernels/wagner4.js +10 -0
  564. package/dist/discontinuous/world-kernels/wagner4.js.map +1 -0
  565. package/dist/discontinuous/world-kernels/wagner6.d.ts +5 -0
  566. package/dist/discontinuous/world-kernels/wagner6.d.ts.map +1 -0
  567. package/dist/discontinuous/world-kernels/wagner6.js +13 -0
  568. package/dist/discontinuous/world-kernels/wagner6.js.map +1 -0
  569. package/dist/discontinuous/world-kernels/wiechel.d.ts +5 -0
  570. package/dist/discontinuous/world-kernels/wiechel.d.ts.map +1 -0
  571. package/dist/discontinuous/world-kernels/wiechel.js +15 -0
  572. package/dist/discontinuous/world-kernels/wiechel.js.map +1 -0
  573. package/dist/discontinuous/world-kernels/winkel3.d.ts +5 -0
  574. package/dist/discontinuous/world-kernels/winkel3.d.ts.map +1 -0
  575. package/dist/discontinuous/world-kernels/winkel3.js +20 -0
  576. package/dist/discontinuous/world-kernels/winkel3.js.map +1 -0
  577. package/dist/discontinuous/world-kernels.d.ts +150 -0
  578. package/dist/discontinuous/world-kernels.d.ts.map +1 -0
  579. package/dist/discontinuous/world-kernels.js +215 -0
  580. package/dist/discontinuous/world-kernels.js.map +1 -0
  581. package/dist/discontinuous/world-map.d.ts +25 -0
  582. package/dist/discontinuous/world-map.d.ts.map +1 -0
  583. package/dist/discontinuous/world-map.js +187 -0
  584. package/dist/discontinuous/world-map.js.map +1 -0
  585. package/dist/discontinuous.cjs +7310 -0
  586. package/dist/discontinuous.cjs.map +6 -0
  587. package/dist/discontinuous.d.ts +52 -0
  588. package/dist/discontinuous.d.ts.map +1 -0
  589. package/dist/discontinuous.js +36 -0
  590. package/dist/discontinuous.js.map +1 -0
  591. package/dist/elastic.cjs +52991 -0
  592. package/dist/elastic.cjs.map +6 -0
  593. package/dist/elastic.d.ts +5 -0
  594. package/dist/elastic.d.ts.map +1 -0
  595. package/dist/elastic.js +8 -0
  596. package/dist/elastic.js.map +1 -0
  597. package/dist/ellipsoid-geodesic.d.ts +63 -0
  598. package/dist/ellipsoid-geodesic.d.ts.map +1 -0
  599. package/dist/ellipsoid-geodesic.js +70 -0
  600. package/dist/ellipsoid-geodesic.js.map +1 -0
  601. package/dist/ellipsoid-helpers/ellipsoid-transform.d.ts +1 -1
  602. package/dist/ellipsoid-helpers/ellipsoid-transform.d.ts.map +1 -1
  603. package/dist/ellipsoid-helpers/ellipsoid-transform.js +59 -18
  604. package/dist/ellipsoid-helpers/ellipsoid-transform.js.map +1 -1
  605. package/dist/ellipsoid-helpers/exact-nearest-surface.d.ts +16 -0
  606. package/dist/ellipsoid-helpers/exact-nearest-surface.d.ts.map +1 -0
  607. package/dist/ellipsoid-helpers/exact-nearest-surface.js +108 -0
  608. package/dist/ellipsoid-helpers/exact-nearest-surface.js.map +1 -0
  609. package/dist/ellipsoid-helpers/intersection-bounds.d.ts +18 -0
  610. package/dist/ellipsoid-helpers/intersection-bounds.d.ts.map +1 -0
  611. package/dist/ellipsoid-helpers/intersection-bounds.js +60 -0
  612. package/dist/ellipsoid-helpers/intersection-bounds.js.map +1 -0
  613. package/dist/ellipsoid-helpers/nearest-surface.d.ts +12 -0
  614. package/dist/ellipsoid-helpers/nearest-surface.d.ts.map +1 -0
  615. package/dist/ellipsoid-helpers/nearest-surface.js +127 -0
  616. package/dist/ellipsoid-helpers/nearest-surface.js.map +1 -0
  617. package/dist/ellipsoid-helpers/rhumb-pole-distance.d.ts +3 -0
  618. package/dist/ellipsoid-helpers/rhumb-pole-distance.d.ts.map +1 -0
  619. package/dist/ellipsoid-helpers/rhumb-pole-distance.js +63 -0
  620. package/dist/ellipsoid-helpers/rhumb-pole-distance.js.map +1 -0
  621. package/dist/ellipsoid-helpers/scale-to-geodetic-surface.d.ts +2 -0
  622. package/dist/ellipsoid-helpers/scale-to-geodetic-surface.d.ts.map +1 -1
  623. package/dist/ellipsoid-helpers/scale-to-geodetic-surface.js +32 -63
  624. package/dist/ellipsoid-helpers/scale-to-geodetic-surface.js.map +1 -1
  625. package/dist/ellipsoid-helpers/surface-polygon.d.ts +65 -0
  626. package/dist/ellipsoid-helpers/surface-polygon.d.ts.map +1 -0
  627. package/dist/ellipsoid-helpers/surface-polygon.js +159 -0
  628. package/dist/ellipsoid-helpers/surface-polygon.js.map +1 -0
  629. package/dist/ellipsoid-helpers/tangent-plane-numerics.d.ts +7 -0
  630. package/dist/ellipsoid-helpers/tangent-plane-numerics.d.ts.map +1 -0
  631. package/dist/ellipsoid-helpers/tangent-plane-numerics.js +88 -0
  632. package/dist/ellipsoid-helpers/tangent-plane-numerics.js.map +1 -0
  633. package/dist/ellipsoid-metrics.d.ts +31 -0
  634. package/dist/ellipsoid-metrics.d.ts.map +1 -0
  635. package/dist/ellipsoid-metrics.js +186 -0
  636. package/dist/ellipsoid-metrics.js.map +1 -0
  637. package/dist/ellipsoid-occluder.d.ts +28 -0
  638. package/dist/ellipsoid-occluder.d.ts.map +1 -0
  639. package/dist/ellipsoid-occluder.js +112 -0
  640. package/dist/ellipsoid-occluder.js.map +1 -0
  641. package/dist/ellipsoid-rhumb.d.ts +52 -0
  642. package/dist/ellipsoid-rhumb.d.ts.map +1 -0
  643. package/dist/ellipsoid-rhumb.js +321 -0
  644. package/dist/ellipsoid-rhumb.js.map +1 -0
  645. package/dist/ellipsoid-tangent-plane.d.ts +30 -8
  646. package/dist/ellipsoid-tangent-plane.d.ts.map +1 -1
  647. package/dist/ellipsoid-tangent-plane.js +181 -31
  648. package/dist/ellipsoid-tangent-plane.js.map +1 -1
  649. package/dist/ellipsoid-transforms.d.ts +12 -0
  650. package/dist/ellipsoid-transforms.d.ts.map +1 -0
  651. package/dist/ellipsoid-transforms.js +15 -0
  652. package/dist/ellipsoid-transforms.js.map +1 -0
  653. package/dist/ellipsoid.d.ts +13 -12
  654. package/dist/ellipsoid.d.ts.map +1 -1
  655. package/dist/ellipsoid.js +230 -66
  656. package/dist/ellipsoid.js.map +1 -1
  657. package/dist/entries/ellipsoid.d.ts +26 -0
  658. package/dist/entries/ellipsoid.d.ts.map +1 -0
  659. package/dist/entries/ellipsoid.js +17 -0
  660. package/dist/entries/ellipsoid.js.map +1 -0
  661. package/dist/expressions.d.ts +4 -0
  662. package/dist/expressions.d.ts.map +1 -0
  663. package/dist/expressions.js +24 -0
  664. package/dist/expressions.js.map +1 -0
  665. package/dist/geoarrow/builder-entry.d.ts +4 -0
  666. package/dist/geoarrow/builder-entry.d.ts.map +1 -0
  667. package/dist/geoarrow/builder-entry.js +5 -0
  668. package/dist/geoarrow/builder-entry.js.map +1 -0
  669. package/dist/geoarrow/builder.d.ts +106 -0
  670. package/dist/geoarrow/builder.d.ts.map +1 -0
  671. package/dist/geoarrow/builder.js +668 -0
  672. package/dist/geoarrow/builder.js.map +1 -0
  673. package/dist/geoarrow/codecs.d.ts +24 -0
  674. package/dist/geoarrow/codecs.d.ts.map +1 -0
  675. package/dist/geoarrow/codecs.js +916 -0
  676. package/dist/geoarrow/codecs.js.map +1 -0
  677. package/dist/geoarrow/index.cjs +4352 -0
  678. package/dist/geoarrow/index.cjs.map +6 -0
  679. package/dist/geoarrow/index.d.ts +21 -0
  680. package/dist/geoarrow/index.d.ts.map +1 -0
  681. package/dist/geoarrow/index.js +15 -0
  682. package/dist/geoarrow/index.js.map +1 -0
  683. package/dist/geoarrow/kernels.d.ts +56 -0
  684. package/dist/geoarrow/kernels.d.ts.map +1 -0
  685. package/dist/geoarrow/kernels.js +982 -0
  686. package/dist/geoarrow/kernels.js.map +1 -0
  687. package/dist/geoarrow/layout.d.ts +66 -0
  688. package/dist/geoarrow/layout.d.ts.map +1 -0
  689. package/dist/geoarrow/layout.js +723 -0
  690. package/dist/geoarrow/layout.js.map +1 -0
  691. package/dist/geoarrow/stream-tessellate.d.ts +34 -0
  692. package/dist/geoarrow/stream-tessellate.d.ts.map +1 -0
  693. package/dist/geoarrow/stream-tessellate.js +171 -0
  694. package/dist/geoarrow/stream-tessellate.js.map +1 -0
  695. package/dist/geoarrow/stream.d.ts +29 -0
  696. package/dist/geoarrow/stream.d.ts.map +1 -0
  697. package/dist/geoarrow/stream.js +100 -0
  698. package/dist/geoarrow/stream.js.map +1 -0
  699. package/dist/geoarrow/tessellate.d.ts +31 -0
  700. package/dist/geoarrow/tessellate.d.ts.map +1 -0
  701. package/dist/geoarrow/tessellate.js +102 -0
  702. package/dist/geoarrow/tessellate.js.map +1 -0
  703. package/dist/geoarrow/tessellation-entry.d.ts +4 -0
  704. package/dist/geoarrow/tessellation-entry.d.ts.map +1 -0
  705. package/dist/geoarrow/tessellation-entry.js +5 -0
  706. package/dist/geoarrow/tessellation-entry.js.map +1 -0
  707. package/dist/geoarrow/types.d.ts +155 -0
  708. package/dist/geoarrow/types.d.ts.map +1 -0
  709. package/dist/geoarrow/types.js +71 -0
  710. package/dist/geoarrow/types.js.map +1 -0
  711. package/dist/geoarrow/views.d.ts +45 -0
  712. package/dist/geoarrow/views.d.ts.map +1 -0
  713. package/dist/geoarrow/views.js +114 -0
  714. package/dist/geoarrow/views.js.map +1 -0
  715. package/dist/geoarrow/wkb-entry.d.ts +4 -0
  716. package/dist/geoarrow/wkb-entry.d.ts.map +1 -0
  717. package/dist/geoarrow/wkb-entry.js +6 -0
  718. package/dist/geoarrow/wkb-entry.js.map +1 -0
  719. package/dist/geoarrow/worker.d.ts +11 -0
  720. package/dist/geoarrow/worker.d.ts.map +1 -0
  721. package/dist/geoarrow/worker.js +10 -0
  722. package/dist/geoarrow/worker.js.map +1 -0
  723. package/dist/geodesic-buffer.d.ts +34 -0
  724. package/dist/geodesic-buffer.d.ts.map +1 -0
  725. package/dist/geodesic-buffer.js +86 -0
  726. package/dist/geodesic-buffer.js.map +1 -0
  727. package/dist/geodesic-exact/area.d.ts +5 -0
  728. package/dist/geodesic-exact/area.d.ts.map +1 -0
  729. package/dist/geodesic-exact/area.js +56 -0
  730. package/dist/geodesic-exact/area.js.map +1 -0
  731. package/dist/geodesic-exact/inverse-engine.d.ts +57 -0
  732. package/dist/geodesic-exact/inverse-engine.d.ts.map +1 -0
  733. package/dist/geodesic-exact/inverse-engine.js +56 -0
  734. package/dist/geodesic-exact/inverse-engine.js.map +1 -0
  735. package/dist/geodesic-exact/polygon.d.ts +12 -0
  736. package/dist/geodesic-exact/polygon.d.ts.map +1 -0
  737. package/dist/geodesic-exact/polygon.js +27 -0
  738. package/dist/geodesic-exact/polygon.js.map +1 -0
  739. package/dist/geodesic-exact/quadrature.d.ts +9 -0
  740. package/dist/geodesic-exact/quadrature.d.ts.map +1 -0
  741. package/dist/geodesic-exact/quadrature.js +62 -0
  742. package/dist/geodesic-exact/quadrature.js.map +1 -0
  743. package/dist/geodesic-exact.d.ts +23 -0
  744. package/dist/geodesic-exact.d.ts.map +1 -0
  745. package/dist/geodesic-exact.js +210 -0
  746. package/dist/geodesic-exact.js.map +1 -0
  747. package/dist/geodesic-intersections.d.ts +83 -0
  748. package/dist/geodesic-intersections.d.ts.map +1 -0
  749. package/dist/geodesic-intersections.js +451 -0
  750. package/dist/geodesic-intersections.js.map +1 -0
  751. package/dist/geodesic-path.d.ts +28 -0
  752. package/dist/geodesic-path.d.ts.map +1 -0
  753. package/dist/geodesic-path.js +102 -0
  754. package/dist/geodesic-path.js.map +1 -0
  755. package/dist/geodesic-polygon.d.ts +11 -0
  756. package/dist/geodesic-polygon.d.ts.map +1 -0
  757. package/dist/geodesic-polygon.js +16 -0
  758. package/dist/geodesic-polygon.js.map +1 -0
  759. package/dist/geographic-atlas/atlas.d.ts +34 -0
  760. package/dist/geographic-atlas/atlas.d.ts.map +1 -0
  761. package/dist/geographic-atlas/atlas.js +493 -0
  762. package/dist/geographic-atlas/atlas.js.map +1 -0
  763. package/dist/geographic-atlas/curves.d.ts +25 -0
  764. package/dist/geographic-atlas/curves.d.ts.map +1 -0
  765. package/dist/geographic-atlas/curves.js +270 -0
  766. package/dist/geographic-atlas/curves.js.map +1 -0
  767. package/dist/geographic-atlas/math.d.ts +38 -0
  768. package/dist/geographic-atlas/math.d.ts.map +1 -0
  769. package/dist/geographic-atlas/math.js +115 -0
  770. package/dist/geographic-atlas/math.js.map +1 -0
  771. package/dist/geographic-atlas/sampling.d.ts +18 -0
  772. package/dist/geographic-atlas/sampling.d.ts.map +1 -0
  773. package/dist/geographic-atlas/sampling.js +96 -0
  774. package/dist/geographic-atlas/sampling.js.map +1 -0
  775. package/dist/geographic-atlas/topology.d.ts +20 -0
  776. package/dist/geographic-atlas/topology.d.ts.map +1 -0
  777. package/dist/geographic-atlas/topology.js +159 -0
  778. package/dist/geographic-atlas/topology.js.map +1 -0
  779. package/dist/geographic-atlas/types.d.ts +55 -0
  780. package/dist/geographic-atlas/types.d.ts.map +1 -0
  781. package/dist/geographic-atlas/types.js +2 -0
  782. package/dist/geographic-atlas/types.js.map +1 -0
  783. package/dist/geographic-atlas.d.ts +37 -0
  784. package/dist/geographic-atlas.d.ts.map +1 -0
  785. package/dist/geographic-atlas.js +77 -0
  786. package/dist/geographic-atlas.js.map +1 -0
  787. package/dist/geographic-cuts.d.ts +35 -0
  788. package/dist/geographic-cuts.d.ts.map +1 -0
  789. package/dist/geographic-cuts.js +78 -0
  790. package/dist/geographic-cuts.js.map +1 -0
  791. package/dist/geographic-seams/cut-options.d.ts +13 -0
  792. package/dist/geographic-seams/cut-options.d.ts.map +1 -0
  793. package/dist/geographic-seams/cut-options.js +38 -0
  794. package/dist/geographic-seams/cut-options.js.map +1 -0
  795. package/dist/geographic-seams/edge.d.ts +46 -0
  796. package/dist/geographic-seams/edge.d.ts.map +1 -0
  797. package/dist/geographic-seams/edge.js +372 -0
  798. package/dist/geographic-seams/edge.js.map +1 -0
  799. package/dist/geographic-seams/latitude.d.ts +6 -0
  800. package/dist/geographic-seams/latitude.d.ts.map +1 -0
  801. package/dist/geographic-seams/latitude.js +47 -0
  802. package/dist/geographic-seams/latitude.js.map +1 -0
  803. package/dist/geographic-seams/polygon.d.ts +27 -0
  804. package/dist/geographic-seams/polygon.d.ts.map +1 -0
  805. package/dist/geographic-seams/polygon.js +422 -0
  806. package/dist/geographic-seams/polygon.js.map +1 -0
  807. package/dist/geographic-seams/subdivide-cut.d.ts +14 -0
  808. package/dist/geographic-seams/subdivide-cut.d.ts.map +1 -0
  809. package/dist/geographic-seams/subdivide-cut.js +149 -0
  810. package/dist/geographic-seams/subdivide-cut.js.map +1 -0
  811. package/dist/geographic-seams/types.d.ts +59 -0
  812. package/dist/geographic-seams/types.d.ts.map +1 -0
  813. package/dist/geographic-seams/types.js +8 -0
  814. package/dist/geographic-seams/types.js.map +1 -0
  815. package/dist/geographic-seams.d.ts +12 -0
  816. package/dist/geographic-seams.d.ts.map +1 -0
  817. package/dist/geographic-seams.js +54 -0
  818. package/dist/geographic-seams.js.map +1 -0
  819. package/dist/geographic-tiles.d.ts +24 -0
  820. package/dist/geographic-tiles.d.ts.map +1 -0
  821. package/dist/geographic-tiles.js +72 -0
  822. package/dist/geographic-tiles.js.map +1 -0
  823. package/dist/globe-horizon-bounds.d.ts +13 -0
  824. package/dist/globe-horizon-bounds.d.ts.map +1 -0
  825. package/dist/globe-horizon-bounds.js +59 -0
  826. package/dist/globe-horizon-bounds.js.map +1 -0
  827. package/dist/globe.d.ts +16 -0
  828. package/dist/globe.d.ts.map +1 -0
  829. package/dist/globe.js +12 -0
  830. package/dist/globe.js.map +1 -0
  831. package/dist/index.cjs +17735 -500
  832. package/dist/index.cjs.map +3 -3
  833. package/dist/index.d.ts +71 -6
  834. package/dist/index.d.ts.map +1 -1
  835. package/dist/index.js +40 -6
  836. package/dist/index.js.map +1 -1
  837. package/dist/lng-lat-rectangle.d.ts.map +1 -1
  838. package/dist/lng-lat-rectangle.js +5 -3
  839. package/dist/lng-lat-rectangle.js.map +1 -1
  840. package/dist/local-reference-frame.d.ts +57 -0
  841. package/dist/local-reference-frame.d.ts.map +1 -0
  842. package/dist/local-reference-frame.js +247 -0
  843. package/dist/local-reference-frame.js.map +1 -0
  844. package/dist/make-obb-from-region.d.ts +1 -1
  845. package/dist/make-obb-from-region.d.ts.map +1 -1
  846. package/dist/make-obb-from-region.js +6 -4
  847. package/dist/make-obb-from-region.js.map +1 -1
  848. package/dist/projection/analysis.cjs +239 -0
  849. package/dist/projection/analysis.cjs.map +6 -0
  850. package/dist/projection/analysis.d.ts +72 -0
  851. package/dist/projection/analysis.d.ts.map +1 -0
  852. package/dist/projection/analysis.js +221 -0
  853. package/dist/projection/analysis.js.map +1 -0
  854. package/dist/projection/bulk.cjs +203 -0
  855. package/dist/projection/bulk.cjs.map +6 -0
  856. package/dist/projection/bulk.d.ts +51 -0
  857. package/dist/projection/bulk.d.ts.map +1 -0
  858. package/dist/projection/bulk.js +215 -0
  859. package/dist/projection/bulk.js.map +1 -0
  860. package/dist/projection/datums.cjs +1383 -0
  861. package/dist/projection/datums.cjs.map +6 -0
  862. package/dist/projection/datums.d.ts +5 -0
  863. package/dist/projection/datums.d.ts.map +1 -0
  864. package/dist/projection/datums.js +10 -0
  865. package/dist/projection/datums.js.map +1 -0
  866. package/dist/projection/deformation.cjs +134 -0
  867. package/dist/projection/deformation.cjs.map +6 -0
  868. package/dist/projection/deformation.d.ts +3 -0
  869. package/dist/projection/deformation.d.ts.map +1 -0
  870. package/dist/projection/deformation.js +5 -0
  871. package/dist/projection/deformation.js.map +1 -0
  872. package/dist/projection/experimental/authalic-latitude.d.ts +7 -0
  873. package/dist/projection/experimental/authalic-latitude.d.ts.map +1 -0
  874. package/dist/projection/experimental/authalic-latitude.js +51 -0
  875. package/dist/projection/experimental/authalic-latitude.js.map +1 -0
  876. package/dist/projection/experimental/catalogue-kernel.d.ts +9 -0
  877. package/dist/projection/experimental/catalogue-kernel.d.ts.map +1 -0
  878. package/dist/projection/experimental/catalogue-kernel.js +44 -0
  879. package/dist/projection/experimental/catalogue-kernel.js.map +1 -0
  880. package/dist/projection/experimental/common/adjust_lat.d.ts +2 -0
  881. package/dist/projection/experimental/common/adjust_lat.d.ts.map +1 -0
  882. package/dist/projection/experimental/common/adjust_lat.js +10 -0
  883. package/dist/projection/experimental/common/adjust_lat.js.map +1 -0
  884. package/dist/projection/experimental/common/adjust_lon.d.ts +2 -0
  885. package/dist/projection/experimental/common/adjust_lon.d.ts.map +1 -0
  886. package/dist/projection/experimental/common/adjust_lon.js +13 -0
  887. package/dist/projection/experimental/common/adjust_lon.js.map +1 -0
  888. package/dist/projection/experimental/common/asinhy.d.ts +2 -0
  889. package/dist/projection/experimental/common/asinhy.d.ts.map +1 -0
  890. package/dist/projection/experimental/common/asinhy.js +12 -0
  891. package/dist/projection/experimental/common/asinhy.js.map +1 -0
  892. package/dist/projection/experimental/common/asinz.d.ts +2 -0
  893. package/dist/projection/experimental/common/asinz.d.ts.map +1 -0
  894. package/dist/projection/experimental/common/asinz.js +11 -0
  895. package/dist/projection/experimental/common/asinz.js.map +1 -0
  896. package/dist/projection/experimental/common/authlat.d.ts +2 -0
  897. package/dist/projection/experimental/common/authlat.d.ts.map +1 -0
  898. package/dist/projection/experimental/common/authlat.js +9 -0
  899. package/dist/projection/experimental/common/authlat.js.map +1 -0
  900. package/dist/projection/experimental/common/authset.d.ts +2 -0
  901. package/dist/projection/experimental/common/authset.d.ts.map +1 -0
  902. package/dist/projection/experimental/common/authset.js +24 -0
  903. package/dist/projection/experimental/common/authset.js.map +1 -0
  904. package/dist/projection/experimental/common/clens.d.ts +2 -0
  905. package/dist/projection/experimental/common/clens.d.ts.map +1 -0
  906. package/dist/projection/experimental/common/clens.js +18 -0
  907. package/dist/projection/experimental/common/clens.js.map +1 -0
  908. package/dist/projection/experimental/common/clens_cmplx.d.ts +5 -0
  909. package/dist/projection/experimental/common/clens_cmplx.d.ts.map +1 -0
  910. package/dist/projection/experimental/common/clens_cmplx.js +34 -0
  911. package/dist/projection/experimental/common/clens_cmplx.js.map +1 -0
  912. package/dist/projection/experimental/common/constants.d.ts +9 -0
  913. package/dist/projection/experimental/common/constants.d.ts.map +1 -0
  914. package/dist/projection/experimental/common/constants.js +14 -0
  915. package/dist/projection/experimental/common/constants.js.map +1 -0
  916. package/dist/projection/experimental/common/cosh.d.ts +2 -0
  917. package/dist/projection/experimental/common/cosh.d.ts.map +1 -0
  918. package/dist/projection/experimental/common/cosh.js +10 -0
  919. package/dist/projection/experimental/common/cosh.js.map +1 -0
  920. package/dist/projection/experimental/common/e0fn.d.ts +2 -0
  921. package/dist/projection/experimental/common/e0fn.d.ts.map +1 -0
  922. package/dist/projection/experimental/common/e0fn.js +8 -0
  923. package/dist/projection/experimental/common/e0fn.js.map +1 -0
  924. package/dist/projection/experimental/common/e1fn.d.ts +2 -0
  925. package/dist/projection/experimental/common/e1fn.d.ts.map +1 -0
  926. package/dist/projection/experimental/common/e1fn.js +8 -0
  927. package/dist/projection/experimental/common/e1fn.js.map +1 -0
  928. package/dist/projection/experimental/common/e2fn.d.ts +2 -0
  929. package/dist/projection/experimental/common/e2fn.d.ts.map +1 -0
  930. package/dist/projection/experimental/common/e2fn.js +8 -0
  931. package/dist/projection/experimental/common/e2fn.js.map +1 -0
  932. package/dist/projection/experimental/common/e3fn.d.ts +2 -0
  933. package/dist/projection/experimental/common/e3fn.d.ts.map +1 -0
  934. package/dist/projection/experimental/common/e3fn.js +8 -0
  935. package/dist/projection/experimental/common/e3fn.js.map +1 -0
  936. package/dist/projection/experimental/common/fL.d.ts +2 -0
  937. package/dist/projection/experimental/common/fL.d.ts.map +1 -0
  938. package/dist/projection/experimental/common/fL.js +9 -0
  939. package/dist/projection/experimental/common/fL.js.map +1 -0
  940. package/dist/projection/experimental/common/gN.d.ts +2 -0
  941. package/dist/projection/experimental/common/gN.d.ts.map +1 -0
  942. package/dist/projection/experimental/common/gN.js +9 -0
  943. package/dist/projection/experimental/common/gN.js.map +1 -0
  944. package/dist/projection/experimental/common/gatg.d.ts +2 -0
  945. package/dist/projection/experimental/common/gatg.d.ts.map +1 -0
  946. package/dist/projection/experimental/common/gatg.js +18 -0
  947. package/dist/projection/experimental/common/gatg.js.map +1 -0
  948. package/dist/projection/experimental/common/hypot.d.ts +2 -0
  949. package/dist/projection/experimental/common/hypot.d.ts.map +1 -0
  950. package/dist/projection/experimental/common/hypot.js +12 -0
  951. package/dist/projection/experimental/common/hypot.js.map +1 -0
  952. package/dist/projection/experimental/common/imlfn.d.ts +2 -0
  953. package/dist/projection/experimental/common/imlfn.d.ts.map +1 -0
  954. package/dist/projection/experimental/common/imlfn.js +21 -0
  955. package/dist/projection/experimental/common/imlfn.js.map +1 -0
  956. package/dist/projection/experimental/common/invlatiso.d.ts +2 -0
  957. package/dist/projection/experimental/common/invlatiso.d.ts.map +1 -0
  958. package/dist/projection/experimental/common/invlatiso.js +20 -0
  959. package/dist/projection/experimental/common/invlatiso.js.map +1 -0
  960. package/dist/projection/experimental/common/iqsfnz.d.ts +2 -0
  961. package/dist/projection/experimental/common/iqsfnz.d.ts.map +1 -0
  962. package/dist/projection/experimental/common/iqsfnz.js +44 -0
  963. package/dist/projection/experimental/common/iqsfnz.js.map +1 -0
  964. package/dist/projection/experimental/common/latiso.d.ts +2 -0
  965. package/dist/projection/experimental/common/latiso.d.ts.map +1 -0
  966. package/dist/projection/experimental/common/latiso.js +19 -0
  967. package/dist/projection/experimental/common/latiso.js.map +1 -0
  968. package/dist/projection/experimental/common/log1py.d.ts +2 -0
  969. package/dist/projection/experimental/common/log1py.d.ts.map +1 -0
  970. package/dist/projection/experimental/common/log1py.js +10 -0
  971. package/dist/projection/experimental/common/log1py.js.map +1 -0
  972. package/dist/projection/experimental/common/meridian-distance.d.ts +5 -0
  973. package/dist/projection/experimental/common/meridian-distance.d.ts.map +1 -0
  974. package/dist/projection/experimental/common/meridian-distance.js +47 -0
  975. package/dist/projection/experimental/common/meridian-distance.js.map +1 -0
  976. package/dist/projection/experimental/common/mlfn.d.ts +2 -0
  977. package/dist/projection/experimental/common/mlfn.d.ts.map +1 -0
  978. package/dist/projection/experimental/common/mlfn.js +8 -0
  979. package/dist/projection/experimental/common/mlfn.js.map +1 -0
  980. package/dist/projection/experimental/common/msfnz.d.ts +2 -0
  981. package/dist/projection/experimental/common/msfnz.d.ts.map +1 -0
  982. package/dist/projection/experimental/common/msfnz.js +9 -0
  983. package/dist/projection/experimental/common/msfnz.js.map +1 -0
  984. package/dist/projection/experimental/common/phi2z.d.ts +2 -0
  985. package/dist/projection/experimental/common/phi2z.d.ts.map +1 -0
  986. package/dist/projection/experimental/common/phi2z.js +21 -0
  987. package/dist/projection/experimental/common/phi2z.js.map +1 -0
  988. package/dist/projection/experimental/common/pj_enfn.d.ts +2 -0
  989. package/dist/projection/experimental/common/pj_enfn.d.ts.map +1 -0
  990. package/dist/projection/experimental/common/pj_enfn.js +28 -0
  991. package/dist/projection/experimental/common/pj_enfn.js.map +1 -0
  992. package/dist/projection/experimental/common/pj_inv_mlfn.d.ts +2 -0
  993. package/dist/projection/experimental/common/pj_inv_mlfn.d.ts.map +1 -0
  994. package/dist/projection/experimental/common/pj_inv_mlfn.js +26 -0
  995. package/dist/projection/experimental/common/pj_inv_mlfn.js.map +1 -0
  996. package/dist/projection/experimental/common/pj_mlfn.d.ts +2 -0
  997. package/dist/projection/experimental/common/pj_mlfn.d.ts.map +1 -0
  998. package/dist/projection/experimental/common/pj_mlfn.js +10 -0
  999. package/dist/projection/experimental/common/pj_mlfn.js.map +1 -0
  1000. package/dist/projection/experimental/common/qsfnz.d.ts +2 -0
  1001. package/dist/projection/experimental/common/qsfnz.d.ts.map +1 -0
  1002. package/dist/projection/experimental/common/qsfnz.js +16 -0
  1003. package/dist/projection/experimental/common/qsfnz.js.map +1 -0
  1004. package/dist/projection/experimental/common/sign.d.ts +2 -0
  1005. package/dist/projection/experimental/common/sign.d.ts.map +1 -0
  1006. package/dist/projection/experimental/common/sign.js +8 -0
  1007. package/dist/projection/experimental/common/sign.js.map +1 -0
  1008. package/dist/projection/experimental/common/sinh.d.ts +2 -0
  1009. package/dist/projection/experimental/common/sinh.d.ts.map +1 -0
  1010. package/dist/projection/experimental/common/sinh.js +10 -0
  1011. package/dist/projection/experimental/common/sinh.js.map +1 -0
  1012. package/dist/projection/experimental/common/srat.d.ts +2 -0
  1013. package/dist/projection/experimental/common/srat.d.ts.map +1 -0
  1014. package/dist/projection/experimental/common/srat.js +8 -0
  1015. package/dist/projection/experimental/common/srat.js.map +1 -0
  1016. package/dist/projection/experimental/common/tsfnz.d.ts +2 -0
  1017. package/dist/projection/experimental/common/tsfnz.d.ts.map +1 -0
  1018. package/dist/projection/experimental/common/tsfnz.js +12 -0
  1019. package/dist/projection/experimental/common/tsfnz.js.map +1 -0
  1020. package/dist/projection/experimental/common/vincenty.d.ts +29 -0
  1021. package/dist/projection/experimental/common/vincenty.d.ts.map +1 -0
  1022. package/dist/projection/experimental/common/vincenty.js +134 -0
  1023. package/dist/projection/experimental/common/vincenty.js.map +1 -0
  1024. package/dist/projection/experimental/core.cjs +1995 -0
  1025. package/dist/projection/experimental/core.cjs.map +6 -0
  1026. package/dist/projection/experimental/core.d.ts +16 -0
  1027. package/dist/projection/experimental/core.d.ts.map +1 -0
  1028. package/dist/projection/experimental/core.js +10 -0
  1029. package/dist/projection/experimental/core.js.map +1 -0
  1030. package/dist/projection/experimental/crs/datum-catalog.d.ts +5 -0
  1031. package/dist/projection/experimental/crs/datum-catalog.d.ts.map +1 -0
  1032. package/dist/projection/experimental/crs/datum-catalog.js +47 -0
  1033. package/dist/projection/experimental/crs/datum-catalog.js.map +1 -0
  1034. package/dist/projection/experimental/crs/datum-table.d.ts +8 -0
  1035. package/dist/projection/experimental/crs/datum-table.d.ts.map +1 -0
  1036. package/dist/projection/experimental/crs/datum-table.js +1355 -0
  1037. package/dist/projection/experimental/crs/datum-table.js.map +1 -0
  1038. package/dist/projection/experimental/crs/ellipsoid-table.d.ts +8 -0
  1039. package/dist/projection/experimental/crs/ellipsoid-table.d.ts.map +1 -0
  1040. package/dist/projection/experimental/crs/ellipsoid-table.js +229 -0
  1041. package/dist/projection/experimental/crs/ellipsoid-table.js.map +1 -0
  1042. package/dist/projection/experimental/crs/normalize.d.ts +11 -0
  1043. package/dist/projection/experimental/crs/normalize.d.ts.map +1 -0
  1044. package/dist/projection/experimental/crs/normalize.js +286 -0
  1045. package/dist/projection/experimental/crs/normalize.js.map +1 -0
  1046. package/dist/projection/experimental/crs/primemeridian-table.d.ts +3 -0
  1047. package/dist/projection/experimental/crs/primemeridian-table.d.ts.map +1 -0
  1048. package/dist/projection/experimental/crs/primemeridian-table.js +20 -0
  1049. package/dist/projection/experimental/crs/primemeridian-table.js.map +1 -0
  1050. package/dist/projection/experimental/crs/projjson.cjs +564 -0
  1051. package/dist/projection/experimental/crs/projjson.cjs.map +6 -0
  1052. package/dist/projection/experimental/crs/projjson.d.ts +4 -0
  1053. package/dist/projection/experimental/crs/projjson.d.ts.map +1 -0
  1054. package/dist/projection/experimental/crs/projjson.js +12 -0
  1055. package/dist/projection/experimental/crs/projjson.js.map +1 -0
  1056. package/dist/projection/experimental/crs/resolve.d.ts +11 -0
  1057. package/dist/projection/experimental/crs/resolve.d.ts.map +1 -0
  1058. package/dist/projection/experimental/crs/resolve.js +61 -0
  1059. package/dist/projection/experimental/crs/resolve.js.map +1 -0
  1060. package/dist/projection/experimental/crs/spatial-reference.d.ts +11 -0
  1061. package/dist/projection/experimental/crs/spatial-reference.d.ts.map +1 -0
  1062. package/dist/projection/experimental/crs/spatial-reference.js +91 -0
  1063. package/dist/projection/experimental/crs/spatial-reference.js.map +1 -0
  1064. package/dist/projection/experimental/crs/structured.d.ts +8 -0
  1065. package/dist/projection/experimental/crs/structured.d.ts.map +1 -0
  1066. package/dist/projection/experimental/crs/structured.js +534 -0
  1067. package/dist/projection/experimental/crs/structured.js.map +1 -0
  1068. package/dist/projection/experimental/crs/types.d.ts +73 -0
  1069. package/dist/projection/experimental/crs/types.d.ts.map +1 -0
  1070. package/dist/projection/experimental/crs/types.js +21 -0
  1071. package/dist/projection/experimental/crs/types.js.map +1 -0
  1072. package/dist/projection/experimental/crs/wkt.cjs +1229 -0
  1073. package/dist/projection/experimental/crs/wkt.cjs.map +6 -0
  1074. package/dist/projection/experimental/crs/wkt.d.ts +3 -0
  1075. package/dist/projection/experimental/crs/wkt.d.ts.map +1 -0
  1076. package/dist/projection/experimental/crs/wkt.js +190 -0
  1077. package/dist/projection/experimental/crs/wkt.js.map +1 -0
  1078. package/dist/projection/experimental/crs-descriptor.d.ts +13 -0
  1079. package/dist/projection/experimental/crs-descriptor.d.ts.map +1 -0
  1080. package/dist/projection/experimental/crs-descriptor.js +174 -0
  1081. package/dist/projection/experimental/crs-descriptor.js.map +1 -0
  1082. package/dist/projection/experimental/crs-rendering-scale.d.ts +5 -0
  1083. package/dist/projection/experimental/crs-rendering-scale.d.ts.map +1 -0
  1084. package/dist/projection/experimental/crs-rendering-scale.js +97 -0
  1085. package/dist/projection/experimental/crs-rendering-scale.js.map +1 -0
  1086. package/dist/projection/experimental/datum.d.ts +17 -0
  1087. package/dist/projection/experimental/datum.d.ts.map +1 -0
  1088. package/dist/projection/experimental/datum.js +160 -0
  1089. package/dist/projection/experimental/datum.js.map +1 -0
  1090. package/dist/projection/experimental/deformation-inverse.d.ts +5 -0
  1091. package/dist/projection/experimental/deformation-inverse.d.ts.map +1 -0
  1092. package/dist/projection/experimental/deformation-inverse.js +89 -0
  1093. package/dist/projection/experimental/deformation-inverse.js.map +1 -0
  1094. package/dist/projection/experimental/deformation.d.ts +23 -0
  1095. package/dist/projection/experimental/deformation.d.ts.map +1 -0
  1096. package/dist/projection/experimental/deformation.js +13 -0
  1097. package/dist/projection/experimental/deformation.js.map +1 -0
  1098. package/dist/projection/experimental/ellipsoidal-gnomonic.d.ts +10 -0
  1099. package/dist/projection/experimental/ellipsoidal-gnomonic.d.ts.map +1 -0
  1100. package/dist/projection/experimental/ellipsoidal-gnomonic.js +59 -0
  1101. package/dist/projection/experimental/ellipsoidal-gnomonic.js.map +1 -0
  1102. package/dist/projection/experimental/engine-options.d.ts +10 -0
  1103. package/dist/projection/experimental/engine-options.d.ts.map +1 -0
  1104. package/dist/projection/experimental/engine-options.js +26 -0
  1105. package/dist/projection/experimental/engine-options.js.map +1 -0
  1106. package/dist/projection/experimental/entries/projections/aea.cjs +649 -0
  1107. package/dist/projection/experimental/entries/projections/aea.cjs.map +6 -0
  1108. package/dist/projection/experimental/entries/projections/aea.d.ts +2 -0
  1109. package/dist/projection/experimental/entries/projections/aea.d.ts.map +1 -0
  1110. package/dist/projection/experimental/entries/projections/aea.js +5 -0
  1111. package/dist/projection/experimental/entries/projections/aea.js.map +1 -0
  1112. package/dist/projection/experimental/entries/projections/aeqd.cjs +718 -0
  1113. package/dist/projection/experimental/entries/projections/aeqd.cjs.map +6 -0
  1114. package/dist/projection/experimental/entries/projections/aeqd.d.ts +2 -0
  1115. package/dist/projection/experimental/entries/projections/aeqd.d.ts.map +1 -0
  1116. package/dist/projection/experimental/entries/projections/aeqd.js +5 -0
  1117. package/dist/projection/experimental/entries/projections/aeqd.js.map +1 -0
  1118. package/dist/projection/experimental/entries/projections/bonne.cjs +621 -0
  1119. package/dist/projection/experimental/entries/projections/bonne.cjs.map +6 -0
  1120. package/dist/projection/experimental/entries/projections/bonne.d.ts +2 -0
  1121. package/dist/projection/experimental/entries/projections/bonne.d.ts.map +1 -0
  1122. package/dist/projection/experimental/entries/projections/bonne.js +5 -0
  1123. package/dist/projection/experimental/entries/projections/bonne.js.map +1 -0
  1124. package/dist/projection/experimental/entries/projections/cass.cjs +610 -0
  1125. package/dist/projection/experimental/entries/projections/cass.cjs.map +6 -0
  1126. package/dist/projection/experimental/entries/projections/cass.d.ts +2 -0
  1127. package/dist/projection/experimental/entries/projections/cass.d.ts.map +1 -0
  1128. package/dist/projection/experimental/entries/projections/cass.js +5 -0
  1129. package/dist/projection/experimental/entries/projections/cass.js.map +1 -0
  1130. package/dist/projection/experimental/entries/projections/cea.cjs +536 -0
  1131. package/dist/projection/experimental/entries/projections/cea.cjs.map +6 -0
  1132. package/dist/projection/experimental/entries/projections/cea.d.ts +2 -0
  1133. package/dist/projection/experimental/entries/projections/cea.d.ts.map +1 -0
  1134. package/dist/projection/experimental/entries/projections/cea.js +5 -0
  1135. package/dist/projection/experimental/entries/projections/cea.js.map +1 -0
  1136. package/dist/projection/experimental/entries/projections/eck6.cjs +562 -0
  1137. package/dist/projection/experimental/entries/projections/eck6.cjs.map +6 -0
  1138. package/dist/projection/experimental/entries/projections/eck6.d.ts +2 -0
  1139. package/dist/projection/experimental/entries/projections/eck6.d.ts.map +1 -0
  1140. package/dist/projection/experimental/entries/projections/eck6.js +5 -0
  1141. package/dist/projection/experimental/entries/projections/eck6.js.map +1 -0
  1142. package/dist/projection/experimental/entries/projections/eqc.cjs +256 -0
  1143. package/dist/projection/experimental/entries/projections/eqc.cjs.map +6 -0
  1144. package/dist/projection/experimental/entries/projections/eqc.d.ts +2 -0
  1145. package/dist/projection/experimental/entries/projections/eqc.d.ts.map +1 -0
  1146. package/dist/projection/experimental/entries/projections/eqc.js +5 -0
  1147. package/dist/projection/experimental/entries/projections/eqc.js.map +1 -0
  1148. package/dist/projection/experimental/entries/projections/eqdc.cjs +650 -0
  1149. package/dist/projection/experimental/entries/projections/eqdc.cjs.map +6 -0
  1150. package/dist/projection/experimental/entries/projections/eqdc.d.ts +2 -0
  1151. package/dist/projection/experimental/entries/projections/eqdc.d.ts.map +1 -0
  1152. package/dist/projection/experimental/entries/projections/eqdc.js +5 -0
  1153. package/dist/projection/experimental/entries/projections/eqdc.js.map +1 -0
  1154. package/dist/projection/experimental/entries/projections/eqearth.cjs +460 -0
  1155. package/dist/projection/experimental/entries/projections/eqearth.cjs.map +6 -0
  1156. package/dist/projection/experimental/entries/projections/eqearth.d.ts +2 -0
  1157. package/dist/projection/experimental/entries/projections/eqearth.d.ts.map +1 -0
  1158. package/dist/projection/experimental/entries/projections/eqearth.js +5 -0
  1159. package/dist/projection/experimental/entries/projections/eqearth.js.map +1 -0
  1160. package/dist/projection/experimental/entries/projections/equi.cjs +477 -0
  1161. package/dist/projection/experimental/entries/projections/equi.cjs.map +6 -0
  1162. package/dist/projection/experimental/entries/projections/equi.d.ts +2 -0
  1163. package/dist/projection/experimental/entries/projections/equi.d.ts.map +1 -0
  1164. package/dist/projection/experimental/entries/projections/equi.js +5 -0
  1165. package/dist/projection/experimental/entries/projections/equi.js.map +1 -0
  1166. package/dist/projection/experimental/entries/projections/etmerc.cjs +887 -0
  1167. package/dist/projection/experimental/entries/projections/etmerc.cjs.map +6 -0
  1168. package/dist/projection/experimental/entries/projections/etmerc.d.ts +2 -0
  1169. package/dist/projection/experimental/entries/projections/etmerc.d.ts.map +1 -0
  1170. package/dist/projection/experimental/entries/projections/etmerc.js +5 -0
  1171. package/dist/projection/experimental/entries/projections/etmerc.js.map +1 -0
  1172. package/dist/projection/experimental/entries/projections/geocent.cjs +215 -0
  1173. package/dist/projection/experimental/entries/projections/geocent.cjs.map +6 -0
  1174. package/dist/projection/experimental/entries/projections/geocent.d.ts +2 -0
  1175. package/dist/projection/experimental/entries/projections/geocent.d.ts.map +1 -0
  1176. package/dist/projection/experimental/entries/projections/geocent.js +5 -0
  1177. package/dist/projection/experimental/entries/projections/geocent.js.map +1 -0
  1178. package/dist/projection/experimental/entries/projections/geos.cjs +703 -0
  1179. package/dist/projection/experimental/entries/projections/geos.cjs.map +6 -0
  1180. package/dist/projection/experimental/entries/projections/geos.d.ts +2 -0
  1181. package/dist/projection/experimental/entries/projections/geos.d.ts.map +1 -0
  1182. package/dist/projection/experimental/entries/projections/geos.js +5 -0
  1183. package/dist/projection/experimental/entries/projections/geos.js.map +1 -0
  1184. package/dist/projection/experimental/entries/projections/gnom.cjs +2028 -0
  1185. package/dist/projection/experimental/entries/projections/gnom.cjs.map +6 -0
  1186. package/dist/projection/experimental/entries/projections/gnom.d.ts +2 -0
  1187. package/dist/projection/experimental/entries/projections/gnom.d.ts.map +1 -0
  1188. package/dist/projection/experimental/entries/projections/gnom.js +5 -0
  1189. package/dist/projection/experimental/entries/projections/gnom.js.map +1 -0
  1190. package/dist/projection/experimental/entries/projections/gstmerc.cjs +526 -0
  1191. package/dist/projection/experimental/entries/projections/gstmerc.cjs.map +6 -0
  1192. package/dist/projection/experimental/entries/projections/gstmerc.d.ts +2 -0
  1193. package/dist/projection/experimental/entries/projections/gstmerc.d.ts.map +1 -0
  1194. package/dist/projection/experimental/entries/projections/gstmerc.js +5 -0
  1195. package/dist/projection/experimental/entries/projections/gstmerc.js.map +1 -0
  1196. package/dist/projection/experimental/entries/projections/krovak.cjs +683 -0
  1197. package/dist/projection/experimental/entries/projections/krovak.cjs.map +6 -0
  1198. package/dist/projection/experimental/entries/projections/krovak.d.ts +2 -0
  1199. package/dist/projection/experimental/entries/projections/krovak.d.ts.map +1 -0
  1200. package/dist/projection/experimental/entries/projections/krovak.js +5 -0
  1201. package/dist/projection/experimental/entries/projections/krovak.js.map +1 -0
  1202. package/dist/projection/experimental/entries/projections/laea.cjs +797 -0
  1203. package/dist/projection/experimental/entries/projections/laea.cjs.map +6 -0
  1204. package/dist/projection/experimental/entries/projections/laea.d.ts +2 -0
  1205. package/dist/projection/experimental/entries/projections/laea.d.ts.map +1 -0
  1206. package/dist/projection/experimental/entries/projections/laea.js +5 -0
  1207. package/dist/projection/experimental/entries/projections/laea.js.map +1 -0
  1208. package/dist/projection/experimental/entries/projections/lcc.cjs +637 -0
  1209. package/dist/projection/experimental/entries/projections/lcc.cjs.map +6 -0
  1210. package/dist/projection/experimental/entries/projections/lcc.d.ts +2 -0
  1211. package/dist/projection/experimental/entries/projections/lcc.d.ts.map +1 -0
  1212. package/dist/projection/experimental/entries/projections/lcc.js +5 -0
  1213. package/dist/projection/experimental/entries/projections/lcc.js.map +1 -0
  1214. package/dist/projection/experimental/entries/projections/merc.cjs +354 -0
  1215. package/dist/projection/experimental/entries/projections/merc.cjs.map +6 -0
  1216. package/dist/projection/experimental/entries/projections/merc.d.ts +2 -0
  1217. package/dist/projection/experimental/entries/projections/merc.d.ts.map +1 -0
  1218. package/dist/projection/experimental/entries/projections/merc.js +5 -0
  1219. package/dist/projection/experimental/entries/projections/merc.js.map +1 -0
  1220. package/dist/projection/experimental/entries/projections/mill.cjs +470 -0
  1221. package/dist/projection/experimental/entries/projections/mill.cjs.map +6 -0
  1222. package/dist/projection/experimental/entries/projections/mill.d.ts +2 -0
  1223. package/dist/projection/experimental/entries/projections/mill.d.ts.map +1 -0
  1224. package/dist/projection/experimental/entries/projections/mill.js +5 -0
  1225. package/dist/projection/experimental/entries/projections/mill.js.map +1 -0
  1226. package/dist/projection/experimental/entries/projections/moll.cjs +517 -0
  1227. package/dist/projection/experimental/entries/projections/moll.cjs.map +6 -0
  1228. package/dist/projection/experimental/entries/projections/moll.d.ts +2 -0
  1229. package/dist/projection/experimental/entries/projections/moll.d.ts.map +1 -0
  1230. package/dist/projection/experimental/entries/projections/moll.js +5 -0
  1231. package/dist/projection/experimental/entries/projections/moll.js.map +1 -0
  1232. package/dist/projection/experimental/entries/projections/nzmg.cjs +623 -0
  1233. package/dist/projection/experimental/entries/projections/nzmg.cjs.map +6 -0
  1234. package/dist/projection/experimental/entries/projections/nzmg.d.ts +2 -0
  1235. package/dist/projection/experimental/entries/projections/nzmg.d.ts.map +1 -0
  1236. package/dist/projection/experimental/entries/projections/nzmg.js +5 -0
  1237. package/dist/projection/experimental/entries/projections/nzmg.js.map +1 -0
  1238. package/dist/projection/experimental/entries/projections/ob_tran.cjs +540 -0
  1239. package/dist/projection/experimental/entries/projections/ob_tran.cjs.map +6 -0
  1240. package/dist/projection/experimental/entries/projections/ob_tran.d.ts +2 -0
  1241. package/dist/projection/experimental/entries/projections/ob_tran.d.ts.map +1 -0
  1242. package/dist/projection/experimental/entries/projections/ob_tran.js +5 -0
  1243. package/dist/projection/experimental/entries/projections/ob_tran.js.map +1 -0
  1244. package/dist/projection/experimental/entries/projections/omerc.cjs +850 -0
  1245. package/dist/projection/experimental/entries/projections/omerc.cjs.map +6 -0
  1246. package/dist/projection/experimental/entries/projections/omerc.d.ts +2 -0
  1247. package/dist/projection/experimental/entries/projections/omerc.d.ts.map +1 -0
  1248. package/dist/projection/experimental/entries/projections/omerc.js +5 -0
  1249. package/dist/projection/experimental/entries/projections/omerc.js.map +1 -0
  1250. package/dist/projection/experimental/entries/projections/ortho.cjs +519 -0
  1251. package/dist/projection/experimental/entries/projections/ortho.cjs.map +6 -0
  1252. package/dist/projection/experimental/entries/projections/ortho.d.ts +2 -0
  1253. package/dist/projection/experimental/entries/projections/ortho.d.ts.map +1 -0
  1254. package/dist/projection/experimental/entries/projections/ortho.js +5 -0
  1255. package/dist/projection/experimental/entries/projections/ortho.js.map +1 -0
  1256. package/dist/projection/experimental/entries/projections/poly.cjs +622 -0
  1257. package/dist/projection/experimental/entries/projections/poly.cjs.map +6 -0
  1258. package/dist/projection/experimental/entries/projections/poly.d.ts +2 -0
  1259. package/dist/projection/experimental/entries/projections/poly.d.ts.map +1 -0
  1260. package/dist/projection/experimental/entries/projections/poly.js +5 -0
  1261. package/dist/projection/experimental/entries/projections/poly.js.map +1 -0
  1262. package/dist/projection/experimental/entries/projections/qsc.cjs +695 -0
  1263. package/dist/projection/experimental/entries/projections/qsc.cjs.map +6 -0
  1264. package/dist/projection/experimental/entries/projections/qsc.d.ts +2 -0
  1265. package/dist/projection/experimental/entries/projections/qsc.d.ts.map +1 -0
  1266. package/dist/projection/experimental/entries/projections/qsc.js +5 -0
  1267. package/dist/projection/experimental/entries/projections/qsc.js.map +1 -0
  1268. package/dist/projection/experimental/entries/projections/robin.cjs +584 -0
  1269. package/dist/projection/experimental/entries/projections/robin.cjs.map +6 -0
  1270. package/dist/projection/experimental/entries/projections/robin.d.ts +2 -0
  1271. package/dist/projection/experimental/entries/projections/robin.d.ts.map +1 -0
  1272. package/dist/projection/experimental/entries/projections/robin.js +5 -0
  1273. package/dist/projection/experimental/entries/projections/robin.js.map +1 -0
  1274. package/dist/projection/experimental/entries/projections/sinu.cjs +586 -0
  1275. package/dist/projection/experimental/entries/projections/sinu.cjs.map +6 -0
  1276. package/dist/projection/experimental/entries/projections/sinu.d.ts +2 -0
  1277. package/dist/projection/experimental/entries/projections/sinu.d.ts.map +1 -0
  1278. package/dist/projection/experimental/entries/projections/sinu.js +5 -0
  1279. package/dist/projection/experimental/entries/projections/sinu.js.map +1 -0
  1280. package/dist/projection/experimental/entries/projections/somerc.cjs +575 -0
  1281. package/dist/projection/experimental/entries/projections/somerc.cjs.map +6 -0
  1282. package/dist/projection/experimental/entries/projections/somerc.d.ts +2 -0
  1283. package/dist/projection/experimental/entries/projections/somerc.d.ts.map +1 -0
  1284. package/dist/projection/experimental/entries/projections/somerc.js +5 -0
  1285. package/dist/projection/experimental/entries/projections/somerc.js.map +1 -0
  1286. package/dist/projection/experimental/entries/projections/stere.cjs +697 -0
  1287. package/dist/projection/experimental/entries/projections/stere.cjs.map +6 -0
  1288. package/dist/projection/experimental/entries/projections/stere.d.ts +2 -0
  1289. package/dist/projection/experimental/entries/projections/stere.d.ts.map +1 -0
  1290. package/dist/projection/experimental/entries/projections/stere.js +5 -0
  1291. package/dist/projection/experimental/entries/projections/stere.js.map +1 -0
  1292. package/dist/projection/experimental/entries/projections/sterea.cjs +631 -0
  1293. package/dist/projection/experimental/entries/projections/sterea.cjs.map +6 -0
  1294. package/dist/projection/experimental/entries/projections/sterea.d.ts +2 -0
  1295. package/dist/projection/experimental/entries/projections/sterea.d.ts.map +1 -0
  1296. package/dist/projection/experimental/entries/projections/sterea.js +5 -0
  1297. package/dist/projection/experimental/entries/projections/sterea.js.map +1 -0
  1298. package/dist/projection/experimental/entries/projections/tmerc.cjs +887 -0
  1299. package/dist/projection/experimental/entries/projections/tmerc.cjs.map +6 -0
  1300. package/dist/projection/experimental/entries/projections/tmerc.d.ts +2 -0
  1301. package/dist/projection/experimental/entries/projections/tmerc.d.ts.map +1 -0
  1302. package/dist/projection/experimental/entries/projections/tmerc.js +5 -0
  1303. package/dist/projection/experimental/entries/projections/tmerc.js.map +1 -0
  1304. package/dist/projection/experimental/entries/projections/tpers.cjs +645 -0
  1305. package/dist/projection/experimental/entries/projections/tpers.cjs.map +6 -0
  1306. package/dist/projection/experimental/entries/projections/tpers.d.ts +2 -0
  1307. package/dist/projection/experimental/entries/projections/tpers.d.ts.map +1 -0
  1308. package/dist/projection/experimental/entries/projections/tpers.js +5 -0
  1309. package/dist/projection/experimental/entries/projections/tpers.js.map +1 -0
  1310. package/dist/projection/experimental/entries/projections/utm.cjs +915 -0
  1311. package/dist/projection/experimental/entries/projections/utm.cjs.map +6 -0
  1312. package/dist/projection/experimental/entries/projections/utm.d.ts +2 -0
  1313. package/dist/projection/experimental/entries/projections/utm.d.ts.map +1 -0
  1314. package/dist/projection/experimental/entries/projections/utm.js +5 -0
  1315. package/dist/projection/experimental/entries/projections/utm.js.map +1 -0
  1316. package/dist/projection/experimental/entries/projections/vandg.cjs +560 -0
  1317. package/dist/projection/experimental/entries/projections/vandg.cjs.map +6 -0
  1318. package/dist/projection/experimental/entries/projections/vandg.d.ts +2 -0
  1319. package/dist/projection/experimental/entries/projections/vandg.d.ts.map +1 -0
  1320. package/dist/projection/experimental/entries/projections/vandg.js +5 -0
  1321. package/dist/projection/experimental/entries/projections/vandg.js.map +1 -0
  1322. package/dist/projection/experimental/exact-helmert.d.ts +9 -0
  1323. package/dist/projection/experimental/exact-helmert.d.ts.map +1 -0
  1324. package/dist/projection/experimental/exact-helmert.js +32 -0
  1325. package/dist/projection/experimental/exact-helmert.js.map +1 -0
  1326. package/dist/projection/experimental/flat-projection.d.ts +15 -0
  1327. package/dist/projection/experimental/flat-projection.d.ts.map +1 -0
  1328. package/dist/projection/experimental/flat-projection.js +70 -0
  1329. package/dist/projection/experimental/flat-projection.js.map +1 -0
  1330. package/dist/projection/experimental/grids/geotiff.cjs +180 -0
  1331. package/dist/projection/experimental/grids/geotiff.cjs.map +6 -0
  1332. package/dist/projection/experimental/grids/geotiff.d.ts +23 -0
  1333. package/dist/projection/experimental/grids/geotiff.d.ts.map +1 -0
  1334. package/dist/projection/experimental/grids/geotiff.js +59 -0
  1335. package/dist/projection/experimental/grids/geotiff.js.map +1 -0
  1336. package/dist/projection/experimental/grids/grid.d.ts +4 -0
  1337. package/dist/projection/experimental/grids/grid.d.ts.map +1 -0
  1338. package/dist/projection/experimental/grids/grid.js +111 -0
  1339. package/dist/projection/experimental/grids/grid.js.map +1 -0
  1340. package/dist/projection/experimental/grids/gtx.cjs +91 -0
  1341. package/dist/projection/experimental/grids/gtx.cjs.map +6 -0
  1342. package/dist/projection/experimental/grids/gtx.d.ts +7 -0
  1343. package/dist/projection/experimental/grids/gtx.d.ts.map +1 -0
  1344. package/dist/projection/experimental/grids/gtx.js +30 -0
  1345. package/dist/projection/experimental/grids/gtx.js.map +1 -0
  1346. package/dist/projection/experimental/grids/ntv2.cjs +181 -0
  1347. package/dist/projection/experimental/grids/ntv2.cjs.map +6 -0
  1348. package/dist/projection/experimental/grids/ntv2.d.ts +8 -0
  1349. package/dist/projection/experimental/grids/ntv2.d.ts.map +1 -0
  1350. package/dist/projection/experimental/grids/ntv2.js +56 -0
  1351. package/dist/projection/experimental/grids/ntv2.js.map +1 -0
  1352. package/dist/projection/experimental/grids/scalar-geotiff.d.ts +58 -0
  1353. package/dist/projection/experimental/grids/scalar-geotiff.d.ts.map +1 -0
  1354. package/dist/projection/experimental/grids/scalar-geotiff.js +147 -0
  1355. package/dist/projection/experimental/grids/scalar-geotiff.js.map +1 -0
  1356. package/dist/projection/experimental/grids/types.d.ts +35 -0
  1357. package/dist/projection/experimental/grids/types.d.ts.map +1 -0
  1358. package/dist/projection/experimental/grids/types.js +2 -0
  1359. package/dist/projection/experimental/grids/types.js.map +1 -0
  1360. package/dist/projection/experimental/grids/velocity-geotiff.cjs +247 -0
  1361. package/dist/projection/experimental/grids/velocity-geotiff.cjs.map +6 -0
  1362. package/dist/projection/experimental/grids/velocity-geotiff.d.ts +11 -0
  1363. package/dist/projection/experimental/grids/velocity-geotiff.d.ts.map +1 -0
  1364. package/dist/projection/experimental/grids/velocity-geotiff.js +61 -0
  1365. package/dist/projection/experimental/grids/velocity-geotiff.js.map +1 -0
  1366. package/dist/projection/experimental/grids/velocity.d.ts +21 -0
  1367. package/dist/projection/experimental/grids/velocity.d.ts.map +1 -0
  1368. package/dist/projection/experimental/grids/velocity.js +29 -0
  1369. package/dist/projection/experimental/grids/velocity.js.map +1 -0
  1370. package/dist/projection/experimental/grids/vertical-geotiff.cjs +195 -0
  1371. package/dist/projection/experimental/grids/vertical-geotiff.cjs.map +6 -0
  1372. package/dist/projection/experimental/grids/vertical-geotiff.d.ts +6 -0
  1373. package/dist/projection/experimental/grids/vertical-geotiff.d.ts.map +1 -0
  1374. package/dist/projection/experimental/grids/vertical-geotiff.js +20 -0
  1375. package/dist/projection/experimental/grids/vertical-geotiff.js.map +1 -0
  1376. package/dist/projection/experimental/grids/vertical.cjs +80 -0
  1377. package/dist/projection/experimental/grids/vertical.cjs.map +6 -0
  1378. package/dist/projection/experimental/grids/vertical.d.ts +22 -0
  1379. package/dist/projection/experimental/grids/vertical.d.ts.map +1 -0
  1380. package/dist/projection/experimental/grids/vertical.js +73 -0
  1381. package/dist/projection/experimental/grids/vertical.js.map +1 -0
  1382. package/dist/projection/experimental/helmert-flat.d.ts +4 -0
  1383. package/dist/projection/experimental/helmert-flat.d.ts.map +1 -0
  1384. package/dist/projection/experimental/helmert-flat.js +53 -0
  1385. package/dist/projection/experimental/helmert-flat.js.map +1 -0
  1386. package/dist/projection/experimental/index.cjs +11607 -0
  1387. package/dist/projection/experimental/index.cjs.map +6 -0
  1388. package/dist/projection/experimental/index.d.ts +49 -0
  1389. package/dist/projection/experimental/index.d.ts.map +1 -0
  1390. package/dist/projection/experimental/index.js +48 -0
  1391. package/dist/projection/experimental/index.js.map +1 -0
  1392. package/dist/projection/experimental/inverse-spherical-latitude.d.ts +2 -0
  1393. package/dist/projection/experimental/inverse-spherical-latitude.d.ts.map +1 -0
  1394. package/dist/projection/experimental/inverse-spherical-latitude.js +11 -0
  1395. package/dist/projection/experimental/inverse-spherical-latitude.js.map +1 -0
  1396. package/dist/projection/experimental/kernel.d.ts +37 -0
  1397. package/dist/projection/experimental/kernel.d.ts.map +1 -0
  1398. package/dist/projection/experimental/kernel.js +81 -0
  1399. package/dist/projection/experimental/kernel.js.map +1 -0
  1400. package/dist/projection/experimental/kernels/aea.d.ts +25 -0
  1401. package/dist/projection/experimental/kernels/aea.d.ts.map +1 -0
  1402. package/dist/projection/experimental/kernels/aea.js +118 -0
  1403. package/dist/projection/experimental/kernels/aea.js.map +1 -0
  1404. package/dist/projection/experimental/kernels/aeqd.d.ts +10 -0
  1405. package/dist/projection/experimental/kernels/aeqd.d.ts.map +1 -0
  1406. package/dist/projection/experimental/kernels/aeqd.js +168 -0
  1407. package/dist/projection/experimental/kernels/aeqd.js.map +1 -0
  1408. package/dist/projection/experimental/kernels/bonne.d.ts +12 -0
  1409. package/dist/projection/experimental/kernels/bonne.d.ts.map +1 -0
  1410. package/dist/projection/experimental/kernels/bonne.js +128 -0
  1411. package/dist/projection/experimental/kernels/bonne.js.map +1 -0
  1412. package/dist/projection/experimental/kernels/cass.d.ts +10 -0
  1413. package/dist/projection/experimental/kernels/cass.d.ts.map +1 -0
  1414. package/dist/projection/experimental/kernels/cass.js +122 -0
  1415. package/dist/projection/experimental/kernels/cass.js.map +1 -0
  1416. package/dist/projection/experimental/kernels/cea.d.ts +6 -0
  1417. package/dist/projection/experimental/kernels/cea.d.ts.map +1 -0
  1418. package/dist/projection/experimental/kernels/cea.js +63 -0
  1419. package/dist/projection/experimental/kernels/cea.js.map +1 -0
  1420. package/dist/projection/experimental/kernels/eck6.d.ts +13 -0
  1421. package/dist/projection/experimental/kernels/eck6.d.ts.map +1 -0
  1422. package/dist/projection/experimental/kernels/eck6.js +23 -0
  1423. package/dist/projection/experimental/kernels/eck6.js.map +1 -0
  1424. package/dist/projection/experimental/kernels/eqdc.d.ts +19 -0
  1425. package/dist/projection/experimental/kernels/eqdc.d.ts.map +1 -0
  1426. package/dist/projection/experimental/kernels/eqdc.js +117 -0
  1427. package/dist/projection/experimental/kernels/eqdc.js.map +1 -0
  1428. package/dist/projection/experimental/kernels/eqearth.d.ts +10 -0
  1429. package/dist/projection/experimental/kernels/eqearth.d.ts.map +1 -0
  1430. package/dist/projection/experimental/kernels/eqearth.js +114 -0
  1431. package/dist/projection/experimental/kernels/eqearth.js.map +1 -0
  1432. package/dist/projection/experimental/kernels/equi.d.ts +9 -0
  1433. package/dist/projection/experimental/kernels/equi.d.ts.map +1 -0
  1434. package/dist/projection/experimental/kernels/equi.js +43 -0
  1435. package/dist/projection/experimental/kernels/equi.js.map +1 -0
  1436. package/dist/projection/experimental/kernels/etmerc.d.ts +13 -0
  1437. package/dist/projection/experimental/kernels/etmerc.d.ts.map +1 -0
  1438. package/dist/projection/experimental/kernels/etmerc.js +145 -0
  1439. package/dist/projection/experimental/kernels/etmerc.js.map +1 -0
  1440. package/dist/projection/experimental/kernels/gauss.d.ts +12 -0
  1441. package/dist/projection/experimental/kernels/gauss.d.ts.map +1 -0
  1442. package/dist/projection/experimental/kernels/gauss.js +64 -0
  1443. package/dist/projection/experimental/kernels/gauss.js.map +1 -0
  1444. package/dist/projection/experimental/kernels/geos.d.ts +17 -0
  1445. package/dist/projection/experimental/kernels/geos.d.ts.map +1 -0
  1446. package/dist/projection/experimental/kernels/geos.js +153 -0
  1447. package/dist/projection/experimental/kernels/geos.js.map +1 -0
  1448. package/dist/projection/experimental/kernels/gnom.d.ts +14 -0
  1449. package/dist/projection/experimental/kernels/gnom.d.ts.map +1 -0
  1450. package/dist/projection/experimental/kernels/gnom.js +102 -0
  1451. package/dist/projection/experimental/kernels/gnom.js.map +1 -0
  1452. package/dist/projection/experimental/kernels/gstmerc.d.ts +13 -0
  1453. package/dist/projection/experimental/kernels/gstmerc.d.ts.map +1 -0
  1454. package/dist/projection/experimental/kernels/gstmerc.js +57 -0
  1455. package/dist/projection/experimental/kernels/gstmerc.js.map +1 -0
  1456. package/dist/projection/experimental/kernels/krovak.d.ts +23 -0
  1457. package/dist/projection/experimental/kernels/krovak.d.ts.map +1 -0
  1458. package/dist/projection/experimental/kernels/krovak.js +128 -0
  1459. package/dist/projection/experimental/kernels/krovak.js.map +1 -0
  1460. package/dist/projection/experimental/kernels/laea.d.ts +22 -0
  1461. package/dist/projection/experimental/kernels/laea.d.ts.map +1 -0
  1462. package/dist/projection/experimental/kernels/laea.js +296 -0
  1463. package/dist/projection/experimental/kernels/laea.js.map +1 -0
  1464. package/dist/projection/experimental/kernels/lcc.d.ts +10 -0
  1465. package/dist/projection/experimental/kernels/lcc.d.ts.map +1 -0
  1466. package/dist/projection/experimental/kernels/lcc.js +126 -0
  1467. package/dist/projection/experimental/kernels/lcc.js.map +1 -0
  1468. package/dist/projection/experimental/kernels/mill.d.ts +6 -0
  1469. package/dist/projection/experimental/kernels/mill.d.ts.map +1 -0
  1470. package/dist/projection/experimental/kernels/mill.js +49 -0
  1471. package/dist/projection/experimental/kernels/mill.js.map +1 -0
  1472. package/dist/projection/experimental/kernels/moll.d.ts +6 -0
  1473. package/dist/projection/experimental/kernels/moll.d.ts.map +1 -0
  1474. package/dist/projection/experimental/kernels/moll.js +104 -0
  1475. package/dist/projection/experimental/kernels/moll.js.map +1 -0
  1476. package/dist/projection/experimental/kernels/nzmg.d.ts +28 -0
  1477. package/dist/projection/experimental/kernels/nzmg.d.ts.map +1 -0
  1478. package/dist/projection/experimental/kernels/nzmg.js +209 -0
  1479. package/dist/projection/experimental/kernels/nzmg.js.map +1 -0
  1480. package/dist/projection/experimental/kernels/omerc.d.ts +30 -0
  1481. package/dist/projection/experimental/kernels/omerc.d.ts.map +1 -0
  1482. package/dist/projection/experimental/kernels/omerc.js +260 -0
  1483. package/dist/projection/experimental/kernels/omerc.js.map +1 -0
  1484. package/dist/projection/experimental/kernels/ortho.d.ts +10 -0
  1485. package/dist/projection/experimental/kernels/ortho.d.ts.map +1 -0
  1486. package/dist/projection/experimental/kernels/ortho.js +43 -0
  1487. package/dist/projection/experimental/kernels/ortho.js.map +1 -0
  1488. package/dist/projection/experimental/kernels/poly.d.ts +10 -0
  1489. package/dist/projection/experimental/kernels/poly.d.ts.map +1 -0
  1490. package/dist/projection/experimental/kernels/poly.js +193 -0
  1491. package/dist/projection/experimental/kernels/poly.js.map +1 -0
  1492. package/dist/projection/experimental/kernels/qsc.d.ts +10 -0
  1493. package/dist/projection/experimental/kernels/qsc.d.ts.map +1 -0
  1494. package/dist/projection/experimental/kernels/qsc.js +364 -0
  1495. package/dist/projection/experimental/kernels/qsc.js.map +1 -0
  1496. package/dist/projection/experimental/kernels/robin.d.ts +6 -0
  1497. package/dist/projection/experimental/kernels/robin.d.ts.map +1 -0
  1498. package/dist/projection/experimental/kernels/robin.js +166 -0
  1499. package/dist/projection/experimental/kernels/robin.js.map +1 -0
  1500. package/dist/projection/experimental/kernels/sinu.d.ts +12 -0
  1501. package/dist/projection/experimental/kernels/sinu.d.ts.map +1 -0
  1502. package/dist/projection/experimental/kernels/sinu.js +107 -0
  1503. package/dist/projection/experimental/kernels/sinu.js.map +1 -0
  1504. package/dist/projection/experimental/kernels/somerc.d.ts +13 -0
  1505. package/dist/projection/experimental/kernels/somerc.d.ts.map +1 -0
  1506. package/dist/projection/experimental/kernels/somerc.js +79 -0
  1507. package/dist/projection/experimental/kernels/somerc.js.map +1 -0
  1508. package/dist/projection/experimental/kernels/stere.d.ts +15 -0
  1509. package/dist/projection/experimental/kernels/stere.d.ts.map +1 -0
  1510. package/dist/projection/experimental/kernels/stere.js +207 -0
  1511. package/dist/projection/experimental/kernels/stere.js.map +1 -0
  1512. package/dist/projection/experimental/kernels/sterea.d.ts +11 -0
  1513. package/dist/projection/experimental/kernels/sterea.d.ts.map +1 -0
  1514. package/dist/projection/experimental/kernels/sterea.js +67 -0
  1515. package/dist/projection/experimental/kernels/sterea.js.map +1 -0
  1516. package/dist/projection/experimental/kernels/tmerc.d.ts +9 -0
  1517. package/dist/projection/experimental/kernels/tmerc.d.ts.map +1 -0
  1518. package/dist/projection/experimental/kernels/tmerc.js +201 -0
  1519. package/dist/projection/experimental/kernels/tmerc.js.map +1 -0
  1520. package/dist/projection/experimental/kernels/tpers.d.ts +22 -0
  1521. package/dist/projection/experimental/kernels/tpers.d.ts.map +1 -0
  1522. package/dist/projection/experimental/kernels/tpers.js +156 -0
  1523. package/dist/projection/experimental/kernels/tpers.js.map +1 -0
  1524. package/dist/projection/experimental/kernels/vandg.d.ts +8 -0
  1525. package/dist/projection/experimental/kernels/vandg.d.ts.map +1 -0
  1526. package/dist/projection/experimental/kernels/vandg.js +133 -0
  1527. package/dist/projection/experimental/kernels/vandg.js.map +1 -0
  1528. package/dist/projection/experimental/kinematic-helmert-flat.d.ts +4 -0
  1529. package/dist/projection/experimental/kinematic-helmert-flat.d.ts.map +1 -0
  1530. package/dist/projection/experimental/kinematic-helmert-flat.js +60 -0
  1531. package/dist/projection/experimental/kinematic-helmert-flat.js.map +1 -0
  1532. package/dist/projection/experimental/kinematic-helmert.d.ts +11 -0
  1533. package/dist/projection/experimental/kinematic-helmert.d.ts.map +1 -0
  1534. package/dist/projection/experimental/kinematic-helmert.js +103 -0
  1535. package/dist/projection/experimental/kinematic-helmert.js.map +1 -0
  1536. package/dist/projection/experimental/lazy-projection.d.ts +17 -0
  1537. package/dist/projection/experimental/lazy-projection.d.ts.map +1 -0
  1538. package/dist/projection/experimental/lazy-projection.js +166 -0
  1539. package/dist/projection/experimental/lazy-projection.js.map +1 -0
  1540. package/dist/projection/experimental/lazy-projections/aea.cjs +79 -0
  1541. package/dist/projection/experimental/lazy-projections/aea.cjs.map +6 -0
  1542. package/dist/projection/experimental/lazy-projections/aea.d.ts +3 -0
  1543. package/dist/projection/experimental/lazy-projections/aea.d.ts.map +1 -0
  1544. package/dist/projection/experimental/lazy-projections/aea.js +7 -0
  1545. package/dist/projection/experimental/lazy-projections/aea.js.map +1 -0
  1546. package/dist/projection/experimental/lazy-projections/aeqd.cjs +79 -0
  1547. package/dist/projection/experimental/lazy-projections/aeqd.cjs.map +6 -0
  1548. package/dist/projection/experimental/lazy-projections/aeqd.d.ts +3 -0
  1549. package/dist/projection/experimental/lazy-projections/aeqd.d.ts.map +1 -0
  1550. package/dist/projection/experimental/lazy-projections/aeqd.js +8 -0
  1551. package/dist/projection/experimental/lazy-projections/aeqd.js.map +1 -0
  1552. package/dist/projection/experimental/lazy-projections/bonne.cjs +79 -0
  1553. package/dist/projection/experimental/lazy-projections/bonne.cjs.map +6 -0
  1554. package/dist/projection/experimental/lazy-projections/bonne.d.ts +3 -0
  1555. package/dist/projection/experimental/lazy-projections/bonne.d.ts.map +1 -0
  1556. package/dist/projection/experimental/lazy-projections/bonne.js +7 -0
  1557. package/dist/projection/experimental/lazy-projections/bonne.js.map +1 -0
  1558. package/dist/projection/experimental/lazy-projections/cass.cjs +79 -0
  1559. package/dist/projection/experimental/lazy-projections/cass.cjs.map +6 -0
  1560. package/dist/projection/experimental/lazy-projections/cass.d.ts +3 -0
  1561. package/dist/projection/experimental/lazy-projections/cass.d.ts.map +1 -0
  1562. package/dist/projection/experimental/lazy-projections/cass.js +7 -0
  1563. package/dist/projection/experimental/lazy-projections/cass.js.map +1 -0
  1564. package/dist/projection/experimental/lazy-projections/cea.cjs +79 -0
  1565. package/dist/projection/experimental/lazy-projections/cea.cjs.map +6 -0
  1566. package/dist/projection/experimental/lazy-projections/cea.d.ts +3 -0
  1567. package/dist/projection/experimental/lazy-projections/cea.d.ts.map +1 -0
  1568. package/dist/projection/experimental/lazy-projections/cea.js +8 -0
  1569. package/dist/projection/experimental/lazy-projections/cea.js.map +1 -0
  1570. package/dist/projection/experimental/lazy-projections/eck6.cjs +79 -0
  1571. package/dist/projection/experimental/lazy-projections/eck6.cjs.map +6 -0
  1572. package/dist/projection/experimental/lazy-projections/eck6.d.ts +3 -0
  1573. package/dist/projection/experimental/lazy-projections/eck6.d.ts.map +1 -0
  1574. package/dist/projection/experimental/lazy-projections/eck6.js +7 -0
  1575. package/dist/projection/experimental/lazy-projections/eck6.js.map +1 -0
  1576. package/dist/projection/experimental/lazy-projections/eqc.cjs +82 -0
  1577. package/dist/projection/experimental/lazy-projections/eqc.cjs.map +6 -0
  1578. package/dist/projection/experimental/lazy-projections/eqc.d.ts +3 -0
  1579. package/dist/projection/experimental/lazy-projections/eqc.d.ts.map +1 -0
  1580. package/dist/projection/experimental/lazy-projections/eqc.js +11 -0
  1581. package/dist/projection/experimental/lazy-projections/eqc.js.map +1 -0
  1582. package/dist/projection/experimental/lazy-projections/eqdc.cjs +79 -0
  1583. package/dist/projection/experimental/lazy-projections/eqdc.cjs.map +6 -0
  1584. package/dist/projection/experimental/lazy-projections/eqdc.d.ts +3 -0
  1585. package/dist/projection/experimental/lazy-projections/eqdc.d.ts.map +1 -0
  1586. package/dist/projection/experimental/lazy-projections/eqdc.js +8 -0
  1587. package/dist/projection/experimental/lazy-projections/eqdc.js.map +1 -0
  1588. package/dist/projection/experimental/lazy-projections/eqearth.cjs +79 -0
  1589. package/dist/projection/experimental/lazy-projections/eqearth.cjs.map +6 -0
  1590. package/dist/projection/experimental/lazy-projections/eqearth.d.ts +3 -0
  1591. package/dist/projection/experimental/lazy-projections/eqearth.d.ts.map +1 -0
  1592. package/dist/projection/experimental/lazy-projections/eqearth.js +7 -0
  1593. package/dist/projection/experimental/lazy-projections/eqearth.js.map +1 -0
  1594. package/dist/projection/experimental/lazy-projections/equi.cjs +79 -0
  1595. package/dist/projection/experimental/lazy-projections/equi.cjs.map +6 -0
  1596. package/dist/projection/experimental/lazy-projections/equi.d.ts +3 -0
  1597. package/dist/projection/experimental/lazy-projections/equi.d.ts.map +1 -0
  1598. package/dist/projection/experimental/lazy-projections/equi.js +7 -0
  1599. package/dist/projection/experimental/lazy-projections/equi.js.map +1 -0
  1600. package/dist/projection/experimental/lazy-projections/etmerc.cjs +79 -0
  1601. package/dist/projection/experimental/lazy-projections/etmerc.cjs.map +6 -0
  1602. package/dist/projection/experimental/lazy-projections/etmerc.d.ts +3 -0
  1603. package/dist/projection/experimental/lazy-projections/etmerc.d.ts.map +1 -0
  1604. package/dist/projection/experimental/lazy-projections/etmerc.js +8 -0
  1605. package/dist/projection/experimental/lazy-projections/etmerc.js.map +1 -0
  1606. package/dist/projection/experimental/lazy-projections/geocent.cjs +79 -0
  1607. package/dist/projection/experimental/lazy-projections/geocent.cjs.map +6 -0
  1608. package/dist/projection/experimental/lazy-projections/geocent.d.ts +3 -0
  1609. package/dist/projection/experimental/lazy-projections/geocent.d.ts.map +1 -0
  1610. package/dist/projection/experimental/lazy-projections/geocent.js +7 -0
  1611. package/dist/projection/experimental/lazy-projections/geocent.js.map +1 -0
  1612. package/dist/projection/experimental/lazy-projections/geos.cjs +79 -0
  1613. package/dist/projection/experimental/lazy-projections/geos.cjs.map +6 -0
  1614. package/dist/projection/experimental/lazy-projections/geos.d.ts +3 -0
  1615. package/dist/projection/experimental/lazy-projections/geos.d.ts.map +1 -0
  1616. package/dist/projection/experimental/lazy-projections/geos.js +7 -0
  1617. package/dist/projection/experimental/lazy-projections/geos.js.map +1 -0
  1618. package/dist/projection/experimental/lazy-projections/gnom.cjs +79 -0
  1619. package/dist/projection/experimental/lazy-projections/gnom.cjs.map +6 -0
  1620. package/dist/projection/experimental/lazy-projections/gnom.d.ts +3 -0
  1621. package/dist/projection/experimental/lazy-projections/gnom.d.ts.map +1 -0
  1622. package/dist/projection/experimental/lazy-projections/gnom.js +7 -0
  1623. package/dist/projection/experimental/lazy-projections/gnom.js.map +1 -0
  1624. package/dist/projection/experimental/lazy-projections/gstmerc.cjs +79 -0
  1625. package/dist/projection/experimental/lazy-projections/gstmerc.cjs.map +6 -0
  1626. package/dist/projection/experimental/lazy-projections/gstmerc.d.ts +3 -0
  1627. package/dist/projection/experimental/lazy-projections/gstmerc.d.ts.map +1 -0
  1628. package/dist/projection/experimental/lazy-projections/gstmerc.js +9 -0
  1629. package/dist/projection/experimental/lazy-projections/gstmerc.js.map +1 -0
  1630. package/dist/projection/experimental/lazy-projections/index.cjs +2401 -0
  1631. package/dist/projection/experimental/lazy-projections/index.cjs.map +6 -0
  1632. package/dist/projection/experimental/lazy-projections/index.d.ts +38 -0
  1633. package/dist/projection/experimental/lazy-projections/index.d.ts.map +1 -0
  1634. package/dist/projection/experimental/lazy-projections/index.js +41 -0
  1635. package/dist/projection/experimental/lazy-projections/index.js.map +1 -0
  1636. package/dist/projection/experimental/lazy-projections/krovak.cjs +87 -0
  1637. package/dist/projection/experimental/lazy-projections/krovak.cjs.map +6 -0
  1638. package/dist/projection/experimental/lazy-projections/krovak.d.ts +3 -0
  1639. package/dist/projection/experimental/lazy-projections/krovak.d.ts.map +1 -0
  1640. package/dist/projection/experimental/lazy-projections/krovak.js +15 -0
  1641. package/dist/projection/experimental/lazy-projections/krovak.js.map +1 -0
  1642. package/dist/projection/experimental/lazy-projections/laea.cjs +79 -0
  1643. package/dist/projection/experimental/lazy-projections/laea.cjs.map +6 -0
  1644. package/dist/projection/experimental/lazy-projections/laea.d.ts +3 -0
  1645. package/dist/projection/experimental/lazy-projections/laea.d.ts.map +1 -0
  1646. package/dist/projection/experimental/lazy-projections/laea.js +8 -0
  1647. package/dist/projection/experimental/lazy-projections/laea.js.map +1 -0
  1648. package/dist/projection/experimental/lazy-projections/lcc.cjs +89 -0
  1649. package/dist/projection/experimental/lazy-projections/lcc.cjs.map +6 -0
  1650. package/dist/projection/experimental/lazy-projections/lcc.d.ts +3 -0
  1651. package/dist/projection/experimental/lazy-projections/lcc.d.ts.map +1 -0
  1652. package/dist/projection/experimental/lazy-projections/lcc.js +18 -0
  1653. package/dist/projection/experimental/lazy-projections/lcc.js.map +1 -0
  1654. package/dist/projection/experimental/lazy-projections/merc.cjs +88 -0
  1655. package/dist/projection/experimental/lazy-projections/merc.cjs.map +6 -0
  1656. package/dist/projection/experimental/lazy-projections/merc.d.ts +3 -0
  1657. package/dist/projection/experimental/lazy-projections/merc.d.ts.map +1 -0
  1658. package/dist/projection/experimental/lazy-projections/merc.js +16 -0
  1659. package/dist/projection/experimental/lazy-projections/merc.js.map +1 -0
  1660. package/dist/projection/experimental/lazy-projections/mill.cjs +79 -0
  1661. package/dist/projection/experimental/lazy-projections/mill.cjs.map +6 -0
  1662. package/dist/projection/experimental/lazy-projections/mill.d.ts +3 -0
  1663. package/dist/projection/experimental/lazy-projections/mill.d.ts.map +1 -0
  1664. package/dist/projection/experimental/lazy-projections/mill.js +8 -0
  1665. package/dist/projection/experimental/lazy-projections/mill.js.map +1 -0
  1666. package/dist/projection/experimental/lazy-projections/moll.cjs +79 -0
  1667. package/dist/projection/experimental/lazy-projections/moll.cjs.map +6 -0
  1668. package/dist/projection/experimental/lazy-projections/moll.d.ts +3 -0
  1669. package/dist/projection/experimental/lazy-projections/moll.d.ts.map +1 -0
  1670. package/dist/projection/experimental/lazy-projections/moll.js +7 -0
  1671. package/dist/projection/experimental/lazy-projections/moll.js.map +1 -0
  1672. package/dist/projection/experimental/lazy-projections/nzmg.cjs +79 -0
  1673. package/dist/projection/experimental/lazy-projections/nzmg.cjs.map +6 -0
  1674. package/dist/projection/experimental/lazy-projections/nzmg.d.ts +3 -0
  1675. package/dist/projection/experimental/lazy-projections/nzmg.d.ts.map +1 -0
  1676. package/dist/projection/experimental/lazy-projections/nzmg.js +8 -0
  1677. package/dist/projection/experimental/lazy-projections/nzmg.js.map +1 -0
  1678. package/dist/projection/experimental/lazy-projections/ob_tran.cjs +90 -0
  1679. package/dist/projection/experimental/lazy-projections/ob_tran.cjs.map +6 -0
  1680. package/dist/projection/experimental/lazy-projections/ob_tran.d.ts +5 -0
  1681. package/dist/projection/experimental/lazy-projections/ob_tran.d.ts.map +1 -0
  1682. package/dist/projection/experimental/lazy-projections/ob_tran.js +18 -0
  1683. package/dist/projection/experimental/lazy-projections/ob_tran.js.map +1 -0
  1684. package/dist/projection/experimental/lazy-projections/omerc.cjs +91 -0
  1685. package/dist/projection/experimental/lazy-projections/omerc.cjs.map +6 -0
  1686. package/dist/projection/experimental/lazy-projections/omerc.d.ts +3 -0
  1687. package/dist/projection/experimental/lazy-projections/omerc.d.ts.map +1 -0
  1688. package/dist/projection/experimental/lazy-projections/omerc.js +19 -0
  1689. package/dist/projection/experimental/lazy-projections/omerc.js.map +1 -0
  1690. package/dist/projection/experimental/lazy-projections/ortho.cjs +79 -0
  1691. package/dist/projection/experimental/lazy-projections/ortho.cjs.map +6 -0
  1692. package/dist/projection/experimental/lazy-projections/ortho.d.ts +3 -0
  1693. package/dist/projection/experimental/lazy-projections/ortho.d.ts.map +1 -0
  1694. package/dist/projection/experimental/lazy-projections/ortho.js +7 -0
  1695. package/dist/projection/experimental/lazy-projections/ortho.js.map +1 -0
  1696. package/dist/projection/experimental/lazy-projections/poly.cjs +79 -0
  1697. package/dist/projection/experimental/lazy-projections/poly.cjs.map +6 -0
  1698. package/dist/projection/experimental/lazy-projections/poly.d.ts +3 -0
  1699. package/dist/projection/experimental/lazy-projections/poly.d.ts.map +1 -0
  1700. package/dist/projection/experimental/lazy-projections/poly.js +7 -0
  1701. package/dist/projection/experimental/lazy-projections/poly.js.map +1 -0
  1702. package/dist/projection/experimental/lazy-projections/qsc.cjs +82 -0
  1703. package/dist/projection/experimental/lazy-projections/qsc.cjs.map +6 -0
  1704. package/dist/projection/experimental/lazy-projections/qsc.d.ts +3 -0
  1705. package/dist/projection/experimental/lazy-projections/qsc.d.ts.map +1 -0
  1706. package/dist/projection/experimental/lazy-projections/qsc.js +12 -0
  1707. package/dist/projection/experimental/lazy-projections/qsc.js.map +1 -0
  1708. package/dist/projection/experimental/lazy-projections/robin.cjs +79 -0
  1709. package/dist/projection/experimental/lazy-projections/robin.cjs.map +6 -0
  1710. package/dist/projection/experimental/lazy-projections/robin.d.ts +3 -0
  1711. package/dist/projection/experimental/lazy-projections/robin.d.ts.map +1 -0
  1712. package/dist/projection/experimental/lazy-projections/robin.js +7 -0
  1713. package/dist/projection/experimental/lazy-projections/robin.js.map +1 -0
  1714. package/dist/projection/experimental/lazy-projections/sinu.cjs +79 -0
  1715. package/dist/projection/experimental/lazy-projections/sinu.cjs.map +6 -0
  1716. package/dist/projection/experimental/lazy-projections/sinu.d.ts +3 -0
  1717. package/dist/projection/experimental/lazy-projections/sinu.d.ts.map +1 -0
  1718. package/dist/projection/experimental/lazy-projections/sinu.js +7 -0
  1719. package/dist/projection/experimental/lazy-projections/sinu.js.map +1 -0
  1720. package/dist/projection/experimental/lazy-projections/somerc.cjs +79 -0
  1721. package/dist/projection/experimental/lazy-projections/somerc.cjs.map +6 -0
  1722. package/dist/projection/experimental/lazy-projections/somerc.d.ts +3 -0
  1723. package/dist/projection/experimental/lazy-projections/somerc.d.ts.map +1 -0
  1724. package/dist/projection/experimental/lazy-projections/somerc.js +8 -0
  1725. package/dist/projection/experimental/lazy-projections/somerc.js.map +1 -0
  1726. package/dist/projection/experimental/lazy-projections/stere.cjs +87 -0
  1727. package/dist/projection/experimental/lazy-projections/stere.cjs.map +6 -0
  1728. package/dist/projection/experimental/lazy-projections/stere.d.ts +3 -0
  1729. package/dist/projection/experimental/lazy-projections/stere.d.ts.map +1 -0
  1730. package/dist/projection/experimental/lazy-projections/stere.js +15 -0
  1731. package/dist/projection/experimental/lazy-projections/stere.js.map +1 -0
  1732. package/dist/projection/experimental/lazy-projections/sterea.cjs +87 -0
  1733. package/dist/projection/experimental/lazy-projections/sterea.cjs.map +6 -0
  1734. package/dist/projection/experimental/lazy-projections/sterea.d.ts +3 -0
  1735. package/dist/projection/experimental/lazy-projections/sterea.d.ts.map +1 -0
  1736. package/dist/projection/experimental/lazy-projections/sterea.js +16 -0
  1737. package/dist/projection/experimental/lazy-projections/sterea.js.map +1 -0
  1738. package/dist/projection/experimental/lazy-projections/tmerc.cjs +89 -0
  1739. package/dist/projection/experimental/lazy-projections/tmerc.cjs.map +6 -0
  1740. package/dist/projection/experimental/lazy-projections/tmerc.d.ts +3 -0
  1741. package/dist/projection/experimental/lazy-projections/tmerc.d.ts.map +1 -0
  1742. package/dist/projection/experimental/lazy-projections/tmerc.js +18 -0
  1743. package/dist/projection/experimental/lazy-projections/tmerc.js.map +1 -0
  1744. package/dist/projection/experimental/lazy-projections/tpers.cjs +79 -0
  1745. package/dist/projection/experimental/lazy-projections/tpers.cjs.map +6 -0
  1746. package/dist/projection/experimental/lazy-projections/tpers.d.ts +3 -0
  1747. package/dist/projection/experimental/lazy-projections/tpers.d.ts.map +1 -0
  1748. package/dist/projection/experimental/lazy-projections/tpers.js +8 -0
  1749. package/dist/projection/experimental/lazy-projections/tpers.js.map +1 -0
  1750. package/dist/projection/experimental/lazy-projections/utm.cjs +79 -0
  1751. package/dist/projection/experimental/lazy-projections/utm.cjs.map +6 -0
  1752. package/dist/projection/experimental/lazy-projections/utm.d.ts +3 -0
  1753. package/dist/projection/experimental/lazy-projections/utm.d.ts.map +1 -0
  1754. package/dist/projection/experimental/lazy-projections/utm.js +8 -0
  1755. package/dist/projection/experimental/lazy-projections/utm.js.map +1 -0
  1756. package/dist/projection/experimental/lazy-projections/vandg.cjs +79 -0
  1757. package/dist/projection/experimental/lazy-projections/vandg.cjs.map +6 -0
  1758. package/dist/projection/experimental/lazy-projections/vandg.d.ts +3 -0
  1759. package/dist/projection/experimental/lazy-projections/vandg.d.ts.map +1 -0
  1760. package/dist/projection/experimental/lazy-projections/vandg.js +7 -0
  1761. package/dist/projection/experimental/lazy-projections/vandg.js.map +1 -0
  1762. package/dist/projection/experimental/mutable-projection.d.ts +6 -0
  1763. package/dist/projection/experimental/mutable-projection.d.ts.map +1 -0
  1764. package/dist/projection/experimental/mutable-projection.js +53 -0
  1765. package/dist/projection/experimental/mutable-projection.js.map +1 -0
  1766. package/dist/projection/experimental/numeric-flat.d.ts +8 -0
  1767. package/dist/projection/experimental/numeric-flat.d.ts.map +1 -0
  1768. package/dist/projection/experimental/numeric-flat.js +54 -0
  1769. package/dist/projection/experimental/numeric-flat.js.map +1 -0
  1770. package/dist/projection/experimental/parameters.d.ts +8 -0
  1771. package/dist/projection/experimental/parameters.d.ts.map +1 -0
  1772. package/dist/projection/experimental/parameters.js +31 -0
  1773. package/dist/projection/experimental/parameters.js.map +1 -0
  1774. package/dist/projection/experimental/projection-descriptor.d.ts +13 -0
  1775. package/dist/projection/experimental/projection-descriptor.d.ts.map +1 -0
  1776. package/dist/projection/experimental/projection-descriptor.js +52 -0
  1777. package/dist/projection/experimental/projection-descriptor.js.map +1 -0
  1778. package/dist/projection/experimental/projection-engine.d.ts +23 -0
  1779. package/dist/projection/experimental/projection-engine.d.ts.map +1 -0
  1780. package/dist/projection/experimental/projection-engine.js +33 -0
  1781. package/dist/projection/experimental/projection-engine.js.map +1 -0
  1782. package/dist/projection/experimental/projection-pipeline.d.ts +142 -0
  1783. package/dist/projection/experimental/projection-pipeline.d.ts.map +1 -0
  1784. package/dist/projection/experimental/projection-pipeline.js +740 -0
  1785. package/dist/projection/experimental/projection-pipeline.js.map +1 -0
  1786. package/dist/projection/experimental/projection-scratch.d.ts +11 -0
  1787. package/dist/projection/experimental/projection-scratch.d.ts.map +1 -0
  1788. package/dist/projection/experimental/projection-scratch.js +25 -0
  1789. package/dist/projection/experimental/projection-scratch.js.map +1 -0
  1790. package/dist/projection/experimental/projections/aea.d.ts +3 -0
  1791. package/dist/projection/experimental/projections/aea.d.ts.map +1 -0
  1792. package/dist/projection/experimental/projections/aea.js +24 -0
  1793. package/dist/projection/experimental/projections/aea.js.map +1 -0
  1794. package/dist/projection/experimental/projections/aeqd.d.ts +3 -0
  1795. package/dist/projection/experimental/projections/aeqd.d.ts.map +1 -0
  1796. package/dist/projection/experimental/projections/aeqd.js +19 -0
  1797. package/dist/projection/experimental/projections/aeqd.js.map +1 -0
  1798. package/dist/projection/experimental/projections/bonne.d.ts +3 -0
  1799. package/dist/projection/experimental/projections/bonne.d.ts.map +1 -0
  1800. package/dist/projection/experimental/projections/bonne.js +25 -0
  1801. package/dist/projection/experimental/projections/bonne.js.map +1 -0
  1802. package/dist/projection/experimental/projections/cass.d.ts +3 -0
  1803. package/dist/projection/experimental/projections/cass.d.ts.map +1 -0
  1804. package/dist/projection/experimental/projections/cass.js +22 -0
  1805. package/dist/projection/experimental/projections/cass.js.map +1 -0
  1806. package/dist/projection/experimental/projections/cea.d.ts +3 -0
  1807. package/dist/projection/experimental/projections/cea.d.ts.map +1 -0
  1808. package/dist/projection/experimental/projections/cea.js +24 -0
  1809. package/dist/projection/experimental/projections/cea.js.map +1 -0
  1810. package/dist/projection/experimental/projections/eck6.d.ts +3 -0
  1811. package/dist/projection/experimental/projections/eck6.d.ts.map +1 -0
  1812. package/dist/projection/experimental/projections/eck6.js +22 -0
  1813. package/dist/projection/experimental/projections/eck6.js.map +1 -0
  1814. package/dist/projection/experimental/projections/eqdc.d.ts +3 -0
  1815. package/dist/projection/experimental/projections/eqdc.d.ts.map +1 -0
  1816. package/dist/projection/experimental/projections/eqdc.js +23 -0
  1817. package/dist/projection/experimental/projections/eqdc.js.map +1 -0
  1818. package/dist/projection/experimental/projections/eqearth.d.ts +3 -0
  1819. package/dist/projection/experimental/projections/eqearth.d.ts.map +1 -0
  1820. package/dist/projection/experimental/projections/eqearth.js +47 -0
  1821. package/dist/projection/experimental/projections/eqearth.js.map +1 -0
  1822. package/dist/projection/experimental/projections/equi.d.ts +3 -0
  1823. package/dist/projection/experimental/projections/equi.d.ts.map +1 -0
  1824. package/dist/projection/experimental/projections/equi.js +24 -0
  1825. package/dist/projection/experimental/projections/equi.js.map +1 -0
  1826. package/dist/projection/experimental/projections/equidistant-cylindrical.d.ts +4 -0
  1827. package/dist/projection/experimental/projections/equidistant-cylindrical.d.ts.map +1 -0
  1828. package/dist/projection/experimental/projections/equidistant-cylindrical.js +47 -0
  1829. package/dist/projection/experimental/projections/equidistant-cylindrical.js.map +1 -0
  1830. package/dist/projection/experimental/projections/geocentric.d.ts +3 -0
  1831. package/dist/projection/experimental/projections/geocentric.d.ts.map +1 -0
  1832. package/dist/projection/experimental/projections/geocentric.js +34 -0
  1833. package/dist/projection/experimental/projections/geocentric.js.map +1 -0
  1834. package/dist/projection/experimental/projections/geos.d.ts +3 -0
  1835. package/dist/projection/experimental/projections/geos.d.ts.map +1 -0
  1836. package/dist/projection/experimental/projections/geos.js +30 -0
  1837. package/dist/projection/experimental/projections/geos.js.map +1 -0
  1838. package/dist/projection/experimental/projections/gnom.d.ts +3 -0
  1839. package/dist/projection/experimental/projections/gnom.d.ts.map +1 -0
  1840. package/dist/projection/experimental/projections/gnom.js +22 -0
  1841. package/dist/projection/experimental/projections/gnom.js.map +1 -0
  1842. package/dist/projection/experimental/projections/gstmerc.d.ts +3 -0
  1843. package/dist/projection/experimental/projections/gstmerc.d.ts.map +1 -0
  1844. package/dist/projection/experimental/projections/gstmerc.js +23 -0
  1845. package/dist/projection/experimental/projections/gstmerc.js.map +1 -0
  1846. package/dist/projection/experimental/projections/krovak.d.ts +3 -0
  1847. package/dist/projection/experimental/projections/krovak.d.ts.map +1 -0
  1848. package/dist/projection/experimental/projections/krovak.js +41 -0
  1849. package/dist/projection/experimental/projections/krovak.js.map +1 -0
  1850. package/dist/projection/experimental/projections/laea.d.ts +3 -0
  1851. package/dist/projection/experimental/projections/laea.d.ts.map +1 -0
  1852. package/dist/projection/experimental/projections/laea.js +22 -0
  1853. package/dist/projection/experimental/projections/laea.js.map +1 -0
  1854. package/dist/projection/experimental/projections/lcc.d.ts +3 -0
  1855. package/dist/projection/experimental/projections/lcc.d.ts.map +1 -0
  1856. package/dist/projection/experimental/projections/lcc.js +39 -0
  1857. package/dist/projection/experimental/projections/lcc.js.map +1 -0
  1858. package/dist/projection/experimental/projections/mercator.d.ts +4 -0
  1859. package/dist/projection/experimental/projections/mercator.d.ts.map +1 -0
  1860. package/dist/projection/experimental/projections/mercator.js +106 -0
  1861. package/dist/projection/experimental/projections/mercator.js.map +1 -0
  1862. package/dist/projection/experimental/projections/mill.d.ts +3 -0
  1863. package/dist/projection/experimental/projections/mill.d.ts.map +1 -0
  1864. package/dist/projection/experimental/projections/mill.js +22 -0
  1865. package/dist/projection/experimental/projections/mill.js.map +1 -0
  1866. package/dist/projection/experimental/projections/moll.d.ts +3 -0
  1867. package/dist/projection/experimental/projections/moll.d.ts.map +1 -0
  1868. package/dist/projection/experimental/projections/moll.js +22 -0
  1869. package/dist/projection/experimental/projections/moll.js.map +1 -0
  1870. package/dist/projection/experimental/projections/nzmg.d.ts +3 -0
  1871. package/dist/projection/experimental/projections/nzmg.d.ts.map +1 -0
  1872. package/dist/projection/experimental/projections/nzmg.js +29 -0
  1873. package/dist/projection/experimental/projections/nzmg.js.map +1 -0
  1874. package/dist/projection/experimental/projections/ob-tran.d.ts +4 -0
  1875. package/dist/projection/experimental/projections/ob-tran.d.ts.map +1 -0
  1876. package/dist/projection/experimental/projections/ob-tran.js +194 -0
  1877. package/dist/projection/experimental/projections/ob-tran.js.map +1 -0
  1878. package/dist/projection/experimental/projections/omerc.d.ts +3 -0
  1879. package/dist/projection/experimental/projections/omerc.d.ts.map +1 -0
  1880. package/dist/projection/experimental/projections/omerc.js +69 -0
  1881. package/dist/projection/experimental/projections/omerc.js.map +1 -0
  1882. package/dist/projection/experimental/projections/ortho.d.ts +3 -0
  1883. package/dist/projection/experimental/projections/ortho.d.ts.map +1 -0
  1884. package/dist/projection/experimental/projections/ortho.js +20 -0
  1885. package/dist/projection/experimental/projections/ortho.js.map +1 -0
  1886. package/dist/projection/experimental/projections/poly.d.ts +3 -0
  1887. package/dist/projection/experimental/projections/poly.d.ts.map +1 -0
  1888. package/dist/projection/experimental/projections/poly.js +22 -0
  1889. package/dist/projection/experimental/projections/poly.js.map +1 -0
  1890. package/dist/projection/experimental/projections/qsc.d.ts +3 -0
  1891. package/dist/projection/experimental/projections/qsc.d.ts.map +1 -0
  1892. package/dist/projection/experimental/projections/qsc.js +64 -0
  1893. package/dist/projection/experimental/projections/qsc.js.map +1 -0
  1894. package/dist/projection/experimental/projections/robin.d.ts +3 -0
  1895. package/dist/projection/experimental/projections/robin.d.ts.map +1 -0
  1896. package/dist/projection/experimental/projections/robin.js +22 -0
  1897. package/dist/projection/experimental/projections/robin.js.map +1 -0
  1898. package/dist/projection/experimental/projections/sinu.d.ts +3 -0
  1899. package/dist/projection/experimental/projections/sinu.d.ts.map +1 -0
  1900. package/dist/projection/experimental/projections/sinu.js +22 -0
  1901. package/dist/projection/experimental/projections/sinu.js.map +1 -0
  1902. package/dist/projection/experimental/projections/somerc.d.ts +3 -0
  1903. package/dist/projection/experimental/projections/somerc.d.ts.map +1 -0
  1904. package/dist/projection/experimental/projections/somerc.js +22 -0
  1905. package/dist/projection/experimental/projections/somerc.js.map +1 -0
  1906. package/dist/projection/experimental/projections/stere.d.ts +3 -0
  1907. package/dist/projection/experimental/projections/stere.d.ts.map +1 -0
  1908. package/dist/projection/experimental/projections/stere.js +32 -0
  1909. package/dist/projection/experimental/projections/stere.js.map +1 -0
  1910. package/dist/projection/experimental/projections/sterea.d.ts +3 -0
  1911. package/dist/projection/experimental/projections/sterea.d.ts.map +1 -0
  1912. package/dist/projection/experimental/projections/sterea.js +32 -0
  1913. package/dist/projection/experimental/projections/sterea.js.map +1 -0
  1914. package/dist/projection/experimental/projections/tpers.d.ts +3 -0
  1915. package/dist/projection/experimental/projections/tpers.d.ts.map +1 -0
  1916. package/dist/projection/experimental/projections/tpers.js +31 -0
  1917. package/dist/projection/experimental/projections/tpers.js.map +1 -0
  1918. package/dist/projection/experimental/projections/transverse-mercator.d.ts +6 -0
  1919. package/dist/projection/experimental/projections/transverse-mercator.d.ts.map +1 -0
  1920. package/dist/projection/experimental/projections/transverse-mercator.js +48 -0
  1921. package/dist/projection/experimental/projections/transverse-mercator.js.map +1 -0
  1922. package/dist/projection/experimental/projections/utm.d.ts +3 -0
  1923. package/dist/projection/experimental/projections/utm.d.ts.map +1 -0
  1924. package/dist/projection/experimental/projections/utm.js +37 -0
  1925. package/dist/projection/experimental/projections/utm.js.map +1 -0
  1926. package/dist/projection/experimental/projections/vandg.d.ts +3 -0
  1927. package/dist/projection/experimental/projections/vandg.d.ts.map +1 -0
  1928. package/dist/projection/experimental/projections/vandg.js +22 -0
  1929. package/dist/projection/experimental/projections/vandg.js.map +1 -0
  1930. package/dist/projection/experimental/rendering-profile/angular-rendering-profile.d.ts +9 -0
  1931. package/dist/projection/experimental/rendering-profile/angular-rendering-profile.d.ts.map +1 -0
  1932. package/dist/projection/experimental/rendering-profile/angular-rendering-profile.js +79 -0
  1933. package/dist/projection/experimental/rendering-profile/angular-rendering-profile.js.map +1 -0
  1934. package/dist/projection/experimental/rendering-profile/azimuthal-rendering-bounds.d.ts +23 -0
  1935. package/dist/projection/experimental/rendering-profile/azimuthal-rendering-bounds.d.ts.map +1 -0
  1936. package/dist/projection/experimental/rendering-profile/azimuthal-rendering-bounds.js +131 -0
  1937. package/dist/projection/experimental/rendering-profile/azimuthal-rendering-bounds.js.map +1 -0
  1938. package/dist/projection/experimental/rendering-profile/geographic-bounds.d.ts +29 -0
  1939. package/dist/projection/experimental/rendering-profile/geographic-bounds.d.ts.map +1 -0
  1940. package/dist/projection/experimental/rendering-profile/geographic-bounds.js +127 -0
  1941. package/dist/projection/experimental/rendering-profile/geographic-bounds.js.map +1 -0
  1942. package/dist/projection/experimental/rendering-profile/geographic-rendering-profile.d.ts +4 -0
  1943. package/dist/projection/experimental/rendering-profile/geographic-rendering-profile.d.ts.map +1 -0
  1944. package/dist/projection/experimental/rendering-profile/geographic-rendering-profile.js +18 -0
  1945. package/dist/projection/experimental/rendering-profile/geographic-rendering-profile.js.map +1 -0
  1946. package/dist/projection/experimental/rendering-profile/geostationary-rendering-profile.d.ts +7 -0
  1947. package/dist/projection/experimental/rendering-profile/geostationary-rendering-profile.d.ts.map +1 -0
  1948. package/dist/projection/experimental/rendering-profile/geostationary-rendering-profile.js +86 -0
  1949. package/dist/projection/experimental/rendering-profile/geostationary-rendering-profile.js.map +1 -0
  1950. package/dist/projection/experimental/rendering-profile/identity-rendering-profile.d.ts +4 -0
  1951. package/dist/projection/experimental/rendering-profile/identity-rendering-profile.d.ts.map +1 -0
  1952. package/dist/projection/experimental/rendering-profile/identity-rendering-profile.js +13 -0
  1953. package/dist/projection/experimental/rendering-profile/identity-rendering-profile.js.map +1 -0
  1954. package/dist/projection/experimental/rendering-profile/rectangular-rendering-profile.d.ts +13 -0
  1955. package/dist/projection/experimental/rendering-profile/rectangular-rendering-profile.d.ts.map +1 -0
  1956. package/dist/projection/experimental/rendering-profile/rectangular-rendering-profile.js +76 -0
  1957. package/dist/projection/experimental/rendering-profile/rectangular-rendering-profile.js.map +1 -0
  1958. package/dist/projection/experimental/rendering-profile/regional-rendering-bounds.d.ts +29 -0
  1959. package/dist/projection/experimental/rendering-profile/regional-rendering-bounds.d.ts.map +1 -0
  1960. package/dist/projection/experimental/rendering-profile/regional-rendering-bounds.js +143 -0
  1961. package/dist/projection/experimental/rendering-profile/regional-rendering-bounds.js.map +1 -0
  1962. package/dist/projection/experimental/rendering-profile/rendering-bounds.d.ts +28 -0
  1963. package/dist/projection/experimental/rendering-profile/rendering-bounds.d.ts.map +1 -0
  1964. package/dist/projection/experimental/rendering-profile/rendering-bounds.js +111 -0
  1965. package/dist/projection/experimental/rendering-profile/rendering-bounds.js.map +1 -0
  1966. package/dist/projection/experimental/rendering-profile/rendering-profile.d.ts +11 -0
  1967. package/dist/projection/experimental/rendering-profile/rendering-profile.d.ts.map +1 -0
  1968. package/dist/projection/experimental/rendering-profile/rendering-profile.js +81 -0
  1969. package/dist/projection/experimental/rendering-profile/rendering-profile.js.map +1 -0
  1970. package/dist/projection/experimental/rendering-profile/spherical-rendering-domain.d.ts +24 -0
  1971. package/dist/projection/experimental/rendering-profile/spherical-rendering-domain.d.ts.map +1 -0
  1972. package/dist/projection/experimental/rendering-profile/spherical-rendering-domain.js +129 -0
  1973. package/dist/projection/experimental/rendering-profile/spherical-rendering-domain.js.map +1 -0
  1974. package/dist/projection/experimental/scalar-output.d.ts +8 -0
  1975. package/dist/projection/experimental/scalar-output.d.ts.map +1 -0
  1976. package/dist/projection/experimental/scalar-output.js +46 -0
  1977. package/dist/projection/experimental/scalar-output.js.map +1 -0
  1978. package/dist/projection/experimental/spatial-deformation.d.ts +6 -0
  1979. package/dist/projection/experimental/spatial-deformation.d.ts.map +1 -0
  1980. package/dist/projection/experimental/spatial-deformation.js +85 -0
  1981. package/dist/projection/experimental/spatial-deformation.js.map +1 -0
  1982. package/dist/projection/experimental/types.d.ts +98 -0
  1983. package/dist/projection/experimental/types.d.ts.map +1 -0
  1984. package/dist/projection/experimental/types.js +5 -0
  1985. package/dist/projection/experimental/types.js.map +1 -0
  1986. package/dist/projection/experimental/typescript-projection.d.ts +76 -0
  1987. package/dist/projection/experimental/typescript-projection.d.ts.map +1 -0
  1988. package/dist/projection/experimental/typescript-projection.js +459 -0
  1989. package/dist/projection/experimental/typescript-projection.js.map +1 -0
  1990. package/dist/projection/experimental/vertical-datum.d.ts +4 -0
  1991. package/dist/projection/experimental/vertical-datum.d.ts.map +1 -0
  1992. package/dist/projection/experimental/vertical-datum.js +43 -0
  1993. package/dist/projection/experimental/vertical-datum.js.map +1 -0
  1994. package/dist/projection/grids/velocity.cjs +92 -0
  1995. package/dist/projection/grids/velocity.cjs.map +6 -0
  1996. package/dist/projection/grids/velocity.d.ts +3 -0
  1997. package/dist/projection/grids/velocity.d.ts.map +1 -0
  1998. package/dist/projection/grids/velocity.js +5 -0
  1999. package/dist/projection/grids/velocity.js.map +1 -0
  2000. package/dist/projection/index.cjs +13064 -0
  2001. package/dist/projection/index.cjs.map +6 -0
  2002. package/dist/projection/index.d.ts +3 -0
  2003. package/dist/projection/index.d.ts.map +1 -0
  2004. package/dist/projection/index.js +6 -0
  2005. package/dist/projection/index.js.map +1 -0
  2006. package/dist/projection/lib/projection.d.ts +8 -0
  2007. package/dist/projection/lib/projection.d.ts.map +1 -0
  2008. package/dist/projection/lib/projection.js +115 -0
  2009. package/dist/projection/lib/projection.js.map +1 -0
  2010. package/dist/projection/numerical-derivative.d.ts +15 -0
  2011. package/dist/projection/numerical-derivative.d.ts.map +1 -0
  2012. package/dist/projection/numerical-derivative.js +47 -0
  2013. package/dist/projection/numerical-derivative.js.map +1 -0
  2014. package/dist/projection/operations.cjs +322 -0
  2015. package/dist/projection/operations.cjs.map +6 -0
  2016. package/dist/projection/operations.d.ts +89 -0
  2017. package/dist/projection/operations.d.ts.map +1 -0
  2018. package/dist/projection/operations.js +344 -0
  2019. package/dist/projection/operations.js.map +1 -0
  2020. package/dist/projection/pipeline.cjs +1965 -0
  2021. package/dist/projection/pipeline.cjs.map +6 -0
  2022. package/dist/projection/pipeline.d.ts +2 -0
  2023. package/dist/projection/pipeline.d.ts.map +1 -0
  2024. package/dist/projection/pipeline.js +5 -0
  2025. package/dist/projection/pipeline.js.map +1 -0
  2026. package/dist/projection/temporal.cjs +290 -0
  2027. package/dist/projection/temporal.cjs.map +6 -0
  2028. package/dist/projection/temporal.d.ts +31 -0
  2029. package/dist/projection/temporal.d.ts.map +1 -0
  2030. package/dist/projection/temporal.js +91 -0
  2031. package/dist/projection/temporal.js.map +1 -0
  2032. package/dist/projection/transform-analysis.cjs +1893 -0
  2033. package/dist/projection/transform-analysis.cjs.map +6 -0
  2034. package/dist/projection/transform-analysis.d.ts +43 -0
  2035. package/dist/projection/transform-analysis.d.ts.map +1 -0
  2036. package/dist/projection/transform-analysis.js +110 -0
  2037. package/dist/projection/transform-analysis.js.map +1 -0
  2038. package/dist/projection/types.cjs +18 -0
  2039. package/dist/projection/types.cjs.map +6 -0
  2040. package/dist/projection/types.d.ts +51 -0
  2041. package/dist/projection/types.d.ts.map +1 -0
  2042. package/dist/projection/types.js +5 -0
  2043. package/dist/projection/types.js.map +1 -0
  2044. package/dist/projection/web-mercator.cjs +171 -0
  2045. package/dist/projection/web-mercator.cjs.map +6 -0
  2046. package/dist/projection/web-mercator.d.ts +7 -0
  2047. package/dist/projection/web-mercator.d.ts.map +1 -0
  2048. package/dist/projection/web-mercator.js +113 -0
  2049. package/dist/projection/web-mercator.js.map +1 -0
  2050. package/dist/rhumb-path.d.ts +28 -0
  2051. package/dist/rhumb-path.d.ts.map +1 -0
  2052. package/dist/rhumb-path.js +100 -0
  2053. package/dist/rhumb-path.js.map +1 -0
  2054. package/dist/rhumb-polygon.d.ts +11 -0
  2055. package/dist/rhumb-polygon.d.ts.map +1 -0
  2056. package/dist/rhumb-polygon.js +19 -0
  2057. package/dist/rhumb-polygon.js.map +1 -0
  2058. package/dist/subdivide-geodesic-polyline.d.ts +15 -0
  2059. package/dist/subdivide-geodesic-polyline.d.ts.map +1 -0
  2060. package/dist/subdivide-geodesic-polyline.js +52 -0
  2061. package/dist/subdivide-geodesic-polyline.js.map +1 -0
  2062. package/dist/subdivide-globe-mesh.d.ts +20 -0
  2063. package/dist/subdivide-globe-mesh.d.ts.map +1 -0
  2064. package/dist/subdivide-globe-mesh.js +54 -0
  2065. package/dist/subdivide-globe-mesh.js.map +1 -0
  2066. package/dist/subdivide-rhumb-polyline.d.ts +12 -0
  2067. package/dist/subdivide-rhumb-polyline.d.ts.map +1 -0
  2068. package/dist/subdivide-rhumb-polyline.js +82 -0
  2069. package/dist/subdivide-rhumb-polyline.js.map +1 -0
  2070. package/dist/terrain/adaptive-mesh-types.d.ts +21 -0
  2071. package/dist/terrain/adaptive-mesh-types.d.ts.map +1 -0
  2072. package/dist/terrain/adaptive-mesh-types.js +5 -0
  2073. package/dist/terrain/adaptive-mesh-types.js.map +1 -0
  2074. package/dist/terrain/bounds.d.ts +41 -0
  2075. package/dist/terrain/bounds.d.ts.map +1 -0
  2076. package/dist/terrain/bounds.js +141 -0
  2077. package/dist/terrain/bounds.js.map +1 -0
  2078. package/dist/terrain/contour-path-data.d.ts +26 -0
  2079. package/dist/terrain/contour-path-data.d.ts.map +1 -0
  2080. package/dist/terrain/contour-path-data.js +59 -0
  2081. package/dist/terrain/contour-path-data.js.map +1 -0
  2082. package/dist/terrain/contour-paths.d.ts +8 -0
  2083. package/dist/terrain/contour-paths.d.ts.map +1 -0
  2084. package/dist/terrain/contour-paths.js +83 -0
  2085. package/dist/terrain/contour-paths.js.map +1 -0
  2086. package/dist/terrain/contour-simplify.d.ts +18 -0
  2087. package/dist/terrain/contour-simplify.d.ts.map +1 -0
  2088. package/dist/terrain/contour-simplify.js +152 -0
  2089. package/dist/terrain/contour-simplify.js.map +1 -0
  2090. package/dist/terrain/contours.d.ts +29 -0
  2091. package/dist/terrain/contours.d.ts.map +1 -0
  2092. package/dist/terrain/contours.js +133 -0
  2093. package/dist/terrain/contours.js.map +1 -0
  2094. package/dist/terrain/delatin.d.ts +12 -0
  2095. package/dist/terrain/delatin.d.ts.map +1 -0
  2096. package/dist/terrain/delatin.js +69 -0
  2097. package/dist/terrain/delatin.js.map +1 -0
  2098. package/dist/terrain/derivatives.d.ts +23 -0
  2099. package/dist/terrain/derivatives.d.ts.map +1 -0
  2100. package/dist/terrain/derivatives.js +71 -0
  2101. package/dist/terrain/derivatives.js.map +1 -0
  2102. package/dist/terrain/geographic.d.ts +21 -0
  2103. package/dist/terrain/geographic.d.ts.map +1 -0
  2104. package/dist/terrain/geographic.js +91 -0
  2105. package/dist/terrain/geographic.js.map +1 -0
  2106. package/dist/terrain/geometry.d.ts +14 -0
  2107. package/dist/terrain/geometry.d.ts.map +1 -0
  2108. package/dist/terrain/geometry.js +116 -0
  2109. package/dist/terrain/geometry.js.map +1 -0
  2110. package/dist/terrain/height-field.d.ts +31 -0
  2111. package/dist/terrain/height-field.d.ts.map +1 -0
  2112. package/dist/terrain/height-field.js +305 -0
  2113. package/dist/terrain/height-field.js.map +1 -0
  2114. package/dist/terrain/index.cjs +3099 -0
  2115. package/dist/terrain/index.cjs.map +6 -0
  2116. package/dist/terrain/index.d.ts +46 -0
  2117. package/dist/terrain/index.d.ts.map +1 -0
  2118. package/dist/terrain/index.js +28 -0
  2119. package/dist/terrain/index.js.map +1 -0
  2120. package/dist/terrain/martini.d.ts +13 -0
  2121. package/dist/terrain/martini.d.ts.map +1 -0
  2122. package/dist/terrain/martini.js +65 -0
  2123. package/dist/terrain/martini.js.map +1 -0
  2124. package/dist/terrain/mesh-data.d.ts +21 -0
  2125. package/dist/terrain/mesh-data.d.ts.map +1 -0
  2126. package/dist/terrain/mesh-data.js +79 -0
  2127. package/dist/terrain/mesh-data.js.map +1 -0
  2128. package/dist/terrain/mesh-edges.d.ts +7 -0
  2129. package/dist/terrain/mesh-edges.d.ts.map +1 -0
  2130. package/dist/terrain/mesh-edges.js +21 -0
  2131. package/dist/terrain/mesh-edges.js.map +1 -0
  2132. package/dist/terrain/mesh-error.d.ts +16 -0
  2133. package/dist/terrain/mesh-error.d.ts.map +1 -0
  2134. package/dist/terrain/mesh-error.js +114 -0
  2135. package/dist/terrain/mesh-error.js.map +1 -0
  2136. package/dist/terrain/mesh-skirts.d.ts +29 -0
  2137. package/dist/terrain/mesh-skirts.d.ts.map +1 -0
  2138. package/dist/terrain/mesh-skirts.js +119 -0
  2139. package/dist/terrain/mesh-skirts.js.map +1 -0
  2140. package/dist/terrain/mesh-stitch.d.ts +35 -0
  2141. package/dist/terrain/mesh-stitch.d.ts.map +1 -0
  2142. package/dist/terrain/mesh-stitch.js +267 -0
  2143. package/dist/terrain/mesh-stitch.js.map +1 -0
  2144. package/dist/terrain/mesh.d.ts +6 -0
  2145. package/dist/terrain/mesh.d.ts.map +1 -0
  2146. package/dist/terrain/mesh.js +38 -0
  2147. package/dist/terrain/mesh.js.map +1 -0
  2148. package/dist/terrain/packed.d.ts +33 -0
  2149. package/dist/terrain/packed.d.ts.map +1 -0
  2150. package/dist/terrain/packed.js +136 -0
  2151. package/dist/terrain/packed.js.map +1 -0
  2152. package/dist/terrain/profile-measure.d.ts +26 -0
  2153. package/dist/terrain/profile-measure.d.ts.map +1 -0
  2154. package/dist/terrain/profile-measure.js +111 -0
  2155. package/dist/terrain/profile-measure.js.map +1 -0
  2156. package/dist/terrain/profile.d.ts +22 -0
  2157. package/dist/terrain/profile.d.ts.map +1 -0
  2158. package/dist/terrain/profile.js +76 -0
  2159. package/dist/terrain/profile.js.map +1 -0
  2160. package/dist/terrain/slope-aspect.d.ts +21 -0
  2161. package/dist/terrain/slope-aspect.d.ts.map +1 -0
  2162. package/dist/terrain/slope-aspect.js +52 -0
  2163. package/dist/terrain/slope-aspect.js.map +1 -0
  2164. package/dist/terrain/surface.d.ts +123 -0
  2165. package/dist/terrain/surface.d.ts.map +1 -0
  2166. package/dist/terrain/surface.js +366 -0
  2167. package/dist/terrain/surface.js.map +1 -0
  2168. package/dist/terrain/tiled.d.ts +80 -0
  2169. package/dist/terrain/tiled.d.ts.map +1 -0
  2170. package/dist/terrain/tiled.js +378 -0
  2171. package/dist/terrain/tiled.js.map +1 -0
  2172. package/dist/terrain/types.d.ts +58 -0
  2173. package/dist/terrain/types.d.ts.map +1 -0
  2174. package/dist/terrain/types.js +13 -0
  2175. package/dist/terrain/types.js.map +1 -0
  2176. package/dist/terrain/vendor/delatin.d.ts +38 -0
  2177. package/dist/terrain/vendor/delatin.d.ts.map +1 -0
  2178. package/dist/terrain/vendor/delatin.js +407 -0
  2179. package/dist/terrain/vendor/delatin.js.map +1 -0
  2180. package/dist/terrain/vertex-tiles.d.ts +35 -0
  2181. package/dist/terrain/vertex-tiles.d.ts.map +1 -0
  2182. package/dist/terrain/vertex-tiles.js +120 -0
  2183. package/dist/terrain/vertex-tiles.js.map +1 -0
  2184. package/dist/tile-matrix.d.ts +107 -0
  2185. package/dist/tile-matrix.d.ts.map +1 -0
  2186. package/dist/tile-matrix.js +383 -0
  2187. package/dist/tile-matrix.js.map +1 -0
  2188. package/dist/tiles.d.ts +5 -0
  2189. package/dist/tiles.d.ts.map +1 -0
  2190. package/dist/tiles.js +6 -0
  2191. package/dist/tiles.js.map +1 -0
  2192. package/dist/triaxial/integrate.d.ts +2 -0
  2193. package/dist/triaxial/integrate.d.ts.map +1 -0
  2194. package/dist/triaxial/integrate.js +76 -0
  2195. package/dist/triaxial/integrate.js.map +1 -0
  2196. package/dist/triaxial.d.ts +42 -0
  2197. package/dist/triaxial.d.ts.map +1 -0
  2198. package/dist/triaxial.js +141 -0
  2199. package/dist/triaxial.js.map +1 -0
  2200. package/dist/turf.cjs +1660 -0
  2201. package/dist/turf.cjs.map +6 -0
  2202. package/dist/turf.d.ts +103 -0
  2203. package/dist/turf.d.ts.map +1 -0
  2204. package/dist/turf.js +1026 -0
  2205. package/dist/turf.js.map +1 -0
  2206. package/dist/type-utils.d.ts +2 -0
  2207. package/dist/type-utils.d.ts.map +1 -1
  2208. package/dist/type-utils.js +25 -2
  2209. package/dist/type-utils.js.map +1 -1
  2210. package/dist/vendor/geographiclib-geodesic/runtime.d.ts +9 -0
  2211. package/dist/vendor/geographiclib-geodesic/runtime.d.ts.map +1 -0
  2212. package/dist/vendor/geographiclib-geodesic/runtime.js +2245 -0
  2213. package/dist/vendor/geographiclib-geodesic/runtime.js.map +1 -0
  2214. package/dist/web-mercator.d.ts +2 -0
  2215. package/dist/web-mercator.d.ts.map +1 -0
  2216. package/dist/web-mercator.js +5 -0
  2217. package/dist/web-mercator.js.map +1 -0
  2218. package/dist/wkb/index.d.ts +11 -0
  2219. package/dist/wkb/index.d.ts.map +1 -0
  2220. package/dist/wkb/index.js +9 -0
  2221. package/dist/wkb/index.js.map +1 -0
  2222. package/dist/wkb/types.d.ts +30 -0
  2223. package/dist/wkb/types.d.ts.map +1 -0
  2224. package/dist/wkb/types.js +34 -0
  2225. package/dist/wkb/types.js.map +1 -0
  2226. package/dist/wkb/wkb-builder.d.ts +91 -0
  2227. package/dist/wkb/wkb-builder.d.ts.map +1 -0
  2228. package/dist/wkb/wkb-builder.js +283 -0
  2229. package/dist/wkb/wkb-builder.js.map +1 -0
  2230. package/dist/wkb/wkb-reader.d.ts +74 -0
  2231. package/dist/wkb/wkb-reader.d.ts.map +1 -0
  2232. package/dist/wkb/wkb-reader.js +251 -0
  2233. package/dist/wkb/wkb-reader.js.map +1 -0
  2234. package/dist/wkb/wkb.d.ts +21 -0
  2235. package/dist/wkb/wkb.d.ts.map +1 -0
  2236. package/dist/wkb/wkb.js +204 -0
  2237. package/dist/wkb/wkb.js.map +1 -0
  2238. package/dist/wkb/wkt.d.ts +19 -0
  2239. package/dist/wkb/wkt.d.ts.map +1 -0
  2240. package/dist/wkb/wkt.js +321 -0
  2241. package/dist/wkb/wkt.js.map +1 -0
  2242. package/dist/workers/index.cjs +20879 -0
  2243. package/dist/workers/index.cjs.map +6 -0
  2244. package/dist/workers/index.d.ts +12 -0
  2245. package/dist/workers/index.d.ts.map +1 -0
  2246. package/dist/workers/index.js +41 -0
  2247. package/dist/workers/index.js.map +1 -0
  2248. package/dist/workers/map-worker.d.ts +2 -0
  2249. package/dist/workers/map-worker.d.ts.map +1 -0
  2250. package/dist/workers/map-worker.js +7 -0
  2251. package/dist/workers/map-worker.js.map +1 -0
  2252. package/dist/workers/operations.cjs +20036 -0
  2253. package/dist/workers/operations.cjs.map +6 -0
  2254. package/dist/workers/operations.d.ts +15 -0
  2255. package/dist/workers/operations.d.ts.map +1 -0
  2256. package/dist/workers/operations.js +46 -0
  2257. package/dist/workers/operations.js.map +1 -0
  2258. package/dist/workers/projection-worker.d.ts +2 -0
  2259. package/dist/workers/projection-worker.d.ts.map +1 -0
  2260. package/dist/workers/projection-worker.js +7 -0
  2261. package/dist/workers/projection-worker.js.map +1 -0
  2262. package/package.json +1023 -6
  2263. package/projection/APACHE-2.0-LICENSE.txt +55 -0
  2264. package/projection/PROJ-LICENSE.txt +37 -0
  2265. package/projection/PROJ4-LICENSE.md +29 -0
  2266. package/projection/THIRD-PARTY-NOTICES.md +210 -0
  2267. package/src/constants.ts +5 -3
  2268. package/src/coordinates/angles.ts +160 -0
  2269. package/src/coordinates/grid.ts +141 -0
  2270. package/src/coordinates/mgrs.ts +157 -0
  2271. package/src/coordinates.ts +24 -0
  2272. package/src/crs/crs-descriptor-types.ts +81 -0
  2273. package/src/crs/crs-descriptor.ts +203 -0
  2274. package/src/crs/crs-metadata.ts +63 -0
  2275. package/src/crs/crs.ts +36 -0
  2276. package/src/crs/execution-identity.ts +98 -0
  2277. package/src/crs/index.ts +101 -0
  2278. package/src/crs/proj-string.ts +239 -0
  2279. package/src/crs/projection-domain.ts +100 -0
  2280. package/src/crs/projjson-schema-constants.ts +9 -0
  2281. package/src/crs/projjson-types.ts +665 -0
  2282. package/src/crs/resolver.ts +194 -0
  2283. package/src/crs/spatial-reference.ts +224 -0
  2284. package/src/crs/units-table.ts +51 -0
  2285. package/src/crs/wkt-crs.ts +790 -0
  2286. package/src/discontinuous/AIR-OCEAN-LICENSE.txt +26 -0
  2287. package/src/discontinuous/D3-LICENSE.txt +37 -0
  2288. package/src/discontinuous/PETROFF-LICENSE.txt +55 -0
  2289. package/src/discontinuous/PROJ-LICENSE.txt +34 -0
  2290. package/src/discontinuous/air-ocean-mesh.ts +86 -0
  2291. package/src/discontinuous/albers-usa.ts +181 -0
  2292. package/src/discontinuous/cap-map.ts +406 -0
  2293. package/src/discontinuous/elastic/README.md +20 -0
  2294. package/src/discontinuous/elastic/UNLICENSE.txt +24 -0
  2295. package/src/discontinuous/elastic/data.ts +86 -0
  2296. package/src/discontinuous/elastic/elasticI.ts +5238 -0
  2297. package/src/discontinuous/elastic/elasticII.ts +18167 -0
  2298. package/src/discontinuous/elastic/elasticIII.ts +29571 -0
  2299. package/src/discontinuous/elastic/geometry.ts +172 -0
  2300. package/src/discontinuous/elastic/grid.ts +194 -0
  2301. package/src/discontinuous/elastic/map.ts +317 -0
  2302. package/src/discontinuous/global-polygons.ts +273 -0
  2303. package/src/discontinuous/gray-fuller.ts +38 -0
  2304. package/src/discontinuous/gringorten-kernel.ts +160 -0
  2305. package/src/discontinuous/healpix.ts +61 -0
  2306. package/src/discontinuous/layout.ts +177 -0
  2307. package/src/discontinuous/map-engine.ts +602 -0
  2308. package/src/discontinuous/map-layout.ts +605 -0
  2309. package/src/discontinuous/map-transition.ts +339 -0
  2310. package/src/discontinuous/math.ts +67 -0
  2311. package/src/discontinuous/mercator-map.ts +160 -0
  2312. package/src/discontinuous/myriahedral/graticule.ts +40 -0
  2313. package/src/discontinuous/myriahedral/mesh.ts +138 -0
  2314. package/src/discontinuous/myriahedral/unfold.ts +240 -0
  2315. package/src/discontinuous/myriahedral.ts +311 -0
  2316. package/src/discontinuous/petroff.ts +178 -0
  2317. package/src/discontinuous/polyhedral.ts +138 -0
  2318. package/src/discontinuous/prepare-features.ts +245 -0
  2319. package/src/discontinuous/presets.ts +450 -0
  2320. package/src/discontinuous/projection-catalog.ts +132 -0
  2321. package/src/discontinuous/quincuncial-kernel.ts +173 -0
  2322. package/src/discontinuous/quincuncial-star.ts +328 -0
  2323. package/src/discontinuous/regional-map.ts +229 -0
  2324. package/src/discontinuous/retroazimuthal-map.ts +52 -0
  2325. package/src/discontinuous/rotated-map.ts +86 -0
  2326. package/src/discontinuous/snyder-mesh.ts +88 -0
  2327. package/src/discontinuous/snyder.ts +171 -0
  2328. package/src/discontinuous/spherical-clip/D3-GEO-LICENSE.txt +34 -0
  2329. package/src/discontinuous/spherical-clip/README.md +16 -0
  2330. package/src/discontinuous/spherical-clip/cartesian.js +43 -0
  2331. package/src/discontinuous/spherical-clip/circle.js +35 -0
  2332. package/src/discontinuous/spherical-clip/clip-buffer.js +29 -0
  2333. package/src/discontinuous/spherical-clip/clip-circle.js +197 -0
  2334. package/src/discontinuous/spherical-clip/clip-index.js +140 -0
  2335. package/src/discontinuous/spherical-clip/clip-rejoin.js +111 -0
  2336. package/src/discontinuous/spherical-clip/helpers.js +20 -0
  2337. package/src/discontinuous/spherical-clip/math.js +45 -0
  2338. package/src/discontinuous/spherical-clip/noop.js +6 -0
  2339. package/src/discontinuous/spherical-clip/pointEqual.js +10 -0
  2340. package/src/discontinuous/spherical-clip/polygonContains.js +96 -0
  2341. package/src/discontinuous/world-composite-kernels.ts +30 -0
  2342. package/src/discontinuous/world-kernels/INTEGRATE-LICENSE.txt +21 -0
  2343. package/src/discontinuous/world-kernels/README.md +24 -0
  2344. package/src/discontinuous/world-kernels/airy.js +43 -0
  2345. package/src/discontinuous/world-kernels/aitoff.js +48 -0
  2346. package/src/discontinuous/world-kernels/armadillo.js +51 -0
  2347. package/src/discontinuous/world-kernels/august.js +36 -0
  2348. package/src/discontinuous/world-kernels/baker.js +50 -0
  2349. package/src/discontinuous/world-kernels/bertin.js +41 -0
  2350. package/src/discontinuous/world-kernels/boggs.js +32 -0
  2351. package/src/discontinuous/world-kernels/bonne.js +27 -0
  2352. package/src/discontinuous/world-kernels/bottomley.js +25 -0
  2353. package/src/discontinuous/world-kernels/bromley.js +10 -0
  2354. package/src/discontinuous/world-kernels/chamberlin.js +97 -0
  2355. package/src/discontinuous/world-kernels/collignon.js +17 -0
  2356. package/src/discontinuous/world-kernels/craig.js +33 -0
  2357. package/src/discontinuous/world-kernels/craster.js +18 -0
  2358. package/src/discontinuous/world-kernels/cylindricalEqualArea.js +21 -0
  2359. package/src/discontinuous/world-kernels/cylindricalStereographic.js +21 -0
  2360. package/src/discontinuous/world-kernels/d3-geo-raw.js +26 -0
  2361. package/src/discontinuous/world-kernels/eckert1.js +18 -0
  2362. package/src/discontinuous/world-kernels/eckert2.js +17 -0
  2363. package/src/discontinuous/world-kernels/eckert3.js +17 -0
  2364. package/src/discontinuous/world-kernels/eckert4.js +24 -0
  2365. package/src/discontinuous/world-kernels/eckert5.js +17 -0
  2366. package/src/discontinuous/world-kernels/eckert6.js +22 -0
  2367. package/src/discontinuous/world-kernels/eisenlohr.js +88 -0
  2368. package/src/discontinuous/world-kernels/fahey.js +19 -0
  2369. package/src/discontinuous/world-kernels/foucaut.js +20 -0
  2370. package/src/discontinuous/world-kernels/foucautSinusoidal.js +38 -0
  2371. package/src/discontinuous/world-kernels/ginzburg4.js +17 -0
  2372. package/src/discontinuous/world-kernels/ginzburg5.js +17 -0
  2373. package/src/discontinuous/world-kernels/ginzburg6.js +19 -0
  2374. package/src/discontinuous/world-kernels/ginzburg8.js +34 -0
  2375. package/src/discontinuous/world-kernels/ginzburg9.js +17 -0
  2376. package/src/discontinuous/world-kernels/ginzburgPolyconic.js +64 -0
  2377. package/src/discontinuous/world-kernels/hammer.js +37 -0
  2378. package/src/discontinuous/world-kernels/hammerRetroazimuthal.js +63 -0
  2379. package/src/discontinuous/world-kernels/hill.js +57 -0
  2380. package/src/discontinuous/world-kernels/homolosine.js +24 -0
  2381. package/src/discontinuous/world-kernels/hufnagel.js +68 -0
  2382. package/src/discontinuous/world-kernels/hyperelliptical.js +56 -0
  2383. package/src/discontinuous/world-kernels/integrate.js +99 -0
  2384. package/src/discontinuous/world-kernels/kavrayskiy7.js +15 -0
  2385. package/src/discontinuous/world-kernels/lagrange.js +32 -0
  2386. package/src/discontinuous/world-kernels/larrivee.js +43 -0
  2387. package/src/discontinuous/world-kernels/laskowski.js +50 -0
  2388. package/src/discontinuous/world-kernels/littrow.js +19 -0
  2389. package/src/discontinuous/world-kernels/loximuthal.js +38 -0
  2390. package/src/discontinuous/world-kernels/math.js +98 -0
  2391. package/src/discontinuous/world-kernels/miller.js +15 -0
  2392. package/src/discontinuous/world-kernels/modifiedStereographic.js +112 -0
  2393. package/src/discontinuous/world-kernels/mollweide.js +30 -0
  2394. package/src/discontinuous/world-kernels/mtFlatPolarParabolic.js +23 -0
  2395. package/src/discontinuous/world-kernels/mtFlatPolarQuartic.js +29 -0
  2396. package/src/discontinuous/world-kernels/mtFlatPolarSinusoidal.js +25 -0
  2397. package/src/discontinuous/world-kernels/naturalEarth2.js +46 -0
  2398. package/src/discontinuous/world-kernels/nellHammer.js +20 -0
  2399. package/src/discontinuous/world-kernels/newton.js +77 -0
  2400. package/src/discontinuous/world-kernels/nicolosi.js +60 -0
  2401. package/src/discontinuous/world-kernels/patterson.js +45 -0
  2402. package/src/discontinuous/world-kernels/polyconic.js +36 -0
  2403. package/src/discontinuous/world-kernels/rectangularPolyconic.js +41 -0
  2404. package/src/discontinuous/world-kernels/robinson.js +88 -0
  2405. package/src/discontinuous/world-kernels/satellite.js +44 -0
  2406. package/src/discontinuous/world-kernels/sinuMollweide.js +24 -0
  2407. package/src/discontinuous/world-kernels/sinusoidal.js +15 -0
  2408. package/src/discontinuous/world-kernels/times.js +19 -0
  2409. package/src/discontinuous/world-kernels/twoPointEquidistant.js +41 -0
  2410. package/src/discontinuous/world-kernels/vanDerGrinten.js +48 -0
  2411. package/src/discontinuous/world-kernels/vanDerGrinten2.js +32 -0
  2412. package/src/discontinuous/world-kernels/vanDerGrinten3.js +24 -0
  2413. package/src/discontinuous/world-kernels/vanDerGrinten4.js +70 -0
  2414. package/src/discontinuous/world-kernels/wagner.js +61 -0
  2415. package/src/discontinuous/world-kernels/wagner4.js +13 -0
  2416. package/src/discontinuous/world-kernels/wagner6.js +15 -0
  2417. package/src/discontinuous/world-kernels/wiechel.js +25 -0
  2418. package/src/discontinuous/world-kernels/winkel3.js +45 -0
  2419. package/src/discontinuous/world-kernels.ts +249 -0
  2420. package/src/discontinuous/world-map.ts +257 -0
  2421. package/src/discontinuous.ts +142 -0
  2422. package/src/elastic.ts +7 -0
  2423. package/src/ellipsoid-geodesic.ts +170 -0
  2424. package/src/ellipsoid-helpers/ellipsoid-transform.ts +79 -20
  2425. package/src/ellipsoid-helpers/exact-nearest-surface.ts +118 -0
  2426. package/src/ellipsoid-helpers/intersection-bounds.ts +85 -0
  2427. package/src/ellipsoid-helpers/nearest-surface.ts +157 -0
  2428. package/src/ellipsoid-helpers/rhumb-pole-distance.ts +76 -0
  2429. package/src/ellipsoid-helpers/scale-to-geodetic-surface.ts +31 -90
  2430. package/src/ellipsoid-helpers/surface-polygon.ts +210 -0
  2431. package/src/ellipsoid-helpers/tangent-plane-numerics.ts +124 -0
  2432. package/src/ellipsoid-metrics.ts +225 -0
  2433. package/src/ellipsoid-occluder.ts +135 -0
  2434. package/src/ellipsoid-rhumb.ts +408 -0
  2435. package/src/ellipsoid-tangent-plane.ts +236 -38
  2436. package/src/ellipsoid-transforms.ts +61 -0
  2437. package/src/ellipsoid.ts +281 -117
  2438. package/src/entries/ellipsoid.ts +44 -0
  2439. package/src/expressions.ts +35 -0
  2440. package/src/geoarrow/builder-entry.ts +18 -0
  2441. package/src/geoarrow/builder.ts +860 -0
  2442. package/src/geoarrow/codecs.ts +1268 -0
  2443. package/src/geoarrow/index.ts +111 -0
  2444. package/src/geoarrow/kernels.ts +1290 -0
  2445. package/src/geoarrow/layout.ts +900 -0
  2446. package/src/geoarrow/stream-tessellate.ts +205 -0
  2447. package/src/geoarrow/stream.ts +130 -0
  2448. package/src/geoarrow/tessellate.ts +133 -0
  2449. package/src/geoarrow/tessellation-entry.ts +7 -0
  2450. package/src/geoarrow/types.ts +259 -0
  2451. package/src/geoarrow/views.ts +150 -0
  2452. package/src/geoarrow/wkb-entry.ts +13 -0
  2453. package/src/geoarrow/worker.ts +20 -0
  2454. package/src/geodesic-buffer.ts +120 -0
  2455. package/src/geodesic-exact/area.ts +70 -0
  2456. package/src/geodesic-exact/inverse-engine.ts +166 -0
  2457. package/src/geodesic-exact/polygon.ts +36 -0
  2458. package/src/geodesic-exact/quadrature.ts +60 -0
  2459. package/src/geodesic-exact.ts +290 -0
  2460. package/src/geodesic-intersections.ts +598 -0
  2461. package/src/geodesic-path.ts +128 -0
  2462. package/src/geodesic-polygon.ts +19 -0
  2463. package/src/geographic-atlas/atlas.ts +645 -0
  2464. package/src/geographic-atlas/curves.ts +360 -0
  2465. package/src/geographic-atlas/math.ts +125 -0
  2466. package/src/geographic-atlas/sampling.ts +146 -0
  2467. package/src/geographic-atlas/topology.ts +196 -0
  2468. package/src/geographic-atlas/types.ts +48 -0
  2469. package/src/geographic-atlas.ts +104 -0
  2470. package/src/geographic-cuts.ts +114 -0
  2471. package/src/geographic-seams/cut-options.ts +50 -0
  2472. package/src/geographic-seams/edge.ts +416 -0
  2473. package/src/geographic-seams/latitude.ts +47 -0
  2474. package/src/geographic-seams/polygon.ts +551 -0
  2475. package/src/geographic-seams/subdivide-cut.ts +203 -0
  2476. package/src/geographic-seams/types.ts +67 -0
  2477. package/src/geographic-seams.ts +81 -0
  2478. package/src/geographic-tiles.ts +87 -0
  2479. package/src/globe-horizon-bounds.ts +68 -0
  2480. package/src/globe.ts +31 -0
  2481. package/src/index.ts +392 -7
  2482. package/src/lng-lat-rectangle.ts +5 -3
  2483. package/src/local-reference-frame.ts +316 -0
  2484. package/src/make-obb-from-region.ts +6 -4
  2485. package/src/projection/analysis.ts +284 -0
  2486. package/src/projection/bulk.ts +343 -0
  2487. package/src/projection/datums.ts +13 -0
  2488. package/src/projection/deformation.ts +5 -0
  2489. package/src/projection/experimental/authalic-latitude.ts +49 -0
  2490. package/src/projection/experimental/catalogue-kernel.ts +65 -0
  2491. package/src/projection/experimental/common/adjust_lat.ts +11 -0
  2492. package/src/projection/experimental/common/adjust_lon.ts +14 -0
  2493. package/src/projection/experimental/common/asinhy.ts +14 -0
  2494. package/src/projection/experimental/common/asinz.ts +11 -0
  2495. package/src/projection/experimental/common/authlat.ts +9 -0
  2496. package/src/projection/experimental/common/authset.ts +25 -0
  2497. package/src/projection/experimental/common/clens.ts +20 -0
  2498. package/src/projection/experimental/common/clens_cmplx.ts +43 -0
  2499. package/src/projection/experimental/common/constants.ts +15 -0
  2500. package/src/projection/experimental/common/cosh.ts +10 -0
  2501. package/src/projection/experimental/common/e0fn.ts +8 -0
  2502. package/src/projection/experimental/common/e1fn.ts +8 -0
  2503. package/src/projection/experimental/common/e2fn.ts +8 -0
  2504. package/src/projection/experimental/common/e3fn.ts +8 -0
  2505. package/src/projection/experimental/common/fL.ts +10 -0
  2506. package/src/projection/experimental/common/gN.ts +9 -0
  2507. package/src/projection/experimental/common/gatg.ts +20 -0
  2508. package/src/projection/experimental/common/hypot.ts +13 -0
  2509. package/src/projection/experimental/common/imlfn.ts +23 -0
  2510. package/src/projection/experimental/common/invlatiso.ts +20 -0
  2511. package/src/projection/experimental/common/iqsfnz.ts +45 -0
  2512. package/src/projection/experimental/common/latiso.ts +21 -0
  2513. package/src/projection/experimental/common/log1py.ts +11 -0
  2514. package/src/projection/experimental/common/meridian-distance.ts +45 -0
  2515. package/src/projection/experimental/common/mlfn.ts +8 -0
  2516. package/src/projection/experimental/common/msfnz.ts +9 -0
  2517. package/src/projection/experimental/common/phi2z.ts +22 -0
  2518. package/src/projection/experimental/common/pj_enfn.ts +29 -0
  2519. package/src/projection/experimental/common/pj_inv_mlfn.ts +28 -0
  2520. package/src/projection/experimental/common/pj_mlfn.ts +10 -0
  2521. package/src/projection/experimental/common/qsfnz.ts +17 -0
  2522. package/src/projection/experimental/common/sign.ts +8 -0
  2523. package/src/projection/experimental/common/sinh.ts +10 -0
  2524. package/src/projection/experimental/common/srat.ts +8 -0
  2525. package/src/projection/experimental/common/tsfnz.ts +14 -0
  2526. package/src/projection/experimental/common/vincenty.ts +180 -0
  2527. package/src/projection/experimental/core.ts +77 -0
  2528. package/src/projection/experimental/crs/datum-catalog.ts +65 -0
  2529. package/src/projection/experimental/crs/datum-table.ts +1360 -0
  2530. package/src/projection/experimental/crs/ellipsoid-table.ts +230 -0
  2531. package/src/projection/experimental/crs/normalize.ts +318 -0
  2532. package/src/projection/experimental/crs/primemeridian-table.ts +22 -0
  2533. package/src/projection/experimental/crs/projjson.ts +12 -0
  2534. package/src/projection/experimental/crs/resolve.ts +78 -0
  2535. package/src/projection/experimental/crs/spatial-reference.ts +120 -0
  2536. package/src/projection/experimental/crs/structured.ts +580 -0
  2537. package/src/projection/experimental/crs/types.ts +97 -0
  2538. package/src/projection/experimental/crs/wkt.ts +201 -0
  2539. package/src/projection/experimental/crs-descriptor.ts +256 -0
  2540. package/src/projection/experimental/crs-rendering-scale.ts +115 -0
  2541. package/src/projection/experimental/datum.ts +185 -0
  2542. package/src/projection/experimental/deformation-inverse.ts +125 -0
  2543. package/src/projection/experimental/deformation.ts +30 -0
  2544. package/src/projection/experimental/ellipsoidal-gnomonic.ts +83 -0
  2545. package/src/projection/experimental/engine-options.ts +36 -0
  2546. package/src/projection/experimental/entries/projections/aea.ts +5 -0
  2547. package/src/projection/experimental/entries/projections/aeqd.ts +5 -0
  2548. package/src/projection/experimental/entries/projections/bonne.ts +5 -0
  2549. package/src/projection/experimental/entries/projections/cass.ts +5 -0
  2550. package/src/projection/experimental/entries/projections/cea.ts +5 -0
  2551. package/src/projection/experimental/entries/projections/eck6.ts +5 -0
  2552. package/src/projection/experimental/entries/projections/eqc.ts +5 -0
  2553. package/src/projection/experimental/entries/projections/eqdc.ts +5 -0
  2554. package/src/projection/experimental/entries/projections/eqearth.ts +5 -0
  2555. package/src/projection/experimental/entries/projections/equi.ts +5 -0
  2556. package/src/projection/experimental/entries/projections/etmerc.ts +5 -0
  2557. package/src/projection/experimental/entries/projections/geocent.ts +5 -0
  2558. package/src/projection/experimental/entries/projections/geos.ts +5 -0
  2559. package/src/projection/experimental/entries/projections/gnom.ts +5 -0
  2560. package/src/projection/experimental/entries/projections/gstmerc.ts +5 -0
  2561. package/src/projection/experimental/entries/projections/krovak.ts +5 -0
  2562. package/src/projection/experimental/entries/projections/laea.ts +5 -0
  2563. package/src/projection/experimental/entries/projections/lcc.ts +5 -0
  2564. package/src/projection/experimental/entries/projections/merc.ts +5 -0
  2565. package/src/projection/experimental/entries/projections/mill.ts +5 -0
  2566. package/src/projection/experimental/entries/projections/moll.ts +5 -0
  2567. package/src/projection/experimental/entries/projections/nzmg.ts +5 -0
  2568. package/src/projection/experimental/entries/projections/ob_tran.ts +5 -0
  2569. package/src/projection/experimental/entries/projections/omerc.ts +5 -0
  2570. package/src/projection/experimental/entries/projections/ortho.ts +5 -0
  2571. package/src/projection/experimental/entries/projections/poly.ts +5 -0
  2572. package/src/projection/experimental/entries/projections/qsc.ts +5 -0
  2573. package/src/projection/experimental/entries/projections/robin.ts +5 -0
  2574. package/src/projection/experimental/entries/projections/sinu.ts +5 -0
  2575. package/src/projection/experimental/entries/projections/somerc.ts +5 -0
  2576. package/src/projection/experimental/entries/projections/stere.ts +5 -0
  2577. package/src/projection/experimental/entries/projections/sterea.ts +5 -0
  2578. package/src/projection/experimental/entries/projections/tmerc.ts +5 -0
  2579. package/src/projection/experimental/entries/projections/tpers.ts +5 -0
  2580. package/src/projection/experimental/entries/projections/utm.ts +5 -0
  2581. package/src/projection/experimental/entries/projections/vandg.ts +5 -0
  2582. package/src/projection/experimental/exact-helmert.ts +58 -0
  2583. package/src/projection/experimental/flat-projection.ts +80 -0
  2584. package/src/projection/experimental/grids/geotiff.ts +88 -0
  2585. package/src/projection/experimental/grids/grid.ts +141 -0
  2586. package/src/projection/experimental/grids/gtx.ts +31 -0
  2587. package/src/projection/experimental/grids/ntv2.ts +71 -0
  2588. package/src/projection/experimental/grids/scalar-geotiff.ts +231 -0
  2589. package/src/projection/experimental/grids/types.ts +35 -0
  2590. package/src/projection/experimental/grids/velocity-geotiff.ts +82 -0
  2591. package/src/projection/experimental/grids/velocity.ts +58 -0
  2592. package/src/projection/experimental/grids/vertical-geotiff.ts +28 -0
  2593. package/src/projection/experimental/grids/vertical.ts +99 -0
  2594. package/src/projection/experimental/helmert-flat.ts +76 -0
  2595. package/src/projection/experimental/index.ts +59 -0
  2596. package/src/projection/experimental/inverse-spherical-latitude.ts +19 -0
  2597. package/src/projection/experimental/kernel.ts +142 -0
  2598. package/src/projection/experimental/kernels/aea.ts +149 -0
  2599. package/src/projection/experimental/kernels/aeqd.ts +171 -0
  2600. package/src/projection/experimental/kernels/bonne.ts +141 -0
  2601. package/src/projection/experimental/kernels/cass.ts +140 -0
  2602. package/src/projection/experimental/kernels/cea.ts +71 -0
  2603. package/src/projection/experimental/kernels/eck6.ts +36 -0
  2604. package/src/projection/experimental/kernels/eqdc.ts +137 -0
  2605. package/src/projection/experimental/kernels/eqearth.ts +146 -0
  2606. package/src/projection/experimental/kernels/equi.ts +55 -0
  2607. package/src/projection/experimental/kernels/etmerc.ts +190 -0
  2608. package/src/projection/experimental/kernels/gauss.ts +79 -0
  2609. package/src/projection/experimental/kernels/geos.ts +183 -0
  2610. package/src/projection/experimental/kernels/gnom.ts +123 -0
  2611. package/src/projection/experimental/kernels/gstmerc.ts +74 -0
  2612. package/src/projection/experimental/kernels/krovak.ts +166 -0
  2613. package/src/projection/experimental/kernels/laea.ts +320 -0
  2614. package/src/projection/experimental/kernels/lcc.ts +141 -0
  2615. package/src/projection/experimental/kernels/mill.ts +60 -0
  2616. package/src/projection/experimental/kernels/moll.ts +109 -0
  2617. package/src/projection/experimental/kernels/nzmg.ts +249 -0
  2618. package/src/projection/experimental/kernels/omerc.ts +343 -0
  2619. package/src/projection/experimental/kernels/ortho.ts +52 -0
  2620. package/src/projection/experimental/kernels/poly.ts +217 -0
  2621. package/src/projection/experimental/kernels/qsc.ts +359 -0
  2622. package/src/projection/experimental/kernels/robin.ts +189 -0
  2623. package/src/projection/experimental/kernels/sinu.ts +118 -0
  2624. package/src/projection/experimental/kernels/somerc.ts +102 -0
  2625. package/src/projection/experimental/kernels/stere.ts +249 -0
  2626. package/src/projection/experimental/kernels/sterea.ts +82 -0
  2627. package/src/projection/experimental/kernels/tmerc.ts +227 -0
  2628. package/src/projection/experimental/kernels/tpers.ts +187 -0
  2629. package/src/projection/experimental/kernels/vandg.ts +147 -0
  2630. package/src/projection/experimental/kinematic-helmert-flat.ts +85 -0
  2631. package/src/projection/experimental/kinematic-helmert.ts +132 -0
  2632. package/src/projection/experimental/lazy-projection.ts +190 -0
  2633. package/src/projection/experimental/lazy-projections/aea.ts +10 -0
  2634. package/src/projection/experimental/lazy-projections/aeqd.ts +12 -0
  2635. package/src/projection/experimental/lazy-projections/bonne.ts +10 -0
  2636. package/src/projection/experimental/lazy-projections/cass.ts +10 -0
  2637. package/src/projection/experimental/lazy-projections/cea.ts +12 -0
  2638. package/src/projection/experimental/lazy-projections/eck6.ts +10 -0
  2639. package/src/projection/experimental/lazy-projections/eqc.ts +15 -0
  2640. package/src/projection/experimental/lazy-projections/eqdc.ts +11 -0
  2641. package/src/projection/experimental/lazy-projections/eqearth.ts +10 -0
  2642. package/src/projection/experimental/lazy-projections/equi.ts +10 -0
  2643. package/src/projection/experimental/lazy-projections/etmerc.ts +12 -0
  2644. package/src/projection/experimental/lazy-projections/geocent.ts +10 -0
  2645. package/src/projection/experimental/lazy-projections/geos.ts +10 -0
  2646. package/src/projection/experimental/lazy-projections/gnom.ts +10 -0
  2647. package/src/projection/experimental/lazy-projections/gstmerc.ts +13 -0
  2648. package/src/projection/experimental/lazy-projections/index.ts +41 -0
  2649. package/src/projection/experimental/lazy-projections/krovak.ts +18 -0
  2650. package/src/projection/experimental/lazy-projections/laea.ts +12 -0
  2651. package/src/projection/experimental/lazy-projections/lcc.ts +22 -0
  2652. package/src/projection/experimental/lazy-projections/merc.ts +19 -0
  2653. package/src/projection/experimental/lazy-projections/mill.ts +11 -0
  2654. package/src/projection/experimental/lazy-projections/moll.ts +10 -0
  2655. package/src/projection/experimental/lazy-projections/nzmg.ts +11 -0
  2656. package/src/projection/experimental/lazy-projections/ob_tran.ts +25 -0
  2657. package/src/projection/experimental/lazy-projections/omerc.ts +22 -0
  2658. package/src/projection/experimental/lazy-projections/ortho.ts +10 -0
  2659. package/src/projection/experimental/lazy-projections/poly.ts +10 -0
  2660. package/src/projection/experimental/lazy-projections/qsc.ts +16 -0
  2661. package/src/projection/experimental/lazy-projections/robin.ts +10 -0
  2662. package/src/projection/experimental/lazy-projections/sinu.ts +10 -0
  2663. package/src/projection/experimental/lazy-projections/somerc.ts +12 -0
  2664. package/src/projection/experimental/lazy-projections/stere.ts +18 -0
  2665. package/src/projection/experimental/lazy-projections/sterea.ts +20 -0
  2666. package/src/projection/experimental/lazy-projections/tmerc.ts +22 -0
  2667. package/src/projection/experimental/lazy-projections/tpers.ts +11 -0
  2668. package/src/projection/experimental/lazy-projections/utm.ts +12 -0
  2669. package/src/projection/experimental/lazy-projections/vandg.ts +10 -0
  2670. package/src/projection/experimental/mutable-projection.ts +63 -0
  2671. package/src/projection/experimental/numeric-flat.ts +73 -0
  2672. package/src/projection/experimental/parameters.ts +36 -0
  2673. package/src/projection/experimental/projection-descriptor.ts +79 -0
  2674. package/src/projection/experimental/projection-engine.ts +62 -0
  2675. package/src/projection/experimental/projection-pipeline.ts +1047 -0
  2676. package/src/projection/experimental/projection-scratch.ts +26 -0
  2677. package/src/projection/experimental/projections/aea.ts +41 -0
  2678. package/src/projection/experimental/projections/aeqd.ts +27 -0
  2679. package/src/projection/experimental/projections/bonne.ts +38 -0
  2680. package/src/projection/experimental/projections/cass.ts +39 -0
  2681. package/src/projection/experimental/projections/cea.ts +31 -0
  2682. package/src/projection/experimental/projections/eck6.ts +30 -0
  2683. package/src/projection/experimental/projections/eqdc.ts +40 -0
  2684. package/src/projection/experimental/projections/eqearth.ts +72 -0
  2685. package/src/projection/experimental/projections/equi.ts +31 -0
  2686. package/src/projection/experimental/projections/equidistant-cylindrical.ts +79 -0
  2687. package/src/projection/experimental/projections/geocentric.ts +42 -0
  2688. package/src/projection/experimental/projections/geos.ts +46 -0
  2689. package/src/projection/experimental/projections/gnom.ts +51 -0
  2690. package/src/projection/experimental/projections/gstmerc.ts +43 -0
  2691. package/src/projection/experimental/projections/krovak.ts +61 -0
  2692. package/src/projection/experimental/projections/laea.ts +39 -0
  2693. package/src/projection/experimental/projections/lcc.ts +67 -0
  2694. package/src/projection/experimental/projections/mercator.ts +150 -0
  2695. package/src/projection/experimental/projections/mill.ts +30 -0
  2696. package/src/projection/experimental/projections/moll.ts +30 -0
  2697. package/src/projection/experimental/projections/nzmg.ts +47 -0
  2698. package/src/projection/experimental/projections/ob-tran.ts +279 -0
  2699. package/src/projection/experimental/projections/omerc.ts +86 -0
  2700. package/src/projection/experimental/projections/ortho.ts +34 -0
  2701. package/src/projection/experimental/projections/poly.ts +40 -0
  2702. package/src/projection/experimental/projections/qsc.ts +84 -0
  2703. package/src/projection/experimental/projections/robin.ts +30 -0
  2704. package/src/projection/experimental/projections/sinu.ts +30 -0
  2705. package/src/projection/experimental/projections/somerc.ts +39 -0
  2706. package/src/projection/experimental/projections/stere.ts +59 -0
  2707. package/src/projection/experimental/projections/sterea.ts +61 -0
  2708. package/src/projection/experimental/projections/tpers.ts +59 -0
  2709. package/src/projection/experimental/projections/transverse-mercator.ts +89 -0
  2710. package/src/projection/experimental/projections/utm.ts +50 -0
  2711. package/src/projection/experimental/projections/vandg.ts +30 -0
  2712. package/src/projection/experimental/rendering-profile/angular-rendering-profile.ts +117 -0
  2713. package/src/projection/experimental/rendering-profile/azimuthal-rendering-bounds.ts +251 -0
  2714. package/src/projection/experimental/rendering-profile/geographic-bounds.ts +190 -0
  2715. package/src/projection/experimental/rendering-profile/geographic-rendering-profile.ts +29 -0
  2716. package/src/projection/experimental/rendering-profile/geostationary-rendering-profile.ts +128 -0
  2717. package/src/projection/experimental/rendering-profile/identity-rendering-profile.ts +15 -0
  2718. package/src/projection/experimental/rendering-profile/rectangular-rendering-profile.ts +133 -0
  2719. package/src/projection/experimental/rendering-profile/regional-rendering-bounds.ts +252 -0
  2720. package/src/projection/experimental/rendering-profile/rendering-bounds.ts +163 -0
  2721. package/src/projection/experimental/rendering-profile/rendering-profile.ts +96 -0
  2722. package/src/projection/experimental/rendering-profile/spherical-rendering-domain.ts +175 -0
  2723. package/src/projection/experimental/scalar-output.ts +77 -0
  2724. package/src/projection/experimental/spatial-deformation.ts +115 -0
  2725. package/src/projection/experimental/types.ts +117 -0
  2726. package/src/projection/experimental/typescript-projection.ts +581 -0
  2727. package/src/projection/experimental/vertical-datum.ts +39 -0
  2728. package/src/projection/grids/velocity.ts +5 -0
  2729. package/src/projection/index.ts +6 -0
  2730. package/src/projection/lib/projection.ts +161 -0
  2731. package/src/projection/numerical-derivative.ts +50 -0
  2732. package/src/projection/operations.ts +479 -0
  2733. package/src/projection/pipeline.ts +4 -0
  2734. package/src/projection/temporal.ts +133 -0
  2735. package/src/projection/transform-analysis.ts +169 -0
  2736. package/src/projection/types.ts +83 -0
  2737. package/src/projection/web-mercator.ts +148 -0
  2738. package/src/rhumb-path.ts +128 -0
  2739. package/src/rhumb-polygon.ts +24 -0
  2740. package/src/subdivide-geodesic-polyline.ts +74 -0
  2741. package/src/subdivide-globe-mesh.ts +75 -0
  2742. package/src/subdivide-rhumb-polyline.ts +108 -0
  2743. package/src/terrain/adaptive-mesh-types.ts +25 -0
  2744. package/src/terrain/bounds.ts +189 -0
  2745. package/src/terrain/contour-path-data.ts +106 -0
  2746. package/src/terrain/contour-paths.ts +107 -0
  2747. package/src/terrain/contour-simplify.ts +189 -0
  2748. package/src/terrain/contours.ts +180 -0
  2749. package/src/terrain/delatin.ts +82 -0
  2750. package/src/terrain/derivatives.ts +100 -0
  2751. package/src/terrain/geographic.ts +131 -0
  2752. package/src/terrain/geometry.ts +128 -0
  2753. package/src/terrain/height-field.ts +361 -0
  2754. package/src/terrain/index.ts +82 -0
  2755. package/src/terrain/martini.ts +77 -0
  2756. package/src/terrain/mesh-data.ts +111 -0
  2757. package/src/terrain/mesh-edges.ts +27 -0
  2758. package/src/terrain/mesh-error.ts +158 -0
  2759. package/src/terrain/mesh-skirts.ts +166 -0
  2760. package/src/terrain/mesh-stitch.ts +345 -0
  2761. package/src/terrain/mesh.ts +49 -0
  2762. package/src/terrain/packed.ts +172 -0
  2763. package/src/terrain/profile-measure.ts +146 -0
  2764. package/src/terrain/profile.ts +111 -0
  2765. package/src/terrain/slope-aspect.ts +74 -0
  2766. package/src/terrain/surface.ts +511 -0
  2767. package/src/terrain/tiled.ts +488 -0
  2768. package/src/terrain/types.ts +65 -0
  2769. package/src/terrain/vendor/DELATIN-LICENSE.txt +17 -0
  2770. package/src/terrain/vendor/README.md +20 -0
  2771. package/src/terrain/vendor/delatin.js +491 -0
  2772. package/src/terrain/vertex-tiles.ts +160 -0
  2773. package/src/tile-matrix.ts +589 -0
  2774. package/src/tiles.ts +32 -0
  2775. package/src/triaxial/integrate.ts +82 -0
  2776. package/src/triaxial.ts +195 -0
  2777. package/src/turf.ts +1200 -0
  2778. package/src/type-utils.ts +31 -3
  2779. package/src/vendor/geographiclib-geodesic/README.md +26 -0
  2780. package/src/vendor/geographiclib-geodesic/runtime.js +2339 -0
  2781. package/src/web-mercator.ts +5 -0
  2782. package/src/wkb/index.ts +38 -0
  2783. package/src/wkb/types.ts +54 -0
  2784. package/src/wkb/wkb-builder.ts +395 -0
  2785. package/src/wkb/wkb-reader.ts +401 -0
  2786. package/src/wkb/wkb.ts +255 -0
  2787. package/src/wkb/wkt.ts +375 -0
  2788. package/src/workers/index.ts +59 -0
  2789. package/src/workers/map-worker.ts +7 -0
  2790. package/src/workers/operations.ts +65 -0
  2791. package/src/workers/projection-worker.ts +7 -0
@@ -0,0 +1,2401 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __esm = (fn, res, err) => function __init() {
8
+ if (err) throw err[0];
9
+ try {
10
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
11
+ } catch (e) {
12
+ throw err = [e], e;
13
+ }
14
+ };
15
+ var __export = (target, all) => {
16
+ for (var name in all)
17
+ __defProp(target, name, { get: all[name], enumerable: true });
18
+ };
19
+ var __copyProps = (to, from, except, desc) => {
20
+ if (from && typeof from === "object" || typeof from === "function") {
21
+ for (let key2 of __getOwnPropNames(from))
22
+ if (!__hasOwnProp.call(to, key2) && key2 !== except)
23
+ __defProp(to, key2, { get: () => from[key2], enumerable: !(desc = __getOwnPropDesc(from, key2)) || desc.enumerable });
24
+ }
25
+ return to;
26
+ };
27
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
28
+ // If the importer is in node compatibility mode or this is not an ESM
29
+ // file that has been converted to a CommonJS file using a Babel-
30
+ // compatible transform (i.e. "__esModule" has not been set), then set
31
+ // "default" to the CommonJS "module.exports" for node compatibility.
32
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
33
+ mod
34
+ ));
35
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
36
+
37
+ // dist/crs/spatial-reference.js
38
+ function inferCRSRepresentation(definition) {
39
+ if (typeof definition === "object") {
40
+ return "projjson";
41
+ }
42
+ const text = definition.trim();
43
+ if (/^[A-Z][A-Z0-9_]*\s*[\[(]/i.test(text)) {
44
+ return "wkt";
45
+ }
46
+ if (/(?:^|\s)\+?proj=/i.test(text)) {
47
+ return "proj-string";
48
+ }
49
+ if (/^[A-Z][A-Z0-9._-]*(?::[A-Z0-9._-]+)+$/i.test(text) || /^urn:ogc:def:crs:/i.test(text) || /^https?:\/\//i.test(text) || /^[A-Z][A-Z0-9._-]*$/i.test(text)) {
50
+ return "identifier";
51
+ }
52
+ return "opaque";
53
+ }
54
+ var init_spatial_reference = __esm({
55
+ "dist/crs/spatial-reference.js"() {
56
+ }
57
+ });
58
+
59
+ // dist/crs/proj-string.js
60
+ function parsePROJString(text) {
61
+ const tokens = tokenizePROJString(text);
62
+ if (tokens.length === 0) {
63
+ throw new PROJStringSyntaxError("PROJ string is empty", text, 0);
64
+ }
65
+ const parameters = tokens.map((token) => parseParameter(token.raw, token.offset, text));
66
+ return { type: "proj-string", parameters };
67
+ }
68
+ function parseParameter(rawToken, offset, source) {
69
+ const token = rawToken.startsWith("+") ? rawToken.slice(1) : rawToken;
70
+ if (!token) {
71
+ throw new PROJStringSyntaxError("Expected a parameter after '+'", source, offset);
72
+ }
73
+ const equalsIndex = token.indexOf("=");
74
+ const name = equalsIndex < 0 ? token : token.slice(0, equalsIndex);
75
+ if (!name || /[\s+=]/.test(name)) {
76
+ throw new PROJStringSyntaxError(`Invalid PROJ parameter name '${name}'`, source, offset);
77
+ }
78
+ if (equalsIndex < 0) {
79
+ return { type: "parameter", name };
80
+ }
81
+ const rawValue = token.slice(equalsIndex + 1);
82
+ const value = decodeParameterValue(rawValue, source, offset + equalsIndex + 1);
83
+ return { type: "parameter", name, value, rawValue };
84
+ }
85
+ function tokenizePROJString(source) {
86
+ const tokens = [];
87
+ let offset = 0;
88
+ while (offset < source.length) {
89
+ while (offset < source.length && /\s/.test(source[offset])) {
90
+ offset++;
91
+ }
92
+ if (offset >= source.length) {
93
+ break;
94
+ }
95
+ const start = offset;
96
+ let quote = null;
97
+ let escaped = false;
98
+ while (offset < source.length) {
99
+ const character = source[offset];
100
+ if (escaped) {
101
+ escaped = false;
102
+ offset++;
103
+ continue;
104
+ }
105
+ if (character === "\\" && quote) {
106
+ escaped = true;
107
+ offset++;
108
+ continue;
109
+ }
110
+ if (quote) {
111
+ if (character === quote) {
112
+ quote = null;
113
+ }
114
+ offset++;
115
+ continue;
116
+ }
117
+ if ((character === '"' || character === "'") && source[offset - 1] === "=") {
118
+ quote = character;
119
+ offset++;
120
+ continue;
121
+ }
122
+ if (/\s/.test(character)) {
123
+ break;
124
+ }
125
+ offset++;
126
+ }
127
+ if (quote) {
128
+ throw new PROJStringSyntaxError("Unterminated quoted PROJ value", source, start);
129
+ }
130
+ tokens.push({ raw: source.slice(start, offset), offset: start });
131
+ }
132
+ return tokens;
133
+ }
134
+ function decodeParameterValue(rawValue, source, offset) {
135
+ if (!rawValue) {
136
+ return "";
137
+ }
138
+ const first = rawValue[0];
139
+ if (first !== '"' && first !== "'") {
140
+ if ((rawValue.includes('"') || rawValue.includes("'")) && !DMS_VALUE.test(rawValue)) {
141
+ throw new PROJStringSyntaxError("Quote must begin a PROJ parameter value", source, offset);
142
+ }
143
+ return rawValue;
144
+ }
145
+ if (rawValue[rawValue.length - 1] !== first) {
146
+ throw new PROJStringSyntaxError("Unterminated quoted PROJ value", source, offset);
147
+ }
148
+ let value = "";
149
+ for (let index = 1; index < rawValue.length - 1; index++) {
150
+ const character = rawValue[index];
151
+ if (character === "\\" && index + 1 < rawValue.length - 1) {
152
+ value += rawValue[++index];
153
+ } else {
154
+ value += character;
155
+ }
156
+ }
157
+ return value;
158
+ }
159
+ function getSourceLocation(source, offset) {
160
+ let line = 1;
161
+ let column = 1;
162
+ for (let index = 0; index < offset && index < source.length; index++) {
163
+ if (source[index] === "\n") {
164
+ line++;
165
+ column = 1;
166
+ } else {
167
+ column++;
168
+ }
169
+ }
170
+ return { line, column };
171
+ }
172
+ var PROJStringSyntaxError, DMS_VALUE;
173
+ var init_proj_string = __esm({
174
+ "dist/crs/proj-string.js"() {
175
+ PROJStringSyntaxError = class extends SyntaxError {
176
+ /** Create a PROJ string syntax error at a source location. */
177
+ constructor(message, source, offset) {
178
+ const location = getSourceLocation(source, offset);
179
+ super(`${message} at ${location.line}:${location.column}`);
180
+ this.name = "PROJStringSyntaxError";
181
+ this.offset = offset;
182
+ this.line = location.line;
183
+ this.column = location.column;
184
+ }
185
+ };
186
+ DMS_VALUE = /^[+-]?\d+(?:\.\d*)?d(?:\d+(?:\.\d*)?'(?:\d+(?:\.\d*)?")?)?[NSEW]?$/i;
187
+ }
188
+ });
189
+
190
+ // dist/projection/experimental/crs/types.js
191
+ function unsupportedStage(message) {
192
+ throw new TypeScriptCRSError("missing-transform-stage", message);
193
+ }
194
+ var _a, CRS_ERROR, TypeScriptCRSError;
195
+ var init_types = __esm({
196
+ "dist/projection/experimental/crs/types.js"() {
197
+ CRS_ERROR = /* @__PURE__ */ Symbol.for("@math.gl/projection/TypeScriptCRSError");
198
+ TypeScriptCRSError = class _TypeScriptCRSError extends Error {
199
+ static [(_a = CRS_ERROR, Symbol.hasInstance)](value) {
200
+ if (this !== _TypeScriptCRSError)
201
+ return Function.prototype[Symbol.hasInstance].call(this, value);
202
+ return value instanceof Error && value[CRS_ERROR] === true;
203
+ }
204
+ constructor(reason, message) {
205
+ super(message);
206
+ this.reason = reason;
207
+ this[_a] = true;
208
+ this.name = "TypeScriptCRSError";
209
+ }
210
+ };
211
+ }
212
+ });
213
+
214
+ // dist/projection/experimental/crs/spatial-reference.js
215
+ function resolveCRSInput(input, options) {
216
+ if (typeof input === "string" || "type" in input)
217
+ return { definition: input, lossy: false };
218
+ const metadata = input;
219
+ const spatialReference = "crs" in metadata ? metadata : void 0;
220
+ const reference = "crs" in metadata ? metadata.crs : metadata;
221
+ if (reference.state !== "explicit" && reference.state !== "default")
222
+ throw new TypeScriptCRSError("unknown-syntax", "Cannot transform an " + reference.state + " CRS reference");
223
+ let lossy = false;
224
+ if ((spatialReference == null ? void 0 : spatialReference.coordinateEpoch) !== void 0)
225
+ unsupportedStage("Coordinate epochs require a time-dependent transformation");
226
+ if ((spatialReference == null ? void 0 : spatialReference.vertical) && spatialReference.vertical.state !== "absent") {
227
+ if (options.mode !== "horizontal")
228
+ unsupportedStage("A separately declared vertical CRS requires explicit horizontal extraction");
229
+ lossy = true;
230
+ }
231
+ return { definition: reference.definition, spatialReference, lossy };
232
+ }
233
+ function applySpatialReference(crs, reference) {
234
+ var _a2;
235
+ if (!reference)
236
+ return crs;
237
+ if (reference.coordinateFrame !== "unknown" && reference.coordinateFrame !== crs.kind)
238
+ throw new Error("SpatialReference coordinate frame disagrees with its CRS");
239
+ const order = reference.coordinateOrder;
240
+ const names = crs.kind === "geocentric" ? { x: "e", y: "n", z: "u" } : {
241
+ longitude: "e",
242
+ lon: "e",
243
+ latitude: "n",
244
+ lat: "n",
245
+ easting: "e",
246
+ northing: "n",
247
+ height: "u",
248
+ altitude: "u",
249
+ x: "e",
250
+ y: "n",
251
+ z: "u"
252
+ };
253
+ let storedAxis;
254
+ if (order.length) {
255
+ storedAxis = order.slice(0, 3).map((name) => names[name.toLowerCase()] || "?").join("");
256
+ if (storedAxis.length === 2)
257
+ storedAxis += "u";
258
+ if (storedAxis.length !== 3 || !storedAxis.includes("e") || !storedAxis.includes("n") || !storedAxis.includes("u"))
259
+ unsupportedStage("Unsupported SpatialReference coordinate order");
260
+ if (order.length > 4 || order.length > 3 && !["m", "measure"].includes(order[3]))
261
+ unsupportedStage("Unsupported fourth coordinate component");
262
+ }
263
+ if ((_a2 = reference.units) == null ? void 0 : _a2.length) {
264
+ const units = {
265
+ m: 1,
266
+ meter: 1,
267
+ metre: 1,
268
+ meters: 1,
269
+ metres: 1,
270
+ km: 1e3,
271
+ ft: 0.3048,
272
+ "us-ft": 1200 / 3937,
273
+ degree: Math.PI / 180,
274
+ degrees: Math.PI / 180,
275
+ radian: 1,
276
+ radians: 1,
277
+ grad: Math.PI / 200
278
+ };
279
+ for (let i = 0; i < Math.min(reference.units.length, 3); i++) {
280
+ const vertical = (storedAxis || "enu")[i] === "u";
281
+ const expected = crs.kind === "geocentric" ? crs.toMeter : vertical ? crs.verticalUnit : crs.kind === "geographic" ? crs.angularUnit : crs.toMeter;
282
+ if (Math.abs((units[reference.units[i]] ?? NaN) - expected) > 1e-12 || units[reference.units[i]] === void 0)
283
+ unsupportedStage("SpatialReference units disagree with its CRS");
284
+ }
285
+ }
286
+ return Object.freeze({ ...crs, storedAxis });
287
+ }
288
+ var init_spatial_reference2 = __esm({
289
+ "dist/projection/experimental/crs/spatial-reference.js"() {
290
+ init_types();
291
+ }
292
+ });
293
+
294
+ // dist/projection/experimental/parameters.js
295
+ function numberParameter(parameters, name, fallback) {
296
+ if (!Object.prototype.hasOwnProperty.call(parameters, name))
297
+ return fallback;
298
+ const value = parameters[name];
299
+ if (typeof value !== "string" || !/^[+-]?(?:\d+\.?\d*|\.\d+)(?:e[+-]?\d+)?$/i.test(value)) {
300
+ throw new Error(`Invalid numeric PROJ parameter: +${name}`);
301
+ }
302
+ const number = Number(value);
303
+ if (!Number.isFinite(number))
304
+ throw new Error(`Invalid numeric PROJ parameter: +${name}`);
305
+ return number;
306
+ }
307
+ function wrapLongitude(longitude, over = false) {
308
+ if (over || Math.abs(longitude) <= Math.PI)
309
+ return longitude;
310
+ const circle = 2 * Math.PI;
311
+ return ((longitude + Math.PI) % circle + circle) % circle - Math.PI;
312
+ }
313
+ var DEGREES_TO_RADIANS;
314
+ var init_parameters = __esm({
315
+ "dist/projection/experimental/parameters.js"() {
316
+ DEGREES_TO_RADIANS = Math.PI / 180;
317
+ }
318
+ });
319
+
320
+ // dist/projection/experimental/crs/datum-catalog.js
321
+ function getDatumDefinitions(options) {
322
+ var _a2;
323
+ if (!((_a2 = options.datumCatalogs) == null ? void 0 : _a2.length))
324
+ return builtins;
325
+ const cached = resolved.get(options);
326
+ if ((cached == null ? void 0 : cached.catalogs) === options.datumCatalogs)
327
+ return cached.definitions;
328
+ const definitions = Object.assign(/* @__PURE__ */ Object.create(null), builtins);
329
+ const names = new Map(Object.entries(builtins).map(([name, definition]) => [
330
+ datumNameKey(name),
331
+ { definition, owner: -1 }
332
+ ]));
333
+ options.datumCatalogs.forEach((catalog, owner) => {
334
+ if (!catalog.name || !catalog.datums)
335
+ throw new Error("Invalid datum catalogue plugin");
336
+ for (const [name, definition] of Object.entries(catalog.datums)) {
337
+ const key2 = datumNameKey(name);
338
+ if (!key2 || key2 === "none" || !definition || ["ellipse", "towgs84", "nadgrids"].some((field) => definition[field] !== void 0 && typeof definition[field] !== "string"))
339
+ throw new Error("Invalid datum definition: " + name);
340
+ const previous = names.get(key2);
341
+ if (previous && (previous.owner !== owner || previous.definition.ellipse !== definition.ellipse || previous.definition.towgs84 !== definition.towgs84 || previous.definition.nadgrids !== definition.nadgrids))
342
+ throw new Error("Conflicting datum registration: " + name);
343
+ names.set(key2, { definition, owner });
344
+ definitions[name] = definition;
345
+ }
346
+ });
347
+ resolved.set(options, { catalogs: options.datumCatalogs, definitions });
348
+ return definitions;
349
+ }
350
+ var wgs84, nad83, builtins, resolved, datumNameKey;
351
+ var init_datum_catalog = __esm({
352
+ "dist/projection/experimental/crs/datum-catalog.js"() {
353
+ wgs84 = { towgs84: "0,0,0", ellipse: "WGS84" };
354
+ nad83 = { towgs84: "0,0,0", ellipse: "GRS80" };
355
+ builtins = {
356
+ wgs84,
357
+ WGS84: wgs84,
358
+ nad83,
359
+ North_American_Datum_1983: nad83
360
+ };
361
+ resolved = /* @__PURE__ */ new WeakMap();
362
+ datumNameKey = (name) => name.toLowerCase().replace(/[\s_-]/g, "");
363
+ }
364
+ });
365
+
366
+ // dist/projection/experimental/crs/ellipsoid-table.js
367
+ var ellipsoids, ellipsoid_table_default;
368
+ var init_ellipsoid_table = __esm({
369
+ "dist/projection/experimental/crs/ellipsoid-table.js"() {
370
+ ellipsoids = {
371
+ MERIT: {
372
+ a: 6378137,
373
+ rf: 298.257,
374
+ ellipseName: "MERIT 1983"
375
+ },
376
+ SGS85: {
377
+ a: 6378136,
378
+ rf: 298.257,
379
+ ellipseName: "Soviet Geodetic System 85"
380
+ },
381
+ GRS80: {
382
+ a: 6378137,
383
+ rf: 298.257222101,
384
+ ellipseName: "GRS 1980(IUGG, 1980)"
385
+ },
386
+ IAU76: {
387
+ a: 6378140,
388
+ rf: 298.257,
389
+ ellipseName: "IAU 1976"
390
+ },
391
+ airy: {
392
+ a: 6377563396e-3,
393
+ b: 635625691e-2,
394
+ ellipseName: "Airy 1830"
395
+ },
396
+ APL4: {
397
+ a: 6378137,
398
+ rf: 298.25,
399
+ ellipseName: "Appl. Physics. 1965"
400
+ },
401
+ NWL9D: {
402
+ a: 6378145,
403
+ rf: 298.25,
404
+ ellipseName: "Naval Weapons Lab., 1965"
405
+ },
406
+ mod_airy: {
407
+ a: 6377340189e-3,
408
+ b: 6356034446e-3,
409
+ ellipseName: "Modified Airy"
410
+ },
411
+ andrae: {
412
+ a: 637710443e-2,
413
+ rf: 300,
414
+ ellipseName: "Andrae 1876 (Den., Iclnd.)"
415
+ },
416
+ aust_SA: {
417
+ a: 6378160,
418
+ rf: 298.25,
419
+ ellipseName: "Australian Natl & S. Amer. 1969"
420
+ },
421
+ GRS67: {
422
+ a: 6378160,
423
+ rf: 298.247167427,
424
+ ellipseName: "GRS 67(IUGG 1967)"
425
+ },
426
+ bessel: {
427
+ a: 6377397155e-3,
428
+ rf: 299.1528128,
429
+ ellipseName: "Bessel 1841"
430
+ },
431
+ bess_nam: {
432
+ a: 6377483865e-3,
433
+ rf: 299.1528128,
434
+ ellipseName: "Bessel 1841 (Namibia)"
435
+ },
436
+ clrk66: {
437
+ a: 63782064e-1,
438
+ b: 63565838e-1,
439
+ ellipseName: "Clarke 1866"
440
+ },
441
+ clrk80: {
442
+ a: 6378249145e-3,
443
+ rf: 293.4663,
444
+ ellipseName: "Clarke 1880 mod."
445
+ },
446
+ clrk80ign: {
447
+ a: 63782492e-1,
448
+ b: 6356515,
449
+ rf: 293.4660213,
450
+ ellipseName: "Clarke 1880 (IGN)"
451
+ },
452
+ clrk58: {
453
+ a: 6378293645208759e-9,
454
+ rf: 294.2606763692654,
455
+ ellipseName: "Clarke 1858"
456
+ },
457
+ CPM: {
458
+ a: 63757387e-1,
459
+ rf: 334.29,
460
+ ellipseName: "Comm. des Poids et Mesures 1799"
461
+ },
462
+ delmbr: {
463
+ a: 6376428,
464
+ rf: 311.5,
465
+ ellipseName: "Delambre 1810 (Belgium)"
466
+ },
467
+ engelis: {
468
+ a: 637813605e-2,
469
+ rf: 298.2566,
470
+ ellipseName: "Engelis 1985"
471
+ },
472
+ evrst30: {
473
+ a: 6377276345e-3,
474
+ rf: 300.8017,
475
+ ellipseName: "Everest 1830"
476
+ },
477
+ evrst48: {
478
+ a: 6377304063e-3,
479
+ rf: 300.8017,
480
+ ellipseName: "Everest 1948"
481
+ },
482
+ evrst56: {
483
+ a: 6377301243e-3,
484
+ rf: 300.8017,
485
+ ellipseName: "Everest 1956"
486
+ },
487
+ evrst69: {
488
+ a: 6377295664e-3,
489
+ rf: 300.8017,
490
+ ellipseName: "Everest 1969"
491
+ },
492
+ evrstSS: {
493
+ a: 6377298556e-3,
494
+ rf: 300.8017,
495
+ ellipseName: "Everest (Sabah & Sarawak)"
496
+ },
497
+ fschr60: {
498
+ a: 6378166,
499
+ rf: 298.3,
500
+ ellipseName: "Fischer (Mercury Datum) 1960"
501
+ },
502
+ fschr60m: {
503
+ a: 6378155,
504
+ rf: 298.3,
505
+ ellipseName: "Fischer 1960"
506
+ },
507
+ fschr68: {
508
+ a: 6378150,
509
+ rf: 298.3,
510
+ ellipseName: "Fischer 1968"
511
+ },
512
+ helmert: {
513
+ a: 6378200,
514
+ rf: 298.3,
515
+ ellipseName: "Helmert 1906"
516
+ },
517
+ hough: {
518
+ a: 6378270,
519
+ rf: 297,
520
+ ellipseName: "Hough"
521
+ },
522
+ intl: {
523
+ a: 6378388,
524
+ rf: 297,
525
+ ellipseName: "International 1909 (Hayford)"
526
+ },
527
+ kaula: {
528
+ a: 6378163,
529
+ rf: 298.24,
530
+ ellipseName: "Kaula 1961"
531
+ },
532
+ lerch: {
533
+ a: 6378139,
534
+ rf: 298.257,
535
+ ellipseName: "Lerch 1979"
536
+ },
537
+ mprts: {
538
+ a: 6397300,
539
+ rf: 191,
540
+ ellipseName: "Maupertius 1738"
541
+ },
542
+ new_intl: {
543
+ a: 63781575e-1,
544
+ b: 63567722e-1,
545
+ ellipseName: "New International 1967"
546
+ },
547
+ plessis: {
548
+ a: 6376523,
549
+ b: 6355863,
550
+ ellipseName: "Plessis 1817 (France)"
551
+ },
552
+ krass: {
553
+ a: 6378245,
554
+ rf: 298.3,
555
+ ellipseName: "Krassovsky, 1942"
556
+ },
557
+ SEasia: {
558
+ a: 6378155,
559
+ b: 63567733205e-4,
560
+ ellipseName: "Southeast Asia"
561
+ },
562
+ walbeck: {
563
+ a: 6376896,
564
+ b: 63558348467e-4,
565
+ ellipseName: "Walbeck"
566
+ },
567
+ WGS60: {
568
+ a: 6378165,
569
+ rf: 298.3,
570
+ ellipseName: "WGS 60"
571
+ },
572
+ WGS66: {
573
+ a: 6378145,
574
+ rf: 298.25,
575
+ ellipseName: "WGS 66"
576
+ },
577
+ WGS72: {
578
+ a: 6378135,
579
+ rf: 298.26,
580
+ ellipseName: "WGS 72"
581
+ },
582
+ WGS84: {
583
+ a: 6378137,
584
+ rf: 298.257223563,
585
+ ellipseName: "WGS 84"
586
+ },
587
+ sphere: {
588
+ a: 6370997,
589
+ b: 6370997,
590
+ ellipseName: "Normal Sphere (r=6370997)"
591
+ }
592
+ };
593
+ ellipsoid_table_default = ellipsoids;
594
+ }
595
+ });
596
+
597
+ // dist/projection/experimental/crs/primemeridian-table.js
598
+ var primeMeridian, primemeridian_table_default;
599
+ var init_primemeridian_table = __esm({
600
+ "dist/projection/experimental/crs/primemeridian-table.js"() {
601
+ primeMeridian = {};
602
+ primeMeridian["greenwich"] = 0;
603
+ primeMeridian["lisbon"] = -9.131906111111;
604
+ primeMeridian["paris"] = 2.337229166667;
605
+ primeMeridian["bogota"] = -74.080916666667;
606
+ primeMeridian["madrid"] = -3.687938888889;
607
+ primeMeridian["rome"] = 12.452333333333;
608
+ primeMeridian["bern"] = 7.439583333333;
609
+ primeMeridian["jakarta"] = 106.807719444444;
610
+ primeMeridian["ferro"] = -17.666666666667;
611
+ primeMeridian["brussels"] = 4.367975;
612
+ primeMeridian["stockholm"] = 18.058277777778;
613
+ primeMeridian["athens"] = 23.7163375;
614
+ primeMeridian["oslo"] = 10.722916666667;
615
+ primemeridian_table_default = primeMeridian;
616
+ }
617
+ });
618
+
619
+ // dist/crs/units-table.js
620
+ var linearUnits;
621
+ var init_units_table = __esm({
622
+ "dist/crs/units-table.js"() {
623
+ linearUnits = {
624
+ m: { name: "meters", metersPerUnit: 1 },
625
+ mm: { name: "millimeters", metersPerUnit: 1e-3 },
626
+ cm: { name: "centimeters", metersPerUnit: 0.01 },
627
+ ft: { name: "feet", metersPerUnit: 0.3048 },
628
+ "us-ft": { name: "us-survey-feet", metersPerUnit: 1200 / 3937 },
629
+ fath: { name: "fathoms", metersPerUnit: 1.8288 },
630
+ kmi: { name: "nautical-miles", metersPerUnit: 1852 },
631
+ "us-ch": { name: "us-survey-chains", metersPerUnit: 20.1168402336805 },
632
+ "us-mi": { name: "us-survey-miles", metersPerUnit: 1609.34721869444 },
633
+ km: { name: "kilometers", metersPerUnit: 1e3 },
634
+ "ind-ft": { name: "indian-feet", metersPerUnit: 0.30479841 },
635
+ "ind-yd": { name: "indian-yards", metersPerUnit: 0.91439523 },
636
+ mi: { name: "miles", metersPerUnit: 1609.344 },
637
+ yd: { name: "yards", metersPerUnit: 0.9144 },
638
+ ch: { name: "chains", metersPerUnit: 20.1168 },
639
+ link: { name: "links", metersPerUnit: 0.201168 },
640
+ dm: { name: "decimeters", metersPerUnit: 0.1 },
641
+ in: { name: "inches", metersPerUnit: 0.0254 },
642
+ "ind-ch": { name: "indian-chains", metersPerUnit: 20.11669506 },
643
+ "us-in": { name: "us-survey-inches", metersPerUnit: 0.025400050800101 },
644
+ "us-yd": { name: "us-survey-yards", metersPerUnit: 0.914401828803658 }
645
+ };
646
+ }
647
+ });
648
+
649
+ // dist/crs/crs-metadata.js
650
+ function getCRSSignature(crs) {
651
+ return JSON.stringify([
652
+ crs.coordinateFrame,
653
+ crs.projection,
654
+ Object.keys(crs.parameters).sort().map((key2) => [key2, crs.parameters[key2]]),
655
+ [crs.ellipsoid.semiMajorAxis, crs.ellipsoid.semiMinorAxis],
656
+ crs.axis,
657
+ [crs.xUnit.name, crs.xUnit.metersPerUnit, crs.xUnit.degreesPerUnit],
658
+ [crs.yUnit.name, crs.yUnit.metersPerUnit, crs.yUnit.degreesPerUnit],
659
+ [crs.zUnit.name, crs.zUnit.metersPerUnit, crs.zUnit.degreesPerUnit],
660
+ crs.lossy,
661
+ crs.areaOfUse
662
+ ]);
663
+ }
664
+ var init_crs_metadata = __esm({
665
+ "dist/crs/crs-metadata.js"() {
666
+ init_units_table();
667
+ }
668
+ });
669
+
670
+ // dist/projection/experimental/crs/normalize.js
671
+ function lookup(table, name) {
672
+ const key2 = Object.keys(table).find((key3) => keyOf(key3) === keyOf(name));
673
+ return key2 === void 0 ? void 0 : table[key2];
674
+ }
675
+ function parseAngle(text) {
676
+ if (/^[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i.test(text)) {
677
+ const value = Number(text);
678
+ if (Number.isFinite(value))
679
+ return value;
680
+ }
681
+ if (/^[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?r$/i.test(text)) {
682
+ const value = Number(text.slice(0, -1)) / DEGREES_TO_RADIANS;
683
+ if (Number.isFinite(value))
684
+ return value;
685
+ }
686
+ const dms = /^([+-]?)(\d+(?:\.\d*)?)(?:d(?:(\d+(?:\.\d*)?)'(?:(\d+(?:\.\d*)?)")?)?)?([NSEW])?$/i.exec(text);
687
+ if (dms && (/d/i.test(text) || dms[5])) {
688
+ const minutes = Number(dms[3] || 0), seconds = Number(dms[4] || 0);
689
+ if (minutes < 60 && seconds < 60) {
690
+ const sign = dms[1] === "-" ? -1 : 1;
691
+ const direction = /[SW]/i.test(dms[5] || "") ? -1 : 1;
692
+ const value = sign * direction * (Number(dms[2]) + minutes / 60 + seconds / 3600);
693
+ if (Number.isFinite(value))
694
+ return value;
695
+ }
696
+ }
697
+ throw new Error("Invalid angular parameter: " + text);
698
+ }
699
+ function resolveLocalCRSDefinition(input, options = {}) {
700
+ let definition = input;
701
+ const aliases = options.aliases || {};
702
+ const visited = /* @__PURE__ */ new Set();
703
+ while (typeof definition === "string" && (own(aliases, definition) || own(ALIASES, definition))) {
704
+ if (visited.has(definition))
705
+ throw new Error("Circular CRS alias: " + definition);
706
+ visited.add(definition);
707
+ definition = own(aliases, definition) ? aliases[definition] : ALIASES[definition];
708
+ }
709
+ if (typeof definition === "string") {
710
+ const utm = /^EPSG:(326|327)(\d{2})$/.exec(definition);
711
+ if (utm && Number(utm[2]) >= 1 && Number(utm[2]) <= 60) {
712
+ definition = "+proj=utm +datum=WGS84 +zone=" + Number(utm[2]) + (utm[1] === "327" ? " +south" : "");
713
+ }
714
+ if (definition === "EPSG:5041" || definition === "EPSG:5042") {
715
+ definition = "+proj=stere +datum=WGS84 +lat_0=" + (definition === "EPSG:5041" ? 90 : -90) + " +k_0=0.994 +x_0=2000000 +y_0=2000000";
716
+ }
717
+ }
718
+ return definition;
719
+ }
720
+ function normalizeCRS(input, options = {}) {
721
+ var _a2;
722
+ const datums = getDatumDefinitions(options);
723
+ const resolved2 = resolveCRSInput(input, options);
724
+ const definition = resolveLocalCRSDefinition(resolved2.definition, options);
725
+ let parsed;
726
+ if (inferCRSRepresentation(definition) === "proj-string" && typeof definition === "string") {
727
+ const parameters2 = /* @__PURE__ */ Object.create(null);
728
+ for (const parameter of parsePROJString(definition).parameters) {
729
+ if (own(parameters2, parameter.name))
730
+ throw new Error("Duplicate PROJ parameter: +" + parameter.name);
731
+ parameters2[parameter.name] = parameter.value;
732
+ }
733
+ parsed = { parameters: parameters2 };
734
+ } else {
735
+ const parser = (_a2 = options.parsers) == null ? void 0 : _a2.find((candidate) => candidate.canParse(definition));
736
+ if (!parser) {
737
+ const serialized = ["wkt", "projjson"].includes(inferCRSRepresentation(definition));
738
+ throw new TypeScriptCRSError(serialized ? "missing-parser" : "unknown-syntax", inferCRSRepresentation(definition) === "identifier" ? "Unsupported CRS definition: " + definition + "; resolve it first" : "Unsupported CRS definition; register a WKT or PROJJSON parser for structured definitions");
739
+ }
740
+ parsed = parser.parse(definition, options);
741
+ }
742
+ const parameters = { ...parsed.parameters };
743
+ for (const name2 of [
744
+ "lon_0",
745
+ "lat_0",
746
+ "lat_1",
747
+ "lat_2",
748
+ "lat_ts",
749
+ "lon_wrap",
750
+ "lon_1",
751
+ "lon_2",
752
+ "lonc",
753
+ "alpha",
754
+ "gamma",
755
+ "tilt",
756
+ "azi",
757
+ "o_alpha",
758
+ "o_lon_c",
759
+ "o_lat_c",
760
+ "o_lon_p",
761
+ "o_lat_p",
762
+ "o_lon_1",
763
+ "o_lat_1",
764
+ "o_lon_2",
765
+ "o_lat_2"
766
+ ]) {
767
+ if (parameters[name2] !== void 0)
768
+ parameters[name2] = String(parseAngle(parameters[name2]));
769
+ }
770
+ const suppliedName = parameters["proj"];
771
+ const lowerName = suppliedName == null ? void 0 : suppliedName.toLowerCase();
772
+ const name = lowerName === "geocentric" ? "geocent" : ["longlat", "latlong", "latlon", "lonlat", "identity", "geocent"].includes(lowerName) ? lowerName : suppliedName;
773
+ if (!name)
774
+ throw new Error("CRS requires +proj");
775
+ const kind = ["longlat", "latlong", "latlon", "lonlat"].includes(name) ? "geographic" : name === "geocent" ? "geocentric" : name === "identity" ? "identity" : "projected";
776
+ const datumName = parameters["datum"];
777
+ const datum = datumName && datumName !== "none" ? lookup(datums, datumName) : void 0;
778
+ if (datumName && datumName !== "none" && !datum)
779
+ unsupportedStage("Unknown datum: " + datumName + "; register a datumCatalogs plugin");
780
+ const ellipsoid = getEllipsoid(parameters, datum == null ? void 0 : datum.ellipse);
781
+ const grids = parameters["nadgrids"] ?? (datum == null ? void 0 : datum.nadgrids);
782
+ const gridReferences = grids === void 0 ? void 0 : grids.split(",").map((entry) => {
783
+ const optional = entry.startsWith("@");
784
+ const name2 = optional ? entry.slice(1) : entry;
785
+ if (!name2 || /\s/.test(name2))
786
+ throw new Error("Invalid datum grid name");
787
+ return Object.freeze({ name: name2, optional });
788
+ });
789
+ const rawShift = parameters["towgs84"] ?? (datum == null ? void 0 : datum.towgs84);
790
+ let shift;
791
+ if (rawShift !== void 0) {
792
+ shift = rawShift.split(",").map((value) => numberParameter({ value }, "value", NaN));
793
+ if (![3, 7].includes(shift.length) || shift.some((value) => !Number.isFinite(value)) || shift.length === 7 && shift[6] <= -1e6) {
794
+ throw new Error("+towgs84 requires three or seven finite values and positive scale");
795
+ }
796
+ }
797
+ if (datumName === "none")
798
+ shift = void 0;
799
+ if (gridReferences && datumName !== "none")
800
+ shift = [0, 0, 0];
801
+ const datumEllipsoid = grids === "@null" || grids === "null" ? getEllipsoid({ ellps: "WGS84" }) : ellipsoid;
802
+ const axis = parameters["axis"] || "enu";
803
+ if (axis.length !== 3 || !/[ew]/.test(axis) || !/[ns]/.test(axis) || !/[ud]/.test(axis))
804
+ throw new Error("Invalid axis: " + axis);
805
+ const angularUnit = parsed.angularUnit ?? DEGREES_TO_RADIANS;
806
+ if (kind === "geographic" && (parameters["units"] && parameters["units"] !== "degrees" || own(parameters, "to_meter")))
807
+ throw new Error("Geographic coordinates must use angular units");
808
+ if (kind !== "geographic" && parameters["units"] === "degrees")
809
+ throw new Error("Linear coordinates require linear units");
810
+ const toMeter = unitFactor(parameters, "units", "to_meter");
811
+ const verticalUnit = parsed.verticalUnit ?? unitFactor(parameters, "vunits", "vto_meter");
812
+ if (!(verticalUnit > 0) || !Number.isFinite(verticalUnit))
813
+ throw new Error("Invalid vertical unit");
814
+ if (!(angularUnit > 0) || !Number.isFinite(angularUnit))
815
+ throw new Error("Invalid angular unit");
816
+ const pm = parameters["pm"];
817
+ const primeMeridian2 = pm === void 0 ? 0 : (lookup(primemeridian_table_default, pm) ?? parseAngle(pm)) * DEGREES_TO_RADIANS;
818
+ return applySpatialReference(Object.freeze({
819
+ kind,
820
+ projection: name,
821
+ parameters: Object.freeze(parameters),
822
+ ellipsoid,
823
+ datum: Object.freeze({
824
+ ellipsoid: datumEllipsoid,
825
+ towgs84: shift && Object.freeze(shift),
826
+ grids: datumName === "none" || grids === "@null" || grids === "null" ? void 0 : gridReferences && Object.freeze(gridReferences)
827
+ }),
828
+ areaOfUse: parsed.areaOfUse,
829
+ angularUnit,
830
+ toMeter,
831
+ verticalUnit,
832
+ primeMeridian: primeMeridian2,
833
+ axis,
834
+ longitudeWrap: parameters["lon_wrap"] === void 0 ? void 0 : Number(parameters["lon_wrap"]) * DEGREES_TO_RADIANS,
835
+ lossy: Boolean(parsed.lossy || resolved2.lossy)
836
+ }), resolved2.spatialReference);
837
+ }
838
+ function unitFactor(parameters, unitKey, factorKey) {
839
+ const unit = parameters[unitKey];
840
+ const table = linearUnits;
841
+ if (unitKey === "vunits" && unit === "degrees")
842
+ throw new Error("Height requires linear units");
843
+ if (unit && !["m", "degrees"].includes(unit) && !own(table, unit))
844
+ throw new Error("Unsupported units: " + unit);
845
+ const factor = numberParameter(parameters, factorKey, unit && table[unit] ? table[unit].metersPerUnit : 1);
846
+ if (!(factor > 0))
847
+ throw new Error("+" + factorKey + " must be positive");
848
+ return factor;
849
+ }
850
+ function getEllipsoid(parameters, datumEllipsoid) {
851
+ const name = datumEllipsoid || parameters["ellps"] || "WGS84";
852
+ const definition = lookup(ellipsoid_table_default, name);
853
+ if (!definition)
854
+ throw new Error("Unsupported ellipsoid: " + name);
855
+ const a = numberParameter(parameters, "a", definition.a);
856
+ const f = numberParameter(parameters, "f", NaN);
857
+ const rf = numberParameter(parameters, "rf", Number.isNaN(f) ? definition.rf || 0 : f === 0 ? 0 : 1 / f);
858
+ const b = numberParameter(parameters, "b", rf ? a * (1 - 1 / rf) : own(parameters, "f") || own(parameters, "rf") || own(parameters, "a") ? a : definition.b || a);
859
+ const radius = numberParameter(parameters, "R", 0);
860
+ if (a <= 0 || b <= 0 || b > a || rf < 0 || rf > 0 && rf <= 1 || own(parameters, "R") && radius <= 0 || !Number.isNaN(f) && (f < 0 || f >= 1))
861
+ throw new Error("Invalid ellipsoid dimensions");
862
+ return Object.freeze({
863
+ semiMajorAxis: radius || a,
864
+ semiMinorAxis: radius || b,
865
+ eccentricitySquared: radius ? 0 : 1 - (b / a) ** 2
866
+ });
867
+ }
868
+ var ALIASES, CORE_PARAMETERS, CORE_FLAGS, own, keyOf;
869
+ var init_normalize = __esm({
870
+ "dist/projection/experimental/crs/normalize.js"() {
871
+ init_spatial_reference();
872
+ init_proj_string();
873
+ init_spatial_reference2();
874
+ init_parameters();
875
+ init_datum_catalog();
876
+ init_ellipsoid_table();
877
+ init_primemeridian_table();
878
+ init_crs_metadata();
879
+ init_types();
880
+ ALIASES = {
881
+ WGS84: "+proj=longlat +datum=WGS84",
882
+ "EPSG:4326": "+proj=longlat +datum=WGS84",
883
+ "EPSG:4269": "+proj=longlat +datum=NAD83",
884
+ "EPSG:4978": "+proj=geocent +datum=WGS84",
885
+ "EPSG:4979": "+proj=longlat +datum=WGS84",
886
+ "EPSG:3857": "+proj=merc +a=6378137 +b=6378137 +nadgrids=@null +units=m",
887
+ "EPSG:3785": "EPSG:3857",
888
+ GOOGLE: "EPSG:3857",
889
+ "EPSG:900913": "EPSG:3857",
890
+ "EPSG:102113": "EPSG:3857"
891
+ };
892
+ CORE_PARAMETERS = [
893
+ "proj",
894
+ "datum",
895
+ "ellps",
896
+ "a",
897
+ "b",
898
+ "rf",
899
+ "f",
900
+ "R",
901
+ "units",
902
+ "to_meter",
903
+ "vunits",
904
+ "vto_meter",
905
+ "no_defs",
906
+ "type",
907
+ "title",
908
+ "towgs84",
909
+ "nadgrids",
910
+ "geoidgrids",
911
+ "axis",
912
+ "pm",
913
+ "over",
914
+ "lon_wrap"
915
+ ];
916
+ CORE_FLAGS = ["no_defs", "over"];
917
+ own = (object, key2) => Object.prototype.hasOwnProperty.call(object, key2);
918
+ keyOf = (value) => value.toLowerCase().replace(/[\s_-]/g, "");
919
+ }
920
+ });
921
+
922
+ // dist/projection/experimental/crs/resolve.js
923
+ var resolve_exports = {};
924
+ __export(resolve_exports, {
925
+ prepareCRSInput: () => prepareCRSInput,
926
+ prepareEngineOptions: () => prepareEngineOptions
927
+ });
928
+ async function prepareEngineOptions(options) {
929
+ const captured = {
930
+ ...options,
931
+ from: capture(options.from ?? "WGS84"),
932
+ to: capture(options.to ?? "WGS84")
933
+ };
934
+ const [from, to] = await Promise.all([
935
+ prepareCRSInput(captured.from, captured),
936
+ prepareCRSInput(captured.to, captured)
937
+ ]);
938
+ return { ...captured, from, to };
939
+ }
940
+ async function prepareCRSInput(captured, options) {
941
+ var _a2;
942
+ const source = resolveCRSInput(captured, options);
943
+ const local = resolveLocalCRSDefinition(source.definition, options);
944
+ const reference = typeof captured === "string" || "type" in captured ? void 0 : "crs" in captured ? captured.crs : captured;
945
+ const representation = local === source.definition && reference ? reference.representation : inferCRSRepresentation(local);
946
+ if (representation !== "identifier" || ((_a2 = options.parsers) == null ? void 0 : _a2.some((p) => p.canParse(local)))) {
947
+ return captured;
948
+ }
949
+ const result = await options.resolver.resolve({
950
+ state: "explicit",
951
+ provenance: (reference == null ? void 0 : reference.provenance) ?? "unknown",
952
+ definition: local,
953
+ representation
954
+ });
955
+ const definition = resolveCRSInput(result.input, options).definition;
956
+ if (!reference)
957
+ return definition;
958
+ const metadata = captured;
959
+ const resolved2 = {
960
+ ...reference,
961
+ definition,
962
+ representation: inferCRSRepresentation(definition),
963
+ alternatives: [
964
+ { definition: reference.definition, representation: reference.representation },
965
+ ...reference.alternatives ?? []
966
+ ]
967
+ };
968
+ return "crs" in metadata ? { ...metadata, crs: resolved2 } : resolved2;
969
+ }
970
+ function capture(input) {
971
+ return typeof input === "string" ? input : JSON.parse(JSON.stringify(input));
972
+ }
973
+ var init_resolve = __esm({
974
+ "dist/projection/experimental/crs/resolve.js"() {
975
+ init_spatial_reference();
976
+ init_normalize();
977
+ init_spatial_reference2();
978
+ }
979
+ });
980
+
981
+ // dist/projection/experimental/lazy-projections/index.js
982
+ var index_exports = {};
983
+ __export(index_exports, {
984
+ LazyProjectionEngine: () => LazyProjectionEngine,
985
+ lazyAlbersEqualArea: () => lazyAlbersEqualArea,
986
+ lazyAzimuthalEquidistant: () => lazyAzimuthalEquidistant,
987
+ lazyBonne: () => lazyBonne,
988
+ lazyCassiniSoldner: () => lazyCassiniSoldner,
989
+ lazyCylindricalEqualArea: () => lazyCylindricalEqualArea,
990
+ lazyEckertVI: () => lazyEckertVI,
991
+ lazyEqualEarth: () => lazyEqualEarth,
992
+ lazyEquidistantConic: () => lazyEquidistantConic,
993
+ lazyEquidistantCylindrical: () => lazyEquidistantCylindrical,
994
+ lazyEquirectangular: () => lazyEquirectangular,
995
+ lazyExtendedTransverseMercator: () => lazyExtendedTransverseMercator,
996
+ lazyGaussSchreiberTransverseMercator: () => lazyGaussSchreiberTransverseMercator,
997
+ lazyGeocentric: () => lazyGeocentric,
998
+ lazyGeostationary: () => lazyGeostationary,
999
+ lazyGnomonic: () => lazyGnomonic,
1000
+ lazyKrovak: () => lazyKrovak,
1001
+ lazyLambertAzimuthalEqualArea: () => lazyLambertAzimuthalEqualArea,
1002
+ lazyLambertConformalConic: () => lazyLambertConformalConic,
1003
+ lazyMercator: () => lazyMercator,
1004
+ lazyMillerCylindrical: () => lazyMillerCylindrical,
1005
+ lazyMollweide: () => lazyMollweide,
1006
+ lazyNewZealandMapGrid: () => lazyNewZealandMapGrid,
1007
+ lazyObliqueMercator: () => lazyObliqueMercator,
1008
+ lazyObliqueStereographic: () => lazyObliqueStereographic,
1009
+ lazyObliqueTransformation: () => lazyObliqueTransformation,
1010
+ lazyOrthographic: () => lazyOrthographic,
1011
+ lazyPolyconic: () => lazyPolyconic,
1012
+ lazyProjectionEngine: () => lazyProjectionEngine,
1013
+ lazyQuadrilateralizedSphericalCube: () => lazyQuadrilateralizedSphericalCube,
1014
+ lazyRobinson: () => lazyRobinson,
1015
+ lazySinusoidal: () => lazySinusoidal,
1016
+ lazyStereographic: () => lazyStereographic,
1017
+ lazySwissObliqueMercator: () => lazySwissObliqueMercator,
1018
+ lazyTiltedPerspective: () => lazyTiltedPerspective,
1019
+ lazyTransverseMercator: () => lazyTransverseMercator,
1020
+ lazyUniversalTransverseMercator: () => lazyUniversalTransverseMercator,
1021
+ lazyVanDerGrinten: () => lazyVanDerGrinten
1022
+ });
1023
+ module.exports = __toCommonJS(index_exports);
1024
+
1025
+ // dist/projection/experimental/projection-descriptor.js
1026
+ var CACHE_KEY = /* @__PURE__ */ Symbol.for("@math.gl/projection/projection-implementations");
1027
+ function cache() {
1028
+ const scope = globalThis;
1029
+ scope[CACHE_KEY] || (scope[CACHE_KEY] = /* @__PURE__ */ new WeakMap());
1030
+ return scope[CACHE_KEY];
1031
+ }
1032
+ function getLoadedProjection(projection) {
1033
+ var _a2;
1034
+ return "create" in projection ? projection : (_a2 = cache().get(projection)) == null ? void 0 : _a2.implementation;
1035
+ }
1036
+ function preloadProjection(projection) {
1037
+ if ("create" in projection)
1038
+ return Promise.resolve(projection);
1039
+ let state = cache().get(projection);
1040
+ if (!state) {
1041
+ state = { load: () => projection.preload() };
1042
+ cache().set(projection, state);
1043
+ }
1044
+ if (state.implementation)
1045
+ return Promise.resolve(state.implementation);
1046
+ const entry = state;
1047
+ entry.pending || (entry.pending = Promise.resolve().then(entry.load).then((plugin) => {
1048
+ const key2 = (value) => value.toLowerCase().replace(/[\s_-]/g, "");
1049
+ const supported = new Set([plugin.name, ...plugin.aliases || []].map(key2));
1050
+ if (typeof plugin.create !== "function" || ![projection.name, ...projection.aliases || []].every((name) => supported.has(key2(name))))
1051
+ throw new Error("Loaded projection does not match descriptor: " + projection.name);
1052
+ entry.implementation = plugin;
1053
+ return plugin;
1054
+ }).catch((error) => {
1055
+ entry.pending = void 0;
1056
+ throw error;
1057
+ }));
1058
+ return entry.pending;
1059
+ }
1060
+ function createProjectionDescriptor(metadata, load) {
1061
+ const descriptor = Object.freeze({
1062
+ name: metadata.name,
1063
+ aliases: metadata.aliases && Object.freeze([...metadata.aliases]),
1064
+ preload: () => preloadProjection(descriptor)
1065
+ });
1066
+ cache().set(descriptor, { load });
1067
+ return descriptor;
1068
+ }
1069
+
1070
+ // dist/projection/experimental/lazy-projections/merc.js
1071
+ var lazyMercator = /* @__PURE__ */ createProjectionDescriptor({
1072
+ name: "merc",
1073
+ aliases: [
1074
+ "Mercator",
1075
+ "Popular Visualisation Pseudo Mercator",
1076
+ "Mercator_1SP",
1077
+ "Mercator_Auxiliary_Sphere",
1078
+ "Mercator_Variant_A"
1079
+ ]
1080
+ }, async () => (await import("@math.gl/geospatial/projection/projections/merc")).mercator);
1081
+
1082
+ // dist/projection/experimental/lazy-projections/eqc.js
1083
+ var lazyEquidistantCylindrical = /* @__PURE__ */ createProjectionDescriptor({
1084
+ name: "eqc",
1085
+ aliases: ["Equirectangular", "Equidistant_Cylindrical", "Equidistant_Cylindrical_Spherical"]
1086
+ }, async () => (await import("@math.gl/geospatial/projection/projections/eqc")).equidistantCylindrical);
1087
+
1088
+ // dist/projection/experimental/lazy-projections/lcc.js
1089
+ var lazyLambertConformalConic = /* @__PURE__ */ createProjectionDescriptor({
1090
+ name: "lcc",
1091
+ aliases: [
1092
+ "Lambert Tangential Conformal Conic Projection",
1093
+ "Lambert_Conformal_Conic",
1094
+ "Lambert_Conformal_Conic_1SP",
1095
+ "Lambert_Conformal_Conic_2SP",
1096
+ "Lambert Conic Conformal (1SP)",
1097
+ "Lambert Conic Conformal (2SP)"
1098
+ ]
1099
+ }, async () => (await import("@math.gl/geospatial/projection/projections/lcc")).lambertConformalConic);
1100
+
1101
+ // dist/projection/experimental/lazy-projections/aea.js
1102
+ var lazyAlbersEqualArea = /* @__PURE__ */ createProjectionDescriptor({ name: "aea", aliases: ["Albers_Conic_Equal_Area", "Albers_Equal_Area", "Albers"] }, async () => (await import("@math.gl/geospatial/projection/projections/aea")).albersEqualArea);
1103
+
1104
+ // dist/projection/experimental/lazy-projections/eqdc.js
1105
+ var lazyEquidistantConic = /* @__PURE__ */ createProjectionDescriptor({ name: "eqdc", aliases: ["Equidistant_Conic"] }, async () => (await import("@math.gl/geospatial/projection/projections/eqdc")).equidistantConic);
1106
+
1107
+ // dist/projection/experimental/lazy-projections/laea.js
1108
+ var lazyLambertAzimuthalEqualArea = /* @__PURE__ */ createProjectionDescriptor({ name: "laea", aliases: ["Lambert Azimuthal Equal Area", "Lambert_Azimuthal_Equal_Area"] }, async () => (await import("@math.gl/geospatial/projection/projections/laea")).lambertAzimuthalEqualArea);
1109
+
1110
+ // dist/projection/experimental/lazy-projections/stere.js
1111
+ var lazyStereographic = /* @__PURE__ */ createProjectionDescriptor({
1112
+ name: "stere",
1113
+ aliases: [
1114
+ "Stereographic_South_Pole",
1115
+ "Polar_Stereographic_variant_A",
1116
+ "Polar_Stereographic_variant_B",
1117
+ "Polar_Stereographic"
1118
+ ]
1119
+ }, async () => (await import("@math.gl/geospatial/projection/projections/stere")).stereographic);
1120
+
1121
+ // dist/projection/experimental/lazy-projections/sterea.js
1122
+ var lazyObliqueStereographic = /* @__PURE__ */ createProjectionDescriptor({
1123
+ name: "sterea",
1124
+ aliases: [
1125
+ "Stereographic_North_Pole",
1126
+ "Oblique_Stereographic",
1127
+ "Oblique Stereographic Alternative",
1128
+ "Double_Stereographic"
1129
+ ]
1130
+ }, async () => (await import("@math.gl/geospatial/projection/projections/sterea")).obliqueStereographic);
1131
+
1132
+ // dist/projection/experimental/lazy-projections/aeqd.js
1133
+ var lazyAzimuthalEquidistant = /* @__PURE__ */ createProjectionDescriptor({ name: "aeqd", aliases: ["Azimuthal_Equidistant"] }, async () => (await import("@math.gl/geospatial/projection/projections/aeqd")).azimuthalEquidistant);
1134
+
1135
+ // dist/projection/experimental/lazy-projections/tmerc.js
1136
+ var lazyTransverseMercator = /* @__PURE__ */ createProjectionDescriptor({
1137
+ name: "tmerc",
1138
+ aliases: [
1139
+ "Fast_Transverse_Mercator",
1140
+ "Fast Transverse Mercator",
1141
+ "Transverse_Mercator",
1142
+ "Transverse Mercator",
1143
+ "Gauss Kruger",
1144
+ "Gauss_Kruger"
1145
+ ]
1146
+ }, async () => (await import("@math.gl/geospatial/projection/projections/tmerc")).transverseMercator);
1147
+
1148
+ // dist/projection/experimental/lazy-projections/etmerc.js
1149
+ var lazyExtendedTransverseMercator = /* @__PURE__ */ createProjectionDescriptor({ name: "etmerc", aliases: ["Extended_Transverse_Mercator", "Extended Transverse Mercator"] }, async () => (await import("@math.gl/geospatial/projection/projections/etmerc")).extendedTransverseMercator);
1150
+
1151
+ // dist/projection/experimental/lazy-projections/utm.js
1152
+ var lazyUniversalTransverseMercator = /* @__PURE__ */ createProjectionDescriptor({ name: "utm", aliases: ["Universal Transverse Mercator System"] }, async () => (await import("@math.gl/geospatial/projection/projections/utm")).universalTransverseMercator);
1153
+
1154
+ // dist/projection/experimental/lazy-projections/geocent.js
1155
+ var lazyGeocentric = /* @__PURE__ */ createProjectionDescriptor({ name: "geocent", aliases: ["Geocentric", "geocentric", "Geocent"] }, async () => (await import("@math.gl/geospatial/projection/projections/geocent")).geocentric);
1156
+
1157
+ // dist/projection/experimental/lazy-projections/bonne.js
1158
+ var lazyBonne = /* @__PURE__ */ createProjectionDescriptor({ name: "bonne", aliases: ["Bonne (Werner lat_1=90)"] }, async () => (await import("@math.gl/geospatial/projection/projections/bonne")).bonne);
1159
+
1160
+ // dist/projection/experimental/lazy-projections/cass.js
1161
+ var lazyCassiniSoldner = /* @__PURE__ */ createProjectionDescriptor({ name: "cass", aliases: ["Cassini", "Cassini_Soldner"] }, async () => (await import("@math.gl/geospatial/projection/projections/cass")).cassiniSoldner);
1162
+
1163
+ // dist/projection/experimental/lazy-projections/cea.js
1164
+ var lazyCylindricalEqualArea = /* @__PURE__ */ createProjectionDescriptor({ name: "cea", aliases: [] }, async () => (await import("@math.gl/geospatial/projection/projections/cea")).cylindricalEqualArea);
1165
+
1166
+ // dist/projection/experimental/lazy-projections/eck6.js
1167
+ var lazyEckertVI = /* @__PURE__ */ createProjectionDescriptor({ name: "eck6", aliases: ["Eckert_VI"] }, async () => (await import("@math.gl/geospatial/projection/projections/eck6")).eckertVI);
1168
+
1169
+ // dist/projection/experimental/lazy-projections/eqearth.js
1170
+ var lazyEqualEarth = /* @__PURE__ */ createProjectionDescriptor({ name: "eqearth", aliases: ["Equal Earth", "Equal_Earth"] }, async () => (await import("@math.gl/geospatial/projection/projections/eqearth")).equalEarth);
1171
+
1172
+ // dist/projection/experimental/lazy-projections/equi.js
1173
+ var lazyEquirectangular = /* @__PURE__ */ createProjectionDescriptor({ name: "equi", aliases: [] }, async () => (await import("@math.gl/geospatial/projection/projections/equi")).equirectangular);
1174
+
1175
+ // dist/projection/experimental/lazy-projections/geos.js
1176
+ var lazyGeostationary = /* @__PURE__ */ createProjectionDescriptor({ name: "geos", aliases: ["Geostationary Satellite View", "Geostationary_Satellite"] }, async () => (await import("@math.gl/geospatial/projection/projections/geos")).geostationary);
1177
+
1178
+ // dist/projection/experimental/lazy-projections/gnom.js
1179
+ var lazyGnomonic = /* @__PURE__ */ createProjectionDescriptor({ name: "gnom", aliases: [] }, async () => (await import("@math.gl/geospatial/projection/projections/gnom")).gnomonic);
1180
+
1181
+ // dist/projection/experimental/lazy-projections/gstmerc.js
1182
+ var lazyGaussSchreiberTransverseMercator = /* @__PURE__ */ createProjectionDescriptor({ name: "gstmerc", aliases: ["gstmerg"] }, async () => (await import("@math.gl/geospatial/projection/projections/gstmerc")).gaussSchreiberTransverseMercator);
1183
+
1184
+ // dist/projection/experimental/lazy-projections/krovak.js
1185
+ var lazyKrovak = /* @__PURE__ */ createProjectionDescriptor({
1186
+ name: "krovak",
1187
+ aliases: [
1188
+ "Krovak",
1189
+ "Krovak Modified",
1190
+ "Krovak (North Orientated)",
1191
+ "Krovak Modified (North Orientated)"
1192
+ ]
1193
+ }, async () => (await import("@math.gl/geospatial/projection/projections/krovak")).krovak);
1194
+
1195
+ // dist/projection/experimental/lazy-projections/mill.js
1196
+ var lazyMillerCylindrical = /* @__PURE__ */ createProjectionDescriptor({ name: "mill", aliases: ["Miller_Cylindrical"] }, async () => (await import("@math.gl/geospatial/projection/projections/mill")).millerCylindrical);
1197
+
1198
+ // dist/projection/experimental/lazy-projections/moll.js
1199
+ var lazyMollweide = /* @__PURE__ */ createProjectionDescriptor({ name: "moll", aliases: ["Mollweide"] }, async () => (await import("@math.gl/geospatial/projection/projections/moll")).mollweide);
1200
+
1201
+ // dist/projection/experimental/lazy-projections/nzmg.js
1202
+ var lazyNewZealandMapGrid = /* @__PURE__ */ createProjectionDescriptor({ name: "nzmg", aliases: ["New_Zealand_Map_Grid"] }, async () => (await import("@math.gl/geospatial/projection/projections/nzmg")).newZealandMapGrid);
1203
+
1204
+ // dist/projection/experimental/lazy-projections/omerc.js
1205
+ var lazyObliqueMercator = /* @__PURE__ */ createProjectionDescriptor({
1206
+ name: "omerc",
1207
+ aliases: [
1208
+ "Hotine_Oblique_Mercator",
1209
+ "Hotine Oblique Mercator",
1210
+ "Hotine_Oblique_Mercator_variant_A",
1211
+ "Hotine_Oblique_Mercator_Variant_B",
1212
+ "Hotine_Oblique_Mercator_Azimuth_Natural_Origin",
1213
+ "Hotine_Oblique_Mercator_Two_Point_Natural_Origin",
1214
+ "Hotine_Oblique_Mercator_Azimuth_Center",
1215
+ "Oblique_Mercator"
1216
+ ]
1217
+ }, async () => (await import("@math.gl/geospatial/projection/projections/omerc")).obliqueMercator);
1218
+
1219
+ // dist/projection/experimental/lazy-projections/ortho.js
1220
+ var lazyOrthographic = /* @__PURE__ */ createProjectionDescriptor({ name: "ortho", aliases: [] }, async () => (await import("@math.gl/geospatial/projection/projections/ortho")).orthographic);
1221
+
1222
+ // dist/projection/experimental/lazy-projections/poly.js
1223
+ var lazyPolyconic = /* @__PURE__ */ createProjectionDescriptor({ name: "poly", aliases: ["Polyconic", "American_Polyconic"] }, async () => (await import("@math.gl/geospatial/projection/projections/poly")).polyconic);
1224
+
1225
+ // dist/projection/experimental/lazy-projections/qsc.js
1226
+ var lazyQuadrilateralizedSphericalCube = /* @__PURE__ */ createProjectionDescriptor({
1227
+ name: "qsc",
1228
+ aliases: ["Quadrilateralized Spherical Cube", "Quadrilateralized_Spherical_Cube"]
1229
+ }, async () => (await import("@math.gl/geospatial/projection/projections/qsc")).quadrilateralizedSphericalCube);
1230
+
1231
+ // dist/projection/experimental/lazy-projections/robin.js
1232
+ var lazyRobinson = /* @__PURE__ */ createProjectionDescriptor({ name: "robin", aliases: ["Robinson"] }, async () => (await import("@math.gl/geospatial/projection/projections/robin")).robinson);
1233
+
1234
+ // dist/projection/experimental/lazy-projections/sinu.js
1235
+ var lazySinusoidal = /* @__PURE__ */ createProjectionDescriptor({ name: "sinu", aliases: ["Sinusoidal"] }, async () => (await import("@math.gl/geospatial/projection/projections/sinu")).sinusoidal);
1236
+
1237
+ // dist/projection/experimental/lazy-projections/somerc.js
1238
+ var lazySwissObliqueMercator = /* @__PURE__ */ createProjectionDescriptor({ name: "somerc", aliases: [] }, async () => (await import("@math.gl/geospatial/projection/projections/somerc")).swissObliqueMercator);
1239
+
1240
+ // dist/projection/experimental/lazy-projections/tpers.js
1241
+ var lazyTiltedPerspective = /* @__PURE__ */ createProjectionDescriptor({ name: "tpers", aliases: ["Tilted_Perspective"] }, async () => (await import("@math.gl/geospatial/projection/projections/tpers")).tiltedPerspective);
1242
+
1243
+ // dist/projection/experimental/lazy-projections/vandg.js
1244
+ var lazyVanDerGrinten = /* @__PURE__ */ createProjectionDescriptor({ name: "vandg", aliases: ["Van_der_Grinten_I", "VanDerGrinten", "Van_der_Grinten"] }, async () => (await import("@math.gl/geospatial/projection/projections/vandg")).vanDerGrinten);
1245
+
1246
+ // dist/projection/experimental/lazy-projections/ob_tran.js
1247
+ function lazyObliqueTransformation(wrapped) {
1248
+ return createProjectionDescriptor({
1249
+ name: "ob_tran",
1250
+ aliases: ["General Oblique Transformation", "General_Oblique_Transformation"]
1251
+ }, async () => {
1252
+ const [{ obliqueTransformation }, child] = await Promise.all([
1253
+ import("@math.gl/geospatial/projection/projections/ob_tran"),
1254
+ typeof wrapped === "string" || "create" in wrapped ? wrapped : wrapped.preload()
1255
+ ]);
1256
+ return obliqueTransformation(child);
1257
+ });
1258
+ }
1259
+
1260
+ // dist/projection/experimental/crs-descriptor.js
1261
+ init_normalize();
1262
+
1263
+ // dist/projection/numerical-derivative.js
1264
+ var NumericalDerivative = class {
1265
+ constructor(sample) {
1266
+ this.sample = sample;
1267
+ this.result = [0, 0, 0];
1268
+ this.samples = Array.from({ length: 4 }, () => [0, 0, 0]);
1269
+ this.coarse = [0, 0, 0];
1270
+ this.fine = [0, 0, 0];
1271
+ }
1272
+ evaluate(step, referenceScale, tolerance = 1e-6) {
1273
+ if (!this.difference(step, this.coarse) || !this.difference(step / 2, this.fine))
1274
+ return false;
1275
+ const bound = tolerance * Math.max(referenceScale, Math.abs(this.fine[0]), Math.abs(this.fine[1]), Math.abs(this.fine[2]));
1276
+ for (let i = 0; i < 3; i++) {
1277
+ if (Math.abs(this.coarse[i] - this.fine[i]) > bound)
1278
+ return false;
1279
+ this.fine[i] += (this.fine[i] - this.coarse[i]) / 15;
1280
+ if (!Number.isFinite(this.fine[i]))
1281
+ return false;
1282
+ }
1283
+ for (let i = 0; i < 3; i++)
1284
+ this.result[i] = this.fine[i];
1285
+ return true;
1286
+ }
1287
+ difference(step, output) {
1288
+ const [a, b, c, d] = this.samples;
1289
+ if (!this.sample(-2 * step, a) || !this.sample(-step, b) || !this.sample(step, c) || !this.sample(2 * step, d))
1290
+ return false;
1291
+ for (let i = 0; i < 3; i++) {
1292
+ output[i] = (a[i] - d[i] + 8 * (c[i] - b[i])) / (12 * step);
1293
+ if (!Number.isFinite(output[i]))
1294
+ return false;
1295
+ }
1296
+ return true;
1297
+ }
1298
+ };
1299
+
1300
+ // dist/projection/experimental/crs-rendering-scale.js
1301
+ init_normalize();
1302
+ var RADIANS = Math.PI / 180;
1303
+ var WGS84 = normalizeCRS("WGS84").ellipsoid;
1304
+ function validateScale(scale) {
1305
+ if (scale.length !== 3 || scale.some((value) => !Number.isFinite(value) || value <= 0))
1306
+ throw new Error("Invalid CRS rendering scale");
1307
+ return scale;
1308
+ }
1309
+ function createRenderingScale(crs, projection, axis, center) {
1310
+ if (crs.kind === "geocentric")
1311
+ return validateScale([crs.toMeter, crs.toMeter, crs.toMeter]);
1312
+ if (crs.kind === "identity") {
1313
+ return validateScale([...axis].map((direction) => /[ud]/.test(direction) ? crs.verticalUnit : crs.toMeter));
1314
+ }
1315
+ const anchor = [0, 0, 0], input = [0, 0, 0], geographic = [0, 0, 0], sample = [0, 0, 0];
1316
+ const derivatives = Array.from({ length: 3 }, () => [0, 0, 0]);
1317
+ let component = 0, longitudeMeters = 0, latitudeMeters = 0, busy = false;
1318
+ const numerical = new NumericalDerivative((offset, output) => {
1319
+ for (let i = 0; i < 3; i++)
1320
+ input[i] = anchor[i];
1321
+ input[component] += offset;
1322
+ projection.unprojectTo(input, sample);
1323
+ const rawDelta = sample[0] - geographic[0];
1324
+ const delta = Math.abs(rawDelta) <= 180 ? rawDelta : ((rawDelta + 180) % 360 + 360) % 360 - 180;
1325
+ if (Math.abs(sample[1]) >= 90)
1326
+ return false;
1327
+ output[0] = delta * longitudeMeters;
1328
+ output[1] = (sample[1] - geographic[1]) * latitudeMeters;
1329
+ output[2] = sample[2] - geographic[2];
1330
+ return output.every(Number.isFinite);
1331
+ });
1332
+ return (coordinate) => {
1333
+ if (busy || coordinate.length < 2)
1334
+ return null;
1335
+ busy = true;
1336
+ let scale;
1337
+ try {
1338
+ anchor[0] = coordinate[0];
1339
+ anchor[1] = coordinate[1];
1340
+ anchor[2] = coordinate[2] ?? 0;
1341
+ if (!anchor.every(Number.isFinite))
1342
+ return null;
1343
+ projection.unprojectTo(anchor, geographic);
1344
+ const latitude = geographic[1] * RADIANS;
1345
+ const a = WGS84.semiMajorAxis, es = WGS84.eccentricitySquared;
1346
+ const denominator = 1 - es * Math.sin(latitude) ** 2;
1347
+ longitudeMeters = a * Math.cos(latitude) / Math.sqrt(denominator) * RADIANS;
1348
+ latitudeMeters = a * (1 - es) / denominator ** 1.5 * RADIANS;
1349
+ if (!(longitudeMeters > a * RADIANS * 1e-8) || !(latitudeMeters > 0))
1350
+ return null;
1351
+ const offset = ((geographic[0] - center + 180) % 360 + 360) % 360 - 180;
1352
+ const hasLongitudeSeam = crs.kind === "geographic" ? crs.longitudeWrap !== void 0 : !Object.prototype.hasOwnProperty.call(crs.parameters, "over");
1353
+ if (hasLongitudeSeam && Math.abs(offset) + 2 / longitudeMeters >= 180 || Math.abs(geographic[1]) + 2 / latitudeMeters >= 90)
1354
+ return null;
1355
+ for (component = 0; component < 3; component++) {
1356
+ const direction = axis[component];
1357
+ const nominalMeters = /[ud]/.test(direction) ? crs.verticalUnit : crs.kind === "geographic" ? (/[ew]/.test(direction) ? longitudeMeters : latitudeMeters) * crs.angularUnit / RADIANS : crs.toMeter;
1358
+ if (!numerical.evaluate(1 / nominalMeters, nominalMeters))
1359
+ return null;
1360
+ for (let i = 0; i < 3; i++)
1361
+ derivatives[component][i] = numerical.result[i];
1362
+ }
1363
+ scale = derivatives.map((derivative) => Math.hypot(...derivative));
1364
+ if (crs.kind === "projected") {
1365
+ const east = derivatives[axis.search(/[ew]/)];
1366
+ const north = derivatives[axis.search(/[ns]/)];
1367
+ const inverseArea = Math.abs(east[0] * north[1] - east[1] * north[0]) / crs.toMeter ** 2;
1368
+ scale[axis.search(/[ud]/)] = crs.verticalUnit * Math.sqrt(inverseArea);
1369
+ }
1370
+ } catch {
1371
+ return null;
1372
+ } finally {
1373
+ busy = false;
1374
+ }
1375
+ return validateScale(scale);
1376
+ };
1377
+ }
1378
+
1379
+ // dist/projection/experimental/scalar-output.js
1380
+ var FLOAT32_MAX = 34028234663852886e22;
1381
+ function validateScalarOutput(coordinate, output, length) {
1382
+ if (!(Array.isArray(coordinate) || coordinate instanceof Float32Array || coordinate instanceof Float64Array))
1383
+ throw new Error("Scalar input requires a number array, Float32Array or Float64Array");
1384
+ if (!(Array.isArray(output) || output instanceof Float32Array || output instanceof Float64Array) || output.length < length)
1385
+ throw new Error("Scalar output requires a preallocated number array, Float32Array or Float64Array with sufficient capacity");
1386
+ if (coordinate === output || Array.isArray(coordinate) || Array.isArray(output))
1387
+ return;
1388
+ const input = coordinate;
1389
+ const result = output;
1390
+ const shared = typeof SharedArrayBuffer !== "undefined" && input.buffer instanceof SharedArrayBuffer && result.buffer instanceof SharedArrayBuffer;
1391
+ if ((input.buffer === result.buffer || shared) && input.byteOffset < result.byteOffset + length * result.BYTES_PER_ELEMENT && result.byteOffset < input.byteOffset + input.byteLength)
1392
+ throw new Error("Scalar input/output views overlap; use the same view for in-place projection");
1393
+ }
1394
+ function writeScalarOutput(coordinate, output, point, length) {
1395
+ if (output instanceof Float32Array) {
1396
+ if (Math.abs(point.x) > FLOAT32_MAX || Math.abs(point.y) > FLOAT32_MAX || length >= 3 && Math.abs(point.z) > FLOAT32_MAX)
1397
+ throw new Error("Projected coordinate exceeds Float32 range");
1398
+ for (let i = 3; i < coordinate.length; i++) {
1399
+ const value = coordinate[i];
1400
+ if (Number.isFinite(value) && Math.abs(value) > FLOAT32_MAX)
1401
+ throw new Error("Trailing ordinate exceeds Float32 range");
1402
+ }
1403
+ }
1404
+ for (let i = 3; i < coordinate.length; i++)
1405
+ output[i] = coordinate[i];
1406
+ output[0] = point.x;
1407
+ output[1] = point.y;
1408
+ if (length >= 3)
1409
+ output[2] = point.z;
1410
+ return output;
1411
+ }
1412
+
1413
+ // dist/projection/experimental/crs-descriptor.js
1414
+ init_crs_metadata();
1415
+ var ANGULAR_UNITS = {
1416
+ degrees: Math.PI / 180,
1417
+ radians: 1,
1418
+ gradians: Math.PI / 200
1419
+ };
1420
+ var LINEAR_UNITS = {
1421
+ ...Object.fromEntries(Object.values(linearUnits).map((unit) => [unit.name, unit.metersPerUnit]))
1422
+ };
1423
+ async function resolveCRSDescriptor(engine, definition, normalization, options = {}, useDefinitionSignature = false, prepareInput) {
1424
+ const captured = typeof definition === "string" ? definition : JSON.parse(JSON.stringify(definition));
1425
+ const conventions = {
1426
+ enforceAxis: normalization.enforceAxis,
1427
+ mode: normalization.mode,
1428
+ ...options,
1429
+ converters: options.converters && [...options.converters]
1430
+ };
1431
+ const input = prepareInput ? await prepareInput(captured, { ...normalization, ...conventions }) : captured;
1432
+ const crs = normalizeCRS(input, { ...normalization, ...conventions });
1433
+ const projection = await engine.createProjectionAsync({
1434
+ ...conventions,
1435
+ from: "WGS84",
1436
+ to: input
1437
+ });
1438
+ const axis = crs.storedAxis || (conventions.enforceAxis ? crs.axis : "enu");
1439
+ const horizontalUnit = getUnit(crs.kind === "geographic" ? crs.angularUnit : crs.toMeter, crs.kind === "geographic");
1440
+ const heightUnit = getUnit(crs.verticalUnit, false);
1441
+ const units = [...axis].map((direction) => crs.kind !== "geocentric" && /[ud]/.test(direction) ? heightUnit : horizontalUnit);
1442
+ const profile = projection.targetProfile;
1443
+ if (!profile)
1444
+ throw new Error("Projection must define a rendering profile for CRS retrieval");
1445
+ const center = (projection.targetLongitudeOrigin + crs.primeMeridian) * 180 / Math.PI;
1446
+ const bounds = adaptBounds(profile, crs, axis);
1447
+ const normalizeWGS84 = createNormalization(profile.normalize);
1448
+ const renderingScale = createRenderingScale(crs, projection, axis, center);
1449
+ const sources = [.../* @__PURE__ */ new Set(["WGS84", ...conventions.converters || []])];
1450
+ if (sources.some((source) => typeof source !== "string" || !source.trim()))
1451
+ throw new Error("Converter source CRS must be a nonempty string");
1452
+ const entries = await Promise.all(sources.map(async (source) => {
1453
+ if (source === "WGS84")
1454
+ return [source, createConverter(projection, normalizeWGS84)];
1455
+ const [pair, geographic] = await Promise.all([
1456
+ engine.createProjectionAsync({ ...conventions, from: source, to: input }),
1457
+ engine.createProjectionAsync({ ...conventions, from: "WGS84", to: source })
1458
+ ]);
1459
+ return [
1460
+ source,
1461
+ createConverter(pair, createSourceNormalization(geographic, normalizeWGS84))
1462
+ ];
1463
+ }));
1464
+ const converter = Object.assign(/* @__PURE__ */ Object.create(null), Object.fromEntries(entries));
1465
+ const metadata = {
1466
+ coordinateFrame: crs.kind,
1467
+ projection: crs.projection,
1468
+ parameters: crs.parameters,
1469
+ ellipsoid: {
1470
+ semiMajorAxis: crs.ellipsoid.semiMajorAxis,
1471
+ semiMinorAxis: crs.ellipsoid.semiMinorAxis
1472
+ },
1473
+ axis,
1474
+ xUnit: units[0],
1475
+ yUnit: units[1],
1476
+ zUnit: units[2],
1477
+ areaOfUse: crs.areaOfUse,
1478
+ lossy: crs.lossy
1479
+ };
1480
+ return {
1481
+ ...metadata,
1482
+ // Exact caller identity is sufficient under default execution conventions.
1483
+ // Additional source converters do not change the target CRS.
1484
+ signature: useDefinitionSignature && typeof input === "string" && !conventions.enforceAxis && !crs.lossy ? input : getCRSSignature(metadata),
1485
+ renderingBounds: bounds,
1486
+ renderingScale,
1487
+ getRenderingScale: (coordinate) => typeof renderingScale === "function" ? renderingScale(coordinate) : renderingScale,
1488
+ converter
1489
+ };
1490
+ }
1491
+ function createConverter(projection, normalize) {
1492
+ return {
1493
+ from: createConversion(projection.project.bind(projection), projection.projectTo.bind(projection)),
1494
+ to: createConversion(projection.unproject.bind(projection), projection.unprojectTo.bind(projection)),
1495
+ normalize
1496
+ };
1497
+ }
1498
+ function createSourceNormalization(geographic, normalizeWGS84) {
1499
+ function normalize(coordinate, output) {
1500
+ if (output !== void 0)
1501
+ validateScalarOutput(coordinate, output, coordinate.length);
1502
+ const wgs842 = geographic.unproject(Array.from(coordinate));
1503
+ const [longitude, latitude, altitude] = wgs842;
1504
+ normalizeWGS84(wgs842, wgs842);
1505
+ if (wgs842[0] === longitude && wgs842[1] === latitude && wgs842[2] === altitude) {
1506
+ return output === void 0 ? Array.from(coordinate) : writeScalarOutput(coordinate, output, { x: coordinate[0], y: coordinate[1], z: coordinate[2] ?? 0 }, coordinate.length);
1507
+ }
1508
+ return output === void 0 ? geographic.project(wgs842) : geographic.projectTo(wgs842, output);
1509
+ }
1510
+ return normalize;
1511
+ }
1512
+ function createConversion(allocate, write) {
1513
+ function convert(coordinate, output) {
1514
+ return output === void 0 ? allocate(Array.isArray(coordinate) ? coordinate : Array.from(coordinate)) : write(coordinate, output);
1515
+ }
1516
+ return convert;
1517
+ }
1518
+ function createNormalization(normalizeDomain) {
1519
+ function normalize(coordinate, output) {
1520
+ const result = output ?? new Array(coordinate.length);
1521
+ validateScalarOutput(coordinate, result, coordinate.length);
1522
+ const longitude = coordinate[0], latitude = coordinate[1], altitude = coordinate[2] ?? 0;
1523
+ if (coordinate.length < 2 || !Number.isFinite(longitude) || !Number.isFinite(latitude) || !Number.isFinite(altitude))
1524
+ throw new Error("Normalization requires finite longitude, latitude and altitude");
1525
+ const point = { x: longitude, y: latitude, z: altitude };
1526
+ normalizeDomain == null ? void 0 : normalizeDomain(point);
1527
+ return writeScalarOutput(coordinate, result, point, coordinate.length);
1528
+ }
1529
+ return normalize;
1530
+ }
1531
+ function adaptBounds(profile, crs, axis) {
1532
+ const horizontalUnit = crs.kind === "geographic" ? crs.angularUnit : crs.toMeter;
1533
+ const units = [
1534
+ horizontalUnit,
1535
+ horizontalUnit,
1536
+ crs.kind === "geocentric" ? crs.toMeter : crs.verticalUnit
1537
+ ];
1538
+ const bounds = profile.bounds;
1539
+ const limits = [...axis].map((direction) => {
1540
+ const index = /[ew]/.test(direction) ? 0 : /[ns]/.test(direction) ? 1 : 2;
1541
+ const minimum = bounds[0][index] / units[index];
1542
+ const maximum = bounds[1][index] / units[index];
1543
+ return /[wsd]/.test(direction) ? [-maximum, -minimum] : [minimum, maximum];
1544
+ });
1545
+ return [
1546
+ [limits[0][0], limits[1][0], limits[2][0]],
1547
+ [limits[0][1], limits[1][1], limits[2][1]]
1548
+ ];
1549
+ }
1550
+ function getUnit(factor, angular) {
1551
+ const units = angular ? ANGULAR_UNITS : LINEAR_UNITS;
1552
+ const name = Object.keys(units).find((candidate) => units[candidate] === factor) || "custom";
1553
+ return angular ? { name, degreesPerUnit: factor / ANGULAR_UNITS["degrees"] } : { name, metersPerUnit: factor };
1554
+ }
1555
+
1556
+ // dist/projection/experimental/rendering-profile/geographic-bounds.js
1557
+ var RADIANS2 = Math.PI / 180;
1558
+ function createAngularRanges(west, south, east, north) {
1559
+ return [
1560
+ [west, south],
1561
+ [east, north]
1562
+ ];
1563
+ }
1564
+ function normalizeLongitude(longitude) {
1565
+ return longitude >= -180 && longitude < 180 ? longitude : ((longitude + 180) % 360 + 360) % 360 - 180;
1566
+ }
1567
+ function getLongitudeSpan(bounds) {
1568
+ const span = bounds[2] - bounds[0];
1569
+ return span < 0 ? span + 360 : span;
1570
+ }
1571
+ function containsGeographicPoint(bounds, point) {
1572
+ const [west, south, east, north] = bounds;
1573
+ const longitude = normalizeLongitude(point[0]);
1574
+ return point[1] >= south && point[1] <= north && (west <= east ? longitude >= west && longitude <= east || longitude === -180 && east === 180 : longitude >= west || longitude <= east);
1575
+ }
1576
+ function clampGeographicPoint(bounds, point) {
1577
+ let longitude = normalizeLongitude(point[0]);
1578
+ const latitude = Math.max(bounds[1], Math.min(bounds[3], point[1]));
1579
+ if (!containsGeographicPoint(bounds, [longitude, latitude])) {
1580
+ const westDistance = Math.abs(normalizeLongitude(longitude - bounds[0]));
1581
+ const eastDistance = Math.abs(normalizeLongitude(longitude - bounds[2]));
1582
+ longitude = westDistance <= eastDistance ? bounds[0] : bounds[2];
1583
+ }
1584
+ return [longitude, latitude];
1585
+ }
1586
+ function getAngularRanges(bounds, primeMeridian2 = 0, origin = 0) {
1587
+ const width = getLongitudeSpan(bounds);
1588
+ const west = bounds[0] * RADIANS2 - primeMeridian2;
1589
+ const middle = west + width * RADIANS2 / 2;
1590
+ const shift = Math.round((origin - middle) / (2 * Math.PI)) * 2 * Math.PI;
1591
+ return createAngularRanges(width === 360 ? origin - Math.PI : west + shift, bounds[1] * RADIANS2, width === 360 ? origin + Math.PI : west + shift + width * RADIANS2, bounds[3] * RADIANS2);
1592
+ }
1593
+
1594
+ // dist/projection/experimental/rendering-profile/rendering-profile.js
1595
+ function resolveRenderingProfile(getRenderingProfile, coverage) {
1596
+ if (coverage) {
1597
+ try {
1598
+ const profile2 = getRenderingProfile(coverage);
1599
+ return resolveBounds(profile2);
1600
+ } catch {
1601
+ }
1602
+ }
1603
+ const profile = getRenderingProfile();
1604
+ return resolveBounds(profile);
1605
+ }
1606
+ function resolveBounds(profile) {
1607
+ var _a2;
1608
+ const bounds = profile.bounds;
1609
+ if (bounds.some((corner) => corner.some((value) => !Number.isFinite(value))))
1610
+ throw new Error("Projection rendering bounds must be finite");
1611
+ return { bounds, normalize: (_a2 = profile.normalize) == null ? void 0 : _a2.bind(profile) };
1612
+ }
1613
+
1614
+ // dist/projection/experimental/rendering-profile/identity-rendering-profile.js
1615
+ function getIdentityRenderingProfile() {
1616
+ return {
1617
+ bounds: [
1618
+ [-1, -1, 0],
1619
+ [1, 1, 0]
1620
+ ]
1621
+ };
1622
+ }
1623
+
1624
+ // dist/projection/experimental/projection-scratch.js
1625
+ function createPoint() {
1626
+ return { x: 0, y: 0, z: 0 };
1627
+ }
1628
+ var ProjectionScratch = class {
1629
+ constructor() {
1630
+ this.point = createPoint();
1631
+ this.points = [this.point];
1632
+ this.active = 0;
1633
+ }
1634
+ get depth() {
1635
+ return this.active;
1636
+ }
1637
+ acquire() {
1638
+ var _a2;
1639
+ const index = this.active++;
1640
+ (_a2 = this.points)[index] || (_a2[index] = createPoint());
1641
+ return this.points[index];
1642
+ }
1643
+ release(point) {
1644
+ if (this.active > 0 && this.points[this.active - 1] === point)
1645
+ this.active--;
1646
+ }
1647
+ };
1648
+
1649
+ // dist/projection/experimental/mutable-projection.js
1650
+ function projectionOperation(implementation, inverse, geocentric = false) {
1651
+ const mutable = inverse ? implementation.inverseInPlace : implementation.forwardInPlace;
1652
+ if (mutable)
1653
+ return mutable.bind(implementation);
1654
+ if (geocentric) {
1655
+ const operation2 = inverse ? implementation.inverse3D : implementation.forward3D;
1656
+ return (point) => {
1657
+ const output = operation2.call(implementation, [point.x, point.y, point.z]);
1658
+ point.x = output[0];
1659
+ point.y = output[1];
1660
+ point.z = output[2];
1661
+ };
1662
+ }
1663
+ const operation = inverse ? implementation.inverse : implementation.forward;
1664
+ return (point) => {
1665
+ const output = operation.call(implementation, point.x, point.y);
1666
+ point.x = output[0];
1667
+ point.y = output[1];
1668
+ };
1669
+ }
1670
+
1671
+ // dist/projection/experimental/typescript-projection.js
1672
+ init_normalize();
1673
+ init_types();
1674
+
1675
+ // dist/projection/experimental/datum.js
1676
+ var import_core = require("@math.gl/core");
1677
+ var ARC_SECOND = Math.PI / (180 * 3600);
1678
+ var WGS842 = {
1679
+ ellipsoid: {
1680
+ semiMajorAxis: 6378137,
1681
+ semiMinorAxis: 6356752314245179e-9,
1682
+ eccentricitySquared: 0.0066943799901413165
1683
+ },
1684
+ towgs84: [0, 0, 0]
1685
+ };
1686
+ function geodeticToGeocentricInPlace(point, ellipsoid) {
1687
+ if (Math.abs(point.y) > Math.PI / 2)
1688
+ throw new Error("Latitude outside geocentric domain");
1689
+ if (!(0, import_core.spheroidToCartesian)(point, ellipsoid))
1690
+ throw new Error("Geocentric coordinate must be finite");
1691
+ }
1692
+ function geocentricToGeodeticInPlace(point, ellipsoid) {
1693
+ const x = point.x, y = point.y, z = point.z;
1694
+ const { semiMajorAxis: a, semiMinorAxis: b, eccentricitySquared: es } = ellipsoid;
1695
+ if (x === 0 && y === 0 && z === 0)
1696
+ throw new Error("Geodetic coordinates are undefined at the Earth center");
1697
+ if (es !== 0 && Math.abs(x) < 1e-12 * a && Math.abs(y) < 1e-12 * a && Math.hypot(x, y) < 1e-12 * a) {
1698
+ if (!Number.isFinite(Math.hypot(x, y, z)))
1699
+ throw new Error("Geocentric radius must be finite");
1700
+ point.x = 0;
1701
+ point.y = Math.sign(z) * Math.PI / 2;
1702
+ point.z = Math.abs(z) - b;
1703
+ return;
1704
+ }
1705
+ if (!(0, import_core.cartesianToSpheroid)(point, ellipsoid)) {
1706
+ if (!Number.isFinite(Math.hypot(x, y, z)))
1707
+ throw new Error("Geocentric radius must be finite");
1708
+ throw new Error("Geocentric inverse did not converge");
1709
+ }
1710
+ }
1711
+ function createHelmert(values, inverse) {
1712
+ const dx = values[0], dy = values[1], dz = values[2];
1713
+ const rx = (values[3] || 0) * ARC_SECOND, ry = (values[4] || 0) * ARC_SECOND, rz = (values[5] || 0) * ARC_SECOND;
1714
+ const scale = 1 + (values[6] || 0) / 1e6;
1715
+ return inverse ? (point) => {
1716
+ const x = (point.x - dx) / scale, y = (point.y - dy) / scale, z = (point.z - dz) / scale;
1717
+ point.x = x + rz * y - ry * z;
1718
+ point.y = -rz * x + y + rx * z;
1719
+ point.z = ry * x - rx * y + z;
1720
+ } : (point) => {
1721
+ const x = point.x, y = point.y, z = point.z;
1722
+ point.x = scale * (x - rz * y + ry * z) + dx;
1723
+ point.y = scale * (rz * x + y - rx * z) + dy;
1724
+ point.z = scale * (-ry * x + rx * y + z) + dz;
1725
+ };
1726
+ }
1727
+ function shifted(datum) {
1728
+ var _a2;
1729
+ return Boolean((_a2 = datum.towgs84) == null ? void 0 : _a2.some((value) => value !== 0));
1730
+ }
1731
+ function createDatumTransform(source, destination) {
1732
+ if (!source.towgs84 || !destination.towgs84)
1733
+ return void 0;
1734
+ if (source.grids || destination.grids) {
1735
+ if (source.grids && destination.grids && source.ellipsoid.semiMajorAxis === destination.ellipsoid.semiMajorAxis && source.ellipsoid.eccentricitySquared === destination.ellipsoid.eccentricitySquared && source.grids.length === destination.grids.length && source.grids.every((entry, i) => entry.name === destination.grids[i].name && entry.optional === destination.grids[i].optional && entry.grid === destination.grids[i].grid))
1736
+ return void 0;
1737
+ const middle = createDatumTransform(source.grids ? WGS842 : source, destination.grids ? WGS842 : destination);
1738
+ return (point) => {
1739
+ if (source.grids)
1740
+ applyDatumGrids(point, source, false);
1741
+ middle == null ? void 0 : middle(point);
1742
+ if (destination.grids)
1743
+ applyDatumGrids(point, destination, true);
1744
+ };
1745
+ }
1746
+ if (shifted(source) || shifted(destination)) {
1747
+ const first = convertDatum(source, WGS842), second = convertDatum(WGS842, destination);
1748
+ return (point) => {
1749
+ first == null ? void 0 : first(point);
1750
+ second == null ? void 0 : second(point);
1751
+ };
1752
+ }
1753
+ return convertDatum(source, destination);
1754
+ }
1755
+ function convertDatum(from, to) {
1756
+ if (!from.towgs84 || !to.towgs84)
1757
+ return void 0;
1758
+ const a = from.ellipsoid, b = to.ellipsoid;
1759
+ let sameParameters = true;
1760
+ for (let i = 0; i < 7; i++)
1761
+ if ((from.towgs84[i] || 0) !== (to.towgs84[i] || 0))
1762
+ sameParameters = false;
1763
+ if (a.semiMajorAxis === b.semiMajorAxis && Math.abs(a.eccentricitySquared - b.eccentricitySquared) <= 5e-11 && sameParameters)
1764
+ return void 0;
1765
+ const sourceShift = shifted(from) ? createHelmert(from.towgs84, false) : void 0, targetShift = shifted(to) ? createHelmert(to.towgs84, true) : void 0;
1766
+ return (point) => {
1767
+ geodeticToGeocentricInPlace(point, a);
1768
+ sourceShift == null ? void 0 : sourceShift(point);
1769
+ targetShift == null ? void 0 : targetShift(point);
1770
+ geocentricToGeodeticInPlace(point, b);
1771
+ };
1772
+ }
1773
+ function applyDatumGrids(point, datum, inverse) {
1774
+ for (const reference of datum.grids) {
1775
+ if (reference.name === "null")
1776
+ return;
1777
+ if (!reference.grid) {
1778
+ if (reference.optional)
1779
+ continue;
1780
+ throw new Error("Required datum grid is not registered: " + reference.name);
1781
+ }
1782
+ let found = false;
1783
+ if (reference.grid.shiftInPlace)
1784
+ found = reference.grid.shiftInPlace(point, inverse);
1785
+ else {
1786
+ const output = reference.grid.shift(point.x, point.y, inverse);
1787
+ if (output) {
1788
+ point.x = output[0];
1789
+ point.y = output[1];
1790
+ found = true;
1791
+ }
1792
+ }
1793
+ if (found) {
1794
+ if (!Number.isFinite(point.x) || !Number.isFinite(point.y) || Math.abs(point.y) > Math.PI / 2)
1795
+ throw new Error("Datum grid produced a coordinate outside the geographic domain");
1796
+ return;
1797
+ }
1798
+ }
1799
+ throw new Error("No datum grid covers coordinate: " + datum.grids.map((grid) => grid.name).join(","));
1800
+ }
1801
+
1802
+ // dist/projection/experimental/typescript-projection.js
1803
+ init_parameters();
1804
+
1805
+ // dist/projection/experimental/rendering-profile/geographic-rendering-profile.js
1806
+ init_parameters();
1807
+
1808
+ // dist/projection/experimental/rendering-profile/rectangular-rendering-profile.js
1809
+ function normalizeCoverage(point, coverage, center = 0, over = false) {
1810
+ const span = getLongitudeSpan(coverage);
1811
+ const west = span === 360 ? center - 180 : coverage[0] + Math.round((center - coverage[0] - span / 2) / 360) * 360;
1812
+ const east = west + span;
1813
+ if (over) {
1814
+ point.x = Math.max(west, Math.min(east, point.x));
1815
+ point.y = Math.max(coverage[1], Math.min(coverage[3], point.y));
1816
+ return;
1817
+ }
1818
+ const best = clampGeographicPoint(coverage, [point.x, point.y]);
1819
+ let longitude = best[0];
1820
+ if (best[0] === normalizeLongitude(point.x) && point.x >= west && point.x <= east)
1821
+ longitude = point.x;
1822
+ else if (longitude < west || longitude > east)
1823
+ longitude += Math.round(((west + east) / 2 - longitude) / 360) * 360;
1824
+ const offset = longitude - center;
1825
+ point.x = Math.abs(offset) <= 180 ? longitude : center + normalizeLongitude(offset);
1826
+ point.y = best[1];
1827
+ }
1828
+ function createRectangleRenderingProfile(resolveBounds2, coverage, origin = 0, primeMeridian2 = 0, over = false) {
1829
+ const center = (origin + primeMeridian2) * 180 / Math.PI;
1830
+ return {
1831
+ get bounds() {
1832
+ return resolveBounds2(getAngularRanges(coverage, primeMeridian2, origin));
1833
+ },
1834
+ normalize(point) {
1835
+ normalizeCoverage(point, coverage, center, over);
1836
+ }
1837
+ };
1838
+ }
1839
+
1840
+ // dist/projection/experimental/rendering-profile/rendering-bounds.js
1841
+ init_parameters();
1842
+ function longitudeRange(parameters, origin, over = false) {
1843
+ const low = parameters[0][0] - origin, high = parameters[1][0] - origin;
1844
+ if (over)
1845
+ return [low, high];
1846
+ const span = high - low;
1847
+ if (span >= 2 * Math.PI - 1e-12)
1848
+ return [-Math.PI, Math.PI];
1849
+ let west = wrapLongitude(low);
1850
+ if (span > 0 && Math.abs(west - Math.PI) < 1e-12)
1851
+ west = -Math.PI;
1852
+ const east = west + span;
1853
+ return east > Math.PI + 1e-12 ? [-Math.PI, Math.PI] : [west, Math.min(east, Math.PI)];
1854
+ }
1855
+
1856
+ // dist/projection/experimental/rendering-profile/geographic-rendering-profile.js
1857
+ function createGeographicProfile(parameters, primeMeridian2 = 0) {
1858
+ const center = numberParameter(parameters, "lon_wrap", 0) * DEGREES_TO_RADIANS;
1859
+ return (coverage) => createRectangleRenderingProfile((ranges) => {
1860
+ const longitude = longitudeRange(ranges, center);
1861
+ return [
1862
+ [center + longitude[0], ranges[0][1], 0],
1863
+ [center + longitude[1], ranges[1][1], 0]
1864
+ ];
1865
+ }, coverage ?? [-180, -90, 180, 90], center, primeMeridian2);
1866
+ }
1867
+
1868
+ // dist/projection/experimental/vertical-datum.js
1869
+ init_types();
1870
+ function compileVerticalGrid(names, grids = {}) {
1871
+ if (names === void 0)
1872
+ return void 0;
1873
+ const entries = [];
1874
+ for (const entry of names.split(",")) {
1875
+ const optional = entry.startsWith("@");
1876
+ const name = optional ? entry.slice(1) : entry;
1877
+ if (!name || /\s/.test(name))
1878
+ throw new Error("Invalid vertical grid name");
1879
+ if (name === "null") {
1880
+ entries.push(null);
1881
+ break;
1882
+ }
1883
+ const grid = Object.prototype.hasOwnProperty.call(grids, name) ? grids[name] : void 0;
1884
+ if (grid) {
1885
+ if (typeof grid.getOffset !== "function")
1886
+ throw new Error("Invalid vertical grid: " + name);
1887
+ entries.push(grid.getOffset.bind(grid));
1888
+ } else if (!optional)
1889
+ unsupportedStage("Required vertical grid is not registered: " + name);
1890
+ }
1891
+ return (longitude, latitude) => {
1892
+ for (const sample of entries) {
1893
+ if (!sample)
1894
+ return 0;
1895
+ const offset = sample(longitude, latitude);
1896
+ if (offset === void 0)
1897
+ continue;
1898
+ if (!Number.isFinite(offset))
1899
+ throw new Error("Vertical grid returned a non-finite offset");
1900
+ return offset;
1901
+ }
1902
+ throw new Error("No vertical grid covers this coordinate");
1903
+ };
1904
+ }
1905
+
1906
+ // dist/projection/experimental/typescript-projection.js
1907
+ var ProjectionTransform = class _ProjectionTransform {
1908
+ /** Resolve required descriptors once, then return an ordinary synchronous instance. */
1909
+ static async create(options = {}) {
1910
+ const projections = await Promise.all(requiredProjections(options).map(preloadProjection));
1911
+ return new _ProjectionTransform({ ...options, projections });
1912
+ }
1913
+ get targetProfile() {
1914
+ return this.getTargetRenderingProfile(this.targetCoverage);
1915
+ }
1916
+ /** Resolve target rendering policy independently from coordinate conversion. @internal */
1917
+ getTargetRenderingProfile(coverage) {
1918
+ return this.targetRenderingProfile && resolveRenderingProfile(this.targetRenderingProfile, coverage);
1919
+ }
1920
+ constructor(options = {}) {
1921
+ var _a2, _b, _c;
1922
+ this.coordinateScratch = new ProjectionScratch();
1923
+ this.targetLongitudeOrigin = 0;
1924
+ const registrations = options.projections || [];
1925
+ const plugins = registry(registrations);
1926
+ if (registrations.some((projection) => !("create" in projection))) {
1927
+ const from = normalizeCRS(options.from ?? "WGS84", options);
1928
+ const to = normalizeCRS(options.to ?? "WGS84", options);
1929
+ this.lossy = from.lossy || to.lossy;
1930
+ this.deferred = { options: { ...options, projections: [...registrations] } };
1931
+ } else {
1932
+ const eager = options;
1933
+ const eagerPlugins = plugins;
1934
+ const from = compileCRS(eager.from ?? "WGS84", eagerPlugins, eager);
1935
+ const to = compileCRS(eager.to ?? "WGS84", eagerPlugins, eager);
1936
+ this.targetRenderingProfile = ((_b = (_a2 = to.implementation) == null ? void 0 : _a2.getRenderingProfile) == null ? void 0 : _b.bind(to.implementation)) ?? (to.kind === "geographic" ? createGeographicProfile(to.parameters, to.primeMeridian) : to.kind === "identity" ? getIdentityRenderingProfile : void 0);
1937
+ this.targetCoverage = to.areaOfUse;
1938
+ this.targetLongitudeOrigin = ((_c = to.implementation) == null ? void 0 : _c.longitudeOrigin) ?? (to.kind === "geographic" ? to.longitudeWrap ?? 0 : 0);
1939
+ this.lossy = from.lossy || to.lossy;
1940
+ if (this.lossy && (from.kind === "geocentric" || to.kind === "geocentric"))
1941
+ unsupportedStage("Horizontal extraction cannot supply ellipsoidal height for geocentric coordinates");
1942
+ if (this.lossy && (from.verticalGrid || to.verticalGrid))
1943
+ unsupportedStage("Horizontal extraction cannot be combined with vertical grids");
1944
+ this.forwardTransform = compileTransform(from, to, Boolean(options.enforceAxis));
1945
+ this.inverseTransform = compileTransform(to, from, Boolean(options.enforceAxis));
1946
+ }
1947
+ this.project = this.project.bind(this);
1948
+ this.unproject = this.unproject.bind(this);
1949
+ this.projectTo = this.projectTo.bind(this);
1950
+ this.unprojectTo = this.unprojectTo.bind(this);
1951
+ this.projectToSync = this.projectToSync.bind(this);
1952
+ this.unprojectToSync = this.unprojectToSync.bind(this);
1953
+ this.projectFlat = this.projectFlat.bind(this);
1954
+ this.unprojectFlat = this.unprojectFlat.bind(this);
1955
+ this.projectSync = this.projectSync.bind(this);
1956
+ this.unprojectSync = this.unprojectSync.bind(this);
1957
+ this.projectFlatSync = this.projectFlatSync.bind(this);
1958
+ this.unprojectFlatSync = this.unprojectFlatSync.bind(this);
1959
+ }
1960
+ load() {
1961
+ const state = this.deferred;
1962
+ if (!state)
1963
+ return Promise.resolve(this);
1964
+ if (state.implementation)
1965
+ return Promise.resolve(state.implementation);
1966
+ state.pending || (state.pending = _ProjectionTransform.create(state.options).then((projection) => {
1967
+ state.implementation = projection;
1968
+ return projection;
1969
+ }).catch((error) => {
1970
+ state.pending = void 0;
1971
+ throw error;
1972
+ }));
1973
+ return state.pending;
1974
+ }
1975
+ loadSync() {
1976
+ const state = this.deferred;
1977
+ if (!state)
1978
+ return this;
1979
+ if (!state.implementation) {
1980
+ const projections = requiredProjections(state.options).map((descriptor) => {
1981
+ const plugin = getLoadedProjection(descriptor);
1982
+ if (!plugin)
1983
+ throw new Error("Projection is not preloaded: " + descriptor.name + ". Call preload() first.");
1984
+ return plugin;
1985
+ });
1986
+ state.implementation = new _ProjectionTransform({ ...state.options, projections });
1987
+ }
1988
+ return state.implementation;
1989
+ }
1990
+ /** Synchronous variants never import algorithms; descriptors must be preloaded. */
1991
+ projectSync(coordinate) {
1992
+ return this.deferred ? this.loadSync().project(coordinate) : transformScalar(coordinate, this.forwardTransform, this.coordinateScratch);
1993
+ }
1994
+ unprojectSync(coordinate) {
1995
+ return this.deferred ? this.loadSync().unproject(coordinate) : transformScalar(coordinate, this.inverseTransform, this.coordinateScratch);
1996
+ }
1997
+ projectFlatSync(coordinates, dimension = 2) {
1998
+ return this.deferred ? this.loadSync().projectFlat(coordinates, dimension) : transformInPlace(coordinates, dimension, this.forwardTransform, this.coordinateScratch);
1999
+ }
2000
+ unprojectFlatSync(coordinates, dimension = 2) {
2001
+ return this.deferred ? this.loadSync().unprojectFlat(coordinates, dimension) : transformInPlace(coordinates, dimension, this.inverseTransform, this.coordinateScratch);
2002
+ }
2003
+ /** Optional warm-up. Coordinate methods also load automatically on first use. */
2004
+ async preload() {
2005
+ await this.load();
2006
+ }
2007
+ /** Eager plugins return arrays; descriptor-backed instances return promises. */
2008
+ project(coordinate) {
2009
+ const result = this.deferred ? this.projectLoaded(coordinate, false) : transformScalar(coordinate, this.forwardTransform, this.coordinateScratch);
2010
+ return result;
2011
+ }
2012
+ unproject(coordinate) {
2013
+ const result = this.deferred ? this.projectLoaded(coordinate, true) : transformScalar(coordinate, this.inverseTransform, this.coordinateScratch);
2014
+ return result;
2015
+ }
2016
+ /** Write one coordinate into caller-owned storage; return that same output. */
2017
+ projectTo(coordinate, output) {
2018
+ return this.deferred ? this.projectToLoaded(coordinate, output, false) : this.projectToSync(coordinate, output);
2019
+ }
2020
+ unprojectTo(coordinate, output) {
2021
+ return this.deferred ? this.projectToLoaded(coordinate, output, true) : this.unprojectToSync(coordinate, output);
2022
+ }
2023
+ projectToSync(coordinate, output) {
2024
+ if (this.deferred)
2025
+ return this.loadSync().projectTo(coordinate, output);
2026
+ validateScalarOutput(coordinate, output, Math.max(coordinate.length, this.forwardTransform.geocentricOutput ? 3 : 2));
2027
+ return transformScalar(coordinate, this.forwardTransform, this.coordinateScratch, output);
2028
+ }
2029
+ unprojectToSync(coordinate, output) {
2030
+ if (this.deferred)
2031
+ return this.loadSync().unprojectTo(coordinate, output);
2032
+ validateScalarOutput(coordinate, output, Math.max(coordinate.length, this.inverseTransform.geocentricOutput ? 3 : 2));
2033
+ return transformScalar(coordinate, this.inverseTransform, this.coordinateScratch, output);
2034
+ }
2035
+ projectToLoaded(coordinate, output, inverse) {
2036
+ validateScalarOutput(coordinate, output, coordinate.length);
2037
+ const input = coordinate.slice();
2038
+ return this.load().then((projection) => inverse ? projection.unprojectTo(input, output) : projection.projectTo(input, output));
2039
+ }
2040
+ projectLoaded(coordinate, inverse) {
2041
+ const input = coordinate.slice();
2042
+ return this.load().then((projection) => inverse ? projection.unproject(input) : projection.project(input));
2043
+ }
2044
+ /** In-place; descriptor callers must await completion before reusing the buffer. */
2045
+ projectFlat(coordinates, dimension = 2) {
2046
+ const result = this.deferred ? this.load().then((projection) => projection.projectFlat(coordinates, dimension)) : transformInPlace(coordinates, dimension, this.forwardTransform, this.coordinateScratch);
2047
+ return result;
2048
+ }
2049
+ unprojectFlat(coordinates, dimension = 2) {
2050
+ const result = this.deferred ? this.load().then((projection) => projection.unprojectFlat(coordinates, dimension)) : transformInPlace(coordinates, dimension, this.inverseTransform, this.coordinateScratch);
2051
+ return result;
2052
+ }
2053
+ };
2054
+ function requiredProjections(options) {
2055
+ const available = registry(options.projections || []);
2056
+ const required = /* @__PURE__ */ new Set();
2057
+ for (const definition of [options.from ?? "WGS84", options.to ?? "WGS84"]) {
2058
+ const crs = normalizeCRS(definition, options);
2059
+ if (["geographic", "identity"].includes(crs.kind))
2060
+ continue;
2061
+ const projection = available.get(pluginKey(crs.projection));
2062
+ if (!projection)
2063
+ throw new TypeScriptCRSError("missing-plugin", "Projection plugin is not registered: " + crs.projection);
2064
+ required.add(projection);
2065
+ }
2066
+ return [...required];
2067
+ }
2068
+ var pluginKey = (name) => name.toLowerCase().replace(/[\s_-]/g, "");
2069
+ function registry(projections) {
2070
+ const plugins = /* @__PURE__ */ new Map();
2071
+ for (const plugin of projections) {
2072
+ for (const name of new Set([plugin.name, ...plugin.aliases || []].map(pluginKey))) {
2073
+ if (!name || ["longlat", "latlong", "latlon", "lonlat", "identity"].includes(name) || plugins.has(name))
2074
+ throw new Error("Duplicate or reserved projection plugin: " + name);
2075
+ plugins.set(name, plugin);
2076
+ }
2077
+ }
2078
+ return plugins;
2079
+ }
2080
+ function compileCRS(definition, plugins, options) {
2081
+ var _a2;
2082
+ const crs = normalizeCRS(definition, options);
2083
+ const plugin = plugins.get(pluginKey(crs.projection));
2084
+ if (!["geographic", "identity"].includes(crs.kind) && !plugin)
2085
+ throw new TypeScriptCRSError("missing-plugin", "Projection plugin is not registered: " + crs.projection);
2086
+ const allowed = /* @__PURE__ */ new Set([...CORE_PARAMETERS, ...(plugin == null ? void 0 : plugin.parameters) || []]);
2087
+ for (const key2 of Object.keys(crs.parameters)) {
2088
+ if (!allowed.has(key2))
2089
+ throw new TypeScriptCRSError("missing-transform-stage", "Unsupported PROJ parameter: +" + key2);
2090
+ const flag = CORE_FLAGS.includes(key2) || ((_a2 = plugin == null ? void 0 : plugin.flags) == null ? void 0 : _a2.includes(key2));
2091
+ if (flag && crs.parameters[key2] !== void 0)
2092
+ throw new Error("Expected a flag without a value: +" + key2);
2093
+ if (!flag && !crs.parameters[key2])
2094
+ throw new Error("PROJ parameter requires a value: +" + key2);
2095
+ }
2096
+ if (crs.parameters["type"] && crs.parameters["type"] !== "crs")
2097
+ throw new Error("Only +type=crs is supported");
2098
+ const parameters = pluginKey(crs.projection) === "fasttransversemercator" ? Object.freeze({ ...crs.parameters, approx: void 0 }) : crs.parameters;
2099
+ const implementation = plugin == null ? void 0 : plugin.create({
2100
+ ...crs.ellipsoid,
2101
+ parameters,
2102
+ primeMeridian: crs.primeMeridian
2103
+ });
2104
+ if (crs.kind === "geocentric" && (!(implementation == null ? void 0 : implementation.forward3D) || !(implementation == null ? void 0 : implementation.inverse3D)))
2105
+ throw new Error("Geocentric plugin must implement 3D operations");
2106
+ const references = crs.datum.grids;
2107
+ const nullIndex = (references == null ? void 0 : references.findIndex((reference) => reference.name === "null")) ?? -1;
2108
+ const grids = references == null ? void 0 : references.slice(0, nullIndex < 0 ? void 0 : nullIndex + 1).map((reference) => {
2109
+ const grid = Object.prototype.hasOwnProperty.call(options.datumGrids || {}, reference.name) ? options.datumGrids[reference.name] : void 0;
2110
+ if (grid && typeof grid.shift !== "function")
2111
+ throw new Error("Invalid prepared datum grid: " + reference.name);
2112
+ return Object.freeze({ ...reference, grid });
2113
+ });
2114
+ for (const reference of grids || []) {
2115
+ if (reference.name === "null")
2116
+ break;
2117
+ if (!reference.optional && !reference.grid)
2118
+ unsupportedStage("Required datum grid is not registered: " + reference.name);
2119
+ }
2120
+ const datum = grids ? Object.freeze({ ...crs.datum, grids: Object.freeze(grids) }) : crs.datum;
2121
+ const verticalGrid = compileVerticalGrid(crs.parameters["geoidgrids"], options.verticalGrids);
2122
+ if (verticalGrid && (crs.kind === "geocentric" || crs.kind === "identity" || crs.lossy))
2123
+ unsupportedStage("Vertical grids require a non-lossy geographic or projected CRS");
2124
+ return { ...crs, datum, implementation, verticalGrid };
2125
+ }
2126
+ function finite(point) {
2127
+ return Number.isFinite(point.x) && Number.isFinite(point.y) && Number.isFinite(point.z);
2128
+ }
2129
+ function compileAxis(axis, inverse) {
2130
+ if (axis === "enu")
2131
+ return void 0;
2132
+ const indexes = [0, 0, 0], signs = [0, 0, 0];
2133
+ for (let i = 0; i < 3; i++) {
2134
+ const char = axis[i], component = "ew".includes(char) ? 0 : "ns".includes(char) ? 1 : 2;
2135
+ indexes[inverse ? i : component] = inverse ? component : i;
2136
+ signs[inverse ? i : component] = "wsd".includes(char) ? -1 : 1;
2137
+ }
2138
+ return (point) => {
2139
+ const x = point.x, y = point.y, z = point.z;
2140
+ point.x = signs[0] * (indexes[0] === 0 ? x : indexes[0] === 1 ? y : z);
2141
+ point.y = signs[1] * (indexes[1] === 0 ? x : indexes[1] === 1 ? y : z);
2142
+ point.z = signs[2] * (indexes[2] === 0 ? x : indexes[2] === 1 ? y : z);
2143
+ };
2144
+ }
2145
+ function compileTransform(from, to, enforceAxis) {
2146
+ var _a2, _b, _c, _d;
2147
+ const fromAxis = from.storedAxis || (enforceAxis ? from.axis : "enu");
2148
+ const toAxis = to.storedAxis || (enforceAxis ? to.axis : "enu");
2149
+ const inputAxis = compileAxis(fromAxis, false), outputAxis = compileAxis(toAxis, true);
2150
+ const source = from.implementation && projectionOperation(from.implementation, true, from.kind === "geocentric");
2151
+ const target = to.implementation && projectionOperation(to.implementation, false, to.kind === "geocentric");
2152
+ const datum = createDatumTransform(from.datum, to.datum);
2153
+ const horizontalOnly = from.lossy || to.lossy;
2154
+ const fromGeocentric = from.kind === "geocentric";
2155
+ const inputScale = from.kind === "geographic" ? from.angularUnit : from.toMeter;
2156
+ const outputScale = to.kind === "geographic" ? to.angularUnit : to.toMeter;
2157
+ const inputVerticalScale = fromGeocentric ? 1 : from.verticalUnit, outputVerticalScale = to.kind === "geocentric" ? outputScale : to.verticalUnit;
2158
+ const fromPrime = from.primeMeridian, toPrime = to.primeMeridian;
2159
+ const longitudeWrap = to.kind === "geographic" ? to.longitudeWrap : void 0;
2160
+ let flat;
2161
+ if (!datum && !from.verticalGrid && !to.verticalGrid && !horizontalOnly && !inputAxis && !outputAxis && !fromPrime && !toPrime && from.verticalUnit === 1 && to.verticalUnit === 1 && longitudeWrap === void 0) {
2162
+ const context = Object.freeze({ inputScale, outputScale });
2163
+ if (from.kind === "geographic" && to.kind === "projected")
2164
+ flat = (_b = (_a2 = to.implementation) == null ? void 0 : _a2.createForwardFlat) == null ? void 0 : _b.call(_a2, context);
2165
+ if (from.kind === "projected" && to.kind === "geographic")
2166
+ flat = (_d = (_c = from.implementation) == null ? void 0 : _c.createInverseFlat) == null ? void 0 : _d.call(_c, context);
2167
+ }
2168
+ return {
2169
+ flat,
2170
+ requiresInputZ: Boolean(from.verticalGrid || to.verticalGrid) || from.kind === "geocentric" || /[ud]/.test(fromAxis.slice(0, 2)) || /[ud]/.test(toAxis.slice(0, 2)),
2171
+ geocentricOutput: to.kind === "geocentric",
2172
+ run(point) {
2173
+ if (!finite(point))
2174
+ throw new Error("Coordinates must contain finite x, y and optional z values");
2175
+ inputAxis == null ? void 0 : inputAxis(point);
2176
+ const preservedHeight = point.z;
2177
+ if (horizontalOnly)
2178
+ point.z = 0;
2179
+ if (inputScale !== 1) {
2180
+ point.x *= inputScale;
2181
+ point.y *= inputScale;
2182
+ if (fromGeocentric)
2183
+ point.z *= inputScale;
2184
+ }
2185
+ source == null ? void 0 : source(point);
2186
+ if (inputVerticalScale !== 1)
2187
+ point.z *= inputVerticalScale;
2188
+ if (Math.abs(point.y) > Math.PI / 2 || !finite(point))
2189
+ throw new Error("Coordinate is outside the geographic domain");
2190
+ point.x += fromPrime;
2191
+ if (from.verticalGrid)
2192
+ point.z += from.verticalGrid(point.x, point.y);
2193
+ datum == null ? void 0 : datum(point);
2194
+ if (to.verticalGrid)
2195
+ point.z -= to.verticalGrid(point.x, point.y);
2196
+ point.x -= toPrime;
2197
+ if (longitudeWrap !== void 0)
2198
+ point.x = longitudeWrap + wrapLongitude(point.x - longitudeWrap);
2199
+ target == null ? void 0 : target(point);
2200
+ if (outputScale !== 1) {
2201
+ point.x /= outputScale;
2202
+ point.y /= outputScale;
2203
+ }
2204
+ if (outputVerticalScale !== 1)
2205
+ point.z /= outputVerticalScale;
2206
+ if (horizontalOnly)
2207
+ point.z = preservedHeight;
2208
+ outputAxis == null ? void 0 : outputAxis(point);
2209
+ if (!finite(point))
2210
+ throw new Error("Projection produced non-finite coordinates");
2211
+ }
2212
+ };
2213
+ }
2214
+ function transformScalar(coordinate, operation, scratch, output) {
2215
+ if (coordinate.length < 2)
2216
+ throw new Error("Coordinates must contain finite x, y and optional z values");
2217
+ if (coordinate.length < 3 && operation.requiresInputZ)
2218
+ throw new Error("This transform requires three ordinates");
2219
+ const length = Math.max(coordinate.length, operation.geocentricOutput ? 3 : 2);
2220
+ const point = scratch.acquire();
2221
+ try {
2222
+ point.x = coordinate[0];
2223
+ point.y = coordinate[1];
2224
+ point.z = coordinate.length >= 3 ? coordinate[2] : 0;
2225
+ operation.run(point);
2226
+ if (output)
2227
+ return writeScalarOutput(coordinate, output, point, length);
2228
+ const result = coordinate.slice();
2229
+ result[0] = point.x;
2230
+ result[1] = point.y;
2231
+ if (coordinate.length >= 3 || operation.geocentricOutput)
2232
+ result[2] = point.z;
2233
+ return result;
2234
+ } finally {
2235
+ scratch.release(point);
2236
+ }
2237
+ }
2238
+ function transformInPlace(coordinates, dimension, operation, scratch) {
2239
+ if (!(coordinates instanceof Float32Array || coordinates instanceof Float64Array))
2240
+ throw new Error("In-place projection requires a Float32Array or Float64Array");
2241
+ if (!Number.isSafeInteger(dimension) || dimension < 2 || coordinates.length % dimension !== 0)
2242
+ throw new Error("Dimension must be an integer >= 2 and divide the typed array length");
2243
+ if (dimension < 3 && (operation.requiresInputZ || operation.geocentricOutput))
2244
+ throw new Error("This transform requires a dimension of at least 3");
2245
+ if (operation.flat) {
2246
+ operation.flat(coordinates, dimension);
2247
+ return coordinates;
2248
+ }
2249
+ const point = scratch.acquire();
2250
+ try {
2251
+ const float32 = coordinates instanceof Float32Array;
2252
+ for (let offset = 0; offset < coordinates.length; offset += dimension) {
2253
+ point.x = coordinates[offset];
2254
+ point.y = coordinates[offset + 1];
2255
+ point.z = dimension >= 3 ? coordinates[offset + 2] : 0;
2256
+ operation.run(point);
2257
+ if (float32 && (Math.abs(point.x) > 34028234663852886e22 || Math.abs(point.y) > 34028234663852886e22 || dimension >= 3 && Math.abs(point.z) > 34028234663852886e22))
2258
+ throw new Error("Projected coordinate exceeds Float32 range");
2259
+ coordinates[offset] = point.x;
2260
+ coordinates[offset + 1] = point.y;
2261
+ if (dimension >= 3)
2262
+ coordinates[offset + 2] = point.z;
2263
+ }
2264
+ return coordinates;
2265
+ } finally {
2266
+ scratch.release(point);
2267
+ }
2268
+ }
2269
+
2270
+ // dist/projection/experimental/engine-options.js
2271
+ function snapshotEngineOptions(options) {
2272
+ return {
2273
+ ...options,
2274
+ projections: options.projections && [...options.projections],
2275
+ parsers: options.parsers && [...options.parsers],
2276
+ datumCatalogs: options.datumCatalogs && [...options.datumCatalogs],
2277
+ aliases: options.aliases && JSON.parse(JSON.stringify(options.aliases)),
2278
+ datumGrids: options.datumGrids && { ...options.datumGrids },
2279
+ verticalGrids: options.verticalGrids && { ...options.verticalGrids }
2280
+ };
2281
+ }
2282
+ function hasCRSOverrides(options) {
2283
+ return Boolean(options.projections || options.parsers || options.datumCatalogs || options.aliases || options.datumGrids || options.verticalGrids || options.resolver);
2284
+ }
2285
+
2286
+ // dist/projection/experimental/lazy-projection.js
2287
+ init_normalize();
2288
+ var catalogue = [
2289
+ lazyAlbersEqualArea,
2290
+ lazyAzimuthalEquidistant,
2291
+ lazyBonne,
2292
+ lazyCassiniSoldner,
2293
+ lazyCylindricalEqualArea,
2294
+ lazyEckertVI,
2295
+ lazyEquidistantCylindrical,
2296
+ lazyEquidistantConic,
2297
+ lazyEqualEarth,
2298
+ lazyEquirectangular,
2299
+ lazyExtendedTransverseMercator,
2300
+ lazyGeocentric,
2301
+ lazyGeostationary,
2302
+ lazyGnomonic,
2303
+ lazyGaussSchreiberTransverseMercator,
2304
+ lazyKrovak,
2305
+ lazyLambertAzimuthalEqualArea,
2306
+ lazyLambertConformalConic,
2307
+ lazyMercator,
2308
+ lazyMillerCylindrical,
2309
+ lazyMollweide,
2310
+ lazyNewZealandMapGrid,
2311
+ lazyObliqueMercator,
2312
+ lazyOrthographic,
2313
+ lazyPolyconic,
2314
+ lazyQuadrilateralizedSphericalCube,
2315
+ lazyRobinson,
2316
+ lazySinusoidal,
2317
+ lazySwissObliqueMercator,
2318
+ lazyStereographic,
2319
+ lazyObliqueStereographic,
2320
+ lazyTransverseMercator,
2321
+ lazyTiltedPerspective,
2322
+ lazyUniversalTransverseMercator,
2323
+ lazyVanDerGrinten
2324
+ ];
2325
+ var key = (name) => name.toLowerCase().replace(/[\s_-]/g, "");
2326
+ var LazyProjectionEngine = class {
2327
+ constructor(options = {}) {
2328
+ this.options = snapshotEngineOptions(options);
2329
+ this.useDefinitionSignature = !hasCRSOverrides(options);
2330
+ }
2331
+ /** Resolve a CRS and load only its required algorithms before exposing sync conversions. */
2332
+ getCRS(definition, options = {}) {
2333
+ return resolveCRSDescriptor(this, definition, this.options, options, this.useDefinitionSignature, this.options.resolver ? async (input, config) => (await Promise.resolve().then(() => (init_resolve(), resolve_exports))).prepareCRSInput(input, config) : void 0);
2334
+ }
2335
+ createProjection(options = {}) {
2336
+ const config = { ...this.options, ...options };
2337
+ return new ProjectionTransform({
2338
+ ...config,
2339
+ projections: configuredProjections(config)
2340
+ });
2341
+ }
2342
+ async createProjectionAsync(options = {}) {
2343
+ let config = {
2344
+ ...this.options,
2345
+ ...JSON.parse(JSON.stringify(options))
2346
+ };
2347
+ if (config.resolver) {
2348
+ config = await (await Promise.resolve().then(() => (init_resolve(), resolve_exports))).prepareEngineOptions(config);
2349
+ }
2350
+ return ProjectionTransform.create({
2351
+ ...config,
2352
+ projections: configuredProjections(config)
2353
+ });
2354
+ }
2355
+ };
2356
+ var lazyProjectionEngine = new LazyProjectionEngine();
2357
+ function configuredProjections(options) {
2358
+ const children = /* @__PURE__ */ new Map();
2359
+ for (const definition of [options.from ?? "WGS84", options.to ?? "WGS84"]) {
2360
+ const crs = normalizeCRS(definition, options);
2361
+ if (key(crs.projection) !== "obtran")
2362
+ continue;
2363
+ const requested = crs.parameters["o_proj"];
2364
+ if (!requested)
2365
+ throw new Error("Oblique transformation requires +o_proj");
2366
+ const name = key(requested);
2367
+ if (children.has(name))
2368
+ continue;
2369
+ const child = ["longlat", "latlong", "latlon", "lonlat", "identity"].includes(name) ? "longlat" : catalogue.find((p) => [p.name, ...p.aliases || []].some((alias) => key(alias) === name));
2370
+ if (!child)
2371
+ throw new Error("Unknown oblique transformation projection: " + requested);
2372
+ children.set(name, lazyObliqueTransformation(child));
2373
+ }
2374
+ const projections = [...catalogue];
2375
+ if (children.size) {
2376
+ projections.push(createProjectionDescriptor({ name: "ob_tran" }, async () => {
2377
+ const plugins = /* @__PURE__ */ new Map();
2378
+ await Promise.all([...children].map(async ([name, descriptor]) => {
2379
+ plugins.set(name, await preloadProjection(descriptor));
2380
+ }));
2381
+ return {
2382
+ name: "ob_tran",
2383
+ parameters: [...new Set([...plugins.values()].flatMap((p) => p.parameters))],
2384
+ flags: [...new Set([...plugins.values()].flatMap((p) => p.flags || []))],
2385
+ create(context) {
2386
+ const plugin = plugins.get(key(context.parameters["o_proj"] || ""));
2387
+ if (!plugin)
2388
+ throw new Error("Unregistered oblique transformation child");
2389
+ const allowed = /* @__PURE__ */ new Set([...CORE_PARAMETERS, ...plugin.parameters]);
2390
+ for (const parameter of Object.keys(context.parameters)) {
2391
+ if (!allowed.has(parameter))
2392
+ throw new Error("Unsupported PROJ parameter: +" + parameter);
2393
+ }
2394
+ return plugin.create(context);
2395
+ }
2396
+ };
2397
+ }));
2398
+ }
2399
+ return projections;
2400
+ }
2401
+ //# sourceMappingURL=index.cjs.map