@math.gl/projection 0.0.0-stage → 5.0.0-alpha.12

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 (1297) hide show
  1. package/APACHE-2.0-LICENSE.txt +55 -0
  2. package/PROJ-LICENSE.txt +37 -0
  3. package/PROJ4-LICENSE.md +29 -0
  4. package/README.md +27 -2
  5. package/THIRD-PARTY-NOTICES.md +163 -0
  6. package/dist/deformation.cjs +189 -0
  7. package/dist/deformation.cjs.map +6 -0
  8. package/dist/deformation.d.ts +3 -0
  9. package/dist/deformation.d.ts.map +1 -0
  10. package/dist/deformation.js +5 -0
  11. package/dist/deformation.js.map +1 -0
  12. package/dist/experimental/catalogue-kernel.d.ts +7 -0
  13. package/dist/experimental/catalogue-kernel.d.ts.map +1 -0
  14. package/dist/experimental/catalogue-kernel.js +36 -0
  15. package/dist/experimental/catalogue-kernel.js.map +1 -0
  16. package/dist/experimental/common/adjust_lat.d.ts +2 -0
  17. package/dist/experimental/common/adjust_lat.d.ts.map +1 -0
  18. package/dist/experimental/common/adjust_lat.js +10 -0
  19. package/dist/experimental/common/adjust_lat.js.map +1 -0
  20. package/dist/experimental/common/adjust_lon.d.ts +2 -0
  21. package/dist/experimental/common/adjust_lon.d.ts.map +1 -0
  22. package/dist/experimental/common/adjust_lon.js +13 -0
  23. package/dist/experimental/common/adjust_lon.js.map +1 -0
  24. package/dist/experimental/common/asinhy.d.ts +2 -0
  25. package/dist/experimental/common/asinhy.d.ts.map +1 -0
  26. package/dist/experimental/common/asinhy.js +12 -0
  27. package/dist/experimental/common/asinhy.js.map +1 -0
  28. package/dist/experimental/common/asinz.d.ts +2 -0
  29. package/dist/experimental/common/asinz.d.ts.map +1 -0
  30. package/dist/experimental/common/asinz.js +11 -0
  31. package/dist/experimental/common/asinz.js.map +1 -0
  32. package/dist/experimental/common/authlat.d.ts +2 -0
  33. package/dist/experimental/common/authlat.d.ts.map +1 -0
  34. package/dist/experimental/common/authlat.js +9 -0
  35. package/dist/experimental/common/authlat.js.map +1 -0
  36. package/dist/experimental/common/authset.d.ts +2 -0
  37. package/dist/experimental/common/authset.d.ts.map +1 -0
  38. package/dist/experimental/common/authset.js +24 -0
  39. package/dist/experimental/common/authset.js.map +1 -0
  40. package/dist/experimental/common/clens.d.ts +2 -0
  41. package/dist/experimental/common/clens.d.ts.map +1 -0
  42. package/dist/experimental/common/clens.js +18 -0
  43. package/dist/experimental/common/clens.js.map +1 -0
  44. package/dist/experimental/common/clens_cmplx.d.ts +5 -0
  45. package/dist/experimental/common/clens_cmplx.d.ts.map +1 -0
  46. package/dist/experimental/common/clens_cmplx.js +34 -0
  47. package/dist/experimental/common/clens_cmplx.js.map +1 -0
  48. package/dist/experimental/common/constants.d.ts +9 -0
  49. package/dist/experimental/common/constants.d.ts.map +1 -0
  50. package/dist/experimental/common/constants.js +14 -0
  51. package/dist/experimental/common/constants.js.map +1 -0
  52. package/dist/experimental/common/cosh.d.ts +2 -0
  53. package/dist/experimental/common/cosh.d.ts.map +1 -0
  54. package/dist/experimental/common/cosh.js +10 -0
  55. package/dist/experimental/common/cosh.js.map +1 -0
  56. package/dist/experimental/common/e0fn.d.ts +2 -0
  57. package/dist/experimental/common/e0fn.d.ts.map +1 -0
  58. package/dist/experimental/common/e0fn.js +8 -0
  59. package/dist/experimental/common/e0fn.js.map +1 -0
  60. package/dist/experimental/common/e1fn.d.ts +2 -0
  61. package/dist/experimental/common/e1fn.d.ts.map +1 -0
  62. package/dist/experimental/common/e1fn.js +8 -0
  63. package/dist/experimental/common/e1fn.js.map +1 -0
  64. package/dist/experimental/common/e2fn.d.ts +2 -0
  65. package/dist/experimental/common/e2fn.d.ts.map +1 -0
  66. package/dist/experimental/common/e2fn.js +8 -0
  67. package/dist/experimental/common/e2fn.js.map +1 -0
  68. package/dist/experimental/common/e3fn.d.ts +2 -0
  69. package/dist/experimental/common/e3fn.d.ts.map +1 -0
  70. package/dist/experimental/common/e3fn.js +8 -0
  71. package/dist/experimental/common/e3fn.js.map +1 -0
  72. package/dist/experimental/common/fL.d.ts +2 -0
  73. package/dist/experimental/common/fL.d.ts.map +1 -0
  74. package/dist/experimental/common/fL.js +9 -0
  75. package/dist/experimental/common/fL.js.map +1 -0
  76. package/dist/experimental/common/gN.d.ts +2 -0
  77. package/dist/experimental/common/gN.d.ts.map +1 -0
  78. package/dist/experimental/common/gN.js +9 -0
  79. package/dist/experimental/common/gN.js.map +1 -0
  80. package/dist/experimental/common/gatg.d.ts +2 -0
  81. package/dist/experimental/common/gatg.d.ts.map +1 -0
  82. package/dist/experimental/common/gatg.js +18 -0
  83. package/dist/experimental/common/gatg.js.map +1 -0
  84. package/dist/experimental/common/hypot.d.ts +2 -0
  85. package/dist/experimental/common/hypot.d.ts.map +1 -0
  86. package/dist/experimental/common/hypot.js +12 -0
  87. package/dist/experimental/common/hypot.js.map +1 -0
  88. package/dist/experimental/common/imlfn.d.ts +2 -0
  89. package/dist/experimental/common/imlfn.d.ts.map +1 -0
  90. package/dist/experimental/common/imlfn.js +21 -0
  91. package/dist/experimental/common/imlfn.js.map +1 -0
  92. package/dist/experimental/common/invlatiso.d.ts +2 -0
  93. package/dist/experimental/common/invlatiso.d.ts.map +1 -0
  94. package/dist/experimental/common/invlatiso.js +20 -0
  95. package/dist/experimental/common/invlatiso.js.map +1 -0
  96. package/dist/experimental/common/iqsfnz.d.ts +2 -0
  97. package/dist/experimental/common/iqsfnz.d.ts.map +1 -0
  98. package/dist/experimental/common/iqsfnz.js +44 -0
  99. package/dist/experimental/common/iqsfnz.js.map +1 -0
  100. package/dist/experimental/common/latiso.d.ts +2 -0
  101. package/dist/experimental/common/latiso.d.ts.map +1 -0
  102. package/dist/experimental/common/latiso.js +19 -0
  103. package/dist/experimental/common/latiso.js.map +1 -0
  104. package/dist/experimental/common/log1py.d.ts +2 -0
  105. package/dist/experimental/common/log1py.d.ts.map +1 -0
  106. package/dist/experimental/common/log1py.js +10 -0
  107. package/dist/experimental/common/log1py.js.map +1 -0
  108. package/dist/experimental/common/mlfn.d.ts +2 -0
  109. package/dist/experimental/common/mlfn.d.ts.map +1 -0
  110. package/dist/experimental/common/mlfn.js +8 -0
  111. package/dist/experimental/common/mlfn.js.map +1 -0
  112. package/dist/experimental/common/msfnz.d.ts +2 -0
  113. package/dist/experimental/common/msfnz.d.ts.map +1 -0
  114. package/dist/experimental/common/msfnz.js +9 -0
  115. package/dist/experimental/common/msfnz.js.map +1 -0
  116. package/dist/experimental/common/phi2z.d.ts +2 -0
  117. package/dist/experimental/common/phi2z.d.ts.map +1 -0
  118. package/dist/experimental/common/phi2z.js +21 -0
  119. package/dist/experimental/common/phi2z.js.map +1 -0
  120. package/dist/experimental/common/pj_enfn.d.ts +2 -0
  121. package/dist/experimental/common/pj_enfn.d.ts.map +1 -0
  122. package/dist/experimental/common/pj_enfn.js +28 -0
  123. package/dist/experimental/common/pj_enfn.js.map +1 -0
  124. package/dist/experimental/common/pj_inv_mlfn.d.ts +2 -0
  125. package/dist/experimental/common/pj_inv_mlfn.d.ts.map +1 -0
  126. package/dist/experimental/common/pj_inv_mlfn.js +26 -0
  127. package/dist/experimental/common/pj_inv_mlfn.js.map +1 -0
  128. package/dist/experimental/common/pj_mlfn.d.ts +2 -0
  129. package/dist/experimental/common/pj_mlfn.d.ts.map +1 -0
  130. package/dist/experimental/common/pj_mlfn.js +10 -0
  131. package/dist/experimental/common/pj_mlfn.js.map +1 -0
  132. package/dist/experimental/common/qsfnz.d.ts +2 -0
  133. package/dist/experimental/common/qsfnz.d.ts.map +1 -0
  134. package/dist/experimental/common/qsfnz.js +16 -0
  135. package/dist/experimental/common/qsfnz.js.map +1 -0
  136. package/dist/experimental/common/sign.d.ts +2 -0
  137. package/dist/experimental/common/sign.d.ts.map +1 -0
  138. package/dist/experimental/common/sign.js +8 -0
  139. package/dist/experimental/common/sign.js.map +1 -0
  140. package/dist/experimental/common/sinh.d.ts +2 -0
  141. package/dist/experimental/common/sinh.d.ts.map +1 -0
  142. package/dist/experimental/common/sinh.js +10 -0
  143. package/dist/experimental/common/sinh.js.map +1 -0
  144. package/dist/experimental/common/srat.d.ts +2 -0
  145. package/dist/experimental/common/srat.d.ts.map +1 -0
  146. package/dist/experimental/common/srat.js +8 -0
  147. package/dist/experimental/common/srat.js.map +1 -0
  148. package/dist/experimental/common/tsfnz.d.ts +2 -0
  149. package/dist/experimental/common/tsfnz.d.ts.map +1 -0
  150. package/dist/experimental/common/tsfnz.js +12 -0
  151. package/dist/experimental/common/tsfnz.js.map +1 -0
  152. package/dist/experimental/common/vincenty.d.ts +29 -0
  153. package/dist/experimental/common/vincenty.d.ts.map +1 -0
  154. package/dist/experimental/common/vincenty.js +134 -0
  155. package/dist/experimental/common/vincenty.js.map +1 -0
  156. package/dist/experimental/core.cjs +2868 -0
  157. package/dist/experimental/core.cjs.map +6 -0
  158. package/dist/experimental/core.d.ts +13 -0
  159. package/dist/experimental/core.d.ts.map +1 -0
  160. package/dist/experimental/core.js +9 -0
  161. package/dist/experimental/core.js.map +1 -0
  162. package/dist/experimental/crs/datum-table.d.ts +8 -0
  163. package/dist/experimental/crs/datum-table.d.ts.map +1 -0
  164. package/dist/experimental/crs/datum-table.js +1365 -0
  165. package/dist/experimental/crs/datum-table.js.map +1 -0
  166. package/dist/experimental/crs/ellipsoid-table.d.ts +8 -0
  167. package/dist/experimental/crs/ellipsoid-table.d.ts.map +1 -0
  168. package/dist/experimental/crs/ellipsoid-table.js +229 -0
  169. package/dist/experimental/crs/ellipsoid-table.js.map +1 -0
  170. package/dist/experimental/crs/normalize.d.ts +8 -0
  171. package/dist/experimental/crs/normalize.d.ts.map +1 -0
  172. package/dist/experimental/crs/normalize.js +277 -0
  173. package/dist/experimental/crs/normalize.js.map +1 -0
  174. package/dist/experimental/crs/primemeridian-table.d.ts +3 -0
  175. package/dist/experimental/crs/primemeridian-table.d.ts.map +1 -0
  176. package/dist/experimental/crs/primemeridian-table.js +20 -0
  177. package/dist/experimental/crs/primemeridian-table.js.map +1 -0
  178. package/dist/experimental/crs/projjson.cjs +1847 -0
  179. package/dist/experimental/crs/projjson.cjs.map +6 -0
  180. package/dist/experimental/crs/projjson.d.ts +4 -0
  181. package/dist/experimental/crs/projjson.d.ts.map +1 -0
  182. package/dist/experimental/crs/projjson.js +12 -0
  183. package/dist/experimental/crs/projjson.js.map +1 -0
  184. package/dist/experimental/crs/spatial-reference.d.ts +11 -0
  185. package/dist/experimental/crs/spatial-reference.d.ts.map +1 -0
  186. package/dist/experimental/crs/spatial-reference.js +91 -0
  187. package/dist/experimental/crs/spatial-reference.js.map +1 -0
  188. package/dist/experimental/crs/structured.d.ts +8 -0
  189. package/dist/experimental/crs/structured.d.ts.map +1 -0
  190. package/dist/experimental/crs/structured.js +481 -0
  191. package/dist/experimental/crs/structured.js.map +1 -0
  192. package/dist/experimental/crs/types.d.ts +58 -0
  193. package/dist/experimental/crs/types.d.ts.map +1 -0
  194. package/dist/experimental/crs/types.js +21 -0
  195. package/dist/experimental/crs/types.js.map +1 -0
  196. package/dist/experimental/crs/units-table.d.ts +64 -0
  197. package/dist/experimental/crs/units-table.d.ts.map +1 -0
  198. package/dist/experimental/crs/units-table.js +27 -0
  199. package/dist/experimental/crs/units-table.js.map +1 -0
  200. package/dist/experimental/crs/wkt.cjs +2507 -0
  201. package/dist/experimental/crs/wkt.cjs.map +6 -0
  202. package/dist/experimental/crs/wkt.d.ts +3 -0
  203. package/dist/experimental/crs/wkt.d.ts.map +1 -0
  204. package/dist/experimental/crs/wkt.js +181 -0
  205. package/dist/experimental/crs/wkt.js.map +1 -0
  206. package/dist/experimental/datum.d.ts +17 -0
  207. package/dist/experimental/datum.d.ts.map +1 -0
  208. package/dist/experimental/datum.js +160 -0
  209. package/dist/experimental/datum.js.map +1 -0
  210. package/dist/experimental/deformation.d.ts +25 -0
  211. package/dist/experimental/deformation.d.ts.map +1 -0
  212. package/dist/experimental/deformation.js +98 -0
  213. package/dist/experimental/deformation.js.map +1 -0
  214. package/dist/experimental/entries/projections/aea.cjs +367 -0
  215. package/dist/experimental/entries/projections/aea.cjs.map +6 -0
  216. package/dist/experimental/entries/projections/aea.d.ts +2 -0
  217. package/dist/experimental/entries/projections/aea.d.ts.map +1 -0
  218. package/dist/experimental/entries/projections/aea.js +5 -0
  219. package/dist/experimental/entries/projections/aea.js.map +1 -0
  220. package/dist/experimental/entries/projections/aeqd.cjs +461 -0
  221. package/dist/experimental/entries/projections/aeqd.cjs.map +6 -0
  222. package/dist/experimental/entries/projections/aeqd.d.ts +2 -0
  223. package/dist/experimental/entries/projections/aeqd.d.ts.map +1 -0
  224. package/dist/experimental/entries/projections/aeqd.js +5 -0
  225. package/dist/experimental/entries/projections/aeqd.js.map +1 -0
  226. package/dist/experimental/entries/projections/bonne.cjs +359 -0
  227. package/dist/experimental/entries/projections/bonne.cjs.map +6 -0
  228. package/dist/experimental/entries/projections/bonne.d.ts +2 -0
  229. package/dist/experimental/entries/projections/bonne.d.ts.map +1 -0
  230. package/dist/experimental/entries/projections/bonne.js +5 -0
  231. package/dist/experimental/entries/projections/bonne.js.map +1 -0
  232. package/dist/experimental/entries/projections/cass.cjs +347 -0
  233. package/dist/experimental/entries/projections/cass.cjs.map +6 -0
  234. package/dist/experimental/entries/projections/cass.d.ts +2 -0
  235. package/dist/experimental/entries/projections/cass.d.ts.map +1 -0
  236. package/dist/experimental/entries/projections/cass.js +5 -0
  237. package/dist/experimental/entries/projections/cass.js.map +1 -0
  238. package/dist/experimental/entries/projections/cea.cjs +283 -0
  239. package/dist/experimental/entries/projections/cea.cjs.map +6 -0
  240. package/dist/experimental/entries/projections/cea.d.ts +2 -0
  241. package/dist/experimental/entries/projections/cea.d.ts.map +1 -0
  242. package/dist/experimental/entries/projections/cea.js +5 -0
  243. package/dist/experimental/entries/projections/cea.js.map +1 -0
  244. package/dist/experimental/entries/projections/eck6.cjs +306 -0
  245. package/dist/experimental/entries/projections/eck6.cjs.map +6 -0
  246. package/dist/experimental/entries/projections/eck6.d.ts +2 -0
  247. package/dist/experimental/entries/projections/eck6.d.ts.map +1 -0
  248. package/dist/experimental/entries/projections/eck6.js +5 -0
  249. package/dist/experimental/entries/projections/eck6.js.map +1 -0
  250. package/dist/experimental/entries/projections/eqc.cjs +119 -0
  251. package/dist/experimental/entries/projections/eqc.cjs.map +6 -0
  252. package/dist/experimental/entries/projections/eqc.d.ts +2 -0
  253. package/dist/experimental/entries/projections/eqc.d.ts.map +1 -0
  254. package/dist/experimental/entries/projections/eqc.js +5 -0
  255. package/dist/experimental/entries/projections/eqc.js.map +1 -0
  256. package/dist/experimental/entries/projections/eqdc.cjs +377 -0
  257. package/dist/experimental/entries/projections/eqdc.cjs.map +6 -0
  258. package/dist/experimental/entries/projections/eqdc.d.ts +2 -0
  259. package/dist/experimental/entries/projections/eqdc.d.ts.map +1 -0
  260. package/dist/experimental/entries/projections/eqdc.js +5 -0
  261. package/dist/experimental/entries/projections/eqdc.js.map +1 -0
  262. package/dist/experimental/entries/projections/eqearth.cjs +292 -0
  263. package/dist/experimental/entries/projections/eqearth.cjs.map +6 -0
  264. package/dist/experimental/entries/projections/eqearth.d.ts +2 -0
  265. package/dist/experimental/entries/projections/eqearth.d.ts.map +1 -0
  266. package/dist/experimental/entries/projections/eqearth.js +5 -0
  267. package/dist/experimental/entries/projections/eqearth.js.map +1 -0
  268. package/dist/experimental/entries/projections/equi.cjs +222 -0
  269. package/dist/experimental/entries/projections/equi.cjs.map +6 -0
  270. package/dist/experimental/entries/projections/equi.d.ts +2 -0
  271. package/dist/experimental/entries/projections/equi.d.ts.map +1 -0
  272. package/dist/experimental/entries/projections/equi.js +5 -0
  273. package/dist/experimental/entries/projections/equi.js.map +1 -0
  274. package/dist/experimental/entries/projections/etmerc.cjs +618 -0
  275. package/dist/experimental/entries/projections/etmerc.cjs.map +6 -0
  276. package/dist/experimental/entries/projections/etmerc.d.ts +2 -0
  277. package/dist/experimental/entries/projections/etmerc.d.ts.map +1 -0
  278. package/dist/experimental/entries/projections/etmerc.js +5 -0
  279. package/dist/experimental/entries/projections/etmerc.js.map +1 -0
  280. package/dist/experimental/entries/projections/geocent.cjs +161 -0
  281. package/dist/experimental/entries/projections/geocent.cjs.map +6 -0
  282. package/dist/experimental/entries/projections/geocent.d.ts +2 -0
  283. package/dist/experimental/entries/projections/geocent.d.ts.map +1 -0
  284. package/dist/experimental/entries/projections/geocent.js +5 -0
  285. package/dist/experimental/entries/projections/geocent.js.map +1 -0
  286. package/dist/experimental/entries/projections/geos.cjs +328 -0
  287. package/dist/experimental/entries/projections/geos.cjs.map +6 -0
  288. package/dist/experimental/entries/projections/geos.d.ts +2 -0
  289. package/dist/experimental/entries/projections/geos.d.ts.map +1 -0
  290. package/dist/experimental/entries/projections/geos.js +5 -0
  291. package/dist/experimental/entries/projections/geos.js.map +1 -0
  292. package/dist/experimental/entries/projections/gnom.cjs +274 -0
  293. package/dist/experimental/entries/projections/gnom.cjs.map +6 -0
  294. package/dist/experimental/entries/projections/gnom.d.ts +2 -0
  295. package/dist/experimental/entries/projections/gnom.d.ts.map +1 -0
  296. package/dist/experimental/entries/projections/gnom.js +5 -0
  297. package/dist/experimental/entries/projections/gnom.js.map +1 -0
  298. package/dist/experimental/entries/projections/gstmerc.cjs +266 -0
  299. package/dist/experimental/entries/projections/gstmerc.cjs.map +6 -0
  300. package/dist/experimental/entries/projections/gstmerc.d.ts +2 -0
  301. package/dist/experimental/entries/projections/gstmerc.d.ts.map +1 -0
  302. package/dist/experimental/entries/projections/gstmerc.js +5 -0
  303. package/dist/experimental/entries/projections/gstmerc.js.map +1 -0
  304. package/dist/experimental/entries/projections/krovak.cjs +301 -0
  305. package/dist/experimental/entries/projections/krovak.cjs.map +6 -0
  306. package/dist/experimental/entries/projections/krovak.d.ts +2 -0
  307. package/dist/experimental/entries/projections/krovak.d.ts.map +1 -0
  308. package/dist/experimental/entries/projections/krovak.js +5 -0
  309. package/dist/experimental/entries/projections/krovak.js.map +1 -0
  310. package/dist/experimental/entries/projections/laea.cjs +477 -0
  311. package/dist/experimental/entries/projections/laea.cjs.map +6 -0
  312. package/dist/experimental/entries/projections/laea.d.ts +2 -0
  313. package/dist/experimental/entries/projections/laea.d.ts.map +1 -0
  314. package/dist/experimental/entries/projections/laea.js +5 -0
  315. package/dist/experimental/entries/projections/laea.js.map +1 -0
  316. package/dist/experimental/entries/projections/lcc.cjs +368 -0
  317. package/dist/experimental/entries/projections/lcc.cjs.map +6 -0
  318. package/dist/experimental/entries/projections/lcc.d.ts +2 -0
  319. package/dist/experimental/entries/projections/lcc.d.ts.map +1 -0
  320. package/dist/experimental/entries/projections/lcc.js +5 -0
  321. package/dist/experimental/entries/projections/lcc.js.map +1 -0
  322. package/dist/experimental/entries/projections/merc.cjs +201 -0
  323. package/dist/experimental/entries/projections/merc.cjs.map +6 -0
  324. package/dist/experimental/entries/projections/merc.d.ts +2 -0
  325. package/dist/experimental/entries/projections/merc.d.ts.map +1 -0
  326. package/dist/experimental/entries/projections/merc.js +5 -0
  327. package/dist/experimental/entries/projections/merc.js.map +1 -0
  328. package/dist/experimental/entries/projections/mill.cjs +217 -0
  329. package/dist/experimental/entries/projections/mill.cjs.map +6 -0
  330. package/dist/experimental/entries/projections/mill.d.ts +2 -0
  331. package/dist/experimental/entries/projections/mill.d.ts.map +1 -0
  332. package/dist/experimental/entries/projections/mill.js +5 -0
  333. package/dist/experimental/entries/projections/mill.js.map +1 -0
  334. package/dist/experimental/entries/projections/moll.cjs +257 -0
  335. package/dist/experimental/entries/projections/moll.cjs.map +6 -0
  336. package/dist/experimental/entries/projections/moll.d.ts +2 -0
  337. package/dist/experimental/entries/projections/moll.d.ts.map +1 -0
  338. package/dist/experimental/entries/projections/moll.js +5 -0
  339. package/dist/experimental/entries/projections/moll.js.map +1 -0
  340. package/dist/experimental/entries/projections/nzmg.cjs +346 -0
  341. package/dist/experimental/entries/projections/nzmg.cjs.map +6 -0
  342. package/dist/experimental/entries/projections/nzmg.d.ts +2 -0
  343. package/dist/experimental/entries/projections/nzmg.d.ts.map +1 -0
  344. package/dist/experimental/entries/projections/nzmg.js +5 -0
  345. package/dist/experimental/entries/projections/nzmg.js.map +1 -0
  346. package/dist/experimental/entries/projections/ob_tran.cjs +233 -0
  347. package/dist/experimental/entries/projections/ob_tran.cjs.map +6 -0
  348. package/dist/experimental/entries/projections/ob_tran.d.ts +2 -0
  349. package/dist/experimental/entries/projections/ob_tran.d.ts.map +1 -0
  350. package/dist/experimental/entries/projections/ob_tran.js +5 -0
  351. package/dist/experimental/entries/projections/ob_tran.js.map +1 -0
  352. package/dist/experimental/entries/projections/omerc.cjs +479 -0
  353. package/dist/experimental/entries/projections/omerc.cjs.map +6 -0
  354. package/dist/experimental/entries/projections/omerc.d.ts +2 -0
  355. package/dist/experimental/entries/projections/omerc.d.ts.map +1 -0
  356. package/dist/experimental/entries/projections/omerc.js +5 -0
  357. package/dist/experimental/entries/projections/omerc.js.map +1 -0
  358. package/dist/experimental/entries/projections/ortho.cjs +276 -0
  359. package/dist/experimental/entries/projections/ortho.cjs.map +6 -0
  360. package/dist/experimental/entries/projections/ortho.d.ts +2 -0
  361. package/dist/experimental/entries/projections/ortho.d.ts.map +1 -0
  362. package/dist/experimental/entries/projections/ortho.js +5 -0
  363. package/dist/experimental/entries/projections/ortho.js.map +1 -0
  364. package/dist/experimental/entries/projections/poly.cjs +326 -0
  365. package/dist/experimental/entries/projections/poly.cjs.map +6 -0
  366. package/dist/experimental/entries/projections/poly.d.ts +2 -0
  367. package/dist/experimental/entries/projections/poly.d.ts.map +1 -0
  368. package/dist/experimental/entries/projections/poly.js +5 -0
  369. package/dist/experimental/entries/projections/poly.js.map +1 -0
  370. package/dist/experimental/entries/projections/qsc.cjs +455 -0
  371. package/dist/experimental/entries/projections/qsc.cjs.map +6 -0
  372. package/dist/experimental/entries/projections/qsc.d.ts +2 -0
  373. package/dist/experimental/entries/projections/qsc.d.ts.map +1 -0
  374. package/dist/experimental/entries/projections/qsc.js +5 -0
  375. package/dist/experimental/entries/projections/qsc.js.map +1 -0
  376. package/dist/experimental/entries/projections/robin.cjs +331 -0
  377. package/dist/experimental/entries/projections/robin.cjs.map +6 -0
  378. package/dist/experimental/entries/projections/robin.d.ts +2 -0
  379. package/dist/experimental/entries/projections/robin.d.ts.map +1 -0
  380. package/dist/experimental/entries/projections/robin.js +5 -0
  381. package/dist/experimental/entries/projections/robin.js.map +1 -0
  382. package/dist/experimental/entries/projections/sinu.cjs +330 -0
  383. package/dist/experimental/entries/projections/sinu.cjs.map +6 -0
  384. package/dist/experimental/entries/projections/sinu.d.ts +2 -0
  385. package/dist/experimental/entries/projections/sinu.d.ts.map +1 -0
  386. package/dist/experimental/entries/projections/sinu.js +5 -0
  387. package/dist/experimental/entries/projections/sinu.js.map +1 -0
  388. package/dist/experimental/entries/projections/somerc.cjs +228 -0
  389. package/dist/experimental/entries/projections/somerc.cjs.map +6 -0
  390. package/dist/experimental/entries/projections/somerc.d.ts +2 -0
  391. package/dist/experimental/entries/projections/somerc.d.ts.map +1 -0
  392. package/dist/experimental/entries/projections/somerc.js +5 -0
  393. package/dist/experimental/entries/projections/somerc.js.map +1 -0
  394. package/dist/experimental/entries/projections/stere.cjs +379 -0
  395. package/dist/experimental/entries/projections/stere.cjs.map +6 -0
  396. package/dist/experimental/entries/projections/stere.d.ts +2 -0
  397. package/dist/experimental/entries/projections/stere.d.ts.map +1 -0
  398. package/dist/experimental/entries/projections/stere.js +5 -0
  399. package/dist/experimental/entries/projections/stere.js.map +1 -0
  400. package/dist/experimental/entries/projections/sterea.cjs +328 -0
  401. package/dist/experimental/entries/projections/sterea.cjs.map +6 -0
  402. package/dist/experimental/entries/projections/sterea.d.ts +2 -0
  403. package/dist/experimental/entries/projections/sterea.d.ts.map +1 -0
  404. package/dist/experimental/entries/projections/sterea.js +5 -0
  405. package/dist/experimental/entries/projections/sterea.js.map +1 -0
  406. package/dist/experimental/entries/projections/tmerc.cjs +618 -0
  407. package/dist/experimental/entries/projections/tmerc.cjs.map +6 -0
  408. package/dist/experimental/entries/projections/tmerc.d.ts +2 -0
  409. package/dist/experimental/entries/projections/tmerc.d.ts.map +1 -0
  410. package/dist/experimental/entries/projections/tmerc.js +5 -0
  411. package/dist/experimental/entries/projections/tmerc.js.map +1 -0
  412. package/dist/experimental/entries/projections/tpers.cjs +340 -0
  413. package/dist/experimental/entries/projections/tpers.cjs.map +6 -0
  414. package/dist/experimental/entries/projections/tpers.d.ts +2 -0
  415. package/dist/experimental/entries/projections/tpers.d.ts.map +1 -0
  416. package/dist/experimental/entries/projections/tpers.js +5 -0
  417. package/dist/experimental/entries/projections/tpers.js.map +1 -0
  418. package/dist/experimental/entries/projections/utm.cjs +644 -0
  419. package/dist/experimental/entries/projections/utm.cjs.map +6 -0
  420. package/dist/experimental/entries/projections/utm.d.ts +2 -0
  421. package/dist/experimental/entries/projections/utm.d.ts.map +1 -0
  422. package/dist/experimental/entries/projections/utm.js +5 -0
  423. package/dist/experimental/entries/projections/utm.js.map +1 -0
  424. package/dist/experimental/entries/projections/vandg.cjs +301 -0
  425. package/dist/experimental/entries/projections/vandg.cjs.map +6 -0
  426. package/dist/experimental/entries/projections/vandg.d.ts +2 -0
  427. package/dist/experimental/entries/projections/vandg.d.ts.map +1 -0
  428. package/dist/experimental/entries/projections/vandg.js +5 -0
  429. package/dist/experimental/entries/projections/vandg.js.map +1 -0
  430. package/dist/experimental/exact-helmert.d.ts +9 -0
  431. package/dist/experimental/exact-helmert.d.ts.map +1 -0
  432. package/dist/experimental/exact-helmert.js +32 -0
  433. package/dist/experimental/exact-helmert.js.map +1 -0
  434. package/dist/experimental/flat-projection.d.ts +13 -0
  435. package/dist/experimental/flat-projection.d.ts.map +1 -0
  436. package/dist/experimental/flat-projection.js +61 -0
  437. package/dist/experimental/flat-projection.js.map +1 -0
  438. package/dist/experimental/grids/geotiff.cjs +180 -0
  439. package/dist/experimental/grids/geotiff.cjs.map +6 -0
  440. package/dist/experimental/grids/geotiff.d.ts +23 -0
  441. package/dist/experimental/grids/geotiff.d.ts.map +1 -0
  442. package/dist/experimental/grids/geotiff.js +59 -0
  443. package/dist/experimental/grids/geotiff.js.map +1 -0
  444. package/dist/experimental/grids/grid.d.ts +4 -0
  445. package/dist/experimental/grids/grid.d.ts.map +1 -0
  446. package/dist/experimental/grids/grid.js +111 -0
  447. package/dist/experimental/grids/grid.js.map +1 -0
  448. package/dist/experimental/grids/gtx.cjs +91 -0
  449. package/dist/experimental/grids/gtx.cjs.map +6 -0
  450. package/dist/experimental/grids/gtx.d.ts +7 -0
  451. package/dist/experimental/grids/gtx.d.ts.map +1 -0
  452. package/dist/experimental/grids/gtx.js +30 -0
  453. package/dist/experimental/grids/gtx.js.map +1 -0
  454. package/dist/experimental/grids/ntv2.cjs +181 -0
  455. package/dist/experimental/grids/ntv2.cjs.map +6 -0
  456. package/dist/experimental/grids/ntv2.d.ts +8 -0
  457. package/dist/experimental/grids/ntv2.d.ts.map +1 -0
  458. package/dist/experimental/grids/ntv2.js +56 -0
  459. package/dist/experimental/grids/ntv2.js.map +1 -0
  460. package/dist/experimental/grids/scalar-geotiff.d.ts +58 -0
  461. package/dist/experimental/grids/scalar-geotiff.d.ts.map +1 -0
  462. package/dist/experimental/grids/scalar-geotiff.js +147 -0
  463. package/dist/experimental/grids/scalar-geotiff.js.map +1 -0
  464. package/dist/experimental/grids/types.d.ts +35 -0
  465. package/dist/experimental/grids/types.d.ts.map +1 -0
  466. package/dist/experimental/grids/types.js +2 -0
  467. package/dist/experimental/grids/types.js.map +1 -0
  468. package/dist/experimental/grids/velocity-geotiff.cjs +247 -0
  469. package/dist/experimental/grids/velocity-geotiff.cjs.map +6 -0
  470. package/dist/experimental/grids/velocity-geotiff.d.ts +11 -0
  471. package/dist/experimental/grids/velocity-geotiff.d.ts.map +1 -0
  472. package/dist/experimental/grids/velocity-geotiff.js +61 -0
  473. package/dist/experimental/grids/velocity-geotiff.js.map +1 -0
  474. package/dist/experimental/grids/velocity.d.ts +21 -0
  475. package/dist/experimental/grids/velocity.d.ts.map +1 -0
  476. package/dist/experimental/grids/velocity.js +29 -0
  477. package/dist/experimental/grids/velocity.js.map +1 -0
  478. package/dist/experimental/grids/vertical-geotiff.cjs +195 -0
  479. package/dist/experimental/grids/vertical-geotiff.cjs.map +6 -0
  480. package/dist/experimental/grids/vertical-geotiff.d.ts +6 -0
  481. package/dist/experimental/grids/vertical-geotiff.d.ts.map +1 -0
  482. package/dist/experimental/grids/vertical-geotiff.js +20 -0
  483. package/dist/experimental/grids/vertical-geotiff.js.map +1 -0
  484. package/dist/experimental/grids/vertical.cjs +80 -0
  485. package/dist/experimental/grids/vertical.cjs.map +6 -0
  486. package/dist/experimental/grids/vertical.d.ts +22 -0
  487. package/dist/experimental/grids/vertical.d.ts.map +1 -0
  488. package/dist/experimental/grids/vertical.js +73 -0
  489. package/dist/experimental/grids/vertical.js.map +1 -0
  490. package/dist/experimental/helmert-flat.d.ts +4 -0
  491. package/dist/experimental/helmert-flat.d.ts.map +1 -0
  492. package/dist/experimental/helmert-flat.js +53 -0
  493. package/dist/experimental/helmert-flat.js.map +1 -0
  494. package/dist/experimental/index.cjs +10062 -0
  495. package/dist/experimental/index.cjs.map +6 -0
  496. package/dist/experimental/index.d.ts +49 -0
  497. package/dist/experimental/index.d.ts.map +1 -0
  498. package/dist/experimental/index.js +48 -0
  499. package/dist/experimental/index.js.map +1 -0
  500. package/dist/experimental/kernel.d.ts +36 -0
  501. package/dist/experimental/kernel.d.ts.map +1 -0
  502. package/dist/experimental/kernel.js +80 -0
  503. package/dist/experimental/kernel.js.map +1 -0
  504. package/dist/experimental/kernels/aea.d.ts +25 -0
  505. package/dist/experimental/kernels/aea.d.ts.map +1 -0
  506. package/dist/experimental/kernels/aea.js +136 -0
  507. package/dist/experimental/kernels/aea.js.map +1 -0
  508. package/dist/experimental/kernels/aeqd.d.ts +10 -0
  509. package/dist/experimental/kernels/aeqd.d.ts.map +1 -0
  510. package/dist/experimental/kernels/aeqd.js +176 -0
  511. package/dist/experimental/kernels/aeqd.js.map +1 -0
  512. package/dist/experimental/kernels/bonne.d.ts +12 -0
  513. package/dist/experimental/kernels/bonne.d.ts.map +1 -0
  514. package/dist/experimental/kernels/bonne.js +128 -0
  515. package/dist/experimental/kernels/bonne.js.map +1 -0
  516. package/dist/experimental/kernels/cass.d.ts +10 -0
  517. package/dist/experimental/kernels/cass.d.ts.map +1 -0
  518. package/dist/experimental/kernels/cass.js +122 -0
  519. package/dist/experimental/kernels/cass.js.map +1 -0
  520. package/dist/experimental/kernels/cea.d.ts +6 -0
  521. package/dist/experimental/kernels/cea.d.ts.map +1 -0
  522. package/dist/experimental/kernels/cea.js +63 -0
  523. package/dist/experimental/kernels/cea.js.map +1 -0
  524. package/dist/experimental/kernels/eck6.d.ts +13 -0
  525. package/dist/experimental/kernels/eck6.d.ts.map +1 -0
  526. package/dist/experimental/kernels/eck6.js +23 -0
  527. package/dist/experimental/kernels/eck6.js.map +1 -0
  528. package/dist/experimental/kernels/eqdc.d.ts +19 -0
  529. package/dist/experimental/kernels/eqdc.d.ts.map +1 -0
  530. package/dist/experimental/kernels/eqdc.js +117 -0
  531. package/dist/experimental/kernels/eqdc.js.map +1 -0
  532. package/dist/experimental/kernels/eqearth.d.ts +10 -0
  533. package/dist/experimental/kernels/eqearth.d.ts.map +1 -0
  534. package/dist/experimental/kernels/eqearth.js +103 -0
  535. package/dist/experimental/kernels/eqearth.js.map +1 -0
  536. package/dist/experimental/kernels/equi.d.ts +9 -0
  537. package/dist/experimental/kernels/equi.d.ts.map +1 -0
  538. package/dist/experimental/kernels/equi.js +41 -0
  539. package/dist/experimental/kernels/equi.js.map +1 -0
  540. package/dist/experimental/kernels/etmerc.d.ts +13 -0
  541. package/dist/experimental/kernels/etmerc.d.ts.map +1 -0
  542. package/dist/experimental/kernels/etmerc.js +145 -0
  543. package/dist/experimental/kernels/etmerc.js.map +1 -0
  544. package/dist/experimental/kernels/gauss.d.ts +12 -0
  545. package/dist/experimental/kernels/gauss.d.ts.map +1 -0
  546. package/dist/experimental/kernels/gauss.js +64 -0
  547. package/dist/experimental/kernels/gauss.js.map +1 -0
  548. package/dist/experimental/kernels/geos.d.ts +17 -0
  549. package/dist/experimental/kernels/geos.d.ts.map +1 -0
  550. package/dist/experimental/kernels/geos.js +153 -0
  551. package/dist/experimental/kernels/geos.js.map +1 -0
  552. package/dist/experimental/kernels/gnom.d.ts +12 -0
  553. package/dist/experimental/kernels/gnom.d.ts.map +1 -0
  554. package/dist/experimental/kernels/gnom.js +95 -0
  555. package/dist/experimental/kernels/gnom.js.map +1 -0
  556. package/dist/experimental/kernels/gstmerc.d.ts +13 -0
  557. package/dist/experimental/kernels/gstmerc.d.ts.map +1 -0
  558. package/dist/experimental/kernels/gstmerc.js +57 -0
  559. package/dist/experimental/kernels/gstmerc.js.map +1 -0
  560. package/dist/experimental/kernels/krovak.d.ts +23 -0
  561. package/dist/experimental/kernels/krovak.d.ts.map +1 -0
  562. package/dist/experimental/kernels/krovak.js +128 -0
  563. package/dist/experimental/kernels/krovak.js.map +1 -0
  564. package/dist/experimental/kernels/laea.d.ts +23 -0
  565. package/dist/experimental/kernels/laea.d.ts.map +1 -0
  566. package/dist/experimental/kernels/laea.js +278 -0
  567. package/dist/experimental/kernels/laea.js.map +1 -0
  568. package/dist/experimental/kernels/lcc.d.ts +10 -0
  569. package/dist/experimental/kernels/lcc.d.ts.map +1 -0
  570. package/dist/experimental/kernels/lcc.js +131 -0
  571. package/dist/experimental/kernels/lcc.js.map +1 -0
  572. package/dist/experimental/kernels/mill.d.ts +6 -0
  573. package/dist/experimental/kernels/mill.d.ts.map +1 -0
  574. package/dist/experimental/kernels/mill.js +49 -0
  575. package/dist/experimental/kernels/mill.js.map +1 -0
  576. package/dist/experimental/kernels/moll.d.ts +6 -0
  577. package/dist/experimental/kernels/moll.d.ts.map +1 -0
  578. package/dist/experimental/kernels/moll.js +89 -0
  579. package/dist/experimental/kernels/moll.js.map +1 -0
  580. package/dist/experimental/kernels/nzmg.d.ts +28 -0
  581. package/dist/experimental/kernels/nzmg.d.ts.map +1 -0
  582. package/dist/experimental/kernels/nzmg.js +209 -0
  583. package/dist/experimental/kernels/nzmg.js.map +1 -0
  584. package/dist/experimental/kernels/omerc.d.ts +30 -0
  585. package/dist/experimental/kernels/omerc.d.ts.map +1 -0
  586. package/dist/experimental/kernels/omerc.js +260 -0
  587. package/dist/experimental/kernels/omerc.js.map +1 -0
  588. package/dist/experimental/kernels/ortho.d.ts +9 -0
  589. package/dist/experimental/kernels/ortho.d.ts.map +1 -0
  590. package/dist/experimental/kernels/ortho.js +91 -0
  591. package/dist/experimental/kernels/ortho.js.map +1 -0
  592. package/dist/experimental/kernels/poly.d.ts +13 -0
  593. package/dist/experimental/kernels/poly.d.ts.map +1 -0
  594. package/dist/experimental/kernels/poly.js +141 -0
  595. package/dist/experimental/kernels/poly.js.map +1 -0
  596. package/dist/experimental/kernels/qsc.d.ts +10 -0
  597. package/dist/experimental/kernels/qsc.d.ts.map +1 -0
  598. package/dist/experimental/kernels/qsc.js +379 -0
  599. package/dist/experimental/kernels/qsc.js.map +1 -0
  600. package/dist/experimental/kernels/robin.d.ts +6 -0
  601. package/dist/experimental/kernels/robin.d.ts.map +1 -0
  602. package/dist/experimental/kernels/robin.js +166 -0
  603. package/dist/experimental/kernels/robin.js.map +1 -0
  604. package/dist/experimental/kernels/sinu.d.ts +12 -0
  605. package/dist/experimental/kernels/sinu.d.ts.map +1 -0
  606. package/dist/experimental/kernels/sinu.js +104 -0
  607. package/dist/experimental/kernels/sinu.js.map +1 -0
  608. package/dist/experimental/kernels/somerc.d.ts +13 -0
  609. package/dist/experimental/kernels/somerc.d.ts.map +1 -0
  610. package/dist/experimental/kernels/somerc.js +81 -0
  611. package/dist/experimental/kernels/somerc.js.map +1 -0
  612. package/dist/experimental/kernels/stere.d.ts +15 -0
  613. package/dist/experimental/kernels/stere.d.ts.map +1 -0
  614. package/dist/experimental/kernels/stere.js +195 -0
  615. package/dist/experimental/kernels/stere.js.map +1 -0
  616. package/dist/experimental/kernels/sterea.d.ts +11 -0
  617. package/dist/experimental/kernels/sterea.d.ts.map +1 -0
  618. package/dist/experimental/kernels/sterea.js +65 -0
  619. package/dist/experimental/kernels/sterea.js.map +1 -0
  620. package/dist/experimental/kernels/tmerc.d.ts +9 -0
  621. package/dist/experimental/kernels/tmerc.d.ts.map +1 -0
  622. package/dist/experimental/kernels/tmerc.js +201 -0
  623. package/dist/experimental/kernels/tmerc.js.map +1 -0
  624. package/dist/experimental/kernels/tpers.d.ts +22 -0
  625. package/dist/experimental/kernels/tpers.d.ts.map +1 -0
  626. package/dist/experimental/kernels/tpers.js +156 -0
  627. package/dist/experimental/kernels/tpers.js.map +1 -0
  628. package/dist/experimental/kernels/vandg.d.ts +8 -0
  629. package/dist/experimental/kernels/vandg.d.ts.map +1 -0
  630. package/dist/experimental/kernels/vandg.js +132 -0
  631. package/dist/experimental/kernels/vandg.js.map +1 -0
  632. package/dist/experimental/kinematic-helmert-flat.d.ts +4 -0
  633. package/dist/experimental/kinematic-helmert-flat.d.ts.map +1 -0
  634. package/dist/experimental/kinematic-helmert-flat.js +60 -0
  635. package/dist/experimental/kinematic-helmert-flat.js.map +1 -0
  636. package/dist/experimental/kinematic-helmert.d.ts +11 -0
  637. package/dist/experimental/kinematic-helmert.d.ts.map +1 -0
  638. package/dist/experimental/kinematic-helmert.js +103 -0
  639. package/dist/experimental/kinematic-helmert.js.map +1 -0
  640. package/dist/experimental/lazy-projection.d.ts +11 -0
  641. package/dist/experimental/lazy-projection.d.ts.map +1 -0
  642. package/dist/experimental/lazy-projection.js +138 -0
  643. package/dist/experimental/lazy-projection.js.map +1 -0
  644. package/dist/experimental/lazy-projections/aea.cjs +79 -0
  645. package/dist/experimental/lazy-projections/aea.cjs.map +6 -0
  646. package/dist/experimental/lazy-projections/aea.d.ts +3 -0
  647. package/dist/experimental/lazy-projections/aea.d.ts.map +1 -0
  648. package/dist/experimental/lazy-projections/aea.js +7 -0
  649. package/dist/experimental/lazy-projections/aea.js.map +1 -0
  650. package/dist/experimental/lazy-projections/aeqd.cjs +79 -0
  651. package/dist/experimental/lazy-projections/aeqd.cjs.map +6 -0
  652. package/dist/experimental/lazy-projections/aeqd.d.ts +3 -0
  653. package/dist/experimental/lazy-projections/aeqd.d.ts.map +1 -0
  654. package/dist/experimental/lazy-projections/aeqd.js +8 -0
  655. package/dist/experimental/lazy-projections/aeqd.js.map +1 -0
  656. package/dist/experimental/lazy-projections/bonne.cjs +79 -0
  657. package/dist/experimental/lazy-projections/bonne.cjs.map +6 -0
  658. package/dist/experimental/lazy-projections/bonne.d.ts +3 -0
  659. package/dist/experimental/lazy-projections/bonne.d.ts.map +1 -0
  660. package/dist/experimental/lazy-projections/bonne.js +7 -0
  661. package/dist/experimental/lazy-projections/bonne.js.map +1 -0
  662. package/dist/experimental/lazy-projections/cass.cjs +79 -0
  663. package/dist/experimental/lazy-projections/cass.cjs.map +6 -0
  664. package/dist/experimental/lazy-projections/cass.d.ts +3 -0
  665. package/dist/experimental/lazy-projections/cass.d.ts.map +1 -0
  666. package/dist/experimental/lazy-projections/cass.js +7 -0
  667. package/dist/experimental/lazy-projections/cass.js.map +1 -0
  668. package/dist/experimental/lazy-projections/cea.cjs +79 -0
  669. package/dist/experimental/lazy-projections/cea.cjs.map +6 -0
  670. package/dist/experimental/lazy-projections/cea.d.ts +3 -0
  671. package/dist/experimental/lazy-projections/cea.d.ts.map +1 -0
  672. package/dist/experimental/lazy-projections/cea.js +8 -0
  673. package/dist/experimental/lazy-projections/cea.js.map +1 -0
  674. package/dist/experimental/lazy-projections/eck6.cjs +79 -0
  675. package/dist/experimental/lazy-projections/eck6.cjs.map +6 -0
  676. package/dist/experimental/lazy-projections/eck6.d.ts +3 -0
  677. package/dist/experimental/lazy-projections/eck6.d.ts.map +1 -0
  678. package/dist/experimental/lazy-projections/eck6.js +7 -0
  679. package/dist/experimental/lazy-projections/eck6.js.map +1 -0
  680. package/dist/experimental/lazy-projections/eqc.cjs +82 -0
  681. package/dist/experimental/lazy-projections/eqc.cjs.map +6 -0
  682. package/dist/experimental/lazy-projections/eqc.d.ts +3 -0
  683. package/dist/experimental/lazy-projections/eqc.d.ts.map +1 -0
  684. package/dist/experimental/lazy-projections/eqc.js +11 -0
  685. package/dist/experimental/lazy-projections/eqc.js.map +1 -0
  686. package/dist/experimental/lazy-projections/eqdc.cjs +79 -0
  687. package/dist/experimental/lazy-projections/eqdc.cjs.map +6 -0
  688. package/dist/experimental/lazy-projections/eqdc.d.ts +3 -0
  689. package/dist/experimental/lazy-projections/eqdc.d.ts.map +1 -0
  690. package/dist/experimental/lazy-projections/eqdc.js +8 -0
  691. package/dist/experimental/lazy-projections/eqdc.js.map +1 -0
  692. package/dist/experimental/lazy-projections/eqearth.cjs +79 -0
  693. package/dist/experimental/lazy-projections/eqearth.cjs.map +6 -0
  694. package/dist/experimental/lazy-projections/eqearth.d.ts +3 -0
  695. package/dist/experimental/lazy-projections/eqearth.d.ts.map +1 -0
  696. package/dist/experimental/lazy-projections/eqearth.js +7 -0
  697. package/dist/experimental/lazy-projections/eqearth.js.map +1 -0
  698. package/dist/experimental/lazy-projections/equi.cjs +79 -0
  699. package/dist/experimental/lazy-projections/equi.cjs.map +6 -0
  700. package/dist/experimental/lazy-projections/equi.d.ts +3 -0
  701. package/dist/experimental/lazy-projections/equi.d.ts.map +1 -0
  702. package/dist/experimental/lazy-projections/equi.js +7 -0
  703. package/dist/experimental/lazy-projections/equi.js.map +1 -0
  704. package/dist/experimental/lazy-projections/etmerc.cjs +79 -0
  705. package/dist/experimental/lazy-projections/etmerc.cjs.map +6 -0
  706. package/dist/experimental/lazy-projections/etmerc.d.ts +3 -0
  707. package/dist/experimental/lazy-projections/etmerc.d.ts.map +1 -0
  708. package/dist/experimental/lazy-projections/etmerc.js +8 -0
  709. package/dist/experimental/lazy-projections/etmerc.js.map +1 -0
  710. package/dist/experimental/lazy-projections/geocent.cjs +79 -0
  711. package/dist/experimental/lazy-projections/geocent.cjs.map +6 -0
  712. package/dist/experimental/lazy-projections/geocent.d.ts +3 -0
  713. package/dist/experimental/lazy-projections/geocent.d.ts.map +1 -0
  714. package/dist/experimental/lazy-projections/geocent.js +7 -0
  715. package/dist/experimental/lazy-projections/geocent.js.map +1 -0
  716. package/dist/experimental/lazy-projections/geos.cjs +79 -0
  717. package/dist/experimental/lazy-projections/geos.cjs.map +6 -0
  718. package/dist/experimental/lazy-projections/geos.d.ts +3 -0
  719. package/dist/experimental/lazy-projections/geos.d.ts.map +1 -0
  720. package/dist/experimental/lazy-projections/geos.js +7 -0
  721. package/dist/experimental/lazy-projections/geos.js.map +1 -0
  722. package/dist/experimental/lazy-projections/gnom.cjs +79 -0
  723. package/dist/experimental/lazy-projections/gnom.cjs.map +6 -0
  724. package/dist/experimental/lazy-projections/gnom.d.ts +3 -0
  725. package/dist/experimental/lazy-projections/gnom.d.ts.map +1 -0
  726. package/dist/experimental/lazy-projections/gnom.js +7 -0
  727. package/dist/experimental/lazy-projections/gnom.js.map +1 -0
  728. package/dist/experimental/lazy-projections/gstmerc.cjs +79 -0
  729. package/dist/experimental/lazy-projections/gstmerc.cjs.map +6 -0
  730. package/dist/experimental/lazy-projections/gstmerc.d.ts +3 -0
  731. package/dist/experimental/lazy-projections/gstmerc.d.ts.map +1 -0
  732. package/dist/experimental/lazy-projections/gstmerc.js +8 -0
  733. package/dist/experimental/lazy-projections/gstmerc.js.map +1 -0
  734. package/dist/experimental/lazy-projections/index.cjs +3177 -0
  735. package/dist/experimental/lazy-projections/index.cjs.map +6 -0
  736. package/dist/experimental/lazy-projections/index.d.ts +39 -0
  737. package/dist/experimental/lazy-projections/index.d.ts.map +1 -0
  738. package/dist/experimental/lazy-projections/index.js +41 -0
  739. package/dist/experimental/lazy-projections/index.js.map +1 -0
  740. package/dist/experimental/lazy-projections/krovak.cjs +87 -0
  741. package/dist/experimental/lazy-projections/krovak.cjs.map +6 -0
  742. package/dist/experimental/lazy-projections/krovak.d.ts +3 -0
  743. package/dist/experimental/lazy-projections/krovak.d.ts.map +1 -0
  744. package/dist/experimental/lazy-projections/krovak.js +15 -0
  745. package/dist/experimental/lazy-projections/krovak.js.map +1 -0
  746. package/dist/experimental/lazy-projections/laea.cjs +79 -0
  747. package/dist/experimental/lazy-projections/laea.cjs.map +6 -0
  748. package/dist/experimental/lazy-projections/laea.d.ts +3 -0
  749. package/dist/experimental/lazy-projections/laea.d.ts.map +1 -0
  750. package/dist/experimental/lazy-projections/laea.js +8 -0
  751. package/dist/experimental/lazy-projections/laea.js.map +1 -0
  752. package/dist/experimental/lazy-projections/lcc.cjs +89 -0
  753. package/dist/experimental/lazy-projections/lcc.cjs.map +6 -0
  754. package/dist/experimental/lazy-projections/lcc.d.ts +3 -0
  755. package/dist/experimental/lazy-projections/lcc.d.ts.map +1 -0
  756. package/dist/experimental/lazy-projections/lcc.js +18 -0
  757. package/dist/experimental/lazy-projections/lcc.js.map +1 -0
  758. package/dist/experimental/lazy-projections/merc.cjs +88 -0
  759. package/dist/experimental/lazy-projections/merc.cjs.map +6 -0
  760. package/dist/experimental/lazy-projections/merc.d.ts +3 -0
  761. package/dist/experimental/lazy-projections/merc.d.ts.map +1 -0
  762. package/dist/experimental/lazy-projections/merc.js +16 -0
  763. package/dist/experimental/lazy-projections/merc.js.map +1 -0
  764. package/dist/experimental/lazy-projections/mill.cjs +79 -0
  765. package/dist/experimental/lazy-projections/mill.cjs.map +6 -0
  766. package/dist/experimental/lazy-projections/mill.d.ts +3 -0
  767. package/dist/experimental/lazy-projections/mill.d.ts.map +1 -0
  768. package/dist/experimental/lazy-projections/mill.js +8 -0
  769. package/dist/experimental/lazy-projections/mill.js.map +1 -0
  770. package/dist/experimental/lazy-projections/moll.cjs +79 -0
  771. package/dist/experimental/lazy-projections/moll.cjs.map +6 -0
  772. package/dist/experimental/lazy-projections/moll.d.ts +3 -0
  773. package/dist/experimental/lazy-projections/moll.d.ts.map +1 -0
  774. package/dist/experimental/lazy-projections/moll.js +7 -0
  775. package/dist/experimental/lazy-projections/moll.js.map +1 -0
  776. package/dist/experimental/lazy-projections/nzmg.cjs +79 -0
  777. package/dist/experimental/lazy-projections/nzmg.cjs.map +6 -0
  778. package/dist/experimental/lazy-projections/nzmg.d.ts +3 -0
  779. package/dist/experimental/lazy-projections/nzmg.d.ts.map +1 -0
  780. package/dist/experimental/lazy-projections/nzmg.js +8 -0
  781. package/dist/experimental/lazy-projections/nzmg.js.map +1 -0
  782. package/dist/experimental/lazy-projections/ob_tran.cjs +90 -0
  783. package/dist/experimental/lazy-projections/ob_tran.cjs.map +6 -0
  784. package/dist/experimental/lazy-projections/ob_tran.d.ts +5 -0
  785. package/dist/experimental/lazy-projections/ob_tran.d.ts.map +1 -0
  786. package/dist/experimental/lazy-projections/ob_tran.js +18 -0
  787. package/dist/experimental/lazy-projections/ob_tran.js.map +1 -0
  788. package/dist/experimental/lazy-projections/omerc.cjs +91 -0
  789. package/dist/experimental/lazy-projections/omerc.cjs.map +6 -0
  790. package/dist/experimental/lazy-projections/omerc.d.ts +3 -0
  791. package/dist/experimental/lazy-projections/omerc.d.ts.map +1 -0
  792. package/dist/experimental/lazy-projections/omerc.js +19 -0
  793. package/dist/experimental/lazy-projections/omerc.js.map +1 -0
  794. package/dist/experimental/lazy-projections/ortho.cjs +79 -0
  795. package/dist/experimental/lazy-projections/ortho.cjs.map +6 -0
  796. package/dist/experimental/lazy-projections/ortho.d.ts +3 -0
  797. package/dist/experimental/lazy-projections/ortho.d.ts.map +1 -0
  798. package/dist/experimental/lazy-projections/ortho.js +7 -0
  799. package/dist/experimental/lazy-projections/ortho.js.map +1 -0
  800. package/dist/experimental/lazy-projections/poly.cjs +79 -0
  801. package/dist/experimental/lazy-projections/poly.cjs.map +6 -0
  802. package/dist/experimental/lazy-projections/poly.d.ts +3 -0
  803. package/dist/experimental/lazy-projections/poly.d.ts.map +1 -0
  804. package/dist/experimental/lazy-projections/poly.js +7 -0
  805. package/dist/experimental/lazy-projections/poly.js.map +1 -0
  806. package/dist/experimental/lazy-projections/qsc.cjs +82 -0
  807. package/dist/experimental/lazy-projections/qsc.cjs.map +6 -0
  808. package/dist/experimental/lazy-projections/qsc.d.ts +3 -0
  809. package/dist/experimental/lazy-projections/qsc.d.ts.map +1 -0
  810. package/dist/experimental/lazy-projections/qsc.js +11 -0
  811. package/dist/experimental/lazy-projections/qsc.js.map +1 -0
  812. package/dist/experimental/lazy-projections/robin.cjs +79 -0
  813. package/dist/experimental/lazy-projections/robin.cjs.map +6 -0
  814. package/dist/experimental/lazy-projections/robin.d.ts +3 -0
  815. package/dist/experimental/lazy-projections/robin.d.ts.map +1 -0
  816. package/dist/experimental/lazy-projections/robin.js +7 -0
  817. package/dist/experimental/lazy-projections/robin.js.map +1 -0
  818. package/dist/experimental/lazy-projections/sinu.cjs +79 -0
  819. package/dist/experimental/lazy-projections/sinu.cjs.map +6 -0
  820. package/dist/experimental/lazy-projections/sinu.d.ts +3 -0
  821. package/dist/experimental/lazy-projections/sinu.d.ts.map +1 -0
  822. package/dist/experimental/lazy-projections/sinu.js +7 -0
  823. package/dist/experimental/lazy-projections/sinu.js.map +1 -0
  824. package/dist/experimental/lazy-projections/somerc.cjs +79 -0
  825. package/dist/experimental/lazy-projections/somerc.cjs.map +6 -0
  826. package/dist/experimental/lazy-projections/somerc.d.ts +3 -0
  827. package/dist/experimental/lazy-projections/somerc.d.ts.map +1 -0
  828. package/dist/experimental/lazy-projections/somerc.js +8 -0
  829. package/dist/experimental/lazy-projections/somerc.js.map +1 -0
  830. package/dist/experimental/lazy-projections/stere.cjs +87 -0
  831. package/dist/experimental/lazy-projections/stere.cjs.map +6 -0
  832. package/dist/experimental/lazy-projections/stere.d.ts +3 -0
  833. package/dist/experimental/lazy-projections/stere.d.ts.map +1 -0
  834. package/dist/experimental/lazy-projections/stere.js +15 -0
  835. package/dist/experimental/lazy-projections/stere.js.map +1 -0
  836. package/dist/experimental/lazy-projections/sterea.cjs +87 -0
  837. package/dist/experimental/lazy-projections/sterea.cjs.map +6 -0
  838. package/dist/experimental/lazy-projections/sterea.d.ts +3 -0
  839. package/dist/experimental/lazy-projections/sterea.d.ts.map +1 -0
  840. package/dist/experimental/lazy-projections/sterea.js +16 -0
  841. package/dist/experimental/lazy-projections/sterea.js.map +1 -0
  842. package/dist/experimental/lazy-projections/tmerc.cjs +89 -0
  843. package/dist/experimental/lazy-projections/tmerc.cjs.map +6 -0
  844. package/dist/experimental/lazy-projections/tmerc.d.ts +3 -0
  845. package/dist/experimental/lazy-projections/tmerc.d.ts.map +1 -0
  846. package/dist/experimental/lazy-projections/tmerc.js +18 -0
  847. package/dist/experimental/lazy-projections/tmerc.js.map +1 -0
  848. package/dist/experimental/lazy-projections/tpers.cjs +79 -0
  849. package/dist/experimental/lazy-projections/tpers.cjs.map +6 -0
  850. package/dist/experimental/lazy-projections/tpers.d.ts +3 -0
  851. package/dist/experimental/lazy-projections/tpers.d.ts.map +1 -0
  852. package/dist/experimental/lazy-projections/tpers.js +8 -0
  853. package/dist/experimental/lazy-projections/tpers.js.map +1 -0
  854. package/dist/experimental/lazy-projections/utm.cjs +79 -0
  855. package/dist/experimental/lazy-projections/utm.cjs.map +6 -0
  856. package/dist/experimental/lazy-projections/utm.d.ts +3 -0
  857. package/dist/experimental/lazy-projections/utm.d.ts.map +1 -0
  858. package/dist/experimental/lazy-projections/utm.js +8 -0
  859. package/dist/experimental/lazy-projections/utm.js.map +1 -0
  860. package/dist/experimental/lazy-projections/vandg.cjs +79 -0
  861. package/dist/experimental/lazy-projections/vandg.cjs.map +6 -0
  862. package/dist/experimental/lazy-projections/vandg.d.ts +3 -0
  863. package/dist/experimental/lazy-projections/vandg.d.ts.map +1 -0
  864. package/dist/experimental/lazy-projections/vandg.js +7 -0
  865. package/dist/experimental/lazy-projections/vandg.js.map +1 -0
  866. package/dist/experimental/mutable-projection.d.ts +6 -0
  867. package/dist/experimental/mutable-projection.d.ts.map +1 -0
  868. package/dist/experimental/mutable-projection.js +53 -0
  869. package/dist/experimental/mutable-projection.js.map +1 -0
  870. package/dist/experimental/numeric-flat.d.ts +8 -0
  871. package/dist/experimental/numeric-flat.d.ts.map +1 -0
  872. package/dist/experimental/numeric-flat.js +54 -0
  873. package/dist/experimental/numeric-flat.js.map +1 -0
  874. package/dist/experimental/parameters.d.ts +7 -0
  875. package/dist/experimental/parameters.d.ts.map +1 -0
  876. package/dist/experimental/parameters.js +30 -0
  877. package/dist/experimental/parameters.js.map +1 -0
  878. package/dist/experimental/projection-descriptor.d.ts +13 -0
  879. package/dist/experimental/projection-descriptor.d.ts.map +1 -0
  880. package/dist/experimental/projection-descriptor.js +52 -0
  881. package/dist/experimental/projection-descriptor.js.map +1 -0
  882. package/dist/experimental/projection-pipeline.d.ts +142 -0
  883. package/dist/experimental/projection-pipeline.d.ts.map +1 -0
  884. package/dist/experimental/projection-pipeline.js +746 -0
  885. package/dist/experimental/projection-pipeline.js.map +1 -0
  886. package/dist/experimental/projection-scratch.d.ts +9 -0
  887. package/dist/experimental/projection-scratch.d.ts.map +1 -0
  888. package/dist/experimental/projection-scratch.js +18 -0
  889. package/dist/experimental/projection-scratch.js.map +1 -0
  890. package/dist/experimental/projections/aea.d.ts +3 -0
  891. package/dist/experimental/projections/aea.d.ts.map +1 -0
  892. package/dist/experimental/projections/aea.js +17 -0
  893. package/dist/experimental/projections/aea.js.map +1 -0
  894. package/dist/experimental/projections/aeqd.d.ts +3 -0
  895. package/dist/experimental/projections/aeqd.d.ts.map +1 -0
  896. package/dist/experimental/projections/aeqd.js +15 -0
  897. package/dist/experimental/projections/aeqd.js.map +1 -0
  898. package/dist/experimental/projections/bonne.d.ts +3 -0
  899. package/dist/experimental/projections/bonne.d.ts.map +1 -0
  900. package/dist/experimental/projections/bonne.js +16 -0
  901. package/dist/experimental/projections/bonne.js.map +1 -0
  902. package/dist/experimental/projections/cass.d.ts +3 -0
  903. package/dist/experimental/projections/cass.d.ts.map +1 -0
  904. package/dist/experimental/projections/cass.js +13 -0
  905. package/dist/experimental/projections/cass.js.map +1 -0
  906. package/dist/experimental/projections/cea.d.ts +3 -0
  907. package/dist/experimental/projections/cea.d.ts.map +1 -0
  908. package/dist/experimental/projections/cea.js +15 -0
  909. package/dist/experimental/projections/cea.js.map +1 -0
  910. package/dist/experimental/projections/eck6.d.ts +3 -0
  911. package/dist/experimental/projections/eck6.d.ts.map +1 -0
  912. package/dist/experimental/projections/eck6.js +13 -0
  913. package/dist/experimental/projections/eck6.js.map +1 -0
  914. package/dist/experimental/projections/eqdc.d.ts +3 -0
  915. package/dist/experimental/projections/eqdc.d.ts.map +1 -0
  916. package/dist/experimental/projections/eqdc.js +17 -0
  917. package/dist/experimental/projections/eqdc.js.map +1 -0
  918. package/dist/experimental/projections/eqearth.d.ts +3 -0
  919. package/dist/experimental/projections/eqearth.d.ts.map +1 -0
  920. package/dist/experimental/projections/eqearth.js +13 -0
  921. package/dist/experimental/projections/eqearth.js.map +1 -0
  922. package/dist/experimental/projections/equi.d.ts +3 -0
  923. package/dist/experimental/projections/equi.d.ts.map +1 -0
  924. package/dist/experimental/projections/equi.js +15 -0
  925. package/dist/experimental/projections/equi.js.map +1 -0
  926. package/dist/experimental/projections/equidistant-cylindrical.d.ts +4 -0
  927. package/dist/experimental/projections/equidistant-cylindrical.d.ts.map +1 -0
  928. package/dist/experimental/projections/equidistant-cylindrical.js +30 -0
  929. package/dist/experimental/projections/equidistant-cylindrical.js.map +1 -0
  930. package/dist/experimental/projections/geocentric.d.ts +3 -0
  931. package/dist/experimental/projections/geocentric.d.ts.map +1 -0
  932. package/dist/experimental/projections/geocentric.js +26 -0
  933. package/dist/experimental/projections/geocentric.js.map +1 -0
  934. package/dist/experimental/projections/geos.d.ts +3 -0
  935. package/dist/experimental/projections/geos.d.ts.map +1 -0
  936. package/dist/experimental/projections/geos.js +20 -0
  937. package/dist/experimental/projections/geos.js.map +1 -0
  938. package/dist/experimental/projections/gnom.d.ts +3 -0
  939. package/dist/experimental/projections/gnom.d.ts.map +1 -0
  940. package/dist/experimental/projections/gnom.js +13 -0
  941. package/dist/experimental/projections/gnom.js.map +1 -0
  942. package/dist/experimental/projections/gstmerc.d.ts +3 -0
  943. package/dist/experimental/projections/gstmerc.d.ts.map +1 -0
  944. package/dist/experimental/projections/gstmerc.js +13 -0
  945. package/dist/experimental/projections/gstmerc.js.map +1 -0
  946. package/dist/experimental/projections/krovak.d.ts +3 -0
  947. package/dist/experimental/projections/krovak.d.ts.map +1 -0
  948. package/dist/experimental/projections/krovak.js +32 -0
  949. package/dist/experimental/projections/krovak.js.map +1 -0
  950. package/dist/experimental/projections/laea.d.ts +3 -0
  951. package/dist/experimental/projections/laea.d.ts.map +1 -0
  952. package/dist/experimental/projections/laea.js +15 -0
  953. package/dist/experimental/projections/laea.js.map +1 -0
  954. package/dist/experimental/projections/lcc.d.ts +3 -0
  955. package/dist/experimental/projections/lcc.d.ts.map +1 -0
  956. package/dist/experimental/projections/lcc.js +32 -0
  957. package/dist/experimental/projections/lcc.js.map +1 -0
  958. package/dist/experimental/projections/mercator.d.ts +4 -0
  959. package/dist/experimental/projections/mercator.d.ts.map +1 -0
  960. package/dist/experimental/projections/mercator.js +71 -0
  961. package/dist/experimental/projections/mercator.js.map +1 -0
  962. package/dist/experimental/projections/mill.d.ts +3 -0
  963. package/dist/experimental/projections/mill.d.ts.map +1 -0
  964. package/dist/experimental/projections/mill.js +13 -0
  965. package/dist/experimental/projections/mill.js.map +1 -0
  966. package/dist/experimental/projections/moll.d.ts +3 -0
  967. package/dist/experimental/projections/moll.d.ts.map +1 -0
  968. package/dist/experimental/projections/moll.js +13 -0
  969. package/dist/experimental/projections/moll.js.map +1 -0
  970. package/dist/experimental/projections/nzmg.d.ts +3 -0
  971. package/dist/experimental/projections/nzmg.d.ts.map +1 -0
  972. package/dist/experimental/projections/nzmg.js +20 -0
  973. package/dist/experimental/projections/nzmg.js.map +1 -0
  974. package/dist/experimental/projections/ob-tran.d.ts +4 -0
  975. package/dist/experimental/projections/ob-tran.d.ts.map +1 -0
  976. package/dist/experimental/projections/ob-tran.js +119 -0
  977. package/dist/experimental/projections/ob-tran.js.map +1 -0
  978. package/dist/experimental/projections/omerc.d.ts +3 -0
  979. package/dist/experimental/projections/omerc.d.ts.map +1 -0
  980. package/dist/experimental/projections/omerc.js +60 -0
  981. package/dist/experimental/projections/omerc.js.map +1 -0
  982. package/dist/experimental/projections/ortho.d.ts +3 -0
  983. package/dist/experimental/projections/ortho.d.ts.map +1 -0
  984. package/dist/experimental/projections/ortho.js +13 -0
  985. package/dist/experimental/projections/ortho.js.map +1 -0
  986. package/dist/experimental/projections/poly.d.ts +3 -0
  987. package/dist/experimental/projections/poly.d.ts.map +1 -0
  988. package/dist/experimental/projections/poly.js +13 -0
  989. package/dist/experimental/projections/poly.js.map +1 -0
  990. package/dist/experimental/projections/qsc.d.ts +3 -0
  991. package/dist/experimental/projections/qsc.d.ts.map +1 -0
  992. package/dist/experimental/projections/qsc.js +13 -0
  993. package/dist/experimental/projections/qsc.js.map +1 -0
  994. package/dist/experimental/projections/robin.d.ts +3 -0
  995. package/dist/experimental/projections/robin.d.ts.map +1 -0
  996. package/dist/experimental/projections/robin.js +13 -0
  997. package/dist/experimental/projections/robin.js.map +1 -0
  998. package/dist/experimental/projections/sinu.d.ts +3 -0
  999. package/dist/experimental/projections/sinu.d.ts.map +1 -0
  1000. package/dist/experimental/projections/sinu.js +13 -0
  1001. package/dist/experimental/projections/sinu.js.map +1 -0
  1002. package/dist/experimental/projections/somerc.d.ts +3 -0
  1003. package/dist/experimental/projections/somerc.d.ts.map +1 -0
  1004. package/dist/experimental/projections/somerc.js +13 -0
  1005. package/dist/experimental/projections/somerc.js.map +1 -0
  1006. package/dist/experimental/projections/stere.d.ts +3 -0
  1007. package/dist/experimental/projections/stere.d.ts.map +1 -0
  1008. package/dist/experimental/projections/stere.js +20 -0
  1009. package/dist/experimental/projections/stere.js.map +1 -0
  1010. package/dist/experimental/projections/sterea.d.ts +3 -0
  1011. package/dist/experimental/projections/sterea.d.ts.map +1 -0
  1012. package/dist/experimental/projections/sterea.js +22 -0
  1013. package/dist/experimental/projections/sterea.js.map +1 -0
  1014. package/dist/experimental/projections/tpers.d.ts +3 -0
  1015. package/dist/experimental/projections/tpers.d.ts.map +1 -0
  1016. package/dist/experimental/projections/tpers.js +19 -0
  1017. package/dist/experimental/projections/tpers.js.map +1 -0
  1018. package/dist/experimental/projections/transverse-mercator.d.ts +6 -0
  1019. package/dist/experimental/projections/transverse-mercator.d.ts.map +1 -0
  1020. package/dist/experimental/projections/transverse-mercator.js +39 -0
  1021. package/dist/experimental/projections/transverse-mercator.js.map +1 -0
  1022. package/dist/experimental/projections/utm.d.ts +3 -0
  1023. package/dist/experimental/projections/utm.d.ts.map +1 -0
  1024. package/dist/experimental/projections/utm.js +31 -0
  1025. package/dist/experimental/projections/utm.js.map +1 -0
  1026. package/dist/experimental/projections/vandg.d.ts +3 -0
  1027. package/dist/experimental/projections/vandg.d.ts.map +1 -0
  1028. package/dist/experimental/projections/vandg.js +13 -0
  1029. package/dist/experimental/projections/vandg.js.map +1 -0
  1030. package/dist/experimental/scalar-output.d.ts +8 -0
  1031. package/dist/experimental/scalar-output.d.ts.map +1 -0
  1032. package/dist/experimental/scalar-output.js +46 -0
  1033. package/dist/experimental/scalar-output.js.map +1 -0
  1034. package/dist/experimental/types.d.ts +54 -0
  1035. package/dist/experimental/types.d.ts.map +1 -0
  1036. package/dist/experimental/types.js +5 -0
  1037. package/dist/experimental/types.js.map +1 -0
  1038. package/dist/experimental/typescript-projection.d.ts +67 -0
  1039. package/dist/experimental/typescript-projection.d.ts.map +1 -0
  1040. package/dist/experimental/typescript-projection.js +429 -0
  1041. package/dist/experimental/typescript-projection.js.map +1 -0
  1042. package/dist/experimental/vertical-datum.d.ts +4 -0
  1043. package/dist/experimental/vertical-datum.d.ts.map +1 -0
  1044. package/dist/experimental/vertical-datum.js +43 -0
  1045. package/dist/experimental/vertical-datum.js.map +1 -0
  1046. package/dist/grids/velocity.cjs +92 -0
  1047. package/dist/grids/velocity.cjs.map +6 -0
  1048. package/dist/grids/velocity.d.ts +3 -0
  1049. package/dist/grids/velocity.d.ts.map +1 -0
  1050. package/dist/grids/velocity.js +5 -0
  1051. package/dist/grids/velocity.js.map +1 -0
  1052. package/dist/index.cjs +10158 -0
  1053. package/dist/index.cjs.map +6 -0
  1054. package/dist/index.d.ts +4 -0
  1055. package/dist/index.d.ts.map +1 -0
  1056. package/dist/index.js +6 -0
  1057. package/dist/index.js.map +1 -0
  1058. package/dist/lib/projection.d.ts +24 -0
  1059. package/dist/lib/projection.d.ts.map +1 -0
  1060. package/dist/lib/projection.js +107 -0
  1061. package/dist/lib/projection.js.map +1 -0
  1062. package/dist/operations.cjs +255 -0
  1063. package/dist/operations.cjs.map +6 -0
  1064. package/dist/operations.d.ts +67 -0
  1065. package/dist/operations.d.ts.map +1 -0
  1066. package/dist/operations.js +272 -0
  1067. package/dist/operations.js.map +1 -0
  1068. package/dist/pipeline.cjs +3347 -0
  1069. package/dist/pipeline.cjs.map +6 -0
  1070. package/dist/pipeline.d.ts +2 -0
  1071. package/dist/pipeline.d.ts.map +1 -0
  1072. package/dist/pipeline.js +5 -0
  1073. package/dist/pipeline.js.map +1 -0
  1074. package/package.json +970 -3
  1075. package/src/deformation.ts +5 -0
  1076. package/src/experimental/catalogue-kernel.ts +54 -0
  1077. package/src/experimental/common/adjust_lat.ts +11 -0
  1078. package/src/experimental/common/adjust_lon.ts +14 -0
  1079. package/src/experimental/common/asinhy.ts +14 -0
  1080. package/src/experimental/common/asinz.ts +11 -0
  1081. package/src/experimental/common/authlat.ts +9 -0
  1082. package/src/experimental/common/authset.ts +25 -0
  1083. package/src/experimental/common/clens.ts +20 -0
  1084. package/src/experimental/common/clens_cmplx.ts +43 -0
  1085. package/src/experimental/common/constants.ts +15 -0
  1086. package/src/experimental/common/cosh.ts +10 -0
  1087. package/src/experimental/common/e0fn.ts +8 -0
  1088. package/src/experimental/common/e1fn.ts +8 -0
  1089. package/src/experimental/common/e2fn.ts +8 -0
  1090. package/src/experimental/common/e3fn.ts +8 -0
  1091. package/src/experimental/common/fL.ts +10 -0
  1092. package/src/experimental/common/gN.ts +9 -0
  1093. package/src/experimental/common/gatg.ts +20 -0
  1094. package/src/experimental/common/hypot.ts +13 -0
  1095. package/src/experimental/common/imlfn.ts +23 -0
  1096. package/src/experimental/common/invlatiso.ts +20 -0
  1097. package/src/experimental/common/iqsfnz.ts +45 -0
  1098. package/src/experimental/common/latiso.ts +21 -0
  1099. package/src/experimental/common/log1py.ts +11 -0
  1100. package/src/experimental/common/mlfn.ts +8 -0
  1101. package/src/experimental/common/msfnz.ts +9 -0
  1102. package/src/experimental/common/phi2z.ts +22 -0
  1103. package/src/experimental/common/pj_enfn.ts +29 -0
  1104. package/src/experimental/common/pj_inv_mlfn.ts +28 -0
  1105. package/src/experimental/common/pj_mlfn.ts +10 -0
  1106. package/src/experimental/common/qsfnz.ts +17 -0
  1107. package/src/experimental/common/sign.ts +8 -0
  1108. package/src/experimental/common/sinh.ts +10 -0
  1109. package/src/experimental/common/srat.ts +8 -0
  1110. package/src/experimental/common/tsfnz.ts +13 -0
  1111. package/src/experimental/common/vincenty.ts +180 -0
  1112. package/src/experimental/core.ts +48 -0
  1113. package/src/experimental/crs/datum-table.ts +1370 -0
  1114. package/src/experimental/crs/ellipsoid-table.ts +230 -0
  1115. package/src/experimental/crs/normalize.ts +303 -0
  1116. package/src/experimental/crs/primemeridian-table.ts +22 -0
  1117. package/src/experimental/crs/projjson.ts +12 -0
  1118. package/src/experimental/crs/spatial-reference.ts +115 -0
  1119. package/src/experimental/crs/structured.ts +521 -0
  1120. package/src/experimental/crs/types.ts +80 -0
  1121. package/src/experimental/crs/units-table.ts +27 -0
  1122. package/src/experimental/crs/wkt.ts +192 -0
  1123. package/src/experimental/datum.ts +185 -0
  1124. package/src/experimental/deformation.ts +134 -0
  1125. package/src/experimental/entries/projections/aea.ts +5 -0
  1126. package/src/experimental/entries/projections/aeqd.ts +5 -0
  1127. package/src/experimental/entries/projections/bonne.ts +5 -0
  1128. package/src/experimental/entries/projections/cass.ts +5 -0
  1129. package/src/experimental/entries/projections/cea.ts +5 -0
  1130. package/src/experimental/entries/projections/eck6.ts +5 -0
  1131. package/src/experimental/entries/projections/eqc.ts +5 -0
  1132. package/src/experimental/entries/projections/eqdc.ts +5 -0
  1133. package/src/experimental/entries/projections/eqearth.ts +5 -0
  1134. package/src/experimental/entries/projections/equi.ts +5 -0
  1135. package/src/experimental/entries/projections/etmerc.ts +5 -0
  1136. package/src/experimental/entries/projections/geocent.ts +5 -0
  1137. package/src/experimental/entries/projections/geos.ts +5 -0
  1138. package/src/experimental/entries/projections/gnom.ts +5 -0
  1139. package/src/experimental/entries/projections/gstmerc.ts +5 -0
  1140. package/src/experimental/entries/projections/krovak.ts +5 -0
  1141. package/src/experimental/entries/projections/laea.ts +5 -0
  1142. package/src/experimental/entries/projections/lcc.ts +5 -0
  1143. package/src/experimental/entries/projections/merc.ts +5 -0
  1144. package/src/experimental/entries/projections/mill.ts +5 -0
  1145. package/src/experimental/entries/projections/moll.ts +5 -0
  1146. package/src/experimental/entries/projections/nzmg.ts +5 -0
  1147. package/src/experimental/entries/projections/ob_tran.ts +5 -0
  1148. package/src/experimental/entries/projections/omerc.ts +5 -0
  1149. package/src/experimental/entries/projections/ortho.ts +5 -0
  1150. package/src/experimental/entries/projections/poly.ts +5 -0
  1151. package/src/experimental/entries/projections/qsc.ts +5 -0
  1152. package/src/experimental/entries/projections/robin.ts +5 -0
  1153. package/src/experimental/entries/projections/sinu.ts +5 -0
  1154. package/src/experimental/entries/projections/somerc.ts +5 -0
  1155. package/src/experimental/entries/projections/stere.ts +5 -0
  1156. package/src/experimental/entries/projections/sterea.ts +5 -0
  1157. package/src/experimental/entries/projections/tmerc.ts +5 -0
  1158. package/src/experimental/entries/projections/tpers.ts +5 -0
  1159. package/src/experimental/entries/projections/utm.ts +5 -0
  1160. package/src/experimental/entries/projections/vandg.ts +5 -0
  1161. package/src/experimental/exact-helmert.ts +58 -0
  1162. package/src/experimental/flat-projection.ts +70 -0
  1163. package/src/experimental/grids/geotiff.ts +88 -0
  1164. package/src/experimental/grids/grid.ts +141 -0
  1165. package/src/experimental/grids/gtx.ts +31 -0
  1166. package/src/experimental/grids/ntv2.ts +71 -0
  1167. package/src/experimental/grids/scalar-geotiff.ts +231 -0
  1168. package/src/experimental/grids/types.ts +35 -0
  1169. package/src/experimental/grids/velocity-geotiff.ts +82 -0
  1170. package/src/experimental/grids/velocity.ts +58 -0
  1171. package/src/experimental/grids/vertical-geotiff.ts +28 -0
  1172. package/src/experimental/grids/vertical.ts +99 -0
  1173. package/src/experimental/helmert-flat.ts +76 -0
  1174. package/src/experimental/index.ts +59 -0
  1175. package/src/experimental/kernel.ts +139 -0
  1176. package/src/experimental/kernels/aea.ts +170 -0
  1177. package/src/experimental/kernels/aeqd.ts +182 -0
  1178. package/src/experimental/kernels/bonne.ts +141 -0
  1179. package/src/experimental/kernels/cass.ts +140 -0
  1180. package/src/experimental/kernels/cea.ts +71 -0
  1181. package/src/experimental/kernels/eck6.ts +36 -0
  1182. package/src/experimental/kernels/eqdc.ts +137 -0
  1183. package/src/experimental/kernels/eqearth.ts +136 -0
  1184. package/src/experimental/kernels/equi.ts +53 -0
  1185. package/src/experimental/kernels/etmerc.ts +190 -0
  1186. package/src/experimental/kernels/gauss.ts +79 -0
  1187. package/src/experimental/kernels/geos.ts +183 -0
  1188. package/src/experimental/kernels/gnom.ts +113 -0
  1189. package/src/experimental/kernels/gstmerc.ts +74 -0
  1190. package/src/experimental/kernels/krovak.ts +166 -0
  1191. package/src/experimental/kernels/laea.ts +297 -0
  1192. package/src/experimental/kernels/lcc.ts +147 -0
  1193. package/src/experimental/kernels/mill.ts +60 -0
  1194. package/src/experimental/kernels/moll.ts +105 -0
  1195. package/src/experimental/kernels/nzmg.ts +249 -0
  1196. package/src/experimental/kernels/omerc.ts +343 -0
  1197. package/src/experimental/kernels/ortho.ts +106 -0
  1198. package/src/experimental/kernels/poly.ts +156 -0
  1199. package/src/experimental/kernels/qsc.ts +369 -0
  1200. package/src/experimental/kernels/robin.ts +189 -0
  1201. package/src/experimental/kernels/sinu.ts +116 -0
  1202. package/src/experimental/kernels/somerc.ts +112 -0
  1203. package/src/experimental/kernels/stere.ts +221 -0
  1204. package/src/experimental/kernels/sterea.ts +80 -0
  1205. package/src/experimental/kernels/tmerc.ts +227 -0
  1206. package/src/experimental/kernels/tpers.ts +187 -0
  1207. package/src/experimental/kernels/vandg.ts +147 -0
  1208. package/src/experimental/kinematic-helmert-flat.ts +85 -0
  1209. package/src/experimental/kinematic-helmert.ts +132 -0
  1210. package/src/experimental/lazy-projection.ts +146 -0
  1211. package/src/experimental/lazy-projections/aea.ts +10 -0
  1212. package/src/experimental/lazy-projections/aeqd.ts +11 -0
  1213. package/src/experimental/lazy-projections/bonne.ts +10 -0
  1214. package/src/experimental/lazy-projections/cass.ts +10 -0
  1215. package/src/experimental/lazy-projections/cea.ts +11 -0
  1216. package/src/experimental/lazy-projections/eck6.ts +10 -0
  1217. package/src/experimental/lazy-projections/eqc.ts +14 -0
  1218. package/src/experimental/lazy-projections/eqdc.ts +11 -0
  1219. package/src/experimental/lazy-projections/eqearth.ts +10 -0
  1220. package/src/experimental/lazy-projections/equi.ts +10 -0
  1221. package/src/experimental/lazy-projections/etmerc.ts +11 -0
  1222. package/src/experimental/lazy-projections/geocent.ts +10 -0
  1223. package/src/experimental/lazy-projections/geos.ts +10 -0
  1224. package/src/experimental/lazy-projections/gnom.ts +10 -0
  1225. package/src/experimental/lazy-projections/gstmerc.ts +12 -0
  1226. package/src/experimental/lazy-projections/index.ts +42 -0
  1227. package/src/experimental/lazy-projections/krovak.ts +18 -0
  1228. package/src/experimental/lazy-projections/laea.ts +11 -0
  1229. package/src/experimental/lazy-projections/lcc.ts +21 -0
  1230. package/src/experimental/lazy-projections/merc.ts +19 -0
  1231. package/src/experimental/lazy-projections/mill.ts +11 -0
  1232. package/src/experimental/lazy-projections/moll.ts +10 -0
  1233. package/src/experimental/lazy-projections/nzmg.ts +11 -0
  1234. package/src/experimental/lazy-projections/ob_tran.ts +25 -0
  1235. package/src/experimental/lazy-projections/omerc.ts +22 -0
  1236. package/src/experimental/lazy-projections/ortho.ts +10 -0
  1237. package/src/experimental/lazy-projections/poly.ts +10 -0
  1238. package/src/experimental/lazy-projections/qsc.ts +14 -0
  1239. package/src/experimental/lazy-projections/robin.ts +10 -0
  1240. package/src/experimental/lazy-projections/sinu.ts +10 -0
  1241. package/src/experimental/lazy-projections/somerc.ts +11 -0
  1242. package/src/experimental/lazy-projections/stere.ts +18 -0
  1243. package/src/experimental/lazy-projections/sterea.ts +19 -0
  1244. package/src/experimental/lazy-projections/tmerc.ts +21 -0
  1245. package/src/experimental/lazy-projections/tpers.ts +11 -0
  1246. package/src/experimental/lazy-projections/utm.ts +11 -0
  1247. package/src/experimental/lazy-projections/vandg.ts +10 -0
  1248. package/src/experimental/mutable-projection.ts +63 -0
  1249. package/src/experimental/numeric-flat.ts +73 -0
  1250. package/src/experimental/parameters.ts +35 -0
  1251. package/src/experimental/projection-descriptor.ts +79 -0
  1252. package/src/experimental/projection-pipeline.ts +1053 -0
  1253. package/src/experimental/projection-scratch.ts +19 -0
  1254. package/src/experimental/projections/aea.ts +19 -0
  1255. package/src/experimental/projections/aeqd.ts +18 -0
  1256. package/src/experimental/projections/bonne.ts +23 -0
  1257. package/src/experimental/projections/cass.ts +19 -0
  1258. package/src/experimental/projections/cea.ts +20 -0
  1259. package/src/experimental/projections/eck6.ts +19 -0
  1260. package/src/experimental/projections/eqdc.ts +19 -0
  1261. package/src/experimental/projections/eqearth.ts +19 -0
  1262. package/src/experimental/projections/equi.ts +20 -0
  1263. package/src/experimental/projections/equidistant-cylindrical.ts +35 -0
  1264. package/src/experimental/projections/geocentric.ts +34 -0
  1265. package/src/experimental/projections/geos.ts +31 -0
  1266. package/src/experimental/projections/gnom.ts +19 -0
  1267. package/src/experimental/projections/gstmerc.ts +19 -0
  1268. package/src/experimental/projections/krovak.ts +41 -0
  1269. package/src/experimental/projections/laea.ts +18 -0
  1270. package/src/experimental/projections/lcc.ts +40 -0
  1271. package/src/experimental/projections/mercator.ts +79 -0
  1272. package/src/experimental/projections/mill.ts +19 -0
  1273. package/src/experimental/projections/moll.ts +19 -0
  1274. package/src/experimental/projections/nzmg.ts +27 -0
  1275. package/src/experimental/projections/ob-tran.ts +161 -0
  1276. package/src/experimental/projections/omerc.ts +66 -0
  1277. package/src/experimental/projections/ortho.ts +26 -0
  1278. package/src/experimental/projections/poly.ts +19 -0
  1279. package/src/experimental/projections/qsc.ts +19 -0
  1280. package/src/experimental/projections/robin.ts +19 -0
  1281. package/src/experimental/projections/sinu.ts +19 -0
  1282. package/src/experimental/projections/somerc.ts +19 -0
  1283. package/src/experimental/projections/stere.ts +29 -0
  1284. package/src/experimental/projections/sterea.ts +30 -0
  1285. package/src/experimental/projections/tpers.ts +31 -0
  1286. package/src/experimental/projections/transverse-mercator.ts +68 -0
  1287. package/src/experimental/projections/utm.ts +33 -0
  1288. package/src/experimental/projections/vandg.ts +19 -0
  1289. package/src/experimental/scalar-output.ts +74 -0
  1290. package/src/experimental/types.ts +61 -0
  1291. package/src/experimental/typescript-projection.ts +545 -0
  1292. package/src/experimental/vertical-datum.ts +39 -0
  1293. package/src/grids/velocity.ts +5 -0
  1294. package/src/index.ts +7 -0
  1295. package/src/lib/projection.ts +167 -0
  1296. package/src/operations.ts +358 -0
  1297. package/src/pipeline.ts +4 -0
@@ -0,0 +1,2507 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key2 of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key2) && key2 !== except)
13
+ __defProp(to, key2, { get: () => from[key2], enumerable: !(desc = __getOwnPropDesc(from, key2)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // dist/experimental/crs/wkt.js
20
+ var wkt_exports = {};
21
+ __export(wkt_exports, {
22
+ wktCRSParser: () => wktCRSParser
23
+ });
24
+ module.exports = __toCommonJS(wkt_exports);
25
+
26
+ // ../crs/src/spatial-reference.ts
27
+ function inferCRSRepresentation(definition) {
28
+ if (typeof definition === "object") {
29
+ return "projjson";
30
+ }
31
+ const text = definition.trim();
32
+ if (/^[A-Z][A-Z0-9_]*\s*[\[(]/i.test(text)) {
33
+ return "wkt";
34
+ }
35
+ if (/(?:^|\s)\+?proj=/i.test(text)) {
36
+ return "proj-string";
37
+ }
38
+ 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)) {
39
+ return "identifier";
40
+ }
41
+ return "opaque";
42
+ }
43
+
44
+ // ../crs/src/wkt-crs.ts
45
+ var WKTCRSSyntaxError = class extends SyntaxError {
46
+ /** Create a WKT syntax error at a source location. */
47
+ constructor(message, source, offset) {
48
+ const location = getSourceLocation(source, offset);
49
+ super(`${message} at ${location.line}:${location.column}`);
50
+ this.name = "WKTCRSSyntaxError";
51
+ this.offset = offset;
52
+ this.line = location.line;
53
+ this.column = location.column;
54
+ }
55
+ };
56
+ var WKTCRSValidationError = class extends Error {
57
+ /** Create an error from one or more validation issues. */
58
+ constructor(issues) {
59
+ var _a2;
60
+ super(((_a2 = issues[0]) == null ? void 0 : _a2.message) || "WKT validation failed");
61
+ this.name = "WKTCRSValidationError";
62
+ this.issues = issues;
63
+ }
64
+ };
65
+ var NUMBER_PATTERN = /^[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?$/;
66
+ var KEYWORD_PATTERN = /^[A-Za-z][A-Za-z0-9_]*/;
67
+ var WKT1_ROOT_KEYWORDS = /* @__PURE__ */ new Set([
68
+ "COMPD_CS",
69
+ "CONCAT_MT",
70
+ "FITTED_CS",
71
+ "GEOCCS",
72
+ "GEOGCS",
73
+ "INVERSE_MT",
74
+ "LOCAL_CS",
75
+ "PARAM_MT",
76
+ "PASSTHROUGH_MT",
77
+ "PROJCS",
78
+ "VERT_CS"
79
+ ]);
80
+ var WKT1_KEYWORDS = /* @__PURE__ */ new Set([
81
+ ...WKT1_ROOT_KEYWORDS,
82
+ "AUTHORITY",
83
+ "AXIS",
84
+ "CONCAT_MT",
85
+ "DATUM",
86
+ "INVERSE_MT",
87
+ "LOCAL_DATUM",
88
+ "PARAMETER",
89
+ "PARAM_MT",
90
+ "PASSTHROUGH_MT",
91
+ "PRIMEM",
92
+ "PROJECTION",
93
+ "SPHEROID",
94
+ "TOWGS84",
95
+ "UNIT",
96
+ "VERT_DATUM"
97
+ ]);
98
+ var GDAL_WKT1_ROOT_KEYWORDS = new Set(WKT1_ROOT_KEYWORDS);
99
+ var GDAL_WKT1_KEYWORDS = /* @__PURE__ */ new Set([...WKT1_KEYWORDS, "EXTENSION"]);
100
+ var ESRI_WKT1_ROOT_KEYWORDS = /* @__PURE__ */ new Set([...WKT1_ROOT_KEYWORDS, "COMPDCS", "LOCALCS", "VERTCS"]);
101
+ var ESRI_WKT1_KEYWORDS = /* @__PURE__ */ new Set([...WKT1_KEYWORDS, "COMPDCS", "LOCALCS", "VDATUM", "VERTCS"]);
102
+ var WKT2_2015_ROOT_KEYWORDS = /* @__PURE__ */ new Set([
103
+ "BOUNDCRS",
104
+ "COMPOUNDCRS",
105
+ "COORDINATEOPERATION",
106
+ "ENGCRS",
107
+ "ENGINEERINGCRS",
108
+ "GEODCRS",
109
+ "GEODETICCRS",
110
+ "PARAMETRICCRS",
111
+ "PROJCRS",
112
+ "PROJECTEDCRS",
113
+ "TIMECRS",
114
+ "VERTCRS",
115
+ "VERTICALCRS"
116
+ ]);
117
+ var WKT2_2019_ROOT_KEYWORDS = /* @__PURE__ */ new Set([
118
+ ...WKT2_2015_ROOT_KEYWORDS,
119
+ "CONCATENATEDOPERATION",
120
+ "COORDINATEMETADATA",
121
+ "DERIVEDPROJCRS",
122
+ "GEOGCRS",
123
+ "GEOGRAPHICCRS",
124
+ "POINTMOTIONOPERATION"
125
+ ]);
126
+ var WKT2_KEYWORDS = /* @__PURE__ */ new Set([
127
+ ...WKT2_2019_ROOT_KEYWORDS,
128
+ "ABRIDGEDTRANSFORMATION",
129
+ "ANCHOR",
130
+ "ANGLEUNIT",
131
+ "AREA",
132
+ "AXIS",
133
+ "BASEENGCRS",
134
+ "BASEGEODCRS",
135
+ "BASEGEOGCRS",
136
+ "BASEPARAMCRS",
137
+ "BASEPROJCRS",
138
+ "BASETIMECRS",
139
+ "BASEVERTCRS",
140
+ "BBOX",
141
+ "BEARING",
142
+ "CALENDAR",
143
+ "CITATION",
144
+ "CONVERSION",
145
+ "COORDEPOCH",
146
+ "CS",
147
+ "DATUM",
148
+ "DERIVINGCONVERSION",
149
+ "DYNAMIC",
150
+ "EDATUM",
151
+ "ELLIPSOID",
152
+ "ENGINEERINGDATUM",
153
+ "ENSEMBLE",
154
+ "ENSEMBLEACCURACY",
155
+ "EPOCH",
156
+ "FRAMEEPOCH",
157
+ "GEODETICDATUM",
158
+ "GEOIDMODEL",
159
+ "ID",
160
+ "INTERPOLATIONCRS",
161
+ "LENGTHUNIT",
162
+ "MEMBER",
163
+ "MERIDIAN",
164
+ "METHOD",
165
+ "MODEL",
166
+ "OPERATIONACCURACY",
167
+ "ORDER",
168
+ "PARAMETER",
169
+ "PARAMETERFILE",
170
+ "PARAMETRICDATUM",
171
+ "PARAMETRICUNIT",
172
+ "PDATUM",
173
+ "PRIMEM",
174
+ "PRIMEMERIDIAN",
175
+ "REMARK",
176
+ "SCALEUNIT",
177
+ "SCOPE",
178
+ "SOURCECRS",
179
+ "STEP",
180
+ "TARGETCRS",
181
+ "TDATUM",
182
+ "TEMPORALQUANTITY",
183
+ "TIMEEXTENT",
184
+ "TIMEORIGIN",
185
+ "TIMEUNIT",
186
+ "TIMEDATUM",
187
+ "TRIAXIAL",
188
+ "TRF",
189
+ "URI",
190
+ "USAGE",
191
+ "VDATUM",
192
+ "VERSION",
193
+ "VERTICALDATUM",
194
+ "VERTICALEXTENT",
195
+ "VELOCITYGRID",
196
+ "VRF"
197
+ ]);
198
+ var WKT2_2019_ADDITION_KEYWORDS = /* @__PURE__ */ new Set([
199
+ "BASEGEOGCRS",
200
+ "CALENDAR",
201
+ "CONCATENATEDOPERATION",
202
+ "COORDEPOCH",
203
+ "COORDINATEMETADATA",
204
+ "DERIVEDPROJCRS",
205
+ "DYNAMIC",
206
+ "ENSEMBLE",
207
+ "ENSEMBLEACCURACY",
208
+ "EPOCH",
209
+ "FRAMEEPOCH",
210
+ "GEOGCRS",
211
+ "GEOGRAPHICCRS",
212
+ "GEOIDMODEL",
213
+ "MEMBER",
214
+ "MODEL",
215
+ "POINTMOTIONOPERATION",
216
+ "STEP",
217
+ "TEMPORALQUANTITY",
218
+ "TRF",
219
+ "TRIAXIAL",
220
+ "VELOCITYGRID",
221
+ "VRF"
222
+ ]);
223
+ var WKT2_2015_KEYWORDS = new Set(
224
+ [...WKT2_KEYWORDS].filter((keyword) => !WKT2_2019_ADDITION_KEYWORDS.has(keyword))
225
+ );
226
+ var PROFILE_ROOT_KEYWORDS = {
227
+ wkt1: WKT1_ROOT_KEYWORDS,
228
+ gdal: GDAL_WKT1_ROOT_KEYWORDS,
229
+ esri: ESRI_WKT1_ROOT_KEYWORDS,
230
+ "wkt2:2015": WKT2_2015_ROOT_KEYWORDS,
231
+ "wkt2:2019": WKT2_2019_ROOT_KEYWORDS
232
+ };
233
+ var PROFILE_KEYWORDS = {
234
+ wkt1: WKT1_KEYWORDS,
235
+ gdal: GDAL_WKT1_KEYWORDS,
236
+ esri: ESRI_WKT1_KEYWORDS,
237
+ "wkt2:2015": WKT2_2015_KEYWORDS,
238
+ "wkt2:2019": WKT2_KEYWORDS
239
+ };
240
+ function parseWKTCRS(text, options) {
241
+ const parser = new WKTParser(text);
242
+ const ast = { type: "wkt-crs", root: parser.parse() };
243
+ if (options == null ? void 0 : options.strict) {
244
+ const issues = validateWKTCRS(ast, {
245
+ profile: options.profile,
246
+ allowExtensions: false
247
+ });
248
+ if (issues.length > 0) {
249
+ throw new WKTCRSValidationError(issues);
250
+ }
251
+ }
252
+ return ast;
253
+ }
254
+ function validateWKTCRS(ast, options) {
255
+ var _a2;
256
+ if (!ast || ast.type !== "wkt-crs" || ((_a2 = ast.root) == null ? void 0 : _a2.type) !== "node") {
257
+ throw new TypeError("validateWKTCRS expects a WKTCRSAst");
258
+ }
259
+ const profile = resolveProfile(ast.root.keyword, (options == null ? void 0 : options.profile) || "auto");
260
+ const rootKeywords = PROFILE_ROOT_KEYWORDS[profile];
261
+ const knownKeywords = PROFILE_KEYWORDS[profile];
262
+ const issues = [];
263
+ const rootKeyword = ast.root.keyword.toUpperCase();
264
+ if (!rootKeywords.has(rootKeyword)) {
265
+ issues.push({
266
+ code: "invalid-root",
267
+ message: `${ast.root.keyword} is not a ${profile} root keyword`,
268
+ path: [],
269
+ keyword: ast.root.keyword
270
+ });
271
+ }
272
+ visitNode(ast.root, [], (node) => {
273
+ const keyword = node.node.keyword.toUpperCase();
274
+ if (!(options == null ? void 0 : options.allowExtensions) && !knownKeywords.has(keyword)) {
275
+ issues.push({
276
+ code: "unknown-keyword",
277
+ message: `${node.node.keyword} is not defined by the ${profile} profile`,
278
+ path: node.path,
279
+ keyword: node.node.keyword
280
+ });
281
+ }
282
+ if (node.node.values.length === 0) {
283
+ issues.push({
284
+ code: "empty-node",
285
+ message: `${node.node.keyword} must contain at least one value`,
286
+ path: node.path,
287
+ keyword: node.node.keyword
288
+ });
289
+ }
290
+ const grammarMessage = validateNodeValues(node.node);
291
+ if (grammarMessage) {
292
+ issues.push({
293
+ code: "invalid-value",
294
+ message: grammarMessage,
295
+ path: node.path,
296
+ keyword: node.node.keyword
297
+ });
298
+ }
299
+ });
300
+ return issues;
301
+ }
302
+ var WKTParser = class {
303
+ constructor(source) {
304
+ this.offset = 0;
305
+ this.source = source;
306
+ }
307
+ parse() {
308
+ this.skipWhitespace();
309
+ const root = this.parseNode();
310
+ this.skipWhitespace();
311
+ if (this.offset !== this.source.length) {
312
+ this.fail("Unexpected content after WKT root");
313
+ }
314
+ return root;
315
+ }
316
+ parseNode() {
317
+ const keyword = this.parseKeyword();
318
+ return this.parseNodeAfterKeyword(keyword);
319
+ }
320
+ parseNodeAfterKeyword(keyword) {
321
+ this.skipWhitespace();
322
+ const opening = this.source[this.offset];
323
+ if (opening !== "[" && opening !== "(") {
324
+ this.fail(`Expected '[' or '(' after ${keyword}`);
325
+ }
326
+ this.offset++;
327
+ const delimiter = opening === "[" ? "bracket" : "parenthesis";
328
+ const closing = opening === "[" ? "]" : ")";
329
+ const values = [];
330
+ this.skipWhitespace();
331
+ if (this.source[this.offset] === closing) {
332
+ this.offset++;
333
+ return { type: "node", keyword, delimiter, values };
334
+ }
335
+ while (this.offset < this.source.length) {
336
+ values.push(this.parseValue());
337
+ this.skipWhitespace();
338
+ const character = this.source[this.offset];
339
+ if (character === ",") {
340
+ this.offset++;
341
+ this.skipWhitespace();
342
+ if (this.source[this.offset] === closing) {
343
+ this.fail("Expected a WKT value after comma");
344
+ }
345
+ continue;
346
+ }
347
+ if (character === closing) {
348
+ this.offset++;
349
+ return { type: "node", keyword, delimiter, values };
350
+ }
351
+ if (character === "]" || character === ")") {
352
+ this.fail(`Expected '${closing}' to close ${keyword}`);
353
+ }
354
+ this.fail(`Expected ',' or '${closing}' in ${keyword}`);
355
+ }
356
+ this.fail(`Unterminated ${keyword} node`);
357
+ }
358
+ parseValue() {
359
+ this.skipWhitespace();
360
+ const character = this.source[this.offset];
361
+ if (character === '"') {
362
+ return this.parseString();
363
+ }
364
+ const start = this.offset;
365
+ while (this.offset < this.source.length && !/[\s,\[\]()"]/.test(this.source[this.offset])) {
366
+ this.offset++;
367
+ }
368
+ if (start === this.offset) {
369
+ this.fail("Expected a WKT value");
370
+ }
371
+ const value2 = this.source.slice(start, this.offset);
372
+ if (this.source[this.offset] === '"') {
373
+ this.fail("Unexpected quote in unquoted WKT value");
374
+ }
375
+ this.skipWhitespace();
376
+ if (this.source[this.offset] === "[" || this.source[this.offset] === "(") {
377
+ if (!/^[A-Za-z][A-Za-z0-9_]*$/.test(value2)) {
378
+ this.fail(`Invalid WKT keyword '${value2}'`);
379
+ }
380
+ return this.parseNodeAfterKeyword(value2);
381
+ }
382
+ if (NUMBER_PATTERN.test(value2)) {
383
+ return { type: "number", value: Number(value2), raw: value2 };
384
+ }
385
+ return { type: "enumeration", value: value2 };
386
+ }
387
+ parseKeyword() {
388
+ const match = this.source.slice(this.offset).match(KEYWORD_PATTERN);
389
+ if (!match) {
390
+ this.fail("Expected a WKT keyword");
391
+ }
392
+ this.offset += match[0].length;
393
+ return match[0];
394
+ }
395
+ parseString() {
396
+ this.offset++;
397
+ let value2 = "";
398
+ while (this.offset < this.source.length) {
399
+ const character = this.source[this.offset++];
400
+ if (character === '"') {
401
+ if (this.source[this.offset] === '"') {
402
+ value2 += '"';
403
+ this.offset++;
404
+ continue;
405
+ }
406
+ return { type: "string", value: value2 };
407
+ }
408
+ value2 += character;
409
+ }
410
+ this.fail("Unterminated WKT string");
411
+ }
412
+ skipWhitespace() {
413
+ while (this.offset < this.source.length && /\s/.test(this.source[this.offset])) {
414
+ this.offset++;
415
+ }
416
+ }
417
+ fail(message) {
418
+ throw new WKTCRSSyntaxError(message, this.source, this.offset);
419
+ }
420
+ };
421
+ function resolveProfile(rootKeyword, profile) {
422
+ if (profile !== "auto") {
423
+ return profile;
424
+ }
425
+ return WKT1_ROOT_KEYWORDS.has(rootKeyword.toUpperCase()) ? "wkt1" : "wkt2:2019";
426
+ }
427
+ function validateNodeValues(node) {
428
+ const keyword = node.keyword.toUpperCase();
429
+ const values = node.values;
430
+ const typeAt = (index, ...types) => Boolean(values[index] && types.includes(values[index].type));
431
+ const exact = (length, ...types) => values.length === length && types.every((type, index) => typeAt(index, type));
432
+ if ([
433
+ "ANGLEUNIT",
434
+ "LENGTHUNIT",
435
+ "PARAMETRICUNIT",
436
+ "SCALEUNIT",
437
+ "TIMEUNIT",
438
+ "TEMPORALQUANTITY",
439
+ "UNIT"
440
+ ].includes(keyword) && !(values.length >= 2 && typeAt(0, "string") && typeAt(1, "number"))) {
441
+ return `${node.keyword} must start with a quoted name and numeric conversion factor`;
442
+ }
443
+ if (keyword === "CS" && !exact(2, "enumeration", "number")) {
444
+ return `${node.keyword} must contain a coordinate-system type and dimension`;
445
+ }
446
+ if (keyword === "BBOX" && !exact(4, "number", "number", "number", "number")) {
447
+ return `${node.keyword} must contain four numeric bounds`;
448
+ }
449
+ if ([
450
+ "ENSEMBLEACCURACY",
451
+ "EPOCH",
452
+ "COORDEPOCH",
453
+ "FRAMEEPOCH",
454
+ "OPERATIONACCURACY",
455
+ "ORDER"
456
+ ].includes(keyword) && !exact(1, "number")) {
457
+ return `${node.keyword} must contain one number`;
458
+ }
459
+ if (["ANCHOR", "AREA", "CALENDAR", "CITATION", "REMARK", "SCOPE", "URI", "VERSION"].includes(
460
+ keyword
461
+ ) && !exact(1, "string")) {
462
+ return `${node.keyword} must contain one quoted string`;
463
+ }
464
+ if (["ELLIPSOID", "SPHEROID", "TRIAXIAL"].includes(keyword) && !(values.length >= 3 && typeAt(0, "string") && typeAt(1, "number") && typeAt(2, "number"))) {
465
+ return `${node.keyword} must start with a quoted name and numeric ellipsoid axes`;
466
+ }
467
+ if (["PARAMETER"].includes(keyword) && !(values.length >= 2 && typeAt(0, "string") && typeAt(1, "number"))) {
468
+ return `${node.keyword} must start with a quoted name and numeric value`;
469
+ }
470
+ if (keyword === "PARAMETERFILE" && !exact(2, "string", "string")) {
471
+ return `${node.keyword} must contain a quoted name and file name`;
472
+ }
473
+ if (["AUTHORITY", "ID"].includes(keyword) && !(values.length >= 2 && typeAt(0, "string") && typeAt(1, "string", "number"))) {
474
+ return `${node.keyword} must start with a quoted authority and identifier`;
475
+ }
476
+ if (["AXIS"].includes(keyword) && !(values.length >= 2 && typeAt(0, "string") && typeAt(1, "enumeration"))) {
477
+ return `${node.keyword} must start with a quoted name and axis direction`;
478
+ }
479
+ if (["METHOD", "PROJECTION"].includes(keyword) && !(values.length >= 1 && typeAt(0, "string"))) {
480
+ return `${node.keyword} must start with a quoted name`;
481
+ }
482
+ if (keyword === "TIMEEXTENT") {
483
+ const isTemporalValue = (index) => typeAt(index, "enumeration", "string");
484
+ if (values.length !== 2 || !isTemporalValue(0) || !isTemporalValue(1)) {
485
+ return `${node.keyword} must contain two date-time or quoted values`;
486
+ }
487
+ }
488
+ if (keyword === "VERTICALEXTENT") {
489
+ if (values.length < 2 || values.length > 3 || !typeAt(0, "number") || !typeAt(1, "number") || values.length === 3 && !typeAt(2, "node")) {
490
+ return `${node.keyword} must contain two numeric bounds and an optional unit`;
491
+ }
492
+ }
493
+ if (keyword === "COORDINATEMETADATA") {
494
+ if (values.length < 1 || values.length > 2 || !typeAt(0, "node") || values.length === 2 && (!typeAt(1, "node") || !["EPOCH", "COORDEPOCH"].includes(values[1].keyword.toUpperCase()))) {
495
+ return `${node.keyword} must contain a CRS and an optional coordinate epoch`;
496
+ }
497
+ }
498
+ if (keyword === "BOUNDCRS") {
499
+ const childKeywords = values.slice(0, 3).map((value2) => value2.type === "node" ? value2.keyword.toUpperCase() : "");
500
+ if (childKeywords[0] !== "SOURCECRS" || childKeywords[1] !== "TARGETCRS" || childKeywords[2] !== "ABRIDGEDTRANSFORMATION") {
501
+ return `${node.keyword} must start with SOURCECRS, TARGETCRS, and ABRIDGEDTRANSFORMATION`;
502
+ }
503
+ }
504
+ if ([
505
+ "COMPOUNDCRS",
506
+ "CONCATENATEDOPERATION",
507
+ "COORDINATEOPERATION",
508
+ "DERIVEDPROJCRS",
509
+ "ENGCRS",
510
+ "ENGINEERINGCRS",
511
+ "GEODCRS",
512
+ "GEODETICCRS",
513
+ "GEOGCRS",
514
+ "GEOGRAPHICCRS",
515
+ "PARAMETRICCRS",
516
+ "POINTMOTIONOPERATION",
517
+ "PROJCRS",
518
+ "PROJECTEDCRS",
519
+ "TIMECRS",
520
+ "VERTCRS",
521
+ "VERTICALCRS"
522
+ ].includes(keyword) && !typeAt(0, "string")) {
523
+ return `${node.keyword} must start with a quoted name`;
524
+ }
525
+ return null;
526
+ }
527
+ function visitNode(node, path, visitor) {
528
+ visitor({ node, path });
529
+ for (let index = 0; index < node.values.length; index++) {
530
+ const value2 = node.values[index];
531
+ if (value2.type === "node") {
532
+ visitNode(value2, [...path, index], visitor);
533
+ }
534
+ }
535
+ }
536
+ function getSourceLocation(source, offset) {
537
+ let line = 1;
538
+ let column = 1;
539
+ for (let index = 0; index < offset && index < source.length; index++) {
540
+ if (source[index] === "\n") {
541
+ line++;
542
+ column = 1;
543
+ } else {
544
+ column++;
545
+ }
546
+ }
547
+ return { line, column };
548
+ }
549
+
550
+ // dist/experimental/crs/types.js
551
+ var _a;
552
+ var CRS_ERROR = /* @__PURE__ */ Symbol.for("@math.gl/projection/TypeScriptCRSError");
553
+ var TypeScriptCRSError = class _TypeScriptCRSError extends Error {
554
+ static [(_a = CRS_ERROR, Symbol.hasInstance)](value2) {
555
+ if (this !== _TypeScriptCRSError)
556
+ return Function.prototype[Symbol.hasInstance].call(this, value2);
557
+ return value2 instanceof Error && value2[CRS_ERROR] === true;
558
+ }
559
+ constructor(reason, message) {
560
+ super(message);
561
+ this.reason = reason;
562
+ this[_a] = true;
563
+ this.name = "TypeScriptCRSError";
564
+ }
565
+ };
566
+ function unsupportedStage(message) {
567
+ throw new TypeScriptCRSError("missing-transform-stage", message);
568
+ }
569
+
570
+ // dist/experimental/crs/datum-table.js
571
+ var datums = {
572
+ wgs84: {
573
+ towgs84: "0,0,0",
574
+ ellipse: "WGS84",
575
+ datumName: "WGS84"
576
+ },
577
+ ch1903: {
578
+ towgs84: "674.374,15.056,405.346",
579
+ ellipse: "bessel",
580
+ datumName: "swiss"
581
+ },
582
+ ggrs87: {
583
+ towgs84: "-199.87,74.79,246.62",
584
+ ellipse: "GRS80",
585
+ datumName: "Greek_Geodetic_Reference_System_1987"
586
+ },
587
+ nad83: {
588
+ towgs84: "0,0,0",
589
+ ellipse: "GRS80",
590
+ datumName: "North_American_Datum_1983"
591
+ },
592
+ nad27: {
593
+ nadgrids: "@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat",
594
+ ellipse: "clrk66",
595
+ datumName: "North_American_Datum_1927"
596
+ },
597
+ potsdam: {
598
+ towgs84: "598.1,73.7,418.2,0.202,0.045,-2.455,6.7",
599
+ ellipse: "bessel",
600
+ datumName: "Potsdam Rauenberg 1950 DHDN"
601
+ },
602
+ carthage: {
603
+ towgs84: "-263.0,6.0,431.0",
604
+ ellipse: "clrk80ign",
605
+ datumName: "Carthage 1934 Tunisia"
606
+ },
607
+ hermannskogel: {
608
+ towgs84: "577.326,90.129,463.919,5.137,1.474,5.297,2.4232",
609
+ ellipse: "bessel",
610
+ datumName: "Hermannskogel"
611
+ },
612
+ mgi: {
613
+ towgs84: "577.326,90.129,463.919,5.137,1.474,5.297,2.4232",
614
+ ellipse: "bessel",
615
+ datumName: "Militar-Geographische Institut"
616
+ },
617
+ osni52: {
618
+ towgs84: "482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",
619
+ ellipse: "airy",
620
+ datumName: "Irish National"
621
+ },
622
+ ire65: {
623
+ towgs84: "482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",
624
+ ellipse: "mod_airy",
625
+ datumName: "Ireland 1965"
626
+ },
627
+ rassadiran: {
628
+ towgs84: "-133.63,-157.5,-158.62",
629
+ ellipse: "intl",
630
+ datumName: "Rassadiran"
631
+ },
632
+ nzgd49: {
633
+ towgs84: "59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993",
634
+ ellipse: "intl",
635
+ datumName: "New Zealand Geodetic Datum 1949"
636
+ },
637
+ osgb36: {
638
+ towgs84: "446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894",
639
+ ellipse: "airy",
640
+ datumName: "Ordnance Survey of Great Britain 1936"
641
+ },
642
+ s_jtsk: {
643
+ towgs84: "589,76,480",
644
+ ellipse: "bessel",
645
+ datumName: "S-JTSK (Ferro)"
646
+ },
647
+ beduaram: {
648
+ towgs84: "-106,-87,188",
649
+ ellipse: "clrk80",
650
+ datumName: "Beduaram"
651
+ },
652
+ gunung_segara: {
653
+ towgs84: "-403,684,41",
654
+ ellipse: "bessel",
655
+ datumName: "Gunung Segara Jakarta"
656
+ },
657
+ rnb72: {
658
+ towgs84: "106.869,-52.2978,103.724,-0.33657,0.456955,-1.84218,1",
659
+ ellipse: "intl",
660
+ datumName: "Reseau National Belge 1972"
661
+ },
662
+ EPSG_5451: {
663
+ towgs84: "6.41,-49.05,-11.28,1.5657,0.5242,6.9718,-5.7649"
664
+ },
665
+ IGNF_LURESG: {
666
+ towgs84: "-192.986,13.673,-39.309,-0.4099,-2.9332,2.6881,0.43"
667
+ },
668
+ EPSG_4614: {
669
+ towgs84: "-119.4248,-303.65872,-11.00061,1.164298,0.174458,1.096259,3.657065"
670
+ },
671
+ EPSG_4615: {
672
+ towgs84: "-494.088,-312.129,279.877,-1.423,-1.013,1.59,-0.748"
673
+ },
674
+ ESRI_37241: {
675
+ towgs84: "-76.822,257.457,-12.817,2.136,-0.033,-2.392,-0.031"
676
+ },
677
+ ESRI_37249: {
678
+ towgs84: "-440.296,58.548,296.265,1.128,10.202,4.559,-0.438"
679
+ },
680
+ ESRI_37245: {
681
+ towgs84: "-511.151,-181.269,139.609,1.05,2.703,1.798,3.071"
682
+ },
683
+ EPSG_4178: {
684
+ towgs84: "24.9,-126.4,-93.2,-0.063,-0.247,-0.041,1.01"
685
+ },
686
+ EPSG_4622: {
687
+ towgs84: "-472.29,-5.63,-304.12,0.4362,-0.8374,0.2563,1.8984"
688
+ },
689
+ EPSG_4625: {
690
+ towgs84: "126.93,547.94,130.41,-2.7867,5.1612,-0.8584,13.8227"
691
+ },
692
+ EPSG_5252: {
693
+ towgs84: "0.023,0.036,-0.068,0.00176,0.00912,-0.01136,0.00439"
694
+ },
695
+ EPSG_4314: {
696
+ towgs84: "597.1,71.4,412.1,0.894,0.068,-1.563,7.58"
697
+ },
698
+ EPSG_4282: {
699
+ towgs84: "-178.3,-316.7,-131.5,5.278,6.077,10.979,19.166"
700
+ },
701
+ EPSG_4231: {
702
+ towgs84: "-83.11,-97.38,-117.22,0.005693,-0.044698,0.044285,0.1218"
703
+ },
704
+ EPSG_4274: {
705
+ towgs84: "-230.994,102.591,25.199,0.633,-0.239,0.9,1.95"
706
+ },
707
+ EPSG_4134: {
708
+ towgs84: "-180.624,-225.516,173.919,-0.81,-1.898,8.336,16.71006"
709
+ },
710
+ EPSG_4254: {
711
+ towgs84: "18.38,192.45,96.82,0.056,-0.142,-0.2,-0.0013"
712
+ },
713
+ EPSG_4159: {
714
+ towgs84: "-194.513,-63.978,-25.759,-3.4027,3.756,-3.352,-0.9175"
715
+ },
716
+ EPSG_4687: {
717
+ towgs84: "0.072,-0.507,-0.245,0.0183,-0.0003,0.007,-0.0093"
718
+ },
719
+ EPSG_4227: {
720
+ towgs84: "-83.58,-397.54,458.78,-17.595,-2.847,4.256,3.225"
721
+ },
722
+ EPSG_4746: {
723
+ towgs84: "599.4,72.4,419.2,-0.062,-0.022,-2.723,6.46"
724
+ },
725
+ EPSG_4745: {
726
+ towgs84: "612.4,77,440.2,-0.054,0.057,-2.797,2.55"
727
+ },
728
+ EPSG_6311: {
729
+ towgs84: "8.846,-4.394,-1.122,-0.00237,-0.146528,0.130428,0.783926"
730
+ },
731
+ EPSG_4289: {
732
+ towgs84: "565.7381,50.4018,465.2904,-0.395026,0.330772,-1.876073,4.07244"
733
+ },
734
+ EPSG_4230: {
735
+ towgs84: "-68.863,-134.888,-111.49,-0.53,-0.14,0.57,-3.4"
736
+ },
737
+ EPSG_4154: {
738
+ towgs84: "-123.02,-158.95,-168.47"
739
+ },
740
+ EPSG_4156: {
741
+ towgs84: "570.8,85.7,462.8,4.998,1.587,5.261,3.56"
742
+ },
743
+ EPSG_4299: {
744
+ towgs84: "482.5,-130.6,564.6,-1.042,-0.214,-0.631,8.15"
745
+ },
746
+ EPSG_4179: {
747
+ towgs84: "33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84"
748
+ },
749
+ EPSG_4313: {
750
+ towgs84: "-106.8686,52.2978,-103.7239,0.3366,-0.457,1.8422,-1.2747"
751
+ },
752
+ EPSG_4194: {
753
+ towgs84: "163.511,127.533,-159.789"
754
+ },
755
+ EPSG_4195: {
756
+ towgs84: "105,326,-102.5"
757
+ },
758
+ EPSG_4196: {
759
+ towgs84: "-45,417,-3.5"
760
+ },
761
+ EPSG_4611: {
762
+ towgs84: "-162.619,-276.959,-161.764,0.067753,-2.243648,-1.158828,-1.094246"
763
+ },
764
+ EPSG_4633: {
765
+ towgs84: "137.092,131.66,91.475,-1.9436,-11.5993,-4.3321,-7.4824"
766
+ },
767
+ EPSG_4641: {
768
+ towgs84: "-408.809,366.856,-412.987,1.8842,-0.5308,2.1655,-121.0993"
769
+ },
770
+ EPSG_4643: {
771
+ towgs84: "-480.26,-438.32,-643.429,16.3119,20.1721,-4.0349,-111.7002"
772
+ },
773
+ EPSG_4300: {
774
+ towgs84: "482.5,-130.6,564.6,-1.042,-0.214,-0.631,8.15"
775
+ },
776
+ EPSG_4188: {
777
+ towgs84: "482.5,-130.6,564.6,-1.042,-0.214,-0.631,8.15"
778
+ },
779
+ EPSG_4660: {
780
+ towgs84: "982.6087,552.753,-540.873,6.681627,-31.611492,-19.848161,16.805"
781
+ },
782
+ EPSG_4662: {
783
+ towgs84: "97.295,-263.247,310.882,-1.5999,0.8386,3.1409,13.3259"
784
+ },
785
+ EPSG_3906: {
786
+ towgs84: "577.88891,165.22205,391.18289,4.9145,-0.94729,-13.05098,7.78664"
787
+ },
788
+ EPSG_4307: {
789
+ towgs84: "-209.3622,-87.8162,404.6198,0.0046,3.4784,0.5805,-1.4547"
790
+ },
791
+ EPSG_6892: {
792
+ towgs84: "-76.269,-16.683,68.562,-6.275,10.536,-4.286,-13.686"
793
+ },
794
+ EPSG_4690: {
795
+ towgs84: "221.597,152.441,176.523,2.403,1.3893,0.884,11.4648"
796
+ },
797
+ EPSG_4691: {
798
+ towgs84: "218.769,150.75,176.75,3.5231,2.0037,1.288,10.9817"
799
+ },
800
+ EPSG_4629: {
801
+ towgs84: "72.51,345.411,79.241,-1.5862,-0.8826,-0.5495,1.3653"
802
+ },
803
+ EPSG_4630: {
804
+ towgs84: "165.804,216.213,180.26,-0.6251,-0.4515,-0.0721,7.4111"
805
+ },
806
+ EPSG_4692: {
807
+ towgs84: "217.109,86.452,23.711,0.0183,-0.0003,0.007,-0.0093"
808
+ },
809
+ EPSG_9333: {
810
+ towgs84: "0,0,0,-0.008393,0.000749,-0.010276,0"
811
+ },
812
+ EPSG_9059: {
813
+ towgs84: "0,0,0"
814
+ },
815
+ EPSG_4312: {
816
+ towgs84: "601.705,84.263,485.227,4.7354,1.3145,5.393,-2.3887"
817
+ },
818
+ EPSG_4123: {
819
+ towgs84: "-96.062,-82.428,-121.753,4.801,0.345,-1.376,1.496"
820
+ },
821
+ EPSG_4309: {
822
+ towgs84: "-124.45,183.74,44.64,-0.4384,0.5446,-0.9706,-2.1365"
823
+ },
824
+ ESRI_104106: {
825
+ towgs84: "-283.088,-70.693,117.445,-1.157,0.059,-0.652,-4.058"
826
+ },
827
+ EPSG_4281: {
828
+ towgs84: "-219.247,-73.802,269.529"
829
+ },
830
+ EPSG_4322: {
831
+ towgs84: "0,0,4.5"
832
+ },
833
+ EPSG_4324: {
834
+ towgs84: "0,0,1.9"
835
+ },
836
+ EPSG_4284: {
837
+ towgs84: "43.822,-108.842,-119.585,1.455,-0.761,0.737,0.549"
838
+ },
839
+ EPSG_4277: {
840
+ towgs84: "446.448,-125.157,542.06,0.15,0.247,0.842,-20.489"
841
+ },
842
+ EPSG_4207: {
843
+ towgs84: "-282.1,-72.2,120,-1.529,0.145,-0.89,-4.46"
844
+ },
845
+ EPSG_4688: {
846
+ towgs84: "347.175,1077.618,2623.677,33.9058,-70.6776,9.4013,186.0647"
847
+ },
848
+ EPSG_4689: {
849
+ towgs84: "410.793,54.542,80.501,-2.5596,-2.3517,-0.6594,17.3218"
850
+ },
851
+ EPSG_4720: {
852
+ towgs84: "0,0,4.5"
853
+ },
854
+ EPSG_4273: {
855
+ towgs84: "278.3,93,474.5,7.889,0.05,-6.61,6.21"
856
+ },
857
+ EPSG_4240: {
858
+ towgs84: "204.64,834.74,293.8"
859
+ },
860
+ EPSG_4817: {
861
+ towgs84: "278.3,93,474.5,7.889,0.05,-6.61,6.21"
862
+ },
863
+ ESRI_104131: {
864
+ towgs84: "426.62,142.62,460.09,4.98,4.49,-12.42,-17.1"
865
+ },
866
+ EPSG_4265: {
867
+ towgs84: "-104.1,-49.1,-9.9,0.971,-2.917,0.714,-11.68"
868
+ },
869
+ EPSG_4263: {
870
+ towgs84: "-111.92,-87.85,114.5,1.875,0.202,0.219,0.032"
871
+ },
872
+ EPSG_4298: {
873
+ towgs84: "-689.5937,623.84046,-65.93566,-0.02331,1.17094,-0.80054,5.88536"
874
+ },
875
+ EPSG_4270: {
876
+ towgs84: "-253.4392,-148.452,386.5267,0.15605,0.43,-0.1013,-0.0424"
877
+ },
878
+ EPSG_4229: {
879
+ towgs84: "-121.8,98.1,-10.7"
880
+ },
881
+ EPSG_4220: {
882
+ towgs84: "-55.5,-348,-229.2"
883
+ },
884
+ EPSG_4214: {
885
+ towgs84: "12.646,-155.176,-80.863"
886
+ },
887
+ EPSG_4232: {
888
+ towgs84: "-345,3,223"
889
+ },
890
+ EPSG_4238: {
891
+ towgs84: "-1.977,-13.06,-9.993,0.364,0.254,0.689,-1.037"
892
+ },
893
+ EPSG_4168: {
894
+ towgs84: "-170,33,326"
895
+ },
896
+ EPSG_4131: {
897
+ towgs84: "199,931,318.9"
898
+ },
899
+ EPSG_4152: {
900
+ towgs84: "-0.9102,2.0141,0.5602,0.029039,0.010065,0.010101,0"
901
+ },
902
+ EPSG_5228: {
903
+ towgs84: "572.213,85.334,461.94,4.9732,1.529,5.2484,3.5378"
904
+ },
905
+ EPSG_8351: {
906
+ towgs84: "485.021,169.465,483.839,7.786342,4.397554,4.102655,0"
907
+ },
908
+ EPSG_4683: {
909
+ towgs84: "-127.62,-67.24,-47.04,-3.068,4.903,1.578,-1.06"
910
+ },
911
+ EPSG_4133: {
912
+ towgs84: "0,0,0"
913
+ },
914
+ EPSG_7373: {
915
+ towgs84: "0.819,-0.5762,-1.6446,-0.00378,-0.03317,0.00318,0.0693"
916
+ },
917
+ EPSG_9075: {
918
+ towgs84: "-0.9102,2.0141,0.5602,0.029039,0.010065,0.010101,0"
919
+ },
920
+ EPSG_9072: {
921
+ towgs84: "-0.9102,2.0141,0.5602,0.029039,0.010065,0.010101,0"
922
+ },
923
+ EPSG_9294: {
924
+ towgs84: "1.16835,-1.42001,-2.24431,-0.00822,-0.05508,0.01818,0.23388"
925
+ },
926
+ EPSG_4212: {
927
+ towgs84: "-267.434,173.496,181.814,-13.4704,8.7154,7.3926,14.7492"
928
+ },
929
+ EPSG_4191: {
930
+ towgs84: "-44.183,-0.58,-38.489,2.3867,2.7072,-3.5196,-8.2703"
931
+ },
932
+ EPSG_4237: {
933
+ towgs84: "52.684,-71.194,-13.975,-0.312,-0.1063,-0.3729,1.0191"
934
+ },
935
+ EPSG_4740: {
936
+ towgs84: "-1.08,-0.27,-0.9"
937
+ },
938
+ EPSG_4124: {
939
+ towgs84: "419.3836,99.3335,591.3451,0.850389,1.817277,-7.862238,-0.99496"
940
+ },
941
+ EPSG_5681: {
942
+ towgs84: "584.9636,107.7175,413.8067,1.1155,0.2824,-3.1384,7.9922"
943
+ },
944
+ EPSG_4141: {
945
+ towgs84: "23.772,17.49,17.859,-0.3132,-1.85274,1.67299,-5.4262"
946
+ },
947
+ EPSG_4204: {
948
+ towgs84: "-85.645,-273.077,-79.708,2.289,-1.421,2.532,3.194"
949
+ },
950
+ EPSG_4319: {
951
+ towgs84: "226.702,-193.337,-35.371,-2.229,-4.391,9.238,0.9798"
952
+ },
953
+ EPSG_4200: {
954
+ towgs84: "24.82,-131.21,-82.66"
955
+ },
956
+ EPSG_4130: {
957
+ towgs84: "0,0,0"
958
+ },
959
+ EPSG_4127: {
960
+ towgs84: "-82.875,-57.097,-156.768,-2.158,1.524,-0.982,-0.359"
961
+ },
962
+ EPSG_4149: {
963
+ towgs84: "674.374,15.056,405.346"
964
+ },
965
+ EPSG_4617: {
966
+ towgs84: "-0.991,1.9072,0.5129,0.02579,0.00965,0.01166,0"
967
+ },
968
+ EPSG_4663: {
969
+ towgs84: "-210.502,-66.902,-48.476,2.094,-15.067,-5.817,0.485"
970
+ },
971
+ EPSG_4664: {
972
+ towgs84: "-211.939,137.626,58.3,-0.089,0.251,0.079,0.384"
973
+ },
974
+ EPSG_4665: {
975
+ towgs84: "-105.854,165.589,-38.312,-0.003,-0.026,0.024,-0.048"
976
+ },
977
+ EPSG_4666: {
978
+ towgs84: "631.392,-66.551,481.442,1.09,-4.445,-4.487,-4.43"
979
+ },
980
+ EPSG_4756: {
981
+ towgs84: "-192.873,-39.382,-111.202,-0.00205,-0.0005,0.00335,0.0188"
982
+ },
983
+ EPSG_4723: {
984
+ towgs84: "-179.483,-69.379,-27.584,-7.862,8.163,6.042,-13.925"
985
+ },
986
+ EPSG_4726: {
987
+ towgs84: "8.853,-52.644,180.304,-0.393,-2.323,2.96,-24.081"
988
+ },
989
+ EPSG_4267: {
990
+ towgs84: "-8.0,160.0,176.0"
991
+ },
992
+ EPSG_5365: {
993
+ towgs84: "-0.16959,0.35312,0.51846,0.03385,-0.16325,0.03446,0.03693"
994
+ },
995
+ EPSG_4218: {
996
+ towgs84: "304.5,306.5,-318.1"
997
+ },
998
+ EPSG_4242: {
999
+ towgs84: "-33.722,153.789,94.959,-8.581,-4.478,4.54,8.95"
1000
+ },
1001
+ EPSG_4216: {
1002
+ towgs84: "-292.295,248.758,429.447,4.9971,2.99,6.6906,1.0289"
1003
+ },
1004
+ ESRI_104105: {
1005
+ towgs84: "631.392,-66.551,481.442,1.09,-4.445,-4.487,-4.43"
1006
+ },
1007
+ ESRI_104129: {
1008
+ towgs84: "0,0,0"
1009
+ },
1010
+ EPSG_4673: {
1011
+ towgs84: "174.05,-25.49,112.57"
1012
+ },
1013
+ EPSG_4202: {
1014
+ towgs84: "-124,-60,154"
1015
+ },
1016
+ EPSG_4203: {
1017
+ towgs84: "-117.763,-51.51,139.061,0.292,0.443,0.277,-0.191"
1018
+ },
1019
+ EPSG_3819: {
1020
+ towgs84: "595.48,121.69,515.35,4.115,-2.9383,0.853,-3.408"
1021
+ },
1022
+ EPSG_8694: {
1023
+ towgs84: "-93.799,-132.737,-219.073,-1.844,0.648,-6.37,-0.169"
1024
+ },
1025
+ EPSG_4145: {
1026
+ towgs84: "275.57,676.78,229.6"
1027
+ },
1028
+ EPSG_4283: {
1029
+ towgs84: "0.06155,-0.01087,-0.04019,0.039492,0.032722,0.032898,-0.009994"
1030
+ },
1031
+ EPSG_4317: {
1032
+ towgs84: "2.3287,-147.0425,-92.0802,-0.309248,0.324822,0.497299,5.689063"
1033
+ },
1034
+ EPSG_4272: {
1035
+ towgs84: "59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993"
1036
+ },
1037
+ EPSG_4248: {
1038
+ towgs84: "-307.7,265.3,-363.5"
1039
+ },
1040
+ EPSG_5561: {
1041
+ towgs84: "24,-121,-76"
1042
+ },
1043
+ EPSG_5233: {
1044
+ towgs84: "-0.293,766.95,87.713,0.195704,1.695068,3.473016,-0.039338"
1045
+ },
1046
+ ESRI_104130: {
1047
+ towgs84: "-86,-98,-119"
1048
+ },
1049
+ ESRI_104102: {
1050
+ towgs84: "682,-203,480"
1051
+ },
1052
+ ESRI_37207: {
1053
+ towgs84: "7,-10,-26"
1054
+ },
1055
+ EPSG_4675: {
1056
+ towgs84: "59.935,118.4,-10.871"
1057
+ },
1058
+ ESRI_104109: {
1059
+ towgs84: "-89.121,-348.182,260.871"
1060
+ },
1061
+ ESRI_104112: {
1062
+ towgs84: "-185.583,-230.096,281.361"
1063
+ },
1064
+ ESRI_104113: {
1065
+ towgs84: "25.1,-275.6,222.6"
1066
+ },
1067
+ IGNF_WGS72G: {
1068
+ towgs84: "0,12,6"
1069
+ },
1070
+ IGNF_NTFG: {
1071
+ towgs84: "-168,-60,320"
1072
+ },
1073
+ IGNF_EFATE57G: {
1074
+ towgs84: "-127,-769,472"
1075
+ },
1076
+ IGNF_PGP50G: {
1077
+ towgs84: "324.8,153.6,172.1"
1078
+ },
1079
+ IGNF_REUN47G: {
1080
+ towgs84: "94,-948,-1262"
1081
+ },
1082
+ IGNF_CSG67G: {
1083
+ towgs84: "-186,230,110"
1084
+ },
1085
+ IGNF_GUAD48G: {
1086
+ towgs84: "-467,-16,-300"
1087
+ },
1088
+ IGNF_TAHI51G: {
1089
+ towgs84: "162,117,154"
1090
+ },
1091
+ IGNF_TAHAAG: {
1092
+ towgs84: "65,342,77"
1093
+ },
1094
+ IGNF_NUKU72G: {
1095
+ towgs84: "84,274,65"
1096
+ },
1097
+ IGNF_PETRELS72G: {
1098
+ towgs84: "365,194,166"
1099
+ },
1100
+ IGNF_WALL78G: {
1101
+ towgs84: "253,-133,-127"
1102
+ },
1103
+ IGNF_MAYO50G: {
1104
+ towgs84: "-382,-59,-262"
1105
+ },
1106
+ IGNF_TANNAG: {
1107
+ towgs84: "-139,-967,436"
1108
+ },
1109
+ IGNF_IGN72G: {
1110
+ towgs84: "-13,-348,292"
1111
+ },
1112
+ IGNF_ATIGG: {
1113
+ towgs84: "1118,23,66"
1114
+ },
1115
+ IGNF_FANGA84G: {
1116
+ towgs84: "150.57,158.33,118.32"
1117
+ },
1118
+ IGNF_RUSAT84G: {
1119
+ towgs84: "202.13,174.6,-15.74"
1120
+ },
1121
+ IGNF_KAUE70G: {
1122
+ towgs84: "126.74,300.1,-75.49"
1123
+ },
1124
+ IGNF_MOP90G: {
1125
+ towgs84: "-10.8,-1.8,12.77"
1126
+ },
1127
+ IGNF_MHPF67G: {
1128
+ towgs84: "338.08,212.58,-296.17"
1129
+ },
1130
+ IGNF_TAHI79G: {
1131
+ towgs84: "160.61,116.05,153.69"
1132
+ },
1133
+ IGNF_ANAA92G: {
1134
+ towgs84: "1.5,3.84,4.81"
1135
+ },
1136
+ IGNF_MARQUI72G: {
1137
+ towgs84: "330.91,-13.92,58.56"
1138
+ },
1139
+ IGNF_APAT86G: {
1140
+ towgs84: "143.6,197.82,74.05"
1141
+ },
1142
+ IGNF_TUBU69G: {
1143
+ towgs84: "237.17,171.61,-77.84"
1144
+ },
1145
+ IGNF_STPM50G: {
1146
+ towgs84: "11.363,424.148,373.13"
1147
+ },
1148
+ EPSG_4150: {
1149
+ towgs84: "674.374,15.056,405.346"
1150
+ },
1151
+ EPSG_4754: {
1152
+ towgs84: "-208.4058,-109.8777,-2.5764"
1153
+ },
1154
+ ESRI_104101: {
1155
+ towgs84: "372.87,149.23,585.29"
1156
+ },
1157
+ EPSG_4693: {
1158
+ towgs84: "0,-0.15,0.68"
1159
+ },
1160
+ EPSG_6207: {
1161
+ towgs84: "293.17,726.18,245.36"
1162
+ },
1163
+ EPSG_4153: {
1164
+ towgs84: "-133.63,-157.5,-158.62"
1165
+ },
1166
+ EPSG_4132: {
1167
+ towgs84: "-241.54,-163.64,396.06"
1168
+ },
1169
+ EPSG_4221: {
1170
+ towgs84: "-154.5,150.7,100.4"
1171
+ },
1172
+ EPSG_4266: {
1173
+ towgs84: "-80.7,-132.5,41.1"
1174
+ },
1175
+ EPSG_4193: {
1176
+ towgs84: "-70.9,-151.8,-41.4"
1177
+ },
1178
+ EPSG_5340: {
1179
+ towgs84: "-0.41,0.46,-0.35"
1180
+ },
1181
+ EPSG_4246: {
1182
+ towgs84: "-294.7,-200.1,525.5"
1183
+ },
1184
+ EPSG_4318: {
1185
+ towgs84: "-3.2,-5.7,2.8"
1186
+ },
1187
+ EPSG_4121: {
1188
+ towgs84: "-199.87,74.79,246.62"
1189
+ },
1190
+ EPSG_4223: {
1191
+ towgs84: "-260.1,5.5,432.2"
1192
+ },
1193
+ EPSG_4158: {
1194
+ towgs84: "-0.465,372.095,171.736"
1195
+ },
1196
+ EPSG_4285: {
1197
+ towgs84: "-128.16,-282.42,21.93"
1198
+ },
1199
+ EPSG_4613: {
1200
+ towgs84: "-404.78,685.68,45.47"
1201
+ },
1202
+ EPSG_4607: {
1203
+ towgs84: "195.671,332.517,274.607"
1204
+ },
1205
+ EPSG_4475: {
1206
+ towgs84: "-381.788,-57.501,-256.673"
1207
+ },
1208
+ EPSG_4208: {
1209
+ towgs84: "-157.84,308.54,-146.6"
1210
+ },
1211
+ EPSG_4743: {
1212
+ towgs84: "70.995,-335.916,262.898"
1213
+ },
1214
+ EPSG_4710: {
1215
+ towgs84: "-323.65,551.39,-491.22"
1216
+ },
1217
+ EPSG_7881: {
1218
+ towgs84: "-0.077,0.079,0.086"
1219
+ },
1220
+ EPSG_4682: {
1221
+ towgs84: "283.729,735.942,261.143"
1222
+ },
1223
+ EPSG_4739: {
1224
+ towgs84: "-156,-271,-189"
1225
+ },
1226
+ EPSG_4679: {
1227
+ towgs84: "-80.01,253.26,291.19"
1228
+ },
1229
+ EPSG_4750: {
1230
+ towgs84: "-56.263,16.136,-22.856"
1231
+ },
1232
+ EPSG_4644: {
1233
+ towgs84: "-10.18,-350.43,291.37"
1234
+ },
1235
+ EPSG_4695: {
1236
+ towgs84: "-103.746,-9.614,-255.95"
1237
+ },
1238
+ EPSG_4292: {
1239
+ towgs84: "-355,21,72"
1240
+ },
1241
+ EPSG_4302: {
1242
+ towgs84: "-61.702,284.488,472.052"
1243
+ },
1244
+ EPSG_4143: {
1245
+ towgs84: "-124.76,53,466.79"
1246
+ },
1247
+ EPSG_4606: {
1248
+ towgs84: "-153,153,307"
1249
+ },
1250
+ EPSG_4699: {
1251
+ towgs84: "-770.1,158.4,-498.2"
1252
+ },
1253
+ EPSG_4247: {
1254
+ towgs84: "-273.5,110.6,-357.9"
1255
+ },
1256
+ EPSG_4160: {
1257
+ towgs84: "8.88,184.86,106.69"
1258
+ },
1259
+ EPSG_4161: {
1260
+ towgs84: "-233.43,6.65,173.64"
1261
+ },
1262
+ EPSG_9251: {
1263
+ towgs84: "-9.5,122.9,138.2"
1264
+ },
1265
+ EPSG_9253: {
1266
+ towgs84: "-78.1,101.6,133.3"
1267
+ },
1268
+ EPSG_4297: {
1269
+ towgs84: "-198.383,-240.517,-107.909"
1270
+ },
1271
+ EPSG_4269: {
1272
+ towgs84: "0,0,0"
1273
+ },
1274
+ EPSG_4301: {
1275
+ towgs84: "-147,506,687"
1276
+ },
1277
+ EPSG_4618: {
1278
+ towgs84: "-59,-11,-52"
1279
+ },
1280
+ EPSG_4612: {
1281
+ towgs84: "0,0,0"
1282
+ },
1283
+ EPSG_4678: {
1284
+ towgs84: "44.585,-131.212,-39.544"
1285
+ },
1286
+ EPSG_4250: {
1287
+ towgs84: "-130,29,364"
1288
+ },
1289
+ EPSG_4144: {
1290
+ towgs84: "214,804,268"
1291
+ },
1292
+ EPSG_4147: {
1293
+ towgs84: "-17.51,-108.32,-62.39"
1294
+ },
1295
+ EPSG_4259: {
1296
+ towgs84: "-254.1,-5.36,-100.29"
1297
+ },
1298
+ EPSG_4164: {
1299
+ towgs84: "-76,-138,67"
1300
+ },
1301
+ EPSG_4211: {
1302
+ towgs84: "-378.873,676.002,-46.255"
1303
+ },
1304
+ EPSG_4182: {
1305
+ towgs84: "-422.651,-172.995,84.02"
1306
+ },
1307
+ EPSG_4224: {
1308
+ towgs84: "-143.87,243.37,-33.52"
1309
+ },
1310
+ EPSG_4225: {
1311
+ towgs84: "-205.57,168.77,-4.12"
1312
+ },
1313
+ EPSG_5527: {
1314
+ towgs84: "-67.35,3.88,-38.22"
1315
+ },
1316
+ EPSG_4752: {
1317
+ towgs84: "98,390,-22"
1318
+ },
1319
+ EPSG_4310: {
1320
+ towgs84: "-30,190,89"
1321
+ },
1322
+ EPSG_9248: {
1323
+ towgs84: "-192.26,65.72,132.08"
1324
+ },
1325
+ EPSG_4680: {
1326
+ towgs84: "124.5,-63.5,-281"
1327
+ },
1328
+ EPSG_4701: {
1329
+ towgs84: "-79.9,-158,-168.9"
1330
+ },
1331
+ EPSG_4706: {
1332
+ towgs84: "-146.21,112.63,4.05"
1333
+ },
1334
+ EPSG_4805: {
1335
+ towgs84: "682,-203,480"
1336
+ },
1337
+ EPSG_4201: {
1338
+ towgs84: "-165,-11,206"
1339
+ },
1340
+ EPSG_4210: {
1341
+ towgs84: "-157,-2,-299"
1342
+ },
1343
+ EPSG_4183: {
1344
+ towgs84: "-104,167,-38"
1345
+ },
1346
+ EPSG_4139: {
1347
+ towgs84: "11,72,-101"
1348
+ },
1349
+ EPSG_4668: {
1350
+ towgs84: "-86,-98,-119"
1351
+ },
1352
+ EPSG_4717: {
1353
+ towgs84: "-2,151,181"
1354
+ },
1355
+ EPSG_4732: {
1356
+ towgs84: "102,52,-38"
1357
+ },
1358
+ EPSG_4280: {
1359
+ towgs84: "-377,681,-50"
1360
+ },
1361
+ EPSG_4209: {
1362
+ towgs84: "-138,-105,-289"
1363
+ },
1364
+ EPSG_4261: {
1365
+ towgs84: "31,146,47"
1366
+ },
1367
+ EPSG_4658: {
1368
+ towgs84: "-73,46,-86"
1369
+ },
1370
+ EPSG_4721: {
1371
+ towgs84: "265.025,384.929,-194.046"
1372
+ },
1373
+ EPSG_4222: {
1374
+ towgs84: "-136,-108,-292"
1375
+ },
1376
+ EPSG_4601: {
1377
+ towgs84: "-255,-15,71"
1378
+ },
1379
+ EPSG_4602: {
1380
+ towgs84: "725,685,536"
1381
+ },
1382
+ EPSG_4603: {
1383
+ towgs84: "72,213.7,93"
1384
+ },
1385
+ EPSG_4605: {
1386
+ towgs84: "9,183,236"
1387
+ },
1388
+ EPSG_4621: {
1389
+ towgs84: "137,248,-430"
1390
+ },
1391
+ EPSG_4657: {
1392
+ towgs84: "-28,199,5"
1393
+ },
1394
+ EPSG_4316: {
1395
+ towgs84: "103.25,-100.4,-307.19"
1396
+ },
1397
+ EPSG_4642: {
1398
+ towgs84: "-13,-348,292"
1399
+ },
1400
+ EPSG_4698: {
1401
+ towgs84: "145,-187,103"
1402
+ },
1403
+ EPSG_4192: {
1404
+ towgs84: "-206.1,-174.7,-87.7"
1405
+ },
1406
+ EPSG_4311: {
1407
+ towgs84: "-265,120,-358"
1408
+ },
1409
+ EPSG_4135: {
1410
+ towgs84: "58,-283,-182"
1411
+ },
1412
+ ESRI_104138: {
1413
+ towgs84: "198,-226,-347"
1414
+ },
1415
+ EPSG_4245: {
1416
+ towgs84: "-11,851,5"
1417
+ },
1418
+ EPSG_4142: {
1419
+ towgs84: "-125,53,467"
1420
+ },
1421
+ EPSG_4213: {
1422
+ towgs84: "-106,-87,188"
1423
+ },
1424
+ EPSG_4253: {
1425
+ towgs84: "-133,-77,-51"
1426
+ },
1427
+ EPSG_4129: {
1428
+ towgs84: "-132,-110,-335"
1429
+ },
1430
+ EPSG_4713: {
1431
+ towgs84: "-77,-128,142"
1432
+ },
1433
+ EPSG_4239: {
1434
+ towgs84: "217,823,299"
1435
+ },
1436
+ EPSG_4146: {
1437
+ towgs84: "295,736,257"
1438
+ },
1439
+ EPSG_4155: {
1440
+ towgs84: "-83,37,124"
1441
+ },
1442
+ EPSG_4165: {
1443
+ towgs84: "-173,253,27"
1444
+ },
1445
+ EPSG_4672: {
1446
+ towgs84: "175,-38,113"
1447
+ },
1448
+ EPSG_4236: {
1449
+ towgs84: "-637,-549,-203"
1450
+ },
1451
+ EPSG_4251: {
1452
+ towgs84: "-90,40,88"
1453
+ },
1454
+ EPSG_4271: {
1455
+ towgs84: "-2,374,172"
1456
+ },
1457
+ EPSG_4175: {
1458
+ towgs84: "-88,4,101"
1459
+ },
1460
+ EPSG_4716: {
1461
+ towgs84: "298,-304,-375"
1462
+ },
1463
+ EPSG_4315: {
1464
+ towgs84: "-23,259,-9"
1465
+ },
1466
+ EPSG_4744: {
1467
+ towgs84: "-242.2,-144.9,370.3"
1468
+ },
1469
+ EPSG_4244: {
1470
+ towgs84: "-97,787,86"
1471
+ },
1472
+ EPSG_4293: {
1473
+ towgs84: "616,97,-251"
1474
+ },
1475
+ EPSG_4714: {
1476
+ towgs84: "-127,-769,472"
1477
+ },
1478
+ EPSG_4736: {
1479
+ towgs84: "260,12,-147"
1480
+ },
1481
+ EPSG_6883: {
1482
+ towgs84: "-235,-110,393"
1483
+ },
1484
+ EPSG_6894: {
1485
+ towgs84: "-63,176,185"
1486
+ },
1487
+ EPSG_4205: {
1488
+ towgs84: "-43,-163,45"
1489
+ },
1490
+ EPSG_4256: {
1491
+ towgs84: "41,-220,-134"
1492
+ },
1493
+ EPSG_4262: {
1494
+ towgs84: "639,405,60"
1495
+ },
1496
+ EPSG_4604: {
1497
+ towgs84: "174,359,365"
1498
+ },
1499
+ EPSG_4169: {
1500
+ towgs84: "-115,118,426"
1501
+ },
1502
+ EPSG_4620: {
1503
+ towgs84: "-106,-129,165"
1504
+ },
1505
+ EPSG_4184: {
1506
+ towgs84: "-203,141,53"
1507
+ },
1508
+ EPSG_4616: {
1509
+ towgs84: "-289,-124,60"
1510
+ },
1511
+ EPSG_9403: {
1512
+ towgs84: "-307,-92,127"
1513
+ },
1514
+ EPSG_4684: {
1515
+ towgs84: "-133,-321,50"
1516
+ },
1517
+ EPSG_4708: {
1518
+ towgs84: "-491,-22,435"
1519
+ },
1520
+ EPSG_4707: {
1521
+ towgs84: "114,-116,-333"
1522
+ },
1523
+ EPSG_4709: {
1524
+ towgs84: "145,75,-272"
1525
+ },
1526
+ EPSG_4712: {
1527
+ towgs84: "-205,107,53"
1528
+ },
1529
+ EPSG_4711: {
1530
+ towgs84: "124,-234,-25"
1531
+ },
1532
+ EPSG_4718: {
1533
+ towgs84: "230,-199,-752"
1534
+ },
1535
+ EPSG_4719: {
1536
+ towgs84: "211,147,111"
1537
+ },
1538
+ EPSG_4724: {
1539
+ towgs84: "208,-435,-229"
1540
+ },
1541
+ EPSG_4725: {
1542
+ towgs84: "189,-79,-202"
1543
+ },
1544
+ EPSG_4735: {
1545
+ towgs84: "647,1777,-1124"
1546
+ },
1547
+ EPSG_4722: {
1548
+ towgs84: "-794,119,-298"
1549
+ },
1550
+ EPSG_4728: {
1551
+ towgs84: "-307,-92,127"
1552
+ },
1553
+ EPSG_4734: {
1554
+ towgs84: "-632,438,-609"
1555
+ },
1556
+ EPSG_4727: {
1557
+ towgs84: "912,-58,1227"
1558
+ },
1559
+ EPSG_4729: {
1560
+ towgs84: "185,165,42"
1561
+ },
1562
+ EPSG_4730: {
1563
+ towgs84: "170,42,84"
1564
+ },
1565
+ EPSG_4733: {
1566
+ towgs84: "276,-57,149"
1567
+ },
1568
+ ESRI_37218: {
1569
+ towgs84: "230,-199,-752"
1570
+ },
1571
+ ESRI_37240: {
1572
+ towgs84: "-7,215,225"
1573
+ },
1574
+ ESRI_37221: {
1575
+ towgs84: "252,-209,-751"
1576
+ },
1577
+ ESRI_4305: {
1578
+ towgs84: "-123,-206,219"
1579
+ },
1580
+ ESRI_104139: {
1581
+ towgs84: "-73,-247,227"
1582
+ },
1583
+ EPSG_4748: {
1584
+ towgs84: "51,391,-36"
1585
+ },
1586
+ EPSG_4219: {
1587
+ towgs84: "-384,664,-48"
1588
+ },
1589
+ EPSG_4255: {
1590
+ towgs84: "-333,-222,114"
1591
+ },
1592
+ EPSG_4257: {
1593
+ towgs84: "-587.8,519.75,145.76"
1594
+ },
1595
+ EPSG_4646: {
1596
+ towgs84: "-963,510,-359"
1597
+ },
1598
+ EPSG_6881: {
1599
+ towgs84: "-24,-203,268"
1600
+ },
1601
+ EPSG_6882: {
1602
+ towgs84: "-183,-15,273"
1603
+ },
1604
+ EPSG_4715: {
1605
+ towgs84: "-104,-129,239"
1606
+ },
1607
+ IGNF_RGF93GDD: {
1608
+ towgs84: "0,0,0"
1609
+ },
1610
+ IGNF_RGM04GDD: {
1611
+ towgs84: "0,0,0"
1612
+ },
1613
+ IGNF_RGSPM06GDD: {
1614
+ towgs84: "0,0,0"
1615
+ },
1616
+ IGNF_RGTAAF07GDD: {
1617
+ towgs84: "0,0,0"
1618
+ },
1619
+ IGNF_RGFG95GDD: {
1620
+ towgs84: "0,0,0"
1621
+ },
1622
+ IGNF_RGNCG: {
1623
+ towgs84: "0,0,0"
1624
+ },
1625
+ IGNF_RGPFGDD: {
1626
+ towgs84: "0,0,0"
1627
+ },
1628
+ IGNF_ETRS89G: {
1629
+ towgs84: "0,0,0"
1630
+ },
1631
+ IGNF_RGR92GDD: {
1632
+ towgs84: "0,0,0"
1633
+ },
1634
+ EPSG_4173: {
1635
+ towgs84: "0,0,0"
1636
+ },
1637
+ EPSG_4180: {
1638
+ towgs84: "0,0,0"
1639
+ },
1640
+ EPSG_4619: {
1641
+ towgs84: "0,0,0"
1642
+ },
1643
+ EPSG_4667: {
1644
+ towgs84: "0,0,0"
1645
+ },
1646
+ EPSG_4075: {
1647
+ towgs84: "0,0,0"
1648
+ },
1649
+ EPSG_6706: {
1650
+ towgs84: "0,0,0"
1651
+ },
1652
+ EPSG_7798: {
1653
+ towgs84: "0,0,0"
1654
+ },
1655
+ EPSG_4661: {
1656
+ towgs84: "0,0,0"
1657
+ },
1658
+ EPSG_4669: {
1659
+ towgs84: "0,0,0"
1660
+ },
1661
+ EPSG_8685: {
1662
+ towgs84: "0,0,0"
1663
+ },
1664
+ EPSG_4151: {
1665
+ towgs84: "0,0,0"
1666
+ },
1667
+ EPSG_9702: {
1668
+ towgs84: "0,0,0"
1669
+ },
1670
+ EPSG_4758: {
1671
+ towgs84: "0,0,0"
1672
+ },
1673
+ EPSG_4761: {
1674
+ towgs84: "0,0,0"
1675
+ },
1676
+ EPSG_4765: {
1677
+ towgs84: "0,0,0"
1678
+ },
1679
+ EPSG_8997: {
1680
+ towgs84: "0,0,0"
1681
+ },
1682
+ EPSG_4023: {
1683
+ towgs84: "0,0,0"
1684
+ },
1685
+ EPSG_4670: {
1686
+ towgs84: "0,0,0"
1687
+ },
1688
+ EPSG_4694: {
1689
+ towgs84: "0,0,0"
1690
+ },
1691
+ EPSG_4148: {
1692
+ towgs84: "0,0,0"
1693
+ },
1694
+ EPSG_4163: {
1695
+ towgs84: "0,0,0"
1696
+ },
1697
+ EPSG_4167: {
1698
+ towgs84: "0,0,0"
1699
+ },
1700
+ EPSG_4189: {
1701
+ towgs84: "0,0,0"
1702
+ },
1703
+ EPSG_4190: {
1704
+ towgs84: "0,0,0"
1705
+ },
1706
+ EPSG_4176: {
1707
+ towgs84: "0,0,0"
1708
+ },
1709
+ EPSG_4659: {
1710
+ towgs84: "0,0,0"
1711
+ },
1712
+ EPSG_3824: {
1713
+ towgs84: "0,0,0"
1714
+ },
1715
+ EPSG_3889: {
1716
+ towgs84: "0,0,0"
1717
+ },
1718
+ EPSG_4046: {
1719
+ towgs84: "0,0,0"
1720
+ },
1721
+ EPSG_4081: {
1722
+ towgs84: "0,0,0"
1723
+ },
1724
+ EPSG_4558: {
1725
+ towgs84: "0,0,0"
1726
+ },
1727
+ EPSG_4483: {
1728
+ towgs84: "0,0,0"
1729
+ },
1730
+ EPSG_5013: {
1731
+ towgs84: "0,0,0"
1732
+ },
1733
+ EPSG_5264: {
1734
+ towgs84: "0,0,0"
1735
+ },
1736
+ EPSG_5324: {
1737
+ towgs84: "0,0,0"
1738
+ },
1739
+ EPSG_5354: {
1740
+ towgs84: "0,0,0"
1741
+ },
1742
+ EPSG_5371: {
1743
+ towgs84: "0,0,0"
1744
+ },
1745
+ EPSG_5373: {
1746
+ towgs84: "0,0,0"
1747
+ },
1748
+ EPSG_5381: {
1749
+ towgs84: "0,0,0"
1750
+ },
1751
+ EPSG_5393: {
1752
+ towgs84: "0,0,0"
1753
+ },
1754
+ EPSG_5489: {
1755
+ towgs84: "0,0,0"
1756
+ },
1757
+ EPSG_5593: {
1758
+ towgs84: "0,0,0"
1759
+ },
1760
+ EPSG_6135: {
1761
+ towgs84: "0,0,0"
1762
+ },
1763
+ EPSG_6365: {
1764
+ towgs84: "0,0,0"
1765
+ },
1766
+ EPSG_5246: {
1767
+ towgs84: "0,0,0"
1768
+ },
1769
+ EPSG_7886: {
1770
+ towgs84: "0,0,0"
1771
+ },
1772
+ EPSG_8431: {
1773
+ towgs84: "0,0,0"
1774
+ },
1775
+ EPSG_8427: {
1776
+ towgs84: "0,0,0"
1777
+ },
1778
+ EPSG_8699: {
1779
+ towgs84: "0,0,0"
1780
+ },
1781
+ EPSG_8818: {
1782
+ towgs84: "0,0,0"
1783
+ },
1784
+ EPSG_4757: {
1785
+ towgs84: "0,0,0"
1786
+ },
1787
+ EPSG_9140: {
1788
+ towgs84: "0,0,0"
1789
+ },
1790
+ EPSG_8086: {
1791
+ towgs84: "0,0,0"
1792
+ },
1793
+ EPSG_4686: {
1794
+ towgs84: "0,0,0"
1795
+ },
1796
+ EPSG_4737: {
1797
+ towgs84: "0,0,0"
1798
+ },
1799
+ EPSG_4702: {
1800
+ towgs84: "0,0,0"
1801
+ },
1802
+ EPSG_4747: {
1803
+ towgs84: "0,0,0"
1804
+ },
1805
+ EPSG_4749: {
1806
+ towgs84: "0,0,0"
1807
+ },
1808
+ EPSG_4674: {
1809
+ towgs84: "0,0,0"
1810
+ },
1811
+ EPSG_4755: {
1812
+ towgs84: "0,0,0"
1813
+ },
1814
+ EPSG_4759: {
1815
+ towgs84: "0,0,0"
1816
+ },
1817
+ EPSG_4762: {
1818
+ towgs84: "0,0,0"
1819
+ },
1820
+ EPSG_4763: {
1821
+ towgs84: "0,0,0"
1822
+ },
1823
+ EPSG_4764: {
1824
+ towgs84: "0,0,0"
1825
+ },
1826
+ EPSG_4166: {
1827
+ towgs84: "0,0,0"
1828
+ },
1829
+ EPSG_4170: {
1830
+ towgs84: "0,0,0"
1831
+ },
1832
+ EPSG_5546: {
1833
+ towgs84: "0,0,0"
1834
+ },
1835
+ EPSG_7844: {
1836
+ towgs84: "0,0,0"
1837
+ },
1838
+ EPSG_4818: {
1839
+ towgs84: "589,76,480"
1840
+ },
1841
+ EPSG_10328: {
1842
+ towgs84: "0,0,0"
1843
+ },
1844
+ EPSG_9782: {
1845
+ towgs84: "0,0,0"
1846
+ },
1847
+ EPSG_9777: {
1848
+ towgs84: "0,0,0"
1849
+ },
1850
+ EPSG_10690: {
1851
+ towgs84: "0,0,0"
1852
+ },
1853
+ EPSG_10639: {
1854
+ towgs84: "0,0,0"
1855
+ },
1856
+ EPSG_10739: {
1857
+ towgs84: "0,0,0"
1858
+ },
1859
+ EPSG_7686: {
1860
+ towgs84: "0,0,0"
1861
+ },
1862
+ EPSG_8900: {
1863
+ towgs84: "0,0,0"
1864
+ },
1865
+ EPSG_5886: {
1866
+ towgs84: "0,0,0"
1867
+ },
1868
+ EPSG_7683: {
1869
+ towgs84: "0,0,0"
1870
+ },
1871
+ EPSG_6668: {
1872
+ towgs84: "0,0,0"
1873
+ },
1874
+ EPSG_20046: {
1875
+ towgs84: "0,0,0"
1876
+ },
1877
+ EPSG_10299: {
1878
+ towgs84: "0,0,0"
1879
+ },
1880
+ EPSG_10310: {
1881
+ towgs84: "0,0,0"
1882
+ },
1883
+ EPSG_10475: {
1884
+ towgs84: "0,0,0"
1885
+ },
1886
+ EPSG_4742: {
1887
+ towgs84: "0,0,0"
1888
+ },
1889
+ EPSG_10671: {
1890
+ towgs84: "0,0,0"
1891
+ },
1892
+ EPSG_10762: {
1893
+ towgs84: "0,0,0"
1894
+ },
1895
+ EPSG_10725: {
1896
+ towgs84: "0,0,0"
1897
+ },
1898
+ EPSG_10791: {
1899
+ towgs84: "0,0,0"
1900
+ },
1901
+ EPSG_10800: {
1902
+ towgs84: "0,0,0"
1903
+ },
1904
+ EPSG_10305: {
1905
+ towgs84: "0,0,0"
1906
+ },
1907
+ EPSG_10941: {
1908
+ towgs84: "0,0,0"
1909
+ },
1910
+ EPSG_10968: {
1911
+ towgs84: "0,0,0"
1912
+ },
1913
+ EPSG_10875: {
1914
+ towgs84: "0,0,0"
1915
+ },
1916
+ EPSG_6318: {
1917
+ towgs84: "0,0,0"
1918
+ },
1919
+ EPSG_10910: {
1920
+ towgs84: "0,0,0"
1921
+ }
1922
+ };
1923
+ for (const key2 in datums) {
1924
+ const datum = datums[key2];
1925
+ if (!datum.datumName) {
1926
+ continue;
1927
+ }
1928
+ datums[datum.datumName] = datum;
1929
+ }
1930
+ var datum_table_default = datums;
1931
+
1932
+ // dist/experimental/parameters.js
1933
+ var DEGREES_TO_RADIANS = Math.PI / 180;
1934
+
1935
+ // dist/experimental/crs/structured.js
1936
+ function object(value2) {
1937
+ if (!value2 || typeof value2 !== "object" || Array.isArray(value2))
1938
+ throw new Error("Expected a CRS object");
1939
+ return value2;
1940
+ }
1941
+ function array(value2) {
1942
+ return Array.isArray(value2) ? value2 : [];
1943
+ }
1944
+ function key(value2) {
1945
+ return String(value2 || "").toLowerCase().replace(/[^a-z0-9]/g, "");
1946
+ }
1947
+ function finite(value2) {
1948
+ if (typeof value2 !== "number" || !Number.isFinite(value2))
1949
+ throw new Error("Expected a finite CRS parameter");
1950
+ return value2;
1951
+ }
1952
+ function unit(value2, fallback) {
1953
+ if (value2 === void 0)
1954
+ return fallback;
1955
+ if (typeof value2 === "object") {
1956
+ const factor2 = finite(object(value2)["conversion_factor"]);
1957
+ if (factor2 <= 0)
1958
+ throw new Error("Unit conversion factor must be positive");
1959
+ return factor2;
1960
+ }
1961
+ const factors = {
1962
+ metre: 1,
1963
+ meter: 1,
1964
+ degree: DEGREES_TO_RADIANS,
1965
+ radian: 1,
1966
+ grad: Math.PI / 200,
1967
+ gon: Math.PI / 200,
1968
+ foot: 0.3048,
1969
+ ussurveyfoot: 1200 / 3937,
1970
+ kilometre: 1e3,
1971
+ arcsecond: DEGREES_TO_RADIANS / 3600,
1972
+ partspermillion: 1e-6,
1973
+ unity: 1
1974
+ };
1975
+ const factor = factors[key(value2)];
1976
+ if (!factor)
1977
+ unsupportedStage("Unsupported CRS unit: " + String(value2));
1978
+ return factor;
1979
+ }
1980
+ var METHODS = {
1981
+ hotineobliquemercator: "omerc",
1982
+ hotineobliquemercatorvarianta: "omerc",
1983
+ hotineobliquemercatorvariantb: "omerc",
1984
+ hotineobliquemercatorazimuthnaturalorigin: "omerc",
1985
+ hotineobliquemercatorazimuthcenter: "omerc",
1986
+ obliquemercator: "omerc",
1987
+ krovak: "krovak",
1988
+ krovaknorthorientated: "krovak",
1989
+ quadrilateralizedsphericalcube: "qsc",
1990
+ transversemercator: "tmerc",
1991
+ transversemercatorsouthorientated: "unsupported-south-tmerc",
1992
+ mercator: "merc",
1993
+ mercator1sp: "merc",
1994
+ mercator2sp: "merc",
1995
+ mercatorvarianta: "merc",
1996
+ mercatorvariantb: "merc",
1997
+ mercatorauxiliarysphere: "webmerc",
1998
+ popularvisualisationpseudomercator: "webmerc",
1999
+ lambertconformalconic: "lcc",
2000
+ lambertconformalconic1sp: "lcc",
2001
+ lambertconformalconic2sp: "lcc",
2002
+ lambertconicconformal1sp: "lcc",
2003
+ lambertconicconformal2sp: "lcc",
2004
+ albers: "aea",
2005
+ albersconicequalarea: "aea",
2006
+ albersequalarea: "aea",
2007
+ equidistantconic: "eqdc",
2008
+ lambertazimuthalequalarea: "laea",
2009
+ stereographic: "stere",
2010
+ stereographicnorthpole: "sterea",
2011
+ stereographicsouthpole: "stere",
2012
+ polarstereographic: "stere",
2013
+ polarstereographicvarianta: "stere",
2014
+ polarstereographicvariantb: "stere",
2015
+ obliquestereographic: "sterea",
2016
+ doublestereographic: "sterea",
2017
+ azimuthalequidistant: "aeqd",
2018
+ modifiedazimuthalequidistant: "aeqd",
2019
+ equidistantcylindrical: "eqc",
2020
+ equidistantcylindricalspherical: "eqc",
2021
+ equirectangular: "eqc",
2022
+ platecarree: "eqc",
2023
+ bonne: "bonne",
2024
+ cassinisoldner: "cass",
2025
+ cassini: "cass",
2026
+ cylindricalequalarea: "cea",
2027
+ lambertcylindricalequalarea: "cea",
2028
+ eckertvi: "eck6",
2029
+ equalearth: "eqearth",
2030
+ millercylindrical: "mill",
2031
+ mollweide: "moll",
2032
+ robinson: "robin",
2033
+ sinusoidal: "sinu",
2034
+ vandergrinten: "vandg",
2035
+ vandergrinteni: "vandg",
2036
+ gnomonic: "gnom",
2037
+ orthographic: "ortho",
2038
+ polyconic: "poly",
2039
+ americanpolyconic: "poly",
2040
+ newzealandmapgrid: "nzmg",
2041
+ gaussschreibertransversemercator: "gstmerc"
2042
+ };
2043
+ var PARAMETERS = {
2044
+ centralmeridian: "lon_0",
2045
+ longitudeoforigin: "lon_0",
2046
+ longitudeofcenter: "lon_0",
2047
+ longitudeofnaturalorigin: "lon_0",
2048
+ longitudeoffalseorigin: "lon_0",
2049
+ longitudeofprojectioncentre: "lon_0",
2050
+ straightverticalpolelongitude: "lon_0",
2051
+ longitudeoforiginmeridian: "lon_0",
2052
+ latitudeoforigin: "lat_0",
2053
+ latitudeofcenter: "lat_0",
2054
+ latitudeofnaturalorigin: "lat_0",
2055
+ latitudeoffalseorigin: "lat_0",
2056
+ latitudeofprojectioncentre: "lat_0",
2057
+ standardparallel1: "lat_1",
2058
+ latitudeof1ststandardparallel: "lat_1",
2059
+ standardparallel2: "lat_2",
2060
+ latitudeof2ndstandardparallel: "lat_2",
2061
+ latitudeofstandardparallel: "lat_ts",
2062
+ scalefactor: "k_0",
2063
+ scalefactoratnaturalorigin: "k_0",
2064
+ scalefactoratprojectionorigin: "k_0",
2065
+ falseeasting: "x_0",
2066
+ falsenorthing: "y_0",
2067
+ eastingatfalseorigin: "x_0",
2068
+ northingatfalseorigin: "y_0"
2069
+ };
2070
+ var METHOD_PARAMETERS = {
2071
+ omerc: {
2072
+ longitudeofcenter: "lonc",
2073
+ longitudeofprojectioncentre: "lonc",
2074
+ azimuth: "alpha",
2075
+ azimuthatprojectioncentre: "alpha",
2076
+ rectifiedgridangle: "gamma",
2077
+ anglefromrectifiedtoskewgrid: "gamma",
2078
+ scalefactoratprojectioncentre: "k_0",
2079
+ eastingatprojectioncentre: "x_0",
2080
+ northingatprojectioncentre: "y_0"
2081
+ },
2082
+ krovak: {
2083
+ azimuth: "alpha",
2084
+ colatitudeofconeaxis: "alpha",
2085
+ pseudostandardparallel1: "lat_ts",
2086
+ latitudeofpseudostandardparallel: "lat_ts",
2087
+ scalefactoronpseudostandardparallel: "k_0"
2088
+ }
2089
+ };
2090
+ var DIRECTIONS = {
2091
+ east: "e",
2092
+ west: "w",
2093
+ north: "n",
2094
+ south: "s",
2095
+ up: "u",
2096
+ down: "d",
2097
+ geocentricx: "e",
2098
+ geocentricy: "n",
2099
+ geocentricz: "u"
2100
+ };
2101
+ function readStructuredCRS(crs, options) {
2102
+ var _a2, _b, _c;
2103
+ const type = String(crs["type"]);
2104
+ if (type === "CompoundCRS") {
2105
+ if (options.mode !== "horizontal")
2106
+ unsupportedStage("CompoundCRS requires explicit horizontal extraction");
2107
+ const components = array(crs["components"]).map(object).filter((value2) => ["ProjectedCRS", "GeographicCRS", "GeodeticCRS", "BoundCRS"].includes(String(value2["type"])));
2108
+ if (components.length !== 1)
2109
+ throw new Error("CompoundCRS requires exactly one horizontal component");
2110
+ return { ...readStructuredCRS(components[0], options), lossy: true };
2111
+ }
2112
+ if (type === "BoundCRS") {
2113
+ const source = readStructuredCRS(object(crs["source_crs"]), options);
2114
+ const target = readStructuredCRS(object(crs["target_crs"]), options);
2115
+ if (target.parameters["datum"] !== "WGS84" || !["longlat", "geocent"].includes(target.parameters["proj"]) || Number(target.parameters["pm"] || 0) !== 0 || target.parameters["towgs84"] || Number(target.parameters["a"]) !== 6378137 || !(Math.abs(Number(target.parameters["rf"]) - 298.257223563) <= 1e-9 || Math.abs(Number(target.parameters["b"]) - 6356752314245179e-9) <= 1e-6))
2116
+ unsupportedStage("BoundCRS requires a WGS84 target");
2117
+ const operation2 = object(crs["transformation"]);
2118
+ const method = key(object(operation2["method"])["name"]);
2119
+ const translation = method === "geocentrictranslations" || /^geocentrictranslationsgeog[23]ddomain$/.test(method);
2120
+ const position = /^positionvector(?:transformation)?(?:geog[23]ddomain|geocentricdomain)?$/.test(method);
2121
+ const frame = /^coordinateframe(?:rotation)?(?:geog[23]ddomain|geocentricdomain)?$/.test(method);
2122
+ if (!translation && !position && !frame)
2123
+ unsupportedStage("Unsupported BoundCRS transformation: " + method);
2124
+ const names = [
2125
+ "xaxistranslation",
2126
+ "yaxistranslation",
2127
+ "zaxistranslation",
2128
+ "xaxisrotation",
2129
+ "yaxisrotation",
2130
+ "zaxisrotation",
2131
+ "scaledifference"
2132
+ ];
2133
+ const values = new Array(translation ? 3 : 7).fill(void 0);
2134
+ for (const entry of array(operation2["parameters"])) {
2135
+ const parameter = object(entry), index = names.indexOf(key(parameter["name"]));
2136
+ if (index < 0 || index >= values.length || values[index] !== void 0)
2137
+ unsupportedStage("Unsupported or duplicate Helmert parameter: " + String(parameter["name"]));
2138
+ const base2 = index < 3 ? 1 : index < 6 ? DEGREES_TO_RADIANS / 3600 : 1e-6;
2139
+ values[index] = finite(parameter["value"]) * unit(parameter["unit"], base2) / base2 * (frame && index >= 3 && index < 6 ? -1 : 1);
2140
+ }
2141
+ if (values.some((value2) => value2 === void 0))
2142
+ throw new Error("Incomplete BoundCRS Helmert transformation");
2143
+ const parameters2 = {
2144
+ ...source.parameters,
2145
+ towgs84: values.join(",")
2146
+ };
2147
+ delete parameters2["datum"];
2148
+ return { ...source, parameters: parameters2 };
2149
+ }
2150
+ if (!["ProjectedCRS", "GeographicCRS", "GeodeticCRS"].includes(type))
2151
+ unsupportedStage("Unsupported CRS type: " + type);
2152
+ const base = type === "ProjectedCRS" ? object(crs["base_crs"]) : crs;
2153
+ const datum = object(base["datum"] || base["datum_ensemble"]);
2154
+ if (datum["type"] === "DynamicGeodeticReferenceFrame" || datum["frame_reference_epoch"] !== void 0 || crs["coordinate_epoch"] !== void 0)
2155
+ unsupportedStage("Time-dependent datum transformations are not implemented");
2156
+ const ellipsoid = object(datum["ellipsoid"]);
2157
+ const major = finite(ellipsoid["semi_major_axis"] ?? ellipsoid["radius"]);
2158
+ const parameters = {
2159
+ proj: "longlat",
2160
+ a: String(major * unit(ellipsoid["unit"], 1))
2161
+ };
2162
+ if (ellipsoid["inverse_flattening"] !== void 0)
2163
+ parameters["rf"] = String(finite(ellipsoid["inverse_flattening"]));
2164
+ else if (ellipsoid["semi_minor_axis"] !== void 0)
2165
+ parameters["b"] = String(finite(ellipsoid["semi_minor_axis"]) * unit(ellipsoid["unit"], 1));
2166
+ else if (ellipsoid["radius"] !== void 0)
2167
+ parameters["b"] = parameters["a"];
2168
+ else
2169
+ throw new Error("Ellipsoid requires inverse flattening or semi-minor axis");
2170
+ const datumName = key(datum["name"]);
2171
+ const namedDatum = Object.keys(datum_table_default).find((name) => key(name) === datumName || key(name) === datumName.replace(/^d/, ""));
2172
+ if (namedDatum)
2173
+ parameters["datum"] = namedDatum;
2174
+ if ([
2175
+ "wgs84",
2176
+ "worldgeodeticsystem1984",
2177
+ "worldgeodeticsystem1984ensemble",
2178
+ "dwgs1984",
2179
+ "wgs1984"
2180
+ ].includes(datumName))
2181
+ parameters["datum"] = "WGS84";
2182
+ if (["nad83", "northamericandatum1983", "dnorthamerican1983"].includes(datumName))
2183
+ parameters["datum"] = "NAD83";
2184
+ if (["nad27", "northamericandatum1927", "dnorthamerican1927"].includes(datumName))
2185
+ parameters["datum"] = "NAD27";
2186
+ const datumAlias = {
2187
+ newzealand1949: "nzgd49",
2188
+ belge1972: "rnb72"
2189
+ };
2190
+ const alias = datumAlias[datumName.replace(/^d/, "")];
2191
+ if (alias)
2192
+ parameters["datum"] = alias;
2193
+ if (type === "ProjectedCRS" && base["id"]) {
2194
+ const id = object(base["id"]);
2195
+ const authorityDatum = String(id["authority"]) + "_" + String(id["code"]);
2196
+ if (Object.prototype.hasOwnProperty.call(datum_table_default, authorityDatum))
2197
+ parameters["datum"] = authorityDatum;
2198
+ }
2199
+ if (datum["towgs84"] !== void 0) {
2200
+ parameters["towgs84"] = array(datum["towgs84"]).map(finite).join(",");
2201
+ delete parameters["datum"];
2202
+ }
2203
+ const cs = crs["coordinate_system"] ? object(crs["coordinate_system"]) : {};
2204
+ const axes = array(cs["axis"]).map(object);
2205
+ const geocentric = key(cs["subtype"]) === "cartesian" && type === "GeodeticCRS";
2206
+ if (type !== "ProjectedCRS" && !geocentric && cs["subtype"] && key(cs["subtype"]) !== "ellipsoidal")
2207
+ unsupportedStage("Unsupported coordinate system subtype");
2208
+ if (geocentric)
2209
+ parameters["proj"] = "geocent";
2210
+ const angularUnit = unit(base["angular_unit"], DEGREES_TO_RADIANS);
2211
+ const factor = unit((_a2 = axes[0]) == null ? void 0 : _a2["unit"], type === "ProjectedCRS" || geocentric ? 1 : angularUnit);
2212
+ if (axes[1] && unit(axes[1]["unit"], factor) !== factor)
2213
+ unsupportedStage("Mixed horizontal axis units are not supported");
2214
+ if (geocentric && axes[2] && unit(axes[2]["unit"], factor) !== factor)
2215
+ unsupportedStage("Mixed geocentric axis units are not supported");
2216
+ const pm = base["prime_meridian"] || datum["prime_meridian"];
2217
+ if (pm) {
2218
+ const meridian = object(pm);
2219
+ parameters["pm"] = String(finite(meridian["longitude"]) * unit(meridian["unit"], angularUnit) / DEGREES_TO_RADIANS);
2220
+ }
2221
+ if (type === "ProjectedCRS") {
2222
+ const conversion = object(crs["conversion"]), method = key(object(conversion["method"])["name"]);
2223
+ const conversionParameters = array(conversion["parameters"]).map(object);
2224
+ const polarTrueScale = method === "stereographicnorthpole" && !conversionParameters.some((parameter) => key(parameter["name"]).startsWith("scalefactor"));
2225
+ const projection = polarTrueScale ? "stere" : METHODS[method];
2226
+ const esriKrovak = conversionParameters.filter((parameter) => ["xscale", "yscale", "xyplanerotation"].includes(key(parameter["name"])));
2227
+ if (esriKrovak.length) {
2228
+ const expected = { xscale: -1, yscale: 1, xyplanerotation: 90 };
2229
+ if (projection !== "krovak" || esriKrovak.length !== 3 || new Set(esriKrovak.map((parameter) => key(parameter["name"]))).size !== 3 || esriKrovak.some((parameter) => {
2230
+ const name = key(parameter["name"]);
2231
+ const factor2 = name === "xyplanerotation" ? unit(parameter["unit"], angularUnit) / DEGREES_TO_RADIANS : unit(parameter["unit"], 1);
2232
+ return Math.abs(finite(parameter["value"]) * factor2 - expected[name]) > 1e-10;
2233
+ }))
2234
+ unsupportedStage("Unsupported ESRI Krovak axis adjustment");
2235
+ }
2236
+ if (!projection || projection.startsWith("unsupported"))
2237
+ unsupportedStage("Unsupported projection method: " + String(object(conversion["method"])["name"]));
2238
+ parameters["proj"] = projection === "webmerc" ? "merc" : projection;
2239
+ let hasSemiMinor = false;
2240
+ for (const parameter of conversionParameters) {
2241
+ const parameterName = key(parameter["name"]);
2242
+ if (esriKrovak.includes(parameter))
2243
+ continue;
2244
+ if (parameterName === "auxiliaryspheretype" && projection === "webmerc" && parameter["value"] === 0)
2245
+ continue;
2246
+ if (parameterName === "semiminor" && projection === "webmerc") {
2247
+ if (hasSemiMinor)
2248
+ throw new Error("Duplicate conversion parameter: semi_minor");
2249
+ hasSemiMinor = true;
2250
+ const radius = finite(parameter["value"]) * unit(parameter["unit"], 1);
2251
+ if (Math.abs(radius - Number(parameters["a"])) > 4 * Number.EPSILON * Number(parameters["a"]))
2252
+ unsupportedStage("Pseudo-Mercator semi_minor must equal the semi-major axis");
2253
+ continue;
2254
+ }
2255
+ let name = ((_b = METHOD_PARAMETERS[projection]) == null ? void 0 : _b[parameterName]) || PARAMETERS[parameterName];
2256
+ if (!name)
2257
+ unsupportedStage("Unsupported conversion parameter: " + String(parameter["name"]));
2258
+ if (name === "lat_1" && method === "stereographicnorthpole" && !polarTrueScale)
2259
+ name = "lat_0";
2260
+ else if (name === "lat_1" && ["merc", "webmerc", "eqc", "stere", "cea"].includes(projection))
2261
+ name = "lat_ts";
2262
+ if (parameters[name] !== void 0)
2263
+ throw new Error("Duplicate conversion parameter: " + name);
2264
+ if (["merc", "webmerc"].includes(projection) && name === "lat_0" && parameter["value"] === 0)
2265
+ continue;
2266
+ const angle = name.startsWith("lat") || name.startsWith("lon") || name === "alpha" || name === "gamma";
2267
+ const length = name === "x_0" || name === "y_0";
2268
+ let converted = finite(parameter["value"]) * unit(parameter["unit"], angle ? angularUnit : length ? factor : 1) / (angle ? DEGREES_TO_RADIANS : 1);
2269
+ if (name.startsWith("lat") && Math.abs(Math.abs(converted) - 90) <= 4 * Number.EPSILON * 90)
2270
+ converted = Math.sign(converted) * 90;
2271
+ parameters[name] = String(converted);
2272
+ }
2273
+ if (projection === "omerc" && [
2274
+ "hotineobliquemercator",
2275
+ "hotineobliquemercatorvarianta",
2276
+ "hotineobliquemercatorazimuthnaturalorigin"
2277
+ ].includes(method))
2278
+ parameters["no_uoff"] = void 0;
2279
+ if (projection === "omerc" && parameters["lon_0"] !== void 0 && parameters["lonc"] !== void 0) {
2280
+ if (Math.abs(Number(parameters["lon_0"]) - Number(parameters["lonc"])) > 1e-10)
2281
+ unsupportedStage("Oblique Mercator central meridian conflicts with projection centre");
2282
+ delete parameters["lon_0"];
2283
+ }
2284
+ if (method === "stereographicnorthpole" && Math.abs(Number(parameters["lat_0"])) === 90)
2285
+ parameters["proj"] = "stere";
2286
+ if (projection === "lcc" && parameters["lat_1"] === void 0)
2287
+ parameters["lat_1"] = parameters["lat_0"];
2288
+ if (method === "polarstereographic" && parameters["lat_0"] !== void 0) {
2289
+ if (parameters["lat_ts"] !== void 0)
2290
+ throw new Error("Duplicate polar stereographic latitude of true scale");
2291
+ parameters["lat_ts"] = parameters["lat_0"];
2292
+ delete parameters["lat_0"];
2293
+ }
2294
+ if (projection === "stere" && (method.includes("polar") || method === "stereographicsouthpole" || polarTrueScale) && parameters["lat_0"] === void 0)
2295
+ parameters["lat_0"] = Number(parameters["lat_ts"] || 90) < 0 ? "-90" : "90";
2296
+ if (projection === "webmerc") {
2297
+ parameters["b"] = parameters["a"];
2298
+ delete parameters["rf"];
2299
+ parameters["nadgrids"] = "@null";
2300
+ }
2301
+ }
2302
+ let axis = axes.map((entry) => readAxisDirection(entry, parameters, type === "ProjectedCRS")).join("");
2303
+ if (axis.length === 2)
2304
+ axis += "u";
2305
+ if (!geocentric && /[ud]/.test(axis.slice(0, 2)))
2306
+ unsupportedStage("Structured CRS vertical-first axes require an explicit PROJ axis definition");
2307
+ if (axis)
2308
+ parameters["axis"] = axis;
2309
+ if (type === "ProjectedCRS" || geocentric)
2310
+ parameters["to_meter"] = String(factor);
2311
+ return {
2312
+ parameters,
2313
+ angularUnit: type === "ProjectedCRS" || geocentric ? angularUnit : factor,
2314
+ verticalUnit: geocentric ? 1 : unit((_c = axes[2]) == null ? void 0 : _c["unit"], 1)
2315
+ };
2316
+ }
2317
+ function readAxisDirection(entry, parameters, projected) {
2318
+ var _a2;
2319
+ let direction = String(entry["direction"]);
2320
+ let meridian = entry["meridian"];
2321
+ const along = /^(north|south) along ([+-]?(?:\d+(?:\.\d*)?|\.\d+)) deg(?: (east|west))?$/i.exec(direction);
2322
+ if (along) {
2323
+ if (meridian !== void 0)
2324
+ throw new Error("Duplicate axis meridian");
2325
+ direction = along[1];
2326
+ meridian = { longitude: Number(along[2]) * (((_a2 = along[3]) == null ? void 0 : _a2.toLowerCase()) === "west" ? -1 : 1) };
2327
+ }
2328
+ if (meridian !== void 0) {
2329
+ const latitude = Number(parameters["lat_0"]);
2330
+ const north = latitude === 90;
2331
+ if (!projected || parameters["proj"] !== "stere" || Math.abs(latitude) !== 90 || key(direction) !== (north ? "south" : "north"))
2332
+ unsupportedStage("Axis meridians require an outward-facing polar stereographic axis");
2333
+ const longitude = object(meridian)["longitude"];
2334
+ const degrees = typeof longitude === "number" ? finite(longitude) : finite(object(longitude)["value"]) * unit(object(longitude)["unit"], DEGREES_TO_RADIANS) / DEGREES_TO_RADIANS;
2335
+ const quarterTurns = finite((degrees - Number(parameters["lon_0"] || 0)) / 90);
2336
+ if (Math.abs(quarterTurns - Math.round(quarterTurns)) > 1e-12)
2337
+ unsupportedStage("Non-cardinal axis meridians require an orientation operation");
2338
+ const quadrant = (Math.round(quarterTurns) % 4 + 4) % 4;
2339
+ return (north ? "senw" : "nesw")[quadrant];
2340
+ }
2341
+ const result = DIRECTIONS[key(direction)];
2342
+ if (!result)
2343
+ unsupportedStage("Unsupported axis direction: " + direction);
2344
+ return result;
2345
+ }
2346
+
2347
+ // dist/experimental/crs/wkt.js
2348
+ function children(node, ...names) {
2349
+ return node.values.filter((value2) => value2.type === "node" && names.includes(value2.keyword.toUpperCase()));
2350
+ }
2351
+ function child(node, ...names) {
2352
+ return children(node, ...names)[0];
2353
+ }
2354
+ function value(node, index = 0) {
2355
+ const item = node.values[index];
2356
+ return item && item.type !== "node" ? item.value : void 0;
2357
+ }
2358
+ function units(node) {
2359
+ return node ? { name: value(node), conversion_factor: value(node, 1) } : void 0;
2360
+ }
2361
+ function legacyAxisDirection(axis, projected) {
2362
+ const direction = value(axis, 1);
2363
+ if (projected && String(direction).toLowerCase() === "unknown") {
2364
+ const name = String(value(axis)).toLowerCase();
2365
+ const match = /^(easting|northing|westing|southing)(?:\s*\([a-z]\))?$/.exec(name);
2366
+ if (match)
2367
+ return { easting: "east", northing: "north", westing: "west", southing: "south" }[match[1]];
2368
+ }
2369
+ return direction;
2370
+ }
2371
+ function axisMeridian(axis) {
2372
+ const meridian = child(axis, "MERIDIAN");
2373
+ if (!meridian)
2374
+ return void 0;
2375
+ return { longitude: { value: value(meridian), unit: units(child(meridian, "ANGLEUNIT")) } };
2376
+ }
2377
+ function operation(node) {
2378
+ const method = child(node, "METHOD", "PROJECTION");
2379
+ if (!method)
2380
+ throw new Error("WKT conversion requires a METHOD or PROJECTION");
2381
+ if (child(node, "PARAMETERFILE"))
2382
+ unsupportedStage("Grid-based WKT operation is not implemented");
2383
+ return {
2384
+ method: { name: value(method) },
2385
+ parameters: children(node, "PARAMETER").map((parameter) => ({
2386
+ name: value(parameter),
2387
+ value: value(parameter, 1),
2388
+ unit: units(child(parameter, "ANGLEUNIT", "LENGTHUNIT", "SCALEUNIT"))
2389
+ }))
2390
+ };
2391
+ }
2392
+ function readWKT(node) {
2393
+ const keyword = node.keyword.toUpperCase();
2394
+ if (keyword === "COMPD_CS" || keyword === "COMPOUNDCRS") {
2395
+ return {
2396
+ type: "CompoundCRS",
2397
+ components: children(node, "PROJCS", "PROJCRS", "GEOGCS", "GEOGCRS", "GEODCRS", "BOUNDCRS", "VERT_CS", "VERTCRS").map(readWKT)
2398
+ };
2399
+ }
2400
+ if (keyword === "BOUNDCRS") {
2401
+ const source = child(node, "SOURCECRS"), target = child(node, "TARGETCRS"), transform = child(node, "ABRIDGEDTRANSFORMATION");
2402
+ if (!source || !target || !transform)
2403
+ throw new Error("Incomplete WKT BoundCRS");
2404
+ const root = (wrapper) => {
2405
+ const entry = wrapper.values.find((value2) => value2.type === "node");
2406
+ if (!entry)
2407
+ throw new Error("Missing bound CRS component");
2408
+ return entry;
2409
+ };
2410
+ const op = operation(transform);
2411
+ const parameters = op["parameters"];
2412
+ for (const parameter of parameters) {
2413
+ if (String(parameter["name"]).toLowerCase() === "scale difference" && parameter["unit"] === void 0)
2414
+ parameter["value"] = (Number(parameter["value"]) - 1) * 1e6;
2415
+ }
2416
+ return {
2417
+ type: "BoundCRS",
2418
+ source_crs: readWKT(root(source)),
2419
+ target_crs: readWKT(root(target)),
2420
+ transformation: op
2421
+ };
2422
+ }
2423
+ if (["VERT_CS", "VERTCRS"].includes(keyword))
2424
+ return { type: "VerticalCRS" };
2425
+ const projected = ["PROJCS", "PROJCRS", "PROJECTEDCRS"].includes(keyword);
2426
+ const geographic = [
2427
+ "GEOGCS",
2428
+ "GEOGCRS",
2429
+ "GEODCRS",
2430
+ "GEODETICCRS",
2431
+ "GEOGRAPHICCRS",
2432
+ "BASEGEOGCRS",
2433
+ "BASEGEODCRS",
2434
+ "GEOCCS"
2435
+ ].includes(keyword);
2436
+ if (!projected && !geographic)
2437
+ unsupportedStage("Unsupported WKT CRS: " + keyword);
2438
+ if (child(node, "DYNAMIC", "DERIVINGCONVERSION", "VELOCITYGRID", "EXTENSION"))
2439
+ unsupportedStage("Unsupported WKT dynamic/extension operation");
2440
+ const cs = child(node, "CS");
2441
+ const geocentric = keyword === "GEOCCS" || String(value(cs || node)).toLowerCase() === "cartesian" && !projected;
2442
+ const localUnit = child(node, projected || geocentric ? "LENGTHUNIT" : "ANGLEUNIT", "UNIT");
2443
+ const axes = children(node, "AXIS").sort((a, b) => Number(value(child(a, "ORDER") || a)) - Number(value(child(b, "ORDER") || b))).map((axis, index) => ({
2444
+ name: value(axis),
2445
+ direction: keyword === "GEOCCS" ? ["geocentricX", "geocentricY", "geocentricZ"][index] : legacyAxisDirection(axis, projected),
2446
+ unit: units(child(axis, "ANGLEUNIT", "LENGTHUNIT") || (!geocentric && !projected && /^(up|down)$/i.test(String(value(axis, 1))) ? void 0 : localUnit)),
2447
+ meridian: axisMeridian(axis)
2448
+ }));
2449
+ if (!axes.length) {
2450
+ for (const direction of geocentric ? ["geocentricX", "geocentricY", "geocentricZ"] : ["east", "north"])
2451
+ axes.push({ name: direction, direction, unit: units(localUnit), meridian: void 0 });
2452
+ }
2453
+ const id = keyword === "GEOGCS" ? void 0 : child(node, "ID");
2454
+ const result = {
2455
+ type: projected ? "ProjectedCRS" : geocentric ? "GeodeticCRS" : "GeographicCRS",
2456
+ name: value(node),
2457
+ // WKT1 uses datum names; WKT2 base-CRS IDs select the upstream authority table.
2458
+ id: id ? { authority: value(id), code: value(id, 1) } : void 0,
2459
+ coordinate_system: { subtype: projected || geocentric ? "Cartesian" : "ellipsoidal", axis: axes }
2460
+ };
2461
+ if (projected) {
2462
+ const base = child(node, "GEOGCS", "BASEGEOGCRS", "BASEGEODCRS", "GEODCRS", "GEOGCRS");
2463
+ if (!base)
2464
+ throw new Error("Projected WKT requires a base geographic CRS");
2465
+ result["base_crs"] = readWKT(base);
2466
+ result["conversion"] = operation(child(node, "CONVERSION") || node);
2467
+ } else {
2468
+ const datum = child(node, "DATUM", "GEODETICDATUM", "ENSEMBLE");
2469
+ if (!datum)
2470
+ throw new Error("WKT requires a geodetic datum");
2471
+ if (child(datum, "EXTENSION", "DYNAMIC"))
2472
+ unsupportedStage("Unsupported datum extension");
2473
+ const ellipsoid = child(datum, "SPHEROID", "ELLIPSOID");
2474
+ if (!ellipsoid)
2475
+ throw new Error("WKT datum requires an ellipsoid");
2476
+ const shift = child(datum, "TOWGS84");
2477
+ result["datum"] = {
2478
+ name: value(datum),
2479
+ ellipsoid: {
2480
+ name: value(ellipsoid),
2481
+ semi_major_axis: value(ellipsoid, 1),
2482
+ inverse_flattening: value(ellipsoid, 2),
2483
+ unit: units(child(ellipsoid, "LENGTHUNIT"))
2484
+ },
2485
+ towgs84: shift == null ? void 0 : shift.values.map((_, index) => value(shift, index))
2486
+ };
2487
+ const pm = child(node, "PRIMEM");
2488
+ if (pm)
2489
+ result["prime_meridian"] = {
2490
+ name: value(pm),
2491
+ longitude: value(pm, 1),
2492
+ unit: units(child(pm, "ANGLEUNIT") || (geocentric ? void 0 : localUnit))
2493
+ };
2494
+ result["angular_unit"] = geocentric ? void 0 : units(localUnit);
2495
+ }
2496
+ return result;
2497
+ }
2498
+ var wktCRSParser = {
2499
+ name: "wkt",
2500
+ canParse: (definition) => inferCRSRepresentation(definition) === "wkt",
2501
+ parse(definition, options) {
2502
+ if (typeof definition !== "string")
2503
+ throw new Error("Expected serialized WKT");
2504
+ return readStructuredCRS(readWKT(parseWKTCRS(definition).root), options);
2505
+ }
2506
+ };
2507
+ //# sourceMappingURL=wkt.cjs.map