@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,2339 @@
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
+ /*
8
+ * Math.js
9
+ * Transcription of Math.hpp, Constants.hpp, and Accumulator.hpp into
10
+ * JavaScript.
11
+ *
12
+ * Copyright (c) Charles Karney (2011-2021) <karney@alum.mit.edu> and licensed
13
+ * under the MIT/X11 License. For more information, see
14
+ * https://geographiclib.sourceforge.io/
15
+ */
16
+
17
+ /**
18
+ * @namespace geodesic
19
+ * @description The parent namespace for the following modules:
20
+ * - {@link module:geodesic/Geodesic geodesic/Geodesic} The main
21
+ * engine for solving geodesic problems via the
22
+ * {@link module:geodesic/Geodesic.Geodesic Geodesic} class.
23
+ * - {@link module:geodesic/GeodesicLine geodesic/GeodesicLine}
24
+ * computes points along a single geodesic line via the
25
+ * {@link module:geodesic/GeodesicLine.GeodesicLine GeodesicLine}
26
+ * class.
27
+ * - {@link module:geodesic/PolygonArea geodesic/PolygonArea}
28
+ * computes the area of a geodesic polygon via the
29
+ * {@link module:geodesic/PolygonArea.PolygonArea PolygonArea}
30
+ * class.
31
+ * - {@link module:geodesic/Constants geodesic/Constants} defines
32
+ * constants specifying the version numbers and the parameters for the WGS84
33
+ * ellipsoid.
34
+ *
35
+ * The following modules are used internally by the package:
36
+ * - {@link module:geodesic/Math geodesic/Math} defines various
37
+ * mathematical functions.
38
+ * - {@link module:geodesic/Accumulator geodesic/Accumulator}
39
+ * interally used by
40
+ * {@link module:geodesic/PolygonArea.PolygonArea PolygonArea} (via the
41
+ * {@link module:geodesic/Accumulator.Accumulator Accumulator} class)
42
+ * for summing the contributions to the area of a polygon.
43
+ */
44
+
45
+ // To allow swap via [y, x] = [x, y]
46
+ /* jshint esversion: 6 */
47
+
48
+ var geodesic = {};
49
+ geodesic.Constants = {};
50
+ geodesic.Math = {};
51
+ geodesic.Accumulator = {};
52
+
53
+ (function(
54
+ /**
55
+ * @exports geodesic/Constants
56
+ * @description Define constants defining the version and WGS84 parameters.
57
+ */
58
+ c) {
59
+ "use strict";
60
+
61
+ /**
62
+ * @constant
63
+ * @summary WGS84 parameters.
64
+ * @property {number} a the equatorial radius (meters).
65
+ * @property {number} f the flattening.
66
+ */
67
+ c.WGS84 = { a: 6378137, f: 1/298.257223563 };
68
+ /**
69
+ * @constant
70
+ * @summary an array of version numbers.
71
+ * @property {number} major the major version number.
72
+ * @property {number} minor the minor version number.
73
+ * @property {number} patch the patch number.
74
+ */
75
+ c.version = { major: 2,
76
+ minor: 2,
77
+ patch: 0 };
78
+ /**
79
+ * @constant
80
+ * @summary version string
81
+ */
82
+ c.version_string = "2.2.0";
83
+ })(geodesic.Constants);
84
+
85
+ (function(
86
+ /**
87
+ * @exports geodesic/Math
88
+ * @description Some useful mathematical constants and functions (mainly for
89
+ * internal use).
90
+ */
91
+ m) {
92
+ "use strict";
93
+
94
+ /**
95
+ * @summary The number of digits of precision in floating-point numbers.
96
+ * @constant {number}
97
+ */
98
+ m.digits = 53;
99
+ /**
100
+ * @summary The machine epsilon.
101
+ * @constant {number}
102
+ */
103
+ m.epsilon = Math.pow(0.5, m.digits - 1);
104
+ /**
105
+ * @summary The factor to convert degrees to radians.
106
+ * @constant {number}
107
+ */
108
+ m.degree = Math.PI/180;
109
+
110
+ /**
111
+ * @summary Square a number.
112
+ * @param {number} x the number.
113
+ * @return {number} the square.
114
+ */
115
+ m.sq = function(x) { return x * x; };
116
+
117
+ /**
118
+ * @summary The hypotenuse function.
119
+ * @param {number} x the first side.
120
+ * @param {number} y the second side.
121
+ * @return {number} the hypotenuse.
122
+ */
123
+ m.hypot = function(x, y) {
124
+ // Built in Math.hypot give incorrect results from GeodSolve92.
125
+ return Math.sqrt(x*x + y*y);
126
+ };
127
+
128
+ /**
129
+ * @summary Cube root function.
130
+ * @param {number} x the argument.
131
+ * @return {number} the real cube root.
132
+ */
133
+ m.cbrt = Math.cbrt || function(x) {
134
+ var y = Math.pow(Math.abs(x), 1/3);
135
+ return x > 0 ? y : (x < 0 ? -y : x);
136
+ };
137
+
138
+ /**
139
+ * @summary The log1p function.
140
+ * @param {number} x the argument.
141
+ * @return {number} log(1 + x).
142
+ */
143
+ m.log1p = Math.log1p || function(x) {
144
+ var y = 1 + x,
145
+ z = y - 1;
146
+ // Here's the explanation for this magic: y = 1 + z, exactly, and z
147
+ // approx x, thus log(y)/z (which is nearly constant near z = 0) returns
148
+ // a good approximation to the true log(1 + x)/x. The multiplication x *
149
+ // (log(y)/z) introduces little additional error.
150
+ return z === 0 ? x : x * Math.log(y) / z;
151
+ };
152
+
153
+ /**
154
+ * @summary Inverse hyperbolic tangent.
155
+ * @param {number} x the argument.
156
+ * @return {number} tanh<sup>&minus;1</sup> x.
157
+ */
158
+ m.atanh = Math.atanh || function(x) {
159
+ var y = Math.abs(x); // Enforce odd parity
160
+ y = m.log1p(2 * y/(1 - y))/2;
161
+ return x > 0 ? y : (x < 0 ? -y : x);
162
+ };
163
+
164
+ /**
165
+ * @summary Copy the sign.
166
+ * @param {number} x gives the magitude of the result.
167
+ * @param {number} y gives the sign of the result.
168
+ * @return {number} value with the magnitude of x and with the sign of y.
169
+ */
170
+ m.copysign = function(x, y) {
171
+ return Math.abs(x) * (y < 0 || (y === 0 && 1/y < 0) ? -1 : 1);
172
+ };
173
+
174
+ /**
175
+ * @summary An error-free sum.
176
+ * @param {number} u
177
+ * @param {number} v
178
+ * @return {object} sum with sum.s = round(u + v) and sum.t is u + v &minus;
179
+ * round(u + v)
180
+ */
181
+ m.sum = function(u, v) {
182
+ var s = u + v,
183
+ up = s - v,
184
+ vpp = s - up,
185
+ t;
186
+ up -= u;
187
+ vpp -= v;
188
+ // if s = 0, then t = 0 and give t the same sign as s
189
+ t = s ? 0 - (up + vpp) : s;
190
+ // u + v = s + t
191
+ // = round(u + v) + t
192
+ return {s: s, t: t};
193
+ };
194
+
195
+ /**
196
+ * @summary Evaluate a polynomial.
197
+ * @param {integer} N the order of the polynomial.
198
+ * @param {array} p the coefficient array (of size N + 1) (leading
199
+ * order coefficient first)
200
+ * @param {number} x the variable.
201
+ * @return {number} the value of the polynomial.
202
+ */
203
+ m.polyval = function(N, p, s, x) {
204
+ var y = N < 0 ? 0 : p[s++];
205
+ while (--N >= 0) y = y * x + p[s++];
206
+ return y;
207
+ };
208
+
209
+ /**
210
+ * @summary Coarsen a value close to zero.
211
+ * @param {number} x
212
+ * @return {number} the coarsened value.
213
+ */
214
+ m.AngRound = function(x) {
215
+ // The makes the smallest gap in x = 1/16 - nextafter(1/16, 0) = 1/2^57 for
216
+ // reals = 0.7 pm on the earth if x is an angle in degrees. (This is about
217
+ // 1000 times more resolution than we get with angles around 90 degrees.)
218
+ // We use this to avoid having to deal with near singular cases when x is
219
+ // non-zero but tiny (e.g., 1.0e-200). This converts -0 to +0; however
220
+ // tiny negative numbers get converted to -0.
221
+ var z = 1/16,
222
+ y = Math.abs(x);
223
+ // The compiler mustn't "simplify" z - (z - y) to y
224
+ y = y < z ? z - (z - y) : y;
225
+ return m.copysign(y, x);
226
+ };
227
+
228
+ /**
229
+ * @summary The remainder function.
230
+ * @param {number} x the numerator of the division
231
+ * @param {number} y the denominator of the division
232
+ * @return {number} the remainder in the range [&minus;y/2, y/2].
233
+ * <p>
234
+ * The range of x is unrestricted; y must be positive.
235
+ */
236
+ m.remainder = function(x, y) {
237
+ x %= y;
238
+ return x < -y/2 ? x + y : (x < y/2 ? x : x - y);
239
+ };
240
+
241
+ /**
242
+ * @summary Normalize an angle.
243
+ * @param {number} x the angle in degrees.
244
+ * @return {number} the angle reduced to the range [&minus;180&deg;,
245
+ * 180&deg;].
246
+ *
247
+ * The range of x is unrestricted. If the result is &plusmn;0&deg; or
248
+ * &plusmn;180&deg; then the sign is the sign of \e x.
249
+ */
250
+ m.AngNormalize = function(x) {
251
+ // Place angle in [-180, 180].
252
+ var y = m.remainder(x, 360);
253
+ return Math.abs(y) === 180 ? m.copysign(180, x) : y;
254
+ };
255
+
256
+ /**
257
+ * @summary Normalize a latitude.
258
+ * @param {number} x the angle in degrees.
259
+ * @return {number} x if it is in the range [&minus;90&deg;, 90&deg;],
260
+ * otherwise return NaN.
261
+ */
262
+ m.LatFix = function(x) {
263
+ // Replace angle with NaN if outside [-90, 90].
264
+ return Math.abs(x) > 90 ? NaN : x;
265
+ };
266
+
267
+ /**
268
+ * @summary The exact difference of two angles reduced to [&minus;180&deg;,
269
+ * 180&deg;]
270
+ * @param {number} x the first angle in degrees.
271
+ * @param {number} y the second angle in degrees.
272
+ * @return {object} diff the exact difference, diff.d + diff.e = y &minus; x
273
+ * mod 360&deg;.
274
+ *
275
+ * This computes z = y &minus; x exactly, reduced to
276
+ * [&minus;180&deg;, 180&deg;]; and then sets z = d + e where d
277
+ * is the nearest representable number to z and e is the truncation
278
+ * error. If z = &plusmn;0&deg; or &plusmn;180&deg;, then the sign of
279
+ * d is given by the sign of y &minus; x. The maximum absolute
280
+ * value of e is 2<sup>&minus;26</sup> (for doubles).
281
+ */
282
+ m.AngDiff = function(x, y) {
283
+ // Compute y - x and reduce to [-180,180] accurately.
284
+ var r = m.sum(m.remainder(-x, 360), m.remainder(y, 360)), d, e;
285
+ r = m.sum(m.remainder(r.s, 360), r.t);
286
+ d = r.s;
287
+ e = r.t;
288
+ // Fix the sign if d = -180, 0, 180.
289
+ if (d === 0 || Math.abs(d) === 180)
290
+ // If e == 0, take sign from y - x
291
+ // else (e != 0, implies d = +/-180), d and e must have opposite signs
292
+ d = m.copysign(d, e === 0 ? y - x : -e);
293
+ return {d: d, e: e};
294
+ };
295
+
296
+ /**
297
+ * @summary Evaluate the sine and cosine function with the argument in
298
+ * degrees
299
+ * @param {number} x in degrees.
300
+ * @return {object} r with r.s = sin(x) and r.c = cos(x).
301
+ */
302
+ m.sincosd = function(x) {
303
+ // In order to minimize round-off errors, this function exactly reduces
304
+ // the argument to the range [-45, 45] before converting it to radians.
305
+ var d, r, q, s, c, sinx, cosx;
306
+ d = x % 360;
307
+ q = Math.round(d / 90); // If d is NaN this returns NaN
308
+ d -= 90 * q;
309
+ // now abs(d) <= 45
310
+ r = d * this.degree;
311
+ // Possibly could call the gnu extension sincos
312
+ s = Math.sin(r); c = Math.cos(r);
313
+ if (Math.abs(d) === 45) {
314
+ c = Math.sqrt(0.5);
315
+ s = m.copysign(c, r);
316
+ } else if (Math.abs(d) === 30) {
317
+ c = Math.sqrt(0.75);
318
+ s = m.copysign(0.5, r);
319
+ }
320
+ switch (q & 3) {
321
+ case 0: sinx = s; cosx = c; break;
322
+ case 1: sinx = c; cosx = -s; break;
323
+ case 2: sinx = -s; cosx = -c; break;
324
+ default: sinx = -c; cosx = s; break; // case 3
325
+ }
326
+ cosx += 0;
327
+ if (sinx === 0) sinx = m.copysign(sinx, x);
328
+ return {s: sinx, c: cosx};
329
+ };
330
+
331
+ /**
332
+ * @summary Evaluate the sine and cosine with reduced argument plus correction
333
+ *
334
+ * @param {number} x reduced angle in degrees.
335
+ * @param {number} t correction in degrees.
336
+ * @return {object} r with r.s = sin(x + t) and r.c = cos(x + t).
337
+ */
338
+ m.sincosde = function(x, t) {
339
+ // In order to minimize round-off errors, this function exactly reduces
340
+ // the argument to the range [-45, 45] before converting it to radians.
341
+ var d, r, q, s, c, sinx, cosx;
342
+ d = x % 360;
343
+ q = Math.round(d / 90); // If d is NaN this returns NaN
344
+ d = m.AngRound((d - 90 * q) + t);
345
+ // now abs(d) <= 45
346
+ r = d * this.degree;
347
+ // Possibly could call the gnu extension sincos
348
+ s = Math.sin(r); c = Math.cos(r);
349
+ if (Math.abs(d) === 45) {
350
+ c = Math.sqrt(0.5);
351
+ s = m.copysign(c, r);
352
+ } else if (Math.abs(d) === 30) {
353
+ c = Math.sqrt(0.75);
354
+ s = m.copysign(0.5, r);
355
+ }
356
+ switch (q & 3) {
357
+ case 0: sinx = s; cosx = c; break;
358
+ case 1: sinx = c; cosx = -s; break;
359
+ case 2: sinx = -s; cosx = -c; break;
360
+ default: sinx = -c; cosx = s; break; // case 3
361
+ }
362
+ cosx += 0;
363
+ if (sinx === 0) sinx = m.copysign(sinx, x+t);
364
+ return {s: sinx, c: cosx};
365
+ };
366
+
367
+ /**
368
+ * @summary Evaluate the atan2 function with the result in degrees
369
+ * @param {number} y
370
+ * @param {number} x
371
+ * @return atan2(y, x) in degrees, in the range [&minus;180&deg;
372
+ * 180&deg;].
373
+ */
374
+ m.atan2d = function(y, x) {
375
+ // In order to minimize round-off errors, this function rearranges the
376
+ // arguments so that result of atan2 is in the range [-pi/4, pi/4] before
377
+ // converting it to degrees and mapping the result to the correct
378
+ // quadrant.
379
+ var q = 0, ang;
380
+ if (Math.abs(y) > Math.abs(x)) { [y, x] = [x, y]; q = 2; } // swap(x, y)
381
+ if (m.copysign(1, x) < 0) { x = -x; ++q; }
382
+ // here x >= 0 and x >= abs(y), so angle is in [-pi/4, pi/4]
383
+ ang = Math.atan2(y, x) / this.degree;
384
+ switch (q) {
385
+ // Note that atan2d(-0.0, 1.0) will return -0. However, we expect that
386
+ // atan2d will not be called with y = -0. If need be, include
387
+ //
388
+ // case 0: ang = 0 + ang; break;
389
+ //
390
+ // and handle mpfr as in AngRound.
391
+ case 1: ang = m.copysign(180, y) - ang; break;
392
+ case 2: ang = 90 - ang; break;
393
+ case 3: ang = -90 + ang; break;
394
+ default: break;
395
+ }
396
+ return ang;
397
+ };
398
+ })(geodesic.Math);
399
+
400
+ (function(
401
+ /**
402
+ * @exports geodesic/Accumulator
403
+ * @description Accurate summation via the
404
+ * {@link module:geodesic/Accumulator.Accumulator Accumulator} class
405
+ * (mainly for internal use).
406
+ */
407
+ a, m) {
408
+ "use strict";
409
+
410
+ /**
411
+ * @class
412
+ * @summary Accurate summation of many numbers.
413
+ * @classdesc This allows many numbers to be added together with twice the
414
+ * normal precision. In the documentation of the member functions, sum
415
+ * stands for the value currently held in the accumulator.
416
+ * @param {number | Accumulator} [y = 0] set sum = y.
417
+ */
418
+ a.Accumulator = function(y) {
419
+ this.Set(y);
420
+ };
421
+
422
+ /**
423
+ * @summary Set the accumulator to a number.
424
+ * @param {number | Accumulator} [y = 0] set sum = y.
425
+ */
426
+ a.Accumulator.prototype.Set = function(y) {
427
+ if (!y) y = 0;
428
+ if (y.constructor === a.Accumulator) {
429
+ this._s = y._s;
430
+ this._t = y._t;
431
+ } else {
432
+ this._s = y;
433
+ this._t = 0;
434
+ }
435
+ };
436
+
437
+ /**
438
+ * @summary Add a number to the accumulator.
439
+ * @param {number} [y = 0] set sum += y.
440
+ */
441
+ a.Accumulator.prototype.Add = function(y) {
442
+ // Here's Shewchuk's solution...
443
+ // Accumulate starting at least significant end
444
+ var u = m.sum(y, this._t),
445
+ v = m.sum(u.s, this._s);
446
+ u = u.t;
447
+ this._s = v.s;
448
+ this._t = v.t;
449
+ // Start is _s, _t decreasing and non-adjacent. Sum is now (s + t + u)
450
+ // exactly with s, t, u non-adjacent and in decreasing order (except
451
+ // for possible zeros). The following code tries to normalize the
452
+ // result. Ideally, we want _s = round(s+t+u) and _u = round(s+t+u -
453
+ // _s). The follow does an approximate job (and maintains the
454
+ // decreasing non-adjacent property). Here are two "failures" using
455
+ // 3-bit floats:
456
+ //
457
+ // Case 1: _s is not equal to round(s+t+u) -- off by 1 ulp
458
+ // [12, -1] - 8 -> [4, 0, -1] -> [4, -1] = 3 should be [3, 0] = 3
459
+ //
460
+ // Case 2: _s+_t is not as close to s+t+u as it shold be
461
+ // [64, 5] + 4 -> [64, 8, 1] -> [64, 8] = 72 (off by 1)
462
+ // should be [80, -7] = 73 (exact)
463
+ //
464
+ // "Fixing" these problems is probably not worth the expense. The
465
+ // representation inevitably leads to small errors in the accumulated
466
+ // values. The additional errors illustrated here amount to 1 ulp of
467
+ // the less significant word during each addition to the Accumulator
468
+ // and an additional possible error of 1 ulp in the reported sum.
469
+ //
470
+ // Incidentally, the "ideal" representation described above is not
471
+ // canonical, because _s = round(_s + _t) may not be true. For
472
+ // example, with 3-bit floats:
473
+ //
474
+ // [128, 16] + 1 -> [160, -16] -- 160 = round(145).
475
+ // But [160, 0] - 16 -> [128, 16] -- 128 = round(144).
476
+ //
477
+ if (this._s === 0) // This implies t == 0,
478
+ this._s = u; // so result is u
479
+ else
480
+ this._t += u; // otherwise just accumulate u to t.
481
+ };
482
+
483
+ /**
484
+ * @summary Return the result of adding a number to sum (but
485
+ * don't change sum).
486
+ * @param {number} [y = 0] the number to be added to the sum.
487
+ * @return sum + y.
488
+ */
489
+ a.Accumulator.prototype.Sum = function(y) {
490
+ var b;
491
+ if (!y)
492
+ return this._s;
493
+ else {
494
+ b = new a.Accumulator(this);
495
+ b.Add(y);
496
+ return b._s;
497
+ }
498
+ };
499
+
500
+ /**
501
+ * @summary Set sum = &minus;sum.
502
+ */
503
+ a.Accumulator.prototype.Negate = function() {
504
+ this._s *= -1;
505
+ this._t *= -1;
506
+ };
507
+
508
+ /**
509
+ * @summary Take the remainder
510
+ * @param {number} y the divisor of the remainder operation.
511
+ * @return sum in range [&minus;y/2, y/2].
512
+ */
513
+ a.Accumulator.prototype.Remainder = function(y) {
514
+ this._s = m.remainder(this._s, y);
515
+ this.Add(0);
516
+ };
517
+ })(geodesic.Accumulator, geodesic.Math);
518
+
519
+ /*
520
+ * Geodesic.js
521
+ * Transcription of Geodesic.[ch]pp into JavaScript.
522
+ *
523
+ * See the documentation for the C++ class. The conversion is a literal
524
+ * conversion from C++.
525
+ *
526
+ * The algorithms are derived in
527
+ *
528
+ * Charles F. F. Karney,
529
+ * Algorithms for geodesics, J. Geodesy 87, 43-55 (2013);
530
+ * https://doi.org/10.1007/s00190-012-0578-z
531
+ * Addenda: https://geographiclib.sourceforge.io/geod-addenda.html
532
+ *
533
+ * Copyright (c) Charles Karney (2011-2022) <karney@alum.mit.edu> and licensed
534
+ * under the MIT/X11 License. For more information, see
535
+ * https://geographiclib.sourceforge.io/
536
+ */
537
+
538
+ // Load AFTER Math.js
539
+
540
+ // To allow swap via [y, x] = [x, y]
541
+ /* jshint esversion: 6 */
542
+
543
+ geodesic.Geodesic = {};
544
+ geodesic.GeodesicLine = {};
545
+ geodesic.PolygonArea = {};
546
+
547
+ (function(
548
+ /**
549
+ * @exports geodesic/Geodesic
550
+ * @description Solve geodesic problems via the
551
+ * {@link module:geodesic/Geodesic.Geodesic Geodesic} class.
552
+ */
553
+ g, l, p, m, c) {
554
+ "use strict";
555
+
556
+ var GEOGRAPHICLIB_GEODESIC_ORDER = 6,
557
+ nA1_ = GEOGRAPHICLIB_GEODESIC_ORDER,
558
+ nA2_ = GEOGRAPHICLIB_GEODESIC_ORDER,
559
+ nA3_ = GEOGRAPHICLIB_GEODESIC_ORDER,
560
+ nA3x_ = nA3_,
561
+ nC3x_, nC4x_,
562
+ maxit1_ = 20,
563
+ maxit2_ = maxit1_ + m.digits + 10,
564
+ tol0_ = m.epsilon,
565
+ tol1_ = 200 * tol0_,
566
+ tol2_ = Math.sqrt(tol0_),
567
+ tolb_ = tol0_,
568
+ xthresh_ = 1000 * tol2_,
569
+ CAP_NONE = 0,
570
+ CAP_ALL = 0x1F,
571
+ OUT_ALL = 0x7F80,
572
+ astroid,
573
+ A1m1f_coeff, C1f_coeff, C1pf_coeff,
574
+ A2m1f_coeff, C2f_coeff,
575
+ A3_coeff, C3_coeff, C4_coeff;
576
+
577
+ // N.B. Number.MIN_VALUE is denormalized; divide by Number.EPSILON to get min
578
+ // normalized positive number.
579
+ g.tiny_ = Math.sqrt(Number.MIN_VALUE/Number.EPSILON);
580
+ g.nC1_ = GEOGRAPHICLIB_GEODESIC_ORDER;
581
+ g.nC1p_ = GEOGRAPHICLIB_GEODESIC_ORDER;
582
+ g.nC2_ = GEOGRAPHICLIB_GEODESIC_ORDER;
583
+ g.nC3_ = GEOGRAPHICLIB_GEODESIC_ORDER;
584
+ g.nC4_ = GEOGRAPHICLIB_GEODESIC_ORDER;
585
+ nC3x_ = (g.nC3_ * (g.nC3_ - 1)) / 2;
586
+ nC4x_ = (g.nC4_ * (g.nC4_ + 1)) / 2;
587
+ g.CAP_C1 = 1<<0;
588
+ g.CAP_C1p = 1<<1;
589
+ g.CAP_C2 = 1<<2;
590
+ g.CAP_C3 = 1<<3;
591
+ g.CAP_C4 = 1<<4;
592
+
593
+ g.NONE = 0;
594
+ g.ARC = 1<<6;
595
+ g.LATITUDE = 1<<7 | CAP_NONE;
596
+ g.LONGITUDE = 1<<8 | g.CAP_C3;
597
+ g.AZIMUTH = 1<<9 | CAP_NONE;
598
+ g.DISTANCE = 1<<10 | g.CAP_C1;
599
+ g.STANDARD = g.LATITUDE | g.LONGITUDE | g.AZIMUTH | g.DISTANCE;
600
+ g.DISTANCE_IN = 1<<11 | g.CAP_C1 | g.CAP_C1p;
601
+ g.REDUCEDLENGTH = 1<<12 | g.CAP_C1 | g.CAP_C2;
602
+ g.GEODESICSCALE = 1<<13 | g.CAP_C1 | g.CAP_C2;
603
+ g.AREA = 1<<14 | g.CAP_C4;
604
+ g.ALL = OUT_ALL| CAP_ALL;
605
+ g.LONG_UNROLL = 1<<15;
606
+ g.OUT_MASK = OUT_ALL| g.LONG_UNROLL;
607
+
608
+ // Original math.gl stable difference: cos(k*(x+d))-cos(k*x)
609
+ // = -2*sin(k*(x+d/2))*sin(k*d/2), k odd. Retain tiny arc bits.
610
+ g.SinCosSeries = function(sinp, sinx, cosx, c, delta) {
611
+ if (delta !== undefined) {
612
+ var h = delta / 2, sh = Math.sin(h), ch = Math.cos(h);
613
+ // sin((2*i+1)*mid) = (-1)^i*cos((2*i+1)*(pi/2-mid)).
614
+ return -2 * g.SinCosSeries(false, cosx * ch - sinx * sh,
615
+ sinx * ch + cosx * sh,
616
+ c.map(function(v, i) {return (i % 2 ? -v : v) * Math.sin((2 * i + 1) * h);}));
617
+ }
618
+
619
+ // Evaluate
620
+ // y = sinp ? sum(c[i] * sin( 2*i * x), i, 1, n) :
621
+ // sum(c[i] * cos((2*i+1) * x), i, 0, n-1)
622
+ // using Clenshaw summation. N.B. c[0] is unused for sin series
623
+ // Approx operation count = (n + 5) mult and (2 * n + 2) add
624
+ var k = c.length, // Point to one beyond last element
625
+ n = k - (sinp ? 1 : 0),
626
+ ar = 2 * (cosx - sinx) * (cosx + sinx), // 2 * cos(2 * x)
627
+ y0 = n & 1 ? c[--k] : 0, y1 = 0; // accumulators for sum
628
+ // Now n is even
629
+ n = Math.floor(n/2);
630
+ while (n--) {
631
+ // Unroll loop x 2, so accumulators return to their original role
632
+ y1 = ar * y0 - y1 + c[--k];
633
+ y0 = ar * y1 - y0 + c[--k];
634
+ }
635
+ return (sinp ? 2 * sinx * cosx * y0 : // sin(2 * x) * y0
636
+ cosx * (y0 - y1)); // cos(x) * (y0 - y1)
637
+ };
638
+
639
+ astroid = function(x, y) {
640
+ // Solve k^4+2*k^3-(x^2+y^2-1)*k^2-2*y^2*k-y^2 = 0 for positive
641
+ // root k. This solution is adapted from Geocentric::Reverse.
642
+ var k,
643
+ p = m.sq(x),
644
+ q = m.sq(y),
645
+ r = (p + q - 1) / 6,
646
+ S, r2, r3, disc, u, T3, T, ang, v, uv, w;
647
+ if ( !(q === 0 && r <= 0) ) {
648
+ // Avoid possible division by zero when r = 0 by multiplying
649
+ // equations for s and t by r^3 and r, resp.
650
+ S = p * q / 4; // S = r^3 * s
651
+ r2 = m.sq(r);
652
+ r3 = r * r2;
653
+ // The discriminant of the quadratic equation for T3. This is
654
+ // zero on the evolute curve p^(1/3)+q^(1/3) = 1
655
+ disc = S * (S + 2 * r3);
656
+ u = r;
657
+ if (disc >= 0) {
658
+ T3 = S + r3;
659
+ // Pick the sign on the sqrt to maximize abs(T3). This
660
+ // minimizes loss of precision due to cancellation. The
661
+ // result is unchanged because of the way the T is used
662
+ // in definition of u.
663
+ T3 += T3 < 0 ? -Math.sqrt(disc) : Math.sqrt(disc); // T3 = (r * t)^3
664
+ // N.B. cbrt always returns the real root. cbrt(-8) = -2.
665
+ T = m.cbrt(T3); // T = r * t
666
+ // T can be zero; but then r2 / T -> 0.
667
+ u += T + (T !== 0 ? r2 / T : 0);
668
+ } else {
669
+ // T is complex, but the way u is defined the result is real.
670
+ ang = Math.atan2(Math.sqrt(-disc), -(S + r3));
671
+ // There are three possible cube roots. We choose the
672
+ // root which avoids cancellation. Note that disc < 0
673
+ // implies that r < 0.
674
+ u += 2 * r * Math.cos(ang / 3);
675
+ }
676
+ v = Math.sqrt(m.sq(u) + q); // guaranteed positive
677
+ // Avoid loss of accuracy when u < 0.
678
+ uv = u < 0 ? q / (v - u) : u + v; // u+v, guaranteed positive
679
+ w = (uv - q) / (2 * v); // positive?
680
+ // Rearrange expression for k to avoid loss of accuracy due to
681
+ // subtraction. Division by 0 not possible because uv > 0, w >= 0.
682
+ k = uv / (Math.sqrt(uv + m.sq(w)) + w); // guaranteed positive
683
+ } else { // q == 0 && r <= 0
684
+ // y = 0 with |x| <= 1. Handle this case directly.
685
+ // for y small, positive root is k = abs(y)/sqrt(1-x^2)
686
+ k = 0;
687
+ }
688
+ return k;
689
+ };
690
+
691
+ A1m1f_coeff = [
692
+ // (1-eps)*A1-1, polynomial in eps2 of order 3
693
+ +1, 4, 64, 0, 256
694
+ ];
695
+
696
+ // The scale factor A1-1 = mean value of (d/dsigma)I1 - 1
697
+ g.A1m1f = function(eps) {
698
+ var p = Math.floor(nA1_/2),
699
+ t = m.polyval(p, A1m1f_coeff, 0, m.sq(eps)) / A1m1f_coeff[p + 1];
700
+ return (t + eps) / (1 - eps);
701
+ };
702
+
703
+ C1f_coeff = [
704
+ // C1[1]/eps^1, polynomial in eps2 of order 2
705
+ -1, 6, -16, 32,
706
+ // C1[2]/eps^2, polynomial in eps2 of order 2
707
+ -9, 64, -128, 2048,
708
+ // C1[3]/eps^3, polynomial in eps2 of order 1
709
+ +9, -16, 768,
710
+ // C1[4]/eps^4, polynomial in eps2 of order 1
711
+ +3, -5, 512,
712
+ // C1[5]/eps^5, polynomial in eps2 of order 0
713
+ -7, 1280,
714
+ // C1[6]/eps^6, polynomial in eps2 of order 0
715
+ -7, 2048
716
+ ];
717
+
718
+ // The coefficients C1[l] in the Fourier expansion of B1
719
+ g.C1f = function(eps, c) {
720
+ var eps2 = m.sq(eps),
721
+ d = eps,
722
+ o = 0,
723
+ l, p;
724
+ for (l = 1; l <= g.nC1_; ++l) { // l is index of C1p[l]
725
+ p = Math.floor((g.nC1_ - l) / 2); // order of polynomial in eps^2
726
+ c[l] = d * m.polyval(p, C1f_coeff, o, eps2) / C1f_coeff[o + p + 1];
727
+ o += p + 2;
728
+ d *= eps;
729
+ }
730
+ };
731
+
732
+ C1pf_coeff = [
733
+ // C1p[1]/eps^1, polynomial in eps2 of order 2
734
+ +205, -432, 768, 1536,
735
+ // C1p[2]/eps^2, polynomial in eps2 of order 2
736
+ +4005, -4736, 3840, 12288,
737
+ // C1p[3]/eps^3, polynomial in eps2 of order 1
738
+ -225, 116, 384,
739
+ // C1p[4]/eps^4, polynomial in eps2 of order 1
740
+ -7173, 2695, 7680,
741
+ // C1p[5]/eps^5, polynomial in eps2 of order 0
742
+ +3467, 7680,
743
+ // C1p[6]/eps^6, polynomial in eps2 of order 0
744
+ +38081, 61440
745
+ ];
746
+
747
+ // The coefficients C1p[l] in the Fourier expansion of B1p
748
+ g.C1pf = function(eps, c) {
749
+ var eps2 = m.sq(eps),
750
+ d = eps,
751
+ o = 0,
752
+ l, p;
753
+ for (l = 1; l <= g.nC1p_; ++l) { // l is index of C1p[l]
754
+ p = Math.floor((g.nC1p_ - l) / 2); // order of polynomial in eps^2
755
+ c[l] = d * m.polyval(p, C1pf_coeff, o, eps2) / C1pf_coeff[o + p + 1];
756
+ o += p + 2;
757
+ d *= eps;
758
+ }
759
+ };
760
+
761
+ A2m1f_coeff = [
762
+ // (eps+1)*A2-1, polynomial in eps2 of order 3
763
+ -11, -28, -192, 0, 256
764
+ ];
765
+
766
+ // The scale factor A2-1 = mean value of (d/dsigma)I2 - 1
767
+ g.A2m1f = function(eps) {
768
+ var p = Math.floor(nA2_/2),
769
+ t = m.polyval(p, A2m1f_coeff, 0, m.sq(eps)) / A2m1f_coeff[p + 1];
770
+ return (t - eps) / (1 + eps);
771
+ };
772
+
773
+ C2f_coeff = [
774
+ // C2[1]/eps^1, polynomial in eps2 of order 2
775
+ +1, 2, 16, 32,
776
+ // C2[2]/eps^2, polynomial in eps2 of order 2
777
+ +35, 64, 384, 2048,
778
+ // C2[3]/eps^3, polynomial in eps2 of order 1
779
+ +15, 80, 768,
780
+ // C2[4]/eps^4, polynomial in eps2 of order 1
781
+ +7, 35, 512,
782
+ // C2[5]/eps^5, polynomial in eps2 of order 0
783
+ +63, 1280,
784
+ // C2[6]/eps^6, polynomial in eps2 of order 0
785
+ +77, 2048
786
+ ];
787
+
788
+ // The coefficients C2[l] in the Fourier expansion of B2
789
+ g.C2f = function(eps, c) {
790
+ var eps2 = m.sq(eps),
791
+ d = eps,
792
+ o = 0,
793
+ l, p;
794
+ for (l = 1; l <= g.nC2_; ++l) { // l is index of C2[l]
795
+ p = Math.floor((g.nC2_ - l) / 2); // order of polynomial in eps^2
796
+ c[l] = d * m.polyval(p, C2f_coeff, o, eps2) / C2f_coeff[o + p + 1];
797
+ o += p + 2;
798
+ d *= eps;
799
+ }
800
+ };
801
+
802
+ /**
803
+ * @class
804
+ * @property {number} a the equatorial radius (meters).
805
+ * @property {number} f the flattening.
806
+ * @summary Initialize a Geodesic object for a specific ellipsoid.
807
+ * @classdesc Performs geodesic calculations on an ellipsoid of revolution.
808
+ * The routines for solving the direct and inverse problems return an
809
+ * object with some of the following fields set: lat1, lon1, azi1, lat2,
810
+ * lon2, azi2, s12, a12, m12, M12, M21, S12. See {@tutorial 2-interface},
811
+ * section "The results".
812
+ * @example
813
+ * var geodesic = require("geographiclib-geodesic"),
814
+ * geod = geodesic.Geodesic.WGS84;
815
+ * var inv = geod.Inverse(1,2,3,4);
816
+ * console.log("lat1 = " + inv.lat1 + ", lon1 = " + inv.lon1 +
817
+ * ", lat2 = " + inv.lat2 + ", lon2 = " + inv.lon2 +
818
+ * ",\nazi1 = " + inv.azi1 + ", azi2 = " + inv.azi2 +
819
+ * ", s12 = " + inv.s12);
820
+ * @param {number} a the equatorial radius of the ellipsoid (meters).
821
+ * @param {number} f the flattening of the ellipsoid. Setting f = 0 gives
822
+ * a sphere (on which geodesics are great circles). Negative f gives a
823
+ * prolate ellipsoid.
824
+ * @throws an error if the parameters are illegal.
825
+ */
826
+ g.Geodesic = function(a, f) {
827
+ this.a = a;
828
+ this.f = f;
829
+ this._f1 = 1 - this.f;
830
+ this._e2 = this.f * (2 - this.f);
831
+ this._ep2 = this._e2 / m.sq(this._f1); // e2 / (1 - e2)
832
+ this._n = this.f / ( 2 - this.f);
833
+ this._b = this.a * this._f1;
834
+ // authalic radius squared
835
+ this._c2 = (m.sq(this.a) + m.sq(this._b) *
836
+ (this._e2 === 0 ? 1 :
837
+ (this._e2 > 0 ? m.atanh(Math.sqrt(this._e2)) :
838
+ Math.atan(Math.sqrt(-this._e2))) /
839
+ Math.sqrt(Math.abs(this._e2))))/2;
840
+ // The sig12 threshold for "really short". Using the auxiliary sphere
841
+ // solution with dnm computed at (bet1 + bet2) / 2, the relative error in
842
+ // the azimuth consistency check is sig12^2 * abs(f) * min(1, 1-f/2) / 2.
843
+ // (Error measured for 1/100 < b/a < 100 and abs(f) >= 1/1000. For a given
844
+ // f and sig12, the max error occurs for lines near the pole. If the old
845
+ // rule for computing dnm = (dn1 + dn2)/2 is used, then the error increases
846
+ // by a factor of 2.) Setting this equal to epsilon gives sig12 = etol2.
847
+ // Here 0.1 is a safety factor (error decreased by 100) and max(0.001,
848
+ // abs(f)) stops etol2 getting too large in the nearly spherical case.
849
+ this._etol2 = 0.1 * tol2_ /
850
+ Math.sqrt( Math.max(0.001, Math.abs(this.f)) *
851
+ Math.min(1, 1 - this.f/2) / 2 );
852
+ if (!(isFinite(this.a) && this.a > 0))
853
+ throw new Error("Equatorial radius is not positive");
854
+ if (!(isFinite(this._b) && this._b > 0))
855
+ throw new Error("Polar semi-axis is not positive");
856
+ this._A3x = new Array(nA3x_);
857
+ this._C3x = new Array(nC3x_);
858
+ this._C4x = new Array(nC4x_);
859
+ this.A3coeff();
860
+ this.C3coeff();
861
+ this.C4coeff();
862
+ };
863
+
864
+ A3_coeff = [
865
+ // A3, coeff of eps^5, polynomial in n of order 0
866
+ -3, 128,
867
+ // A3, coeff of eps^4, polynomial in n of order 1
868
+ -2, -3, 64,
869
+ // A3, coeff of eps^3, polynomial in n of order 2
870
+ -1, -3, -1, 16,
871
+ // A3, coeff of eps^2, polynomial in n of order 2
872
+ +3, -1, -2, 8,
873
+ // A3, coeff of eps^1, polynomial in n of order 1
874
+ +1, -1, 2,
875
+ // A3, coeff of eps^0, polynomial in n of order 0
876
+ +1, 1
877
+ ];
878
+
879
+ // The scale factor A3 = mean value of (d/dsigma)I3
880
+ g.Geodesic.prototype.A3coeff = function() {
881
+ var o = 0, k = 0,
882
+ j, p;
883
+ for (j = nA3_ - 1; j >= 0; --j) { // coeff of eps^j
884
+ p = Math.min(nA3_ - j - 1, j); // order of polynomial in n
885
+ this._A3x[k++] = m.polyval(p, A3_coeff, o, this._n) /
886
+ A3_coeff[o + p + 1];
887
+ o += p + 2;
888
+ }
889
+ };
890
+
891
+ C3_coeff = [
892
+ // C3[1], coeff of eps^5, polynomial in n of order 0
893
+ +3, 128,
894
+ // C3[1], coeff of eps^4, polynomial in n of order 1
895
+ +2, 5, 128,
896
+ // C3[1], coeff of eps^3, polynomial in n of order 2
897
+ -1, 3, 3, 64,
898
+ // C3[1], coeff of eps^2, polynomial in n of order 2
899
+ -1, 0, 1, 8,
900
+ // C3[1], coeff of eps^1, polynomial in n of order 1
901
+ -1, 1, 4,
902
+ // C3[2], coeff of eps^5, polynomial in n of order 0
903
+ +5, 256,
904
+ // C3[2], coeff of eps^4, polynomial in n of order 1
905
+ +1, 3, 128,
906
+ // C3[2], coeff of eps^3, polynomial in n of order 2
907
+ -3, -2, 3, 64,
908
+ // C3[2], coeff of eps^2, polynomial in n of order 2
909
+ +1, -3, 2, 32,
910
+ // C3[3], coeff of eps^5, polynomial in n of order 0
911
+ +7, 512,
912
+ // C3[3], coeff of eps^4, polynomial in n of order 1
913
+ -10, 9, 384,
914
+ // C3[3], coeff of eps^3, polynomial in n of order 2
915
+ +5, -9, 5, 192,
916
+ // C3[4], coeff of eps^5, polynomial in n of order 0
917
+ +7, 512,
918
+ // C3[4], coeff of eps^4, polynomial in n of order 1
919
+ -14, 7, 512,
920
+ // C3[5], coeff of eps^5, polynomial in n of order 0
921
+ +21, 2560
922
+ ];
923
+
924
+ // The coefficients C3[l] in the Fourier expansion of B3
925
+ g.Geodesic.prototype.C3coeff = function() {
926
+ var o = 0, k = 0,
927
+ l, j, p;
928
+ for (l = 1; l < g.nC3_; ++l) { // l is index of C3[l]
929
+ for (j = g.nC3_ - 1; j >= l; --j) { // coeff of eps^j
930
+ p = Math.min(g.nC3_ - j - 1, j); // order of polynomial in n
931
+ this._C3x[k++] = m.polyval(p, C3_coeff, o, this._n) /
932
+ C3_coeff[o + p + 1];
933
+ o += p + 2;
934
+ }
935
+ }
936
+ };
937
+
938
+ C4_coeff = [
939
+ // C4[0], coeff of eps^5, polynomial in n of order 0
940
+ +97, 15015,
941
+ // C4[0], coeff of eps^4, polynomial in n of order 1
942
+ +1088, 156, 45045,
943
+ // C4[0], coeff of eps^3, polynomial in n of order 2
944
+ -224, -4784, 1573, 45045,
945
+ // C4[0], coeff of eps^2, polynomial in n of order 3
946
+ -10656, 14144, -4576, -858, 45045,
947
+ // C4[0], coeff of eps^1, polynomial in n of order 4
948
+ +64, 624, -4576, 6864, -3003, 15015,
949
+ // C4[0], coeff of eps^0, polynomial in n of order 5
950
+ +100, 208, 572, 3432, -12012, 30030, 45045,
951
+ // C4[1], coeff of eps^5, polynomial in n of order 0
952
+ +1, 9009,
953
+ // C4[1], coeff of eps^4, polynomial in n of order 1
954
+ -2944, 468, 135135,
955
+ // C4[1], coeff of eps^3, polynomial in n of order 2
956
+ +5792, 1040, -1287, 135135,
957
+ // C4[1], coeff of eps^2, polynomial in n of order 3
958
+ +5952, -11648, 9152, -2574, 135135,
959
+ // C4[1], coeff of eps^1, polynomial in n of order 4
960
+ -64, -624, 4576, -6864, 3003, 135135,
961
+ // C4[2], coeff of eps^5, polynomial in n of order 0
962
+ +8, 10725,
963
+ // C4[2], coeff of eps^4, polynomial in n of order 1
964
+ +1856, -936, 225225,
965
+ // C4[2], coeff of eps^3, polynomial in n of order 2
966
+ -8448, 4992, -1144, 225225,
967
+ // C4[2], coeff of eps^2, polynomial in n of order 3
968
+ -1440, 4160, -4576, 1716, 225225,
969
+ // C4[3], coeff of eps^5, polynomial in n of order 0
970
+ -136, 63063,
971
+ // C4[3], coeff of eps^4, polynomial in n of order 1
972
+ +1024, -208, 105105,
973
+ // C4[3], coeff of eps^3, polynomial in n of order 2
974
+ +3584, -3328, 1144, 315315,
975
+ // C4[4], coeff of eps^5, polynomial in n of order 0
976
+ -128, 135135,
977
+ // C4[4], coeff of eps^4, polynomial in n of order 1
978
+ -2560, 832, 405405,
979
+ // C4[5], coeff of eps^5, polynomial in n of order 0
980
+ +128, 99099
981
+ ];
982
+
983
+ g.Geodesic.prototype.C4coeff = function() {
984
+ var o = 0, k = 0,
985
+ l, j, p;
986
+ for (l = 0; l < g.nC4_; ++l) { // l is index of C4[l]
987
+ for (j = g.nC4_ - 1; j >= l; --j) { // coeff of eps^j
988
+ p = g.nC4_ - j - 1; // order of polynomial in n
989
+ this._C4x[k++] = m.polyval(p, C4_coeff, o, this._n) /
990
+ C4_coeff[o + p + 1];
991
+ o += p + 2;
992
+ }
993
+ }
994
+ };
995
+
996
+ g.Geodesic.prototype.A3f = function(eps) {
997
+ // Evaluate A3
998
+ return m.polyval(nA3x_ - 1, this._A3x, 0, eps);
999
+ };
1000
+
1001
+ g.Geodesic.prototype.C3f = function(eps, c) {
1002
+ // Evaluate C3 coeffs
1003
+ // Elements c[1] thru c[nC3_ - 1] are set
1004
+ var mult = 1,
1005
+ o = 0,
1006
+ l, p;
1007
+ for (l = 1; l < g.nC3_; ++l) { // l is index of C3[l]
1008
+ p = g.nC3_ - l - 1; // order of polynomial in eps
1009
+ mult *= eps;
1010
+ c[l] = mult * m.polyval(p, this._C3x, o, eps);
1011
+ o += p + 1;
1012
+ }
1013
+ };
1014
+
1015
+ g.Geodesic.prototype.C4f = function(eps, c) {
1016
+ // Evaluate C4 coeffs
1017
+ // Elements c[0] thru c[g.nC4_ - 1] are set
1018
+ var mult = 1,
1019
+ o = 0,
1020
+ l, p;
1021
+ for (l = 0; l < g.nC4_; ++l) { // l is index of C4[l]
1022
+ p = g.nC4_ - l - 1; // order of polynomial in eps
1023
+ c[l] = mult * m.polyval(p, this._C4x, o, eps);
1024
+ o += p + 1;
1025
+ mult *= eps;
1026
+ }
1027
+ };
1028
+
1029
+ // return s12b, m12b, m0, M12, M21
1030
+ g.Geodesic.prototype.Lengths = function(eps, sig12,
1031
+ ssig1, csig1, dn1, ssig2, csig2, dn2,
1032
+ cbet1, cbet2, outmask,
1033
+ C1a, C2a) {
1034
+ // Return m12b = (reduced length)/_b; also calculate s12b =
1035
+ // distance/_b, and m0 = coefficient of secular term in
1036
+ // expression for reduced length.
1037
+ outmask &= g.OUT_MASK;
1038
+ var vals = {},
1039
+ m0x = 0, J12 = 0, A1 = 0, A2 = 0,
1040
+ B1, B2, l, csig12, t;
1041
+ if (outmask & (g.DISTANCE | g.REDUCEDLENGTH | g.GEODESICSCALE)) {
1042
+ A1 = g.A1m1f(eps);
1043
+ g.C1f(eps, C1a);
1044
+ if (outmask & (g.REDUCEDLENGTH | g.GEODESICSCALE)) {
1045
+ A2 = g.A2m1f(eps);
1046
+ g.C2f(eps, C2a);
1047
+ m0x = A1 - A2;
1048
+ A2 = 1 + A2;
1049
+ }
1050
+ A1 = 1 + A1;
1051
+ }
1052
+ if (outmask & g.DISTANCE) {
1053
+ B1 = g.SinCosSeries(true, ssig2, csig2, C1a) -
1054
+ g.SinCosSeries(true, ssig1, csig1, C1a);
1055
+ // Missing a factor of _b
1056
+ vals.s12b = A1 * (sig12 + B1);
1057
+ if (outmask & (g.REDUCEDLENGTH | g.GEODESICSCALE)) {
1058
+ B2 = g.SinCosSeries(true, ssig2, csig2, C2a) -
1059
+ g.SinCosSeries(true, ssig1, csig1, C2a);
1060
+ J12 = m0x * sig12 + (A1 * B1 - A2 * B2);
1061
+ }
1062
+ } else if (outmask & (g.REDUCEDLENGTH | g.GEODESICSCALE)) {
1063
+ // Assume here that nC1_ >= nC2_
1064
+ for (l = 1; l <= g.nC2_; ++l)
1065
+ C2a[l] = A1 * C1a[l] - A2 * C2a[l];
1066
+ J12 = m0x * sig12 + (g.SinCosSeries(true, ssig2, csig2, C2a) -
1067
+ g.SinCosSeries(true, ssig1, csig1, C2a));
1068
+ }
1069
+ if (outmask & g.REDUCEDLENGTH) {
1070
+ vals.m0 = m0x;
1071
+ // Missing a factor of _b.
1072
+ // Add parens around (csig1 * ssig2) and (ssig1 * csig2) to ensure
1073
+ // accurate cancellation in the case of coincident points.
1074
+ vals.m12b = dn2 * (csig1 * ssig2) - dn1 * (ssig1 * csig2) -
1075
+ csig1 * csig2 * J12;
1076
+ } else
1077
+ vals.m12b = NaN;
1078
+ if (outmask & g.GEODESICSCALE) {
1079
+ csig12 = csig1 * csig2 + ssig1 * ssig2;
1080
+ t = this._ep2 * (cbet1 - cbet2) * (cbet1 + cbet2) / (dn1 + dn2);
1081
+ vals.M12 = csig12 + (t * ssig2 - csig2 * J12) * ssig1 / dn1;
1082
+ vals.M21 = csig12 - (t * ssig1 - csig1 * J12) * ssig2 / dn2;
1083
+ }
1084
+ return vals;
1085
+ };
1086
+
1087
+ // return sig12, salp1, calp1, salp2, calp2, dnm
1088
+ g.Geodesic.prototype.InverseStart = function(sbet1, cbet1, dn1,
1089
+ sbet2, cbet2, dn2,
1090
+ lam12, slam12, clam12,
1091
+ C1a, C2a) {
1092
+ // Return a starting point for Newton's method in salp1 and calp1
1093
+ // (function value is -1). If Newton's method doesn't need to be
1094
+ // used, return also salp2 and calp2 and function value is sig12.
1095
+ // salp2, calp2 only updated if return val >= 0.
1096
+ var vals = {},
1097
+ // bet12 = bet2 - bet1 in [0, pi); bet12a = bet2 + bet1 in (-pi, 0]
1098
+ sbet12 = sbet2 * cbet1 - cbet2 * sbet1,
1099
+ cbet12 = cbet2 * cbet1 + sbet2 * sbet1,
1100
+ sbet12a, shortline, omg12, sbetm2, somg12, comg12, t, ssig12, csig12,
1101
+ x, y, lamscale, betscale, k2, eps, cbet12a, bet12a, m12b, m0, nvals,
1102
+ k, omg12a, lam12x;
1103
+ vals.sig12 = -1; // Return value
1104
+ // Volatile declaration needed to fix inverse cases
1105
+ // 88.202499451857 0 -88.202499451857 179.981022032992859592
1106
+ // 89.262080389218 0 -89.262080389218 179.992207982775375662
1107
+ // 89.333123580033 0 -89.333123580032997687 179.99295812360148422
1108
+ // which otherwise fail with g++ 4.4.4 x86 -O3
1109
+ sbet12a = sbet2 * cbet1;
1110
+ sbet12a += cbet2 * sbet1;
1111
+
1112
+ shortline = cbet12 >= 0 && sbet12 < 0.5 && cbet2 * lam12 < 0.5;
1113
+ if (shortline) {
1114
+ sbetm2 = m.sq(sbet1 + sbet2);
1115
+ // sin((bet1+bet2)/2)^2
1116
+ // = (sbet1 + sbet2)^2 / ((sbet1 + sbet2)^2 + (cbet1 + cbet2)^2)
1117
+ sbetm2 /= sbetm2 + m.sq(cbet1 + cbet2);
1118
+ vals.dnm = Math.sqrt(1 + this._ep2 * sbetm2);
1119
+ omg12 = lam12 / (this._f1 * vals.dnm);
1120
+ somg12 = Math.sin(omg12); comg12 = Math.cos(omg12);
1121
+ } else {
1122
+ somg12 = slam12; comg12 = clam12;
1123
+ }
1124
+
1125
+ vals.salp1 = cbet2 * somg12;
1126
+ vals.calp1 = comg12 >= 0 ?
1127
+ sbet12 + cbet2 * sbet1 * m.sq(somg12) / (1 + comg12) :
1128
+ sbet12a - cbet2 * sbet1 * m.sq(somg12) / (1 - comg12);
1129
+
1130
+ ssig12 = m.hypot(vals.salp1, vals.calp1);
1131
+ csig12 = sbet1 * sbet2 + cbet1 * cbet2 * comg12;
1132
+ if (shortline && ssig12 < this._etol2) {
1133
+ // really short lines
1134
+ vals.salp2 = cbet1 * somg12;
1135
+ vals.calp2 = sbet12 - cbet1 * sbet2 *
1136
+ (comg12 >= 0 ? m.sq(somg12) / (1 + comg12) : 1 - comg12);
1137
+ // norm(vals.salp2, vals.calp2);
1138
+ t = m.hypot(vals.salp2, vals.calp2); vals.salp2 /= t; vals.calp2 /= t;
1139
+ // Set return value
1140
+ vals.sig12 = Math.atan2(ssig12, csig12);
1141
+ } else if (Math.abs(this._n) > 0.1 || // Skip astroid calc if too eccentric
1142
+ csig12 >= 0 ||
1143
+ ssig12 >= 6 * Math.abs(this._n) * Math.PI * m.sq(cbet1)) {
1144
+ // Nothing to do, zeroth order spherical approximation is OK
1145
+ } else {
1146
+ // Scale lam12 and bet2 to x, y coordinate system where antipodal
1147
+ // point is at origin and singular point is at y = 0, x = -1.
1148
+ lam12x = Math.atan2(-slam12, -clam12); // lam12 - pi
1149
+ if (this.f >= 0) { // In fact f == 0 does not get here
1150
+ // x = dlong, y = dlat
1151
+ k2 = m.sq(sbet1) * this._ep2;
1152
+ eps = k2 / (2 * (1 + Math.sqrt(1 + k2)) + k2);
1153
+ lamscale = this.f * cbet1 * this.A3f(eps) * Math.PI;
1154
+ betscale = lamscale * cbet1;
1155
+
1156
+ x = lam12x / lamscale;
1157
+ y = sbet12a / betscale;
1158
+ } else { // f < 0
1159
+ // x = dlat, y = dlong
1160
+ cbet12a = cbet2 * cbet1 - sbet2 * sbet1;
1161
+ bet12a = Math.atan2(sbet12a, cbet12a);
1162
+ // In the case of lon12 = 180, this repeats a calculation made
1163
+ // in Inverse.
1164
+ nvals = this.Lengths(this._n, Math.PI + bet12a,
1165
+ sbet1, -cbet1, dn1, sbet2, cbet2, dn2,
1166
+ cbet1, cbet2, g.REDUCEDLENGTH, C1a, C2a);
1167
+ m12b = nvals.m12b; m0 = nvals.m0;
1168
+ x = -1 + m12b / (cbet1 * cbet2 * m0 * Math.PI);
1169
+ betscale = x < -0.01 ? sbet12a / x :
1170
+ -this.f * m.sq(cbet1) * Math.PI;
1171
+ lamscale = betscale / cbet1;
1172
+ y = lam12 / lamscale;
1173
+ }
1174
+
1175
+ if (y > -tol1_ && x > -1 - xthresh_) {
1176
+ // strip near cut
1177
+ if (this.f >= 0) {
1178
+ vals.salp1 = Math.min(1, -x);
1179
+ vals.calp1 = -Math.sqrt(1 - m.sq(vals.salp1));
1180
+ } else {
1181
+ vals.calp1 = Math.max(x > -tol1_ ? 0 : -1, x);
1182
+ vals.salp1 = Math.sqrt(1 - m.sq(vals.calp1));
1183
+ }
1184
+ } else {
1185
+ // Estimate alp1, by solving the astroid problem.
1186
+ //
1187
+ // Could estimate alpha1 = theta + pi/2, directly, i.e.,
1188
+ // calp1 = y/k; salp1 = -x/(1+k); for f >= 0
1189
+ // calp1 = x/(1+k); salp1 = -y/k; for f < 0 (need to check)
1190
+ //
1191
+ // However, it's better to estimate omg12 from astroid and use
1192
+ // spherical formula to compute alp1. This reduces the mean number of
1193
+ // Newton iterations for astroid cases from 2.24 (min 0, max 6) to 2.12
1194
+ // (min 0 max 5). The changes in the number of iterations are as
1195
+ // follows:
1196
+ //
1197
+ // change percent
1198
+ // 1 5
1199
+ // 0 78
1200
+ // -1 16
1201
+ // -2 0.6
1202
+ // -3 0.04
1203
+ // -4 0.002
1204
+ //
1205
+ // The histogram of iterations is (m = number of iterations estimating
1206
+ // alp1 directly, n = number of iterations estimating via omg12, total
1207
+ // number of trials = 148605):
1208
+ //
1209
+ // iter m n
1210
+ // 0 148 186
1211
+ // 1 13046 13845
1212
+ // 2 93315 102225
1213
+ // 3 36189 32341
1214
+ // 4 5396 7
1215
+ // 5 455 1
1216
+ // 6 56 0
1217
+ //
1218
+ // Because omg12 is near pi, estimate work with omg12a = pi - omg12
1219
+ k = astroid(x, y);
1220
+ omg12a = lamscale * ( this.f >= 0 ? -x * k/(1 + k) : -y * (1 + k)/k );
1221
+ somg12 = Math.sin(omg12a); comg12 = -Math.cos(omg12a);
1222
+ // Update spherical estimate of alp1 using omg12 instead of
1223
+ // lam12
1224
+ vals.salp1 = cbet2 * somg12;
1225
+ vals.calp1 = sbet12a -
1226
+ cbet2 * sbet1 * m.sq(somg12) / (1 - comg12);
1227
+ }
1228
+ }
1229
+ // Sanity check on starting guess. Backwards check allows NaN through.
1230
+ // jshint -W018
1231
+ if (!(vals.salp1 <= 0)) {
1232
+ // norm(vals.salp1, vals.calp1);
1233
+ t = m.hypot(vals.salp1, vals.calp1); vals.salp1 /= t; vals.calp1 /= t;
1234
+ } else {
1235
+ vals.salp1 = 1; vals.calp1 = 0;
1236
+ }
1237
+ return vals;
1238
+ };
1239
+
1240
+ // return lam12, salp2, calp2, sig12, ssig1, csig1, ssig2, csig2, eps,
1241
+ // domg12, dlam12,
1242
+ g.Geodesic.prototype.Lambda12 = function(sbet1, cbet1, dn1,
1243
+ sbet2, cbet2, dn2,
1244
+ salp1, calp1, slam120, clam120,
1245
+ diffp, C1a, C2a, C3a) {
1246
+ var vals = {},
1247
+ t, salp0, calp0,
1248
+ somg1, comg1, somg2, comg2, somg12, comg12, B312, eta, k2, nvals;
1249
+ if (sbet1 === 0 && calp1 === 0)
1250
+ // Break degeneracy of equatorial line. This case has already been
1251
+ // handled.
1252
+ calp1 = -g.tiny_;
1253
+
1254
+ // sin(alp1) * cos(bet1) = sin(alp0)
1255
+ salp0 = salp1 * cbet1;
1256
+ calp0 = m.hypot(calp1, salp1 * sbet1); // calp0 > 0
1257
+
1258
+ // tan(bet1) = tan(sig1) * cos(alp1)
1259
+ // tan(omg1) = sin(alp0) * tan(sig1) = tan(omg1)=tan(alp1)*sin(bet1)
1260
+ vals.ssig1 = sbet1; somg1 = salp0 * sbet1;
1261
+ vals.csig1 = comg1 = calp1 * cbet1;
1262
+ // norm(vals.ssig1, vals.csig1);
1263
+ t = m.hypot(vals.ssig1, vals.csig1); vals.ssig1 /= t; vals.csig1 /= t;
1264
+ // norm(somg1, comg1); -- don't need to normalize!
1265
+
1266
+ // Enforce symmetries in the case abs(bet2) = -bet1. Need to be careful
1267
+ // about this case, since this can yield singularities in the Newton
1268
+ // iteration.
1269
+ // sin(alp2) * cos(bet2) = sin(alp0)
1270
+ vals.salp2 = cbet2 !== cbet1 ? salp0 / cbet2 : salp1;
1271
+ // calp2 = sqrt(1 - sq(salp2))
1272
+ // = sqrt(sq(calp0) - sq(sbet2)) / cbet2
1273
+ // and subst for calp0 and rearrange to give (choose positive sqrt
1274
+ // to give alp2 in [0, pi/2]).
1275
+ vals.calp2 = cbet2 !== cbet1 || Math.abs(sbet2) !== -sbet1 ?
1276
+ Math.sqrt(m.sq(calp1 * cbet1) + (cbet1 < -sbet1 ?
1277
+ (cbet2 - cbet1) * (cbet1 + cbet2) :
1278
+ (sbet1 - sbet2) * (sbet1 + sbet2))) /
1279
+ cbet2 : Math.abs(calp1);
1280
+ // tan(bet2) = tan(sig2) * cos(alp2)
1281
+ // tan(omg2) = sin(alp0) * tan(sig2).
1282
+ vals.ssig2 = sbet2; somg2 = salp0 * sbet2;
1283
+ vals.csig2 = comg2 = vals.calp2 * cbet2;
1284
+ // norm(vals.ssig2, vals.csig2);
1285
+ t = m.hypot(vals.ssig2, vals.csig2); vals.ssig2 /= t; vals.csig2 /= t;
1286
+ // norm(somg2, comg2); -- don't need to normalize!
1287
+
1288
+ // sig12 = sig2 - sig1, limit to [0, pi]
1289
+ vals.sig12 = Math.atan2(Math.max(0, vals.csig1 * vals.ssig2 -
1290
+ vals.ssig1 * vals.csig2),
1291
+ vals.csig1 * vals.csig2 +
1292
+ vals.ssig1 * vals.ssig2);
1293
+
1294
+ // omg12 = omg2 - omg1, limit to [0, pi]
1295
+ somg12 = Math.max(0, comg1 * somg2 - somg1 * comg2);
1296
+ comg12 = comg1 * comg2 + somg1 * somg2;
1297
+ // eta = omg12 - lam120
1298
+ eta = Math.atan2(somg12 * clam120 - comg12 * slam120,
1299
+ comg12 * clam120 + somg12 * slam120);
1300
+ k2 = m.sq(calp0) * this._ep2;
1301
+ vals.eps = k2 / (2 * (1 + Math.sqrt(1 + k2)) + k2);
1302
+ this.C3f(vals.eps, C3a);
1303
+ B312 = (g.SinCosSeries(true, vals.ssig2, vals.csig2, C3a) -
1304
+ g.SinCosSeries(true, vals.ssig1, vals.csig1, C3a));
1305
+ vals.domg12 = -this.f * this.A3f(vals.eps) * salp0 * (vals.sig12 + B312);
1306
+ vals.lam12 = eta + vals.domg12;
1307
+ if (diffp) {
1308
+ if (vals.calp2 === 0)
1309
+ vals.dlam12 = -2 * this._f1 * dn1 / sbet1;
1310
+ else {
1311
+ nvals = this.Lengths(vals.eps, vals.sig12,
1312
+ vals.ssig1, vals.csig1, dn1,
1313
+ vals.ssig2, vals.csig2, dn2,
1314
+ cbet1, cbet2, g.REDUCEDLENGTH, C1a, C2a);
1315
+ vals.dlam12 = nvals.m12b;
1316
+ vals.dlam12 *= this._f1 / (vals.calp2 * cbet2);
1317
+ }
1318
+ }
1319
+ return vals;
1320
+ };
1321
+
1322
+ /**
1323
+ * @summary Solve the inverse geodesic problem.
1324
+ * @param {number} lat1 the latitude of the first point in degrees.
1325
+ * @param {number} lon1 the longitude of the first point in degrees.
1326
+ * @param {number} lat2 the latitude of the second point in degrees.
1327
+ * @param {number} lon2 the longitude of the second point in degrees.
1328
+ * @param {bitmask} [outmask = STANDARD] which results to include.
1329
+ * @return {object} the requested results
1330
+ * @description The lat1, lon1, lat2, lon2, and a12 fields of the result are
1331
+ * always set. For details on the outmask parameter, see {@tutorial
1332
+ * 2-interface}, "The outmask and caps parameters".
1333
+ */
1334
+ g.Geodesic.prototype.Inverse = function(lat1, lon1, lat2, lon2, outmask) {
1335
+ var r, vals;
1336
+ if (!outmask) outmask = g.STANDARD;
1337
+ if (outmask === g.LONG_UNROLL) outmask |= g.STANDARD;
1338
+ outmask &= g.OUT_MASK;
1339
+ r = this.InverseInt(lat1, lon1, lat2, lon2, outmask);
1340
+ vals = r.vals;
1341
+ if (outmask & g.AZIMUTH) {
1342
+ vals.azi1 = m.atan2d(r.salp1, r.calp1);
1343
+ vals.azi2 = m.atan2d(r.salp2, r.calp2);
1344
+ }
1345
+ return vals;
1346
+ };
1347
+
1348
+ g.Geodesic.prototype.InverseInt = function(lat1, lon1, lat2, lon2, outmask) {
1349
+ var vals = {},
1350
+ lon12, lon12s, lonsign, t, swapp, latsign,
1351
+ sbet1, cbet1, sbet2, cbet2, s12x, m12x,
1352
+ dn1, dn2, lam12, slam12, clam12,
1353
+ sig12, calp1, salp1, calp2, salp2, C1a, C2a, C3a, meridian, nvals,
1354
+ ssig1, csig1, ssig2, csig2, eps, omg12, dnm,
1355
+ numit, salp1a, calp1a, salp1b, calp1b,
1356
+ tripn, tripb, v, dv, dalp1, sdalp1, cdalp1, nsalp1,
1357
+ lengthmask, salp0, calp0, alp12, k2, A4, C4a, B41, B42,
1358
+ somg12, comg12, domg12, dbet1, dbet2, salp12, calp12, sdomg12, cdomg12;
1359
+ // Compute longitude difference (AngDiff does this carefully). Result is
1360
+ // in [-180, 180] but -180 is only for west-going geodesics. 180 is for
1361
+ // east-going and meridional geodesics.
1362
+ vals.lat1 = lat1 = m.LatFix(lat1); vals.lat2 = lat2 = m.LatFix(lat2);
1363
+ // If really close to the equator, treat as on equator.
1364
+ lat1 = m.AngRound(lat1);
1365
+ lat2 = m.AngRound(lat2);
1366
+ lon12 = m.AngDiff(lon1, lon2); lon12s = lon12.e; lon12 = lon12.d;
1367
+ if (outmask & g.LONG_UNROLL) {
1368
+ vals.lon1 = lon1; vals.lon2 = (lon1 + lon12) + lon12s;
1369
+ } else {
1370
+ vals.lon1 = m.AngNormalize(lon1); vals.lon2 = m.AngNormalize(lon2);
1371
+ }
1372
+ // Make longitude difference positive.
1373
+ lonsign = m.copysign(1, lon12);
1374
+ lon12 *= lonsign; lon12s *= lonsign;
1375
+ lam12 = lon12 * m.degree;
1376
+ // Calculate sincos of lon12 + error (this applies AngRound internally).
1377
+ t = m.sincosde(lon12, lon12s); slam12 = t.s; clam12 = t.c;
1378
+ lon12s = (180 - lon12) - lon12s; // the supplementary longitude difference
1379
+
1380
+ // Swap points so that point with higher (abs) latitude is point 1
1381
+ // If one latitude is a nan, then it becomes lat1.
1382
+ swapp = Math.abs(lat1) < Math.abs(lat2) || isNaN(lat2) ? -1 : 1;
1383
+ if (swapp < 0) {
1384
+ lonsign *= -1;
1385
+ [lat2, lat1] = [lat1, lat2]; // swap(lat1, lat2);
1386
+ }
1387
+ // Make lat1 <= 0
1388
+ latsign = m.copysign(1, -lat1);
1389
+ lat1 *= latsign;
1390
+ lat2 *= latsign;
1391
+ // Now we have
1392
+ //
1393
+ // 0 <= lon12 <= 180
1394
+ // -90 <= lat1 <= 0
1395
+ // lat1 <= lat2 <= -lat1
1396
+ //
1397
+ // longsign, swapp, latsign register the transformation to bring the
1398
+ // coordinates to this canonical form. In all cases, 1 means no change was
1399
+ // made. We make these transformations so that there are few cases to
1400
+ // check, e.g., on verifying quadrants in atan2. In addition, this
1401
+ // enforces some symmetries in the results returned.
1402
+
1403
+ t = m.sincosd(lat1); sbet1 = this._f1 * t.s; cbet1 = t.c;
1404
+ // norm(sbet1, cbet1);
1405
+ t = m.hypot(sbet1, cbet1); sbet1 /= t; cbet1 /= t;
1406
+ // Ensure cbet1 = +epsilon at poles
1407
+ cbet1 = Math.max(g.tiny_, cbet1);
1408
+
1409
+ t = m.sincosd(lat2); sbet2 = this._f1 * t.s; cbet2 = t.c;
1410
+ // norm(sbet2, cbet2);
1411
+ t = m.hypot(sbet2, cbet2); sbet2 /= t; cbet2 /= t;
1412
+ // Ensure cbet2 = +epsilon at poles
1413
+ cbet2 = Math.max(g.tiny_, cbet2);
1414
+
1415
+ // If cbet1 < -sbet1, then cbet2 - cbet1 is a sensitive measure of the
1416
+ // |bet1| - |bet2|. Alternatively (cbet1 >= -sbet1), abs(sbet2) + sbet1 is
1417
+ // a better measure. This logic is used in assigning calp2 in Lambda12.
1418
+ // Sometimes these quantities vanish and in that case we force bet2 = +/-
1419
+ // bet1 exactly. An example where is is necessary is the inverse problem
1420
+ // 48.522876735459 0 -48.52287673545898293 179.599720456223079643
1421
+ // which failed with Visual Studio 10 (Release and Debug)
1422
+
1423
+ if (cbet1 < -sbet1) {
1424
+ if (cbet2 === cbet1)
1425
+ sbet2 = m.copysign(sbet1, sbet2);
1426
+ } else {
1427
+ if (Math.abs(sbet2) === -sbet1)
1428
+ cbet2 = cbet1;
1429
+ }
1430
+
1431
+ dn1 = Math.sqrt(1 + this._ep2 * m.sq(sbet1));
1432
+ dn2 = Math.sqrt(1 + this._ep2 * m.sq(sbet2));
1433
+
1434
+ // index zero elements of these arrays are unused
1435
+ C1a = new Array(g.nC1_ + 1);
1436
+ C2a = new Array(g.nC2_ + 1);
1437
+ C3a = new Array(g.nC3_);
1438
+
1439
+ meridian = lat1 === -90 || slam12 === 0;
1440
+ if (meridian) {
1441
+
1442
+ // Endpoints are on a single full meridian, so the geodesic might
1443
+ // lie on a meridian.
1444
+
1445
+ calp1 = clam12; salp1 = slam12; // Head to the target longitude
1446
+ calp2 = 1; salp2 = 0; // At the target we're heading north
1447
+
1448
+ // tan(bet) = tan(sig) * cos(alp)
1449
+ ssig1 = sbet1; csig1 = calp1 * cbet1;
1450
+ ssig2 = sbet2; csig2 = calp2 * cbet2;
1451
+
1452
+ // sig12 = sig2 - sig1
1453
+ sig12 = Math.atan2(Math.max(0, csig1 * ssig2 - ssig1 * csig2),
1454
+ csig1 * csig2 + ssig1 * ssig2);
1455
+ nvals = this.Lengths(this._n, sig12,
1456
+ ssig1, csig1, dn1, ssig2, csig2, dn2, cbet1, cbet2,
1457
+ outmask | g.DISTANCE | g.REDUCEDLENGTH,
1458
+ C1a, C2a);
1459
+ s12x = nvals.s12b;
1460
+ m12x = nvals.m12b;
1461
+ // Ignore m0
1462
+ if (outmask & g.GEODESICSCALE) {
1463
+ vals.M12 = nvals.M12;
1464
+ vals.M21 = nvals.M21;
1465
+ }
1466
+ // Add the check for sig12 since zero length geodesics might yield
1467
+ // m12 < 0. Test case was
1468
+ //
1469
+ // echo 20.001 0 20.001 0 | GeodSolve -i
1470
+ if (sig12 < tol2_ || m12x >= 0) {
1471
+ // Need at least 2, to handle 90 0 90 180
1472
+ if (sig12 < 3 * g.tiny_ ||
1473
+ // Prevent negative s12 or m12 for short lines
1474
+ (sig12 < tol0_ && (s12x < 0 || m12x < 0)))
1475
+ sig12 = m12x = s12x = 0;
1476
+ m12x *= this._b;
1477
+ s12x *= this._b;
1478
+ vals.a12 = sig12 / m.degree;
1479
+ } else
1480
+ // m12 < 0, i.e., prolate and too close to anti-podal
1481
+ meridian = false;
1482
+ }
1483
+
1484
+ somg12 = 2;
1485
+ if (!meridian &&
1486
+ sbet1 === 0 && // and sbet2 == 0
1487
+ (this.f <= 0 || lon12s >= this.f * 180)) {
1488
+
1489
+ // Geodesic runs along equator
1490
+ calp1 = calp2 = 0; salp1 = salp2 = 1;
1491
+ s12x = this.a * lam12;
1492
+ sig12 = omg12 = lam12 / this._f1;
1493
+ m12x = this._b * Math.sin(sig12);
1494
+ if (outmask & g.GEODESICSCALE)
1495
+ vals.M12 = vals.M21 = Math.cos(sig12);
1496
+ vals.a12 = lon12 / this._f1;
1497
+
1498
+ } else if (!meridian) {
1499
+
1500
+ // Now point1 and point2 belong within a hemisphere bounded by a
1501
+ // meridian and geodesic is neither meridional or equatorial.
1502
+
1503
+ // Figure a starting point for Newton's method
1504
+ nvals = this.InverseStart(sbet1, cbet1, dn1, sbet2, cbet2, dn2,
1505
+ lam12, slam12, clam12, C1a, C2a);
1506
+ sig12 = nvals.sig12;
1507
+ salp1 = nvals.salp1;
1508
+ calp1 = nvals.calp1;
1509
+
1510
+ if (sig12 >= 0) {
1511
+ salp2 = nvals.salp2;
1512
+ calp2 = nvals.calp2;
1513
+ // Short lines (InverseStart sets salp2, calp2, dnm)
1514
+
1515
+ dnm = nvals.dnm;
1516
+ s12x = sig12 * this._b * dnm;
1517
+ m12x = m.sq(dnm) * this._b * Math.sin(sig12 / dnm);
1518
+ if (outmask & g.GEODESICSCALE)
1519
+ vals.M12 = vals.M21 = Math.cos(sig12 / dnm);
1520
+ vals.a12 = sig12 / m.degree;
1521
+ omg12 = lam12 / (this._f1 * dnm);
1522
+ } else {
1523
+
1524
+ // Newton's method. This is a straightforward solution of f(alp1) =
1525
+ // lambda12(alp1) - lam12 = 0 with one wrinkle. f(alp) has exactly one
1526
+ // root in the interval (0, pi) and its derivative is positive at the
1527
+ // root. Thus f(alp) is positive for alp > alp1 and negative for alp <
1528
+ // alp1. During the course of the iteration, a range (alp1a, alp1b) is
1529
+ // maintained which brackets the root and with each evaluation of
1530
+ // f(alp) the range is shrunk if possible. Newton's method is
1531
+ // restarted whenever the derivative of f is negative (because the new
1532
+ // value of alp1 is then further from the solution) or if the new
1533
+ // estimate of alp1 lies outside (0,pi); in this case, the new starting
1534
+ // guess is taken to be (alp1a + alp1b) / 2.
1535
+ numit = 0;
1536
+ // Bracketing range
1537
+ salp1a = g.tiny_; calp1a = 1; salp1b = g.tiny_; calp1b = -1;
1538
+ for (tripn = false, tripb = false;; ++numit) {
1539
+ // the WGS84 test set: mean = 1.47, sd = 1.25, max = 16
1540
+ // WGS84 and random input: mean = 2.85, sd = 0.60
1541
+ nvals = this.Lambda12(sbet1, cbet1, dn1, sbet2, cbet2, dn2,
1542
+ salp1, calp1, slam12, clam12, numit < maxit1_,
1543
+ C1a, C2a, C3a);
1544
+ v = nvals.lam12;
1545
+ salp2 = nvals.salp2;
1546
+ calp2 = nvals.calp2;
1547
+ sig12 = nvals.sig12;
1548
+ ssig1 = nvals.ssig1;
1549
+ csig1 = nvals.csig1;
1550
+ ssig2 = nvals.ssig2;
1551
+ csig2 = nvals.csig2;
1552
+ eps = nvals.eps;
1553
+ domg12 = nvals.domg12;
1554
+ dv = nvals.dlam12;
1555
+
1556
+ // Reversed test to allow escape with NaNs
1557
+ // jshint -W018
1558
+ if (tripb || !(Math.abs(v) >= (tripn ? 8 : 1) * tol0_) ||
1559
+ numit == maxit2_)
1560
+ break;
1561
+ // Update bracketing values
1562
+ if (v > 0 && (numit < maxit1_ || calp1/salp1 > calp1b/salp1b)) {
1563
+ salp1b = salp1; calp1b = calp1;
1564
+ } else if (v < 0 &&
1565
+ (numit < maxit1_ || calp1/salp1 < calp1a/salp1a)) {
1566
+ salp1a = salp1; calp1a = calp1;
1567
+ }
1568
+ if (numit < maxit1_ && dv > 0) {
1569
+ dalp1 = -v/dv;
1570
+ if (Math.abs(dalp1) < Math.PI) {
1571
+ sdalp1 = Math.sin(dalp1); cdalp1 = Math.cos(dalp1);
1572
+ nsalp1 = salp1 * cdalp1 + calp1 * sdalp1;
1573
+ if (nsalp1 > 0) {
1574
+ calp1 = calp1 * cdalp1 - salp1 * sdalp1;
1575
+ salp1 = nsalp1;
1576
+ // norm(salp1, calp1);
1577
+ t = m.hypot(salp1, calp1); salp1 /= t; calp1 /= t;
1578
+ // In some regimes we don't get quadratic convergence because
1579
+ // slope -> 0. So use convergence conditions based on epsilon
1580
+ // instead of sqrt(epsilon).
1581
+ tripn = Math.abs(v) <= 16 * tol0_;
1582
+ continue;
1583
+ }
1584
+ }
1585
+ }
1586
+ // Either dv was not positive or updated value was outside legal
1587
+ // range. Use the midpoint of the bracket as the next estimate.
1588
+ // This mechanism is not needed for the WGS84 ellipsoid, but it does
1589
+ // catch problems with more eccentric ellipsoids. Its efficacy is
1590
+ // such for the WGS84 test set with the starting guess set to alp1 =
1591
+ // 90deg:
1592
+ // the WGS84 test set: mean = 5.21, sd = 3.93, max = 24
1593
+ // WGS84 and random input: mean = 4.74, sd = 0.99
1594
+ salp1 = (salp1a + salp1b)/2;
1595
+ calp1 = (calp1a + calp1b)/2;
1596
+ // norm(salp1, calp1);
1597
+ t = m.hypot(salp1, calp1); salp1 /= t; calp1 /= t;
1598
+ tripn = false;
1599
+ tripb = (Math.abs(salp1a - salp1) + (calp1a - calp1) < tolb_ ||
1600
+ Math.abs(salp1 - salp1b) + (calp1 - calp1b) < tolb_);
1601
+ }
1602
+ lengthmask = outmask |
1603
+ (outmask & (g.REDUCEDLENGTH | g.GEODESICSCALE) ?
1604
+ g.DISTANCE : g.NONE);
1605
+ nvals = this.Lengths(eps, sig12,
1606
+ ssig1, csig1, dn1, ssig2, csig2, dn2,
1607
+ cbet1, cbet2,
1608
+ lengthmask, C1a, C2a);
1609
+ s12x = nvals.s12b;
1610
+ m12x = nvals.m12b;
1611
+ // Ignore m0
1612
+ if (outmask & g.GEODESICSCALE) {
1613
+ vals.M12 = nvals.M12;
1614
+ vals.M21 = nvals.M21;
1615
+ }
1616
+ m12x *= this._b;
1617
+ s12x *= this._b;
1618
+ vals.a12 = sig12 / m.degree;
1619
+ if (outmask & g.AREA) {
1620
+ // omg12 = lam12 - domg12
1621
+ sdomg12 = Math.sin(domg12); cdomg12 = Math.cos(domg12);
1622
+ somg12 = slam12 * cdomg12 - clam12 * sdomg12;
1623
+ comg12 = clam12 * cdomg12 + slam12 * sdomg12;
1624
+ }
1625
+ }
1626
+ }
1627
+
1628
+ if (outmask & g.DISTANCE)
1629
+ vals.s12 = 0 + s12x; // Convert -0 to 0
1630
+
1631
+ if (outmask & g.REDUCEDLENGTH)
1632
+ vals.m12 = 0 + m12x; // Convert -0 to 0
1633
+
1634
+ if (outmask & g.AREA) {
1635
+ // From Lambda12: sin(alp1) * cos(bet1) = sin(alp0)
1636
+ salp0 = salp1 * cbet1;
1637
+ calp0 = m.hypot(calp1, salp1 * sbet1); // calp0 > 0
1638
+ if (calp0 !== 0 && salp0 !== 0) {
1639
+ // From Lambda12: tan(bet) = tan(sig) * cos(alp)
1640
+ ssig1 = sbet1; csig1 = calp1 * cbet1;
1641
+ ssig2 = sbet2; csig2 = calp2 * cbet2;
1642
+ k2 = m.sq(calp0) * this._ep2;
1643
+ eps = k2 / (2 * (1 + Math.sqrt(1 + k2)) + k2);
1644
+ // Multiplier = a^2 * e^2 * cos(alpha0) * sin(alpha0).
1645
+ A4 = m.sq(this.a) * calp0 * salp0 * this._e2;
1646
+ // norm(ssig1, csig1);
1647
+ t = m.hypot(ssig1, csig1); ssig1 /= t; csig1 /= t;
1648
+ // norm(ssig2, csig2);
1649
+ t = m.hypot(ssig2, csig2); ssig2 /= t; csig2 /= t;
1650
+ C4a = new Array(g.nC4_);
1651
+ this.C4f(eps, C4a);
1652
+ B41 = g.SinCosSeries(false, ssig1, csig1, C4a);
1653
+ B42 = g.SinCosSeries(false, ssig2, csig2, C4a);
1654
+ vals.S12 = A4 * (sig12 < 0.01 ?
1655
+ g.SinCosSeries(false, ssig1, csig1, C4a, sig12) : B42 - B41);
1656
+ } else
1657
+ // Avoid problems with indeterminate sig1, sig2 on equator
1658
+ vals.S12 = 0;
1659
+ if (!meridian && somg12 == 2) {
1660
+ somg12 = Math.sin(omg12); comg12 = Math.cos(omg12);
1661
+ }
1662
+ if (!meridian &&
1663
+ comg12 > -0.7071 && // Long difference not too big
1664
+ sbet2 - sbet1 < 1.75) { // Lat difference not too big
1665
+ // Use tan(Gamma/2) = tan(omg12/2)
1666
+ // * (tan(bet1/2)+tan(bet2/2))/(1+tan(bet1/2)*tan(bet2/2))
1667
+ // with tan(x/2) = sin(x)/(1+cos(x))
1668
+ domg12 = 1 + comg12; dbet1 = 1 + cbet1; dbet2 = 1 + cbet2;
1669
+ alp12 = 2 * Math.atan2( somg12 * (sbet1*dbet2 + sbet2*dbet1),
1670
+ domg12 * (sbet1*sbet2 + dbet1*dbet2) );
1671
+ } else {
1672
+ // alp12 = alp2 - alp1, used in atan2 so no need to normalize
1673
+ salp12 = salp2 * calp1 - calp2 * salp1;
1674
+ calp12 = calp2 * calp1 + salp2 * salp1;
1675
+ // The right thing appears to happen if alp1 = +/-180 and alp2 = 0, viz
1676
+ // salp12 = -0 and alp12 = -180. However this depends on the sign
1677
+ // being attached to 0 correctly. The following ensures the correct
1678
+ // behavior.
1679
+ if (salp12 === 0 && calp12 < 0) {
1680
+ salp12 = g.tiny_ * calp1;
1681
+ calp12 = -1;
1682
+ }
1683
+ alp12 = Math.atan2(salp12, calp12);
1684
+ }
1685
+ vals.S12 += this._c2 * alp12;
1686
+ vals.S12 *= swapp * lonsign * latsign;
1687
+ // Convert -0 to 0
1688
+ vals.S12 += 0;
1689
+ }
1690
+
1691
+ // Convert calp, salp to azimuth accounting for lonsign, swapp, latsign.
1692
+ if (swapp < 0) {
1693
+ [salp2, salp1] = [salp1, salp2]; // swap(salp1, salp2);
1694
+ [calp2, calp1] = [calp1, calp2]; // swap(calp1, calp2);
1695
+ if (outmask & g.GEODESICSCALE) {
1696
+ [vals.M21, vals.M12] = [vals.M12, vals.M21]; //swap(vals.M12, vals.M21);
1697
+ }
1698
+ }
1699
+
1700
+ salp1 *= swapp * lonsign; calp1 *= swapp * latsign;
1701
+ salp2 *= swapp * lonsign; calp2 *= swapp * latsign;
1702
+
1703
+ return {vals: vals,
1704
+ salp1: salp1, calp1: calp1,
1705
+ salp2: salp2, calp2: calp2};
1706
+ };
1707
+
1708
+ /**
1709
+ * @summary Solve the general direct geodesic problem.
1710
+ * @param {number} lat1 the latitude of the first point in degrees.
1711
+ * @param {number} lon1 the longitude of the first point in degrees.
1712
+ * @param {number} azi1 the azimuth at the first point in degrees.
1713
+ * @param {bool} arcmode is the next parameter an arc length?
1714
+ * @param {number} s12_a12 the (arcmode ? arc length : distance) from the
1715
+ * first point to the second in (arcmode ? degrees : meters).
1716
+ * @param {bitmask} [outmask = STANDARD] which results to include.
1717
+ * @return {object} the requested results.
1718
+ * @description The lat1, lon1, azi1, and a12 fields of the result are always
1719
+ * set; s12 is included if arcmode is false. For details on the outmask
1720
+ * parameter, see {@tutorial 2-interface}, "The outmask and caps
1721
+ * parameters".
1722
+ */
1723
+ g.Geodesic.prototype.GenDirect = function(lat1, lon1, azi1,
1724
+ arcmode, s12_a12, outmask) {
1725
+ var line;
1726
+ if (!outmask) outmask = g.STANDARD;
1727
+ else if (outmask === g.LONG_UNROLL) outmask |= g.STANDARD;
1728
+ // Automatically supply DISTANCE_IN if necessary
1729
+ if (!arcmode) outmask |= g.DISTANCE_IN;
1730
+ line = new l.GeodesicLine(this, lat1, lon1, azi1, outmask);
1731
+ return line.GenPosition(arcmode, s12_a12, outmask);
1732
+ };
1733
+
1734
+ /**
1735
+ * @summary Solve the direct geodesic problem.
1736
+ * @param {number} lat1 the latitude of the first point in degrees.
1737
+ * @param {number} lon1 the longitude of the first point in degrees.
1738
+ * @param {number} azi1 the azimuth at the first point in degrees.
1739
+ * @param {number} s12 the distance from the first point to the second in
1740
+ * meters.
1741
+ * @param {bitmask} [outmask = STANDARD] which results to include.
1742
+ * @return {object} the requested results.
1743
+ * @description The lat1, lon1, azi1, s12, and a12 fields of the result are
1744
+ * always set. For details on the outmask parameter, see {@tutorial
1745
+ * 2-interface}, "The outmask and caps parameters".
1746
+ */
1747
+ g.Geodesic.prototype.Direct = function(lat1, lon1, azi1, s12, outmask) {
1748
+ return this.GenDirect(lat1, lon1, azi1, false, s12, outmask);
1749
+ };
1750
+
1751
+ /**
1752
+ * @summary Solve the direct geodesic problem with arc length.
1753
+ * @param {number} lat1 the latitude of the first point in degrees.
1754
+ * @param {number} lon1 the longitude of the first point in degrees.
1755
+ * @param {number} azi1 the azimuth at the first point in degrees.
1756
+ * @param {number} a12 the arc length from the first point to the second in
1757
+ * degrees.
1758
+ * @param {bitmask} [outmask = STANDARD] which results to include.
1759
+ * @return {object} the requested results.
1760
+ * @description The lat1, lon1, azi1, and a12 fields of the result are
1761
+ * always set. For details on the outmask parameter, see {@tutorial
1762
+ * 2-interface}, "The outmask and caps parameters".
1763
+ */
1764
+ g.Geodesic.prototype.ArcDirect = function(lat1, lon1, azi1, a12, outmask) {
1765
+ return this.GenDirect(lat1, lon1, azi1, true, a12, outmask);
1766
+ };
1767
+
1768
+ /**
1769
+ * @summary Create a {@link module:geodesic/GeodesicLine.GeodesicLine
1770
+ * GeodesicLine} object.
1771
+ * @param {number} lat1 the latitude of the first point in degrees.
1772
+ * @param {number} lon1 the longitude of the first point in degrees.
1773
+ * @param {number} azi1 the azimuth at the first point in degrees.
1774
+ * degrees.
1775
+ * @param {bitmask} [caps = STANDARD | DISTANCE_IN] which capabilities to
1776
+ * include.
1777
+ * @return {object} the
1778
+ * {@link module:geodesic/GeodesicLine.GeodesicLine
1779
+ * GeodesicLine} object
1780
+ * @description For details on the caps parameter, see {@tutorial
1781
+ * 2-interface}, "The outmask and caps parameters".
1782
+ */
1783
+ g.Geodesic.prototype.Line = function(lat1, lon1, azi1, caps) {
1784
+ return new l.GeodesicLine(this, lat1, lon1, azi1, caps);
1785
+ };
1786
+
1787
+ /**
1788
+ * @summary Define a {@link module:geodesic/GeodesicLine.GeodesicLine
1789
+ * GeodesicLine} in terms of the direct geodesic problem specified in terms
1790
+ * of distance.
1791
+ * @param {number} lat1 the latitude of the first point in degrees.
1792
+ * @param {number} lon1 the longitude of the first point in degrees.
1793
+ * @param {number} azi1 the azimuth at the first point in degrees.
1794
+ * degrees.
1795
+ * @param {number} s12 the distance between point 1 and point 2 (meters); it
1796
+ * can be negative.
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 direct geodesic problem. For details on the caps
1804
+ * parameter, see {@tutorial 2-interface}, "The outmask and caps
1805
+ * parameters".
1806
+ */
1807
+ g.Geodesic.prototype.DirectLine = function(lat1, lon1, azi1, s12, caps) {
1808
+ return this.GenDirectLine(lat1, lon1, azi1, false, s12, caps);
1809
+ };
1810
+
1811
+ /**
1812
+ * @summary Define a {@link module:geodesic/GeodesicLine.GeodesicLine
1813
+ * GeodesicLine} in terms of the direct geodesic problem specified in terms
1814
+ * of arc length.
1815
+ * @param {number} lat1 the latitude of the first point in degrees.
1816
+ * @param {number} lon1 the longitude of the first point in degrees.
1817
+ * @param {number} azi1 the azimuth at the first point in degrees.
1818
+ * degrees.
1819
+ * @param {number} a12 the arc length between point 1 and point 2 (degrees);
1820
+ * it can be negative.
1821
+ * @param {bitmask} [caps = STANDARD | DISTANCE_IN] which capabilities to
1822
+ * include.
1823
+ * @return {object} the
1824
+ * {@link module:geodesic/GeodesicLine.GeodesicLine
1825
+ * GeodesicLine} object
1826
+ * @description This function sets point 3 of the GeodesicLine to correspond
1827
+ * to point 2 of the direct geodesic problem. For details on the caps
1828
+ * parameter, see {@tutorial 2-interface}, "The outmask and caps
1829
+ * parameters".
1830
+ */
1831
+ g.Geodesic.prototype.ArcDirectLine = function(lat1, lon1, azi1, a12, caps) {
1832
+ return this.GenDirectLine(lat1, lon1, azi1, true, a12, caps);
1833
+ };
1834
+
1835
+ /**
1836
+ * @summary Define a {@link module:geodesic/GeodesicLine.GeodesicLine
1837
+ * GeodesicLine} in terms of the direct geodesic problem specified in terms
1838
+ * of either distance or arc length.
1839
+ * @param {number} lat1 the latitude of the first point in degrees.
1840
+ * @param {number} lon1 the longitude of the first point in degrees.
1841
+ * @param {number} azi1 the azimuth at the first point in degrees.
1842
+ * degrees.
1843
+ * @param {bool} arcmode boolean flag determining the meaning of the
1844
+ * s12_a12.
1845
+ * @param {number} s12_a12 if arcmode is false, this is the distance between
1846
+ * point 1 and point 2 (meters); otherwise it is the arc length between
1847
+ * point 1 and point 2 (degrees); it can be negative.
1848
+ * @param {bitmask} [caps = STANDARD | DISTANCE_IN] which capabilities to
1849
+ * include.
1850
+ * @return {object} the
1851
+ * {@link module:geodesic/GeodesicLine.GeodesicLine
1852
+ * GeodesicLine} object
1853
+ * @description This function sets point 3 of the GeodesicLine to correspond
1854
+ * to point 2 of the direct geodesic problem. For details on the caps
1855
+ * parameter, see {@tutorial 2-interface}, "The outmask and caps
1856
+ * parameters".
1857
+ */
1858
+ g.Geodesic.prototype.GenDirectLine = function(lat1, lon1, azi1,
1859
+ arcmode, s12_a12, caps) {
1860
+ var t;
1861
+ if (!caps) caps = g.STANDARD | g.DISTANCE_IN;
1862
+ // Automatically supply DISTANCE_IN if necessary
1863
+ if (!arcmode) caps |= g.DISTANCE_IN;
1864
+ t = new l.GeodesicLine(this, lat1, lon1, azi1, caps);
1865
+ t.GenSetDistance(arcmode, s12_a12);
1866
+ return t;
1867
+ };
1868
+
1869
+ /**
1870
+ * @summary Define a {@link module:geodesic/GeodesicLine.GeodesicLine
1871
+ * GeodesicLine} in terms of the inverse geodesic problem.
1872
+ * @param {number} lat1 the latitude of the first point in degrees.
1873
+ * @param {number} lon1 the longitude of the first point in degrees.
1874
+ * @param {number} lat2 the latitude of the second point in degrees.
1875
+ * @param {number} lon2 the longitude of the second point in degrees.
1876
+ * @param {bitmask} [caps = STANDARD | DISTANCE_IN] which capabilities to
1877
+ * include.
1878
+ * @return {object} the
1879
+ * {@link module:geodesic/GeodesicLine.GeodesicLine
1880
+ * GeodesicLine} object
1881
+ * @description This function sets point 3 of the GeodesicLine to correspond
1882
+ * to point 2 of the inverse geodesic problem. For details on the caps
1883
+ * parameter, see {@tutorial 2-interface}, "The outmask and caps
1884
+ * parameters".
1885
+ */
1886
+ g.Geodesic.prototype.InverseLine = function(lat1, lon1, lat2, lon2, caps) {
1887
+ var r, t, azi1;
1888
+ if (!caps) caps = g.STANDARD | g.DISTANCE_IN;
1889
+ r = this.InverseInt(lat1, lon1, lat2, lon2, g.ARC);
1890
+ azi1 = m.atan2d(r.salp1, r.calp1);
1891
+ // Ensure that a12 can be converted to a distance
1892
+ if (caps & (g.OUT_MASK & g.DISTANCE_IN)) caps |= g.DISTANCE;
1893
+ t = new l.GeodesicLine(this, lat1, lon1, azi1, caps, r.salp1, r.calp1);
1894
+ t.SetArc(r.vals.a12);
1895
+ return t;
1896
+ };
1897
+
1898
+ /**
1899
+ * @summary Create a {@link module:geodesic/PolygonArea.PolygonArea
1900
+ * PolygonArea} object.
1901
+ * @param {bool} [polyline = false] if true the new PolygonArea object
1902
+ * describes a polyline instead of a polygon.
1903
+ * @return {object} the
1904
+ * {@link module:geodesic/PolygonArea.PolygonArea
1905
+ * PolygonArea} object
1906
+ */
1907
+ g.Geodesic.prototype.Polygon = function(polyline) {
1908
+ return new p.PolygonArea(this, polyline);
1909
+ };
1910
+
1911
+ /**
1912
+ * @summary a {@link module:geodesic/Geodesic.Geodesic Geodesic} object
1913
+ * initialized for the WGS84 ellipsoid.
1914
+ * @constant {object}
1915
+ */
1916
+ g.WGS84 = new g.Geodesic(c.WGS84.a, c.WGS84.f);
1917
+ })(geodesic.Geodesic, geodesic.GeodesicLine,
1918
+ geodesic.PolygonArea, geodesic.Math, geodesic.Constants);
1919
+
1920
+ /*
1921
+ * GeodesicLine.js
1922
+ * Transcription of GeodesicLine.[ch]pp into JavaScript.
1923
+ *
1924
+ * See the documentation for the C++ class. The conversion is a literal
1925
+ * conversion from C++.
1926
+ *
1927
+ * The algorithms are derived in
1928
+ *
1929
+ * Charles F. F. Karney,
1930
+ * Algorithms for geodesics, J. Geodesy 87, 43-55 (2013);
1931
+ * https://doi.org/10.1007/s00190-012-0578-z
1932
+ * Addenda: https://geographiclib.sourceforge.io/geod-addenda.html
1933
+ *
1934
+ * Copyright (c) Charles Karney (2011-2022) <karney@alum.mit.edu> and licensed
1935
+ * under the MIT/X11 License. For more information, see
1936
+ * https://geographiclib.sourceforge.io/
1937
+ */
1938
+
1939
+ // Load AFTER geodesic/Math.js, geodesic/Geodesic.js
1940
+
1941
+ (function(
1942
+ g,
1943
+ /**
1944
+ * @exports geodesic/GeodesicLine
1945
+ * @description Solve geodesic problems on a single geodesic line via the
1946
+ * {@link module:geodesic/GeodesicLine.GeodesicLine GeodesicLine}
1947
+ * class.
1948
+ */
1949
+ l, m) {
1950
+ "use strict";
1951
+
1952
+ /**
1953
+ * @class
1954
+ * @property {number} a the equatorial radius (meters).
1955
+ * @property {number} f the flattening.
1956
+ * @property {number} lat1 the initial latitude (degrees).
1957
+ * @property {number} lon1 the initial longitude (degrees).
1958
+ * @property {number} azi1 the initial azimuth (degrees).
1959
+ * @property {number} salp1 the sine of the azimuth at the first point.
1960
+ * @property {number} calp1 the cosine the azimuth at the first point.
1961
+ * @property {number} s13 the distance to point 3 (meters).
1962
+ * @property {number} a13 the arc length to point 3 (degrees).
1963
+ * @property {bitmask} caps the capabilities of the object.
1964
+ * @summary Initialize a GeodesicLine object. For details on the caps
1965
+ * parameter, see {@tutorial 2-interface}, "The outmask and caps
1966
+ * parameters".
1967
+ * @classdesc Performs geodesic calculations along a given geodesic line.
1968
+ * This object is usually instantiated by
1969
+ * {@link module:geodesic/Geodesic.Geodesic#Line Geodesic.Line}.
1970
+ * The methods
1971
+ * {@link module:geodesic/Geodesic.Geodesic#DirectLine
1972
+ * Geodesic.DirectLine} and
1973
+ * {@link module:geodesic/Geodesic.Geodesic#InverseLine
1974
+ * Geodesic.InverseLine} set in addition the position of a reference point
1975
+ * 3.
1976
+ * @param {object} geod a {@link module:geodesic/Geodesic.Geodesic
1977
+ * Geodesic} object.
1978
+ * @param {number} lat1 the latitude of the first point in degrees.
1979
+ * @param {number} lon1 the longitude of the first point in degrees.
1980
+ * @param {number} azi1 the azimuth at the first point in degrees.
1981
+ * @param {bitmask} [caps = STANDARD | DISTANCE_IN] which capabilities to
1982
+ * include; LATITUDE | AZIMUTH are always included.
1983
+ */
1984
+ l.GeodesicLine = function(geod, lat1, lon1, azi1, caps, salp1, calp1) {
1985
+ var t, cbet1, sbet1, eps, s, c;
1986
+ if (!caps) caps = g.STANDARD | g.DISTANCE_IN;
1987
+
1988
+ this.a = geod.a;
1989
+ this.f = geod.f;
1990
+ this._b = geod._b;
1991
+ this._c2 = geod._c2;
1992
+ this._f1 = geod._f1;
1993
+ this.caps = caps | g.LATITUDE | g.AZIMUTH | g.LONG_UNROLL;
1994
+
1995
+ this.lat1 = m.LatFix(lat1);
1996
+ this.lon1 = lon1;
1997
+ if (typeof salp1 === 'undefined' || typeof calp1 === 'undefined') {
1998
+ this.azi1 = m.AngNormalize(azi1);
1999
+ t = m.sincosd(m.AngRound(this.azi1)); this.salp1 = t.s; this.calp1 = t.c;
2000
+ } else {
2001
+ this.azi1 = azi1; this.salp1 = salp1; this.calp1 = calp1;
2002
+ }
2003
+ t = m.sincosd(m.AngRound(this.lat1)); sbet1 = this._f1 * t.s; cbet1 = t.c;
2004
+ // norm(sbet1, cbet1);
2005
+ t = m.hypot(sbet1, cbet1); sbet1 /= t; cbet1 /= t;
2006
+ // Ensure cbet1 = +epsilon at poles
2007
+ cbet1 = Math.max(g.tiny_, cbet1);
2008
+ this._dn1 = Math.sqrt(1 + geod._ep2 * m.sq(sbet1));
2009
+
2010
+ // Evaluate alp0 from sin(alp1) * cos(bet1) = sin(alp0),
2011
+ this._salp0 = this.salp1 * cbet1; // alp0 in [0, pi/2 - |bet1|]
2012
+ // Alt: calp0 = hypot(sbet1, calp1 * cbet1). The following
2013
+ // is slightly better (consider the case salp1 = 0).
2014
+ this._calp0 = m.hypot(this.calp1, this.salp1 * sbet1);
2015
+ // Evaluate sig with tan(bet1) = tan(sig1) * cos(alp1).
2016
+ // sig = 0 is nearest northward crossing of equator.
2017
+ // With bet1 = 0, alp1 = pi/2, we have sig1 = 0 (equatorial line).
2018
+ // With bet1 = pi/2, alp1 = -pi, sig1 = pi/2
2019
+ // With bet1 = -pi/2, alp1 = 0 , sig1 = -pi/2
2020
+ // Evaluate omg1 with tan(omg1) = sin(alp0) * tan(sig1).
2021
+ // With alp0 in (0, pi/2], quadrants for sig and omg coincide.
2022
+ // No atan2(0,0) ambiguity at poles since cbet1 = +epsilon.
2023
+ // With alp0 = 0, omg1 = 0 for alp1 = 0, omg1 = pi for alp1 = pi.
2024
+ this._ssig1 = sbet1; this._somg1 = this._salp0 * sbet1;
2025
+ this._csig1 = this._comg1 =
2026
+ sbet1 !== 0 || this.calp1 !== 0 ? cbet1 * this.calp1 : 1;
2027
+ // norm(this._ssig1, this._csig1); // sig1 in (-pi, pi]
2028
+ t = m.hypot(this._ssig1, this._csig1);
2029
+ this._ssig1 /= t; this._csig1 /= t;
2030
+ // norm(this._somg1, this._comg1); -- don't need to normalize!
2031
+
2032
+ this._k2 = m.sq(this._calp0) * geod._ep2;
2033
+ eps = this._k2 / (2 * (1 + Math.sqrt(1 + this._k2)) + this._k2);
2034
+
2035
+ if (this.caps & g.CAP_C1) {
2036
+ this._A1m1 = g.A1m1f(eps);
2037
+ this._C1a = new Array(g.nC1_ + 1);
2038
+ g.C1f(eps, this._C1a);
2039
+ this._B11 = g.SinCosSeries(true, this._ssig1, this._csig1, this._C1a);
2040
+ s = Math.sin(this._B11); c = Math.cos(this._B11);
2041
+ // tau1 = sig1 + B11
2042
+ this._stau1 = this._ssig1 * c + this._csig1 * s;
2043
+ this._ctau1 = this._csig1 * c - this._ssig1 * s;
2044
+ // Not necessary because C1pa reverts C1a
2045
+ // _B11 = -SinCosSeries(true, _stau1, _ctau1, _C1pa);
2046
+ }
2047
+
2048
+ if (this.caps & g.CAP_C1p) {
2049
+ this._C1pa = new Array(g.nC1p_ + 1);
2050
+ g.C1pf(eps, this._C1pa);
2051
+ }
2052
+
2053
+ if (this.caps & g.CAP_C2) {
2054
+ this._A2m1 = g.A2m1f(eps);
2055
+ this._C2a = new Array(g.nC2_ + 1);
2056
+ g.C2f(eps, this._C2a);
2057
+ this._B21 = g.SinCosSeries(true, this._ssig1, this._csig1, this._C2a);
2058
+ }
2059
+
2060
+ if (this.caps & g.CAP_C3) {
2061
+ this._C3a = new Array(g.nC3_);
2062
+ geod.C3f(eps, this._C3a);
2063
+ this._A3c = -this.f * this._salp0 * geod.A3f(eps);
2064
+ this._B31 = g.SinCosSeries(true, this._ssig1, this._csig1, this._C3a);
2065
+ }
2066
+
2067
+ if (this.caps & g.CAP_C4) {
2068
+ this._C4a = new Array(g.nC4_); // all the elements of _C4a are used
2069
+ geod.C4f(eps, this._C4a);
2070
+ // Multiplier = a^2 * e^2 * cos(alpha0) * sin(alpha0)
2071
+ this._A4 = m.sq(this.a) * this._calp0 * this._salp0 * geod._e2;
2072
+ this._B41 = g.SinCosSeries(false, this._ssig1, this._csig1, this._C4a);
2073
+ }
2074
+
2075
+ this.a13 = this.s13 = NaN;
2076
+ };
2077
+
2078
+ /**
2079
+ * @summary Find the position on the line (general case).
2080
+ * @param {bool} arcmode is the next parameter an arc length?
2081
+ * @param {number} s12_a12 the (arcmode ? arc length : distance) from the
2082
+ * first point to the second in (arcmode ? degrees : meters).
2083
+ * @param {bitmask} [outmask = STANDARD] which results to include; this is
2084
+ * subject to the capabilities of the object.
2085
+ * @return {object} the requested results.
2086
+ * @description The lat1, lon1, azi1, and a12 fields of the result are
2087
+ * always set; s12 is included if arcmode is false. For details on the
2088
+ * outmask parameter, see {@tutorial 2-interface}, "The outmask and caps
2089
+ * parameters".
2090
+ */
2091
+ l.GeodesicLine.prototype.GenPosition = function(arcmode, s12_a12,
2092
+ outmask, vals = {}) {
2093
+ // math.gl: optional caller-owned result; numerical equations are unchanged.
2094
+ var
2095
+ sig12, ssig12, csig12, B12, AB1, ssig2, csig2, tau12, s, c, serr,
2096
+ omg12, lam12, lon12, E, sbet2, cbet2, somg2, comg2, salp2, calp2, dn2,
2097
+ B22, AB2, J12, t, B42, salp12, calp12;
2098
+ if (!outmask) outmask = g.STANDARD;
2099
+ else if (outmask === g.LONG_UNROLL) outmask |= g.STANDARD;
2100
+ outmask &= this.caps & g.OUT_MASK;
2101
+ vals.lat1 = this.lat1; vals.azi1 = this.azi1;
2102
+ vals.lon1 = outmask & g.LONG_UNROLL ?
2103
+ this.lon1 : m.AngNormalize(this.lon1);
2104
+ if (arcmode)
2105
+ vals.a12 = s12_a12;
2106
+ else
2107
+ vals.s12 = s12_a12;
2108
+ if (!( arcmode || (this.caps & g.DISTANCE_IN & g.OUT_MASK) )) {
2109
+ // Uninitialized or impossible distance calculation requested
2110
+ vals.a12 = NaN;
2111
+ return vals;
2112
+ }
2113
+
2114
+ // Avoid warning about uninitialized B12.
2115
+ B12 = 0; AB1 = 0;
2116
+ if (arcmode) {
2117
+ // Interpret s12_a12 as spherical arc length
2118
+ sig12 = s12_a12 * m.degree;
2119
+ t = m.sincosd(s12_a12); ssig12 = t.s; csig12 = t.c;
2120
+ } else {
2121
+ // Interpret s12_a12 as distance
2122
+ tau12 = s12_a12 / (this._b * (1 + this._A1m1));
2123
+ s = Math.sin(tau12);
2124
+ c = Math.cos(tau12);
2125
+ // tau2 = tau1 + tau12
2126
+ B12 = -g.SinCosSeries(true,
2127
+ this._stau1 * c + this._ctau1 * s,
2128
+ this._ctau1 * c - this._stau1 * s,
2129
+ this._C1pa);
2130
+ sig12 = tau12 - (B12 - this._B11);
2131
+ ssig12 = Math.sin(sig12); csig12 = Math.cos(sig12);
2132
+ if (Math.abs(this.f) > 0.01) {
2133
+ // Reverted distance series is inaccurate for |f| > 1/100, so correct
2134
+ // sig12 with 1 Newton iteration. The following table shows the
2135
+ // approximate maximum error for a = WGS_a() and various f relative to
2136
+ // GeodesicExact.
2137
+ // erri = the error in the inverse solution (nm)
2138
+ // errd = the error in the direct solution (series only) (nm)
2139
+ // errda = the error in the direct solution
2140
+ // (series + 1 Newton) (nm)
2141
+ //
2142
+ // f erri errd errda
2143
+ // -1/5 12e6 1.2e9 69e6
2144
+ // -1/10 123e3 12e6 765e3
2145
+ // -1/20 1110 108e3 7155
2146
+ // -1/50 18.63 200.9 27.12
2147
+ // -1/100 18.63 23.78 23.37
2148
+ // -1/150 18.63 21.05 20.26
2149
+ // 1/150 22.35 24.73 25.83
2150
+ // 1/100 22.35 25.03 25.31
2151
+ // 1/50 29.80 231.9 30.44
2152
+ // 1/20 5376 146e3 10e3
2153
+ // 1/10 829e3 22e6 1.5e6
2154
+ // 1/5 157e6 3.8e9 280e6
2155
+ ssig2 = this._ssig1 * csig12 + this._csig1 * ssig12;
2156
+ csig2 = this._csig1 * csig12 - this._ssig1 * ssig12;
2157
+ B12 = g.SinCosSeries(true, ssig2, csig2, this._C1a);
2158
+ serr = (1 + this._A1m1) * (sig12 + (B12 - this._B11)) -
2159
+ s12_a12 / this._b;
2160
+ sig12 = sig12 - serr / Math.sqrt(1 + this._k2 * m.sq(ssig2));
2161
+ ssig12 = Math.sin(sig12); csig12 = Math.cos(sig12);
2162
+ // Update B12 below
2163
+ }
2164
+ }
2165
+
2166
+ // sig2 = sig1 + sig12
2167
+ ssig2 = this._ssig1 * csig12 + this._csig1 * ssig12;
2168
+ csig2 = this._csig1 * csig12 - this._ssig1 * ssig12;
2169
+ dn2 = Math.sqrt(1 + this._k2 * m.sq(ssig2));
2170
+ if (outmask & (g.DISTANCE | g.REDUCEDLENGTH | g.GEODESICSCALE)) {
2171
+ if (arcmode || Math.abs(this.f) > 0.01)
2172
+ B12 = g.SinCosSeries(true, ssig2, csig2, this._C1a);
2173
+ AB1 = (1 + this._A1m1) * (B12 - this._B11);
2174
+ }
2175
+ // sin(bet2) = cos(alp0) * sin(sig2)
2176
+ sbet2 = this._calp0 * ssig2;
2177
+ // Alt: cbet2 = hypot(csig2, salp0 * ssig2);
2178
+ cbet2 = m.hypot(this._salp0, this._calp0 * csig2);
2179
+ if (cbet2 === 0)
2180
+ // I.e., salp0 = 0, csig2 = 0. Break the degeneracy in this case
2181
+ cbet2 = csig2 = g.tiny_;
2182
+ // tan(alp0) = cos(sig2)*tan(alp2)
2183
+ salp2 = this._salp0; calp2 = this._calp0 * csig2; // No need to normalize
2184
+
2185
+ if (arcmode && (outmask & g.DISTANCE))
2186
+ vals.s12 = this._b * ((1 + this._A1m1) * sig12 + AB1);
2187
+
2188
+ if (outmask & g.LONGITUDE) {
2189
+ // tan(omg2) = sin(alp0) * tan(sig2)
2190
+ somg2 = this._salp0 * ssig2; comg2 = csig2; // No need to normalize
2191
+ E = m.copysign(1, this._salp0);
2192
+ // omg12 = omg2 - omg1
2193
+ omg12 = outmask & g.LONG_UNROLL ?
2194
+ E * (sig12 -
2195
+ (Math.atan2(ssig2, csig2) -
2196
+ Math.atan2(this._ssig1, this._csig1)) +
2197
+ (Math.atan2(E * somg2, comg2) -
2198
+ Math.atan2(E * this._somg1, this._comg1))) :
2199
+ Math.atan2(somg2 * this._comg1 - comg2 * this._somg1,
2200
+ comg2 * this._comg1 + somg2 * this._somg1);
2201
+ lam12 = omg12 + this._A3c *
2202
+ ( sig12 + (g.SinCosSeries(true, ssig2, csig2, this._C3a) -
2203
+ this._B31));
2204
+ lon12 = lam12 / m.degree;
2205
+ vals.lon2 = outmask & g.LONG_UNROLL ? this.lon1 + lon12 :
2206
+ m.AngNormalize(m.AngNormalize(this.lon1) + m.AngNormalize(lon12));
2207
+ }
2208
+
2209
+ if (outmask & g.LATITUDE)
2210
+ vals.lat2 = m.atan2d(sbet2, this._f1 * cbet2);
2211
+
2212
+ if (outmask & g.AZIMUTH)
2213
+ vals.azi2 = m.atan2d(salp2, calp2);
2214
+
2215
+ if (outmask & (g.REDUCEDLENGTH | g.GEODESICSCALE)) {
2216
+ B22 = g.SinCosSeries(true, ssig2, csig2, this._C2a);
2217
+ AB2 = (1 + this._A2m1) * (B22 - this._B21);
2218
+ J12 = (this._A1m1 - this._A2m1) * sig12 + (AB1 - AB2);
2219
+ if (outmask & g.REDUCEDLENGTH)
2220
+ // Add parens around (_csig1 * ssig2) and (_ssig1 * csig2) to ensure
2221
+ // accurate cancellation in the case of coincident points.
2222
+ vals.m12 = this._b * (( dn2 * (this._csig1 * ssig2) -
2223
+ this._dn1 * (this._ssig1 * csig2)) -
2224
+ this._csig1 * csig2 * J12);
2225
+ if (outmask & g.GEODESICSCALE) {
2226
+ t = this._k2 * (ssig2 - this._ssig1) * (ssig2 + this._ssig1) /
2227
+ (this._dn1 + dn2);
2228
+ vals.M12 = csig12 +
2229
+ (t * ssig2 - csig2 * J12) * this._ssig1 / this._dn1;
2230
+ vals.M21 = csig12 -
2231
+ (t * this._ssig1 - this._csig1 * J12) * ssig2 / dn2;
2232
+ }
2233
+ }
2234
+
2235
+ if (outmask & g.AREA) {
2236
+ B42 = g.SinCosSeries(false, ssig2, csig2, this._C4a);
2237
+ if (this._calp0 === 0 || this._salp0 === 0) {
2238
+ // alp12 = alp2 - alp1, used in atan2 so no need to normalize
2239
+ salp12 = salp2 * this.calp1 - calp2 * this.salp1;
2240
+ calp12 = calp2 * this.calp1 + salp2 * this.salp1;
2241
+ } else {
2242
+ // tan(alp) = tan(alp0) * sec(sig)
2243
+ // tan(alp2-alp1) = (tan(alp2) -tan(alp1)) / (tan(alp2)*tan(alp1)+1)
2244
+ // = calp0 * salp0 * (csig1-csig2) / (salp0^2 + calp0^2 * csig1*csig2)
2245
+ // If csig12 > 0, write
2246
+ // csig1 - csig2 = ssig12 * (csig1 * ssig12 / (1 + csig12) + ssig1)
2247
+ // else
2248
+ // csig1 - csig2 = csig1 * (1 - csig12) + ssig12 * ssig1
2249
+ // No need to normalize
2250
+ salp12 = this._calp0 * this._salp0 *
2251
+ (csig12 <= 0 ? this._csig1 * (1 - csig12) + ssig12 * this._ssig1 :
2252
+ ssig12 * (this._csig1 * ssig12 / (1 + csig12) + this._ssig1));
2253
+ calp12 = m.sq(this._salp0) + m.sq(this._calp0) * this._csig1 * csig2;
2254
+ }
2255
+ vals.S12 = this._c2 * Math.atan2(salp12, calp12) +
2256
+ this._A4 * (Math.abs(sig12) < 0.01 ?
2257
+ g.SinCosSeries(false, this._ssig1, this._csig1, this._C4a, sig12) : B42 - this._B41);
2258
+ }
2259
+
2260
+ if (!arcmode)
2261
+ vals.a12 = sig12 / m.degree;
2262
+ return vals;
2263
+ };
2264
+
2265
+ /**
2266
+ * @summary Find the position on the line given s12.
2267
+ * @param {number} s12 the distance from the first point to the second in
2268
+ * meters.
2269
+ * @param {bitmask} [outmask = STANDARD] which results to include; this is
2270
+ * subject to the capabilities of the object.
2271
+ * @return {object} the requested results.
2272
+ * @description The lat1, lon1, azi1, s12, and a12 fields of the result are
2273
+ * always set; s12 is included if arcmode is false. For details on the
2274
+ * outmask parameter, see {@tutorial 2-interface}, "The outmask and caps
2275
+ * parameters".
2276
+ */
2277
+ l.GeodesicLine.prototype.Position = function(s12, outmask) {
2278
+ return this.GenPosition(false, s12, outmask);
2279
+ };
2280
+
2281
+ /**
2282
+ * @summary Find the position on the line given a12.
2283
+ * @param {number} a12 the arc length from the first point to the second in
2284
+ * degrees.
2285
+ * @param {bitmask} [outmask = STANDARD] which results to include; this is
2286
+ * subject to the capabilities of the object.
2287
+ * @return {object} the requested results.
2288
+ * @description The lat1, lon1, azi1, and a12 fields of the result are
2289
+ * always set. For details on the outmask parameter, see {@tutorial
2290
+ * 2-interface}, "The outmask and caps parameters".
2291
+ */
2292
+ l.GeodesicLine.prototype.ArcPosition = function(a12, outmask) {
2293
+ return this.GenPosition(true, a12, outmask);
2294
+ };
2295
+
2296
+ /**
2297
+ * @summary Specify position of point 3 in terms of either distance or arc
2298
+ * length.
2299
+ * @param {bool} arcmode boolean flag determining the meaning of the second
2300
+ * parameter; if arcmode is false, then the GeodesicLine object must have
2301
+ * been constructed with caps |= DISTANCE_IN.
2302
+ * @param {number} s13_a13 if arcmode is false, this is the distance from
2303
+ * point 1 to point 3 (meters); otherwise it is the arc length from
2304
+ * point 1 to point 3 (degrees); it can be negative.
2305
+ */
2306
+ l.GeodesicLine.prototype.GenSetDistance = function(arcmode, s13_a13) {
2307
+ if (arcmode)
2308
+ this.SetArc(s13_a13);
2309
+ else
2310
+ this.SetDistance(s13_a13);
2311
+ };
2312
+
2313
+ /**
2314
+ * @summary Specify position of point 3 in terms distance.
2315
+ * @param {number} s13 the distance from point 1 to point 3 (meters); it
2316
+ * can be negative.
2317
+ */
2318
+ l.GeodesicLine.prototype.SetDistance = function(s13) {
2319
+ var r;
2320
+ this.s13 = s13;
2321
+ r = this.GenPosition(false, this.s13, g.ARC);
2322
+ this.a13 = 0 + r.a12; // the 0+ converts undefined into NaN
2323
+ };
2324
+
2325
+ /**
2326
+ * @summary Specify position of point 3 in terms of arc length.
2327
+ * @param {number} a13 the arc length from point 1 to point 3 (degrees);
2328
+ * it can be negative.
2329
+ */
2330
+ l.GeodesicLine.prototype.SetArc = function(a13) {
2331
+ var r;
2332
+ this.a13 = a13;
2333
+ r = this.GenPosition(true, this.a13, g.DISTANCE);
2334
+ this.s13 = 0 + r.s12; // the 0+ converts undefined into NaN
2335
+ };
2336
+
2337
+ })(geodesic.Geodesic, geodesic.GeodesicLine, geodesic.Math);
2338
+
2339
+ export {geodesic};