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

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 (3072) hide show
  1. package/APACHE-2.0-LICENSE.txt +55 -0
  2. package/GEOGRAPHICLIB-LICENSE.txt +28 -0
  3. package/H3-LICENSE.TXT +201 -0
  4. package/H3-NOTICE.TXT +17 -0
  5. package/LICENSE +268 -69
  6. package/PROJ-LICENSE.txt +37 -0
  7. package/PROJ4-LICENSE.md +29 -0
  8. package/README.md +241 -0
  9. package/THIRD-PARTY-NOTICES.md +293 -0
  10. package/dist/constants.d.ts.map +1 -1
  11. package/dist/constants.js +5 -3
  12. package/dist/constants.js.map +1 -1
  13. package/dist/coordinates/angles.d.ts +20 -0
  14. package/dist/coordinates/angles.d.ts.map +1 -0
  15. package/dist/coordinates/angles.js +117 -0
  16. package/dist/coordinates/angles.js.map +1 -0
  17. package/dist/coordinates/grid.d.ts +23 -0
  18. package/dist/coordinates/grid.d.ts.map +1 -0
  19. package/dist/coordinates/grid.js +110 -0
  20. package/dist/coordinates/grid.js.map +1 -0
  21. package/dist/coordinates/mgrs.d.ts +25 -0
  22. package/dist/coordinates/mgrs.d.ts.map +1 -0
  23. package/dist/coordinates/mgrs.js +124 -0
  24. package/dist/coordinates/mgrs.js.map +1 -0
  25. package/dist/coordinates.d.ts +7 -0
  26. package/dist/coordinates.d.ts.map +1 -0
  27. package/dist/coordinates.js +7 -0
  28. package/dist/coordinates.js.map +1 -0
  29. package/dist/crs/crs-descriptor-types.d.ts +71 -0
  30. package/dist/crs/crs-descriptor-types.d.ts.map +1 -0
  31. package/dist/crs/crs-descriptor-types.js +5 -0
  32. package/dist/crs/crs-descriptor-types.js.map +1 -0
  33. package/dist/crs/crs-descriptor.d.ts +26 -0
  34. package/dist/crs/crs-descriptor.d.ts.map +1 -0
  35. package/dist/crs/crs-descriptor.js +131 -0
  36. package/dist/crs/crs-descriptor.js.map +1 -0
  37. package/dist/crs/crs-identifier.d.ts +23 -0
  38. package/dist/crs/crs-identifier.d.ts.map +1 -0
  39. package/dist/crs/crs-identifier.js +74 -0
  40. package/dist/crs/crs-identifier.js.map +1 -0
  41. package/dist/crs/crs-metadata.d.ts +43 -0
  42. package/dist/crs/crs-metadata.d.ts.map +1 -0
  43. package/dist/crs/crs-metadata.js +26 -0
  44. package/dist/crs/crs-metadata.js.map +1 -0
  45. package/dist/crs/crs.d.ts +22 -0
  46. package/dist/crs/crs.d.ts.map +1 -0
  47. package/dist/crs/crs.js +5 -0
  48. package/dist/crs/crs.js.map +1 -0
  49. package/dist/crs/execution-identity.d.ts +26 -0
  50. package/dist/crs/execution-identity.d.ts.map +1 -0
  51. package/dist/crs/execution-identity.js +76 -0
  52. package/dist/crs/execution-identity.js.map +1 -0
  53. package/dist/crs/index.cjs +1300 -0
  54. package/dist/crs/index.cjs.map +6 -0
  55. package/dist/crs/index.d.ts +22 -0
  56. package/dist/crs/index.d.ts.map +1 -0
  57. package/dist/crs/index.js +16 -0
  58. package/dist/crs/index.js.map +1 -0
  59. package/dist/crs/proj-string.d.ts +32 -0
  60. package/dist/crs/proj-string.d.ts.map +1 -0
  61. package/dist/crs/proj-string.js +204 -0
  62. package/dist/crs/proj-string.js.map +1 -0
  63. package/dist/crs/projection-domain.d.ts +33 -0
  64. package/dist/crs/projection-domain.d.ts.map +1 -0
  65. package/dist/crs/projection-domain.js +69 -0
  66. package/dist/crs/projection-domain.js.map +1 -0
  67. package/dist/crs/projjson-schema-constants.d.ts +5 -0
  68. package/dist/crs/projjson-schema-constants.d.ts.map +1 -0
  69. package/dist/crs/projjson-schema-constants.js +8 -0
  70. package/dist/crs/projjson-schema-constants.js.map +1 -0
  71. package/dist/crs/projjson-types.d.ts +557 -0
  72. package/dist/crs/projjson-types.d.ts.map +1 -0
  73. package/dist/crs/projjson-types.js +5 -0
  74. package/dist/crs/projjson-types.js.map +1 -0
  75. package/dist/crs/resolver.d.ts +43 -0
  76. package/dist/crs/resolver.d.ts.map +1 -0
  77. package/dist/crs/resolver.js +142 -0
  78. package/dist/crs/resolver.js.map +1 -0
  79. package/dist/crs/spatial-reference.d.ts +106 -0
  80. package/dist/crs/spatial-reference.d.ts.map +1 -0
  81. package/dist/crs/spatial-reference.js +86 -0
  82. package/dist/crs/spatial-reference.js.map +1 -0
  83. package/dist/crs/units-table.d.ts +4 -0
  84. package/dist/crs/units-table.d.ts.map +1 -0
  85. package/dist/crs/units-table.js +29 -0
  86. package/dist/crs/units-table.js.map +1 -0
  87. package/dist/crs/wkt-crs.d.ts +86 -0
  88. package/dist/crs/wkt-crs.d.ts.map +1 -0
  89. package/dist/crs/wkt-crs.js +613 -0
  90. package/dist/crs/wkt-crs.js.map +1 -0
  91. package/dist/elastic.cjs +52991 -0
  92. package/dist/elastic.cjs.map +6 -0
  93. package/dist/elastic.d.ts +5 -0
  94. package/dist/elastic.d.ts.map +1 -0
  95. package/dist/elastic.js +8 -0
  96. package/dist/elastic.js.map +1 -0
  97. package/dist/ellipsoid-geodesic.d.ts +63 -0
  98. package/dist/ellipsoid-geodesic.d.ts.map +1 -0
  99. package/dist/ellipsoid-geodesic.js +70 -0
  100. package/dist/ellipsoid-geodesic.js.map +1 -0
  101. package/dist/ellipsoid-helpers/ellipsoid-transform.d.ts +1 -1
  102. package/dist/ellipsoid-helpers/ellipsoid-transform.d.ts.map +1 -1
  103. package/dist/ellipsoid-helpers/ellipsoid-transform.js +59 -18
  104. package/dist/ellipsoid-helpers/ellipsoid-transform.js.map +1 -1
  105. package/dist/ellipsoid-helpers/exact-nearest-surface.d.ts +16 -0
  106. package/dist/ellipsoid-helpers/exact-nearest-surface.d.ts.map +1 -0
  107. package/dist/ellipsoid-helpers/exact-nearest-surface.js +108 -0
  108. package/dist/ellipsoid-helpers/exact-nearest-surface.js.map +1 -0
  109. package/dist/ellipsoid-helpers/intersection-bounds.d.ts +18 -0
  110. package/dist/ellipsoid-helpers/intersection-bounds.d.ts.map +1 -0
  111. package/dist/ellipsoid-helpers/intersection-bounds.js +60 -0
  112. package/dist/ellipsoid-helpers/intersection-bounds.js.map +1 -0
  113. package/dist/ellipsoid-helpers/nearest-surface.d.ts +12 -0
  114. package/dist/ellipsoid-helpers/nearest-surface.d.ts.map +1 -0
  115. package/dist/ellipsoid-helpers/nearest-surface.js +127 -0
  116. package/dist/ellipsoid-helpers/nearest-surface.js.map +1 -0
  117. package/dist/ellipsoid-helpers/rhumb-pole-distance.d.ts +3 -0
  118. package/dist/ellipsoid-helpers/rhumb-pole-distance.d.ts.map +1 -0
  119. package/dist/ellipsoid-helpers/rhumb-pole-distance.js +63 -0
  120. package/dist/ellipsoid-helpers/rhumb-pole-distance.js.map +1 -0
  121. package/dist/ellipsoid-helpers/scale-to-geodetic-surface.d.ts +2 -0
  122. package/dist/ellipsoid-helpers/scale-to-geodetic-surface.d.ts.map +1 -1
  123. package/dist/ellipsoid-helpers/scale-to-geodetic-surface.js +32 -63
  124. package/dist/ellipsoid-helpers/scale-to-geodetic-surface.js.map +1 -1
  125. package/dist/ellipsoid-helpers/surface-polygon.d.ts +65 -0
  126. package/dist/ellipsoid-helpers/surface-polygon.d.ts.map +1 -0
  127. package/dist/ellipsoid-helpers/surface-polygon.js +159 -0
  128. package/dist/ellipsoid-helpers/surface-polygon.js.map +1 -0
  129. package/dist/ellipsoid-helpers/tangent-plane-numerics.d.ts +7 -0
  130. package/dist/ellipsoid-helpers/tangent-plane-numerics.d.ts.map +1 -0
  131. package/dist/ellipsoid-helpers/tangent-plane-numerics.js +88 -0
  132. package/dist/ellipsoid-helpers/tangent-plane-numerics.js.map +1 -0
  133. package/dist/ellipsoid-metrics.d.ts +31 -0
  134. package/dist/ellipsoid-metrics.d.ts.map +1 -0
  135. package/dist/ellipsoid-metrics.js +186 -0
  136. package/dist/ellipsoid-metrics.js.map +1 -0
  137. package/dist/ellipsoid-occluder.d.ts +28 -0
  138. package/dist/ellipsoid-occluder.d.ts.map +1 -0
  139. package/dist/ellipsoid-occluder.js +112 -0
  140. package/dist/ellipsoid-occluder.js.map +1 -0
  141. package/dist/ellipsoid-rhumb.d.ts +52 -0
  142. package/dist/ellipsoid-rhumb.d.ts.map +1 -0
  143. package/dist/ellipsoid-rhumb.js +321 -0
  144. package/dist/ellipsoid-rhumb.js.map +1 -0
  145. package/dist/ellipsoid-tangent-plane.d.ts +30 -8
  146. package/dist/ellipsoid-tangent-plane.d.ts.map +1 -1
  147. package/dist/ellipsoid-tangent-plane.js +181 -31
  148. package/dist/ellipsoid-tangent-plane.js.map +1 -1
  149. package/dist/ellipsoid-transforms.d.ts +12 -0
  150. package/dist/ellipsoid-transforms.d.ts.map +1 -0
  151. package/dist/ellipsoid-transforms.js +15 -0
  152. package/dist/ellipsoid-transforms.js.map +1 -0
  153. package/dist/ellipsoid.d.ts +13 -12
  154. package/dist/ellipsoid.d.ts.map +1 -1
  155. package/dist/ellipsoid.js +230 -66
  156. package/dist/ellipsoid.js.map +1 -1
  157. package/dist/entries/ellipsoid.d.ts +26 -0
  158. package/dist/entries/ellipsoid.d.ts.map +1 -0
  159. package/dist/entries/ellipsoid.js +17 -0
  160. package/dist/entries/ellipsoid.js.map +1 -0
  161. package/dist/expressions.d.ts +4 -0
  162. package/dist/expressions.d.ts.map +1 -0
  163. package/dist/expressions.js +24 -0
  164. package/dist/expressions.js.map +1 -0
  165. package/dist/geodesic-buffer.d.ts +34 -0
  166. package/dist/geodesic-buffer.d.ts.map +1 -0
  167. package/dist/geodesic-buffer.js +86 -0
  168. package/dist/geodesic-buffer.js.map +1 -0
  169. package/dist/geodesic-exact/area.d.ts +5 -0
  170. package/dist/geodesic-exact/area.d.ts.map +1 -0
  171. package/dist/geodesic-exact/area.js +56 -0
  172. package/dist/geodesic-exact/area.js.map +1 -0
  173. package/dist/geodesic-exact/inverse-engine.d.ts +57 -0
  174. package/dist/geodesic-exact/inverse-engine.d.ts.map +1 -0
  175. package/dist/geodesic-exact/inverse-engine.js +56 -0
  176. package/dist/geodesic-exact/inverse-engine.js.map +1 -0
  177. package/dist/geodesic-exact/polygon.d.ts +12 -0
  178. package/dist/geodesic-exact/polygon.d.ts.map +1 -0
  179. package/dist/geodesic-exact/polygon.js +27 -0
  180. package/dist/geodesic-exact/polygon.js.map +1 -0
  181. package/dist/geodesic-exact/quadrature.d.ts +9 -0
  182. package/dist/geodesic-exact/quadrature.d.ts.map +1 -0
  183. package/dist/geodesic-exact/quadrature.js +62 -0
  184. package/dist/geodesic-exact/quadrature.js.map +1 -0
  185. package/dist/geodesic-exact.d.ts +23 -0
  186. package/dist/geodesic-exact.d.ts.map +1 -0
  187. package/dist/geodesic-exact.js +210 -0
  188. package/dist/geodesic-exact.js.map +1 -0
  189. package/dist/geodesic-intersections.d.ts +83 -0
  190. package/dist/geodesic-intersections.d.ts.map +1 -0
  191. package/dist/geodesic-intersections.js +451 -0
  192. package/dist/geodesic-intersections.js.map +1 -0
  193. package/dist/geodesic-path.d.ts +28 -0
  194. package/dist/geodesic-path.d.ts.map +1 -0
  195. package/dist/geodesic-path.js +102 -0
  196. package/dist/geodesic-path.js.map +1 -0
  197. package/dist/geodesic-polygon.d.ts +11 -0
  198. package/dist/geodesic-polygon.d.ts.map +1 -0
  199. package/dist/geodesic-polygon.js +16 -0
  200. package/dist/geodesic-polygon.js.map +1 -0
  201. package/dist/geographic-atlas/atlas.d.ts +34 -0
  202. package/dist/geographic-atlas/atlas.d.ts.map +1 -0
  203. package/dist/geographic-atlas/atlas.js +493 -0
  204. package/dist/geographic-atlas/atlas.js.map +1 -0
  205. package/dist/geographic-atlas/curves.d.ts +25 -0
  206. package/dist/geographic-atlas/curves.d.ts.map +1 -0
  207. package/dist/geographic-atlas/curves.js +270 -0
  208. package/dist/geographic-atlas/curves.js.map +1 -0
  209. package/dist/geographic-atlas/math.d.ts +38 -0
  210. package/dist/geographic-atlas/math.d.ts.map +1 -0
  211. package/dist/geographic-atlas/math.js +115 -0
  212. package/dist/geographic-atlas/math.js.map +1 -0
  213. package/dist/geographic-atlas/sampling.d.ts +18 -0
  214. package/dist/geographic-atlas/sampling.d.ts.map +1 -0
  215. package/dist/geographic-atlas/sampling.js +96 -0
  216. package/dist/geographic-atlas/sampling.js.map +1 -0
  217. package/dist/geographic-atlas/topology.d.ts +20 -0
  218. package/dist/geographic-atlas/topology.d.ts.map +1 -0
  219. package/dist/geographic-atlas/topology.js +159 -0
  220. package/dist/geographic-atlas/topology.js.map +1 -0
  221. package/dist/geographic-atlas/types.d.ts +55 -0
  222. package/dist/geographic-atlas/types.d.ts.map +1 -0
  223. package/dist/geographic-atlas/types.js +2 -0
  224. package/dist/geographic-atlas/types.js.map +1 -0
  225. package/dist/geographic-atlas.d.ts +37 -0
  226. package/dist/geographic-atlas.d.ts.map +1 -0
  227. package/dist/geographic-atlas.js +77 -0
  228. package/dist/geographic-atlas.js.map +1 -0
  229. package/dist/geographic-cuts.d.ts +35 -0
  230. package/dist/geographic-cuts.d.ts.map +1 -0
  231. package/dist/geographic-cuts.js +78 -0
  232. package/dist/geographic-cuts.js.map +1 -0
  233. package/dist/geographic-seams/cut-options.d.ts +13 -0
  234. package/dist/geographic-seams/cut-options.d.ts.map +1 -0
  235. package/dist/geographic-seams/cut-options.js +38 -0
  236. package/dist/geographic-seams/cut-options.js.map +1 -0
  237. package/dist/geographic-seams/edge.d.ts +46 -0
  238. package/dist/geographic-seams/edge.d.ts.map +1 -0
  239. package/dist/geographic-seams/edge.js +372 -0
  240. package/dist/geographic-seams/edge.js.map +1 -0
  241. package/dist/geographic-seams/latitude.d.ts +6 -0
  242. package/dist/geographic-seams/latitude.d.ts.map +1 -0
  243. package/dist/geographic-seams/latitude.js +47 -0
  244. package/dist/geographic-seams/latitude.js.map +1 -0
  245. package/dist/geographic-seams/polygon.d.ts +27 -0
  246. package/dist/geographic-seams/polygon.d.ts.map +1 -0
  247. package/dist/geographic-seams/polygon.js +422 -0
  248. package/dist/geographic-seams/polygon.js.map +1 -0
  249. package/dist/geographic-seams/subdivide-cut.d.ts +14 -0
  250. package/dist/geographic-seams/subdivide-cut.d.ts.map +1 -0
  251. package/dist/geographic-seams/subdivide-cut.js +149 -0
  252. package/dist/geographic-seams/subdivide-cut.js.map +1 -0
  253. package/dist/geographic-seams/types.d.ts +59 -0
  254. package/dist/geographic-seams/types.d.ts.map +1 -0
  255. package/dist/geographic-seams/types.js +8 -0
  256. package/dist/geographic-seams/types.js.map +1 -0
  257. package/dist/geographic-seams.d.ts +12 -0
  258. package/dist/geographic-seams.d.ts.map +1 -0
  259. package/dist/geographic-seams.js +54 -0
  260. package/dist/geographic-seams.js.map +1 -0
  261. package/dist/geographic-tiles.d.ts +24 -0
  262. package/dist/geographic-tiles.d.ts.map +1 -0
  263. package/dist/geographic-tiles.js +72 -0
  264. package/dist/geographic-tiles.js.map +1 -0
  265. package/dist/globe-horizon-bounds.d.ts +13 -0
  266. package/dist/globe-horizon-bounds.d.ts.map +1 -0
  267. package/dist/globe-horizon-bounds.js +59 -0
  268. package/dist/globe-horizon-bounds.js.map +1 -0
  269. package/dist/globe.d.ts +16 -0
  270. package/dist/globe.d.ts.map +1 -0
  271. package/dist/globe.js +12 -0
  272. package/dist/globe.js.map +1 -0
  273. package/dist/index.cjs +17022 -503
  274. package/dist/index.cjs.map +3 -3
  275. package/dist/index.d.ts +144 -6
  276. package/dist/index.d.ts.map +1 -1
  277. package/dist/index.js +86 -6
  278. package/dist/index.js.map +1 -1
  279. package/dist/lng-lat-rectangle.d.ts.map +1 -1
  280. package/dist/lng-lat-rectangle.js +5 -3
  281. package/dist/lng-lat-rectangle.js.map +1 -1
  282. package/dist/local-reference-frame.d.ts +57 -0
  283. package/dist/local-reference-frame.d.ts.map +1 -0
  284. package/dist/local-reference-frame.js +247 -0
  285. package/dist/local-reference-frame.js.map +1 -0
  286. package/dist/make-obb-from-region.d.ts +1 -1
  287. package/dist/make-obb-from-region.d.ts.map +1 -1
  288. package/dist/make-obb-from-region.js +6 -4
  289. package/dist/make-obb-from-region.js.map +1 -1
  290. package/dist/maps/air-ocean-mesh.d.ts +15 -0
  291. package/dist/maps/air-ocean-mesh.d.ts.map +1 -0
  292. package/dist/maps/air-ocean-mesh.js +75 -0
  293. package/dist/maps/air-ocean-mesh.js.map +1 -0
  294. package/dist/maps/albers-usa.d.ts +9 -0
  295. package/dist/maps/albers-usa.d.ts.map +1 -0
  296. package/dist/maps/albers-usa.js +105 -0
  297. package/dist/maps/albers-usa.js.map +1 -0
  298. package/dist/maps/cap-map.d.ts +23 -0
  299. package/dist/maps/cap-map.d.ts.map +1 -0
  300. package/dist/maps/cap-map.js +498 -0
  301. package/dist/maps/cap-map.js.map +1 -0
  302. package/dist/maps/elastic/data.d.ts +26 -0
  303. package/dist/maps/elastic/data.d.ts.map +1 -0
  304. package/dist/maps/elastic/data.js +72 -0
  305. package/dist/maps/elastic/data.js.map +1 -0
  306. package/dist/maps/elastic/elasticI.d.ts +3 -0
  307. package/dist/maps/elastic/elasticI.d.ts.map +1 -0
  308. package/dist/maps/elastic/elasticI.js +5233 -0
  309. package/dist/maps/elastic/elasticI.js.map +1 -0
  310. package/dist/maps/elastic/elasticII.d.ts +3 -0
  311. package/dist/maps/elastic/elasticII.d.ts.map +1 -0
  312. package/dist/maps/elastic/elasticII.js +18162 -0
  313. package/dist/maps/elastic/elasticII.js.map +1 -0
  314. package/dist/maps/elastic/elasticIII.d.ts +3 -0
  315. package/dist/maps/elastic/elasticIII.d.ts.map +1 -0
  316. package/dist/maps/elastic/elasticIII.js +29566 -0
  317. package/dist/maps/elastic/elasticIII.js.map +1 -0
  318. package/dist/maps/elastic/geometry.d.ts +22 -0
  319. package/dist/maps/elastic/geometry.d.ts.map +1 -0
  320. package/dist/maps/elastic/geometry.js +131 -0
  321. package/dist/maps/elastic/geometry.js.map +1 -0
  322. package/dist/maps/elastic/grid.d.ts +15 -0
  323. package/dist/maps/elastic/grid.d.ts.map +1 -0
  324. package/dist/maps/elastic/grid.js +177 -0
  325. package/dist/maps/elastic/grid.js.map +1 -0
  326. package/dist/maps/elastic/map.d.ts +8 -0
  327. package/dist/maps/elastic/map.d.ts.map +1 -0
  328. package/dist/maps/elastic/map.js +500 -0
  329. package/dist/maps/elastic/map.js.map +1 -0
  330. package/dist/maps/elastic/source-arc.d.ts +10 -0
  331. package/dist/maps/elastic/source-arc.d.ts.map +1 -0
  332. package/dist/maps/elastic/source-arc.js +111 -0
  333. package/dist/maps/elastic/source-arc.js.map +1 -0
  334. package/dist/maps/geometry.cjs +1028 -0
  335. package/dist/maps/geometry.cjs.map +6 -0
  336. package/dist/maps/geometry.d.ts +12 -0
  337. package/dist/maps/geometry.d.ts.map +1 -0
  338. package/dist/maps/geometry.js +13 -0
  339. package/dist/maps/geometry.js.map +1 -0
  340. package/dist/maps/global-polygons.d.ts +35 -0
  341. package/dist/maps/global-polygons.d.ts.map +1 -0
  342. package/dist/maps/global-polygons.js +263 -0
  343. package/dist/maps/global-polygons.js.map +1 -0
  344. package/dist/maps/gray-fuller.d.ts +5 -0
  345. package/dist/maps/gray-fuller.d.ts.map +1 -0
  346. package/dist/maps/gray-fuller.js +36 -0
  347. package/dist/maps/gray-fuller.js.map +1 -0
  348. package/dist/maps/gringorten-kernel.d.ts +5 -0
  349. package/dist/maps/gringorten-kernel.d.ts.map +1 -0
  350. package/dist/maps/gringorten-kernel.js +94 -0
  351. package/dist/maps/gringorten-kernel.js.map +1 -0
  352. package/dist/maps/h3-face-map.d.ts +7 -0
  353. package/dist/maps/h3-face-map.d.ts.map +1 -0
  354. package/dist/maps/h3-face-map.js +200 -0
  355. package/dist/maps/h3-face-map.js.map +1 -0
  356. package/dist/maps/healpix.d.ts +13 -0
  357. package/dist/maps/healpix.d.ts.map +1 -0
  358. package/dist/maps/healpix.js +61 -0
  359. package/dist/maps/healpix.js.map +1 -0
  360. package/dist/maps/layout.d.ts +72 -0
  361. package/dist/maps/layout.d.ts.map +1 -0
  362. package/dist/maps/layout.js +114 -0
  363. package/dist/maps/layout.js.map +1 -0
  364. package/dist/maps/map-engine.d.ts +239 -0
  365. package/dist/maps/map-engine.d.ts.map +1 -0
  366. package/dist/maps/map-engine.js +299 -0
  367. package/dist/maps/map-engine.js.map +1 -0
  368. package/dist/maps/map-layout.d.ts +119 -0
  369. package/dist/maps/map-layout.d.ts.map +1 -0
  370. package/dist/maps/map-layout.js +612 -0
  371. package/dist/maps/map-layout.js.map +1 -0
  372. package/dist/maps/map-surface-mesh.d.ts +44 -0
  373. package/dist/maps/map-surface-mesh.d.ts.map +1 -0
  374. package/dist/maps/map-surface-mesh.js +150 -0
  375. package/dist/maps/map-surface-mesh.js.map +1 -0
  376. package/dist/maps/map-transition-mesh.d.ts +51 -0
  377. package/dist/maps/map-transition-mesh.d.ts.map +1 -0
  378. package/dist/maps/map-transition-mesh.js +313 -0
  379. package/dist/maps/map-transition-mesh.js.map +1 -0
  380. package/dist/maps/map-transition.d.ts +42 -0
  381. package/dist/maps/map-transition.d.ts.map +1 -0
  382. package/dist/maps/map-transition.js +346 -0
  383. package/dist/maps/map-transition.js.map +1 -0
  384. package/dist/maps/math.d.ts +19 -0
  385. package/dist/maps/math.d.ts.map +1 -0
  386. package/dist/maps/math.js +65 -0
  387. package/dist/maps/math.js.map +1 -0
  388. package/dist/maps/mercator-map.d.ts +24 -0
  389. package/dist/maps/mercator-map.d.ts.map +1 -0
  390. package/dist/maps/mercator-map.js +245 -0
  391. package/dist/maps/mercator-map.js.map +1 -0
  392. package/dist/maps/myriahedral/graticule.d.ts +6 -0
  393. package/dist/maps/myriahedral/graticule.d.ts.map +1 -0
  394. package/dist/maps/myriahedral/graticule.js +37 -0
  395. package/dist/maps/myriahedral/graticule.js.map +1 -0
  396. package/dist/maps/myriahedral/mesh.d.ts +18 -0
  397. package/dist/maps/myriahedral/mesh.d.ts.map +1 -0
  398. package/dist/maps/myriahedral/mesh.js +131 -0
  399. package/dist/maps/myriahedral/mesh.js.map +1 -0
  400. package/dist/maps/myriahedral/unfold.d.ts +56 -0
  401. package/dist/maps/myriahedral/unfold.d.ts.map +1 -0
  402. package/dist/maps/myriahedral/unfold.js +191 -0
  403. package/dist/maps/myriahedral/unfold.js.map +1 -0
  404. package/dist/maps/myriahedral.d.ts +62 -0
  405. package/dist/maps/myriahedral.d.ts.map +1 -0
  406. package/dist/maps/myriahedral.js +217 -0
  407. package/dist/maps/myriahedral.js.map +1 -0
  408. package/dist/maps/petroff.d.ts +8 -0
  409. package/dist/maps/petroff.d.ts.map +1 -0
  410. package/dist/maps/petroff.js +159 -0
  411. package/dist/maps/petroff.js.map +1 -0
  412. package/dist/maps/polygon-constraints.d.ts +16 -0
  413. package/dist/maps/polygon-constraints.d.ts.map +1 -0
  414. package/dist/maps/polygon-constraints.js +157 -0
  415. package/dist/maps/polygon-constraints.js.map +1 -0
  416. package/dist/maps/polyhedral.d.ts +8 -0
  417. package/dist/maps/polyhedral.d.ts.map +1 -0
  418. package/dist/maps/polyhedral.js +117 -0
  419. package/dist/maps/polyhedral.js.map +1 -0
  420. package/dist/maps/prepare-features.d.ts +108 -0
  421. package/dist/maps/prepare-features.d.ts.map +1 -0
  422. package/dist/maps/prepare-features.js +250 -0
  423. package/dist/maps/prepare-features.js.map +1 -0
  424. package/dist/maps/preset-kernels.d.ts +71 -0
  425. package/dist/maps/preset-kernels.d.ts.map +1 -0
  426. package/dist/maps/preset-kernels.js +372 -0
  427. package/dist/maps/preset-kernels.js.map +1 -0
  428. package/dist/maps/presets.cjs +7437 -0
  429. package/dist/maps/presets.cjs.map +6 -0
  430. package/dist/maps/presets.d.ts +37 -0
  431. package/dist/maps/presets.d.ts.map +1 -0
  432. package/dist/maps/presets.js +294 -0
  433. package/dist/maps/presets.js.map +1 -0
  434. package/dist/maps/projection-catalog.d.ts +33 -0
  435. package/dist/maps/projection-catalog.d.ts.map +1 -0
  436. package/dist/maps/projection-catalog.js +96 -0
  437. package/dist/maps/projection-catalog.js.map +1 -0
  438. package/dist/maps/projection-surface.d.ts +14 -0
  439. package/dist/maps/projection-surface.d.ts.map +1 -0
  440. package/dist/maps/projection-surface.js +50 -0
  441. package/dist/maps/projection-surface.js.map +1 -0
  442. package/dist/maps/quincuncial-kernel.d.ts +9 -0
  443. package/dist/maps/quincuncial-kernel.d.ts.map +1 -0
  444. package/dist/maps/quincuncial-kernel.js +139 -0
  445. package/dist/maps/quincuncial-kernel.js.map +1 -0
  446. package/dist/maps/quincuncial-star.d.ts +29 -0
  447. package/dist/maps/quincuncial-star.d.ts.map +1 -0
  448. package/dist/maps/quincuncial-star.js +307 -0
  449. package/dist/maps/quincuncial-star.js.map +1 -0
  450. package/dist/maps/regional-map.d.ts +19 -0
  451. package/dist/maps/regional-map.d.ts.map +1 -0
  452. package/dist/maps/regional-map.js +190 -0
  453. package/dist/maps/regional-map.js.map +1 -0
  454. package/dist/maps/retroazimuthal-map.d.ts +6 -0
  455. package/dist/maps/retroazimuthal-map.d.ts.map +1 -0
  456. package/dist/maps/retroazimuthal-map.js +52 -0
  457. package/dist/maps/retroazimuthal-map.js.map +1 -0
  458. package/dist/maps/rotated-map.d.ts +42 -0
  459. package/dist/maps/rotated-map.d.ts.map +1 -0
  460. package/dist/maps/rotated-map.js +72 -0
  461. package/dist/maps/rotated-map.js.map +1 -0
  462. package/dist/maps/snyder-mesh.d.ts +11 -0
  463. package/dist/maps/snyder-mesh.d.ts.map +1 -0
  464. package/dist/maps/snyder-mesh.js +88 -0
  465. package/dist/maps/snyder-mesh.js.map +1 -0
  466. package/dist/maps/snyder.d.ts +16 -0
  467. package/dist/maps/snyder.d.ts.map +1 -0
  468. package/dist/maps/snyder.js +153 -0
  469. package/dist/maps/snyder.js.map +1 -0
  470. package/dist/maps/source-arc.d.ts +4 -0
  471. package/dist/maps/source-arc.d.ts.map +1 -0
  472. package/dist/maps/source-arc.js +23 -0
  473. package/dist/maps/source-arc.js.map +1 -0
  474. package/dist/maps/spherical-clip/cartesian.d.ts +8 -0
  475. package/dist/maps/spherical-clip/cartesian.d.ts.map +1 -0
  476. package/dist/maps/spherical-clip/cartesian.js +34 -0
  477. package/dist/maps/spherical-clip/cartesian.js.map +1 -0
  478. package/dist/maps/spherical-clip/circle.d.ts +2 -0
  479. package/dist/maps/spherical-clip/circle.d.ts.map +1 -0
  480. package/dist/maps/spherical-clip/circle.js +34 -0
  481. package/dist/maps/spherical-clip/circle.js.map +1 -0
  482. package/dist/maps/spherical-clip/clip-buffer.d.ts +9 -0
  483. package/dist/maps/spherical-clip/clip-buffer.d.ts.map +1 -0
  484. package/dist/maps/spherical-clip/clip-buffer.js +28 -0
  485. package/dist/maps/spherical-clip/clip-buffer.js.map +1 -0
  486. package/dist/maps/spherical-clip/clip-circle.d.ts +9 -0
  487. package/dist/maps/spherical-clip/clip-circle.d.ts.map +1 -0
  488. package/dist/maps/spherical-clip/clip-circle.js +160 -0
  489. package/dist/maps/spherical-clip/clip-circle.js.map +1 -0
  490. package/dist/maps/spherical-clip/clip-index.d.ts +9 -0
  491. package/dist/maps/spherical-clip/clip-index.d.ts.map +1 -0
  492. package/dist/maps/spherical-clip/clip-index.js +117 -0
  493. package/dist/maps/spherical-clip/clip-index.js.map +1 -0
  494. package/dist/maps/spherical-clip/clip-rejoin.d.ts +2 -0
  495. package/dist/maps/spherical-clip/clip-rejoin.d.ts.map +1 -0
  496. package/dist/maps/spherical-clip/clip-rejoin.js +99 -0
  497. package/dist/maps/spherical-clip/clip-rejoin.js.map +1 -0
  498. package/dist/maps/spherical-clip/helpers.d.ts +8 -0
  499. package/dist/maps/spherical-clip/helpers.d.ts.map +1 -0
  500. package/dist/maps/spherical-clip/helpers.js +21 -0
  501. package/dist/maps/spherical-clip/helpers.js.map +1 -0
  502. package/dist/maps/spherical-clip/math.d.ts +26 -0
  503. package/dist/maps/spherical-clip/math.d.ts.map +1 -0
  504. package/dist/maps/spherical-clip/math.js +39 -0
  505. package/dist/maps/spherical-clip/math.js.map +1 -0
  506. package/dist/maps/spherical-clip/noop.d.ts +2 -0
  507. package/dist/maps/spherical-clip/noop.d.ts.map +1 -0
  508. package/dist/maps/spherical-clip/noop.js +6 -0
  509. package/dist/maps/spherical-clip/noop.js.map +1 -0
  510. package/dist/maps/spherical-clip/pointEqual.d.ts +2 -0
  511. package/dist/maps/spherical-clip/pointEqual.d.ts.map +1 -0
  512. package/dist/maps/spherical-clip/pointEqual.js +9 -0
  513. package/dist/maps/spherical-clip/pointEqual.js.map +1 -0
  514. package/dist/maps/spherical-clip/polygonContains.d.ts +2 -0
  515. package/dist/maps/spherical-clip/polygonContains.d.ts.map +1 -0
  516. package/dist/maps/spherical-clip/polygonContains.js +52 -0
  517. package/dist/maps/spherical-clip/polygonContains.js.map +1 -0
  518. package/dist/maps/surfaces.cjs +183 -0
  519. package/dist/maps/surfaces.cjs.map +6 -0
  520. package/dist/maps/surfaces.d.ts +5 -0
  521. package/dist/maps/surfaces.d.ts.map +1 -0
  522. package/dist/maps/surfaces.js +6 -0
  523. package/dist/maps/surfaces.js.map +1 -0
  524. package/dist/maps/transitions.cjs +660 -0
  525. package/dist/maps/transitions.cjs.map +6 -0
  526. package/dist/maps/transitions.d.ts +8 -0
  527. package/dist/maps/transitions.d.ts.map +1 -0
  528. package/dist/maps/transitions.js +9 -0
  529. package/dist/maps/transitions.js.map +1 -0
  530. package/dist/maps/world-composite-kernels.d.ts +11 -0
  531. package/dist/maps/world-composite-kernels.d.ts.map +1 -0
  532. package/dist/maps/world-composite-kernels.js +30 -0
  533. package/dist/maps/world-composite-kernels.js.map +1 -0
  534. package/dist/maps/world-kernels/airy.d.ts +5 -0
  535. package/dist/maps/world-kernels/airy.d.ts.map +1 -0
  536. package/dist/maps/world-kernels/airy.js +28 -0
  537. package/dist/maps/world-kernels/airy.js.map +1 -0
  538. package/dist/maps/world-kernels/aitoff.d.ts +5 -0
  539. package/dist/maps/world-kernels/aitoff.d.ts.map +1 -0
  540. package/dist/maps/world-kernels/aitoff.js +26 -0
  541. package/dist/maps/world-kernels/aitoff.js.map +1 -0
  542. package/dist/maps/world-kernels/armadillo.d.ts +5 -0
  543. package/dist/maps/world-kernels/armadillo.d.ts.map +1 -0
  544. package/dist/maps/world-kernels/armadillo.js +28 -0
  545. package/dist/maps/world-kernels/armadillo.js.map +1 -0
  546. package/dist/maps/world-kernels/august.d.ts +5 -0
  547. package/dist/maps/world-kernels/august.d.ts.map +1 -0
  548. package/dist/maps/world-kernels/august.js +21 -0
  549. package/dist/maps/world-kernels/august.js.map +1 -0
  550. package/dist/maps/world-kernels/baker.d.ts +5 -0
  551. package/dist/maps/world-kernels/baker.d.ts.map +1 -0
  552. package/dist/maps/world-kernels/baker.js +29 -0
  553. package/dist/maps/world-kernels/baker.js.map +1 -0
  554. package/dist/maps/world-kernels/bertin.d.ts +5 -0
  555. package/dist/maps/world-kernels/bertin.d.ts.map +1 -0
  556. package/dist/maps/world-kernels/bertin.js +32 -0
  557. package/dist/maps/world-kernels/bertin.js.map +1 -0
  558. package/dist/maps/world-kernels/boggs.d.ts +5 -0
  559. package/dist/maps/world-kernels/boggs.d.ts.map +1 -0
  560. package/dist/maps/world-kernels/boggs.js +24 -0
  561. package/dist/maps/world-kernels/boggs.js.map +1 -0
  562. package/dist/maps/world-kernels/bonne.d.ts +3 -0
  563. package/dist/maps/world-kernels/bonne.d.ts.map +1 -0
  564. package/dist/maps/world-kernels/bonne.js +22 -0
  565. package/dist/maps/world-kernels/bonne.js.map +1 -0
  566. package/dist/maps/world-kernels/bottomley.d.ts +5 -0
  567. package/dist/maps/world-kernels/bottomley.d.ts.map +1 -0
  568. package/dist/maps/world-kernels/bottomley.js +18 -0
  569. package/dist/maps/world-kernels/bottomley.js.map +1 -0
  570. package/dist/maps/world-kernels/bromley.d.ts +5 -0
  571. package/dist/maps/world-kernels/bromley.d.ts.map +1 -0
  572. package/dist/maps/world-kernels/bromley.js +9 -0
  573. package/dist/maps/world-kernels/bromley.js.map +1 -0
  574. package/dist/maps/world-kernels/chamberlin.d.ts +2 -0
  575. package/dist/maps/world-kernels/chamberlin.d.ts.map +1 -0
  576. package/dist/maps/world-kernels/chamberlin.js +81 -0
  577. package/dist/maps/world-kernels/chamberlin.js.map +1 -0
  578. package/dist/maps/world-kernels/collignon.d.ts +5 -0
  579. package/dist/maps/world-kernels/collignon.d.ts.map +1 -0
  580. package/dist/maps/world-kernels/collignon.js +15 -0
  581. package/dist/maps/world-kernels/collignon.js.map +1 -0
  582. package/dist/maps/world-kernels/craig.d.ts +5 -0
  583. package/dist/maps/world-kernels/craig.d.ts.map +1 -0
  584. package/dist/maps/world-kernels/craig.js +30 -0
  585. package/dist/maps/world-kernels/craig.js.map +1 -0
  586. package/dist/maps/world-kernels/craster.d.ts +5 -0
  587. package/dist/maps/world-kernels/craster.d.ts.map +1 -0
  588. package/dist/maps/world-kernels/craster.js +15 -0
  589. package/dist/maps/world-kernels/craster.js.map +1 -0
  590. package/dist/maps/world-kernels/cylindricalEqualArea.d.ts +5 -0
  591. package/dist/maps/world-kernels/cylindricalEqualArea.d.ts.map +1 -0
  592. package/dist/maps/world-kernels/cylindricalEqualArea.js +17 -0
  593. package/dist/maps/world-kernels/cylindricalEqualArea.js.map +1 -0
  594. package/dist/maps/world-kernels/cylindricalStereographic.d.ts +5 -0
  595. package/dist/maps/world-kernels/cylindricalStereographic.d.ts.map +1 -0
  596. package/dist/maps/world-kernels/cylindricalStereographic.js +17 -0
  597. package/dist/maps/world-kernels/cylindricalStereographic.js.map +1 -0
  598. package/dist/maps/world-kernels/d3-geo-raw.d.ts +9 -0
  599. package/dist/maps/world-kernels/d3-geo-raw.d.ts.map +1 -0
  600. package/dist/maps/world-kernels/d3-geo-raw.js +21 -0
  601. package/dist/maps/world-kernels/d3-geo-raw.js.map +1 -0
  602. package/dist/maps/world-kernels/eckert1.d.ts +5 -0
  603. package/dist/maps/world-kernels/eckert1.d.ts.map +1 -0
  604. package/dist/maps/world-kernels/eckert1.js +15 -0
  605. package/dist/maps/world-kernels/eckert1.js.map +1 -0
  606. package/dist/maps/world-kernels/eckert2.d.ts +5 -0
  607. package/dist/maps/world-kernels/eckert2.d.ts.map +1 -0
  608. package/dist/maps/world-kernels/eckert2.js +15 -0
  609. package/dist/maps/world-kernels/eckert2.js.map +1 -0
  610. package/dist/maps/world-kernels/eckert3.d.ts +5 -0
  611. package/dist/maps/world-kernels/eckert3.d.ts.map +1 -0
  612. package/dist/maps/world-kernels/eckert3.js +15 -0
  613. package/dist/maps/world-kernels/eckert3.js.map +1 -0
  614. package/dist/maps/world-kernels/eckert4.d.ts +5 -0
  615. package/dist/maps/world-kernels/eckert4.d.ts.map +1 -0
  616. package/dist/maps/world-kernels/eckert4.js +20 -0
  617. package/dist/maps/world-kernels/eckert4.js.map +1 -0
  618. package/dist/maps/world-kernels/eckert5.d.ts +5 -0
  619. package/dist/maps/world-kernels/eckert5.d.ts.map +1 -0
  620. package/dist/maps/world-kernels/eckert5.js +14 -0
  621. package/dist/maps/world-kernels/eckert5.js.map +1 -0
  622. package/dist/maps/world-kernels/eckert6.d.ts +5 -0
  623. package/dist/maps/world-kernels/eckert6.d.ts.map +1 -0
  624. package/dist/maps/world-kernels/eckert6.js +19 -0
  625. package/dist/maps/world-kernels/eckert6.js.map +1 -0
  626. package/dist/maps/world-kernels/eisenlohr.d.ts +5 -0
  627. package/dist/maps/world-kernels/eisenlohr.d.ts.map +1 -0
  628. package/dist/maps/world-kernels/eisenlohr.js +41 -0
  629. package/dist/maps/world-kernels/eisenlohr.js.map +1 -0
  630. package/dist/maps/world-kernels/fahey.d.ts +5 -0
  631. package/dist/maps/world-kernels/fahey.d.ts.map +1 -0
  632. package/dist/maps/world-kernels/fahey.js +16 -0
  633. package/dist/maps/world-kernels/fahey.js.map +1 -0
  634. package/dist/maps/world-kernels/foucaut.d.ts +5 -0
  635. package/dist/maps/world-kernels/foucaut.d.ts.map +1 -0
  636. package/dist/maps/world-kernels/foucaut.js +15 -0
  637. package/dist/maps/world-kernels/foucaut.js.map +1 -0
  638. package/dist/maps/world-kernels/foucautSinusoidal.d.ts +5 -0
  639. package/dist/maps/world-kernels/foucautSinusoidal.d.ts.map +1 -0
  640. package/dist/maps/world-kernels/foucautSinusoidal.js +27 -0
  641. package/dist/maps/world-kernels/foucautSinusoidal.js.map +1 -0
  642. package/dist/maps/world-kernels/ginzburg4.d.ts +5 -0
  643. package/dist/maps/world-kernels/ginzburg4.d.ts.map +1 -0
  644. package/dist/maps/world-kernels/ginzburg4.js +8 -0
  645. package/dist/maps/world-kernels/ginzburg4.js.map +1 -0
  646. package/dist/maps/world-kernels/ginzburg5.d.ts +5 -0
  647. package/dist/maps/world-kernels/ginzburg5.d.ts.map +1 -0
  648. package/dist/maps/world-kernels/ginzburg5.js +8 -0
  649. package/dist/maps/world-kernels/ginzburg5.js.map +1 -0
  650. package/dist/maps/world-kernels/ginzburg6.d.ts +5 -0
  651. package/dist/maps/world-kernels/ginzburg6.d.ts.map +1 -0
  652. package/dist/maps/world-kernels/ginzburg6.js +9 -0
  653. package/dist/maps/world-kernels/ginzburg6.js.map +1 -0
  654. package/dist/maps/world-kernels/ginzburg8.d.ts +5 -0
  655. package/dist/maps/world-kernels/ginzburg8.d.ts.map +1 -0
  656. package/dist/maps/world-kernels/ginzburg8.js +28 -0
  657. package/dist/maps/world-kernels/ginzburg8.js.map +1 -0
  658. package/dist/maps/world-kernels/ginzburg9.d.ts +5 -0
  659. package/dist/maps/world-kernels/ginzburg9.d.ts.map +1 -0
  660. package/dist/maps/world-kernels/ginzburg9.js +8 -0
  661. package/dist/maps/world-kernels/ginzburg9.js.map +1 -0
  662. package/dist/maps/world-kernels/ginzburgPolyconic.d.ts +5 -0
  663. package/dist/maps/world-kernels/ginzburgPolyconic.d.ts.map +1 -0
  664. package/dist/maps/world-kernels/ginzburgPolyconic.js +29 -0
  665. package/dist/maps/world-kernels/ginzburgPolyconic.js.map +1 -0
  666. package/dist/maps/world-kernels/hammer.d.ts +3 -0
  667. package/dist/maps/world-kernels/hammer.d.ts.map +1 -0
  668. package/dist/maps/world-kernels/hammer.js +34 -0
  669. package/dist/maps/world-kernels/hammer.js.map +1 -0
  670. package/dist/maps/world-kernels/hammerRetroazimuthal.d.ts +5 -0
  671. package/dist/maps/world-kernels/hammerRetroazimuthal.d.ts.map +1 -0
  672. package/dist/maps/world-kernels/hammerRetroazimuthal.js +37 -0
  673. package/dist/maps/world-kernels/hammerRetroazimuthal.js.map +1 -0
  674. package/dist/maps/world-kernels/hill.d.ts +5 -0
  675. package/dist/maps/world-kernels/hill.d.ts.map +1 -0
  676. package/dist/maps/world-kernels/hill.js +36 -0
  677. package/dist/maps/world-kernels/hill.js.map +1 -0
  678. package/dist/maps/world-kernels/homolosine.d.ts +5 -0
  679. package/dist/maps/world-kernels/homolosine.d.ts.map +1 -0
  680. package/dist/maps/world-kernels/homolosine.js +22 -0
  681. package/dist/maps/world-kernels/homolosine.js.map +1 -0
  682. package/dist/maps/world-kernels/hufnagel.d.ts +5 -0
  683. package/dist/maps/world-kernels/hufnagel.d.ts.map +1 -0
  684. package/dist/maps/world-kernels/hufnagel.js +53 -0
  685. package/dist/maps/world-kernels/hufnagel.js.map +1 -0
  686. package/dist/maps/world-kernels/hyperelliptical.d.ts +5 -0
  687. package/dist/maps/world-kernels/hyperelliptical.d.ts.map +1 -0
  688. package/dist/maps/world-kernels/hyperelliptical.js +47 -0
  689. package/dist/maps/world-kernels/hyperelliptical.js.map +1 -0
  690. package/dist/maps/world-kernels/integrate.d.ts +2 -0
  691. package/dist/maps/world-kernels/integrate.d.ts.map +1 -0
  692. package/dist/maps/world-kernels/integrate.js +82 -0
  693. package/dist/maps/world-kernels/integrate.js.map +1 -0
  694. package/dist/maps/world-kernels/kavrayskiy7.d.ts +5 -0
  695. package/dist/maps/world-kernels/kavrayskiy7.d.ts.map +1 -0
  696. package/dist/maps/world-kernels/kavrayskiy7.js +13 -0
  697. package/dist/maps/world-kernels/kavrayskiy7.js.map +1 -0
  698. package/dist/maps/world-kernels/lagrange.d.ts +5 -0
  699. package/dist/maps/world-kernels/lagrange.d.ts.map +1 -0
  700. package/dist/maps/world-kernels/lagrange.js +27 -0
  701. package/dist/maps/world-kernels/lagrange.js.map +1 -0
  702. package/dist/maps/world-kernels/larrivee.d.ts +5 -0
  703. package/dist/maps/world-kernels/larrivee.d.ts.map +1 -0
  704. package/dist/maps/world-kernels/larrivee.js +26 -0
  705. package/dist/maps/world-kernels/larrivee.js.map +1 -0
  706. package/dist/maps/world-kernels/laskowski.d.ts +5 -0
  707. package/dist/maps/world-kernels/laskowski.d.ts.map +1 -0
  708. package/dist/maps/world-kernels/laskowski.js +31 -0
  709. package/dist/maps/world-kernels/laskowski.js.map +1 -0
  710. package/dist/maps/world-kernels/littrow.d.ts +5 -0
  711. package/dist/maps/world-kernels/littrow.d.ts.map +1 -0
  712. package/dist/maps/world-kernels/littrow.js +13 -0
  713. package/dist/maps/world-kernels/littrow.js.map +1 -0
  714. package/dist/maps/world-kernels/loximuthal.d.ts +5 -0
  715. package/dist/maps/world-kernels/loximuthal.d.ts.map +1 -0
  716. package/dist/maps/world-kernels/loximuthal.js +30 -0
  717. package/dist/maps/world-kernels/loximuthal.js.map +1 -0
  718. package/dist/maps/world-kernels/math.d.ts +36 -0
  719. package/dist/maps/world-kernels/math.d.ts.map +1 -0
  720. package/dist/maps/world-kernels/math.js +63 -0
  721. package/dist/maps/world-kernels/math.js.map +1 -0
  722. package/dist/maps/world-kernels/miller.d.ts +5 -0
  723. package/dist/maps/world-kernels/miller.d.ts.map +1 -0
  724. package/dist/maps/world-kernels/miller.js +13 -0
  725. package/dist/maps/world-kernels/miller.js.map +1 -0
  726. package/dist/maps/world-kernels/modifiedStereographic.d.ts +18 -0
  727. package/dist/maps/world-kernels/modifiedStereographic.d.ts.map +1 -0
  728. package/dist/maps/world-kernels/modifiedStereographic.js +79 -0
  729. package/dist/maps/world-kernels/modifiedStereographic.js.map +1 -0
  730. package/dist/maps/world-kernels/mollweide.d.ts +10 -0
  731. package/dist/maps/world-kernels/mollweide.d.ts.map +1 -0
  732. package/dist/maps/world-kernels/mollweide.js +24 -0
  733. package/dist/maps/world-kernels/mollweide.js.map +1 -0
  734. package/dist/maps/world-kernels/mtFlatPolarParabolic.d.ts +5 -0
  735. package/dist/maps/world-kernels/mtFlatPolarParabolic.d.ts.map +1 -0
  736. package/dist/maps/world-kernels/mtFlatPolarParabolic.js +19 -0
  737. package/dist/maps/world-kernels/mtFlatPolarParabolic.js.map +1 -0
  738. package/dist/maps/world-kernels/mtFlatPolarQuartic.d.ts +5 -0
  739. package/dist/maps/world-kernels/mtFlatPolarQuartic.d.ts.map +1 -0
  740. package/dist/maps/world-kernels/mtFlatPolarQuartic.js +26 -0
  741. package/dist/maps/world-kernels/mtFlatPolarQuartic.js.map +1 -0
  742. package/dist/maps/world-kernels/mtFlatPolarSinusoidal.d.ts +5 -0
  743. package/dist/maps/world-kernels/mtFlatPolarSinusoidal.d.ts.map +1 -0
  744. package/dist/maps/world-kernels/mtFlatPolarSinusoidal.js +22 -0
  745. package/dist/maps/world-kernels/mtFlatPolarSinusoidal.js.map +1 -0
  746. package/dist/maps/world-kernels/naturalEarth2.d.ts +5 -0
  747. package/dist/maps/world-kernels/naturalEarth2.d.ts.map +1 -0
  748. package/dist/maps/world-kernels/naturalEarth2.js +37 -0
  749. package/dist/maps/world-kernels/naturalEarth2.js.map +1 -0
  750. package/dist/maps/world-kernels/nellHammer.d.ts +5 -0
  751. package/dist/maps/world-kernels/nellHammer.d.ts.map +1 -0
  752. package/dist/maps/world-kernels/nellHammer.js +18 -0
  753. package/dist/maps/world-kernels/nellHammer.js.map +1 -0
  754. package/dist/maps/world-kernels/newton.d.ts +3 -0
  755. package/dist/maps/world-kernels/newton.d.ts.map +1 -0
  756. package/dist/maps/world-kernels/newton.js +65 -0
  757. package/dist/maps/world-kernels/newton.js.map +1 -0
  758. package/dist/maps/world-kernels/nicolosi.d.ts +5 -0
  759. package/dist/maps/world-kernels/nicolosi.d.ts.map +1 -0
  760. package/dist/maps/world-kernels/nicolosi.js +38 -0
  761. package/dist/maps/world-kernels/nicolosi.js.map +1 -0
  762. package/dist/maps/world-kernels/patterson.d.ts +5 -0
  763. package/dist/maps/world-kernels/patterson.d.ts.map +1 -0
  764. package/dist/maps/world-kernels/patterson.js +32 -0
  765. package/dist/maps/world-kernels/patterson.js.map +1 -0
  766. package/dist/maps/world-kernels/polyconic.d.ts +5 -0
  767. package/dist/maps/world-kernels/polyconic.d.ts.map +1 -0
  768. package/dist/maps/world-kernels/polyconic.js +30 -0
  769. package/dist/maps/world-kernels/polyconic.js.map +1 -0
  770. package/dist/maps/world-kernels/rectangularPolyconic.d.ts +5 -0
  771. package/dist/maps/world-kernels/rectangularPolyconic.d.ts.map +1 -0
  772. package/dist/maps/world-kernels/rectangularPolyconic.js +31 -0
  773. package/dist/maps/world-kernels/rectangularPolyconic.js.map +1 -0
  774. package/dist/maps/world-kernels/robinson.d.ts +5 -0
  775. package/dist/maps/world-kernels/robinson.d.ts.map +1 -0
  776. package/dist/maps/world-kernels/robinson.js +63 -0
  777. package/dist/maps/world-kernels/robinson.js.map +1 -0
  778. package/dist/maps/world-kernels/satellite.d.ts +5 -0
  779. package/dist/maps/world-kernels/satellite.d.ts.map +1 -0
  780. package/dist/maps/world-kernels/satellite.js +32 -0
  781. package/dist/maps/world-kernels/satellite.js.map +1 -0
  782. package/dist/maps/world-kernels/sinuMollweide.d.ts +7 -0
  783. package/dist/maps/world-kernels/sinuMollweide.d.ts.map +1 -0
  784. package/dist/maps/world-kernels/sinuMollweide.js +20 -0
  785. package/dist/maps/world-kernels/sinuMollweide.js.map +1 -0
  786. package/dist/maps/world-kernels/sinusoidal.d.ts +5 -0
  787. package/dist/maps/world-kernels/sinusoidal.d.ts.map +1 -0
  788. package/dist/maps/world-kernels/sinusoidal.js +13 -0
  789. package/dist/maps/world-kernels/sinusoidal.js.map +1 -0
  790. package/dist/maps/world-kernels/times.d.ts +5 -0
  791. package/dist/maps/world-kernels/times.d.ts.map +1 -0
  792. package/dist/maps/world-kernels/times.js +15 -0
  793. package/dist/maps/world-kernels/times.js.map +1 -0
  794. package/dist/maps/world-kernels/twoPointEquidistant.d.ts +3 -0
  795. package/dist/maps/world-kernels/twoPointEquidistant.d.ts.map +1 -0
  796. package/dist/maps/world-kernels/twoPointEquidistant.js +28 -0
  797. package/dist/maps/world-kernels/twoPointEquidistant.js.map +1 -0
  798. package/dist/maps/world-kernels/vanDerGrinten.d.ts +5 -0
  799. package/dist/maps/world-kernels/vanDerGrinten.d.ts.map +1 -0
  800. package/dist/maps/world-kernels/vanDerGrinten.js +30 -0
  801. package/dist/maps/world-kernels/vanDerGrinten.js.map +1 -0
  802. package/dist/maps/world-kernels/vanDerGrinten2.d.ts +5 -0
  803. package/dist/maps/world-kernels/vanDerGrinten2.d.ts.map +1 -0
  804. package/dist/maps/world-kernels/vanDerGrinten2.js +25 -0
  805. package/dist/maps/world-kernels/vanDerGrinten2.js.map +1 -0
  806. package/dist/maps/world-kernels/vanDerGrinten3.d.ts +5 -0
  807. package/dist/maps/world-kernels/vanDerGrinten3.d.ts.map +1 -0
  808. package/dist/maps/world-kernels/vanDerGrinten3.js +22 -0
  809. package/dist/maps/world-kernels/vanDerGrinten3.js.map +1 -0
  810. package/dist/maps/world-kernels/vanDerGrinten4.d.ts +5 -0
  811. package/dist/maps/world-kernels/vanDerGrinten4.d.ts.map +1 -0
  812. package/dist/maps/world-kernels/vanDerGrinten4.js +38 -0
  813. package/dist/maps/world-kernels/vanDerGrinten4.js.map +1 -0
  814. package/dist/maps/world-kernels/wagner.d.ts +5 -0
  815. package/dist/maps/world-kernels/wagner.d.ts.map +1 -0
  816. package/dist/maps/world-kernels/wagner.js +44 -0
  817. package/dist/maps/world-kernels/wagner.js.map +1 -0
  818. package/dist/maps/world-kernels/wagner4.d.ts +5 -0
  819. package/dist/maps/world-kernels/wagner4.d.ts.map +1 -0
  820. package/dist/maps/world-kernels/wagner4.js +10 -0
  821. package/dist/maps/world-kernels/wagner4.js.map +1 -0
  822. package/dist/maps/world-kernels/wagner6.d.ts +5 -0
  823. package/dist/maps/world-kernels/wagner6.d.ts.map +1 -0
  824. package/dist/maps/world-kernels/wagner6.js +13 -0
  825. package/dist/maps/world-kernels/wagner6.js.map +1 -0
  826. package/dist/maps/world-kernels/wiechel.d.ts +5 -0
  827. package/dist/maps/world-kernels/wiechel.d.ts.map +1 -0
  828. package/dist/maps/world-kernels/wiechel.js +15 -0
  829. package/dist/maps/world-kernels/wiechel.js.map +1 -0
  830. package/dist/maps/world-kernels/winkel3.d.ts +5 -0
  831. package/dist/maps/world-kernels/winkel3.d.ts.map +1 -0
  832. package/dist/maps/world-kernels/winkel3.js +20 -0
  833. package/dist/maps/world-kernels/winkel3.js.map +1 -0
  834. package/dist/maps/world-kernels.d.ts +150 -0
  835. package/dist/maps/world-kernels.d.ts.map +1 -0
  836. package/dist/maps/world-kernels.js +215 -0
  837. package/dist/maps/world-kernels.js.map +1 -0
  838. package/dist/maps/world-map.d.ts +25 -0
  839. package/dist/maps/world-map.d.ts.map +1 -0
  840. package/dist/maps/world-map.js +187 -0
  841. package/dist/maps/world-map.js.map +1 -0
  842. package/dist/maps.cjs +9153 -0
  843. package/dist/maps.cjs.map +6 -0
  844. package/dist/maps.d.ts +63 -0
  845. package/dist/maps.d.ts.map +1 -0
  846. package/dist/maps.js +43 -0
  847. package/dist/maps.js.map +1 -0
  848. package/dist/projection/analysis.cjs +239 -0
  849. package/dist/projection/analysis.cjs.map +6 -0
  850. package/dist/projection/analysis.d.ts +72 -0
  851. package/dist/projection/analysis.d.ts.map +1 -0
  852. package/dist/projection/analysis.js +221 -0
  853. package/dist/projection/analysis.js.map +1 -0
  854. package/dist/projection/bulk.cjs +203 -0
  855. package/dist/projection/bulk.cjs.map +6 -0
  856. package/dist/projection/bulk.d.ts +51 -0
  857. package/dist/projection/bulk.d.ts.map +1 -0
  858. package/dist/projection/bulk.js +215 -0
  859. package/dist/projection/bulk.js.map +1 -0
  860. package/dist/projection/datums.cjs +1383 -0
  861. package/dist/projection/datums.cjs.map +6 -0
  862. package/dist/projection/datums.d.ts +5 -0
  863. package/dist/projection/datums.d.ts.map +1 -0
  864. package/dist/projection/datums.js +10 -0
  865. package/dist/projection/datums.js.map +1 -0
  866. package/dist/projection/deformation.cjs +134 -0
  867. package/dist/projection/deformation.cjs.map +6 -0
  868. package/dist/projection/deformation.d.ts +3 -0
  869. package/dist/projection/deformation.d.ts.map +1 -0
  870. package/dist/projection/deformation.js +5 -0
  871. package/dist/projection/deformation.js.map +1 -0
  872. package/dist/projection/experimental/authalic-latitude.d.ts +7 -0
  873. package/dist/projection/experimental/authalic-latitude.d.ts.map +1 -0
  874. package/dist/projection/experimental/authalic-latitude.js +51 -0
  875. package/dist/projection/experimental/authalic-latitude.js.map +1 -0
  876. package/dist/projection/experimental/catalogue-kernel.d.ts +9 -0
  877. package/dist/projection/experimental/catalogue-kernel.d.ts.map +1 -0
  878. package/dist/projection/experimental/catalogue-kernel.js +44 -0
  879. package/dist/projection/experimental/catalogue-kernel.js.map +1 -0
  880. package/dist/projection/experimental/common/adjust_lat.d.ts +2 -0
  881. package/dist/projection/experimental/common/adjust_lat.d.ts.map +1 -0
  882. package/dist/projection/experimental/common/adjust_lat.js +10 -0
  883. package/dist/projection/experimental/common/adjust_lat.js.map +1 -0
  884. package/dist/projection/experimental/common/adjust_lon.d.ts +2 -0
  885. package/dist/projection/experimental/common/adjust_lon.d.ts.map +1 -0
  886. package/dist/projection/experimental/common/adjust_lon.js +13 -0
  887. package/dist/projection/experimental/common/adjust_lon.js.map +1 -0
  888. package/dist/projection/experimental/common/asinhy.d.ts +2 -0
  889. package/dist/projection/experimental/common/asinhy.d.ts.map +1 -0
  890. package/dist/projection/experimental/common/asinhy.js +12 -0
  891. package/dist/projection/experimental/common/asinhy.js.map +1 -0
  892. package/dist/projection/experimental/common/asinz.d.ts +2 -0
  893. package/dist/projection/experimental/common/asinz.d.ts.map +1 -0
  894. package/dist/projection/experimental/common/asinz.js +11 -0
  895. package/dist/projection/experimental/common/asinz.js.map +1 -0
  896. package/dist/projection/experimental/common/authlat.d.ts +2 -0
  897. package/dist/projection/experimental/common/authlat.d.ts.map +1 -0
  898. package/dist/projection/experimental/common/authlat.js +9 -0
  899. package/dist/projection/experimental/common/authlat.js.map +1 -0
  900. package/dist/projection/experimental/common/authset.d.ts +2 -0
  901. package/dist/projection/experimental/common/authset.d.ts.map +1 -0
  902. package/dist/projection/experimental/common/authset.js +24 -0
  903. package/dist/projection/experimental/common/authset.js.map +1 -0
  904. package/dist/projection/experimental/common/clens.d.ts +2 -0
  905. package/dist/projection/experimental/common/clens.d.ts.map +1 -0
  906. package/dist/projection/experimental/common/clens.js +18 -0
  907. package/dist/projection/experimental/common/clens.js.map +1 -0
  908. package/dist/projection/experimental/common/clens_cmplx.d.ts +5 -0
  909. package/dist/projection/experimental/common/clens_cmplx.d.ts.map +1 -0
  910. package/dist/projection/experimental/common/clens_cmplx.js +34 -0
  911. package/dist/projection/experimental/common/clens_cmplx.js.map +1 -0
  912. package/dist/projection/experimental/common/constants.d.ts +9 -0
  913. package/dist/projection/experimental/common/constants.d.ts.map +1 -0
  914. package/dist/projection/experimental/common/constants.js +14 -0
  915. package/dist/projection/experimental/common/constants.js.map +1 -0
  916. package/dist/projection/experimental/common/cosh.d.ts +2 -0
  917. package/dist/projection/experimental/common/cosh.d.ts.map +1 -0
  918. package/dist/projection/experimental/common/cosh.js +10 -0
  919. package/dist/projection/experimental/common/cosh.js.map +1 -0
  920. package/dist/projection/experimental/common/e0fn.d.ts +2 -0
  921. package/dist/projection/experimental/common/e0fn.d.ts.map +1 -0
  922. package/dist/projection/experimental/common/e0fn.js +8 -0
  923. package/dist/projection/experimental/common/e0fn.js.map +1 -0
  924. package/dist/projection/experimental/common/e1fn.d.ts +2 -0
  925. package/dist/projection/experimental/common/e1fn.d.ts.map +1 -0
  926. package/dist/projection/experimental/common/e1fn.js +8 -0
  927. package/dist/projection/experimental/common/e1fn.js.map +1 -0
  928. package/dist/projection/experimental/common/e2fn.d.ts +2 -0
  929. package/dist/projection/experimental/common/e2fn.d.ts.map +1 -0
  930. package/dist/projection/experimental/common/e2fn.js +8 -0
  931. package/dist/projection/experimental/common/e2fn.js.map +1 -0
  932. package/dist/projection/experimental/common/e3fn.d.ts +2 -0
  933. package/dist/projection/experimental/common/e3fn.d.ts.map +1 -0
  934. package/dist/projection/experimental/common/e3fn.js +8 -0
  935. package/dist/projection/experimental/common/e3fn.js.map +1 -0
  936. package/dist/projection/experimental/common/fL.d.ts +2 -0
  937. package/dist/projection/experimental/common/fL.d.ts.map +1 -0
  938. package/dist/projection/experimental/common/fL.js +9 -0
  939. package/dist/projection/experimental/common/fL.js.map +1 -0
  940. package/dist/projection/experimental/common/gN.d.ts +2 -0
  941. package/dist/projection/experimental/common/gN.d.ts.map +1 -0
  942. package/dist/projection/experimental/common/gN.js +9 -0
  943. package/dist/projection/experimental/common/gN.js.map +1 -0
  944. package/dist/projection/experimental/common/gatg.d.ts +2 -0
  945. package/dist/projection/experimental/common/gatg.d.ts.map +1 -0
  946. package/dist/projection/experimental/common/gatg.js +18 -0
  947. package/dist/projection/experimental/common/gatg.js.map +1 -0
  948. package/dist/projection/experimental/common/hypot.d.ts +2 -0
  949. package/dist/projection/experimental/common/hypot.d.ts.map +1 -0
  950. package/dist/projection/experimental/common/hypot.js +12 -0
  951. package/dist/projection/experimental/common/hypot.js.map +1 -0
  952. package/dist/projection/experimental/common/imlfn.d.ts +2 -0
  953. package/dist/projection/experimental/common/imlfn.d.ts.map +1 -0
  954. package/dist/projection/experimental/common/imlfn.js +21 -0
  955. package/dist/projection/experimental/common/imlfn.js.map +1 -0
  956. package/dist/projection/experimental/common/invlatiso.d.ts +2 -0
  957. package/dist/projection/experimental/common/invlatiso.d.ts.map +1 -0
  958. package/dist/projection/experimental/common/invlatiso.js +20 -0
  959. package/dist/projection/experimental/common/invlatiso.js.map +1 -0
  960. package/dist/projection/experimental/common/iqsfnz.d.ts +2 -0
  961. package/dist/projection/experimental/common/iqsfnz.d.ts.map +1 -0
  962. package/dist/projection/experimental/common/iqsfnz.js +44 -0
  963. package/dist/projection/experimental/common/iqsfnz.js.map +1 -0
  964. package/dist/projection/experimental/common/latiso.d.ts +2 -0
  965. package/dist/projection/experimental/common/latiso.d.ts.map +1 -0
  966. package/dist/projection/experimental/common/latiso.js +19 -0
  967. package/dist/projection/experimental/common/latiso.js.map +1 -0
  968. package/dist/projection/experimental/common/log1py.d.ts +2 -0
  969. package/dist/projection/experimental/common/log1py.d.ts.map +1 -0
  970. package/dist/projection/experimental/common/log1py.js +10 -0
  971. package/dist/projection/experimental/common/log1py.js.map +1 -0
  972. package/dist/projection/experimental/common/meridian-distance.d.ts +5 -0
  973. package/dist/projection/experimental/common/meridian-distance.d.ts.map +1 -0
  974. package/dist/projection/experimental/common/meridian-distance.js +47 -0
  975. package/dist/projection/experimental/common/meridian-distance.js.map +1 -0
  976. package/dist/projection/experimental/common/mlfn.d.ts +2 -0
  977. package/dist/projection/experimental/common/mlfn.d.ts.map +1 -0
  978. package/dist/projection/experimental/common/mlfn.js +8 -0
  979. package/dist/projection/experimental/common/mlfn.js.map +1 -0
  980. package/dist/projection/experimental/common/msfnz.d.ts +2 -0
  981. package/dist/projection/experimental/common/msfnz.d.ts.map +1 -0
  982. package/dist/projection/experimental/common/msfnz.js +9 -0
  983. package/dist/projection/experimental/common/msfnz.js.map +1 -0
  984. package/dist/projection/experimental/common/phi2z.d.ts +2 -0
  985. package/dist/projection/experimental/common/phi2z.d.ts.map +1 -0
  986. package/dist/projection/experimental/common/phi2z.js +21 -0
  987. package/dist/projection/experimental/common/phi2z.js.map +1 -0
  988. package/dist/projection/experimental/common/pj_enfn.d.ts +2 -0
  989. package/dist/projection/experimental/common/pj_enfn.d.ts.map +1 -0
  990. package/dist/projection/experimental/common/pj_enfn.js +28 -0
  991. package/dist/projection/experimental/common/pj_enfn.js.map +1 -0
  992. package/dist/projection/experimental/common/pj_inv_mlfn.d.ts +2 -0
  993. package/dist/projection/experimental/common/pj_inv_mlfn.d.ts.map +1 -0
  994. package/dist/projection/experimental/common/pj_inv_mlfn.js +26 -0
  995. package/dist/projection/experimental/common/pj_inv_mlfn.js.map +1 -0
  996. package/dist/projection/experimental/common/pj_mlfn.d.ts +2 -0
  997. package/dist/projection/experimental/common/pj_mlfn.d.ts.map +1 -0
  998. package/dist/projection/experimental/common/pj_mlfn.js +10 -0
  999. package/dist/projection/experimental/common/pj_mlfn.js.map +1 -0
  1000. package/dist/projection/experimental/common/qsfnz.d.ts +2 -0
  1001. package/dist/projection/experimental/common/qsfnz.d.ts.map +1 -0
  1002. package/dist/projection/experimental/common/qsfnz.js +16 -0
  1003. package/dist/projection/experimental/common/qsfnz.js.map +1 -0
  1004. package/dist/projection/experimental/common/sign.d.ts +2 -0
  1005. package/dist/projection/experimental/common/sign.d.ts.map +1 -0
  1006. package/dist/projection/experimental/common/sign.js +8 -0
  1007. package/dist/projection/experimental/common/sign.js.map +1 -0
  1008. package/dist/projection/experimental/common/sinh.d.ts +2 -0
  1009. package/dist/projection/experimental/common/sinh.d.ts.map +1 -0
  1010. package/dist/projection/experimental/common/sinh.js +10 -0
  1011. package/dist/projection/experimental/common/sinh.js.map +1 -0
  1012. package/dist/projection/experimental/common/srat.d.ts +2 -0
  1013. package/dist/projection/experimental/common/srat.d.ts.map +1 -0
  1014. package/dist/projection/experimental/common/srat.js +8 -0
  1015. package/dist/projection/experimental/common/srat.js.map +1 -0
  1016. package/dist/projection/experimental/common/tsfnz.d.ts +2 -0
  1017. package/dist/projection/experimental/common/tsfnz.d.ts.map +1 -0
  1018. package/dist/projection/experimental/common/tsfnz.js +12 -0
  1019. package/dist/projection/experimental/common/tsfnz.js.map +1 -0
  1020. package/dist/projection/experimental/common/vincenty.d.ts +29 -0
  1021. package/dist/projection/experimental/common/vincenty.d.ts.map +1 -0
  1022. package/dist/projection/experimental/common/vincenty.js +134 -0
  1023. package/dist/projection/experimental/common/vincenty.js.map +1 -0
  1024. package/dist/projection/experimental/core.cjs +2093 -0
  1025. package/dist/projection/experimental/core.cjs.map +6 -0
  1026. package/dist/projection/experimental/core.d.ts +17 -0
  1027. package/dist/projection/experimental/core.d.ts.map +1 -0
  1028. package/dist/projection/experimental/core.js +10 -0
  1029. package/dist/projection/experimental/core.js.map +1 -0
  1030. package/dist/projection/experimental/crs/datum-catalog.d.ts +5 -0
  1031. package/dist/projection/experimental/crs/datum-catalog.d.ts.map +1 -0
  1032. package/dist/projection/experimental/crs/datum-catalog.js +47 -0
  1033. package/dist/projection/experimental/crs/datum-catalog.js.map +1 -0
  1034. package/dist/projection/experimental/crs/datum-table.d.ts +8 -0
  1035. package/dist/projection/experimental/crs/datum-table.d.ts.map +1 -0
  1036. package/dist/projection/experimental/crs/datum-table.js +1355 -0
  1037. package/dist/projection/experimental/crs/datum-table.js.map +1 -0
  1038. package/dist/projection/experimental/crs/ellipsoid-table.d.ts +8 -0
  1039. package/dist/projection/experimental/crs/ellipsoid-table.d.ts.map +1 -0
  1040. package/dist/projection/experimental/crs/ellipsoid-table.js +229 -0
  1041. package/dist/projection/experimental/crs/ellipsoid-table.js.map +1 -0
  1042. package/dist/projection/experimental/crs/normalize.d.ts +11 -0
  1043. package/dist/projection/experimental/crs/normalize.d.ts.map +1 -0
  1044. package/dist/projection/experimental/crs/normalize.js +286 -0
  1045. package/dist/projection/experimental/crs/normalize.js.map +1 -0
  1046. package/dist/projection/experimental/crs/primemeridian-table.d.ts +3 -0
  1047. package/dist/projection/experimental/crs/primemeridian-table.d.ts.map +1 -0
  1048. package/dist/projection/experimental/crs/primemeridian-table.js +20 -0
  1049. package/dist/projection/experimental/crs/primemeridian-table.js.map +1 -0
  1050. package/dist/projection/experimental/crs/projjson.cjs +564 -0
  1051. package/dist/projection/experimental/crs/projjson.cjs.map +6 -0
  1052. package/dist/projection/experimental/crs/projjson.d.ts +4 -0
  1053. package/dist/projection/experimental/crs/projjson.d.ts.map +1 -0
  1054. package/dist/projection/experimental/crs/projjson.js +12 -0
  1055. package/dist/projection/experimental/crs/projjson.js.map +1 -0
  1056. package/dist/projection/experimental/crs/resolve.d.ts +11 -0
  1057. package/dist/projection/experimental/crs/resolve.d.ts.map +1 -0
  1058. package/dist/projection/experimental/crs/resolve.js +61 -0
  1059. package/dist/projection/experimental/crs/resolve.js.map +1 -0
  1060. package/dist/projection/experimental/crs/spatial-reference.d.ts +11 -0
  1061. package/dist/projection/experimental/crs/spatial-reference.d.ts.map +1 -0
  1062. package/dist/projection/experimental/crs/spatial-reference.js +91 -0
  1063. package/dist/projection/experimental/crs/spatial-reference.js.map +1 -0
  1064. package/dist/projection/experimental/crs/structured.d.ts +8 -0
  1065. package/dist/projection/experimental/crs/structured.d.ts.map +1 -0
  1066. package/dist/projection/experimental/crs/structured.js +534 -0
  1067. package/dist/projection/experimental/crs/structured.js.map +1 -0
  1068. package/dist/projection/experimental/crs/types.d.ts +73 -0
  1069. package/dist/projection/experimental/crs/types.d.ts.map +1 -0
  1070. package/dist/projection/experimental/crs/types.js +21 -0
  1071. package/dist/projection/experimental/crs/types.js.map +1 -0
  1072. package/dist/projection/experimental/crs/wkt.cjs +1229 -0
  1073. package/dist/projection/experimental/crs/wkt.cjs.map +6 -0
  1074. package/dist/projection/experimental/crs/wkt.d.ts +3 -0
  1075. package/dist/projection/experimental/crs/wkt.d.ts.map +1 -0
  1076. package/dist/projection/experimental/crs/wkt.js +190 -0
  1077. package/dist/projection/experimental/crs/wkt.js.map +1 -0
  1078. package/dist/projection/experimental/crs-descriptor.d.ts +13 -0
  1079. package/dist/projection/experimental/crs-descriptor.d.ts.map +1 -0
  1080. package/dist/projection/experimental/crs-descriptor.js +174 -0
  1081. package/dist/projection/experimental/crs-descriptor.js.map +1 -0
  1082. package/dist/projection/experimental/crs-rendering-scale.d.ts +5 -0
  1083. package/dist/projection/experimental/crs-rendering-scale.d.ts.map +1 -0
  1084. package/dist/projection/experimental/crs-rendering-scale.js +97 -0
  1085. package/dist/projection/experimental/crs-rendering-scale.js.map +1 -0
  1086. package/dist/projection/experimental/datum.d.ts +17 -0
  1087. package/dist/projection/experimental/datum.d.ts.map +1 -0
  1088. package/dist/projection/experimental/datum.js +160 -0
  1089. package/dist/projection/experimental/datum.js.map +1 -0
  1090. package/dist/projection/experimental/deformation-inverse.d.ts +5 -0
  1091. package/dist/projection/experimental/deformation-inverse.d.ts.map +1 -0
  1092. package/dist/projection/experimental/deformation-inverse.js +89 -0
  1093. package/dist/projection/experimental/deformation-inverse.js.map +1 -0
  1094. package/dist/projection/experimental/deformation.d.ts +23 -0
  1095. package/dist/projection/experimental/deformation.d.ts.map +1 -0
  1096. package/dist/projection/experimental/deformation.js +13 -0
  1097. package/dist/projection/experimental/deformation.js.map +1 -0
  1098. package/dist/projection/experimental/ellipsoidal-gnomonic.d.ts +10 -0
  1099. package/dist/projection/experimental/ellipsoidal-gnomonic.d.ts.map +1 -0
  1100. package/dist/projection/experimental/ellipsoidal-gnomonic.js +59 -0
  1101. package/dist/projection/experimental/ellipsoidal-gnomonic.js.map +1 -0
  1102. package/dist/projection/experimental/engine-options.d.ts +10 -0
  1103. package/dist/projection/experimental/engine-options.d.ts.map +1 -0
  1104. package/dist/projection/experimental/engine-options.js +26 -0
  1105. package/dist/projection/experimental/engine-options.js.map +1 -0
  1106. package/dist/projection/experimental/entries/projections/aea.cjs +649 -0
  1107. package/dist/projection/experimental/entries/projections/aea.cjs.map +6 -0
  1108. package/dist/projection/experimental/entries/projections/aea.d.ts +2 -0
  1109. package/dist/projection/experimental/entries/projections/aea.d.ts.map +1 -0
  1110. package/dist/projection/experimental/entries/projections/aea.js +5 -0
  1111. package/dist/projection/experimental/entries/projections/aea.js.map +1 -0
  1112. package/dist/projection/experimental/entries/projections/aeqd.cjs +718 -0
  1113. package/dist/projection/experimental/entries/projections/aeqd.cjs.map +6 -0
  1114. package/dist/projection/experimental/entries/projections/aeqd.d.ts +2 -0
  1115. package/dist/projection/experimental/entries/projections/aeqd.d.ts.map +1 -0
  1116. package/dist/projection/experimental/entries/projections/aeqd.js +5 -0
  1117. package/dist/projection/experimental/entries/projections/aeqd.js.map +1 -0
  1118. package/dist/projection/experimental/entries/projections/bonne.cjs +621 -0
  1119. package/dist/projection/experimental/entries/projections/bonne.cjs.map +6 -0
  1120. package/dist/projection/experimental/entries/projections/bonne.d.ts +2 -0
  1121. package/dist/projection/experimental/entries/projections/bonne.d.ts.map +1 -0
  1122. package/dist/projection/experimental/entries/projections/bonne.js +5 -0
  1123. package/dist/projection/experimental/entries/projections/bonne.js.map +1 -0
  1124. package/dist/projection/experimental/entries/projections/cass.cjs +610 -0
  1125. package/dist/projection/experimental/entries/projections/cass.cjs.map +6 -0
  1126. package/dist/projection/experimental/entries/projections/cass.d.ts +2 -0
  1127. package/dist/projection/experimental/entries/projections/cass.d.ts.map +1 -0
  1128. package/dist/projection/experimental/entries/projections/cass.js +5 -0
  1129. package/dist/projection/experimental/entries/projections/cass.js.map +1 -0
  1130. package/dist/projection/experimental/entries/projections/cea.cjs +536 -0
  1131. package/dist/projection/experimental/entries/projections/cea.cjs.map +6 -0
  1132. package/dist/projection/experimental/entries/projections/cea.d.ts +2 -0
  1133. package/dist/projection/experimental/entries/projections/cea.d.ts.map +1 -0
  1134. package/dist/projection/experimental/entries/projections/cea.js +5 -0
  1135. package/dist/projection/experimental/entries/projections/cea.js.map +1 -0
  1136. package/dist/projection/experimental/entries/projections/eck6.cjs +562 -0
  1137. package/dist/projection/experimental/entries/projections/eck6.cjs.map +6 -0
  1138. package/dist/projection/experimental/entries/projections/eck6.d.ts +2 -0
  1139. package/dist/projection/experimental/entries/projections/eck6.d.ts.map +1 -0
  1140. package/dist/projection/experimental/entries/projections/eck6.js +5 -0
  1141. package/dist/projection/experimental/entries/projections/eck6.js.map +1 -0
  1142. package/dist/projection/experimental/entries/projections/eqc.cjs +257 -0
  1143. package/dist/projection/experimental/entries/projections/eqc.cjs.map +6 -0
  1144. package/dist/projection/experimental/entries/projections/eqc.d.ts +2 -0
  1145. package/dist/projection/experimental/entries/projections/eqc.d.ts.map +1 -0
  1146. package/dist/projection/experimental/entries/projections/eqc.js +5 -0
  1147. package/dist/projection/experimental/entries/projections/eqc.js.map +1 -0
  1148. package/dist/projection/experimental/entries/projections/eqdc.cjs +650 -0
  1149. package/dist/projection/experimental/entries/projections/eqdc.cjs.map +6 -0
  1150. package/dist/projection/experimental/entries/projections/eqdc.d.ts +2 -0
  1151. package/dist/projection/experimental/entries/projections/eqdc.d.ts.map +1 -0
  1152. package/dist/projection/experimental/entries/projections/eqdc.js +5 -0
  1153. package/dist/projection/experimental/entries/projections/eqdc.js.map +1 -0
  1154. package/dist/projection/experimental/entries/projections/eqearth.cjs +460 -0
  1155. package/dist/projection/experimental/entries/projections/eqearth.cjs.map +6 -0
  1156. package/dist/projection/experimental/entries/projections/eqearth.d.ts +2 -0
  1157. package/dist/projection/experimental/entries/projections/eqearth.d.ts.map +1 -0
  1158. package/dist/projection/experimental/entries/projections/eqearth.js +5 -0
  1159. package/dist/projection/experimental/entries/projections/eqearth.js.map +1 -0
  1160. package/dist/projection/experimental/entries/projections/equi.cjs +477 -0
  1161. package/dist/projection/experimental/entries/projections/equi.cjs.map +6 -0
  1162. package/dist/projection/experimental/entries/projections/equi.d.ts +2 -0
  1163. package/dist/projection/experimental/entries/projections/equi.d.ts.map +1 -0
  1164. package/dist/projection/experimental/entries/projections/equi.js +5 -0
  1165. package/dist/projection/experimental/entries/projections/equi.js.map +1 -0
  1166. package/dist/projection/experimental/entries/projections/etmerc.cjs +887 -0
  1167. package/dist/projection/experimental/entries/projections/etmerc.cjs.map +6 -0
  1168. package/dist/projection/experimental/entries/projections/etmerc.d.ts +2 -0
  1169. package/dist/projection/experimental/entries/projections/etmerc.d.ts.map +1 -0
  1170. package/dist/projection/experimental/entries/projections/etmerc.js +5 -0
  1171. package/dist/projection/experimental/entries/projections/etmerc.js.map +1 -0
  1172. package/dist/projection/experimental/entries/projections/geocent.cjs +215 -0
  1173. package/dist/projection/experimental/entries/projections/geocent.cjs.map +6 -0
  1174. package/dist/projection/experimental/entries/projections/geocent.d.ts +2 -0
  1175. package/dist/projection/experimental/entries/projections/geocent.d.ts.map +1 -0
  1176. package/dist/projection/experimental/entries/projections/geocent.js +5 -0
  1177. package/dist/projection/experimental/entries/projections/geocent.js.map +1 -0
  1178. package/dist/projection/experimental/entries/projections/geos.cjs +703 -0
  1179. package/dist/projection/experimental/entries/projections/geos.cjs.map +6 -0
  1180. package/dist/projection/experimental/entries/projections/geos.d.ts +2 -0
  1181. package/dist/projection/experimental/entries/projections/geos.d.ts.map +1 -0
  1182. package/dist/projection/experimental/entries/projections/geos.js +5 -0
  1183. package/dist/projection/experimental/entries/projections/geos.js.map +1 -0
  1184. package/dist/projection/experimental/entries/projections/gnom.cjs +2028 -0
  1185. package/dist/projection/experimental/entries/projections/gnom.cjs.map +6 -0
  1186. package/dist/projection/experimental/entries/projections/gnom.d.ts +2 -0
  1187. package/dist/projection/experimental/entries/projections/gnom.d.ts.map +1 -0
  1188. package/dist/projection/experimental/entries/projections/gnom.js +5 -0
  1189. package/dist/projection/experimental/entries/projections/gnom.js.map +1 -0
  1190. package/dist/projection/experimental/entries/projections/gstmerc.cjs +526 -0
  1191. package/dist/projection/experimental/entries/projections/gstmerc.cjs.map +6 -0
  1192. package/dist/projection/experimental/entries/projections/gstmerc.d.ts +2 -0
  1193. package/dist/projection/experimental/entries/projections/gstmerc.d.ts.map +1 -0
  1194. package/dist/projection/experimental/entries/projections/gstmerc.js +5 -0
  1195. package/dist/projection/experimental/entries/projections/gstmerc.js.map +1 -0
  1196. package/dist/projection/experimental/entries/projections/krovak.cjs +683 -0
  1197. package/dist/projection/experimental/entries/projections/krovak.cjs.map +6 -0
  1198. package/dist/projection/experimental/entries/projections/krovak.d.ts +2 -0
  1199. package/dist/projection/experimental/entries/projections/krovak.d.ts.map +1 -0
  1200. package/dist/projection/experimental/entries/projections/krovak.js +5 -0
  1201. package/dist/projection/experimental/entries/projections/krovak.js.map +1 -0
  1202. package/dist/projection/experimental/entries/projections/laea.cjs +797 -0
  1203. package/dist/projection/experimental/entries/projections/laea.cjs.map +6 -0
  1204. package/dist/projection/experimental/entries/projections/laea.d.ts +2 -0
  1205. package/dist/projection/experimental/entries/projections/laea.d.ts.map +1 -0
  1206. package/dist/projection/experimental/entries/projections/laea.js +5 -0
  1207. package/dist/projection/experimental/entries/projections/laea.js.map +1 -0
  1208. package/dist/projection/experimental/entries/projections/lcc.cjs +637 -0
  1209. package/dist/projection/experimental/entries/projections/lcc.cjs.map +6 -0
  1210. package/dist/projection/experimental/entries/projections/lcc.d.ts +2 -0
  1211. package/dist/projection/experimental/entries/projections/lcc.d.ts.map +1 -0
  1212. package/dist/projection/experimental/entries/projections/lcc.js +5 -0
  1213. package/dist/projection/experimental/entries/projections/lcc.js.map +1 -0
  1214. package/dist/projection/experimental/entries/projections/merc.cjs +355 -0
  1215. package/dist/projection/experimental/entries/projections/merc.cjs.map +6 -0
  1216. package/dist/projection/experimental/entries/projections/merc.d.ts +2 -0
  1217. package/dist/projection/experimental/entries/projections/merc.d.ts.map +1 -0
  1218. package/dist/projection/experimental/entries/projections/merc.js +5 -0
  1219. package/dist/projection/experimental/entries/projections/merc.js.map +1 -0
  1220. package/dist/projection/experimental/entries/projections/mill.cjs +470 -0
  1221. package/dist/projection/experimental/entries/projections/mill.cjs.map +6 -0
  1222. package/dist/projection/experimental/entries/projections/mill.d.ts +2 -0
  1223. package/dist/projection/experimental/entries/projections/mill.d.ts.map +1 -0
  1224. package/dist/projection/experimental/entries/projections/mill.js +5 -0
  1225. package/dist/projection/experimental/entries/projections/mill.js.map +1 -0
  1226. package/dist/projection/experimental/entries/projections/moll.cjs +517 -0
  1227. package/dist/projection/experimental/entries/projections/moll.cjs.map +6 -0
  1228. package/dist/projection/experimental/entries/projections/moll.d.ts +2 -0
  1229. package/dist/projection/experimental/entries/projections/moll.d.ts.map +1 -0
  1230. package/dist/projection/experimental/entries/projections/moll.js +5 -0
  1231. package/dist/projection/experimental/entries/projections/moll.js.map +1 -0
  1232. package/dist/projection/experimental/entries/projections/nzmg.cjs +623 -0
  1233. package/dist/projection/experimental/entries/projections/nzmg.cjs.map +6 -0
  1234. package/dist/projection/experimental/entries/projections/nzmg.d.ts +2 -0
  1235. package/dist/projection/experimental/entries/projections/nzmg.d.ts.map +1 -0
  1236. package/dist/projection/experimental/entries/projections/nzmg.js +5 -0
  1237. package/dist/projection/experimental/entries/projections/nzmg.js.map +1 -0
  1238. package/dist/projection/experimental/entries/projections/ob_tran.cjs +540 -0
  1239. package/dist/projection/experimental/entries/projections/ob_tran.cjs.map +6 -0
  1240. package/dist/projection/experimental/entries/projections/ob_tran.d.ts +2 -0
  1241. package/dist/projection/experimental/entries/projections/ob_tran.d.ts.map +1 -0
  1242. package/dist/projection/experimental/entries/projections/ob_tran.js +5 -0
  1243. package/dist/projection/experimental/entries/projections/ob_tran.js.map +1 -0
  1244. package/dist/projection/experimental/entries/projections/omerc.cjs +850 -0
  1245. package/dist/projection/experimental/entries/projections/omerc.cjs.map +6 -0
  1246. package/dist/projection/experimental/entries/projections/omerc.d.ts +2 -0
  1247. package/dist/projection/experimental/entries/projections/omerc.d.ts.map +1 -0
  1248. package/dist/projection/experimental/entries/projections/omerc.js +5 -0
  1249. package/dist/projection/experimental/entries/projections/omerc.js.map +1 -0
  1250. package/dist/projection/experimental/entries/projections/ortho.cjs +519 -0
  1251. package/dist/projection/experimental/entries/projections/ortho.cjs.map +6 -0
  1252. package/dist/projection/experimental/entries/projections/ortho.d.ts +2 -0
  1253. package/dist/projection/experimental/entries/projections/ortho.d.ts.map +1 -0
  1254. package/dist/projection/experimental/entries/projections/ortho.js +5 -0
  1255. package/dist/projection/experimental/entries/projections/ortho.js.map +1 -0
  1256. package/dist/projection/experimental/entries/projections/poly.cjs +622 -0
  1257. package/dist/projection/experimental/entries/projections/poly.cjs.map +6 -0
  1258. package/dist/projection/experimental/entries/projections/poly.d.ts +2 -0
  1259. package/dist/projection/experimental/entries/projections/poly.d.ts.map +1 -0
  1260. package/dist/projection/experimental/entries/projections/poly.js +5 -0
  1261. package/dist/projection/experimental/entries/projections/poly.js.map +1 -0
  1262. package/dist/projection/experimental/entries/projections/qsc.cjs +695 -0
  1263. package/dist/projection/experimental/entries/projections/qsc.cjs.map +6 -0
  1264. package/dist/projection/experimental/entries/projections/qsc.d.ts +2 -0
  1265. package/dist/projection/experimental/entries/projections/qsc.d.ts.map +1 -0
  1266. package/dist/projection/experimental/entries/projections/qsc.js +5 -0
  1267. package/dist/projection/experimental/entries/projections/qsc.js.map +1 -0
  1268. package/dist/projection/experimental/entries/projections/robin.cjs +584 -0
  1269. package/dist/projection/experimental/entries/projections/robin.cjs.map +6 -0
  1270. package/dist/projection/experimental/entries/projections/robin.d.ts +2 -0
  1271. package/dist/projection/experimental/entries/projections/robin.d.ts.map +1 -0
  1272. package/dist/projection/experimental/entries/projections/robin.js +5 -0
  1273. package/dist/projection/experimental/entries/projections/robin.js.map +1 -0
  1274. package/dist/projection/experimental/entries/projections/sinu.cjs +586 -0
  1275. package/dist/projection/experimental/entries/projections/sinu.cjs.map +6 -0
  1276. package/dist/projection/experimental/entries/projections/sinu.d.ts +2 -0
  1277. package/dist/projection/experimental/entries/projections/sinu.d.ts.map +1 -0
  1278. package/dist/projection/experimental/entries/projections/sinu.js +5 -0
  1279. package/dist/projection/experimental/entries/projections/sinu.js.map +1 -0
  1280. package/dist/projection/experimental/entries/projections/somerc.cjs +575 -0
  1281. package/dist/projection/experimental/entries/projections/somerc.cjs.map +6 -0
  1282. package/dist/projection/experimental/entries/projections/somerc.d.ts +2 -0
  1283. package/dist/projection/experimental/entries/projections/somerc.d.ts.map +1 -0
  1284. package/dist/projection/experimental/entries/projections/somerc.js +5 -0
  1285. package/dist/projection/experimental/entries/projections/somerc.js.map +1 -0
  1286. package/dist/projection/experimental/entries/projections/stere.cjs +697 -0
  1287. package/dist/projection/experimental/entries/projections/stere.cjs.map +6 -0
  1288. package/dist/projection/experimental/entries/projections/stere.d.ts +2 -0
  1289. package/dist/projection/experimental/entries/projections/stere.d.ts.map +1 -0
  1290. package/dist/projection/experimental/entries/projections/stere.js +5 -0
  1291. package/dist/projection/experimental/entries/projections/stere.js.map +1 -0
  1292. package/dist/projection/experimental/entries/projections/sterea.cjs +631 -0
  1293. package/dist/projection/experimental/entries/projections/sterea.cjs.map +6 -0
  1294. package/dist/projection/experimental/entries/projections/sterea.d.ts +2 -0
  1295. package/dist/projection/experimental/entries/projections/sterea.d.ts.map +1 -0
  1296. package/dist/projection/experimental/entries/projections/sterea.js +5 -0
  1297. package/dist/projection/experimental/entries/projections/sterea.js.map +1 -0
  1298. package/dist/projection/experimental/entries/projections/tmerc.cjs +887 -0
  1299. package/dist/projection/experimental/entries/projections/tmerc.cjs.map +6 -0
  1300. package/dist/projection/experimental/entries/projections/tmerc.d.ts +2 -0
  1301. package/dist/projection/experimental/entries/projections/tmerc.d.ts.map +1 -0
  1302. package/dist/projection/experimental/entries/projections/tmerc.js +5 -0
  1303. package/dist/projection/experimental/entries/projections/tmerc.js.map +1 -0
  1304. package/dist/projection/experimental/entries/projections/tpers.cjs +645 -0
  1305. package/dist/projection/experimental/entries/projections/tpers.cjs.map +6 -0
  1306. package/dist/projection/experimental/entries/projections/tpers.d.ts +2 -0
  1307. package/dist/projection/experimental/entries/projections/tpers.d.ts.map +1 -0
  1308. package/dist/projection/experimental/entries/projections/tpers.js +5 -0
  1309. package/dist/projection/experimental/entries/projections/tpers.js.map +1 -0
  1310. package/dist/projection/experimental/entries/projections/utm.cjs +915 -0
  1311. package/dist/projection/experimental/entries/projections/utm.cjs.map +6 -0
  1312. package/dist/projection/experimental/entries/projections/utm.d.ts +2 -0
  1313. package/dist/projection/experimental/entries/projections/utm.d.ts.map +1 -0
  1314. package/dist/projection/experimental/entries/projections/utm.js +5 -0
  1315. package/dist/projection/experimental/entries/projections/utm.js.map +1 -0
  1316. package/dist/projection/experimental/entries/projections/vandg.cjs +560 -0
  1317. package/dist/projection/experimental/entries/projections/vandg.cjs.map +6 -0
  1318. package/dist/projection/experimental/entries/projections/vandg.d.ts +2 -0
  1319. package/dist/projection/experimental/entries/projections/vandg.d.ts.map +1 -0
  1320. package/dist/projection/experimental/entries/projections/vandg.js +5 -0
  1321. package/dist/projection/experimental/entries/projections/vandg.js.map +1 -0
  1322. package/dist/projection/experimental/exact-helmert.d.ts +9 -0
  1323. package/dist/projection/experimental/exact-helmert.d.ts.map +1 -0
  1324. package/dist/projection/experimental/exact-helmert.js +32 -0
  1325. package/dist/projection/experimental/exact-helmert.js.map +1 -0
  1326. package/dist/projection/experimental/flat-projection.d.ts +15 -0
  1327. package/dist/projection/experimental/flat-projection.d.ts.map +1 -0
  1328. package/dist/projection/experimental/flat-projection.js +70 -0
  1329. package/dist/projection/experimental/flat-projection.js.map +1 -0
  1330. package/dist/projection/experimental/grids/geotiff.cjs +180 -0
  1331. package/dist/projection/experimental/grids/geotiff.cjs.map +6 -0
  1332. package/dist/projection/experimental/grids/geotiff.d.ts +23 -0
  1333. package/dist/projection/experimental/grids/geotiff.d.ts.map +1 -0
  1334. package/dist/projection/experimental/grids/geotiff.js +59 -0
  1335. package/dist/projection/experimental/grids/geotiff.js.map +1 -0
  1336. package/dist/projection/experimental/grids/grid.d.ts +4 -0
  1337. package/dist/projection/experimental/grids/grid.d.ts.map +1 -0
  1338. package/dist/projection/experimental/grids/grid.js +111 -0
  1339. package/dist/projection/experimental/grids/grid.js.map +1 -0
  1340. package/dist/projection/experimental/grids/gtx.cjs +91 -0
  1341. package/dist/projection/experimental/grids/gtx.cjs.map +6 -0
  1342. package/dist/projection/experimental/grids/gtx.d.ts +7 -0
  1343. package/dist/projection/experimental/grids/gtx.d.ts.map +1 -0
  1344. package/dist/projection/experimental/grids/gtx.js +30 -0
  1345. package/dist/projection/experimental/grids/gtx.js.map +1 -0
  1346. package/dist/projection/experimental/grids/ntv2.cjs +181 -0
  1347. package/dist/projection/experimental/grids/ntv2.cjs.map +6 -0
  1348. package/dist/projection/experimental/grids/ntv2.d.ts +8 -0
  1349. package/dist/projection/experimental/grids/ntv2.d.ts.map +1 -0
  1350. package/dist/projection/experimental/grids/ntv2.js +56 -0
  1351. package/dist/projection/experimental/grids/ntv2.js.map +1 -0
  1352. package/dist/projection/experimental/grids/scalar-geotiff.d.ts +58 -0
  1353. package/dist/projection/experimental/grids/scalar-geotiff.d.ts.map +1 -0
  1354. package/dist/projection/experimental/grids/scalar-geotiff.js +147 -0
  1355. package/dist/projection/experimental/grids/scalar-geotiff.js.map +1 -0
  1356. package/dist/projection/experimental/grids/types.d.ts +35 -0
  1357. package/dist/projection/experimental/grids/types.d.ts.map +1 -0
  1358. package/dist/projection/experimental/grids/types.js +2 -0
  1359. package/dist/projection/experimental/grids/types.js.map +1 -0
  1360. package/dist/projection/experimental/grids/velocity-geotiff.cjs +247 -0
  1361. package/dist/projection/experimental/grids/velocity-geotiff.cjs.map +6 -0
  1362. package/dist/projection/experimental/grids/velocity-geotiff.d.ts +11 -0
  1363. package/dist/projection/experimental/grids/velocity-geotiff.d.ts.map +1 -0
  1364. package/dist/projection/experimental/grids/velocity-geotiff.js +61 -0
  1365. package/dist/projection/experimental/grids/velocity-geotiff.js.map +1 -0
  1366. package/dist/projection/experimental/grids/velocity.d.ts +21 -0
  1367. package/dist/projection/experimental/grids/velocity.d.ts.map +1 -0
  1368. package/dist/projection/experimental/grids/velocity.js +29 -0
  1369. package/dist/projection/experimental/grids/velocity.js.map +1 -0
  1370. package/dist/projection/experimental/grids/vertical-geotiff.cjs +195 -0
  1371. package/dist/projection/experimental/grids/vertical-geotiff.cjs.map +6 -0
  1372. package/dist/projection/experimental/grids/vertical-geotiff.d.ts +6 -0
  1373. package/dist/projection/experimental/grids/vertical-geotiff.d.ts.map +1 -0
  1374. package/dist/projection/experimental/grids/vertical-geotiff.js +20 -0
  1375. package/dist/projection/experimental/grids/vertical-geotiff.js.map +1 -0
  1376. package/dist/projection/experimental/grids/vertical.cjs +80 -0
  1377. package/dist/projection/experimental/grids/vertical.cjs.map +6 -0
  1378. package/dist/projection/experimental/grids/vertical.d.ts +22 -0
  1379. package/dist/projection/experimental/grids/vertical.d.ts.map +1 -0
  1380. package/dist/projection/experimental/grids/vertical.js +73 -0
  1381. package/dist/projection/experimental/grids/vertical.js.map +1 -0
  1382. package/dist/projection/experimental/helmert-flat.d.ts +4 -0
  1383. package/dist/projection/experimental/helmert-flat.d.ts.map +1 -0
  1384. package/dist/projection/experimental/helmert-flat.js +53 -0
  1385. package/dist/projection/experimental/helmert-flat.js.map +1 -0
  1386. package/dist/projection/experimental/index.cjs +11707 -0
  1387. package/dist/projection/experimental/index.cjs.map +6 -0
  1388. package/dist/projection/experimental/index.d.ts +49 -0
  1389. package/dist/projection/experimental/index.d.ts.map +1 -0
  1390. package/dist/projection/experimental/index.js +48 -0
  1391. package/dist/projection/experimental/index.js.map +1 -0
  1392. package/dist/projection/experimental/inverse-spherical-latitude.d.ts +2 -0
  1393. package/dist/projection/experimental/inverse-spherical-latitude.d.ts.map +1 -0
  1394. package/dist/projection/experimental/inverse-spherical-latitude.js +11 -0
  1395. package/dist/projection/experimental/inverse-spherical-latitude.js.map +1 -0
  1396. package/dist/projection/experimental/kernel.d.ts +37 -0
  1397. package/dist/projection/experimental/kernel.d.ts.map +1 -0
  1398. package/dist/projection/experimental/kernel.js +81 -0
  1399. package/dist/projection/experimental/kernel.js.map +1 -0
  1400. package/dist/projection/experimental/kernels/aea.d.ts +25 -0
  1401. package/dist/projection/experimental/kernels/aea.d.ts.map +1 -0
  1402. package/dist/projection/experimental/kernels/aea.js +118 -0
  1403. package/dist/projection/experimental/kernels/aea.js.map +1 -0
  1404. package/dist/projection/experimental/kernels/aeqd.d.ts +10 -0
  1405. package/dist/projection/experimental/kernels/aeqd.d.ts.map +1 -0
  1406. package/dist/projection/experimental/kernels/aeqd.js +168 -0
  1407. package/dist/projection/experimental/kernels/aeqd.js.map +1 -0
  1408. package/dist/projection/experimental/kernels/bonne.d.ts +12 -0
  1409. package/dist/projection/experimental/kernels/bonne.d.ts.map +1 -0
  1410. package/dist/projection/experimental/kernels/bonne.js +128 -0
  1411. package/dist/projection/experimental/kernels/bonne.js.map +1 -0
  1412. package/dist/projection/experimental/kernels/cass.d.ts +10 -0
  1413. package/dist/projection/experimental/kernels/cass.d.ts.map +1 -0
  1414. package/dist/projection/experimental/kernels/cass.js +122 -0
  1415. package/dist/projection/experimental/kernels/cass.js.map +1 -0
  1416. package/dist/projection/experimental/kernels/cea.d.ts +6 -0
  1417. package/dist/projection/experimental/kernels/cea.d.ts.map +1 -0
  1418. package/dist/projection/experimental/kernels/cea.js +63 -0
  1419. package/dist/projection/experimental/kernels/cea.js.map +1 -0
  1420. package/dist/projection/experimental/kernels/eck6.d.ts +13 -0
  1421. package/dist/projection/experimental/kernels/eck6.d.ts.map +1 -0
  1422. package/dist/projection/experimental/kernels/eck6.js +23 -0
  1423. package/dist/projection/experimental/kernels/eck6.js.map +1 -0
  1424. package/dist/projection/experimental/kernels/eqdc.d.ts +19 -0
  1425. package/dist/projection/experimental/kernels/eqdc.d.ts.map +1 -0
  1426. package/dist/projection/experimental/kernels/eqdc.js +117 -0
  1427. package/dist/projection/experimental/kernels/eqdc.js.map +1 -0
  1428. package/dist/projection/experimental/kernels/eqearth.d.ts +10 -0
  1429. package/dist/projection/experimental/kernels/eqearth.d.ts.map +1 -0
  1430. package/dist/projection/experimental/kernels/eqearth.js +114 -0
  1431. package/dist/projection/experimental/kernels/eqearth.js.map +1 -0
  1432. package/dist/projection/experimental/kernels/equi.d.ts +9 -0
  1433. package/dist/projection/experimental/kernels/equi.d.ts.map +1 -0
  1434. package/dist/projection/experimental/kernels/equi.js +43 -0
  1435. package/dist/projection/experimental/kernels/equi.js.map +1 -0
  1436. package/dist/projection/experimental/kernels/etmerc.d.ts +13 -0
  1437. package/dist/projection/experimental/kernels/etmerc.d.ts.map +1 -0
  1438. package/dist/projection/experimental/kernels/etmerc.js +145 -0
  1439. package/dist/projection/experimental/kernels/etmerc.js.map +1 -0
  1440. package/dist/projection/experimental/kernels/gauss.d.ts +12 -0
  1441. package/dist/projection/experimental/kernels/gauss.d.ts.map +1 -0
  1442. package/dist/projection/experimental/kernels/gauss.js +64 -0
  1443. package/dist/projection/experimental/kernels/gauss.js.map +1 -0
  1444. package/dist/projection/experimental/kernels/geos.d.ts +17 -0
  1445. package/dist/projection/experimental/kernels/geos.d.ts.map +1 -0
  1446. package/dist/projection/experimental/kernels/geos.js +153 -0
  1447. package/dist/projection/experimental/kernels/geos.js.map +1 -0
  1448. package/dist/projection/experimental/kernels/gnom.d.ts +14 -0
  1449. package/dist/projection/experimental/kernels/gnom.d.ts.map +1 -0
  1450. package/dist/projection/experimental/kernels/gnom.js +102 -0
  1451. package/dist/projection/experimental/kernels/gnom.js.map +1 -0
  1452. package/dist/projection/experimental/kernels/gstmerc.d.ts +13 -0
  1453. package/dist/projection/experimental/kernels/gstmerc.d.ts.map +1 -0
  1454. package/dist/projection/experimental/kernels/gstmerc.js +57 -0
  1455. package/dist/projection/experimental/kernels/gstmerc.js.map +1 -0
  1456. package/dist/projection/experimental/kernels/krovak.d.ts +23 -0
  1457. package/dist/projection/experimental/kernels/krovak.d.ts.map +1 -0
  1458. package/dist/projection/experimental/kernels/krovak.js +128 -0
  1459. package/dist/projection/experimental/kernels/krovak.js.map +1 -0
  1460. package/dist/projection/experimental/kernels/laea.d.ts +22 -0
  1461. package/dist/projection/experimental/kernels/laea.d.ts.map +1 -0
  1462. package/dist/projection/experimental/kernels/laea.js +296 -0
  1463. package/dist/projection/experimental/kernels/laea.js.map +1 -0
  1464. package/dist/projection/experimental/kernels/lcc.d.ts +10 -0
  1465. package/dist/projection/experimental/kernels/lcc.d.ts.map +1 -0
  1466. package/dist/projection/experimental/kernels/lcc.js +126 -0
  1467. package/dist/projection/experimental/kernels/lcc.js.map +1 -0
  1468. package/dist/projection/experimental/kernels/mill.d.ts +6 -0
  1469. package/dist/projection/experimental/kernels/mill.d.ts.map +1 -0
  1470. package/dist/projection/experimental/kernels/mill.js +49 -0
  1471. package/dist/projection/experimental/kernels/mill.js.map +1 -0
  1472. package/dist/projection/experimental/kernels/moll.d.ts +6 -0
  1473. package/dist/projection/experimental/kernels/moll.d.ts.map +1 -0
  1474. package/dist/projection/experimental/kernels/moll.js +104 -0
  1475. package/dist/projection/experimental/kernels/moll.js.map +1 -0
  1476. package/dist/projection/experimental/kernels/nzmg.d.ts +28 -0
  1477. package/dist/projection/experimental/kernels/nzmg.d.ts.map +1 -0
  1478. package/dist/projection/experimental/kernels/nzmg.js +209 -0
  1479. package/dist/projection/experimental/kernels/nzmg.js.map +1 -0
  1480. package/dist/projection/experimental/kernels/omerc.d.ts +30 -0
  1481. package/dist/projection/experimental/kernels/omerc.d.ts.map +1 -0
  1482. package/dist/projection/experimental/kernels/omerc.js +260 -0
  1483. package/dist/projection/experimental/kernels/omerc.js.map +1 -0
  1484. package/dist/projection/experimental/kernels/ortho.d.ts +10 -0
  1485. package/dist/projection/experimental/kernels/ortho.d.ts.map +1 -0
  1486. package/dist/projection/experimental/kernels/ortho.js +43 -0
  1487. package/dist/projection/experimental/kernels/ortho.js.map +1 -0
  1488. package/dist/projection/experimental/kernels/poly.d.ts +10 -0
  1489. package/dist/projection/experimental/kernels/poly.d.ts.map +1 -0
  1490. package/dist/projection/experimental/kernels/poly.js +193 -0
  1491. package/dist/projection/experimental/kernels/poly.js.map +1 -0
  1492. package/dist/projection/experimental/kernels/qsc.d.ts +10 -0
  1493. package/dist/projection/experimental/kernels/qsc.d.ts.map +1 -0
  1494. package/dist/projection/experimental/kernels/qsc.js +364 -0
  1495. package/dist/projection/experimental/kernels/qsc.js.map +1 -0
  1496. package/dist/projection/experimental/kernels/robin.d.ts +6 -0
  1497. package/dist/projection/experimental/kernels/robin.d.ts.map +1 -0
  1498. package/dist/projection/experimental/kernels/robin.js +166 -0
  1499. package/dist/projection/experimental/kernels/robin.js.map +1 -0
  1500. package/dist/projection/experimental/kernels/sinu.d.ts +12 -0
  1501. package/dist/projection/experimental/kernels/sinu.d.ts.map +1 -0
  1502. package/dist/projection/experimental/kernels/sinu.js +107 -0
  1503. package/dist/projection/experimental/kernels/sinu.js.map +1 -0
  1504. package/dist/projection/experimental/kernels/somerc.d.ts +13 -0
  1505. package/dist/projection/experimental/kernels/somerc.d.ts.map +1 -0
  1506. package/dist/projection/experimental/kernels/somerc.js +79 -0
  1507. package/dist/projection/experimental/kernels/somerc.js.map +1 -0
  1508. package/dist/projection/experimental/kernels/stere.d.ts +15 -0
  1509. package/dist/projection/experimental/kernels/stere.d.ts.map +1 -0
  1510. package/dist/projection/experimental/kernels/stere.js +207 -0
  1511. package/dist/projection/experimental/kernels/stere.js.map +1 -0
  1512. package/dist/projection/experimental/kernels/sterea.d.ts +11 -0
  1513. package/dist/projection/experimental/kernels/sterea.d.ts.map +1 -0
  1514. package/dist/projection/experimental/kernels/sterea.js +67 -0
  1515. package/dist/projection/experimental/kernels/sterea.js.map +1 -0
  1516. package/dist/projection/experimental/kernels/tmerc.d.ts +9 -0
  1517. package/dist/projection/experimental/kernels/tmerc.d.ts.map +1 -0
  1518. package/dist/projection/experimental/kernels/tmerc.js +201 -0
  1519. package/dist/projection/experimental/kernels/tmerc.js.map +1 -0
  1520. package/dist/projection/experimental/kernels/tpers.d.ts +22 -0
  1521. package/dist/projection/experimental/kernels/tpers.d.ts.map +1 -0
  1522. package/dist/projection/experimental/kernels/tpers.js +156 -0
  1523. package/dist/projection/experimental/kernels/tpers.js.map +1 -0
  1524. package/dist/projection/experimental/kernels/vandg.d.ts +8 -0
  1525. package/dist/projection/experimental/kernels/vandg.d.ts.map +1 -0
  1526. package/dist/projection/experimental/kernels/vandg.js +133 -0
  1527. package/dist/projection/experimental/kernels/vandg.js.map +1 -0
  1528. package/dist/projection/experimental/kinematic-helmert-flat.d.ts +4 -0
  1529. package/dist/projection/experimental/kinematic-helmert-flat.d.ts.map +1 -0
  1530. package/dist/projection/experimental/kinematic-helmert-flat.js +60 -0
  1531. package/dist/projection/experimental/kinematic-helmert-flat.js.map +1 -0
  1532. package/dist/projection/experimental/kinematic-helmert.d.ts +11 -0
  1533. package/dist/projection/experimental/kinematic-helmert.d.ts.map +1 -0
  1534. package/dist/projection/experimental/kinematic-helmert.js +103 -0
  1535. package/dist/projection/experimental/kinematic-helmert.js.map +1 -0
  1536. package/dist/projection/experimental/lazy-projection.d.ts +17 -0
  1537. package/dist/projection/experimental/lazy-projection.d.ts.map +1 -0
  1538. package/dist/projection/experimental/lazy-projection.js +166 -0
  1539. package/dist/projection/experimental/lazy-projection.js.map +1 -0
  1540. package/dist/projection/experimental/lazy-projections/aea.cjs +79 -0
  1541. package/dist/projection/experimental/lazy-projections/aea.cjs.map +6 -0
  1542. package/dist/projection/experimental/lazy-projections/aea.d.ts +3 -0
  1543. package/dist/projection/experimental/lazy-projections/aea.d.ts.map +1 -0
  1544. package/dist/projection/experimental/lazy-projections/aea.js +7 -0
  1545. package/dist/projection/experimental/lazy-projections/aea.js.map +1 -0
  1546. package/dist/projection/experimental/lazy-projections/aeqd.cjs +79 -0
  1547. package/dist/projection/experimental/lazy-projections/aeqd.cjs.map +6 -0
  1548. package/dist/projection/experimental/lazy-projections/aeqd.d.ts +3 -0
  1549. package/dist/projection/experimental/lazy-projections/aeqd.d.ts.map +1 -0
  1550. package/dist/projection/experimental/lazy-projections/aeqd.js +8 -0
  1551. package/dist/projection/experimental/lazy-projections/aeqd.js.map +1 -0
  1552. package/dist/projection/experimental/lazy-projections/bonne.cjs +79 -0
  1553. package/dist/projection/experimental/lazy-projections/bonne.cjs.map +6 -0
  1554. package/dist/projection/experimental/lazy-projections/bonne.d.ts +3 -0
  1555. package/dist/projection/experimental/lazy-projections/bonne.d.ts.map +1 -0
  1556. package/dist/projection/experimental/lazy-projections/bonne.js +7 -0
  1557. package/dist/projection/experimental/lazy-projections/bonne.js.map +1 -0
  1558. package/dist/projection/experimental/lazy-projections/cass.cjs +79 -0
  1559. package/dist/projection/experimental/lazy-projections/cass.cjs.map +6 -0
  1560. package/dist/projection/experimental/lazy-projections/cass.d.ts +3 -0
  1561. package/dist/projection/experimental/lazy-projections/cass.d.ts.map +1 -0
  1562. package/dist/projection/experimental/lazy-projections/cass.js +7 -0
  1563. package/dist/projection/experimental/lazy-projections/cass.js.map +1 -0
  1564. package/dist/projection/experimental/lazy-projections/cea.cjs +79 -0
  1565. package/dist/projection/experimental/lazy-projections/cea.cjs.map +6 -0
  1566. package/dist/projection/experimental/lazy-projections/cea.d.ts +3 -0
  1567. package/dist/projection/experimental/lazy-projections/cea.d.ts.map +1 -0
  1568. package/dist/projection/experimental/lazy-projections/cea.js +8 -0
  1569. package/dist/projection/experimental/lazy-projections/cea.js.map +1 -0
  1570. package/dist/projection/experimental/lazy-projections/eck6.cjs +79 -0
  1571. package/dist/projection/experimental/lazy-projections/eck6.cjs.map +6 -0
  1572. package/dist/projection/experimental/lazy-projections/eck6.d.ts +3 -0
  1573. package/dist/projection/experimental/lazy-projections/eck6.d.ts.map +1 -0
  1574. package/dist/projection/experimental/lazy-projections/eck6.js +7 -0
  1575. package/dist/projection/experimental/lazy-projections/eck6.js.map +1 -0
  1576. package/dist/projection/experimental/lazy-projections/eqc.cjs +82 -0
  1577. package/dist/projection/experimental/lazy-projections/eqc.cjs.map +6 -0
  1578. package/dist/projection/experimental/lazy-projections/eqc.d.ts +3 -0
  1579. package/dist/projection/experimental/lazy-projections/eqc.d.ts.map +1 -0
  1580. package/dist/projection/experimental/lazy-projections/eqc.js +11 -0
  1581. package/dist/projection/experimental/lazy-projections/eqc.js.map +1 -0
  1582. package/dist/projection/experimental/lazy-projections/eqdc.cjs +79 -0
  1583. package/dist/projection/experimental/lazy-projections/eqdc.cjs.map +6 -0
  1584. package/dist/projection/experimental/lazy-projections/eqdc.d.ts +3 -0
  1585. package/dist/projection/experimental/lazy-projections/eqdc.d.ts.map +1 -0
  1586. package/dist/projection/experimental/lazy-projections/eqdc.js +8 -0
  1587. package/dist/projection/experimental/lazy-projections/eqdc.js.map +1 -0
  1588. package/dist/projection/experimental/lazy-projections/eqearth.cjs +79 -0
  1589. package/dist/projection/experimental/lazy-projections/eqearth.cjs.map +6 -0
  1590. package/dist/projection/experimental/lazy-projections/eqearth.d.ts +3 -0
  1591. package/dist/projection/experimental/lazy-projections/eqearth.d.ts.map +1 -0
  1592. package/dist/projection/experimental/lazy-projections/eqearth.js +7 -0
  1593. package/dist/projection/experimental/lazy-projections/eqearth.js.map +1 -0
  1594. package/dist/projection/experimental/lazy-projections/equi.cjs +79 -0
  1595. package/dist/projection/experimental/lazy-projections/equi.cjs.map +6 -0
  1596. package/dist/projection/experimental/lazy-projections/equi.d.ts +3 -0
  1597. package/dist/projection/experimental/lazy-projections/equi.d.ts.map +1 -0
  1598. package/dist/projection/experimental/lazy-projections/equi.js +7 -0
  1599. package/dist/projection/experimental/lazy-projections/equi.js.map +1 -0
  1600. package/dist/projection/experimental/lazy-projections/etmerc.cjs +79 -0
  1601. package/dist/projection/experimental/lazy-projections/etmerc.cjs.map +6 -0
  1602. package/dist/projection/experimental/lazy-projections/etmerc.d.ts +3 -0
  1603. package/dist/projection/experimental/lazy-projections/etmerc.d.ts.map +1 -0
  1604. package/dist/projection/experimental/lazy-projections/etmerc.js +8 -0
  1605. package/dist/projection/experimental/lazy-projections/etmerc.js.map +1 -0
  1606. package/dist/projection/experimental/lazy-projections/geocent.cjs +79 -0
  1607. package/dist/projection/experimental/lazy-projections/geocent.cjs.map +6 -0
  1608. package/dist/projection/experimental/lazy-projections/geocent.d.ts +3 -0
  1609. package/dist/projection/experimental/lazy-projections/geocent.d.ts.map +1 -0
  1610. package/dist/projection/experimental/lazy-projections/geocent.js +7 -0
  1611. package/dist/projection/experimental/lazy-projections/geocent.js.map +1 -0
  1612. package/dist/projection/experimental/lazy-projections/geos.cjs +79 -0
  1613. package/dist/projection/experimental/lazy-projections/geos.cjs.map +6 -0
  1614. package/dist/projection/experimental/lazy-projections/geos.d.ts +3 -0
  1615. package/dist/projection/experimental/lazy-projections/geos.d.ts.map +1 -0
  1616. package/dist/projection/experimental/lazy-projections/geos.js +7 -0
  1617. package/dist/projection/experimental/lazy-projections/geos.js.map +1 -0
  1618. package/dist/projection/experimental/lazy-projections/gnom.cjs +79 -0
  1619. package/dist/projection/experimental/lazy-projections/gnom.cjs.map +6 -0
  1620. package/dist/projection/experimental/lazy-projections/gnom.d.ts +3 -0
  1621. package/dist/projection/experimental/lazy-projections/gnom.d.ts.map +1 -0
  1622. package/dist/projection/experimental/lazy-projections/gnom.js +7 -0
  1623. package/dist/projection/experimental/lazy-projections/gnom.js.map +1 -0
  1624. package/dist/projection/experimental/lazy-projections/gstmerc.cjs +79 -0
  1625. package/dist/projection/experimental/lazy-projections/gstmerc.cjs.map +6 -0
  1626. package/dist/projection/experimental/lazy-projections/gstmerc.d.ts +3 -0
  1627. package/dist/projection/experimental/lazy-projections/gstmerc.d.ts.map +1 -0
  1628. package/dist/projection/experimental/lazy-projections/gstmerc.js +9 -0
  1629. package/dist/projection/experimental/lazy-projections/gstmerc.js.map +1 -0
  1630. package/dist/projection/experimental/lazy-projections/index.cjs +2499 -0
  1631. package/dist/projection/experimental/lazy-projections/index.cjs.map +6 -0
  1632. package/dist/projection/experimental/lazy-projections/index.d.ts +38 -0
  1633. package/dist/projection/experimental/lazy-projections/index.d.ts.map +1 -0
  1634. package/dist/projection/experimental/lazy-projections/index.js +41 -0
  1635. package/dist/projection/experimental/lazy-projections/index.js.map +1 -0
  1636. package/dist/projection/experimental/lazy-projections/krovak.cjs +87 -0
  1637. package/dist/projection/experimental/lazy-projections/krovak.cjs.map +6 -0
  1638. package/dist/projection/experimental/lazy-projections/krovak.d.ts +3 -0
  1639. package/dist/projection/experimental/lazy-projections/krovak.d.ts.map +1 -0
  1640. package/dist/projection/experimental/lazy-projections/krovak.js +15 -0
  1641. package/dist/projection/experimental/lazy-projections/krovak.js.map +1 -0
  1642. package/dist/projection/experimental/lazy-projections/laea.cjs +79 -0
  1643. package/dist/projection/experimental/lazy-projections/laea.cjs.map +6 -0
  1644. package/dist/projection/experimental/lazy-projections/laea.d.ts +3 -0
  1645. package/dist/projection/experimental/lazy-projections/laea.d.ts.map +1 -0
  1646. package/dist/projection/experimental/lazy-projections/laea.js +8 -0
  1647. package/dist/projection/experimental/lazy-projections/laea.js.map +1 -0
  1648. package/dist/projection/experimental/lazy-projections/lcc.cjs +89 -0
  1649. package/dist/projection/experimental/lazy-projections/lcc.cjs.map +6 -0
  1650. package/dist/projection/experimental/lazy-projections/lcc.d.ts +3 -0
  1651. package/dist/projection/experimental/lazy-projections/lcc.d.ts.map +1 -0
  1652. package/dist/projection/experimental/lazy-projections/lcc.js +18 -0
  1653. package/dist/projection/experimental/lazy-projections/lcc.js.map +1 -0
  1654. package/dist/projection/experimental/lazy-projections/merc.cjs +88 -0
  1655. package/dist/projection/experimental/lazy-projections/merc.cjs.map +6 -0
  1656. package/dist/projection/experimental/lazy-projections/merc.d.ts +3 -0
  1657. package/dist/projection/experimental/lazy-projections/merc.d.ts.map +1 -0
  1658. package/dist/projection/experimental/lazy-projections/merc.js +16 -0
  1659. package/dist/projection/experimental/lazy-projections/merc.js.map +1 -0
  1660. package/dist/projection/experimental/lazy-projections/mill.cjs +79 -0
  1661. package/dist/projection/experimental/lazy-projections/mill.cjs.map +6 -0
  1662. package/dist/projection/experimental/lazy-projections/mill.d.ts +3 -0
  1663. package/dist/projection/experimental/lazy-projections/mill.d.ts.map +1 -0
  1664. package/dist/projection/experimental/lazy-projections/mill.js +8 -0
  1665. package/dist/projection/experimental/lazy-projections/mill.js.map +1 -0
  1666. package/dist/projection/experimental/lazy-projections/moll.cjs +79 -0
  1667. package/dist/projection/experimental/lazy-projections/moll.cjs.map +6 -0
  1668. package/dist/projection/experimental/lazy-projections/moll.d.ts +3 -0
  1669. package/dist/projection/experimental/lazy-projections/moll.d.ts.map +1 -0
  1670. package/dist/projection/experimental/lazy-projections/moll.js +7 -0
  1671. package/dist/projection/experimental/lazy-projections/moll.js.map +1 -0
  1672. package/dist/projection/experimental/lazy-projections/nzmg.cjs +79 -0
  1673. package/dist/projection/experimental/lazy-projections/nzmg.cjs.map +6 -0
  1674. package/dist/projection/experimental/lazy-projections/nzmg.d.ts +3 -0
  1675. package/dist/projection/experimental/lazy-projections/nzmg.d.ts.map +1 -0
  1676. package/dist/projection/experimental/lazy-projections/nzmg.js +8 -0
  1677. package/dist/projection/experimental/lazy-projections/nzmg.js.map +1 -0
  1678. package/dist/projection/experimental/lazy-projections/ob_tran.cjs +90 -0
  1679. package/dist/projection/experimental/lazy-projections/ob_tran.cjs.map +6 -0
  1680. package/dist/projection/experimental/lazy-projections/ob_tran.d.ts +5 -0
  1681. package/dist/projection/experimental/lazy-projections/ob_tran.d.ts.map +1 -0
  1682. package/dist/projection/experimental/lazy-projections/ob_tran.js +18 -0
  1683. package/dist/projection/experimental/lazy-projections/ob_tran.js.map +1 -0
  1684. package/dist/projection/experimental/lazy-projections/omerc.cjs +91 -0
  1685. package/dist/projection/experimental/lazy-projections/omerc.cjs.map +6 -0
  1686. package/dist/projection/experimental/lazy-projections/omerc.d.ts +3 -0
  1687. package/dist/projection/experimental/lazy-projections/omerc.d.ts.map +1 -0
  1688. package/dist/projection/experimental/lazy-projections/omerc.js +19 -0
  1689. package/dist/projection/experimental/lazy-projections/omerc.js.map +1 -0
  1690. package/dist/projection/experimental/lazy-projections/ortho.cjs +79 -0
  1691. package/dist/projection/experimental/lazy-projections/ortho.cjs.map +6 -0
  1692. package/dist/projection/experimental/lazy-projections/ortho.d.ts +3 -0
  1693. package/dist/projection/experimental/lazy-projections/ortho.d.ts.map +1 -0
  1694. package/dist/projection/experimental/lazy-projections/ortho.js +7 -0
  1695. package/dist/projection/experimental/lazy-projections/ortho.js.map +1 -0
  1696. package/dist/projection/experimental/lazy-projections/poly.cjs +79 -0
  1697. package/dist/projection/experimental/lazy-projections/poly.cjs.map +6 -0
  1698. package/dist/projection/experimental/lazy-projections/poly.d.ts +3 -0
  1699. package/dist/projection/experimental/lazy-projections/poly.d.ts.map +1 -0
  1700. package/dist/projection/experimental/lazy-projections/poly.js +7 -0
  1701. package/dist/projection/experimental/lazy-projections/poly.js.map +1 -0
  1702. package/dist/projection/experimental/lazy-projections/qsc.cjs +82 -0
  1703. package/dist/projection/experimental/lazy-projections/qsc.cjs.map +6 -0
  1704. package/dist/projection/experimental/lazy-projections/qsc.d.ts +3 -0
  1705. package/dist/projection/experimental/lazy-projections/qsc.d.ts.map +1 -0
  1706. package/dist/projection/experimental/lazy-projections/qsc.js +12 -0
  1707. package/dist/projection/experimental/lazy-projections/qsc.js.map +1 -0
  1708. package/dist/projection/experimental/lazy-projections/robin.cjs +79 -0
  1709. package/dist/projection/experimental/lazy-projections/robin.cjs.map +6 -0
  1710. package/dist/projection/experimental/lazy-projections/robin.d.ts +3 -0
  1711. package/dist/projection/experimental/lazy-projections/robin.d.ts.map +1 -0
  1712. package/dist/projection/experimental/lazy-projections/robin.js +7 -0
  1713. package/dist/projection/experimental/lazy-projections/robin.js.map +1 -0
  1714. package/dist/projection/experimental/lazy-projections/sinu.cjs +79 -0
  1715. package/dist/projection/experimental/lazy-projections/sinu.cjs.map +6 -0
  1716. package/dist/projection/experimental/lazy-projections/sinu.d.ts +3 -0
  1717. package/dist/projection/experimental/lazy-projections/sinu.d.ts.map +1 -0
  1718. package/dist/projection/experimental/lazy-projections/sinu.js +7 -0
  1719. package/dist/projection/experimental/lazy-projections/sinu.js.map +1 -0
  1720. package/dist/projection/experimental/lazy-projections/somerc.cjs +79 -0
  1721. package/dist/projection/experimental/lazy-projections/somerc.cjs.map +6 -0
  1722. package/dist/projection/experimental/lazy-projections/somerc.d.ts +3 -0
  1723. package/dist/projection/experimental/lazy-projections/somerc.d.ts.map +1 -0
  1724. package/dist/projection/experimental/lazy-projections/somerc.js +8 -0
  1725. package/dist/projection/experimental/lazy-projections/somerc.js.map +1 -0
  1726. package/dist/projection/experimental/lazy-projections/stere.cjs +87 -0
  1727. package/dist/projection/experimental/lazy-projections/stere.cjs.map +6 -0
  1728. package/dist/projection/experimental/lazy-projections/stere.d.ts +3 -0
  1729. package/dist/projection/experimental/lazy-projections/stere.d.ts.map +1 -0
  1730. package/dist/projection/experimental/lazy-projections/stere.js +15 -0
  1731. package/dist/projection/experimental/lazy-projections/stere.js.map +1 -0
  1732. package/dist/projection/experimental/lazy-projections/sterea.cjs +87 -0
  1733. package/dist/projection/experimental/lazy-projections/sterea.cjs.map +6 -0
  1734. package/dist/projection/experimental/lazy-projections/sterea.d.ts +3 -0
  1735. package/dist/projection/experimental/lazy-projections/sterea.d.ts.map +1 -0
  1736. package/dist/projection/experimental/lazy-projections/sterea.js +16 -0
  1737. package/dist/projection/experimental/lazy-projections/sterea.js.map +1 -0
  1738. package/dist/projection/experimental/lazy-projections/tmerc.cjs +89 -0
  1739. package/dist/projection/experimental/lazy-projections/tmerc.cjs.map +6 -0
  1740. package/dist/projection/experimental/lazy-projections/tmerc.d.ts +3 -0
  1741. package/dist/projection/experimental/lazy-projections/tmerc.d.ts.map +1 -0
  1742. package/dist/projection/experimental/lazy-projections/tmerc.js +18 -0
  1743. package/dist/projection/experimental/lazy-projections/tmerc.js.map +1 -0
  1744. package/dist/projection/experimental/lazy-projections/tpers.cjs +79 -0
  1745. package/dist/projection/experimental/lazy-projections/tpers.cjs.map +6 -0
  1746. package/dist/projection/experimental/lazy-projections/tpers.d.ts +3 -0
  1747. package/dist/projection/experimental/lazy-projections/tpers.d.ts.map +1 -0
  1748. package/dist/projection/experimental/lazy-projections/tpers.js +8 -0
  1749. package/dist/projection/experimental/lazy-projections/tpers.js.map +1 -0
  1750. package/dist/projection/experimental/lazy-projections/utm.cjs +79 -0
  1751. package/dist/projection/experimental/lazy-projections/utm.cjs.map +6 -0
  1752. package/dist/projection/experimental/lazy-projections/utm.d.ts +3 -0
  1753. package/dist/projection/experimental/lazy-projections/utm.d.ts.map +1 -0
  1754. package/dist/projection/experimental/lazy-projections/utm.js +8 -0
  1755. package/dist/projection/experimental/lazy-projections/utm.js.map +1 -0
  1756. package/dist/projection/experimental/lazy-projections/vandg.cjs +79 -0
  1757. package/dist/projection/experimental/lazy-projections/vandg.cjs.map +6 -0
  1758. package/dist/projection/experimental/lazy-projections/vandg.d.ts +3 -0
  1759. package/dist/projection/experimental/lazy-projections/vandg.d.ts.map +1 -0
  1760. package/dist/projection/experimental/lazy-projections/vandg.js +7 -0
  1761. package/dist/projection/experimental/lazy-projections/vandg.js.map +1 -0
  1762. package/dist/projection/experimental/mutable-projection.d.ts +6 -0
  1763. package/dist/projection/experimental/mutable-projection.d.ts.map +1 -0
  1764. package/dist/projection/experimental/mutable-projection.js +53 -0
  1765. package/dist/projection/experimental/mutable-projection.js.map +1 -0
  1766. package/dist/projection/experimental/numeric-flat.d.ts +8 -0
  1767. package/dist/projection/experimental/numeric-flat.d.ts.map +1 -0
  1768. package/dist/projection/experimental/numeric-flat.js +54 -0
  1769. package/dist/projection/experimental/numeric-flat.js.map +1 -0
  1770. package/dist/projection/experimental/parameters.d.ts +8 -0
  1771. package/dist/projection/experimental/parameters.d.ts.map +1 -0
  1772. package/dist/projection/experimental/parameters.js +31 -0
  1773. package/dist/projection/experimental/parameters.js.map +1 -0
  1774. package/dist/projection/experimental/projection-descriptor.d.ts +13 -0
  1775. package/dist/projection/experimental/projection-descriptor.d.ts.map +1 -0
  1776. package/dist/projection/experimental/projection-descriptor.js +52 -0
  1777. package/dist/projection/experimental/projection-descriptor.js.map +1 -0
  1778. package/dist/projection/experimental/projection-engine.d.ts +23 -0
  1779. package/dist/projection/experimental/projection-engine.d.ts.map +1 -0
  1780. package/dist/projection/experimental/projection-engine.js +33 -0
  1781. package/dist/projection/experimental/projection-engine.js.map +1 -0
  1782. package/dist/projection/experimental/projection-pipeline.d.ts +142 -0
  1783. package/dist/projection/experimental/projection-pipeline.d.ts.map +1 -0
  1784. package/dist/projection/experimental/projection-pipeline.js +740 -0
  1785. package/dist/projection/experimental/projection-pipeline.js.map +1 -0
  1786. package/dist/projection/experimental/projection-scratch.d.ts +11 -0
  1787. package/dist/projection/experimental/projection-scratch.d.ts.map +1 -0
  1788. package/dist/projection/experimental/projection-scratch.js +25 -0
  1789. package/dist/projection/experimental/projection-scratch.js.map +1 -0
  1790. package/dist/projection/experimental/projections/aea.d.ts +3 -0
  1791. package/dist/projection/experimental/projections/aea.d.ts.map +1 -0
  1792. package/dist/projection/experimental/projections/aea.js +24 -0
  1793. package/dist/projection/experimental/projections/aea.js.map +1 -0
  1794. package/dist/projection/experimental/projections/aeqd.d.ts +3 -0
  1795. package/dist/projection/experimental/projections/aeqd.d.ts.map +1 -0
  1796. package/dist/projection/experimental/projections/aeqd.js +19 -0
  1797. package/dist/projection/experimental/projections/aeqd.js.map +1 -0
  1798. package/dist/projection/experimental/projections/bonne.d.ts +3 -0
  1799. package/dist/projection/experimental/projections/bonne.d.ts.map +1 -0
  1800. package/dist/projection/experimental/projections/bonne.js +25 -0
  1801. package/dist/projection/experimental/projections/bonne.js.map +1 -0
  1802. package/dist/projection/experimental/projections/cass.d.ts +3 -0
  1803. package/dist/projection/experimental/projections/cass.d.ts.map +1 -0
  1804. package/dist/projection/experimental/projections/cass.js +22 -0
  1805. package/dist/projection/experimental/projections/cass.js.map +1 -0
  1806. package/dist/projection/experimental/projections/cea.d.ts +3 -0
  1807. package/dist/projection/experimental/projections/cea.d.ts.map +1 -0
  1808. package/dist/projection/experimental/projections/cea.js +24 -0
  1809. package/dist/projection/experimental/projections/cea.js.map +1 -0
  1810. package/dist/projection/experimental/projections/eck6.d.ts +3 -0
  1811. package/dist/projection/experimental/projections/eck6.d.ts.map +1 -0
  1812. package/dist/projection/experimental/projections/eck6.js +22 -0
  1813. package/dist/projection/experimental/projections/eck6.js.map +1 -0
  1814. package/dist/projection/experimental/projections/eqdc.d.ts +3 -0
  1815. package/dist/projection/experimental/projections/eqdc.d.ts.map +1 -0
  1816. package/dist/projection/experimental/projections/eqdc.js +23 -0
  1817. package/dist/projection/experimental/projections/eqdc.js.map +1 -0
  1818. package/dist/projection/experimental/projections/eqearth.d.ts +3 -0
  1819. package/dist/projection/experimental/projections/eqearth.d.ts.map +1 -0
  1820. package/dist/projection/experimental/projections/eqearth.js +47 -0
  1821. package/dist/projection/experimental/projections/eqearth.js.map +1 -0
  1822. package/dist/projection/experimental/projections/equi.d.ts +3 -0
  1823. package/dist/projection/experimental/projections/equi.d.ts.map +1 -0
  1824. package/dist/projection/experimental/projections/equi.js +24 -0
  1825. package/dist/projection/experimental/projections/equi.js.map +1 -0
  1826. package/dist/projection/experimental/projections/equidistant-cylindrical.d.ts +4 -0
  1827. package/dist/projection/experimental/projections/equidistant-cylindrical.d.ts.map +1 -0
  1828. package/dist/projection/experimental/projections/equidistant-cylindrical.js +48 -0
  1829. package/dist/projection/experimental/projections/equidistant-cylindrical.js.map +1 -0
  1830. package/dist/projection/experimental/projections/geocentric.d.ts +3 -0
  1831. package/dist/projection/experimental/projections/geocentric.d.ts.map +1 -0
  1832. package/dist/projection/experimental/projections/geocentric.js +34 -0
  1833. package/dist/projection/experimental/projections/geocentric.js.map +1 -0
  1834. package/dist/projection/experimental/projections/geos.d.ts +3 -0
  1835. package/dist/projection/experimental/projections/geos.d.ts.map +1 -0
  1836. package/dist/projection/experimental/projections/geos.js +30 -0
  1837. package/dist/projection/experimental/projections/geos.js.map +1 -0
  1838. package/dist/projection/experimental/projections/gnom.d.ts +3 -0
  1839. package/dist/projection/experimental/projections/gnom.d.ts.map +1 -0
  1840. package/dist/projection/experimental/projections/gnom.js +22 -0
  1841. package/dist/projection/experimental/projections/gnom.js.map +1 -0
  1842. package/dist/projection/experimental/projections/gstmerc.d.ts +3 -0
  1843. package/dist/projection/experimental/projections/gstmerc.d.ts.map +1 -0
  1844. package/dist/projection/experimental/projections/gstmerc.js +23 -0
  1845. package/dist/projection/experimental/projections/gstmerc.js.map +1 -0
  1846. package/dist/projection/experimental/projections/krovak.d.ts +3 -0
  1847. package/dist/projection/experimental/projections/krovak.d.ts.map +1 -0
  1848. package/dist/projection/experimental/projections/krovak.js +41 -0
  1849. package/dist/projection/experimental/projections/krovak.js.map +1 -0
  1850. package/dist/projection/experimental/projections/laea.d.ts +3 -0
  1851. package/dist/projection/experimental/projections/laea.d.ts.map +1 -0
  1852. package/dist/projection/experimental/projections/laea.js +22 -0
  1853. package/dist/projection/experimental/projections/laea.js.map +1 -0
  1854. package/dist/projection/experimental/projections/lcc.d.ts +3 -0
  1855. package/dist/projection/experimental/projections/lcc.d.ts.map +1 -0
  1856. package/dist/projection/experimental/projections/lcc.js +39 -0
  1857. package/dist/projection/experimental/projections/lcc.js.map +1 -0
  1858. package/dist/projection/experimental/projections/mercator.d.ts +4 -0
  1859. package/dist/projection/experimental/projections/mercator.d.ts.map +1 -0
  1860. package/dist/projection/experimental/projections/mercator.js +107 -0
  1861. package/dist/projection/experimental/projections/mercator.js.map +1 -0
  1862. package/dist/projection/experimental/projections/mill.d.ts +3 -0
  1863. package/dist/projection/experimental/projections/mill.d.ts.map +1 -0
  1864. package/dist/projection/experimental/projections/mill.js +22 -0
  1865. package/dist/projection/experimental/projections/mill.js.map +1 -0
  1866. package/dist/projection/experimental/projections/moll.d.ts +3 -0
  1867. package/dist/projection/experimental/projections/moll.d.ts.map +1 -0
  1868. package/dist/projection/experimental/projections/moll.js +22 -0
  1869. package/dist/projection/experimental/projections/moll.js.map +1 -0
  1870. package/dist/projection/experimental/projections/nzmg.d.ts +3 -0
  1871. package/dist/projection/experimental/projections/nzmg.d.ts.map +1 -0
  1872. package/dist/projection/experimental/projections/nzmg.js +29 -0
  1873. package/dist/projection/experimental/projections/nzmg.js.map +1 -0
  1874. package/dist/projection/experimental/projections/ob-tran.d.ts +4 -0
  1875. package/dist/projection/experimental/projections/ob-tran.d.ts.map +1 -0
  1876. package/dist/projection/experimental/projections/ob-tran.js +194 -0
  1877. package/dist/projection/experimental/projections/ob-tran.js.map +1 -0
  1878. package/dist/projection/experimental/projections/omerc.d.ts +3 -0
  1879. package/dist/projection/experimental/projections/omerc.d.ts.map +1 -0
  1880. package/dist/projection/experimental/projections/omerc.js +69 -0
  1881. package/dist/projection/experimental/projections/omerc.js.map +1 -0
  1882. package/dist/projection/experimental/projections/ortho.d.ts +3 -0
  1883. package/dist/projection/experimental/projections/ortho.d.ts.map +1 -0
  1884. package/dist/projection/experimental/projections/ortho.js +20 -0
  1885. package/dist/projection/experimental/projections/ortho.js.map +1 -0
  1886. package/dist/projection/experimental/projections/poly.d.ts +3 -0
  1887. package/dist/projection/experimental/projections/poly.d.ts.map +1 -0
  1888. package/dist/projection/experimental/projections/poly.js +22 -0
  1889. package/dist/projection/experimental/projections/poly.js.map +1 -0
  1890. package/dist/projection/experimental/projections/qsc.d.ts +3 -0
  1891. package/dist/projection/experimental/projections/qsc.d.ts.map +1 -0
  1892. package/dist/projection/experimental/projections/qsc.js +64 -0
  1893. package/dist/projection/experimental/projections/qsc.js.map +1 -0
  1894. package/dist/projection/experimental/projections/robin.d.ts +3 -0
  1895. package/dist/projection/experimental/projections/robin.d.ts.map +1 -0
  1896. package/dist/projection/experimental/projections/robin.js +22 -0
  1897. package/dist/projection/experimental/projections/robin.js.map +1 -0
  1898. package/dist/projection/experimental/projections/sinu.d.ts +3 -0
  1899. package/dist/projection/experimental/projections/sinu.d.ts.map +1 -0
  1900. package/dist/projection/experimental/projections/sinu.js +22 -0
  1901. package/dist/projection/experimental/projections/sinu.js.map +1 -0
  1902. package/dist/projection/experimental/projections/somerc.d.ts +3 -0
  1903. package/dist/projection/experimental/projections/somerc.d.ts.map +1 -0
  1904. package/dist/projection/experimental/projections/somerc.js +22 -0
  1905. package/dist/projection/experimental/projections/somerc.js.map +1 -0
  1906. package/dist/projection/experimental/projections/stere.d.ts +3 -0
  1907. package/dist/projection/experimental/projections/stere.d.ts.map +1 -0
  1908. package/dist/projection/experimental/projections/stere.js +32 -0
  1909. package/dist/projection/experimental/projections/stere.js.map +1 -0
  1910. package/dist/projection/experimental/projections/sterea.d.ts +3 -0
  1911. package/dist/projection/experimental/projections/sterea.d.ts.map +1 -0
  1912. package/dist/projection/experimental/projections/sterea.js +32 -0
  1913. package/dist/projection/experimental/projections/sterea.js.map +1 -0
  1914. package/dist/projection/experimental/projections/tpers.d.ts +3 -0
  1915. package/dist/projection/experimental/projections/tpers.d.ts.map +1 -0
  1916. package/dist/projection/experimental/projections/tpers.js +31 -0
  1917. package/dist/projection/experimental/projections/tpers.js.map +1 -0
  1918. package/dist/projection/experimental/projections/transverse-mercator.d.ts +6 -0
  1919. package/dist/projection/experimental/projections/transverse-mercator.d.ts.map +1 -0
  1920. package/dist/projection/experimental/projections/transverse-mercator.js +48 -0
  1921. package/dist/projection/experimental/projections/transverse-mercator.js.map +1 -0
  1922. package/dist/projection/experimental/projections/utm.d.ts +3 -0
  1923. package/dist/projection/experimental/projections/utm.d.ts.map +1 -0
  1924. package/dist/projection/experimental/projections/utm.js +37 -0
  1925. package/dist/projection/experimental/projections/utm.js.map +1 -0
  1926. package/dist/projection/experimental/projections/vandg.d.ts +3 -0
  1927. package/dist/projection/experimental/projections/vandg.d.ts.map +1 -0
  1928. package/dist/projection/experimental/projections/vandg.js +22 -0
  1929. package/dist/projection/experimental/projections/vandg.js.map +1 -0
  1930. package/dist/projection/experimental/rendering-profile/angular-rendering-profile.d.ts +9 -0
  1931. package/dist/projection/experimental/rendering-profile/angular-rendering-profile.d.ts.map +1 -0
  1932. package/dist/projection/experimental/rendering-profile/angular-rendering-profile.js +79 -0
  1933. package/dist/projection/experimental/rendering-profile/angular-rendering-profile.js.map +1 -0
  1934. package/dist/projection/experimental/rendering-profile/azimuthal-rendering-bounds.d.ts +23 -0
  1935. package/dist/projection/experimental/rendering-profile/azimuthal-rendering-bounds.d.ts.map +1 -0
  1936. package/dist/projection/experimental/rendering-profile/azimuthal-rendering-bounds.js +131 -0
  1937. package/dist/projection/experimental/rendering-profile/azimuthal-rendering-bounds.js.map +1 -0
  1938. package/dist/projection/experimental/rendering-profile/geographic-bounds.d.ts +29 -0
  1939. package/dist/projection/experimental/rendering-profile/geographic-bounds.d.ts.map +1 -0
  1940. package/dist/projection/experimental/rendering-profile/geographic-bounds.js +127 -0
  1941. package/dist/projection/experimental/rendering-profile/geographic-bounds.js.map +1 -0
  1942. package/dist/projection/experimental/rendering-profile/geographic-rendering-profile.d.ts +4 -0
  1943. package/dist/projection/experimental/rendering-profile/geographic-rendering-profile.d.ts.map +1 -0
  1944. package/dist/projection/experimental/rendering-profile/geographic-rendering-profile.js +18 -0
  1945. package/dist/projection/experimental/rendering-profile/geographic-rendering-profile.js.map +1 -0
  1946. package/dist/projection/experimental/rendering-profile/geostationary-rendering-profile.d.ts +7 -0
  1947. package/dist/projection/experimental/rendering-profile/geostationary-rendering-profile.d.ts.map +1 -0
  1948. package/dist/projection/experimental/rendering-profile/geostationary-rendering-profile.js +86 -0
  1949. package/dist/projection/experimental/rendering-profile/geostationary-rendering-profile.js.map +1 -0
  1950. package/dist/projection/experimental/rendering-profile/identity-rendering-profile.d.ts +4 -0
  1951. package/dist/projection/experimental/rendering-profile/identity-rendering-profile.d.ts.map +1 -0
  1952. package/dist/projection/experimental/rendering-profile/identity-rendering-profile.js +13 -0
  1953. package/dist/projection/experimental/rendering-profile/identity-rendering-profile.js.map +1 -0
  1954. package/dist/projection/experimental/rendering-profile/rectangular-rendering-profile.d.ts +13 -0
  1955. package/dist/projection/experimental/rendering-profile/rectangular-rendering-profile.d.ts.map +1 -0
  1956. package/dist/projection/experimental/rendering-profile/rectangular-rendering-profile.js +76 -0
  1957. package/dist/projection/experimental/rendering-profile/rectangular-rendering-profile.js.map +1 -0
  1958. package/dist/projection/experimental/rendering-profile/regional-rendering-bounds.d.ts +29 -0
  1959. package/dist/projection/experimental/rendering-profile/regional-rendering-bounds.d.ts.map +1 -0
  1960. package/dist/projection/experimental/rendering-profile/regional-rendering-bounds.js +143 -0
  1961. package/dist/projection/experimental/rendering-profile/regional-rendering-bounds.js.map +1 -0
  1962. package/dist/projection/experimental/rendering-profile/rendering-bounds.d.ts +28 -0
  1963. package/dist/projection/experimental/rendering-profile/rendering-bounds.d.ts.map +1 -0
  1964. package/dist/projection/experimental/rendering-profile/rendering-bounds.js +111 -0
  1965. package/dist/projection/experimental/rendering-profile/rendering-bounds.js.map +1 -0
  1966. package/dist/projection/experimental/rendering-profile/rendering-profile.d.ts +11 -0
  1967. package/dist/projection/experimental/rendering-profile/rendering-profile.d.ts.map +1 -0
  1968. package/dist/projection/experimental/rendering-profile/rendering-profile.js +81 -0
  1969. package/dist/projection/experimental/rendering-profile/rendering-profile.js.map +1 -0
  1970. package/dist/projection/experimental/rendering-profile/spherical-rendering-domain.d.ts +24 -0
  1971. package/dist/projection/experimental/rendering-profile/spherical-rendering-domain.d.ts.map +1 -0
  1972. package/dist/projection/experimental/rendering-profile/spherical-rendering-domain.js +129 -0
  1973. package/dist/projection/experimental/rendering-profile/spherical-rendering-domain.js.map +1 -0
  1974. package/dist/projection/experimental/scalar-output.d.ts +8 -0
  1975. package/dist/projection/experimental/scalar-output.d.ts.map +1 -0
  1976. package/dist/projection/experimental/scalar-output.js +46 -0
  1977. package/dist/projection/experimental/scalar-output.js.map +1 -0
  1978. package/dist/projection/experimental/spatial-deformation.d.ts +6 -0
  1979. package/dist/projection/experimental/spatial-deformation.d.ts.map +1 -0
  1980. package/dist/projection/experimental/spatial-deformation.js +85 -0
  1981. package/dist/projection/experimental/spatial-deformation.js.map +1 -0
  1982. package/dist/projection/experimental/transform-description.d.ts +8 -0
  1983. package/dist/projection/experimental/transform-description.d.ts.map +1 -0
  1984. package/dist/projection/experimental/transform-description.js +57 -0
  1985. package/dist/projection/experimental/transform-description.js.map +1 -0
  1986. package/dist/projection/experimental/types.d.ts +103 -0
  1987. package/dist/projection/experimental/types.d.ts.map +1 -0
  1988. package/dist/projection/experimental/types.js +5 -0
  1989. package/dist/projection/experimental/types.js.map +1 -0
  1990. package/dist/projection/experimental/typescript-projection.d.ts +80 -0
  1991. package/dist/projection/experimental/typescript-projection.d.ts.map +1 -0
  1992. package/dist/projection/experimental/typescript-projection.js +508 -0
  1993. package/dist/projection/experimental/typescript-projection.js.map +1 -0
  1994. package/dist/projection/experimental/vertical-datum.d.ts +4 -0
  1995. package/dist/projection/experimental/vertical-datum.d.ts.map +1 -0
  1996. package/dist/projection/experimental/vertical-datum.js +43 -0
  1997. package/dist/projection/experimental/vertical-datum.js.map +1 -0
  1998. package/dist/projection/grids/velocity.cjs +92 -0
  1999. package/dist/projection/grids/velocity.cjs.map +6 -0
  2000. package/dist/projection/grids/velocity.d.ts +3 -0
  2001. package/dist/projection/grids/velocity.d.ts.map +1 -0
  2002. package/dist/projection/grids/velocity.js +5 -0
  2003. package/dist/projection/grids/velocity.js.map +1 -0
  2004. package/dist/projection/index.cjs +13164 -0
  2005. package/dist/projection/index.cjs.map +6 -0
  2006. package/dist/projection/index.d.ts +3 -0
  2007. package/dist/projection/index.d.ts.map +1 -0
  2008. package/dist/projection/index.js +6 -0
  2009. package/dist/projection/index.js.map +1 -0
  2010. package/dist/projection/lib/projection.d.ts +8 -0
  2011. package/dist/projection/lib/projection.d.ts.map +1 -0
  2012. package/dist/projection/lib/projection.js +115 -0
  2013. package/dist/projection/lib/projection.js.map +1 -0
  2014. package/dist/projection/numerical-derivative.d.ts +15 -0
  2015. package/dist/projection/numerical-derivative.d.ts.map +1 -0
  2016. package/dist/projection/numerical-derivative.js +47 -0
  2017. package/dist/projection/numerical-derivative.js.map +1 -0
  2018. package/dist/projection/operations.cjs +322 -0
  2019. package/dist/projection/operations.cjs.map +6 -0
  2020. package/dist/projection/operations.d.ts +89 -0
  2021. package/dist/projection/operations.d.ts.map +1 -0
  2022. package/dist/projection/operations.js +344 -0
  2023. package/dist/projection/operations.js.map +1 -0
  2024. package/dist/projection/pipeline.cjs +1965 -0
  2025. package/dist/projection/pipeline.cjs.map +6 -0
  2026. package/dist/projection/pipeline.d.ts +2 -0
  2027. package/dist/projection/pipeline.d.ts.map +1 -0
  2028. package/dist/projection/pipeline.js +5 -0
  2029. package/dist/projection/pipeline.js.map +1 -0
  2030. package/dist/projection/temporal.cjs +290 -0
  2031. package/dist/projection/temporal.cjs.map +6 -0
  2032. package/dist/projection/temporal.d.ts +31 -0
  2033. package/dist/projection/temporal.d.ts.map +1 -0
  2034. package/dist/projection/temporal.js +91 -0
  2035. package/dist/projection/temporal.js.map +1 -0
  2036. package/dist/projection/transform-analysis.cjs +1991 -0
  2037. package/dist/projection/transform-analysis.cjs.map +6 -0
  2038. package/dist/projection/transform-analysis.d.ts +43 -0
  2039. package/dist/projection/transform-analysis.d.ts.map +1 -0
  2040. package/dist/projection/transform-analysis.js +110 -0
  2041. package/dist/projection/transform-analysis.js.map +1 -0
  2042. package/dist/projection/transform-description.d.ts +44 -0
  2043. package/dist/projection/transform-description.d.ts.map +1 -0
  2044. package/dist/projection/transform-description.js +5 -0
  2045. package/dist/projection/transform-description.js.map +1 -0
  2046. package/dist/projection/types.cjs +18 -0
  2047. package/dist/projection/types.cjs.map +6 -0
  2048. package/dist/projection/types.d.ts +55 -0
  2049. package/dist/projection/types.d.ts.map +1 -0
  2050. package/dist/projection/types.js +5 -0
  2051. package/dist/projection/types.js.map +1 -0
  2052. package/dist/projection/web-mercator.cjs +171 -0
  2053. package/dist/projection/web-mercator.cjs.map +6 -0
  2054. package/dist/projection/web-mercator.d.ts +7 -0
  2055. package/dist/projection/web-mercator.d.ts.map +1 -0
  2056. package/dist/projection/web-mercator.js +113 -0
  2057. package/dist/projection/web-mercator.js.map +1 -0
  2058. package/dist/rhumb-path.d.ts +28 -0
  2059. package/dist/rhumb-path.d.ts.map +1 -0
  2060. package/dist/rhumb-path.js +100 -0
  2061. package/dist/rhumb-path.js.map +1 -0
  2062. package/dist/rhumb-polygon.d.ts +11 -0
  2063. package/dist/rhumb-polygon.d.ts.map +1 -0
  2064. package/dist/rhumb-polygon.js +19 -0
  2065. package/dist/rhumb-polygon.js.map +1 -0
  2066. package/dist/subdivide-geodesic-polyline.d.ts +15 -0
  2067. package/dist/subdivide-geodesic-polyline.d.ts.map +1 -0
  2068. package/dist/subdivide-geodesic-polyline.js +52 -0
  2069. package/dist/subdivide-geodesic-polyline.js.map +1 -0
  2070. package/dist/subdivide-globe-mesh.d.ts +20 -0
  2071. package/dist/subdivide-globe-mesh.d.ts.map +1 -0
  2072. package/dist/subdivide-globe-mesh.js +54 -0
  2073. package/dist/subdivide-globe-mesh.js.map +1 -0
  2074. package/dist/subdivide-rhumb-polyline.d.ts +12 -0
  2075. package/dist/subdivide-rhumb-polyline.d.ts.map +1 -0
  2076. package/dist/subdivide-rhumb-polyline.js +82 -0
  2077. package/dist/subdivide-rhumb-polyline.js.map +1 -0
  2078. package/dist/tasks/definitions.d.ts +90 -0
  2079. package/dist/tasks/definitions.d.ts.map +1 -0
  2080. package/dist/tasks/definitions.js +54 -0
  2081. package/dist/tasks/definitions.js.map +1 -0
  2082. package/dist/tasks/index.cjs +23439 -0
  2083. package/dist/tasks/index.cjs.map +6 -0
  2084. package/dist/tasks/index.d.ts +24 -0
  2085. package/dist/tasks/index.d.ts.map +1 -0
  2086. package/dist/tasks/index.js +56 -0
  2087. package/dist/tasks/index.js.map +1 -0
  2088. package/dist/tasks/map-worker.d.ts +2 -0
  2089. package/dist/tasks/map-worker.d.ts.map +1 -0
  2090. package/dist/tasks/map-worker.js +7 -0
  2091. package/dist/tasks/map-worker.js.map +1 -0
  2092. package/dist/tasks/operations.d.ts +17 -0
  2093. package/dist/tasks/operations.d.ts.map +1 -0
  2094. package/dist/tasks/operations.js +52 -0
  2095. package/dist/tasks/operations.js.map +1 -0
  2096. package/dist/tasks/projection-worker.d.ts +2 -0
  2097. package/dist/tasks/projection-worker.d.ts.map +1 -0
  2098. package/dist/tasks/projection-worker.js +7 -0
  2099. package/dist/tasks/projection-worker.js.map +1 -0
  2100. package/dist/tasks/terrain-coverage-worker.d.ts +2 -0
  2101. package/dist/tasks/terrain-coverage-worker.d.ts.map +1 -0
  2102. package/dist/tasks/terrain-coverage-worker.js +7 -0
  2103. package/dist/tasks/terrain-coverage-worker.js.map +1 -0
  2104. package/dist/tasks/terrain-coverage.d.ts +25 -0
  2105. package/dist/tasks/terrain-coverage.d.ts.map +1 -0
  2106. package/dist/tasks/terrain-coverage.js +15 -0
  2107. package/dist/tasks/terrain-coverage.js.map +1 -0
  2108. package/dist/tasks/terrain-residency-worker.d.ts +2 -0
  2109. package/dist/tasks/terrain-residency-worker.d.ts.map +1 -0
  2110. package/dist/tasks/terrain-residency-worker.js +7 -0
  2111. package/dist/tasks/terrain-residency-worker.js.map +1 -0
  2112. package/dist/tasks/terrain-residency.d.ts +73 -0
  2113. package/dist/tasks/terrain-residency.d.ts.map +1 -0
  2114. package/dist/tasks/terrain-residency.js +141 -0
  2115. package/dist/tasks/terrain-residency.js.map +1 -0
  2116. package/dist/terrain/adaptive-mesh-types.d.ts +21 -0
  2117. package/dist/terrain/adaptive-mesh-types.d.ts.map +1 -0
  2118. package/dist/terrain/adaptive-mesh-types.js +5 -0
  2119. package/dist/terrain/adaptive-mesh-types.js.map +1 -0
  2120. package/dist/terrain/bounds-regions.d.ts +15 -0
  2121. package/dist/terrain/bounds-regions.d.ts.map +1 -0
  2122. package/dist/terrain/bounds-regions.js +84 -0
  2123. package/dist/terrain/bounds-regions.js.map +1 -0
  2124. package/dist/terrain/bounds-update.d.ts +11 -0
  2125. package/dist/terrain/bounds-update.d.ts.map +1 -0
  2126. package/dist/terrain/bounds-update.js +10 -0
  2127. package/dist/terrain/bounds-update.js.map +1 -0
  2128. package/dist/terrain/bounds.d.ts +41 -0
  2129. package/dist/terrain/bounds.d.ts.map +1 -0
  2130. package/dist/terrain/bounds.js +141 -0
  2131. package/dist/terrain/bounds.js.map +1 -0
  2132. package/dist/terrain/box-index.d.ts +9 -0
  2133. package/dist/terrain/box-index.d.ts.map +1 -0
  2134. package/dist/terrain/box-index.js +43 -0
  2135. package/dist/terrain/box-index.js.map +1 -0
  2136. package/dist/terrain/breakline-mesh.d.ts +18 -0
  2137. package/dist/terrain/breakline-mesh.d.ts.map +1 -0
  2138. package/dist/terrain/breakline-mesh.js +126 -0
  2139. package/dist/terrain/breakline-mesh.js.map +1 -0
  2140. package/dist/terrain/breakline-preprocess.d.ts +11 -0
  2141. package/dist/terrain/breakline-preprocess.d.ts.map +1 -0
  2142. package/dist/terrain/breakline-preprocess.js +94 -0
  2143. package/dist/terrain/breakline-preprocess.js.map +1 -0
  2144. package/dist/terrain/continuous-mesh-error.d.ts +34 -0
  2145. package/dist/terrain/continuous-mesh-error.d.ts.map +1 -0
  2146. package/dist/terrain/continuous-mesh-error.js +221 -0
  2147. package/dist/terrain/continuous-mesh-error.js.map +1 -0
  2148. package/dist/terrain/contour-boundary-diagnostics.d.ts +23 -0
  2149. package/dist/terrain/contour-boundary-diagnostics.d.ts.map +1 -0
  2150. package/dist/terrain/contour-boundary-diagnostics.js +62 -0
  2151. package/dist/terrain/contour-boundary-diagnostics.js.map +1 -0
  2152. package/dist/terrain/contour-mixed-weld.d.ts +25 -0
  2153. package/dist/terrain/contour-mixed-weld.d.ts.map +1 -0
  2154. package/dist/terrain/contour-mixed-weld.js +194 -0
  2155. package/dist/terrain/contour-mixed-weld.js.map +1 -0
  2156. package/dist/terrain/contour-path-data.d.ts +26 -0
  2157. package/dist/terrain/contour-path-data.d.ts.map +1 -0
  2158. package/dist/terrain/contour-path-data.js +59 -0
  2159. package/dist/terrain/contour-path-data.js.map +1 -0
  2160. package/dist/terrain/contour-paths.d.ts +8 -0
  2161. package/dist/terrain/contour-paths.d.ts.map +1 -0
  2162. package/dist/terrain/contour-paths.js +83 -0
  2163. package/dist/terrain/contour-paths.js.map +1 -0
  2164. package/dist/terrain/contour-simplify.d.ts +19 -0
  2165. package/dist/terrain/contour-simplify.d.ts.map +1 -0
  2166. package/dist/terrain/contour-simplify.js +156 -0
  2167. package/dist/terrain/contour-simplify.js.map +1 -0
  2168. package/dist/terrain/contour-tile-paths.d.ts +7 -0
  2169. package/dist/terrain/contour-tile-paths.d.ts.map +1 -0
  2170. package/dist/terrain/contour-tile-paths.js +12 -0
  2171. package/dist/terrain/contour-tile-paths.js.map +1 -0
  2172. package/dist/terrain/contour-tile-weld.d.ts +24 -0
  2173. package/dist/terrain/contour-tile-weld.d.ts.map +1 -0
  2174. package/dist/terrain/contour-tile-weld.js +147 -0
  2175. package/dist/terrain/contour-tile-weld.js.map +1 -0
  2176. package/dist/terrain/contour-topology.d.ts +30 -0
  2177. package/dist/terrain/contour-topology.d.ts.map +1 -0
  2178. package/dist/terrain/contour-topology.js +236 -0
  2179. package/dist/terrain/contour-topology.js.map +1 -0
  2180. package/dist/terrain/contours.d.ts +29 -0
  2181. package/dist/terrain/contours.d.ts.map +1 -0
  2182. package/dist/terrain/contours.js +133 -0
  2183. package/dist/terrain/contours.js.map +1 -0
  2184. package/dist/terrain/delatin-regions.d.ts +14 -0
  2185. package/dist/terrain/delatin-regions.d.ts.map +1 -0
  2186. package/dist/terrain/delatin-regions.js +15 -0
  2187. package/dist/terrain/delatin-regions.js.map +1 -0
  2188. package/dist/terrain/delatin.d.ts +12 -0
  2189. package/dist/terrain/delatin.d.ts.map +1 -0
  2190. package/dist/terrain/delatin.js +69 -0
  2191. package/dist/terrain/delatin.js.map +1 -0
  2192. package/dist/terrain/derivatives.d.ts +23 -0
  2193. package/dist/terrain/derivatives.d.ts.map +1 -0
  2194. package/dist/terrain/derivatives.js +71 -0
  2195. package/dist/terrain/derivatives.js.map +1 -0
  2196. package/dist/terrain/dirty-regions.d.ts +11 -0
  2197. package/dist/terrain/dirty-regions.d.ts.map +1 -0
  2198. package/dist/terrain/dirty-regions.js +34 -0
  2199. package/dist/terrain/dirty-regions.js.map +1 -0
  2200. package/dist/terrain/filtered-pyramid.d.ts +22 -0
  2201. package/dist/terrain/filtered-pyramid.d.ts.map +1 -0
  2202. package/dist/terrain/filtered-pyramid.js +71 -0
  2203. package/dist/terrain/filtered-pyramid.js.map +1 -0
  2204. package/dist/terrain/geographic-lod-seams.d.ts +10 -0
  2205. package/dist/terrain/geographic-lod-seams.d.ts.map +1 -0
  2206. package/dist/terrain/geographic-lod-seams.js +100 -0
  2207. package/dist/terrain/geographic-lod-seams.js.map +1 -0
  2208. package/dist/terrain/geographic-neighbor.d.ts +18 -0
  2209. package/dist/terrain/geographic-neighbor.d.ts.map +1 -0
  2210. package/dist/terrain/geographic-neighbor.js +44 -0
  2211. package/dist/terrain/geographic-neighbor.js.map +1 -0
  2212. package/dist/terrain/geographic-poles.d.ts +24 -0
  2213. package/dist/terrain/geographic-poles.d.ts.map +1 -0
  2214. package/dist/terrain/geographic-poles.js +34 -0
  2215. package/dist/terrain/geographic-poles.js.map +1 -0
  2216. package/dist/terrain/geographic-seam.d.ts +21 -0
  2217. package/dist/terrain/geographic-seam.d.ts.map +1 -0
  2218. package/dist/terrain/geographic-seam.js +52 -0
  2219. package/dist/terrain/geographic-seam.js.map +1 -0
  2220. package/dist/terrain/geographic.d.ts +21 -0
  2221. package/dist/terrain/geographic.d.ts.map +1 -0
  2222. package/dist/terrain/geographic.js +91 -0
  2223. package/dist/terrain/geographic.js.map +1 -0
  2224. package/dist/terrain/geometry.d.ts +14 -0
  2225. package/dist/terrain/geometry.d.ts.map +1 -0
  2226. package/dist/terrain/geometry.js +116 -0
  2227. package/dist/terrain/geometry.js.map +1 -0
  2228. package/dist/terrain/gradient-pyramid-regions.d.ts +15 -0
  2229. package/dist/terrain/gradient-pyramid-regions.d.ts.map +1 -0
  2230. package/dist/terrain/gradient-pyramid-regions.js +112 -0
  2231. package/dist/terrain/gradient-pyramid-regions.js.map +1 -0
  2232. package/dist/terrain/gradient-pyramid-update.d.ts +11 -0
  2233. package/dist/terrain/gradient-pyramid-update.d.ts.map +1 -0
  2234. package/dist/terrain/gradient-pyramid-update.js +17 -0
  2235. package/dist/terrain/gradient-pyramid-update.js.map +1 -0
  2236. package/dist/terrain/gradient-pyramid.d.ts +29 -0
  2237. package/dist/terrain/gradient-pyramid.d.ts.map +1 -0
  2238. package/dist/terrain/gradient-pyramid.js +94 -0
  2239. package/dist/terrain/gradient-pyramid.js.map +1 -0
  2240. package/dist/terrain/height-field.d.ts +31 -0
  2241. package/dist/terrain/height-field.d.ts.map +1 -0
  2242. package/dist/terrain/height-field.js +348 -0
  2243. package/dist/terrain/height-field.js.map +1 -0
  2244. package/dist/terrain/index.cjs +6955 -0
  2245. package/dist/terrain/index.cjs.map +6 -0
  2246. package/dist/terrain/index.d.ts +127 -0
  2247. package/dist/terrain/index.d.ts.map +1 -0
  2248. package/dist/terrain/index.js +78 -0
  2249. package/dist/terrain/index.js.map +1 -0
  2250. package/dist/terrain/isobands-mixed.d.ts +18 -0
  2251. package/dist/terrain/isobands-mixed.d.ts.map +1 -0
  2252. package/dist/terrain/isobands-mixed.js +34 -0
  2253. package/dist/terrain/isobands-mixed.js.map +1 -0
  2254. package/dist/terrain/isobands.d.ts +24 -0
  2255. package/dist/terrain/isobands.d.ts.map +1 -0
  2256. package/dist/terrain/isobands.js +281 -0
  2257. package/dist/terrain/isobands.js.map +1 -0
  2258. package/dist/terrain/lod-coordinate.d.ts +15 -0
  2259. package/dist/terrain/lod-coordinate.d.ts.map +1 -0
  2260. package/dist/terrain/lod-coordinate.js +40 -0
  2261. package/dist/terrain/lod-coordinate.js.map +1 -0
  2262. package/dist/terrain/lod-morph-evaluate.d.ts +8 -0
  2263. package/dist/terrain/lod-morph-evaluate.d.ts.map +1 -0
  2264. package/dist/terrain/lod-morph-evaluate.js +30 -0
  2265. package/dist/terrain/lod-morph-evaluate.js.map +1 -0
  2266. package/dist/terrain/lod-morph.d.ts +35 -0
  2267. package/dist/terrain/lod-morph.d.ts.map +1 -0
  2268. package/dist/terrain/lod-morph.js +87 -0
  2269. package/dist/terrain/lod-morph.js.map +1 -0
  2270. package/dist/terrain/lod-select.d.ts +32 -0
  2271. package/dist/terrain/lod-select.d.ts.map +1 -0
  2272. package/dist/terrain/lod-select.js +60 -0
  2273. package/dist/terrain/lod-select.js.map +1 -0
  2274. package/dist/terrain/lod-stitch.d.ts +15 -0
  2275. package/dist/terrain/lod-stitch.d.ts.map +1 -0
  2276. package/dist/terrain/lod-stitch.js +64 -0
  2277. package/dist/terrain/lod-stitch.js.map +1 -0
  2278. package/dist/terrain/martini-regions.d.ts +14 -0
  2279. package/dist/terrain/martini-regions.d.ts.map +1 -0
  2280. package/dist/terrain/martini-regions.js +26 -0
  2281. package/dist/terrain/martini-regions.js.map +1 -0
  2282. package/dist/terrain/martini.d.ts +13 -0
  2283. package/dist/terrain/martini.d.ts.map +1 -0
  2284. package/dist/terrain/martini.js +65 -0
  2285. package/dist/terrain/martini.js.map +1 -0
  2286. package/dist/terrain/mesh-coverage.d.ts +35 -0
  2287. package/dist/terrain/mesh-coverage.d.ts.map +1 -0
  2288. package/dist/terrain/mesh-coverage.js +186 -0
  2289. package/dist/terrain/mesh-coverage.js.map +1 -0
  2290. package/dist/terrain/mesh-data.d.ts +21 -0
  2291. package/dist/terrain/mesh-data.d.ts.map +1 -0
  2292. package/dist/terrain/mesh-data.js +79 -0
  2293. package/dist/terrain/mesh-data.js.map +1 -0
  2294. package/dist/terrain/mesh-edges.d.ts +7 -0
  2295. package/dist/terrain/mesh-edges.d.ts.map +1 -0
  2296. package/dist/terrain/mesh-edges.js +21 -0
  2297. package/dist/terrain/mesh-edges.js.map +1 -0
  2298. package/dist/terrain/mesh-error.d.ts +16 -0
  2299. package/dist/terrain/mesh-error.d.ts.map +1 -0
  2300. package/dist/terrain/mesh-error.js +122 -0
  2301. package/dist/terrain/mesh-error.js.map +1 -0
  2302. package/dist/terrain/mesh-regions-data.d.ts +24 -0
  2303. package/dist/terrain/mesh-regions-data.d.ts.map +1 -0
  2304. package/dist/terrain/mesh-regions-data.js +90 -0
  2305. package/dist/terrain/mesh-regions-data.js.map +1 -0
  2306. package/dist/terrain/mesh-regions.d.ts +12 -0
  2307. package/dist/terrain/mesh-regions.d.ts.map +1 -0
  2308. package/dist/terrain/mesh-regions.js +10 -0
  2309. package/dist/terrain/mesh-regions.js.map +1 -0
  2310. package/dist/terrain/mesh-skirts.d.ts +29 -0
  2311. package/dist/terrain/mesh-skirts.d.ts.map +1 -0
  2312. package/dist/terrain/mesh-skirts.js +119 -0
  2313. package/dist/terrain/mesh-skirts.js.map +1 -0
  2314. package/dist/terrain/mesh-stitch.d.ts +35 -0
  2315. package/dist/terrain/mesh-stitch.d.ts.map +1 -0
  2316. package/dist/terrain/mesh-stitch.js +267 -0
  2317. package/dist/terrain/mesh-stitch.js.map +1 -0
  2318. package/dist/terrain/mesh-update.d.ts +11 -0
  2319. package/dist/terrain/mesh-update.d.ts.map +1 -0
  2320. package/dist/terrain/mesh-update.js +10 -0
  2321. package/dist/terrain/mesh-update.js.map +1 -0
  2322. package/dist/terrain/mesh.d.ts +6 -0
  2323. package/dist/terrain/mesh.d.ts.map +1 -0
  2324. package/dist/terrain/mesh.js +38 -0
  2325. package/dist/terrain/mesh.js.map +1 -0
  2326. package/dist/terrain/mixed-gradient-update.d.ts +15 -0
  2327. package/dist/terrain/mixed-gradient-update.d.ts.map +1 -0
  2328. package/dist/terrain/mixed-gradient-update.js +24 -0
  2329. package/dist/terrain/mixed-gradient-update.js.map +1 -0
  2330. package/dist/terrain/mixed-halo-update.d.ts +16 -0
  2331. package/dist/terrain/mixed-halo-update.d.ts.map +1 -0
  2332. package/dist/terrain/mixed-halo-update.js +123 -0
  2333. package/dist/terrain/mixed-halo-update.js.map +1 -0
  2334. package/dist/terrain/mixed-surface.d.ts +27 -0
  2335. package/dist/terrain/mixed-surface.d.ts.map +1 -0
  2336. package/dist/terrain/mixed-surface.js +160 -0
  2337. package/dist/terrain/mixed-surface.js.map +1 -0
  2338. package/dist/terrain/mixed-vertex-halos.d.ts +42 -0
  2339. package/dist/terrain/mixed-vertex-halos.d.ts.map +1 -0
  2340. package/dist/terrain/mixed-vertex-halos.js +163 -0
  2341. package/dist/terrain/mixed-vertex-halos.js.map +1 -0
  2342. package/dist/terrain/packed.d.ts +33 -0
  2343. package/dist/terrain/packed.d.ts.map +1 -0
  2344. package/dist/terrain/packed.js +136 -0
  2345. package/dist/terrain/packed.js.map +1 -0
  2346. package/dist/terrain/persistent-bounds.d.ts +16 -0
  2347. package/dist/terrain/persistent-bounds.d.ts.map +1 -0
  2348. package/dist/terrain/persistent-bounds.js +51 -0
  2349. package/dist/terrain/persistent-bounds.js.map +1 -0
  2350. package/dist/terrain/persistent-gradients.d.ts +16 -0
  2351. package/dist/terrain/persistent-gradients.d.ts.map +1 -0
  2352. package/dist/terrain/persistent-gradients.js +69 -0
  2353. package/dist/terrain/persistent-gradients.js.map +1 -0
  2354. package/dist/terrain/persistent-hierarchy-data.d.ts +41 -0
  2355. package/dist/terrain/persistent-hierarchy-data.d.ts.map +1 -0
  2356. package/dist/terrain/persistent-hierarchy-data.js +130 -0
  2357. package/dist/terrain/persistent-hierarchy-data.js.map +1 -0
  2358. package/dist/terrain/profile-horizon.d.ts +20 -0
  2359. package/dist/terrain/profile-horizon.d.ts.map +1 -0
  2360. package/dist/terrain/profile-horizon.js +69 -0
  2361. package/dist/terrain/profile-horizon.js.map +1 -0
  2362. package/dist/terrain/profile-measure.d.ts +26 -0
  2363. package/dist/terrain/profile-measure.d.ts.map +1 -0
  2364. package/dist/terrain/profile-measure.js +111 -0
  2365. package/dist/terrain/profile-measure.js.map +1 -0
  2366. package/dist/terrain/profile-slope.d.ts +3 -0
  2367. package/dist/terrain/profile-slope.d.ts.map +1 -0
  2368. package/dist/terrain/profile-slope.js +35 -0
  2369. package/dist/terrain/profile-slope.js.map +1 -0
  2370. package/dist/terrain/profile-viewshed.d.ts +17 -0
  2371. package/dist/terrain/profile-viewshed.d.ts.map +1 -0
  2372. package/dist/terrain/profile-viewshed.js +51 -0
  2373. package/dist/terrain/profile-viewshed.js.map +1 -0
  2374. package/dist/terrain/profile-visibility.d.ts +21 -0
  2375. package/dist/terrain/profile-visibility.d.ts.map +1 -0
  2376. package/dist/terrain/profile-visibility.js +61 -0
  2377. package/dist/terrain/profile-visibility.js.map +1 -0
  2378. package/dist/terrain/profile.d.ts +22 -0
  2379. package/dist/terrain/profile.d.ts.map +1 -0
  2380. package/dist/terrain/profile.js +76 -0
  2381. package/dist/terrain/profile.js.map +1 -0
  2382. package/dist/terrain/sample-triangle-height.d.ts +4 -0
  2383. package/dist/terrain/sample-triangle-height.d.ts.map +1 -0
  2384. package/dist/terrain/sample-triangle-height.js +46 -0
  2385. package/dist/terrain/sample-triangle-height.js.map +1 -0
  2386. package/dist/terrain/slope-aspect.d.ts +21 -0
  2387. package/dist/terrain/slope-aspect.d.ts.map +1 -0
  2388. package/dist/terrain/slope-aspect.js +52 -0
  2389. package/dist/terrain/slope-aspect.js.map +1 -0
  2390. package/dist/terrain/surface.d.ts +123 -0
  2391. package/dist/terrain/surface.d.ts.map +1 -0
  2392. package/dist/terrain/surface.js +366 -0
  2393. package/dist/terrain/surface.js.map +1 -0
  2394. package/dist/terrain/sweep-capsule.d.ts +27 -0
  2395. package/dist/terrain/sweep-capsule.d.ts.map +1 -0
  2396. package/dist/terrain/sweep-capsule.js +104 -0
  2397. package/dist/terrain/sweep-capsule.js.map +1 -0
  2398. package/dist/terrain/sweep-cylinder.d.ts +16 -0
  2399. package/dist/terrain/sweep-cylinder.d.ts.map +1 -0
  2400. package/dist/terrain/sweep-cylinder.js +52 -0
  2401. package/dist/terrain/sweep-cylinder.js.map +1 -0
  2402. package/dist/terrain/sweep-plane.d.ts +9 -0
  2403. package/dist/terrain/sweep-plane.d.ts.map +1 -0
  2404. package/dist/terrain/sweep-plane.js +52 -0
  2405. package/dist/terrain/sweep-plane.js.map +1 -0
  2406. package/dist/terrain/sweep-polytope.d.ts +38 -0
  2407. package/dist/terrain/sweep-polytope.d.ts.map +1 -0
  2408. package/dist/terrain/sweep-polytope.js +179 -0
  2409. package/dist/terrain/sweep-polytope.js.map +1 -0
  2410. package/dist/terrain/sweep-sphere.d.ts +27 -0
  2411. package/dist/terrain/sweep-sphere.d.ts.map +1 -0
  2412. package/dist/terrain/sweep-sphere.js +69 -0
  2413. package/dist/terrain/sweep-sphere.js.map +1 -0
  2414. package/dist/terrain/tile-update-data.d.ts +14 -0
  2415. package/dist/terrain/tile-update-data.d.ts.map +1 -0
  2416. package/dist/terrain/tile-update-data.js +23 -0
  2417. package/dist/terrain/tile-update-data.js.map +1 -0
  2418. package/dist/terrain/tiled.d.ts +88 -0
  2419. package/dist/terrain/tiled.d.ts.map +1 -0
  2420. package/dist/terrain/tiled.js +382 -0
  2421. package/dist/terrain/tiled.js.map +1 -0
  2422. package/dist/terrain/types.d.ts +64 -0
  2423. package/dist/terrain/types.d.ts.map +1 -0
  2424. package/dist/terrain/types.js +13 -0
  2425. package/dist/terrain/types.js.map +1 -0
  2426. package/dist/terrain/valid-domain-mesh.d.ts +29 -0
  2427. package/dist/terrain/valid-domain-mesh.d.ts.map +1 -0
  2428. package/dist/terrain/valid-domain-mesh.js +183 -0
  2429. package/dist/terrain/valid-domain-mesh.js.map +1 -0
  2430. package/dist/terrain/valid-domain-regions.d.ts +16 -0
  2431. package/dist/terrain/valid-domain-regions.d.ts.map +1 -0
  2432. package/dist/terrain/valid-domain-regions.js +19 -0
  2433. package/dist/terrain/valid-domain-regions.js.map +1 -0
  2434. package/dist/terrain/vendor/delatin.d.ts +38 -0
  2435. package/dist/terrain/vendor/delatin.d.ts.map +1 -0
  2436. package/dist/terrain/vendor/delatin.js +407 -0
  2437. package/dist/terrain/vendor/delatin.js.map +1 -0
  2438. package/dist/terrain/vertex-halo-invalidation.d.ts +16 -0
  2439. package/dist/terrain/vertex-halo-invalidation.d.ts.map +1 -0
  2440. package/dist/terrain/vertex-halo-invalidation.js +50 -0
  2441. package/dist/terrain/vertex-halo-invalidation.js.map +1 -0
  2442. package/dist/terrain/vertex-halo-update.d.ts +18 -0
  2443. package/dist/terrain/vertex-halo-update.d.ts.map +1 -0
  2444. package/dist/terrain/vertex-halo-update.js +76 -0
  2445. package/dist/terrain/vertex-halo-update.js.map +1 -0
  2446. package/dist/terrain/vertex-halos.d.ts +26 -0
  2447. package/dist/terrain/vertex-halos.d.ts.map +1 -0
  2448. package/dist/terrain/vertex-halos.js +80 -0
  2449. package/dist/terrain/vertex-halos.js.map +1 -0
  2450. package/dist/terrain/vertex-tiles.d.ts +35 -0
  2451. package/dist/terrain/vertex-tiles.d.ts.map +1 -0
  2452. package/dist/terrain/vertex-tiles.js +120 -0
  2453. package/dist/terrain/vertex-tiles.js.map +1 -0
  2454. package/dist/tile-matrix.d.ts +107 -0
  2455. package/dist/tile-matrix.d.ts.map +1 -0
  2456. package/dist/tile-matrix.js +383 -0
  2457. package/dist/tile-matrix.js.map +1 -0
  2458. package/dist/tiles.d.ts +5 -0
  2459. package/dist/tiles.d.ts.map +1 -0
  2460. package/dist/tiles.js +6 -0
  2461. package/dist/tiles.js.map +1 -0
  2462. package/dist/triaxial/integrate.d.ts +2 -0
  2463. package/dist/triaxial/integrate.d.ts.map +1 -0
  2464. package/dist/triaxial/integrate.js +76 -0
  2465. package/dist/triaxial/integrate.js.map +1 -0
  2466. package/dist/triaxial.d.ts +42 -0
  2467. package/dist/triaxial.d.ts.map +1 -0
  2468. package/dist/triaxial.js +141 -0
  2469. package/dist/triaxial.js.map +1 -0
  2470. package/dist/turf/expressions.cjs +87 -0
  2471. package/dist/turf/expressions.cjs.map +6 -0
  2472. package/dist/turf/expressions.d.ts +24 -0
  2473. package/dist/turf/expressions.d.ts.map +1 -0
  2474. package/dist/turf/expressions.js +76 -0
  2475. package/dist/turf/expressions.js.map +1 -0
  2476. package/dist/turf.cjs +1078 -0
  2477. package/dist/turf.cjs.map +6 -0
  2478. package/dist/turf.d.ts +112 -0
  2479. package/dist/turf.d.ts.map +1 -0
  2480. package/dist/turf.js +1093 -0
  2481. package/dist/turf.js.map +1 -0
  2482. package/dist/type-utils.d.ts +2 -0
  2483. package/dist/type-utils.d.ts.map +1 -1
  2484. package/dist/type-utils.js +25 -2
  2485. package/dist/type-utils.js.map +1 -1
  2486. package/dist/vendor/geographiclib-geodesic/runtime.d.ts +9 -0
  2487. package/dist/vendor/geographiclib-geodesic/runtime.d.ts.map +1 -0
  2488. package/dist/vendor/geographiclib-geodesic/runtime.js +2245 -0
  2489. package/dist/vendor/geographiclib-geodesic/runtime.js.map +1 -0
  2490. package/dist/web-mercator.d.ts +2 -0
  2491. package/dist/web-mercator.d.ts.map +1 -0
  2492. package/dist/web-mercator.js +5 -0
  2493. package/dist/web-mercator.js.map +1 -0
  2494. package/package.json +1043 -6
  2495. package/src/constants.ts +5 -3
  2496. package/src/coordinates/angles.ts +160 -0
  2497. package/src/coordinates/grid.ts +141 -0
  2498. package/src/coordinates/mgrs.ts +157 -0
  2499. package/src/coordinates.ts +24 -0
  2500. package/src/crs/crs-descriptor-types.ts +81 -0
  2501. package/src/crs/crs-descriptor.ts +203 -0
  2502. package/src/crs/crs-identifier.ts +86 -0
  2503. package/src/crs/crs-metadata.ts +63 -0
  2504. package/src/crs/crs.ts +36 -0
  2505. package/src/crs/execution-identity.ts +98 -0
  2506. package/src/crs/index.ts +102 -0
  2507. package/src/crs/proj-string.ts +239 -0
  2508. package/src/crs/projection-domain.ts +100 -0
  2509. package/src/crs/projjson-schema-constants.ts +9 -0
  2510. package/src/crs/projjson-types.ts +665 -0
  2511. package/src/crs/projjson.schema.json +1174 -0
  2512. package/src/crs/resolver.ts +194 -0
  2513. package/src/crs/spatial-reference.ts +224 -0
  2514. package/src/crs/units-table.ts +51 -0
  2515. package/src/crs/wkt-crs.ts +790 -0
  2516. package/src/elastic.ts +7 -0
  2517. package/src/ellipsoid-geodesic.ts +170 -0
  2518. package/src/ellipsoid-helpers/ellipsoid-transform.ts +79 -20
  2519. package/src/ellipsoid-helpers/exact-nearest-surface.ts +118 -0
  2520. package/src/ellipsoid-helpers/intersection-bounds.ts +85 -0
  2521. package/src/ellipsoid-helpers/nearest-surface.ts +157 -0
  2522. package/src/ellipsoid-helpers/rhumb-pole-distance.ts +76 -0
  2523. package/src/ellipsoid-helpers/scale-to-geodetic-surface.ts +31 -90
  2524. package/src/ellipsoid-helpers/surface-polygon.ts +210 -0
  2525. package/src/ellipsoid-helpers/tangent-plane-numerics.ts +124 -0
  2526. package/src/ellipsoid-metrics.ts +225 -0
  2527. package/src/ellipsoid-occluder.ts +135 -0
  2528. package/src/ellipsoid-rhumb.ts +408 -0
  2529. package/src/ellipsoid-tangent-plane.ts +236 -38
  2530. package/src/ellipsoid-transforms.ts +61 -0
  2531. package/src/ellipsoid.ts +281 -117
  2532. package/src/entries/ellipsoid.ts +44 -0
  2533. package/src/expressions.ts +35 -0
  2534. package/src/geodesic-buffer.ts +120 -0
  2535. package/src/geodesic-exact/area.ts +70 -0
  2536. package/src/geodesic-exact/inverse-engine.ts +166 -0
  2537. package/src/geodesic-exact/polygon.ts +36 -0
  2538. package/src/geodesic-exact/quadrature.ts +60 -0
  2539. package/src/geodesic-exact.ts +290 -0
  2540. package/src/geodesic-intersections.ts +598 -0
  2541. package/src/geodesic-path.ts +128 -0
  2542. package/src/geodesic-polygon.ts +19 -0
  2543. package/src/geographic-atlas/atlas.ts +645 -0
  2544. package/src/geographic-atlas/curves.ts +360 -0
  2545. package/src/geographic-atlas/math.ts +125 -0
  2546. package/src/geographic-atlas/sampling.ts +146 -0
  2547. package/src/geographic-atlas/topology.ts +196 -0
  2548. package/src/geographic-atlas/types.ts +48 -0
  2549. package/src/geographic-atlas.ts +104 -0
  2550. package/src/geographic-cuts.ts +114 -0
  2551. package/src/geographic-seams/cut-options.ts +50 -0
  2552. package/src/geographic-seams/edge.ts +416 -0
  2553. package/src/geographic-seams/latitude.ts +47 -0
  2554. package/src/geographic-seams/polygon.ts +551 -0
  2555. package/src/geographic-seams/subdivide-cut.ts +203 -0
  2556. package/src/geographic-seams/types.ts +67 -0
  2557. package/src/geographic-seams.ts +81 -0
  2558. package/src/geographic-tiles.ts +87 -0
  2559. package/src/globe-horizon-bounds.ts +68 -0
  2560. package/src/globe.ts +31 -0
  2561. package/src/index.ts +443 -8
  2562. package/src/lng-lat-rectangle.ts +5 -3
  2563. package/src/local-reference-frame.ts +316 -0
  2564. package/src/make-obb-from-region.ts +6 -4
  2565. package/src/maps/AIR-OCEAN-LICENSE.txt +26 -0
  2566. package/src/maps/D3-LICENSE.txt +37 -0
  2567. package/src/maps/PETROFF-LICENSE.txt +55 -0
  2568. package/src/maps/PROJ-LICENSE.txt +34 -0
  2569. package/src/maps/air-ocean-mesh.ts +86 -0
  2570. package/src/maps/albers-usa.ts +181 -0
  2571. package/src/maps/cap-map.ts +635 -0
  2572. package/src/maps/elastic/UNLICENSE.txt +24 -0
  2573. package/src/maps/elastic/data.ts +86 -0
  2574. package/src/maps/elastic/elasticI.ts +5238 -0
  2575. package/src/maps/elastic/elasticII.ts +18167 -0
  2576. package/src/maps/elastic/elasticIII.ts +29571 -0
  2577. package/src/maps/elastic/geometry.ts +183 -0
  2578. package/src/maps/elastic/grid.ts +194 -0
  2579. package/src/maps/elastic/map.ts +621 -0
  2580. package/src/maps/elastic/source-arc.ts +129 -0
  2581. package/src/maps/geometry.ts +12 -0
  2582. package/src/maps/global-polygons.ts +327 -0
  2583. package/src/maps/gray-fuller.ts +38 -0
  2584. package/src/maps/gringorten-kernel.ts +160 -0
  2585. package/src/maps/h3-face-map.ts +251 -0
  2586. package/src/maps/healpix.ts +61 -0
  2587. package/src/maps/layout.ts +177 -0
  2588. package/src/maps/map-engine.ts +484 -0
  2589. package/src/maps/map-layout.ts +777 -0
  2590. package/src/maps/map-surface-mesh.ts +229 -0
  2591. package/src/maps/map-transition-mesh.ts +421 -0
  2592. package/src/maps/map-transition.ts +403 -0
  2593. package/src/maps/math.ts +67 -0
  2594. package/src/maps/mercator-map.ts +298 -0
  2595. package/src/maps/myriahedral/graticule.ts +40 -0
  2596. package/src/maps/myriahedral/mesh.ts +138 -0
  2597. package/src/maps/myriahedral/unfold.ts +240 -0
  2598. package/src/maps/myriahedral.ts +311 -0
  2599. package/src/maps/petroff.ts +178 -0
  2600. package/src/maps/polygon-constraints.ts +184 -0
  2601. package/src/maps/polyhedral.ts +138 -0
  2602. package/src/maps/prepare-features.ts +393 -0
  2603. package/src/maps/preset-kernels.ts +450 -0
  2604. package/src/maps/presets.ts +355 -0
  2605. package/src/maps/projection-catalog.ts +132 -0
  2606. package/src/maps/projection-surface.ts +70 -0
  2607. package/src/maps/quincuncial-kernel.ts +173 -0
  2608. package/src/maps/quincuncial-star.ts +328 -0
  2609. package/src/maps/regional-map.ts +229 -0
  2610. package/src/maps/retroazimuthal-map.ts +52 -0
  2611. package/src/maps/rotated-map.ts +92 -0
  2612. package/src/maps/snyder-mesh.ts +88 -0
  2613. package/src/maps/snyder.ts +171 -0
  2614. package/src/maps/source-arc.ts +31 -0
  2615. package/src/maps/spherical-clip/D3-GEO-LICENSE.txt +34 -0
  2616. package/src/maps/spherical-clip/cartesian.ts +43 -0
  2617. package/src/maps/spherical-clip/circle.js +35 -0
  2618. package/src/maps/spherical-clip/clip-buffer.js +29 -0
  2619. package/src/maps/spherical-clip/clip-circle.js +197 -0
  2620. package/src/maps/spherical-clip/clip-index.js +140 -0
  2621. package/src/maps/spherical-clip/clip-rejoin.js +111 -0
  2622. package/src/maps/spherical-clip/helpers.js +20 -0
  2623. package/src/maps/spherical-clip/math.ts +45 -0
  2624. package/src/maps/spherical-clip/noop.ts +6 -0
  2625. package/src/maps/spherical-clip/pointEqual.ts +10 -0
  2626. package/src/maps/spherical-clip/polygonContains.js +96 -0
  2627. package/src/maps/surfaces.ts +7 -0
  2628. package/src/maps/transitions.ts +8 -0
  2629. package/src/maps/world-composite-kernels.ts +30 -0
  2630. package/src/maps/world-kernels/INTEGRATE-LICENSE.txt +21 -0
  2631. package/src/maps/world-kernels/airy.js +43 -0
  2632. package/src/maps/world-kernels/aitoff.js +48 -0
  2633. package/src/maps/world-kernels/armadillo.js +51 -0
  2634. package/src/maps/world-kernels/august.js +36 -0
  2635. package/src/maps/world-kernels/baker.js +50 -0
  2636. package/src/maps/world-kernels/bertin.js +41 -0
  2637. package/src/maps/world-kernels/boggs.js +32 -0
  2638. package/src/maps/world-kernels/bonne.js +27 -0
  2639. package/src/maps/world-kernels/bottomley.js +25 -0
  2640. package/src/maps/world-kernels/bromley.js +10 -0
  2641. package/src/maps/world-kernels/chamberlin.js +97 -0
  2642. package/src/maps/world-kernels/collignon.ts +17 -0
  2643. package/src/maps/world-kernels/craig.js +33 -0
  2644. package/src/maps/world-kernels/craster.ts +18 -0
  2645. package/src/maps/world-kernels/cylindricalEqualArea.js +21 -0
  2646. package/src/maps/world-kernels/cylindricalStereographic.js +21 -0
  2647. package/src/maps/world-kernels/d3-geo-raw.js +26 -0
  2648. package/src/maps/world-kernels/eckert1.ts +18 -0
  2649. package/src/maps/world-kernels/eckert2.ts +17 -0
  2650. package/src/maps/world-kernels/eckert3.ts +17 -0
  2651. package/src/maps/world-kernels/eckert4.ts +24 -0
  2652. package/src/maps/world-kernels/eckert5.ts +17 -0
  2653. package/src/maps/world-kernels/eckert6.ts +22 -0
  2654. package/src/maps/world-kernels/eisenlohr.js +88 -0
  2655. package/src/maps/world-kernels/fahey.ts +19 -0
  2656. package/src/maps/world-kernels/foucaut.ts +20 -0
  2657. package/src/maps/world-kernels/foucautSinusoidal.js +38 -0
  2658. package/src/maps/world-kernels/ginzburg4.js +17 -0
  2659. package/src/maps/world-kernels/ginzburg5.js +17 -0
  2660. package/src/maps/world-kernels/ginzburg6.js +19 -0
  2661. package/src/maps/world-kernels/ginzburg8.js +34 -0
  2662. package/src/maps/world-kernels/ginzburg9.js +17 -0
  2663. package/src/maps/world-kernels/ginzburgPolyconic.js +64 -0
  2664. package/src/maps/world-kernels/hammer.js +37 -0
  2665. package/src/maps/world-kernels/hammerRetroazimuthal.js +63 -0
  2666. package/src/maps/world-kernels/hill.js +57 -0
  2667. package/src/maps/world-kernels/homolosine.js +24 -0
  2668. package/src/maps/world-kernels/hufnagel.js +68 -0
  2669. package/src/maps/world-kernels/hyperelliptical.js +56 -0
  2670. package/src/maps/world-kernels/integrate.js +99 -0
  2671. package/src/maps/world-kernels/kavrayskiy7.ts +15 -0
  2672. package/src/maps/world-kernels/lagrange.js +32 -0
  2673. package/src/maps/world-kernels/larrivee.js +43 -0
  2674. package/src/maps/world-kernels/laskowski.js +50 -0
  2675. package/src/maps/world-kernels/littrow.js +19 -0
  2676. package/src/maps/world-kernels/loximuthal.js +38 -0
  2677. package/src/maps/world-kernels/math.ts +98 -0
  2678. package/src/maps/world-kernels/miller.ts +15 -0
  2679. package/src/maps/world-kernels/modifiedStereographic.js +112 -0
  2680. package/src/maps/world-kernels/mollweide.js +30 -0
  2681. package/src/maps/world-kernels/mtFlatPolarParabolic.js +23 -0
  2682. package/src/maps/world-kernels/mtFlatPolarQuartic.js +29 -0
  2683. package/src/maps/world-kernels/mtFlatPolarSinusoidal.js +25 -0
  2684. package/src/maps/world-kernels/naturalEarth2.js +46 -0
  2685. package/src/maps/world-kernels/nellHammer.js +20 -0
  2686. package/src/maps/world-kernels/newton.js +77 -0
  2687. package/src/maps/world-kernels/nicolosi.js +60 -0
  2688. package/src/maps/world-kernels/patterson.js +45 -0
  2689. package/src/maps/world-kernels/polyconic.js +36 -0
  2690. package/src/maps/world-kernels/rectangularPolyconic.js +41 -0
  2691. package/src/maps/world-kernels/robinson.js +88 -0
  2692. package/src/maps/world-kernels/satellite.js +44 -0
  2693. package/src/maps/world-kernels/sinuMollweide.js +24 -0
  2694. package/src/maps/world-kernels/sinusoidal.ts +15 -0
  2695. package/src/maps/world-kernels/times.js +19 -0
  2696. package/src/maps/world-kernels/twoPointEquidistant.js +41 -0
  2697. package/src/maps/world-kernels/vanDerGrinten.js +48 -0
  2698. package/src/maps/world-kernels/vanDerGrinten2.js +32 -0
  2699. package/src/maps/world-kernels/vanDerGrinten3.js +24 -0
  2700. package/src/maps/world-kernels/vanDerGrinten4.js +70 -0
  2701. package/src/maps/world-kernels/wagner.js +61 -0
  2702. package/src/maps/world-kernels/wagner4.js +13 -0
  2703. package/src/maps/world-kernels/wagner6.ts +15 -0
  2704. package/src/maps/world-kernels/wiechel.js +25 -0
  2705. package/src/maps/world-kernels/winkel3.js +45 -0
  2706. package/src/maps/world-kernels.ts +249 -0
  2707. package/src/maps/world-map.ts +257 -0
  2708. package/src/maps.ts +168 -0
  2709. package/src/projection/analysis.ts +284 -0
  2710. package/src/projection/bulk.ts +343 -0
  2711. package/src/projection/datums.ts +13 -0
  2712. package/src/projection/deformation.ts +5 -0
  2713. package/src/projection/experimental/authalic-latitude.ts +49 -0
  2714. package/src/projection/experimental/catalogue-kernel.ts +65 -0
  2715. package/src/projection/experimental/common/adjust_lat.ts +11 -0
  2716. package/src/projection/experimental/common/adjust_lon.ts +14 -0
  2717. package/src/projection/experimental/common/asinhy.ts +14 -0
  2718. package/src/projection/experimental/common/asinz.ts +11 -0
  2719. package/src/projection/experimental/common/authlat.ts +9 -0
  2720. package/src/projection/experimental/common/authset.ts +25 -0
  2721. package/src/projection/experimental/common/clens.ts +20 -0
  2722. package/src/projection/experimental/common/clens_cmplx.ts +43 -0
  2723. package/src/projection/experimental/common/constants.ts +15 -0
  2724. package/src/projection/experimental/common/cosh.ts +10 -0
  2725. package/src/projection/experimental/common/e0fn.ts +8 -0
  2726. package/src/projection/experimental/common/e1fn.ts +8 -0
  2727. package/src/projection/experimental/common/e2fn.ts +8 -0
  2728. package/src/projection/experimental/common/e3fn.ts +8 -0
  2729. package/src/projection/experimental/common/fL.ts +10 -0
  2730. package/src/projection/experimental/common/gN.ts +9 -0
  2731. package/src/projection/experimental/common/gatg.ts +20 -0
  2732. package/src/projection/experimental/common/hypot.ts +13 -0
  2733. package/src/projection/experimental/common/imlfn.ts +23 -0
  2734. package/src/projection/experimental/common/invlatiso.ts +20 -0
  2735. package/src/projection/experimental/common/iqsfnz.ts +45 -0
  2736. package/src/projection/experimental/common/latiso.ts +21 -0
  2737. package/src/projection/experimental/common/log1py.ts +11 -0
  2738. package/src/projection/experimental/common/meridian-distance.ts +45 -0
  2739. package/src/projection/experimental/common/mlfn.ts +8 -0
  2740. package/src/projection/experimental/common/msfnz.ts +9 -0
  2741. package/src/projection/experimental/common/phi2z.ts +22 -0
  2742. package/src/projection/experimental/common/pj_enfn.ts +29 -0
  2743. package/src/projection/experimental/common/pj_inv_mlfn.ts +28 -0
  2744. package/src/projection/experimental/common/pj_mlfn.ts +10 -0
  2745. package/src/projection/experimental/common/qsfnz.ts +17 -0
  2746. package/src/projection/experimental/common/sign.ts +8 -0
  2747. package/src/projection/experimental/common/sinh.ts +10 -0
  2748. package/src/projection/experimental/common/srat.ts +8 -0
  2749. package/src/projection/experimental/common/tsfnz.ts +14 -0
  2750. package/src/projection/experimental/common/vincenty.ts +180 -0
  2751. package/src/projection/experimental/core.ts +85 -0
  2752. package/src/projection/experimental/crs/datum-catalog.ts +65 -0
  2753. package/src/projection/experimental/crs/datum-table.ts +1360 -0
  2754. package/src/projection/experimental/crs/ellipsoid-table.ts +230 -0
  2755. package/src/projection/experimental/crs/normalize.ts +318 -0
  2756. package/src/projection/experimental/crs/primemeridian-table.ts +22 -0
  2757. package/src/projection/experimental/crs/projjson.ts +12 -0
  2758. package/src/projection/experimental/crs/resolve.ts +78 -0
  2759. package/src/projection/experimental/crs/spatial-reference.ts +120 -0
  2760. package/src/projection/experimental/crs/structured.ts +580 -0
  2761. package/src/projection/experimental/crs/types.ts +97 -0
  2762. package/src/projection/experimental/crs/wkt.ts +201 -0
  2763. package/src/projection/experimental/crs-descriptor.ts +256 -0
  2764. package/src/projection/experimental/crs-rendering-scale.ts +115 -0
  2765. package/src/projection/experimental/datum.ts +185 -0
  2766. package/src/projection/experimental/deformation-inverse.ts +125 -0
  2767. package/src/projection/experimental/deformation.ts +30 -0
  2768. package/src/projection/experimental/ellipsoidal-gnomonic.ts +83 -0
  2769. package/src/projection/experimental/engine-options.ts +36 -0
  2770. package/src/projection/experimental/entries/projections/aea.ts +5 -0
  2771. package/src/projection/experimental/entries/projections/aeqd.ts +5 -0
  2772. package/src/projection/experimental/entries/projections/bonne.ts +5 -0
  2773. package/src/projection/experimental/entries/projections/cass.ts +5 -0
  2774. package/src/projection/experimental/entries/projections/cea.ts +5 -0
  2775. package/src/projection/experimental/entries/projections/eck6.ts +5 -0
  2776. package/src/projection/experimental/entries/projections/eqc.ts +5 -0
  2777. package/src/projection/experimental/entries/projections/eqdc.ts +5 -0
  2778. package/src/projection/experimental/entries/projections/eqearth.ts +5 -0
  2779. package/src/projection/experimental/entries/projections/equi.ts +5 -0
  2780. package/src/projection/experimental/entries/projections/etmerc.ts +5 -0
  2781. package/src/projection/experimental/entries/projections/geocent.ts +5 -0
  2782. package/src/projection/experimental/entries/projections/geos.ts +5 -0
  2783. package/src/projection/experimental/entries/projections/gnom.ts +5 -0
  2784. package/src/projection/experimental/entries/projections/gstmerc.ts +5 -0
  2785. package/src/projection/experimental/entries/projections/krovak.ts +5 -0
  2786. package/src/projection/experimental/entries/projections/laea.ts +5 -0
  2787. package/src/projection/experimental/entries/projections/lcc.ts +5 -0
  2788. package/src/projection/experimental/entries/projections/merc.ts +5 -0
  2789. package/src/projection/experimental/entries/projections/mill.ts +5 -0
  2790. package/src/projection/experimental/entries/projections/moll.ts +5 -0
  2791. package/src/projection/experimental/entries/projections/nzmg.ts +5 -0
  2792. package/src/projection/experimental/entries/projections/ob_tran.ts +5 -0
  2793. package/src/projection/experimental/entries/projections/omerc.ts +5 -0
  2794. package/src/projection/experimental/entries/projections/ortho.ts +5 -0
  2795. package/src/projection/experimental/entries/projections/poly.ts +5 -0
  2796. package/src/projection/experimental/entries/projections/qsc.ts +5 -0
  2797. package/src/projection/experimental/entries/projections/robin.ts +5 -0
  2798. package/src/projection/experimental/entries/projections/sinu.ts +5 -0
  2799. package/src/projection/experimental/entries/projections/somerc.ts +5 -0
  2800. package/src/projection/experimental/entries/projections/stere.ts +5 -0
  2801. package/src/projection/experimental/entries/projections/sterea.ts +5 -0
  2802. package/src/projection/experimental/entries/projections/tmerc.ts +5 -0
  2803. package/src/projection/experimental/entries/projections/tpers.ts +5 -0
  2804. package/src/projection/experimental/entries/projections/utm.ts +5 -0
  2805. package/src/projection/experimental/entries/projections/vandg.ts +5 -0
  2806. package/src/projection/experimental/exact-helmert.ts +58 -0
  2807. package/src/projection/experimental/flat-projection.ts +80 -0
  2808. package/src/projection/experimental/grids/geotiff.ts +88 -0
  2809. package/src/projection/experimental/grids/grid.ts +141 -0
  2810. package/src/projection/experimental/grids/gtx.ts +31 -0
  2811. package/src/projection/experimental/grids/ntv2.ts +71 -0
  2812. package/src/projection/experimental/grids/scalar-geotiff.ts +231 -0
  2813. package/src/projection/experimental/grids/types.ts +35 -0
  2814. package/src/projection/experimental/grids/velocity-geotiff.ts +82 -0
  2815. package/src/projection/experimental/grids/velocity.ts +58 -0
  2816. package/src/projection/experimental/grids/vertical-geotiff.ts +28 -0
  2817. package/src/projection/experimental/grids/vertical.ts +99 -0
  2818. package/src/projection/experimental/helmert-flat.ts +76 -0
  2819. package/src/projection/experimental/index.ts +59 -0
  2820. package/src/projection/experimental/inverse-spherical-latitude.ts +19 -0
  2821. package/src/projection/experimental/kernel.ts +142 -0
  2822. package/src/projection/experimental/kernels/aea.ts +149 -0
  2823. package/src/projection/experimental/kernels/aeqd.ts +171 -0
  2824. package/src/projection/experimental/kernels/bonne.ts +141 -0
  2825. package/src/projection/experimental/kernels/cass.ts +140 -0
  2826. package/src/projection/experimental/kernels/cea.ts +71 -0
  2827. package/src/projection/experimental/kernels/eck6.ts +36 -0
  2828. package/src/projection/experimental/kernels/eqdc.ts +137 -0
  2829. package/src/projection/experimental/kernels/eqearth.ts +146 -0
  2830. package/src/projection/experimental/kernels/equi.ts +55 -0
  2831. package/src/projection/experimental/kernels/etmerc.ts +190 -0
  2832. package/src/projection/experimental/kernels/gauss.ts +79 -0
  2833. package/src/projection/experimental/kernels/geos.ts +183 -0
  2834. package/src/projection/experimental/kernels/gnom.ts +123 -0
  2835. package/src/projection/experimental/kernels/gstmerc.ts +74 -0
  2836. package/src/projection/experimental/kernels/krovak.ts +166 -0
  2837. package/src/projection/experimental/kernels/laea.ts +320 -0
  2838. package/src/projection/experimental/kernels/lcc.ts +141 -0
  2839. package/src/projection/experimental/kernels/mill.ts +60 -0
  2840. package/src/projection/experimental/kernels/moll.ts +109 -0
  2841. package/src/projection/experimental/kernels/nzmg.ts +249 -0
  2842. package/src/projection/experimental/kernels/omerc.ts +343 -0
  2843. package/src/projection/experimental/kernels/ortho.ts +52 -0
  2844. package/src/projection/experimental/kernels/poly.ts +217 -0
  2845. package/src/projection/experimental/kernels/qsc.ts +359 -0
  2846. package/src/projection/experimental/kernels/robin.ts +189 -0
  2847. package/src/projection/experimental/kernels/sinu.ts +118 -0
  2848. package/src/projection/experimental/kernels/somerc.ts +102 -0
  2849. package/src/projection/experimental/kernels/stere.ts +249 -0
  2850. package/src/projection/experimental/kernels/sterea.ts +82 -0
  2851. package/src/projection/experimental/kernels/tmerc.ts +227 -0
  2852. package/src/projection/experimental/kernels/tpers.ts +187 -0
  2853. package/src/projection/experimental/kernels/vandg.ts +147 -0
  2854. package/src/projection/experimental/kinematic-helmert-flat.ts +85 -0
  2855. package/src/projection/experimental/kinematic-helmert.ts +132 -0
  2856. package/src/projection/experimental/lazy-projection.ts +190 -0
  2857. package/src/projection/experimental/lazy-projections/aea.ts +10 -0
  2858. package/src/projection/experimental/lazy-projections/aeqd.ts +12 -0
  2859. package/src/projection/experimental/lazy-projections/bonne.ts +10 -0
  2860. package/src/projection/experimental/lazy-projections/cass.ts +10 -0
  2861. package/src/projection/experimental/lazy-projections/cea.ts +12 -0
  2862. package/src/projection/experimental/lazy-projections/eck6.ts +10 -0
  2863. package/src/projection/experimental/lazy-projections/eqc.ts +15 -0
  2864. package/src/projection/experimental/lazy-projections/eqdc.ts +11 -0
  2865. package/src/projection/experimental/lazy-projections/eqearth.ts +10 -0
  2866. package/src/projection/experimental/lazy-projections/equi.ts +10 -0
  2867. package/src/projection/experimental/lazy-projections/etmerc.ts +12 -0
  2868. package/src/projection/experimental/lazy-projections/geocent.ts +10 -0
  2869. package/src/projection/experimental/lazy-projections/geos.ts +10 -0
  2870. package/src/projection/experimental/lazy-projections/gnom.ts +10 -0
  2871. package/src/projection/experimental/lazy-projections/gstmerc.ts +13 -0
  2872. package/src/projection/experimental/lazy-projections/index.ts +41 -0
  2873. package/src/projection/experimental/lazy-projections/krovak.ts +18 -0
  2874. package/src/projection/experimental/lazy-projections/laea.ts +12 -0
  2875. package/src/projection/experimental/lazy-projections/lcc.ts +22 -0
  2876. package/src/projection/experimental/lazy-projections/merc.ts +19 -0
  2877. package/src/projection/experimental/lazy-projections/mill.ts +11 -0
  2878. package/src/projection/experimental/lazy-projections/moll.ts +10 -0
  2879. package/src/projection/experimental/lazy-projections/nzmg.ts +11 -0
  2880. package/src/projection/experimental/lazy-projections/ob_tran.ts +25 -0
  2881. package/src/projection/experimental/lazy-projections/omerc.ts +22 -0
  2882. package/src/projection/experimental/lazy-projections/ortho.ts +10 -0
  2883. package/src/projection/experimental/lazy-projections/poly.ts +10 -0
  2884. package/src/projection/experimental/lazy-projections/qsc.ts +16 -0
  2885. package/src/projection/experimental/lazy-projections/robin.ts +10 -0
  2886. package/src/projection/experimental/lazy-projections/sinu.ts +10 -0
  2887. package/src/projection/experimental/lazy-projections/somerc.ts +12 -0
  2888. package/src/projection/experimental/lazy-projections/stere.ts +18 -0
  2889. package/src/projection/experimental/lazy-projections/sterea.ts +20 -0
  2890. package/src/projection/experimental/lazy-projections/tmerc.ts +22 -0
  2891. package/src/projection/experimental/lazy-projections/tpers.ts +11 -0
  2892. package/src/projection/experimental/lazy-projections/utm.ts +12 -0
  2893. package/src/projection/experimental/lazy-projections/vandg.ts +10 -0
  2894. package/src/projection/experimental/mutable-projection.ts +63 -0
  2895. package/src/projection/experimental/numeric-flat.ts +73 -0
  2896. package/src/projection/experimental/parameters.ts +36 -0
  2897. package/src/projection/experimental/projection-descriptor.ts +79 -0
  2898. package/src/projection/experimental/projection-engine.ts +62 -0
  2899. package/src/projection/experimental/projection-pipeline.ts +1047 -0
  2900. package/src/projection/experimental/projection-scratch.ts +26 -0
  2901. package/src/projection/experimental/projections/aea.ts +41 -0
  2902. package/src/projection/experimental/projections/aeqd.ts +27 -0
  2903. package/src/projection/experimental/projections/bonne.ts +38 -0
  2904. package/src/projection/experimental/projections/cass.ts +39 -0
  2905. package/src/projection/experimental/projections/cea.ts +31 -0
  2906. package/src/projection/experimental/projections/eck6.ts +30 -0
  2907. package/src/projection/experimental/projections/eqdc.ts +40 -0
  2908. package/src/projection/experimental/projections/eqearth.ts +72 -0
  2909. package/src/projection/experimental/projections/equi.ts +31 -0
  2910. package/src/projection/experimental/projections/equidistant-cylindrical.ts +80 -0
  2911. package/src/projection/experimental/projections/geocentric.ts +42 -0
  2912. package/src/projection/experimental/projections/geos.ts +46 -0
  2913. package/src/projection/experimental/projections/gnom.ts +51 -0
  2914. package/src/projection/experimental/projections/gstmerc.ts +43 -0
  2915. package/src/projection/experimental/projections/krovak.ts +61 -0
  2916. package/src/projection/experimental/projections/laea.ts +39 -0
  2917. package/src/projection/experimental/projections/lcc.ts +67 -0
  2918. package/src/projection/experimental/projections/mercator.ts +151 -0
  2919. package/src/projection/experimental/projections/mill.ts +30 -0
  2920. package/src/projection/experimental/projections/moll.ts +30 -0
  2921. package/src/projection/experimental/projections/nzmg.ts +47 -0
  2922. package/src/projection/experimental/projections/ob-tran.ts +279 -0
  2923. package/src/projection/experimental/projections/omerc.ts +86 -0
  2924. package/src/projection/experimental/projections/ortho.ts +34 -0
  2925. package/src/projection/experimental/projections/poly.ts +40 -0
  2926. package/src/projection/experimental/projections/qsc.ts +84 -0
  2927. package/src/projection/experimental/projections/robin.ts +30 -0
  2928. package/src/projection/experimental/projections/sinu.ts +30 -0
  2929. package/src/projection/experimental/projections/somerc.ts +39 -0
  2930. package/src/projection/experimental/projections/stere.ts +59 -0
  2931. package/src/projection/experimental/projections/sterea.ts +61 -0
  2932. package/src/projection/experimental/projections/tpers.ts +59 -0
  2933. package/src/projection/experimental/projections/transverse-mercator.ts +89 -0
  2934. package/src/projection/experimental/projections/utm.ts +50 -0
  2935. package/src/projection/experimental/projections/vandg.ts +30 -0
  2936. package/src/projection/experimental/rendering-profile/angular-rendering-profile.ts +117 -0
  2937. package/src/projection/experimental/rendering-profile/azimuthal-rendering-bounds.ts +251 -0
  2938. package/src/projection/experimental/rendering-profile/geographic-bounds.ts +190 -0
  2939. package/src/projection/experimental/rendering-profile/geographic-rendering-profile.ts +29 -0
  2940. package/src/projection/experimental/rendering-profile/geostationary-rendering-profile.ts +128 -0
  2941. package/src/projection/experimental/rendering-profile/identity-rendering-profile.ts +15 -0
  2942. package/src/projection/experimental/rendering-profile/rectangular-rendering-profile.ts +133 -0
  2943. package/src/projection/experimental/rendering-profile/regional-rendering-bounds.ts +252 -0
  2944. package/src/projection/experimental/rendering-profile/rendering-bounds.ts +163 -0
  2945. package/src/projection/experimental/rendering-profile/rendering-profile.ts +96 -0
  2946. package/src/projection/experimental/rendering-profile/spherical-rendering-domain.ts +175 -0
  2947. package/src/projection/experimental/scalar-output.ts +77 -0
  2948. package/src/projection/experimental/spatial-deformation.ts +115 -0
  2949. package/src/projection/experimental/transform-description.ts +82 -0
  2950. package/src/projection/experimental/types.ts +122 -0
  2951. package/src/projection/experimental/typescript-projection.ts +629 -0
  2952. package/src/projection/experimental/vertical-datum.ts +39 -0
  2953. package/src/projection/grids/velocity.ts +5 -0
  2954. package/src/projection/index.ts +6 -0
  2955. package/src/projection/lib/projection.ts +161 -0
  2956. package/src/projection/numerical-derivative.ts +50 -0
  2957. package/src/projection/operations.ts +479 -0
  2958. package/src/projection/pipeline.ts +4 -0
  2959. package/src/projection/temporal.ts +133 -0
  2960. package/src/projection/transform-analysis.ts +169 -0
  2961. package/src/projection/transform-description.ts +69 -0
  2962. package/src/projection/types.ts +94 -0
  2963. package/src/projection/web-mercator.ts +148 -0
  2964. package/src/rhumb-path.ts +128 -0
  2965. package/src/rhumb-polygon.ts +24 -0
  2966. package/src/subdivide-geodesic-polyline.ts +74 -0
  2967. package/src/subdivide-globe-mesh.ts +75 -0
  2968. package/src/subdivide-rhumb-polyline.ts +108 -0
  2969. package/src/tasks/definitions.ts +89 -0
  2970. package/src/tasks/index.ts +73 -0
  2971. package/src/tasks/map-worker.ts +6 -0
  2972. package/src/tasks/operations.ts +77 -0
  2973. package/src/tasks/projection-worker.ts +6 -0
  2974. package/src/tasks/terrain-coverage-worker.ts +6 -0
  2975. package/src/tasks/terrain-coverage.ts +25 -0
  2976. package/src/tasks/terrain-residency-worker.ts +6 -0
  2977. package/src/tasks/terrain-residency.ts +185 -0
  2978. package/src/terrain/adaptive-mesh-types.ts +25 -0
  2979. package/src/terrain/bounds-regions.ts +106 -0
  2980. package/src/terrain/bounds-update.ts +19 -0
  2981. package/src/terrain/bounds.ts +189 -0
  2982. package/src/terrain/box-index.ts +47 -0
  2983. package/src/terrain/breakline-mesh.ts +164 -0
  2984. package/src/terrain/breakline-preprocess.ts +106 -0
  2985. package/src/terrain/cdt2d.d.ts +10 -0
  2986. package/src/terrain/continuous-mesh-error.ts +321 -0
  2987. package/src/terrain/contour-boundary-diagnostics.ts +90 -0
  2988. package/src/terrain/contour-mixed-weld.ts +254 -0
  2989. package/src/terrain/contour-path-data.ts +106 -0
  2990. package/src/terrain/contour-paths.ts +107 -0
  2991. package/src/terrain/contour-simplify.ts +197 -0
  2992. package/src/terrain/contour-tile-paths.ts +20 -0
  2993. package/src/terrain/contour-tile-weld.ts +182 -0
  2994. package/src/terrain/contour-topology.ts +263 -0
  2995. package/src/terrain/contours.ts +180 -0
  2996. package/src/terrain/delatin-regions.ts +25 -0
  2997. package/src/terrain/delatin.ts +82 -0
  2998. package/src/terrain/derivatives.ts +100 -0
  2999. package/src/terrain/dirty-regions.ts +61 -0
  3000. package/src/terrain/filtered-pyramid.ts +95 -0
  3001. package/src/terrain/geographic-lod-seams.ts +109 -0
  3002. package/src/terrain/geographic-neighbor.ts +58 -0
  3003. package/src/terrain/geographic-poles.ts +52 -0
  3004. package/src/terrain/geographic-seam.ts +73 -0
  3005. package/src/terrain/geographic.ts +131 -0
  3006. package/src/terrain/geometry.ts +128 -0
  3007. package/src/terrain/gradient-pyramid-regions.ts +140 -0
  3008. package/src/terrain/gradient-pyramid-update.ts +25 -0
  3009. package/src/terrain/gradient-pyramid.ts +129 -0
  3010. package/src/terrain/height-field.ts +401 -0
  3011. package/src/terrain/index.ts +244 -0
  3012. package/src/terrain/isobands-mixed.ts +49 -0
  3013. package/src/terrain/isobands.ts +348 -0
  3014. package/src/terrain/lod-coordinate.ts +57 -0
  3015. package/src/terrain/lod-morph-evaluate.ts +36 -0
  3016. package/src/terrain/lod-morph.ts +138 -0
  3017. package/src/terrain/lod-select.ts +95 -0
  3018. package/src/terrain/lod-stitch.ts +88 -0
  3019. package/src/terrain/martini-regions.ts +38 -0
  3020. package/src/terrain/martini.ts +77 -0
  3021. package/src/terrain/mesh-coverage.ts +215 -0
  3022. package/src/terrain/mesh-data.ts +111 -0
  3023. package/src/terrain/mesh-edges.ts +27 -0
  3024. package/src/terrain/mesh-error.ts +171 -0
  3025. package/src/terrain/mesh-regions-data.ts +121 -0
  3026. package/src/terrain/mesh-regions.ts +18 -0
  3027. package/src/terrain/mesh-skirts.ts +166 -0
  3028. package/src/terrain/mesh-stitch.ts +345 -0
  3029. package/src/terrain/mesh-update.ts +15 -0
  3030. package/src/terrain/mesh.ts +49 -0
  3031. package/src/terrain/mixed-gradient-update.ts +40 -0
  3032. package/src/terrain/mixed-halo-update.ts +144 -0
  3033. package/src/terrain/mixed-surface.ts +232 -0
  3034. package/src/terrain/mixed-vertex-halos.ts +224 -0
  3035. package/src/terrain/packed.ts +172 -0
  3036. package/src/terrain/persistent-bounds.ts +95 -0
  3037. package/src/terrain/persistent-gradients.ts +117 -0
  3038. package/src/terrain/persistent-hierarchy-data.ts +196 -0
  3039. package/src/terrain/profile-horizon.ts +86 -0
  3040. package/src/terrain/profile-measure.ts +146 -0
  3041. package/src/terrain/profile-slope.ts +32 -0
  3042. package/src/terrain/profile-viewshed.ts +57 -0
  3043. package/src/terrain/profile-visibility.ts +81 -0
  3044. package/src/terrain/profile.ts +111 -0
  3045. package/src/terrain/sample-triangle-height.ts +50 -0
  3046. package/src/terrain/slope-aspect.ts +74 -0
  3047. package/src/terrain/surface.ts +511 -0
  3048. package/src/terrain/sweep-capsule.ts +148 -0
  3049. package/src/terrain/sweep-cylinder.ts +64 -0
  3050. package/src/terrain/sweep-plane.ts +61 -0
  3051. package/src/terrain/sweep-polytope.ts +229 -0
  3052. package/src/terrain/sweep-sphere.ts +100 -0
  3053. package/src/terrain/tile-update-data.ts +32 -0
  3054. package/src/terrain/tiled.ts +501 -0
  3055. package/src/terrain/types.ts +73 -0
  3056. package/src/terrain/valid-domain-mesh.ts +221 -0
  3057. package/src/terrain/valid-domain-regions.ts +41 -0
  3058. package/src/terrain/vendor/DELATIN-LICENSE.txt +17 -0
  3059. package/src/terrain/vendor/delatin.js +491 -0
  3060. package/src/terrain/vertex-halo-invalidation.ts +57 -0
  3061. package/src/terrain/vertex-halo-update.ts +91 -0
  3062. package/src/terrain/vertex-halos.ts +101 -0
  3063. package/src/terrain/vertex-tiles.ts +160 -0
  3064. package/src/tile-matrix.ts +589 -0
  3065. package/src/tiles.ts +32 -0
  3066. package/src/triaxial/integrate.ts +82 -0
  3067. package/src/triaxial.ts +195 -0
  3068. package/src/turf/expressions.ts +97 -0
  3069. package/src/turf.ts +1290 -0
  3070. package/src/type-utils.ts +31 -3
  3071. package/src/vendor/geographiclib-geodesic/runtime.js +2339 -0
  3072. package/src/web-mercator.ts +5 -0
@@ -0,0 +1,2245 @@
1
+ // math.gl
2
+ // SPDX-License-Identifier: MIT
3
+ // SPDX-FileCopyrightText: Copyright (c) 2011-2022 Charles Karney
4
+ // SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
5
+ // SPDX-FileComment: Original math.gl follow-up evaluates short-edge cosine-series differences without cancellation; qualified by independent Decimal small-area controls. GeographicLib geodesic Math.js, Geodesic.js and GeodesicLine.js, pinned at 9c4036d6242aa997e08e43a20df789e2007fbe6f. Combined into an ESM module; version template fields set to 2.2.0. See ../../../GEOGRAPHICLIB-LICENSE.txt.
6
+ /*
7
+ * Math.js
8
+ * Transcription of Math.hpp, Constants.hpp, and Accumulator.hpp into
9
+ * JavaScript.
10
+ *
11
+ * Copyright (c) Charles Karney (2011-2021) <karney@alum.mit.edu> and licensed
12
+ * under the MIT/X11 License. For more information, see
13
+ * https://geographiclib.sourceforge.io/
14
+ */
15
+ /**
16
+ * @namespace geodesic
17
+ * @description The parent namespace for the following modules:
18
+ * - {@link module:geodesic/Geodesic geodesic/Geodesic} The main
19
+ * engine for solving geodesic problems via the
20
+ * {@link module:geodesic/Geodesic.Geodesic Geodesic} class.
21
+ * - {@link module:geodesic/GeodesicLine geodesic/GeodesicLine}
22
+ * computes points along a single geodesic line via the
23
+ * {@link module:geodesic/GeodesicLine.GeodesicLine GeodesicLine}
24
+ * class.
25
+ * - {@link module:geodesic/PolygonArea geodesic/PolygonArea}
26
+ * computes the area of a geodesic polygon via the
27
+ * {@link module:geodesic/PolygonArea.PolygonArea PolygonArea}
28
+ * class.
29
+ * - {@link module:geodesic/Constants geodesic/Constants} defines
30
+ * constants specifying the version numbers and the parameters for the WGS84
31
+ * ellipsoid.
32
+ *
33
+ * The following modules are used internally by the package:
34
+ * - {@link module:geodesic/Math geodesic/Math} defines various
35
+ * mathematical functions.
36
+ * - {@link module:geodesic/Accumulator geodesic/Accumulator}
37
+ * interally used by
38
+ * {@link module:geodesic/PolygonArea.PolygonArea PolygonArea} (via the
39
+ * {@link module:geodesic/Accumulator.Accumulator Accumulator} class)
40
+ * for summing the contributions to the area of a polygon.
41
+ */
42
+ // To allow swap via [y, x] = [x, y]
43
+ /* jshint esversion: 6 */
44
+ var geodesic = {};
45
+ geodesic.Constants = {};
46
+ geodesic.Math = {};
47
+ geodesic.Accumulator = {};
48
+ (function (
49
+ /**
50
+ * @exports geodesic/Constants
51
+ * @description Define constants defining the version and WGS84 parameters.
52
+ */
53
+ c) {
54
+ "use strict";
55
+ /**
56
+ * @constant
57
+ * @summary WGS84 parameters.
58
+ * @property {number} a the equatorial radius (meters).
59
+ * @property {number} f the flattening.
60
+ */
61
+ c.WGS84 = { a: 6378137, f: 1 / 298.257223563 };
62
+ /**
63
+ * @constant
64
+ * @summary an array of version numbers.
65
+ * @property {number} major the major version number.
66
+ * @property {number} minor the minor version number.
67
+ * @property {number} patch the patch number.
68
+ */
69
+ c.version = { major: 2,
70
+ minor: 2,
71
+ patch: 0 };
72
+ /**
73
+ * @constant
74
+ * @summary version string
75
+ */
76
+ c.version_string = "2.2.0";
77
+ })(geodesic.Constants);
78
+ (function (
79
+ /**
80
+ * @exports geodesic/Math
81
+ * @description Some useful mathematical constants and functions (mainly for
82
+ * internal use).
83
+ */
84
+ m) {
85
+ "use strict";
86
+ /**
87
+ * @summary The number of digits of precision in floating-point numbers.
88
+ * @constant {number}
89
+ */
90
+ m.digits = 53;
91
+ /**
92
+ * @summary The machine epsilon.
93
+ * @constant {number}
94
+ */
95
+ m.epsilon = Math.pow(0.5, m.digits - 1);
96
+ /**
97
+ * @summary The factor to convert degrees to radians.
98
+ * @constant {number}
99
+ */
100
+ m.degree = Math.PI / 180;
101
+ /**
102
+ * @summary Square a number.
103
+ * @param {number} x the number.
104
+ * @return {number} the square.
105
+ */
106
+ m.sq = function (x) { return x * x; };
107
+ /**
108
+ * @summary The hypotenuse function.
109
+ * @param {number} x the first side.
110
+ * @param {number} y the second side.
111
+ * @return {number} the hypotenuse.
112
+ */
113
+ m.hypot = function (x, y) {
114
+ // Built in Math.hypot give incorrect results from GeodSolve92.
115
+ return Math.sqrt(x * x + y * y);
116
+ };
117
+ /**
118
+ * @summary Cube root function.
119
+ * @param {number} x the argument.
120
+ * @return {number} the real cube root.
121
+ */
122
+ m.cbrt = Math.cbrt || function (x) {
123
+ var y = Math.pow(Math.abs(x), 1 / 3);
124
+ return x > 0 ? y : (x < 0 ? -y : x);
125
+ };
126
+ /**
127
+ * @summary The log1p function.
128
+ * @param {number} x the argument.
129
+ * @return {number} log(1 + x).
130
+ */
131
+ m.log1p = Math.log1p || function (x) {
132
+ var y = 1 + x, z = y - 1;
133
+ // Here's the explanation for this magic: y = 1 + z, exactly, and z
134
+ // approx x, thus log(y)/z (which is nearly constant near z = 0) returns
135
+ // a good approximation to the true log(1 + x)/x. The multiplication x *
136
+ // (log(y)/z) introduces little additional error.
137
+ return z === 0 ? x : x * Math.log(y) / z;
138
+ };
139
+ /**
140
+ * @summary Inverse hyperbolic tangent.
141
+ * @param {number} x the argument.
142
+ * @return {number} tanh<sup>&minus;1</sup> x.
143
+ */
144
+ m.atanh = Math.atanh || function (x) {
145
+ var y = Math.abs(x); // Enforce odd parity
146
+ y = m.log1p(2 * y / (1 - y)) / 2;
147
+ return x > 0 ? y : (x < 0 ? -y : x);
148
+ };
149
+ /**
150
+ * @summary Copy the sign.
151
+ * @param {number} x gives the magitude of the result.
152
+ * @param {number} y gives the sign of the result.
153
+ * @return {number} value with the magnitude of x and with the sign of y.
154
+ */
155
+ m.copysign = function (x, y) {
156
+ return Math.abs(x) * (y < 0 || (y === 0 && 1 / y < 0) ? -1 : 1);
157
+ };
158
+ /**
159
+ * @summary An error-free sum.
160
+ * @param {number} u
161
+ * @param {number} v
162
+ * @return {object} sum with sum.s = round(u + v) and sum.t is u + v &minus;
163
+ * round(u + v)
164
+ */
165
+ m.sum = function (u, v) {
166
+ var s = u + v, up = s - v, vpp = s - up, t;
167
+ up -= u;
168
+ vpp -= v;
169
+ // if s = 0, then t = 0 and give t the same sign as s
170
+ t = s ? 0 - (up + vpp) : s;
171
+ // u + v = s + t
172
+ // = round(u + v) + t
173
+ return { s: s, t: t };
174
+ };
175
+ /**
176
+ * @summary Evaluate a polynomial.
177
+ * @param {integer} N the order of the polynomial.
178
+ * @param {array} p the coefficient array (of size N + 1) (leading
179
+ * order coefficient first)
180
+ * @param {number} x the variable.
181
+ * @return {number} the value of the polynomial.
182
+ */
183
+ m.polyval = function (N, p, s, x) {
184
+ var y = N < 0 ? 0 : p[s++];
185
+ while (--N >= 0)
186
+ y = y * x + p[s++];
187
+ return y;
188
+ };
189
+ /**
190
+ * @summary Coarsen a value close to zero.
191
+ * @param {number} x
192
+ * @return {number} the coarsened value.
193
+ */
194
+ m.AngRound = function (x) {
195
+ // The makes the smallest gap in x = 1/16 - nextafter(1/16, 0) = 1/2^57 for
196
+ // reals = 0.7 pm on the earth if x is an angle in degrees. (This is about
197
+ // 1000 times more resolution than we get with angles around 90 degrees.)
198
+ // We use this to avoid having to deal with near singular cases when x is
199
+ // non-zero but tiny (e.g., 1.0e-200). This converts -0 to +0; however
200
+ // tiny negative numbers get converted to -0.
201
+ var z = 1 / 16, y = Math.abs(x);
202
+ // The compiler mustn't "simplify" z - (z - y) to y
203
+ y = y < z ? z - (z - y) : y;
204
+ return m.copysign(y, x);
205
+ };
206
+ /**
207
+ * @summary The remainder function.
208
+ * @param {number} x the numerator of the division
209
+ * @param {number} y the denominator of the division
210
+ * @return {number} the remainder in the range [&minus;y/2, y/2].
211
+ * <p>
212
+ * The range of x is unrestricted; y must be positive.
213
+ */
214
+ m.remainder = function (x, y) {
215
+ x %= y;
216
+ return x < -y / 2 ? x + y : (x < y / 2 ? x : x - y);
217
+ };
218
+ /**
219
+ * @summary Normalize an angle.
220
+ * @param {number} x the angle in degrees.
221
+ * @return {number} the angle reduced to the range [&minus;180&deg;,
222
+ * 180&deg;].
223
+ *
224
+ * The range of x is unrestricted. If the result is &plusmn;0&deg; or
225
+ * &plusmn;180&deg; then the sign is the sign of \e x.
226
+ */
227
+ m.AngNormalize = function (x) {
228
+ // Place angle in [-180, 180].
229
+ var y = m.remainder(x, 360);
230
+ return Math.abs(y) === 180 ? m.copysign(180, x) : y;
231
+ };
232
+ /**
233
+ * @summary Normalize a latitude.
234
+ * @param {number} x the angle in degrees.
235
+ * @return {number} x if it is in the range [&minus;90&deg;, 90&deg;],
236
+ * otherwise return NaN.
237
+ */
238
+ m.LatFix = function (x) {
239
+ // Replace angle with NaN if outside [-90, 90].
240
+ return Math.abs(x) > 90 ? NaN : x;
241
+ };
242
+ /**
243
+ * @summary The exact difference of two angles reduced to [&minus;180&deg;,
244
+ * 180&deg;]
245
+ * @param {number} x the first angle in degrees.
246
+ * @param {number} y the second angle in degrees.
247
+ * @return {object} diff the exact difference, diff.d + diff.e = y &minus; x
248
+ * mod 360&deg;.
249
+ *
250
+ * This computes z = y &minus; x exactly, reduced to
251
+ * [&minus;180&deg;, 180&deg;]; and then sets z = d + e where d
252
+ * is the nearest representable number to z and e is the truncation
253
+ * error. If z = &plusmn;0&deg; or &plusmn;180&deg;, then the sign of
254
+ * d is given by the sign of y &minus; x. The maximum absolute
255
+ * value of e is 2<sup>&minus;26</sup> (for doubles).
256
+ */
257
+ m.AngDiff = function (x, y) {
258
+ // Compute y - x and reduce to [-180,180] accurately.
259
+ var r = m.sum(m.remainder(-x, 360), m.remainder(y, 360)), d, e;
260
+ r = m.sum(m.remainder(r.s, 360), r.t);
261
+ d = r.s;
262
+ e = r.t;
263
+ // Fix the sign if d = -180, 0, 180.
264
+ if (d === 0 || Math.abs(d) === 180)
265
+ // If e == 0, take sign from y - x
266
+ // else (e != 0, implies d = +/-180), d and e must have opposite signs
267
+ d = m.copysign(d, e === 0 ? y - x : -e);
268
+ return { d: d, e: e };
269
+ };
270
+ /**
271
+ * @summary Evaluate the sine and cosine function with the argument in
272
+ * degrees
273
+ * @param {number} x in degrees.
274
+ * @return {object} r with r.s = sin(x) and r.c = cos(x).
275
+ */
276
+ m.sincosd = function (x) {
277
+ // In order to minimize round-off errors, this function exactly reduces
278
+ // the argument to the range [-45, 45] before converting it to radians.
279
+ var d, r, q, s, c, sinx, cosx;
280
+ d = x % 360;
281
+ q = Math.round(d / 90); // If d is NaN this returns NaN
282
+ d -= 90 * q;
283
+ // now abs(d) <= 45
284
+ r = d * this.degree;
285
+ // Possibly could call the gnu extension sincos
286
+ s = Math.sin(r);
287
+ c = Math.cos(r);
288
+ if (Math.abs(d) === 45) {
289
+ c = Math.sqrt(0.5);
290
+ s = m.copysign(c, r);
291
+ }
292
+ else if (Math.abs(d) === 30) {
293
+ c = Math.sqrt(0.75);
294
+ s = m.copysign(0.5, r);
295
+ }
296
+ switch (q & 3) {
297
+ case 0:
298
+ sinx = s;
299
+ cosx = c;
300
+ break;
301
+ case 1:
302
+ sinx = c;
303
+ cosx = -s;
304
+ break;
305
+ case 2:
306
+ sinx = -s;
307
+ cosx = -c;
308
+ break;
309
+ default:
310
+ sinx = -c;
311
+ cosx = s;
312
+ break; // case 3
313
+ }
314
+ cosx += 0;
315
+ if (sinx === 0)
316
+ sinx = m.copysign(sinx, x);
317
+ return { s: sinx, c: cosx };
318
+ };
319
+ /**
320
+ * @summary Evaluate the sine and cosine with reduced argument plus correction
321
+ *
322
+ * @param {number} x reduced angle in degrees.
323
+ * @param {number} t correction in degrees.
324
+ * @return {object} r with r.s = sin(x + t) and r.c = cos(x + t).
325
+ */
326
+ m.sincosde = function (x, t) {
327
+ // In order to minimize round-off errors, this function exactly reduces
328
+ // the argument to the range [-45, 45] before converting it to radians.
329
+ var d, r, q, s, c, sinx, cosx;
330
+ d = x % 360;
331
+ q = Math.round(d / 90); // If d is NaN this returns NaN
332
+ d = m.AngRound((d - 90 * q) + t);
333
+ // now abs(d) <= 45
334
+ r = d * this.degree;
335
+ // Possibly could call the gnu extension sincos
336
+ s = Math.sin(r);
337
+ c = Math.cos(r);
338
+ if (Math.abs(d) === 45) {
339
+ c = Math.sqrt(0.5);
340
+ s = m.copysign(c, r);
341
+ }
342
+ else if (Math.abs(d) === 30) {
343
+ c = Math.sqrt(0.75);
344
+ s = m.copysign(0.5, r);
345
+ }
346
+ switch (q & 3) {
347
+ case 0:
348
+ sinx = s;
349
+ cosx = c;
350
+ break;
351
+ case 1:
352
+ sinx = c;
353
+ cosx = -s;
354
+ break;
355
+ case 2:
356
+ sinx = -s;
357
+ cosx = -c;
358
+ break;
359
+ default:
360
+ sinx = -c;
361
+ cosx = s;
362
+ break; // case 3
363
+ }
364
+ cosx += 0;
365
+ if (sinx === 0)
366
+ sinx = m.copysign(sinx, x + t);
367
+ return { s: sinx, c: cosx };
368
+ };
369
+ /**
370
+ * @summary Evaluate the atan2 function with the result in degrees
371
+ * @param {number} y
372
+ * @param {number} x
373
+ * @return atan2(y, x) in degrees, in the range [&minus;180&deg;
374
+ * 180&deg;].
375
+ */
376
+ m.atan2d = function (y, x) {
377
+ // In order to minimize round-off errors, this function rearranges the
378
+ // arguments so that result of atan2 is in the range [-pi/4, pi/4] before
379
+ // converting it to degrees and mapping the result to the correct
380
+ // quadrant.
381
+ var q = 0, ang;
382
+ if (Math.abs(y) > Math.abs(x)) {
383
+ [y, x] = [x, y];
384
+ q = 2;
385
+ } // swap(x, y)
386
+ if (m.copysign(1, x) < 0) {
387
+ x = -x;
388
+ ++q;
389
+ }
390
+ // here x >= 0 and x >= abs(y), so angle is in [-pi/4, pi/4]
391
+ ang = Math.atan2(y, x) / this.degree;
392
+ switch (q) {
393
+ // Note that atan2d(-0.0, 1.0) will return -0. However, we expect that
394
+ // atan2d will not be called with y = -0. If need be, include
395
+ //
396
+ // case 0: ang = 0 + ang; break;
397
+ //
398
+ // and handle mpfr as in AngRound.
399
+ case 1:
400
+ ang = m.copysign(180, y) - ang;
401
+ break;
402
+ case 2:
403
+ ang = 90 - ang;
404
+ break;
405
+ case 3:
406
+ ang = -90 + ang;
407
+ break;
408
+ default: break;
409
+ }
410
+ return ang;
411
+ };
412
+ })(geodesic.Math);
413
+ (function (
414
+ /**
415
+ * @exports geodesic/Accumulator
416
+ * @description Accurate summation via the
417
+ * {@link module:geodesic/Accumulator.Accumulator Accumulator} class
418
+ * (mainly for internal use).
419
+ */
420
+ a, m) {
421
+ "use strict";
422
+ /**
423
+ * @class
424
+ * @summary Accurate summation of many numbers.
425
+ * @classdesc This allows many numbers to be added together with twice the
426
+ * normal precision. In the documentation of the member functions, sum
427
+ * stands for the value currently held in the accumulator.
428
+ * @param {number | Accumulator} [y = 0] set sum = y.
429
+ */
430
+ a.Accumulator = function (y) {
431
+ this.Set(y);
432
+ };
433
+ /**
434
+ * @summary Set the accumulator to a number.
435
+ * @param {number | Accumulator} [y = 0] set sum = y.
436
+ */
437
+ a.Accumulator.prototype.Set = function (y) {
438
+ if (!y)
439
+ y = 0;
440
+ if (y.constructor === a.Accumulator) {
441
+ this._s = y._s;
442
+ this._t = y._t;
443
+ }
444
+ else {
445
+ this._s = y;
446
+ this._t = 0;
447
+ }
448
+ };
449
+ /**
450
+ * @summary Add a number to the accumulator.
451
+ * @param {number} [y = 0] set sum += y.
452
+ */
453
+ a.Accumulator.prototype.Add = function (y) {
454
+ // Here's Shewchuk's solution...
455
+ // Accumulate starting at least significant end
456
+ var u = m.sum(y, this._t), v = m.sum(u.s, this._s);
457
+ u = u.t;
458
+ this._s = v.s;
459
+ this._t = v.t;
460
+ // Start is _s, _t decreasing and non-adjacent. Sum is now (s + t + u)
461
+ // exactly with s, t, u non-adjacent and in decreasing order (except
462
+ // for possible zeros). The following code tries to normalize the
463
+ // result. Ideally, we want _s = round(s+t+u) and _u = round(s+t+u -
464
+ // _s). The follow does an approximate job (and maintains the
465
+ // decreasing non-adjacent property). Here are two "failures" using
466
+ // 3-bit floats:
467
+ //
468
+ // Case 1: _s is not equal to round(s+t+u) -- off by 1 ulp
469
+ // [12, -1] - 8 -> [4, 0, -1] -> [4, -1] = 3 should be [3, 0] = 3
470
+ //
471
+ // Case 2: _s+_t is not as close to s+t+u as it shold be
472
+ // [64, 5] + 4 -> [64, 8, 1] -> [64, 8] = 72 (off by 1)
473
+ // should be [80, -7] = 73 (exact)
474
+ //
475
+ // "Fixing" these problems is probably not worth the expense. The
476
+ // representation inevitably leads to small errors in the accumulated
477
+ // values. The additional errors illustrated here amount to 1 ulp of
478
+ // the less significant word during each addition to the Accumulator
479
+ // and an additional possible error of 1 ulp in the reported sum.
480
+ //
481
+ // Incidentally, the "ideal" representation described above is not
482
+ // canonical, because _s = round(_s + _t) may not be true. For
483
+ // example, with 3-bit floats:
484
+ //
485
+ // [128, 16] + 1 -> [160, -16] -- 160 = round(145).
486
+ // But [160, 0] - 16 -> [128, 16] -- 128 = round(144).
487
+ //
488
+ if (this._s === 0) // This implies t == 0,
489
+ this._s = u; // so result is u
490
+ else
491
+ this._t += u; // otherwise just accumulate u to t.
492
+ };
493
+ /**
494
+ * @summary Return the result of adding a number to sum (but
495
+ * don't change sum).
496
+ * @param {number} [y = 0] the number to be added to the sum.
497
+ * @return sum + y.
498
+ */
499
+ a.Accumulator.prototype.Sum = function (y) {
500
+ var b;
501
+ if (!y)
502
+ return this._s;
503
+ else {
504
+ b = new a.Accumulator(this);
505
+ b.Add(y);
506
+ return b._s;
507
+ }
508
+ };
509
+ /**
510
+ * @summary Set sum = &minus;sum.
511
+ */
512
+ a.Accumulator.prototype.Negate = function () {
513
+ this._s *= -1;
514
+ this._t *= -1;
515
+ };
516
+ /**
517
+ * @summary Take the remainder
518
+ * @param {number} y the divisor of the remainder operation.
519
+ * @return sum in range [&minus;y/2, y/2].
520
+ */
521
+ a.Accumulator.prototype.Remainder = function (y) {
522
+ this._s = m.remainder(this._s, y);
523
+ this.Add(0);
524
+ };
525
+ })(geodesic.Accumulator, geodesic.Math);
526
+ /*
527
+ * Geodesic.js
528
+ * Transcription of Geodesic.[ch]pp into JavaScript.
529
+ *
530
+ * See the documentation for the C++ class. The conversion is a literal
531
+ * conversion from C++.
532
+ *
533
+ * The algorithms are derived in
534
+ *
535
+ * Charles F. F. Karney,
536
+ * Algorithms for geodesics, J. Geodesy 87, 43-55 (2013);
537
+ * https://doi.org/10.1007/s00190-012-0578-z
538
+ * Addenda: https://geographiclib.sourceforge.io/geod-addenda.html
539
+ *
540
+ * Copyright (c) Charles Karney (2011-2022) <karney@alum.mit.edu> and licensed
541
+ * under the MIT/X11 License. For more information, see
542
+ * https://geographiclib.sourceforge.io/
543
+ */
544
+ // Load AFTER Math.js
545
+ // To allow swap via [y, x] = [x, y]
546
+ /* jshint esversion: 6 */
547
+ geodesic.Geodesic = {};
548
+ geodesic.GeodesicLine = {};
549
+ geodesic.PolygonArea = {};
550
+ (function (
551
+ /**
552
+ * @exports geodesic/Geodesic
553
+ * @description Solve geodesic problems via the
554
+ * {@link module:geodesic/Geodesic.Geodesic Geodesic} class.
555
+ */
556
+ g, l, p, m, c) {
557
+ "use strict";
558
+ var GEOGRAPHICLIB_GEODESIC_ORDER = 6, nA1_ = GEOGRAPHICLIB_GEODESIC_ORDER, nA2_ = GEOGRAPHICLIB_GEODESIC_ORDER, nA3_ = GEOGRAPHICLIB_GEODESIC_ORDER, nA3x_ = nA3_, nC3x_, nC4x_, maxit1_ = 20, maxit2_ = maxit1_ + m.digits + 10, tol0_ = m.epsilon, tol1_ = 200 * tol0_, tol2_ = Math.sqrt(tol0_), tolb_ = tol0_, xthresh_ = 1000 * tol2_, CAP_NONE = 0, CAP_ALL = 0x1F, OUT_ALL = 0x7F80, astroid, A1m1f_coeff, C1f_coeff, C1pf_coeff, A2m1f_coeff, C2f_coeff, A3_coeff, C3_coeff, C4_coeff;
559
+ // N.B. Number.MIN_VALUE is denormalized; divide by Number.EPSILON to get min
560
+ // normalized positive number.
561
+ g.tiny_ = Math.sqrt(Number.MIN_VALUE / Number.EPSILON);
562
+ g.nC1_ = GEOGRAPHICLIB_GEODESIC_ORDER;
563
+ g.nC1p_ = GEOGRAPHICLIB_GEODESIC_ORDER;
564
+ g.nC2_ = GEOGRAPHICLIB_GEODESIC_ORDER;
565
+ g.nC3_ = GEOGRAPHICLIB_GEODESIC_ORDER;
566
+ g.nC4_ = GEOGRAPHICLIB_GEODESIC_ORDER;
567
+ nC3x_ = (g.nC3_ * (g.nC3_ - 1)) / 2;
568
+ nC4x_ = (g.nC4_ * (g.nC4_ + 1)) / 2;
569
+ g.CAP_C1 = 1 << 0;
570
+ g.CAP_C1p = 1 << 1;
571
+ g.CAP_C2 = 1 << 2;
572
+ g.CAP_C3 = 1 << 3;
573
+ g.CAP_C4 = 1 << 4;
574
+ g.NONE = 0;
575
+ g.ARC = 1 << 6;
576
+ g.LATITUDE = 1 << 7 | CAP_NONE;
577
+ g.LONGITUDE = 1 << 8 | g.CAP_C3;
578
+ g.AZIMUTH = 1 << 9 | CAP_NONE;
579
+ g.DISTANCE = 1 << 10 | g.CAP_C1;
580
+ g.STANDARD = g.LATITUDE | g.LONGITUDE | g.AZIMUTH | g.DISTANCE;
581
+ g.DISTANCE_IN = 1 << 11 | g.CAP_C1 | g.CAP_C1p;
582
+ g.REDUCEDLENGTH = 1 << 12 | g.CAP_C1 | g.CAP_C2;
583
+ g.GEODESICSCALE = 1 << 13 | g.CAP_C1 | g.CAP_C2;
584
+ g.AREA = 1 << 14 | g.CAP_C4;
585
+ g.ALL = OUT_ALL | CAP_ALL;
586
+ g.LONG_UNROLL = 1 << 15;
587
+ g.OUT_MASK = OUT_ALL | g.LONG_UNROLL;
588
+ // Original math.gl stable difference: cos(k*(x+d))-cos(k*x)
589
+ // = -2*sin(k*(x+d/2))*sin(k*d/2), k odd. Retain tiny arc bits.
590
+ g.SinCosSeries = function (sinp, sinx, cosx, c, delta) {
591
+ if (delta !== undefined) {
592
+ var h = delta / 2, sh = Math.sin(h), ch = Math.cos(h);
593
+ // sin((2*i+1)*mid) = (-1)^i*cos((2*i+1)*(pi/2-mid)).
594
+ return -2 * g.SinCosSeries(false, cosx * ch - sinx * sh, sinx * ch + cosx * sh, c.map(function (v, i) { return (i % 2 ? -v : v) * Math.sin((2 * i + 1) * h); }));
595
+ }
596
+ // Evaluate
597
+ // y = sinp ? sum(c[i] * sin( 2*i * x), i, 1, n) :
598
+ // sum(c[i] * cos((2*i+1) * x), i, 0, n-1)
599
+ // using Clenshaw summation. N.B. c[0] is unused for sin series
600
+ // Approx operation count = (n + 5) mult and (2 * n + 2) add
601
+ var k = c.length, // Point to one beyond last element
602
+ n = k - (sinp ? 1 : 0), ar = 2 * (cosx - sinx) * (cosx + sinx), // 2 * cos(2 * x)
603
+ y0 = n & 1 ? c[--k] : 0, y1 = 0; // accumulators for sum
604
+ // Now n is even
605
+ n = Math.floor(n / 2);
606
+ while (n--) {
607
+ // Unroll loop x 2, so accumulators return to their original role
608
+ y1 = ar * y0 - y1 + c[--k];
609
+ y0 = ar * y1 - y0 + c[--k];
610
+ }
611
+ return (sinp ? 2 * sinx * cosx * y0 : // sin(2 * x) * y0
612
+ cosx * (y0 - y1)); // cos(x) * (y0 - y1)
613
+ };
614
+ astroid = function (x, y) {
615
+ // Solve k^4+2*k^3-(x^2+y^2-1)*k^2-2*y^2*k-y^2 = 0 for positive
616
+ // root k. This solution is adapted from Geocentric::Reverse.
617
+ var k, p = m.sq(x), q = m.sq(y), r = (p + q - 1) / 6, S, r2, r3, disc, u, T3, T, ang, v, uv, w;
618
+ if (!(q === 0 && r <= 0)) {
619
+ // Avoid possible division by zero when r = 0 by multiplying
620
+ // equations for s and t by r^3 and r, resp.
621
+ S = p * q / 4; // S = r^3 * s
622
+ r2 = m.sq(r);
623
+ r3 = r * r2;
624
+ // The discriminant of the quadratic equation for T3. This is
625
+ // zero on the evolute curve p^(1/3)+q^(1/3) = 1
626
+ disc = S * (S + 2 * r3);
627
+ u = r;
628
+ if (disc >= 0) {
629
+ T3 = S + r3;
630
+ // Pick the sign on the sqrt to maximize abs(T3). This
631
+ // minimizes loss of precision due to cancellation. The
632
+ // result is unchanged because of the way the T is used
633
+ // in definition of u.
634
+ T3 += T3 < 0 ? -Math.sqrt(disc) : Math.sqrt(disc); // T3 = (r * t)^3
635
+ // N.B. cbrt always returns the real root. cbrt(-8) = -2.
636
+ T = m.cbrt(T3); // T = r * t
637
+ // T can be zero; but then r2 / T -> 0.
638
+ u += T + (T !== 0 ? r2 / T : 0);
639
+ }
640
+ else {
641
+ // T is complex, but the way u is defined the result is real.
642
+ ang = Math.atan2(Math.sqrt(-disc), -(S + r3));
643
+ // There are three possible cube roots. We choose the
644
+ // root which avoids cancellation. Note that disc < 0
645
+ // implies that r < 0.
646
+ u += 2 * r * Math.cos(ang / 3);
647
+ }
648
+ v = Math.sqrt(m.sq(u) + q); // guaranteed positive
649
+ // Avoid loss of accuracy when u < 0.
650
+ uv = u < 0 ? q / (v - u) : u + v; // u+v, guaranteed positive
651
+ w = (uv - q) / (2 * v); // positive?
652
+ // Rearrange expression for k to avoid loss of accuracy due to
653
+ // subtraction. Division by 0 not possible because uv > 0, w >= 0.
654
+ k = uv / (Math.sqrt(uv + m.sq(w)) + w); // guaranteed positive
655
+ }
656
+ else { // q == 0 && r <= 0
657
+ // y = 0 with |x| <= 1. Handle this case directly.
658
+ // for y small, positive root is k = abs(y)/sqrt(1-x^2)
659
+ k = 0;
660
+ }
661
+ return k;
662
+ };
663
+ A1m1f_coeff = [
664
+ // (1-eps)*A1-1, polynomial in eps2 of order 3
665
+ +1, 4, 64, 0, 256
666
+ ];
667
+ // The scale factor A1-1 = mean value of (d/dsigma)I1 - 1
668
+ g.A1m1f = function (eps) {
669
+ var p = Math.floor(nA1_ / 2), t = m.polyval(p, A1m1f_coeff, 0, m.sq(eps)) / A1m1f_coeff[p + 1];
670
+ return (t + eps) / (1 - eps);
671
+ };
672
+ C1f_coeff = [
673
+ // C1[1]/eps^1, polynomial in eps2 of order 2
674
+ -1, 6, -16, 32,
675
+ // C1[2]/eps^2, polynomial in eps2 of order 2
676
+ -9, 64, -128, 2048,
677
+ // C1[3]/eps^3, polynomial in eps2 of order 1
678
+ +9, -16, 768,
679
+ // C1[4]/eps^4, polynomial in eps2 of order 1
680
+ +3, -5, 512,
681
+ // C1[5]/eps^5, polynomial in eps2 of order 0
682
+ -7, 1280,
683
+ // C1[6]/eps^6, polynomial in eps2 of order 0
684
+ -7, 2048
685
+ ];
686
+ // The coefficients C1[l] in the Fourier expansion of B1
687
+ g.C1f = function (eps, c) {
688
+ var eps2 = m.sq(eps), d = eps, o = 0, l, p;
689
+ for (l = 1; l <= g.nC1_; ++l) { // l is index of C1p[l]
690
+ p = Math.floor((g.nC1_ - l) / 2); // order of polynomial in eps^2
691
+ c[l] = d * m.polyval(p, C1f_coeff, o, eps2) / C1f_coeff[o + p + 1];
692
+ o += p + 2;
693
+ d *= eps;
694
+ }
695
+ };
696
+ C1pf_coeff = [
697
+ // C1p[1]/eps^1, polynomial in eps2 of order 2
698
+ +205, -432, 768, 1536,
699
+ // C1p[2]/eps^2, polynomial in eps2 of order 2
700
+ +4005, -4736, 3840, 12288,
701
+ // C1p[3]/eps^3, polynomial in eps2 of order 1
702
+ -225, 116, 384,
703
+ // C1p[4]/eps^4, polynomial in eps2 of order 1
704
+ -7173, 2695, 7680,
705
+ // C1p[5]/eps^5, polynomial in eps2 of order 0
706
+ +3467, 7680,
707
+ // C1p[6]/eps^6, polynomial in eps2 of order 0
708
+ +38081, 61440
709
+ ];
710
+ // The coefficients C1p[l] in the Fourier expansion of B1p
711
+ g.C1pf = function (eps, c) {
712
+ var eps2 = m.sq(eps), d = eps, o = 0, l, p;
713
+ for (l = 1; l <= g.nC1p_; ++l) { // l is index of C1p[l]
714
+ p = Math.floor((g.nC1p_ - l) / 2); // order of polynomial in eps^2
715
+ c[l] = d * m.polyval(p, C1pf_coeff, o, eps2) / C1pf_coeff[o + p + 1];
716
+ o += p + 2;
717
+ d *= eps;
718
+ }
719
+ };
720
+ A2m1f_coeff = [
721
+ // (eps+1)*A2-1, polynomial in eps2 of order 3
722
+ -11, -28, -192, 0, 256
723
+ ];
724
+ // The scale factor A2-1 = mean value of (d/dsigma)I2 - 1
725
+ g.A2m1f = function (eps) {
726
+ var p = Math.floor(nA2_ / 2), t = m.polyval(p, A2m1f_coeff, 0, m.sq(eps)) / A2m1f_coeff[p + 1];
727
+ return (t - eps) / (1 + eps);
728
+ };
729
+ C2f_coeff = [
730
+ // C2[1]/eps^1, polynomial in eps2 of order 2
731
+ +1, 2, 16, 32,
732
+ // C2[2]/eps^2, polynomial in eps2 of order 2
733
+ +35, 64, 384, 2048,
734
+ // C2[3]/eps^3, polynomial in eps2 of order 1
735
+ +15, 80, 768,
736
+ // C2[4]/eps^4, polynomial in eps2 of order 1
737
+ +7, 35, 512,
738
+ // C2[5]/eps^5, polynomial in eps2 of order 0
739
+ +63, 1280,
740
+ // C2[6]/eps^6, polynomial in eps2 of order 0
741
+ +77, 2048
742
+ ];
743
+ // The coefficients C2[l] in the Fourier expansion of B2
744
+ g.C2f = function (eps, c) {
745
+ var eps2 = m.sq(eps), d = eps, o = 0, l, p;
746
+ for (l = 1; l <= g.nC2_; ++l) { // l is index of C2[l]
747
+ p = Math.floor((g.nC2_ - l) / 2); // order of polynomial in eps^2
748
+ c[l] = d * m.polyval(p, C2f_coeff, o, eps2) / C2f_coeff[o + p + 1];
749
+ o += p + 2;
750
+ d *= eps;
751
+ }
752
+ };
753
+ /**
754
+ * @class
755
+ * @property {number} a the equatorial radius (meters).
756
+ * @property {number} f the flattening.
757
+ * @summary Initialize a Geodesic object for a specific ellipsoid.
758
+ * @classdesc Performs geodesic calculations on an ellipsoid of revolution.
759
+ * The routines for solving the direct and inverse problems return an
760
+ * object with some of the following fields set: lat1, lon1, azi1, lat2,
761
+ * lon2, azi2, s12, a12, m12, M12, M21, S12. See {@tutorial 2-interface},
762
+ * section "The results".
763
+ * @example
764
+ * var geodesic = require("geographiclib-geodesic"),
765
+ * geod = geodesic.Geodesic.WGS84;
766
+ * var inv = geod.Inverse(1,2,3,4);
767
+ * console.log("lat1 = " + inv.lat1 + ", lon1 = " + inv.lon1 +
768
+ * ", lat2 = " + inv.lat2 + ", lon2 = " + inv.lon2 +
769
+ * ",\nazi1 = " + inv.azi1 + ", azi2 = " + inv.azi2 +
770
+ * ", s12 = " + inv.s12);
771
+ * @param {number} a the equatorial radius of the ellipsoid (meters).
772
+ * @param {number} f the flattening of the ellipsoid. Setting f = 0 gives
773
+ * a sphere (on which geodesics are great circles). Negative f gives a
774
+ * prolate ellipsoid.
775
+ * @throws an error if the parameters are illegal.
776
+ */
777
+ g.Geodesic = function (a, f) {
778
+ this.a = a;
779
+ this.f = f;
780
+ this._f1 = 1 - this.f;
781
+ this._e2 = this.f * (2 - this.f);
782
+ this._ep2 = this._e2 / m.sq(this._f1); // e2 / (1 - e2)
783
+ this._n = this.f / (2 - this.f);
784
+ this._b = this.a * this._f1;
785
+ // authalic radius squared
786
+ this._c2 = (m.sq(this.a) + m.sq(this._b) *
787
+ (this._e2 === 0 ? 1 :
788
+ (this._e2 > 0 ? m.atanh(Math.sqrt(this._e2)) :
789
+ Math.atan(Math.sqrt(-this._e2))) /
790
+ Math.sqrt(Math.abs(this._e2)))) / 2;
791
+ // The sig12 threshold for "really short". Using the auxiliary sphere
792
+ // solution with dnm computed at (bet1 + bet2) / 2, the relative error in
793
+ // the azimuth consistency check is sig12^2 * abs(f) * min(1, 1-f/2) / 2.
794
+ // (Error measured for 1/100 < b/a < 100 and abs(f) >= 1/1000. For a given
795
+ // f and sig12, the max error occurs for lines near the pole. If the old
796
+ // rule for computing dnm = (dn1 + dn2)/2 is used, then the error increases
797
+ // by a factor of 2.) Setting this equal to epsilon gives sig12 = etol2.
798
+ // Here 0.1 is a safety factor (error decreased by 100) and max(0.001,
799
+ // abs(f)) stops etol2 getting too large in the nearly spherical case.
800
+ this._etol2 = 0.1 * tol2_ /
801
+ Math.sqrt(Math.max(0.001, Math.abs(this.f)) *
802
+ Math.min(1, 1 - this.f / 2) / 2);
803
+ if (!(isFinite(this.a) && this.a > 0))
804
+ throw new Error("Equatorial radius is not positive");
805
+ if (!(isFinite(this._b) && this._b > 0))
806
+ throw new Error("Polar semi-axis is not positive");
807
+ this._A3x = new Array(nA3x_);
808
+ this._C3x = new Array(nC3x_);
809
+ this._C4x = new Array(nC4x_);
810
+ this.A3coeff();
811
+ this.C3coeff();
812
+ this.C4coeff();
813
+ };
814
+ A3_coeff = [
815
+ // A3, coeff of eps^5, polynomial in n of order 0
816
+ -3, 128,
817
+ // A3, coeff of eps^4, polynomial in n of order 1
818
+ -2, -3, 64,
819
+ // A3, coeff of eps^3, polynomial in n of order 2
820
+ -1, -3, -1, 16,
821
+ // A3, coeff of eps^2, polynomial in n of order 2
822
+ +3, -1, -2, 8,
823
+ // A3, coeff of eps^1, polynomial in n of order 1
824
+ +1, -1, 2,
825
+ // A3, coeff of eps^0, polynomial in n of order 0
826
+ +1, 1
827
+ ];
828
+ // The scale factor A3 = mean value of (d/dsigma)I3
829
+ g.Geodesic.prototype.A3coeff = function () {
830
+ var o = 0, k = 0, j, p;
831
+ for (j = nA3_ - 1; j >= 0; --j) { // coeff of eps^j
832
+ p = Math.min(nA3_ - j - 1, j); // order of polynomial in n
833
+ this._A3x[k++] = m.polyval(p, A3_coeff, o, this._n) /
834
+ A3_coeff[o + p + 1];
835
+ o += p + 2;
836
+ }
837
+ };
838
+ C3_coeff = [
839
+ // C3[1], coeff of eps^5, polynomial in n of order 0
840
+ +3, 128,
841
+ // C3[1], coeff of eps^4, polynomial in n of order 1
842
+ +2, 5, 128,
843
+ // C3[1], coeff of eps^3, polynomial in n of order 2
844
+ -1, 3, 3, 64,
845
+ // C3[1], coeff of eps^2, polynomial in n of order 2
846
+ -1, 0, 1, 8,
847
+ // C3[1], coeff of eps^1, polynomial in n of order 1
848
+ -1, 1, 4,
849
+ // C3[2], coeff of eps^5, polynomial in n of order 0
850
+ +5, 256,
851
+ // C3[2], coeff of eps^4, polynomial in n of order 1
852
+ +1, 3, 128,
853
+ // C3[2], coeff of eps^3, polynomial in n of order 2
854
+ -3, -2, 3, 64,
855
+ // C3[2], coeff of eps^2, polynomial in n of order 2
856
+ +1, -3, 2, 32,
857
+ // C3[3], coeff of eps^5, polynomial in n of order 0
858
+ +7, 512,
859
+ // C3[3], coeff of eps^4, polynomial in n of order 1
860
+ -10, 9, 384,
861
+ // C3[3], coeff of eps^3, polynomial in n of order 2
862
+ +5, -9, 5, 192,
863
+ // C3[4], coeff of eps^5, polynomial in n of order 0
864
+ +7, 512,
865
+ // C3[4], coeff of eps^4, polynomial in n of order 1
866
+ -14, 7, 512,
867
+ // C3[5], coeff of eps^5, polynomial in n of order 0
868
+ +21, 2560
869
+ ];
870
+ // The coefficients C3[l] in the Fourier expansion of B3
871
+ g.Geodesic.prototype.C3coeff = function () {
872
+ var o = 0, k = 0, l, j, p;
873
+ for (l = 1; l < g.nC3_; ++l) { // l is index of C3[l]
874
+ for (j = g.nC3_ - 1; j >= l; --j) { // coeff of eps^j
875
+ p = Math.min(g.nC3_ - j - 1, j); // order of polynomial in n
876
+ this._C3x[k++] = m.polyval(p, C3_coeff, o, this._n) /
877
+ C3_coeff[o + p + 1];
878
+ o += p + 2;
879
+ }
880
+ }
881
+ };
882
+ C4_coeff = [
883
+ // C4[0], coeff of eps^5, polynomial in n of order 0
884
+ +97, 15015,
885
+ // C4[0], coeff of eps^4, polynomial in n of order 1
886
+ +1088, 156, 45045,
887
+ // C4[0], coeff of eps^3, polynomial in n of order 2
888
+ -224, -4784, 1573, 45045,
889
+ // C4[0], coeff of eps^2, polynomial in n of order 3
890
+ -10656, 14144, -4576, -858, 45045,
891
+ // C4[0], coeff of eps^1, polynomial in n of order 4
892
+ +64, 624, -4576, 6864, -3003, 15015,
893
+ // C4[0], coeff of eps^0, polynomial in n of order 5
894
+ +100, 208, 572, 3432, -12012, 30030, 45045,
895
+ // C4[1], coeff of eps^5, polynomial in n of order 0
896
+ +1, 9009,
897
+ // C4[1], coeff of eps^4, polynomial in n of order 1
898
+ -2944, 468, 135135,
899
+ // C4[1], coeff of eps^3, polynomial in n of order 2
900
+ +5792, 1040, -1287, 135135,
901
+ // C4[1], coeff of eps^2, polynomial in n of order 3
902
+ +5952, -11648, 9152, -2574, 135135,
903
+ // C4[1], coeff of eps^1, polynomial in n of order 4
904
+ -64, -624, 4576, -6864, 3003, 135135,
905
+ // C4[2], coeff of eps^5, polynomial in n of order 0
906
+ +8, 10725,
907
+ // C4[2], coeff of eps^4, polynomial in n of order 1
908
+ +1856, -936, 225225,
909
+ // C4[2], coeff of eps^3, polynomial in n of order 2
910
+ -8448, 4992, -1144, 225225,
911
+ // C4[2], coeff of eps^2, polynomial in n of order 3
912
+ -1440, 4160, -4576, 1716, 225225,
913
+ // C4[3], coeff of eps^5, polynomial in n of order 0
914
+ -136, 63063,
915
+ // C4[3], coeff of eps^4, polynomial in n of order 1
916
+ +1024, -208, 105105,
917
+ // C4[3], coeff of eps^3, polynomial in n of order 2
918
+ +3584, -3328, 1144, 315315,
919
+ // C4[4], coeff of eps^5, polynomial in n of order 0
920
+ -128, 135135,
921
+ // C4[4], coeff of eps^4, polynomial in n of order 1
922
+ -2560, 832, 405405,
923
+ // C4[5], coeff of eps^5, polynomial in n of order 0
924
+ +128, 99099
925
+ ];
926
+ g.Geodesic.prototype.C4coeff = function () {
927
+ var o = 0, k = 0, l, j, p;
928
+ for (l = 0; l < g.nC4_; ++l) { // l is index of C4[l]
929
+ for (j = g.nC4_ - 1; j >= l; --j) { // coeff of eps^j
930
+ p = g.nC4_ - j - 1; // order of polynomial in n
931
+ this._C4x[k++] = m.polyval(p, C4_coeff, o, this._n) /
932
+ C4_coeff[o + p + 1];
933
+ o += p + 2;
934
+ }
935
+ }
936
+ };
937
+ g.Geodesic.prototype.A3f = function (eps) {
938
+ // Evaluate A3
939
+ return m.polyval(nA3x_ - 1, this._A3x, 0, eps);
940
+ };
941
+ g.Geodesic.prototype.C3f = function (eps, c) {
942
+ // Evaluate C3 coeffs
943
+ // Elements c[1] thru c[nC3_ - 1] are set
944
+ var mult = 1, o = 0, l, p;
945
+ for (l = 1; l < g.nC3_; ++l) { // l is index of C3[l]
946
+ p = g.nC3_ - l - 1; // order of polynomial in eps
947
+ mult *= eps;
948
+ c[l] = mult * m.polyval(p, this._C3x, o, eps);
949
+ o += p + 1;
950
+ }
951
+ };
952
+ g.Geodesic.prototype.C4f = function (eps, c) {
953
+ // Evaluate C4 coeffs
954
+ // Elements c[0] thru c[g.nC4_ - 1] are set
955
+ var mult = 1, o = 0, l, p;
956
+ for (l = 0; l < g.nC4_; ++l) { // l is index of C4[l]
957
+ p = g.nC4_ - l - 1; // order of polynomial in eps
958
+ c[l] = mult * m.polyval(p, this._C4x, o, eps);
959
+ o += p + 1;
960
+ mult *= eps;
961
+ }
962
+ };
963
+ // return s12b, m12b, m0, M12, M21
964
+ g.Geodesic.prototype.Lengths = function (eps, sig12, ssig1, csig1, dn1, ssig2, csig2, dn2, cbet1, cbet2, outmask, C1a, C2a) {
965
+ // Return m12b = (reduced length)/_b; also calculate s12b =
966
+ // distance/_b, and m0 = coefficient of secular term in
967
+ // expression for reduced length.
968
+ outmask &= g.OUT_MASK;
969
+ var vals = {}, m0x = 0, J12 = 0, A1 = 0, A2 = 0, B1, B2, l, csig12, t;
970
+ if (outmask & (g.DISTANCE | g.REDUCEDLENGTH | g.GEODESICSCALE)) {
971
+ A1 = g.A1m1f(eps);
972
+ g.C1f(eps, C1a);
973
+ if (outmask & (g.REDUCEDLENGTH | g.GEODESICSCALE)) {
974
+ A2 = g.A2m1f(eps);
975
+ g.C2f(eps, C2a);
976
+ m0x = A1 - A2;
977
+ A2 = 1 + A2;
978
+ }
979
+ A1 = 1 + A1;
980
+ }
981
+ if (outmask & g.DISTANCE) {
982
+ B1 = g.SinCosSeries(true, ssig2, csig2, C1a) -
983
+ g.SinCosSeries(true, ssig1, csig1, C1a);
984
+ // Missing a factor of _b
985
+ vals.s12b = A1 * (sig12 + B1);
986
+ if (outmask & (g.REDUCEDLENGTH | g.GEODESICSCALE)) {
987
+ B2 = g.SinCosSeries(true, ssig2, csig2, C2a) -
988
+ g.SinCosSeries(true, ssig1, csig1, C2a);
989
+ J12 = m0x * sig12 + (A1 * B1 - A2 * B2);
990
+ }
991
+ }
992
+ else if (outmask & (g.REDUCEDLENGTH | g.GEODESICSCALE)) {
993
+ // Assume here that nC1_ >= nC2_
994
+ for (l = 1; l <= g.nC2_; ++l)
995
+ C2a[l] = A1 * C1a[l] - A2 * C2a[l];
996
+ J12 = m0x * sig12 + (g.SinCosSeries(true, ssig2, csig2, C2a) -
997
+ g.SinCosSeries(true, ssig1, csig1, C2a));
998
+ }
999
+ if (outmask & g.REDUCEDLENGTH) {
1000
+ vals.m0 = m0x;
1001
+ // Missing a factor of _b.
1002
+ // Add parens around (csig1 * ssig2) and (ssig1 * csig2) to ensure
1003
+ // accurate cancellation in the case of coincident points.
1004
+ vals.m12b = dn2 * (csig1 * ssig2) - dn1 * (ssig1 * csig2) -
1005
+ csig1 * csig2 * J12;
1006
+ }
1007
+ else
1008
+ vals.m12b = NaN;
1009
+ if (outmask & g.GEODESICSCALE) {
1010
+ csig12 = csig1 * csig2 + ssig1 * ssig2;
1011
+ t = this._ep2 * (cbet1 - cbet2) * (cbet1 + cbet2) / (dn1 + dn2);
1012
+ vals.M12 = csig12 + (t * ssig2 - csig2 * J12) * ssig1 / dn1;
1013
+ vals.M21 = csig12 - (t * ssig1 - csig1 * J12) * ssig2 / dn2;
1014
+ }
1015
+ return vals;
1016
+ };
1017
+ // return sig12, salp1, calp1, salp2, calp2, dnm
1018
+ g.Geodesic.prototype.InverseStart = function (sbet1, cbet1, dn1, sbet2, cbet2, dn2, lam12, slam12, clam12, C1a, C2a) {
1019
+ // Return a starting point for Newton's method in salp1 and calp1
1020
+ // (function value is -1). If Newton's method doesn't need to be
1021
+ // used, return also salp2 and calp2 and function value is sig12.
1022
+ // salp2, calp2 only updated if return val >= 0.
1023
+ var vals = {},
1024
+ // bet12 = bet2 - bet1 in [0, pi); bet12a = bet2 + bet1 in (-pi, 0]
1025
+ sbet12 = sbet2 * cbet1 - cbet2 * sbet1, cbet12 = cbet2 * cbet1 + sbet2 * sbet1, sbet12a, shortline, omg12, sbetm2, somg12, comg12, t, ssig12, csig12, x, y, lamscale, betscale, k2, eps, cbet12a, bet12a, m12b, m0, nvals, k, omg12a, lam12x;
1026
+ vals.sig12 = -1; // Return value
1027
+ // Volatile declaration needed to fix inverse cases
1028
+ // 88.202499451857 0 -88.202499451857 179.981022032992859592
1029
+ // 89.262080389218 0 -89.262080389218 179.992207982775375662
1030
+ // 89.333123580033 0 -89.333123580032997687 179.99295812360148422
1031
+ // which otherwise fail with g++ 4.4.4 x86 -O3
1032
+ sbet12a = sbet2 * cbet1;
1033
+ sbet12a += cbet2 * sbet1;
1034
+ shortline = cbet12 >= 0 && sbet12 < 0.5 && cbet2 * lam12 < 0.5;
1035
+ if (shortline) {
1036
+ sbetm2 = m.sq(sbet1 + sbet2);
1037
+ // sin((bet1+bet2)/2)^2
1038
+ // = (sbet1 + sbet2)^2 / ((sbet1 + sbet2)^2 + (cbet1 + cbet2)^2)
1039
+ sbetm2 /= sbetm2 + m.sq(cbet1 + cbet2);
1040
+ vals.dnm = Math.sqrt(1 + this._ep2 * sbetm2);
1041
+ omg12 = lam12 / (this._f1 * vals.dnm);
1042
+ somg12 = Math.sin(omg12);
1043
+ comg12 = Math.cos(omg12);
1044
+ }
1045
+ else {
1046
+ somg12 = slam12;
1047
+ comg12 = clam12;
1048
+ }
1049
+ vals.salp1 = cbet2 * somg12;
1050
+ vals.calp1 = comg12 >= 0 ?
1051
+ sbet12 + cbet2 * sbet1 * m.sq(somg12) / (1 + comg12) :
1052
+ sbet12a - cbet2 * sbet1 * m.sq(somg12) / (1 - comg12);
1053
+ ssig12 = m.hypot(vals.salp1, vals.calp1);
1054
+ csig12 = sbet1 * sbet2 + cbet1 * cbet2 * comg12;
1055
+ if (shortline && ssig12 < this._etol2) {
1056
+ // really short lines
1057
+ vals.salp2 = cbet1 * somg12;
1058
+ vals.calp2 = sbet12 - cbet1 * sbet2 *
1059
+ (comg12 >= 0 ? m.sq(somg12) / (1 + comg12) : 1 - comg12);
1060
+ // norm(vals.salp2, vals.calp2);
1061
+ t = m.hypot(vals.salp2, vals.calp2);
1062
+ vals.salp2 /= t;
1063
+ vals.calp2 /= t;
1064
+ // Set return value
1065
+ vals.sig12 = Math.atan2(ssig12, csig12);
1066
+ }
1067
+ else if (Math.abs(this._n) > 0.1 || // Skip astroid calc if too eccentric
1068
+ csig12 >= 0 ||
1069
+ ssig12 >= 6 * Math.abs(this._n) * Math.PI * m.sq(cbet1)) {
1070
+ // Nothing to do, zeroth order spherical approximation is OK
1071
+ }
1072
+ else {
1073
+ // Scale lam12 and bet2 to x, y coordinate system where antipodal
1074
+ // point is at origin and singular point is at y = 0, x = -1.
1075
+ lam12x = Math.atan2(-slam12, -clam12); // lam12 - pi
1076
+ if (this.f >= 0) { // In fact f == 0 does not get here
1077
+ // x = dlong, y = dlat
1078
+ k2 = m.sq(sbet1) * this._ep2;
1079
+ eps = k2 / (2 * (1 + Math.sqrt(1 + k2)) + k2);
1080
+ lamscale = this.f * cbet1 * this.A3f(eps) * Math.PI;
1081
+ betscale = lamscale * cbet1;
1082
+ x = lam12x / lamscale;
1083
+ y = sbet12a / betscale;
1084
+ }
1085
+ else { // f < 0
1086
+ // x = dlat, y = dlong
1087
+ cbet12a = cbet2 * cbet1 - sbet2 * sbet1;
1088
+ bet12a = Math.atan2(sbet12a, cbet12a);
1089
+ // In the case of lon12 = 180, this repeats a calculation made
1090
+ // in Inverse.
1091
+ nvals = this.Lengths(this._n, Math.PI + bet12a, sbet1, -cbet1, dn1, sbet2, cbet2, dn2, cbet1, cbet2, g.REDUCEDLENGTH, C1a, C2a);
1092
+ m12b = nvals.m12b;
1093
+ m0 = nvals.m0;
1094
+ x = -1 + m12b / (cbet1 * cbet2 * m0 * Math.PI);
1095
+ betscale = x < -0.01 ? sbet12a / x :
1096
+ -this.f * m.sq(cbet1) * Math.PI;
1097
+ lamscale = betscale / cbet1;
1098
+ y = lam12 / lamscale;
1099
+ }
1100
+ if (y > -tol1_ && x > -1 - xthresh_) {
1101
+ // strip near cut
1102
+ if (this.f >= 0) {
1103
+ vals.salp1 = Math.min(1, -x);
1104
+ vals.calp1 = -Math.sqrt(1 - m.sq(vals.salp1));
1105
+ }
1106
+ else {
1107
+ vals.calp1 = Math.max(x > -tol1_ ? 0 : -1, x);
1108
+ vals.salp1 = Math.sqrt(1 - m.sq(vals.calp1));
1109
+ }
1110
+ }
1111
+ else {
1112
+ // Estimate alp1, by solving the astroid problem.
1113
+ //
1114
+ // Could estimate alpha1 = theta + pi/2, directly, i.e.,
1115
+ // calp1 = y/k; salp1 = -x/(1+k); for f >= 0
1116
+ // calp1 = x/(1+k); salp1 = -y/k; for f < 0 (need to check)
1117
+ //
1118
+ // However, it's better to estimate omg12 from astroid and use
1119
+ // spherical formula to compute alp1. This reduces the mean number of
1120
+ // Newton iterations for astroid cases from 2.24 (min 0, max 6) to 2.12
1121
+ // (min 0 max 5). The changes in the number of iterations are as
1122
+ // follows:
1123
+ //
1124
+ // change percent
1125
+ // 1 5
1126
+ // 0 78
1127
+ // -1 16
1128
+ // -2 0.6
1129
+ // -3 0.04
1130
+ // -4 0.002
1131
+ //
1132
+ // The histogram of iterations is (m = number of iterations estimating
1133
+ // alp1 directly, n = number of iterations estimating via omg12, total
1134
+ // number of trials = 148605):
1135
+ //
1136
+ // iter m n
1137
+ // 0 148 186
1138
+ // 1 13046 13845
1139
+ // 2 93315 102225
1140
+ // 3 36189 32341
1141
+ // 4 5396 7
1142
+ // 5 455 1
1143
+ // 6 56 0
1144
+ //
1145
+ // Because omg12 is near pi, estimate work with omg12a = pi - omg12
1146
+ k = astroid(x, y);
1147
+ omg12a = lamscale * (this.f >= 0 ? -x * k / (1 + k) : -y * (1 + k) / k);
1148
+ somg12 = Math.sin(omg12a);
1149
+ comg12 = -Math.cos(omg12a);
1150
+ // Update spherical estimate of alp1 using omg12 instead of
1151
+ // lam12
1152
+ vals.salp1 = cbet2 * somg12;
1153
+ vals.calp1 = sbet12a -
1154
+ cbet2 * sbet1 * m.sq(somg12) / (1 - comg12);
1155
+ }
1156
+ }
1157
+ // Sanity check on starting guess. Backwards check allows NaN through.
1158
+ // jshint -W018
1159
+ if (!(vals.salp1 <= 0)) {
1160
+ // norm(vals.salp1, vals.calp1);
1161
+ t = m.hypot(vals.salp1, vals.calp1);
1162
+ vals.salp1 /= t;
1163
+ vals.calp1 /= t;
1164
+ }
1165
+ else {
1166
+ vals.salp1 = 1;
1167
+ vals.calp1 = 0;
1168
+ }
1169
+ return vals;
1170
+ };
1171
+ // return lam12, salp2, calp2, sig12, ssig1, csig1, ssig2, csig2, eps,
1172
+ // domg12, dlam12,
1173
+ g.Geodesic.prototype.Lambda12 = function (sbet1, cbet1, dn1, sbet2, cbet2, dn2, salp1, calp1, slam120, clam120, diffp, C1a, C2a, C3a) {
1174
+ var vals = {}, t, salp0, calp0, somg1, comg1, somg2, comg2, somg12, comg12, B312, eta, k2, nvals;
1175
+ if (sbet1 === 0 && calp1 === 0)
1176
+ // Break degeneracy of equatorial line. This case has already been
1177
+ // handled.
1178
+ calp1 = -g.tiny_;
1179
+ // sin(alp1) * cos(bet1) = sin(alp0)
1180
+ salp0 = salp1 * cbet1;
1181
+ calp0 = m.hypot(calp1, salp1 * sbet1); // calp0 > 0
1182
+ // tan(bet1) = tan(sig1) * cos(alp1)
1183
+ // tan(omg1) = sin(alp0) * tan(sig1) = tan(omg1)=tan(alp1)*sin(bet1)
1184
+ vals.ssig1 = sbet1;
1185
+ somg1 = salp0 * sbet1;
1186
+ vals.csig1 = comg1 = calp1 * cbet1;
1187
+ // norm(vals.ssig1, vals.csig1);
1188
+ t = m.hypot(vals.ssig1, vals.csig1);
1189
+ vals.ssig1 /= t;
1190
+ vals.csig1 /= t;
1191
+ // norm(somg1, comg1); -- don't need to normalize!
1192
+ // Enforce symmetries in the case abs(bet2) = -bet1. Need to be careful
1193
+ // about this case, since this can yield singularities in the Newton
1194
+ // iteration.
1195
+ // sin(alp2) * cos(bet2) = sin(alp0)
1196
+ vals.salp2 = cbet2 !== cbet1 ? salp0 / cbet2 : salp1;
1197
+ // calp2 = sqrt(1 - sq(salp2))
1198
+ // = sqrt(sq(calp0) - sq(sbet2)) / cbet2
1199
+ // and subst for calp0 and rearrange to give (choose positive sqrt
1200
+ // to give alp2 in [0, pi/2]).
1201
+ vals.calp2 = cbet2 !== cbet1 || Math.abs(sbet2) !== -sbet1 ?
1202
+ Math.sqrt(m.sq(calp1 * cbet1) + (cbet1 < -sbet1 ?
1203
+ (cbet2 - cbet1) * (cbet1 + cbet2) :
1204
+ (sbet1 - sbet2) * (sbet1 + sbet2))) /
1205
+ cbet2 : Math.abs(calp1);
1206
+ // tan(bet2) = tan(sig2) * cos(alp2)
1207
+ // tan(omg2) = sin(alp0) * tan(sig2).
1208
+ vals.ssig2 = sbet2;
1209
+ somg2 = salp0 * sbet2;
1210
+ vals.csig2 = comg2 = vals.calp2 * cbet2;
1211
+ // norm(vals.ssig2, vals.csig2);
1212
+ t = m.hypot(vals.ssig2, vals.csig2);
1213
+ vals.ssig2 /= t;
1214
+ vals.csig2 /= t;
1215
+ // norm(somg2, comg2); -- don't need to normalize!
1216
+ // sig12 = sig2 - sig1, limit to [0, pi]
1217
+ vals.sig12 = Math.atan2(Math.max(0, vals.csig1 * vals.ssig2 -
1218
+ vals.ssig1 * vals.csig2), vals.csig1 * vals.csig2 +
1219
+ vals.ssig1 * vals.ssig2);
1220
+ // omg12 = omg2 - omg1, limit to [0, pi]
1221
+ somg12 = Math.max(0, comg1 * somg2 - somg1 * comg2);
1222
+ comg12 = comg1 * comg2 + somg1 * somg2;
1223
+ // eta = omg12 - lam120
1224
+ eta = Math.atan2(somg12 * clam120 - comg12 * slam120, comg12 * clam120 + somg12 * slam120);
1225
+ k2 = m.sq(calp0) * this._ep2;
1226
+ vals.eps = k2 / (2 * (1 + Math.sqrt(1 + k2)) + k2);
1227
+ this.C3f(vals.eps, C3a);
1228
+ B312 = (g.SinCosSeries(true, vals.ssig2, vals.csig2, C3a) -
1229
+ g.SinCosSeries(true, vals.ssig1, vals.csig1, C3a));
1230
+ vals.domg12 = -this.f * this.A3f(vals.eps) * salp0 * (vals.sig12 + B312);
1231
+ vals.lam12 = eta + vals.domg12;
1232
+ if (diffp) {
1233
+ if (vals.calp2 === 0)
1234
+ vals.dlam12 = -2 * this._f1 * dn1 / sbet1;
1235
+ else {
1236
+ nvals = this.Lengths(vals.eps, vals.sig12, vals.ssig1, vals.csig1, dn1, vals.ssig2, vals.csig2, dn2, cbet1, cbet2, g.REDUCEDLENGTH, C1a, C2a);
1237
+ vals.dlam12 = nvals.m12b;
1238
+ vals.dlam12 *= this._f1 / (vals.calp2 * cbet2);
1239
+ }
1240
+ }
1241
+ return vals;
1242
+ };
1243
+ /**
1244
+ * @summary Solve the inverse geodesic problem.
1245
+ * @param {number} lat1 the latitude of the first point in degrees.
1246
+ * @param {number} lon1 the longitude of the first point in degrees.
1247
+ * @param {number} lat2 the latitude of the second point in degrees.
1248
+ * @param {number} lon2 the longitude of the second point in degrees.
1249
+ * @param {bitmask} [outmask = STANDARD] which results to include.
1250
+ * @return {object} the requested results
1251
+ * @description The lat1, lon1, lat2, lon2, and a12 fields of the result are
1252
+ * always set. For details on the outmask parameter, see {@tutorial
1253
+ * 2-interface}, "The outmask and caps parameters".
1254
+ */
1255
+ g.Geodesic.prototype.Inverse = function (lat1, lon1, lat2, lon2, outmask) {
1256
+ var r, vals;
1257
+ if (!outmask)
1258
+ outmask = g.STANDARD;
1259
+ if (outmask === g.LONG_UNROLL)
1260
+ outmask |= g.STANDARD;
1261
+ outmask &= g.OUT_MASK;
1262
+ r = this.InverseInt(lat1, lon1, lat2, lon2, outmask);
1263
+ vals = r.vals;
1264
+ if (outmask & g.AZIMUTH) {
1265
+ vals.azi1 = m.atan2d(r.salp1, r.calp1);
1266
+ vals.azi2 = m.atan2d(r.salp2, r.calp2);
1267
+ }
1268
+ return vals;
1269
+ };
1270
+ g.Geodesic.prototype.InverseInt = function (lat1, lon1, lat2, lon2, outmask) {
1271
+ var vals = {}, lon12, lon12s, lonsign, t, swapp, latsign, sbet1, cbet1, sbet2, cbet2, s12x, m12x, dn1, dn2, lam12, slam12, clam12, sig12, calp1, salp1, calp2, salp2, C1a, C2a, C3a, meridian, nvals, ssig1, csig1, ssig2, csig2, eps, omg12, dnm, numit, salp1a, calp1a, salp1b, calp1b, tripn, tripb, v, dv, dalp1, sdalp1, cdalp1, nsalp1, lengthmask, salp0, calp0, alp12, k2, A4, C4a, B41, B42, somg12, comg12, domg12, dbet1, dbet2, salp12, calp12, sdomg12, cdomg12;
1272
+ // Compute longitude difference (AngDiff does this carefully). Result is
1273
+ // in [-180, 180] but -180 is only for west-going geodesics. 180 is for
1274
+ // east-going and meridional geodesics.
1275
+ vals.lat1 = lat1 = m.LatFix(lat1);
1276
+ vals.lat2 = lat2 = m.LatFix(lat2);
1277
+ // If really close to the equator, treat as on equator.
1278
+ lat1 = m.AngRound(lat1);
1279
+ lat2 = m.AngRound(lat2);
1280
+ lon12 = m.AngDiff(lon1, lon2);
1281
+ lon12s = lon12.e;
1282
+ lon12 = lon12.d;
1283
+ if (outmask & g.LONG_UNROLL) {
1284
+ vals.lon1 = lon1;
1285
+ vals.lon2 = (lon1 + lon12) + lon12s;
1286
+ }
1287
+ else {
1288
+ vals.lon1 = m.AngNormalize(lon1);
1289
+ vals.lon2 = m.AngNormalize(lon2);
1290
+ }
1291
+ // Make longitude difference positive.
1292
+ lonsign = m.copysign(1, lon12);
1293
+ lon12 *= lonsign;
1294
+ lon12s *= lonsign;
1295
+ lam12 = lon12 * m.degree;
1296
+ // Calculate sincos of lon12 + error (this applies AngRound internally).
1297
+ t = m.sincosde(lon12, lon12s);
1298
+ slam12 = t.s;
1299
+ clam12 = t.c;
1300
+ lon12s = (180 - lon12) - lon12s; // the supplementary longitude difference
1301
+ // Swap points so that point with higher (abs) latitude is point 1
1302
+ // If one latitude is a nan, then it becomes lat1.
1303
+ swapp = Math.abs(lat1) < Math.abs(lat2) || isNaN(lat2) ? -1 : 1;
1304
+ if (swapp < 0) {
1305
+ lonsign *= -1;
1306
+ [lat2, lat1] = [lat1, lat2]; // swap(lat1, lat2);
1307
+ }
1308
+ // Make lat1 <= 0
1309
+ latsign = m.copysign(1, -lat1);
1310
+ lat1 *= latsign;
1311
+ lat2 *= latsign;
1312
+ // Now we have
1313
+ //
1314
+ // 0 <= lon12 <= 180
1315
+ // -90 <= lat1 <= 0
1316
+ // lat1 <= lat2 <= -lat1
1317
+ //
1318
+ // longsign, swapp, latsign register the transformation to bring the
1319
+ // coordinates to this canonical form. In all cases, 1 means no change was
1320
+ // made. We make these transformations so that there are few cases to
1321
+ // check, e.g., on verifying quadrants in atan2. In addition, this
1322
+ // enforces some symmetries in the results returned.
1323
+ t = m.sincosd(lat1);
1324
+ sbet1 = this._f1 * t.s;
1325
+ cbet1 = t.c;
1326
+ // norm(sbet1, cbet1);
1327
+ t = m.hypot(sbet1, cbet1);
1328
+ sbet1 /= t;
1329
+ cbet1 /= t;
1330
+ // Ensure cbet1 = +epsilon at poles
1331
+ cbet1 = Math.max(g.tiny_, cbet1);
1332
+ t = m.sincosd(lat2);
1333
+ sbet2 = this._f1 * t.s;
1334
+ cbet2 = t.c;
1335
+ // norm(sbet2, cbet2);
1336
+ t = m.hypot(sbet2, cbet2);
1337
+ sbet2 /= t;
1338
+ cbet2 /= t;
1339
+ // Ensure cbet2 = +epsilon at poles
1340
+ cbet2 = Math.max(g.tiny_, cbet2);
1341
+ // If cbet1 < -sbet1, then cbet2 - cbet1 is a sensitive measure of the
1342
+ // |bet1| - |bet2|. Alternatively (cbet1 >= -sbet1), abs(sbet2) + sbet1 is
1343
+ // a better measure. This logic is used in assigning calp2 in Lambda12.
1344
+ // Sometimes these quantities vanish and in that case we force bet2 = +/-
1345
+ // bet1 exactly. An example where is is necessary is the inverse problem
1346
+ // 48.522876735459 0 -48.52287673545898293 179.599720456223079643
1347
+ // which failed with Visual Studio 10 (Release and Debug)
1348
+ if (cbet1 < -sbet1) {
1349
+ if (cbet2 === cbet1)
1350
+ sbet2 = m.copysign(sbet1, sbet2);
1351
+ }
1352
+ else {
1353
+ if (Math.abs(sbet2) === -sbet1)
1354
+ cbet2 = cbet1;
1355
+ }
1356
+ dn1 = Math.sqrt(1 + this._ep2 * m.sq(sbet1));
1357
+ dn2 = Math.sqrt(1 + this._ep2 * m.sq(sbet2));
1358
+ // index zero elements of these arrays are unused
1359
+ C1a = new Array(g.nC1_ + 1);
1360
+ C2a = new Array(g.nC2_ + 1);
1361
+ C3a = new Array(g.nC3_);
1362
+ meridian = lat1 === -90 || slam12 === 0;
1363
+ if (meridian) {
1364
+ // Endpoints are on a single full meridian, so the geodesic might
1365
+ // lie on a meridian.
1366
+ calp1 = clam12;
1367
+ salp1 = slam12; // Head to the target longitude
1368
+ calp2 = 1;
1369
+ salp2 = 0; // At the target we're heading north
1370
+ // tan(bet) = tan(sig) * cos(alp)
1371
+ ssig1 = sbet1;
1372
+ csig1 = calp1 * cbet1;
1373
+ ssig2 = sbet2;
1374
+ csig2 = calp2 * cbet2;
1375
+ // sig12 = sig2 - sig1
1376
+ sig12 = Math.atan2(Math.max(0, csig1 * ssig2 - ssig1 * csig2), csig1 * csig2 + ssig1 * ssig2);
1377
+ nvals = this.Lengths(this._n, sig12, ssig1, csig1, dn1, ssig2, csig2, dn2, cbet1, cbet2, outmask | g.DISTANCE | g.REDUCEDLENGTH, C1a, C2a);
1378
+ s12x = nvals.s12b;
1379
+ m12x = nvals.m12b;
1380
+ // Ignore m0
1381
+ if (outmask & g.GEODESICSCALE) {
1382
+ vals.M12 = nvals.M12;
1383
+ vals.M21 = nvals.M21;
1384
+ }
1385
+ // Add the check for sig12 since zero length geodesics might yield
1386
+ // m12 < 0. Test case was
1387
+ //
1388
+ // echo 20.001 0 20.001 0 | GeodSolve -i
1389
+ if (sig12 < tol2_ || m12x >= 0) {
1390
+ // Need at least 2, to handle 90 0 90 180
1391
+ if (sig12 < 3 * g.tiny_ ||
1392
+ // Prevent negative s12 or m12 for short lines
1393
+ (sig12 < tol0_ && (s12x < 0 || m12x < 0)))
1394
+ sig12 = m12x = s12x = 0;
1395
+ m12x *= this._b;
1396
+ s12x *= this._b;
1397
+ vals.a12 = sig12 / m.degree;
1398
+ }
1399
+ else
1400
+ // m12 < 0, i.e., prolate and too close to anti-podal
1401
+ meridian = false;
1402
+ }
1403
+ somg12 = 2;
1404
+ if (!meridian &&
1405
+ sbet1 === 0 && // and sbet2 == 0
1406
+ (this.f <= 0 || lon12s >= this.f * 180)) {
1407
+ // Geodesic runs along equator
1408
+ calp1 = calp2 = 0;
1409
+ salp1 = salp2 = 1;
1410
+ s12x = this.a * lam12;
1411
+ sig12 = omg12 = lam12 / this._f1;
1412
+ m12x = this._b * Math.sin(sig12);
1413
+ if (outmask & g.GEODESICSCALE)
1414
+ vals.M12 = vals.M21 = Math.cos(sig12);
1415
+ vals.a12 = lon12 / this._f1;
1416
+ }
1417
+ else if (!meridian) {
1418
+ // Now point1 and point2 belong within a hemisphere bounded by a
1419
+ // meridian and geodesic is neither meridional or equatorial.
1420
+ // Figure a starting point for Newton's method
1421
+ nvals = this.InverseStart(sbet1, cbet1, dn1, sbet2, cbet2, dn2, lam12, slam12, clam12, C1a, C2a);
1422
+ sig12 = nvals.sig12;
1423
+ salp1 = nvals.salp1;
1424
+ calp1 = nvals.calp1;
1425
+ if (sig12 >= 0) {
1426
+ salp2 = nvals.salp2;
1427
+ calp2 = nvals.calp2;
1428
+ // Short lines (InverseStart sets salp2, calp2, dnm)
1429
+ dnm = nvals.dnm;
1430
+ s12x = sig12 * this._b * dnm;
1431
+ m12x = m.sq(dnm) * this._b * Math.sin(sig12 / dnm);
1432
+ if (outmask & g.GEODESICSCALE)
1433
+ vals.M12 = vals.M21 = Math.cos(sig12 / dnm);
1434
+ vals.a12 = sig12 / m.degree;
1435
+ omg12 = lam12 / (this._f1 * dnm);
1436
+ }
1437
+ else {
1438
+ // Newton's method. This is a straightforward solution of f(alp1) =
1439
+ // lambda12(alp1) - lam12 = 0 with one wrinkle. f(alp) has exactly one
1440
+ // root in the interval (0, pi) and its derivative is positive at the
1441
+ // root. Thus f(alp) is positive for alp > alp1 and negative for alp <
1442
+ // alp1. During the course of the iteration, a range (alp1a, alp1b) is
1443
+ // maintained which brackets the root and with each evaluation of
1444
+ // f(alp) the range is shrunk if possible. Newton's method is
1445
+ // restarted whenever the derivative of f is negative (because the new
1446
+ // value of alp1 is then further from the solution) or if the new
1447
+ // estimate of alp1 lies outside (0,pi); in this case, the new starting
1448
+ // guess is taken to be (alp1a + alp1b) / 2.
1449
+ numit = 0;
1450
+ // Bracketing range
1451
+ salp1a = g.tiny_;
1452
+ calp1a = 1;
1453
+ salp1b = g.tiny_;
1454
+ calp1b = -1;
1455
+ for (tripn = false, tripb = false;; ++numit) {
1456
+ // the WGS84 test set: mean = 1.47, sd = 1.25, max = 16
1457
+ // WGS84 and random input: mean = 2.85, sd = 0.60
1458
+ nvals = this.Lambda12(sbet1, cbet1, dn1, sbet2, cbet2, dn2, salp1, calp1, slam12, clam12, numit < maxit1_, C1a, C2a, C3a);
1459
+ v = nvals.lam12;
1460
+ salp2 = nvals.salp2;
1461
+ calp2 = nvals.calp2;
1462
+ sig12 = nvals.sig12;
1463
+ ssig1 = nvals.ssig1;
1464
+ csig1 = nvals.csig1;
1465
+ ssig2 = nvals.ssig2;
1466
+ csig2 = nvals.csig2;
1467
+ eps = nvals.eps;
1468
+ domg12 = nvals.domg12;
1469
+ dv = nvals.dlam12;
1470
+ // Reversed test to allow escape with NaNs
1471
+ // jshint -W018
1472
+ if (tripb || !(Math.abs(v) >= (tripn ? 8 : 1) * tol0_) ||
1473
+ numit == maxit2_)
1474
+ break;
1475
+ // Update bracketing values
1476
+ if (v > 0 && (numit < maxit1_ || calp1 / salp1 > calp1b / salp1b)) {
1477
+ salp1b = salp1;
1478
+ calp1b = calp1;
1479
+ }
1480
+ else if (v < 0 &&
1481
+ (numit < maxit1_ || calp1 / salp1 < calp1a / salp1a)) {
1482
+ salp1a = salp1;
1483
+ calp1a = calp1;
1484
+ }
1485
+ if (numit < maxit1_ && dv > 0) {
1486
+ dalp1 = -v / dv;
1487
+ if (Math.abs(dalp1) < Math.PI) {
1488
+ sdalp1 = Math.sin(dalp1);
1489
+ cdalp1 = Math.cos(dalp1);
1490
+ nsalp1 = salp1 * cdalp1 + calp1 * sdalp1;
1491
+ if (nsalp1 > 0) {
1492
+ calp1 = calp1 * cdalp1 - salp1 * sdalp1;
1493
+ salp1 = nsalp1;
1494
+ // norm(salp1, calp1);
1495
+ t = m.hypot(salp1, calp1);
1496
+ salp1 /= t;
1497
+ calp1 /= t;
1498
+ // In some regimes we don't get quadratic convergence because
1499
+ // slope -> 0. So use convergence conditions based on epsilon
1500
+ // instead of sqrt(epsilon).
1501
+ tripn = Math.abs(v) <= 16 * tol0_;
1502
+ continue;
1503
+ }
1504
+ }
1505
+ }
1506
+ // Either dv was not positive or updated value was outside legal
1507
+ // range. Use the midpoint of the bracket as the next estimate.
1508
+ // This mechanism is not needed for the WGS84 ellipsoid, but it does
1509
+ // catch problems with more eccentric ellipsoids. Its efficacy is
1510
+ // such for the WGS84 test set with the starting guess set to alp1 =
1511
+ // 90deg:
1512
+ // the WGS84 test set: mean = 5.21, sd = 3.93, max = 24
1513
+ // WGS84 and random input: mean = 4.74, sd = 0.99
1514
+ salp1 = (salp1a + salp1b) / 2;
1515
+ calp1 = (calp1a + calp1b) / 2;
1516
+ // norm(salp1, calp1);
1517
+ t = m.hypot(salp1, calp1);
1518
+ salp1 /= t;
1519
+ calp1 /= t;
1520
+ tripn = false;
1521
+ tripb = (Math.abs(salp1a - salp1) + (calp1a - calp1) < tolb_ ||
1522
+ Math.abs(salp1 - salp1b) + (calp1 - calp1b) < tolb_);
1523
+ }
1524
+ lengthmask = outmask |
1525
+ (outmask & (g.REDUCEDLENGTH | g.GEODESICSCALE) ?
1526
+ g.DISTANCE : g.NONE);
1527
+ nvals = this.Lengths(eps, sig12, ssig1, csig1, dn1, ssig2, csig2, dn2, cbet1, cbet2, lengthmask, C1a, C2a);
1528
+ s12x = nvals.s12b;
1529
+ m12x = nvals.m12b;
1530
+ // Ignore m0
1531
+ if (outmask & g.GEODESICSCALE) {
1532
+ vals.M12 = nvals.M12;
1533
+ vals.M21 = nvals.M21;
1534
+ }
1535
+ m12x *= this._b;
1536
+ s12x *= this._b;
1537
+ vals.a12 = sig12 / m.degree;
1538
+ if (outmask & g.AREA) {
1539
+ // omg12 = lam12 - domg12
1540
+ sdomg12 = Math.sin(domg12);
1541
+ cdomg12 = Math.cos(domg12);
1542
+ somg12 = slam12 * cdomg12 - clam12 * sdomg12;
1543
+ comg12 = clam12 * cdomg12 + slam12 * sdomg12;
1544
+ }
1545
+ }
1546
+ }
1547
+ if (outmask & g.DISTANCE)
1548
+ vals.s12 = 0 + s12x; // Convert -0 to 0
1549
+ if (outmask & g.REDUCEDLENGTH)
1550
+ vals.m12 = 0 + m12x; // Convert -0 to 0
1551
+ if (outmask & g.AREA) {
1552
+ // From Lambda12: sin(alp1) * cos(bet1) = sin(alp0)
1553
+ salp0 = salp1 * cbet1;
1554
+ calp0 = m.hypot(calp1, salp1 * sbet1); // calp0 > 0
1555
+ if (calp0 !== 0 && salp0 !== 0) {
1556
+ // From Lambda12: tan(bet) = tan(sig) * cos(alp)
1557
+ ssig1 = sbet1;
1558
+ csig1 = calp1 * cbet1;
1559
+ ssig2 = sbet2;
1560
+ csig2 = calp2 * cbet2;
1561
+ k2 = m.sq(calp0) * this._ep2;
1562
+ eps = k2 / (2 * (1 + Math.sqrt(1 + k2)) + k2);
1563
+ // Multiplier = a^2 * e^2 * cos(alpha0) * sin(alpha0).
1564
+ A4 = m.sq(this.a) * calp0 * salp0 * this._e2;
1565
+ // norm(ssig1, csig1);
1566
+ t = m.hypot(ssig1, csig1);
1567
+ ssig1 /= t;
1568
+ csig1 /= t;
1569
+ // norm(ssig2, csig2);
1570
+ t = m.hypot(ssig2, csig2);
1571
+ ssig2 /= t;
1572
+ csig2 /= t;
1573
+ C4a = new Array(g.nC4_);
1574
+ this.C4f(eps, C4a);
1575
+ B41 = g.SinCosSeries(false, ssig1, csig1, C4a);
1576
+ B42 = g.SinCosSeries(false, ssig2, csig2, C4a);
1577
+ vals.S12 = A4 * (sig12 < 0.01 ?
1578
+ g.SinCosSeries(false, ssig1, csig1, C4a, sig12) : B42 - B41);
1579
+ }
1580
+ else
1581
+ // Avoid problems with indeterminate sig1, sig2 on equator
1582
+ vals.S12 = 0;
1583
+ if (!meridian && somg12 == 2) {
1584
+ somg12 = Math.sin(omg12);
1585
+ comg12 = Math.cos(omg12);
1586
+ }
1587
+ if (!meridian &&
1588
+ comg12 > -0.7071 && // Long difference not too big
1589
+ sbet2 - sbet1 < 1.75) { // Lat difference not too big
1590
+ // Use tan(Gamma/2) = tan(omg12/2)
1591
+ // * (tan(bet1/2)+tan(bet2/2))/(1+tan(bet1/2)*tan(bet2/2))
1592
+ // with tan(x/2) = sin(x)/(1+cos(x))
1593
+ domg12 = 1 + comg12;
1594
+ dbet1 = 1 + cbet1;
1595
+ dbet2 = 1 + cbet2;
1596
+ alp12 = 2 * Math.atan2(somg12 * (sbet1 * dbet2 + sbet2 * dbet1), domg12 * (sbet1 * sbet2 + dbet1 * dbet2));
1597
+ }
1598
+ else {
1599
+ // alp12 = alp2 - alp1, used in atan2 so no need to normalize
1600
+ salp12 = salp2 * calp1 - calp2 * salp1;
1601
+ calp12 = calp2 * calp1 + salp2 * salp1;
1602
+ // The right thing appears to happen if alp1 = +/-180 and alp2 = 0, viz
1603
+ // salp12 = -0 and alp12 = -180. However this depends on the sign
1604
+ // being attached to 0 correctly. The following ensures the correct
1605
+ // behavior.
1606
+ if (salp12 === 0 && calp12 < 0) {
1607
+ salp12 = g.tiny_ * calp1;
1608
+ calp12 = -1;
1609
+ }
1610
+ alp12 = Math.atan2(salp12, calp12);
1611
+ }
1612
+ vals.S12 += this._c2 * alp12;
1613
+ vals.S12 *= swapp * lonsign * latsign;
1614
+ // Convert -0 to 0
1615
+ vals.S12 += 0;
1616
+ }
1617
+ // Convert calp, salp to azimuth accounting for lonsign, swapp, latsign.
1618
+ if (swapp < 0) {
1619
+ [salp2, salp1] = [salp1, salp2]; // swap(salp1, salp2);
1620
+ [calp2, calp1] = [calp1, calp2]; // swap(calp1, calp2);
1621
+ if (outmask & g.GEODESICSCALE) {
1622
+ [vals.M21, vals.M12] = [vals.M12, vals.M21]; //swap(vals.M12, vals.M21);
1623
+ }
1624
+ }
1625
+ salp1 *= swapp * lonsign;
1626
+ calp1 *= swapp * latsign;
1627
+ salp2 *= swapp * lonsign;
1628
+ calp2 *= swapp * latsign;
1629
+ return { vals: vals,
1630
+ salp1: salp1, calp1: calp1,
1631
+ salp2: salp2, calp2: calp2 };
1632
+ };
1633
+ /**
1634
+ * @summary Solve the general direct geodesic problem.
1635
+ * @param {number} lat1 the latitude of the first point in degrees.
1636
+ * @param {number} lon1 the longitude of the first point in degrees.
1637
+ * @param {number} azi1 the azimuth at the first point in degrees.
1638
+ * @param {bool} arcmode is the next parameter an arc length?
1639
+ * @param {number} s12_a12 the (arcmode ? arc length : distance) from the
1640
+ * first point to the second in (arcmode ? degrees : meters).
1641
+ * @param {bitmask} [outmask = STANDARD] which results to include.
1642
+ * @return {object} the requested results.
1643
+ * @description The lat1, lon1, azi1, and a12 fields of the result are always
1644
+ * set; s12 is included if arcmode is false. For details on the outmask
1645
+ * parameter, see {@tutorial 2-interface}, "The outmask and caps
1646
+ * parameters".
1647
+ */
1648
+ g.Geodesic.prototype.GenDirect = function (lat1, lon1, azi1, arcmode, s12_a12, outmask) {
1649
+ var line;
1650
+ if (!outmask)
1651
+ outmask = g.STANDARD;
1652
+ else if (outmask === g.LONG_UNROLL)
1653
+ outmask |= g.STANDARD;
1654
+ // Automatically supply DISTANCE_IN if necessary
1655
+ if (!arcmode)
1656
+ outmask |= g.DISTANCE_IN;
1657
+ line = new l.GeodesicLine(this, lat1, lon1, azi1, outmask);
1658
+ return line.GenPosition(arcmode, s12_a12, outmask);
1659
+ };
1660
+ /**
1661
+ * @summary Solve the direct geodesic problem.
1662
+ * @param {number} lat1 the latitude of the first point in degrees.
1663
+ * @param {number} lon1 the longitude of the first point in degrees.
1664
+ * @param {number} azi1 the azimuth at the first point in degrees.
1665
+ * @param {number} s12 the distance from the first point to the second in
1666
+ * meters.
1667
+ * @param {bitmask} [outmask = STANDARD] which results to include.
1668
+ * @return {object} the requested results.
1669
+ * @description The lat1, lon1, azi1, s12, and a12 fields of the result are
1670
+ * always set. For details on the outmask parameter, see {@tutorial
1671
+ * 2-interface}, "The outmask and caps parameters".
1672
+ */
1673
+ g.Geodesic.prototype.Direct = function (lat1, lon1, azi1, s12, outmask) {
1674
+ return this.GenDirect(lat1, lon1, azi1, false, s12, outmask);
1675
+ };
1676
+ /**
1677
+ * @summary Solve the direct geodesic problem with arc length.
1678
+ * @param {number} lat1 the latitude of the first point in degrees.
1679
+ * @param {number} lon1 the longitude of the first point in degrees.
1680
+ * @param {number} azi1 the azimuth at the first point in degrees.
1681
+ * @param {number} a12 the arc length from the first point to the second in
1682
+ * degrees.
1683
+ * @param {bitmask} [outmask = STANDARD] which results to include.
1684
+ * @return {object} the requested results.
1685
+ * @description The lat1, lon1, azi1, and a12 fields of the result are
1686
+ * always set. For details on the outmask parameter, see {@tutorial
1687
+ * 2-interface}, "The outmask and caps parameters".
1688
+ */
1689
+ g.Geodesic.prototype.ArcDirect = function (lat1, lon1, azi1, a12, outmask) {
1690
+ return this.GenDirect(lat1, lon1, azi1, true, a12, outmask);
1691
+ };
1692
+ /**
1693
+ * @summary Create a {@link module:geodesic/GeodesicLine.GeodesicLine
1694
+ * GeodesicLine} object.
1695
+ * @param {number} lat1 the latitude of the first point in degrees.
1696
+ * @param {number} lon1 the longitude of the first point in degrees.
1697
+ * @param {number} azi1 the azimuth at the first point in degrees.
1698
+ * degrees.
1699
+ * @param {bitmask} [caps = STANDARD | DISTANCE_IN] which capabilities to
1700
+ * include.
1701
+ * @return {object} the
1702
+ * {@link module:geodesic/GeodesicLine.GeodesicLine
1703
+ * GeodesicLine} object
1704
+ * @description For details on the caps parameter, see {@tutorial
1705
+ * 2-interface}, "The outmask and caps parameters".
1706
+ */
1707
+ g.Geodesic.prototype.Line = function (lat1, lon1, azi1, caps) {
1708
+ return new l.GeodesicLine(this, lat1, lon1, azi1, caps);
1709
+ };
1710
+ /**
1711
+ * @summary Define a {@link module:geodesic/GeodesicLine.GeodesicLine
1712
+ * GeodesicLine} in terms of the direct geodesic problem specified in terms
1713
+ * of distance.
1714
+ * @param {number} lat1 the latitude of the first point in degrees.
1715
+ * @param {number} lon1 the longitude of the first point in degrees.
1716
+ * @param {number} azi1 the azimuth at the first point in degrees.
1717
+ * degrees.
1718
+ * @param {number} s12 the distance between point 1 and point 2 (meters); it
1719
+ * can be negative.
1720
+ * @param {bitmask} [caps = STANDARD | DISTANCE_IN] which capabilities to
1721
+ * include.
1722
+ * @return {object} the
1723
+ * {@link module:geodesic/GeodesicLine.GeodesicLine
1724
+ * GeodesicLine} object
1725
+ * @description This function sets point 3 of the GeodesicLine to correspond
1726
+ * to point 2 of the direct geodesic problem. For details on the caps
1727
+ * parameter, see {@tutorial 2-interface}, "The outmask and caps
1728
+ * parameters".
1729
+ */
1730
+ g.Geodesic.prototype.DirectLine = function (lat1, lon1, azi1, s12, caps) {
1731
+ return this.GenDirectLine(lat1, lon1, azi1, false, s12, caps);
1732
+ };
1733
+ /**
1734
+ * @summary Define a {@link module:geodesic/GeodesicLine.GeodesicLine
1735
+ * GeodesicLine} in terms of the direct geodesic problem specified in terms
1736
+ * of arc length.
1737
+ * @param {number} lat1 the latitude of the first point in degrees.
1738
+ * @param {number} lon1 the longitude of the first point in degrees.
1739
+ * @param {number} azi1 the azimuth at the first point in degrees.
1740
+ * degrees.
1741
+ * @param {number} a12 the arc length between point 1 and point 2 (degrees);
1742
+ * it can be negative.
1743
+ * @param {bitmask} [caps = STANDARD | DISTANCE_IN] which capabilities to
1744
+ * include.
1745
+ * @return {object} the
1746
+ * {@link module:geodesic/GeodesicLine.GeodesicLine
1747
+ * GeodesicLine} object
1748
+ * @description This function sets point 3 of the GeodesicLine to correspond
1749
+ * to point 2 of the direct geodesic problem. For details on the caps
1750
+ * parameter, see {@tutorial 2-interface}, "The outmask and caps
1751
+ * parameters".
1752
+ */
1753
+ g.Geodesic.prototype.ArcDirectLine = function (lat1, lon1, azi1, a12, caps) {
1754
+ return this.GenDirectLine(lat1, lon1, azi1, true, a12, caps);
1755
+ };
1756
+ /**
1757
+ * @summary Define a {@link module:geodesic/GeodesicLine.GeodesicLine
1758
+ * GeodesicLine} in terms of the direct geodesic problem specified in terms
1759
+ * of either distance or arc length.
1760
+ * @param {number} lat1 the latitude of the first point in degrees.
1761
+ * @param {number} lon1 the longitude of the first point in degrees.
1762
+ * @param {number} azi1 the azimuth at the first point in degrees.
1763
+ * degrees.
1764
+ * @param {bool} arcmode boolean flag determining the meaning of the
1765
+ * s12_a12.
1766
+ * @param {number} s12_a12 if arcmode is false, this is the distance between
1767
+ * point 1 and point 2 (meters); otherwise it is the arc length between
1768
+ * point 1 and point 2 (degrees); it can be negative.
1769
+ * @param {bitmask} [caps = STANDARD | DISTANCE_IN] which capabilities to
1770
+ * include.
1771
+ * @return {object} the
1772
+ * {@link module:geodesic/GeodesicLine.GeodesicLine
1773
+ * GeodesicLine} object
1774
+ * @description This function sets point 3 of the GeodesicLine to correspond
1775
+ * to point 2 of the direct geodesic problem. For details on the caps
1776
+ * parameter, see {@tutorial 2-interface}, "The outmask and caps
1777
+ * parameters".
1778
+ */
1779
+ g.Geodesic.prototype.GenDirectLine = function (lat1, lon1, azi1, arcmode, s12_a12, caps) {
1780
+ var t;
1781
+ if (!caps)
1782
+ caps = g.STANDARD | g.DISTANCE_IN;
1783
+ // Automatically supply DISTANCE_IN if necessary
1784
+ if (!arcmode)
1785
+ caps |= g.DISTANCE_IN;
1786
+ t = new l.GeodesicLine(this, lat1, lon1, azi1, caps);
1787
+ t.GenSetDistance(arcmode, s12_a12);
1788
+ return t;
1789
+ };
1790
+ /**
1791
+ * @summary Define a {@link module:geodesic/GeodesicLine.GeodesicLine
1792
+ * GeodesicLine} in terms of the inverse geodesic problem.
1793
+ * @param {number} lat1 the latitude of the first point in degrees.
1794
+ * @param {number} lon1 the longitude of the first point in degrees.
1795
+ * @param {number} lat2 the latitude of the second point in degrees.
1796
+ * @param {number} lon2 the longitude of the second point in degrees.
1797
+ * @param {bitmask} [caps = STANDARD | DISTANCE_IN] which capabilities to
1798
+ * include.
1799
+ * @return {object} the
1800
+ * {@link module:geodesic/GeodesicLine.GeodesicLine
1801
+ * GeodesicLine} object
1802
+ * @description This function sets point 3 of the GeodesicLine to correspond
1803
+ * to point 2 of the inverse geodesic problem. For details on the caps
1804
+ * parameter, see {@tutorial 2-interface}, "The outmask and caps
1805
+ * parameters".
1806
+ */
1807
+ g.Geodesic.prototype.InverseLine = function (lat1, lon1, lat2, lon2, caps) {
1808
+ var r, t, azi1;
1809
+ if (!caps)
1810
+ caps = g.STANDARD | g.DISTANCE_IN;
1811
+ r = this.InverseInt(lat1, lon1, lat2, lon2, g.ARC);
1812
+ azi1 = m.atan2d(r.salp1, r.calp1);
1813
+ // Ensure that a12 can be converted to a distance
1814
+ if (caps & (g.OUT_MASK & g.DISTANCE_IN))
1815
+ caps |= g.DISTANCE;
1816
+ t = new l.GeodesicLine(this, lat1, lon1, azi1, caps, r.salp1, r.calp1);
1817
+ t.SetArc(r.vals.a12);
1818
+ return t;
1819
+ };
1820
+ /**
1821
+ * @summary Create a {@link module:geodesic/PolygonArea.PolygonArea
1822
+ * PolygonArea} object.
1823
+ * @param {bool} [polyline = false] if true the new PolygonArea object
1824
+ * describes a polyline instead of a polygon.
1825
+ * @return {object} the
1826
+ * {@link module:geodesic/PolygonArea.PolygonArea
1827
+ * PolygonArea} object
1828
+ */
1829
+ g.Geodesic.prototype.Polygon = function (polyline) {
1830
+ return new p.PolygonArea(this, polyline);
1831
+ };
1832
+ /**
1833
+ * @summary a {@link module:geodesic/Geodesic.Geodesic Geodesic} object
1834
+ * initialized for the WGS84 ellipsoid.
1835
+ * @constant {object}
1836
+ */
1837
+ g.WGS84 = new g.Geodesic(c.WGS84.a, c.WGS84.f);
1838
+ })(geodesic.Geodesic, geodesic.GeodesicLine, geodesic.PolygonArea, geodesic.Math, geodesic.Constants);
1839
+ /*
1840
+ * GeodesicLine.js
1841
+ * Transcription of GeodesicLine.[ch]pp into JavaScript.
1842
+ *
1843
+ * See the documentation for the C++ class. The conversion is a literal
1844
+ * conversion from C++.
1845
+ *
1846
+ * The algorithms are derived in
1847
+ *
1848
+ * Charles F. F. Karney,
1849
+ * Algorithms for geodesics, J. Geodesy 87, 43-55 (2013);
1850
+ * https://doi.org/10.1007/s00190-012-0578-z
1851
+ * Addenda: https://geographiclib.sourceforge.io/geod-addenda.html
1852
+ *
1853
+ * Copyright (c) Charles Karney (2011-2022) <karney@alum.mit.edu> and licensed
1854
+ * under the MIT/X11 License. For more information, see
1855
+ * https://geographiclib.sourceforge.io/
1856
+ */
1857
+ // Load AFTER geodesic/Math.js, geodesic/Geodesic.js
1858
+ (function (g,
1859
+ /**
1860
+ * @exports geodesic/GeodesicLine
1861
+ * @description Solve geodesic problems on a single geodesic line via the
1862
+ * {@link module:geodesic/GeodesicLine.GeodesicLine GeodesicLine}
1863
+ * class.
1864
+ */
1865
+ l, m) {
1866
+ "use strict";
1867
+ /**
1868
+ * @class
1869
+ * @property {number} a the equatorial radius (meters).
1870
+ * @property {number} f the flattening.
1871
+ * @property {number} lat1 the initial latitude (degrees).
1872
+ * @property {number} lon1 the initial longitude (degrees).
1873
+ * @property {number} azi1 the initial azimuth (degrees).
1874
+ * @property {number} salp1 the sine of the azimuth at the first point.
1875
+ * @property {number} calp1 the cosine the azimuth at the first point.
1876
+ * @property {number} s13 the distance to point 3 (meters).
1877
+ * @property {number} a13 the arc length to point 3 (degrees).
1878
+ * @property {bitmask} caps the capabilities of the object.
1879
+ * @summary Initialize a GeodesicLine object. For details on the caps
1880
+ * parameter, see {@tutorial 2-interface}, "The outmask and caps
1881
+ * parameters".
1882
+ * @classdesc Performs geodesic calculations along a given geodesic line.
1883
+ * This object is usually instantiated by
1884
+ * {@link module:geodesic/Geodesic.Geodesic#Line Geodesic.Line}.
1885
+ * The methods
1886
+ * {@link module:geodesic/Geodesic.Geodesic#DirectLine
1887
+ * Geodesic.DirectLine} and
1888
+ * {@link module:geodesic/Geodesic.Geodesic#InverseLine
1889
+ * Geodesic.InverseLine} set in addition the position of a reference point
1890
+ * 3.
1891
+ * @param {object} geod a {@link module:geodesic/Geodesic.Geodesic
1892
+ * Geodesic} object.
1893
+ * @param {number} lat1 the latitude of the first point in degrees.
1894
+ * @param {number} lon1 the longitude of the first point in degrees.
1895
+ * @param {number} azi1 the azimuth at the first point in degrees.
1896
+ * @param {bitmask} [caps = STANDARD | DISTANCE_IN] which capabilities to
1897
+ * include; LATITUDE | AZIMUTH are always included.
1898
+ */
1899
+ l.GeodesicLine = function (geod, lat1, lon1, azi1, caps, salp1, calp1) {
1900
+ var t, cbet1, sbet1, eps, s, c;
1901
+ if (!caps)
1902
+ caps = g.STANDARD | g.DISTANCE_IN;
1903
+ this.a = geod.a;
1904
+ this.f = geod.f;
1905
+ this._b = geod._b;
1906
+ this._c2 = geod._c2;
1907
+ this._f1 = geod._f1;
1908
+ this.caps = caps | g.LATITUDE | g.AZIMUTH | g.LONG_UNROLL;
1909
+ this.lat1 = m.LatFix(lat1);
1910
+ this.lon1 = lon1;
1911
+ if (typeof salp1 === 'undefined' || typeof calp1 === 'undefined') {
1912
+ this.azi1 = m.AngNormalize(azi1);
1913
+ t = m.sincosd(m.AngRound(this.azi1));
1914
+ this.salp1 = t.s;
1915
+ this.calp1 = t.c;
1916
+ }
1917
+ else {
1918
+ this.azi1 = azi1;
1919
+ this.salp1 = salp1;
1920
+ this.calp1 = calp1;
1921
+ }
1922
+ t = m.sincosd(m.AngRound(this.lat1));
1923
+ sbet1 = this._f1 * t.s;
1924
+ cbet1 = t.c;
1925
+ // norm(sbet1, cbet1);
1926
+ t = m.hypot(sbet1, cbet1);
1927
+ sbet1 /= t;
1928
+ cbet1 /= t;
1929
+ // Ensure cbet1 = +epsilon at poles
1930
+ cbet1 = Math.max(g.tiny_, cbet1);
1931
+ this._dn1 = Math.sqrt(1 + geod._ep2 * m.sq(sbet1));
1932
+ // Evaluate alp0 from sin(alp1) * cos(bet1) = sin(alp0),
1933
+ this._salp0 = this.salp1 * cbet1; // alp0 in [0, pi/2 - |bet1|]
1934
+ // Alt: calp0 = hypot(sbet1, calp1 * cbet1). The following
1935
+ // is slightly better (consider the case salp1 = 0).
1936
+ this._calp0 = m.hypot(this.calp1, this.salp1 * sbet1);
1937
+ // Evaluate sig with tan(bet1) = tan(sig1) * cos(alp1).
1938
+ // sig = 0 is nearest northward crossing of equator.
1939
+ // With bet1 = 0, alp1 = pi/2, we have sig1 = 0 (equatorial line).
1940
+ // With bet1 = pi/2, alp1 = -pi, sig1 = pi/2
1941
+ // With bet1 = -pi/2, alp1 = 0 , sig1 = -pi/2
1942
+ // Evaluate omg1 with tan(omg1) = sin(alp0) * tan(sig1).
1943
+ // With alp0 in (0, pi/2], quadrants for sig and omg coincide.
1944
+ // No atan2(0,0) ambiguity at poles since cbet1 = +epsilon.
1945
+ // With alp0 = 0, omg1 = 0 for alp1 = 0, omg1 = pi for alp1 = pi.
1946
+ this._ssig1 = sbet1;
1947
+ this._somg1 = this._salp0 * sbet1;
1948
+ this._csig1 = this._comg1 =
1949
+ sbet1 !== 0 || this.calp1 !== 0 ? cbet1 * this.calp1 : 1;
1950
+ // norm(this._ssig1, this._csig1); // sig1 in (-pi, pi]
1951
+ t = m.hypot(this._ssig1, this._csig1);
1952
+ this._ssig1 /= t;
1953
+ this._csig1 /= t;
1954
+ // norm(this._somg1, this._comg1); -- don't need to normalize!
1955
+ this._k2 = m.sq(this._calp0) * geod._ep2;
1956
+ eps = this._k2 / (2 * (1 + Math.sqrt(1 + this._k2)) + this._k2);
1957
+ if (this.caps & g.CAP_C1) {
1958
+ this._A1m1 = g.A1m1f(eps);
1959
+ this._C1a = new Array(g.nC1_ + 1);
1960
+ g.C1f(eps, this._C1a);
1961
+ this._B11 = g.SinCosSeries(true, this._ssig1, this._csig1, this._C1a);
1962
+ s = Math.sin(this._B11);
1963
+ c = Math.cos(this._B11);
1964
+ // tau1 = sig1 + B11
1965
+ this._stau1 = this._ssig1 * c + this._csig1 * s;
1966
+ this._ctau1 = this._csig1 * c - this._ssig1 * s;
1967
+ // Not necessary because C1pa reverts C1a
1968
+ // _B11 = -SinCosSeries(true, _stau1, _ctau1, _C1pa);
1969
+ }
1970
+ if (this.caps & g.CAP_C1p) {
1971
+ this._C1pa = new Array(g.nC1p_ + 1);
1972
+ g.C1pf(eps, this._C1pa);
1973
+ }
1974
+ if (this.caps & g.CAP_C2) {
1975
+ this._A2m1 = g.A2m1f(eps);
1976
+ this._C2a = new Array(g.nC2_ + 1);
1977
+ g.C2f(eps, this._C2a);
1978
+ this._B21 = g.SinCosSeries(true, this._ssig1, this._csig1, this._C2a);
1979
+ }
1980
+ if (this.caps & g.CAP_C3) {
1981
+ this._C3a = new Array(g.nC3_);
1982
+ geod.C3f(eps, this._C3a);
1983
+ this._A3c = -this.f * this._salp0 * geod.A3f(eps);
1984
+ this._B31 = g.SinCosSeries(true, this._ssig1, this._csig1, this._C3a);
1985
+ }
1986
+ if (this.caps & g.CAP_C4) {
1987
+ this._C4a = new Array(g.nC4_); // all the elements of _C4a are used
1988
+ geod.C4f(eps, this._C4a);
1989
+ // Multiplier = a^2 * e^2 * cos(alpha0) * sin(alpha0)
1990
+ this._A4 = m.sq(this.a) * this._calp0 * this._salp0 * geod._e2;
1991
+ this._B41 = g.SinCosSeries(false, this._ssig1, this._csig1, this._C4a);
1992
+ }
1993
+ this.a13 = this.s13 = NaN;
1994
+ };
1995
+ /**
1996
+ * @summary Find the position on the line (general case).
1997
+ * @param {bool} arcmode is the next parameter an arc length?
1998
+ * @param {number} s12_a12 the (arcmode ? arc length : distance) from the
1999
+ * first point to the second in (arcmode ? degrees : meters).
2000
+ * @param {bitmask} [outmask = STANDARD] which results to include; this is
2001
+ * subject to the capabilities of the object.
2002
+ * @return {object} the requested results.
2003
+ * @description The lat1, lon1, azi1, and a12 fields of the result are
2004
+ * always set; s12 is included if arcmode is false. For details on the
2005
+ * outmask parameter, see {@tutorial 2-interface}, "The outmask and caps
2006
+ * parameters".
2007
+ */
2008
+ l.GeodesicLine.prototype.GenPosition = function (arcmode, s12_a12, outmask, vals = {}) {
2009
+ // math.gl: optional caller-owned result; numerical equations are unchanged.
2010
+ var sig12, ssig12, csig12, B12, AB1, ssig2, csig2, tau12, s, c, serr, omg12, lam12, lon12, E, sbet2, cbet2, somg2, comg2, salp2, calp2, dn2, B22, AB2, J12, t, B42, salp12, calp12;
2011
+ if (!outmask)
2012
+ outmask = g.STANDARD;
2013
+ else if (outmask === g.LONG_UNROLL)
2014
+ outmask |= g.STANDARD;
2015
+ outmask &= this.caps & g.OUT_MASK;
2016
+ vals.lat1 = this.lat1;
2017
+ vals.azi1 = this.azi1;
2018
+ vals.lon1 = outmask & g.LONG_UNROLL ?
2019
+ this.lon1 : m.AngNormalize(this.lon1);
2020
+ if (arcmode)
2021
+ vals.a12 = s12_a12;
2022
+ else
2023
+ vals.s12 = s12_a12;
2024
+ if (!(arcmode || (this.caps & g.DISTANCE_IN & g.OUT_MASK))) {
2025
+ // Uninitialized or impossible distance calculation requested
2026
+ vals.a12 = NaN;
2027
+ return vals;
2028
+ }
2029
+ // Avoid warning about uninitialized B12.
2030
+ B12 = 0;
2031
+ AB1 = 0;
2032
+ if (arcmode) {
2033
+ // Interpret s12_a12 as spherical arc length
2034
+ sig12 = s12_a12 * m.degree;
2035
+ t = m.sincosd(s12_a12);
2036
+ ssig12 = t.s;
2037
+ csig12 = t.c;
2038
+ }
2039
+ else {
2040
+ // Interpret s12_a12 as distance
2041
+ tau12 = s12_a12 / (this._b * (1 + this._A1m1));
2042
+ s = Math.sin(tau12);
2043
+ c = Math.cos(tau12);
2044
+ // tau2 = tau1 + tau12
2045
+ B12 = -g.SinCosSeries(true, this._stau1 * c + this._ctau1 * s, this._ctau1 * c - this._stau1 * s, this._C1pa);
2046
+ sig12 = tau12 - (B12 - this._B11);
2047
+ ssig12 = Math.sin(sig12);
2048
+ csig12 = Math.cos(sig12);
2049
+ if (Math.abs(this.f) > 0.01) {
2050
+ // Reverted distance series is inaccurate for |f| > 1/100, so correct
2051
+ // sig12 with 1 Newton iteration. The following table shows the
2052
+ // approximate maximum error for a = WGS_a() and various f relative to
2053
+ // GeodesicExact.
2054
+ // erri = the error in the inverse solution (nm)
2055
+ // errd = the error in the direct solution (series only) (nm)
2056
+ // errda = the error in the direct solution
2057
+ // (series + 1 Newton) (nm)
2058
+ //
2059
+ // f erri errd errda
2060
+ // -1/5 12e6 1.2e9 69e6
2061
+ // -1/10 123e3 12e6 765e3
2062
+ // -1/20 1110 108e3 7155
2063
+ // -1/50 18.63 200.9 27.12
2064
+ // -1/100 18.63 23.78 23.37
2065
+ // -1/150 18.63 21.05 20.26
2066
+ // 1/150 22.35 24.73 25.83
2067
+ // 1/100 22.35 25.03 25.31
2068
+ // 1/50 29.80 231.9 30.44
2069
+ // 1/20 5376 146e3 10e3
2070
+ // 1/10 829e3 22e6 1.5e6
2071
+ // 1/5 157e6 3.8e9 280e6
2072
+ ssig2 = this._ssig1 * csig12 + this._csig1 * ssig12;
2073
+ csig2 = this._csig1 * csig12 - this._ssig1 * ssig12;
2074
+ B12 = g.SinCosSeries(true, ssig2, csig2, this._C1a);
2075
+ serr = (1 + this._A1m1) * (sig12 + (B12 - this._B11)) -
2076
+ s12_a12 / this._b;
2077
+ sig12 = sig12 - serr / Math.sqrt(1 + this._k2 * m.sq(ssig2));
2078
+ ssig12 = Math.sin(sig12);
2079
+ csig12 = Math.cos(sig12);
2080
+ // Update B12 below
2081
+ }
2082
+ }
2083
+ // sig2 = sig1 + sig12
2084
+ ssig2 = this._ssig1 * csig12 + this._csig1 * ssig12;
2085
+ csig2 = this._csig1 * csig12 - this._ssig1 * ssig12;
2086
+ dn2 = Math.sqrt(1 + this._k2 * m.sq(ssig2));
2087
+ if (outmask & (g.DISTANCE | g.REDUCEDLENGTH | g.GEODESICSCALE)) {
2088
+ if (arcmode || Math.abs(this.f) > 0.01)
2089
+ B12 = g.SinCosSeries(true, ssig2, csig2, this._C1a);
2090
+ AB1 = (1 + this._A1m1) * (B12 - this._B11);
2091
+ }
2092
+ // sin(bet2) = cos(alp0) * sin(sig2)
2093
+ sbet2 = this._calp0 * ssig2;
2094
+ // Alt: cbet2 = hypot(csig2, salp0 * ssig2);
2095
+ cbet2 = m.hypot(this._salp0, this._calp0 * csig2);
2096
+ if (cbet2 === 0)
2097
+ // I.e., salp0 = 0, csig2 = 0. Break the degeneracy in this case
2098
+ cbet2 = csig2 = g.tiny_;
2099
+ // tan(alp0) = cos(sig2)*tan(alp2)
2100
+ salp2 = this._salp0;
2101
+ calp2 = this._calp0 * csig2; // No need to normalize
2102
+ if (arcmode && (outmask & g.DISTANCE))
2103
+ vals.s12 = this._b * ((1 + this._A1m1) * sig12 + AB1);
2104
+ if (outmask & g.LONGITUDE) {
2105
+ // tan(omg2) = sin(alp0) * tan(sig2)
2106
+ somg2 = this._salp0 * ssig2;
2107
+ comg2 = csig2; // No need to normalize
2108
+ E = m.copysign(1, this._salp0);
2109
+ // omg12 = omg2 - omg1
2110
+ omg12 = outmask & g.LONG_UNROLL ?
2111
+ E * (sig12 -
2112
+ (Math.atan2(ssig2, csig2) -
2113
+ Math.atan2(this._ssig1, this._csig1)) +
2114
+ (Math.atan2(E * somg2, comg2) -
2115
+ Math.atan2(E * this._somg1, this._comg1))) :
2116
+ Math.atan2(somg2 * this._comg1 - comg2 * this._somg1, comg2 * this._comg1 + somg2 * this._somg1);
2117
+ lam12 = omg12 + this._A3c *
2118
+ (sig12 + (g.SinCosSeries(true, ssig2, csig2, this._C3a) -
2119
+ this._B31));
2120
+ lon12 = lam12 / m.degree;
2121
+ vals.lon2 = outmask & g.LONG_UNROLL ? this.lon1 + lon12 :
2122
+ m.AngNormalize(m.AngNormalize(this.lon1) + m.AngNormalize(lon12));
2123
+ }
2124
+ if (outmask & g.LATITUDE)
2125
+ vals.lat2 = m.atan2d(sbet2, this._f1 * cbet2);
2126
+ if (outmask & g.AZIMUTH)
2127
+ vals.azi2 = m.atan2d(salp2, calp2);
2128
+ if (outmask & (g.REDUCEDLENGTH | g.GEODESICSCALE)) {
2129
+ B22 = g.SinCosSeries(true, ssig2, csig2, this._C2a);
2130
+ AB2 = (1 + this._A2m1) * (B22 - this._B21);
2131
+ J12 = (this._A1m1 - this._A2m1) * sig12 + (AB1 - AB2);
2132
+ if (outmask & g.REDUCEDLENGTH)
2133
+ // Add parens around (_csig1 * ssig2) and (_ssig1 * csig2) to ensure
2134
+ // accurate cancellation in the case of coincident points.
2135
+ vals.m12 = this._b * ((dn2 * (this._csig1 * ssig2) -
2136
+ this._dn1 * (this._ssig1 * csig2)) -
2137
+ this._csig1 * csig2 * J12);
2138
+ if (outmask & g.GEODESICSCALE) {
2139
+ t = this._k2 * (ssig2 - this._ssig1) * (ssig2 + this._ssig1) /
2140
+ (this._dn1 + dn2);
2141
+ vals.M12 = csig12 +
2142
+ (t * ssig2 - csig2 * J12) * this._ssig1 / this._dn1;
2143
+ vals.M21 = csig12 -
2144
+ (t * this._ssig1 - this._csig1 * J12) * ssig2 / dn2;
2145
+ }
2146
+ }
2147
+ if (outmask & g.AREA) {
2148
+ B42 = g.SinCosSeries(false, ssig2, csig2, this._C4a);
2149
+ if (this._calp0 === 0 || this._salp0 === 0) {
2150
+ // alp12 = alp2 - alp1, used in atan2 so no need to normalize
2151
+ salp12 = salp2 * this.calp1 - calp2 * this.salp1;
2152
+ calp12 = calp2 * this.calp1 + salp2 * this.salp1;
2153
+ }
2154
+ else {
2155
+ // tan(alp) = tan(alp0) * sec(sig)
2156
+ // tan(alp2-alp1) = (tan(alp2) -tan(alp1)) / (tan(alp2)*tan(alp1)+1)
2157
+ // = calp0 * salp0 * (csig1-csig2) / (salp0^2 + calp0^2 * csig1*csig2)
2158
+ // If csig12 > 0, write
2159
+ // csig1 - csig2 = ssig12 * (csig1 * ssig12 / (1 + csig12) + ssig1)
2160
+ // else
2161
+ // csig1 - csig2 = csig1 * (1 - csig12) + ssig12 * ssig1
2162
+ // No need to normalize
2163
+ salp12 = this._calp0 * this._salp0 *
2164
+ (csig12 <= 0 ? this._csig1 * (1 - csig12) + ssig12 * this._ssig1 :
2165
+ ssig12 * (this._csig1 * ssig12 / (1 + csig12) + this._ssig1));
2166
+ calp12 = m.sq(this._salp0) + m.sq(this._calp0) * this._csig1 * csig2;
2167
+ }
2168
+ vals.S12 = this._c2 * Math.atan2(salp12, calp12) +
2169
+ this._A4 * (Math.abs(sig12) < 0.01 ?
2170
+ g.SinCosSeries(false, this._ssig1, this._csig1, this._C4a, sig12) : B42 - this._B41);
2171
+ }
2172
+ if (!arcmode)
2173
+ vals.a12 = sig12 / m.degree;
2174
+ return vals;
2175
+ };
2176
+ /**
2177
+ * @summary Find the position on the line given s12.
2178
+ * @param {number} s12 the distance from the first point to the second in
2179
+ * meters.
2180
+ * @param {bitmask} [outmask = STANDARD] which results to include; this is
2181
+ * subject to the capabilities of the object.
2182
+ * @return {object} the requested results.
2183
+ * @description The lat1, lon1, azi1, s12, and a12 fields of the result are
2184
+ * always set; s12 is included if arcmode is false. For details on the
2185
+ * outmask parameter, see {@tutorial 2-interface}, "The outmask and caps
2186
+ * parameters".
2187
+ */
2188
+ l.GeodesicLine.prototype.Position = function (s12, outmask) {
2189
+ return this.GenPosition(false, s12, outmask);
2190
+ };
2191
+ /**
2192
+ * @summary Find the position on the line given a12.
2193
+ * @param {number} a12 the arc length from the first point to the second in
2194
+ * degrees.
2195
+ * @param {bitmask} [outmask = STANDARD] which results to include; this is
2196
+ * subject to the capabilities of the object.
2197
+ * @return {object} the requested results.
2198
+ * @description The lat1, lon1, azi1, and a12 fields of the result are
2199
+ * always set. For details on the outmask parameter, see {@tutorial
2200
+ * 2-interface}, "The outmask and caps parameters".
2201
+ */
2202
+ l.GeodesicLine.prototype.ArcPosition = function (a12, outmask) {
2203
+ return this.GenPosition(true, a12, outmask);
2204
+ };
2205
+ /**
2206
+ * @summary Specify position of point 3 in terms of either distance or arc
2207
+ * length.
2208
+ * @param {bool} arcmode boolean flag determining the meaning of the second
2209
+ * parameter; if arcmode is false, then the GeodesicLine object must have
2210
+ * been constructed with caps |= DISTANCE_IN.
2211
+ * @param {number} s13_a13 if arcmode is false, this is the distance from
2212
+ * point 1 to point 3 (meters); otherwise it is the arc length from
2213
+ * point 1 to point 3 (degrees); it can be negative.
2214
+ */
2215
+ l.GeodesicLine.prototype.GenSetDistance = function (arcmode, s13_a13) {
2216
+ if (arcmode)
2217
+ this.SetArc(s13_a13);
2218
+ else
2219
+ this.SetDistance(s13_a13);
2220
+ };
2221
+ /**
2222
+ * @summary Specify position of point 3 in terms distance.
2223
+ * @param {number} s13 the distance from point 1 to point 3 (meters); it
2224
+ * can be negative.
2225
+ */
2226
+ l.GeodesicLine.prototype.SetDistance = function (s13) {
2227
+ var r;
2228
+ this.s13 = s13;
2229
+ r = this.GenPosition(false, this.s13, g.ARC);
2230
+ this.a13 = 0 + r.a12; // the 0+ converts undefined into NaN
2231
+ };
2232
+ /**
2233
+ * @summary Specify position of point 3 in terms of arc length.
2234
+ * @param {number} a13 the arc length from point 1 to point 3 (degrees);
2235
+ * it can be negative.
2236
+ */
2237
+ l.GeodesicLine.prototype.SetArc = function (a13) {
2238
+ var r;
2239
+ this.a13 = a13;
2240
+ r = this.GenPosition(true, this.a13, g.DISTANCE);
2241
+ this.s13 = 0 + r.s12; // the 0+ converts undefined into NaN
2242
+ };
2243
+ })(geodesic.Geodesic, geodesic.GeodesicLine, geodesic.Math);
2244
+ export { geodesic };
2245
+ //# sourceMappingURL=runtime.js.map