node-red-contrib-tak-registration 0.16.3 → 0.16.5

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 (2240) hide show
  1. package/node_modules/@turf/centroid/package.json +6 -7
  2. package/node_modules/@turf/helpers/dist/cjs/index.cjs.map +1 -1
  3. package/node_modules/@turf/helpers/dist/cjs/index.d.cts +5 -3
  4. package/node_modules/@turf/helpers/dist/esm/index.d.ts +5 -3
  5. package/node_modules/@turf/helpers/dist/esm/index.js.map +1 -1
  6. package/node_modules/@turf/helpers/package.json +3 -4
  7. package/node_modules/@turf/meta/dist/cjs/index.cjs +188 -95
  8. package/node_modules/@turf/meta/dist/cjs/index.cjs.map +1 -1
  9. package/node_modules/@turf/meta/dist/cjs/index.d.cts +607 -251
  10. package/node_modules/@turf/meta/dist/esm/index.d.ts +607 -251
  11. package/node_modules/@turf/meta/dist/esm/index.js +188 -95
  12. package/node_modules/@turf/meta/dist/esm/index.js.map +1 -1
  13. package/node_modules/@turf/meta/package.json +10 -8
  14. package/node_modules/@types/node/README.md +1 -1
  15. package/node_modules/@types/node/assert/strict.d.ts +5 -11
  16. package/node_modules/@types/node/assert.d.ts +9 -169
  17. package/node_modules/@types/node/async_hooks.d.ts +8 -8
  18. package/node_modules/@types/node/buffer.buffer.d.ts +1 -7
  19. package/node_modules/@types/node/buffer.d.ts +44 -168
  20. package/node_modules/@types/node/child_process.d.ts +16 -64
  21. package/node_modules/@types/node/cluster.d.ts +240 -332
  22. package/node_modules/@types/node/console.d.ts +49 -351
  23. package/node_modules/@types/node/constants.d.ts +3 -4
  24. package/node_modules/@types/node/crypto.d.ts +279 -1631
  25. package/node_modules/@types/node/dgram.d.ts +15 -51
  26. package/node_modules/@types/node/diagnostics_channel.d.ts +4 -4
  27. package/node_modules/@types/node/dns/promises.d.ts +3 -3
  28. package/node_modules/@types/node/dns.d.ts +131 -132
  29. package/node_modules/@types/node/domain.d.ts +13 -17
  30. package/node_modules/@types/node/events.d.ts +869 -791
  31. package/node_modules/@types/node/fs/promises.d.ts +21 -9
  32. package/node_modules/@types/node/fs.d.ts +419 -457
  33. package/node_modules/@types/node/globals.d.ts +6 -26
  34. package/node_modules/@types/node/globals.typedarray.d.ts +60 -0
  35. package/node_modules/@types/node/http.d.ts +263 -254
  36. package/node_modules/@types/node/http2.d.ts +528 -804
  37. package/node_modules/@types/node/https.d.ts +59 -239
  38. package/node_modules/@types/node/index.d.ts +15 -1
  39. package/node_modules/@types/node/inspector/promises.d.ts +41 -0
  40. package/node_modules/@types/node/inspector.d.ts +6 -59
  41. package/node_modules/@types/node/inspector.generated.d.ts +3 -10
  42. package/node_modules/@types/node/module.d.ts +47 -122
  43. package/node_modules/@types/node/net.d.ts +63 -184
  44. package/node_modules/@types/node/os.d.ts +6 -6
  45. package/node_modules/@types/node/package.json +2 -2
  46. package/node_modules/@types/node/path/posix.d.ts +8 -0
  47. package/node_modules/@types/node/path/win32.d.ts +8 -0
  48. package/node_modules/@types/node/path.d.ts +120 -133
  49. package/node_modules/@types/node/perf_hooks.d.ts +282 -643
  50. package/node_modules/@types/node/process.d.ts +218 -126
  51. package/node_modules/@types/node/punycode.d.ts +5 -5
  52. package/node_modules/@types/node/querystring.d.ts +4 -4
  53. package/node_modules/@types/node/quic.d.ts +910 -0
  54. package/node_modules/@types/node/readline/promises.d.ts +3 -3
  55. package/node_modules/@types/node/readline.d.ts +67 -120
  56. package/node_modules/@types/node/repl.d.ts +75 -98
  57. package/node_modules/@types/node/sea.d.ts +1 -1
  58. package/node_modules/@types/node/sqlite.d.ts +2 -2
  59. package/node_modules/@types/node/stream/consumers.d.ts +10 -10
  60. package/node_modules/@types/node/stream/promises.d.ts +136 -15
  61. package/node_modules/@types/node/stream/web.d.ts +176 -453
  62. package/node_modules/@types/node/stream.d.ts +555 -478
  63. package/node_modules/@types/node/string_decoder.d.ts +4 -4
  64. package/node_modules/@types/node/test/reporters.d.ts +96 -0
  65. package/node_modules/@types/node/test.d.ts +80 -180
  66. package/node_modules/@types/node/timers/promises.d.ts +4 -4
  67. package/node_modules/@types/node/timers.d.ts +4 -130
  68. package/node_modules/@types/node/tls.d.ts +106 -177
  69. package/node_modules/@types/node/trace_events.d.ts +9 -9
  70. package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +1 -7
  71. package/node_modules/@types/node/ts5.6/index.d.ts +15 -1
  72. package/node_modules/@types/node/ts5.7/index.d.ts +15 -1
  73. package/node_modules/@types/node/tty.d.ts +58 -16
  74. package/node_modules/@types/node/url.d.ts +54 -592
  75. package/node_modules/@types/node/util/types.d.ts +558 -0
  76. package/node_modules/@types/node/util.d.ts +120 -792
  77. package/node_modules/@types/node/v8.d.ts +32 -5
  78. package/node_modules/@types/node/vm.d.ts +13 -13
  79. package/node_modules/@types/node/wasi.d.ts +4 -4
  80. package/node_modules/@types/node/web-globals/abortcontroller.d.ts +27 -2
  81. package/node_modules/@types/node/web-globals/blob.d.ts +23 -0
  82. package/node_modules/@types/node/web-globals/console.d.ts +9 -0
  83. package/node_modules/@types/node/web-globals/crypto.d.ts +7 -0
  84. package/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
  85. package/node_modules/@types/node/web-globals/events.d.ts +9 -0
  86. package/node_modules/@types/node/web-globals/fetch.d.ts +4 -0
  87. package/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
  88. package/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
  89. package/node_modules/@types/node/web-globals/performance.d.ts +45 -0
  90. package/node_modules/@types/node/web-globals/streams.d.ts +93 -0
  91. package/node_modules/@types/node/web-globals/timers.d.ts +44 -0
  92. package/node_modules/@types/node/web-globals/url.d.ts +24 -0
  93. package/node_modules/@types/node/worker_threads.d.ts +179 -358
  94. package/node_modules/@types/node/zlib.d.ts +8 -71
  95. package/node_modules/axios/CHANGELOG.md +296 -239
  96. package/node_modules/axios/MIGRATION_GUIDE.md +876 -2
  97. package/node_modules/axios/README.md +580 -446
  98. package/node_modules/axios/dist/axios.js +246 -148
  99. package/node_modules/axios/dist/axios.js.map +1 -1
  100. package/node_modules/axios/dist/axios.min.js +2 -2
  101. package/node_modules/axios/dist/axios.min.js.map +1 -1
  102. package/node_modules/axios/dist/browser/axios.cjs +145 -166
  103. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  104. package/node_modules/axios/dist/esm/axios.js +145 -166
  105. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  106. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  107. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  108. package/node_modules/axios/dist/node/axios.cjs +180 -198
  109. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  110. package/node_modules/axios/index.d.cts +21 -3
  111. package/node_modules/axios/index.d.ts +340 -116
  112. package/node_modules/axios/lib/adapters/README.md +1 -1
  113. package/node_modules/axios/lib/adapters/http.js +13 -10
  114. package/node_modules/axios/lib/adapters/xhr.js +2 -2
  115. package/node_modules/axios/lib/cancel/CanceledError.js +15 -18
  116. package/node_modules/axios/lib/core/Axios.js +1 -1
  117. package/node_modules/axios/lib/core/AxiosError.js +65 -102
  118. package/node_modules/axios/lib/core/InterceptorManager.js +2 -1
  119. package/node_modules/axios/lib/core/mergeConfig.js +2 -3
  120. package/node_modules/axios/lib/core/transformData.js +1 -1
  121. package/node_modules/axios/lib/env/data.js +1 -1
  122. package/node_modules/axios/lib/helpers/buildURL.js +7 -10
  123. package/node_modules/axios/lib/helpers/composeSignals.js +1 -1
  124. package/node_modules/axios/lib/helpers/cookies.js +1 -1
  125. package/node_modules/axios/lib/helpers/isAxiosError.js +1 -1
  126. package/node_modules/axios/lib/helpers/parseHeaders.js +1 -1
  127. package/node_modules/axios/lib/helpers/spread.js +1 -1
  128. package/node_modules/axios/lib/utils.js +24 -7
  129. package/node_modules/axios/package.json +26 -2
  130. package/node_modules/fast-xml-parser/CHANGELOG.md +3 -0
  131. package/node_modules/fast-xml-parser/README.md +5 -4
  132. package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
  133. package/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
  134. package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
  135. package/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
  136. package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
  137. package/node_modules/fast-xml-parser/package.json +4 -2
  138. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +19 -8
  139. package/node_modules/protobufjs/dist/light/protobuf.js +8 -5
  140. package/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
  141. package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
  142. package/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
  143. package/node_modules/protobufjs/dist/minimal/protobuf.js +2 -2
  144. package/node_modules/protobufjs/dist/minimal/protobuf.min.js +2 -2
  145. package/node_modules/protobufjs/dist/protobuf.js +53 -6
  146. package/node_modules/protobufjs/dist/protobuf.js.map +1 -1
  147. package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
  148. package/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
  149. package/node_modules/protobufjs/package.json +1 -1
  150. package/node_modules/protobufjs/src/object.js +6 -3
  151. package/node_modules/protobufjs/src/parse.js +45 -1
  152. package/node_modules/strnum/README.md +6 -0
  153. package/node_modules/strnum/package.json +1 -1
  154. package/node_modules/strnum/strnum.js +1 -1
  155. package/node_modules/uuid/README.md +19 -8
  156. package/node_modules/uuid/dist/cjs/index.d.ts +15 -0
  157. package/node_modules/uuid/dist/cjs/index.js +31 -0
  158. package/node_modules/uuid/dist/cjs/max.d.ts +2 -0
  159. package/node_modules/uuid/dist/cjs/max.js +3 -0
  160. package/node_modules/uuid/dist/cjs/md5.d.ts +4 -0
  161. package/node_modules/uuid/dist/cjs/md5.js +13 -0
  162. package/node_modules/uuid/dist/cjs/native.d.ts +6 -0
  163. package/node_modules/uuid/dist/cjs/native.js +4 -0
  164. package/node_modules/uuid/dist/cjs/nil.d.ts +2 -0
  165. package/node_modules/uuid/dist/cjs/nil.js +3 -0
  166. package/node_modules/uuid/dist/cjs/package.json +1 -0
  167. package/node_modules/uuid/dist/cjs/parse.d.ts +2 -0
  168. package/node_modules/uuid/dist/cjs/parse.js +11 -0
  169. package/node_modules/uuid/dist/cjs/regex.d.ts +2 -0
  170. package/node_modules/uuid/dist/cjs/regex.js +3 -0
  171. package/node_modules/uuid/dist/cjs/rng.d.ts +1 -0
  172. package/node_modules/uuid/dist/cjs/rng.js +13 -0
  173. package/node_modules/uuid/dist/cjs/sha1.d.ts +4 -0
  174. package/node_modules/uuid/dist/cjs/sha1.js +13 -0
  175. package/node_modules/uuid/dist/cjs/stringify.d.ts +3 -0
  176. package/node_modules/uuid/dist/cjs/stringify.js +39 -0
  177. package/node_modules/uuid/dist/cjs/types.d.ts +21 -0
  178. package/node_modules/uuid/dist/cjs/types.js +2 -0
  179. package/node_modules/uuid/dist/cjs/uuid-bin.js +72 -0
  180. package/node_modules/uuid/dist/cjs/v1.d.ts +11 -0
  181. package/node_modules/uuid/dist/cjs/v1.js +87 -0
  182. package/node_modules/uuid/dist/cjs/v1ToV6.d.ts +2 -0
  183. package/node_modules/uuid/dist/cjs/v1ToV6.js +13 -0
  184. package/node_modules/uuid/dist/cjs/v3.d.ts +9 -0
  185. package/node_modules/uuid/dist/cjs/v3.js +14 -0
  186. package/node_modules/uuid/dist/cjs/v35.d.ts +7 -0
  187. package/node_modules/uuid/dist/cjs/v35.js +41 -0
  188. package/node_modules/uuid/dist/cjs/v4.d.ts +4 -0
  189. package/node_modules/uuid/dist/cjs/v4.js +29 -0
  190. package/node_modules/uuid/dist/cjs/v5.d.ts +9 -0
  191. package/node_modules/uuid/dist/cjs/v5.js +14 -0
  192. package/node_modules/uuid/dist/cjs/v6.d.ts +4 -0
  193. package/node_modules/uuid/dist/cjs/v6.js +19 -0
  194. package/node_modules/uuid/dist/cjs/v6ToV1.d.ts +2 -0
  195. package/node_modules/uuid/dist/cjs/v6ToV1.js +13 -0
  196. package/node_modules/uuid/dist/cjs/v7.d.ts +9 -0
  197. package/node_modules/uuid/dist/cjs/v7.js +69 -0
  198. package/node_modules/uuid/dist/cjs/validate.d.ts +2 -0
  199. package/node_modules/uuid/dist/cjs/validate.js +7 -0
  200. package/node_modules/uuid/dist/cjs/version.d.ts +2 -0
  201. package/node_modules/uuid/dist/cjs/version.js +10 -0
  202. package/node_modules/uuid/dist/cjs-browser/index.js +31 -0
  203. package/node_modules/uuid/dist/cjs-browser/max.js +3 -0
  204. package/node_modules/uuid/dist/cjs-browser/md5.js +137 -0
  205. package/node_modules/uuid/dist/cjs-browser/native.js +4 -0
  206. package/node_modules/uuid/dist/cjs-browser/nil.js +3 -0
  207. package/node_modules/uuid/dist/cjs-browser/package.json +1 -0
  208. package/node_modules/uuid/dist/cjs-browser/parse.js +11 -0
  209. package/node_modules/uuid/dist/cjs-browser/regex.js +3 -0
  210. package/node_modules/uuid/dist/cjs-browser/rng.js +14 -0
  211. package/node_modules/uuid/dist/cjs-browser/sha1.js +72 -0
  212. package/node_modules/uuid/dist/cjs-browser/stringify.js +39 -0
  213. package/node_modules/uuid/dist/cjs-browser/types.js +2 -0
  214. package/node_modules/uuid/dist/cjs-browser/uuid-bin.js +72 -0
  215. package/node_modules/uuid/dist/cjs-browser/v1.js +87 -0
  216. package/node_modules/uuid/dist/cjs-browser/v1ToV6.js +13 -0
  217. package/node_modules/uuid/dist/cjs-browser/v3.js +14 -0
  218. package/node_modules/uuid/dist/cjs-browser/v35.js +41 -0
  219. package/node_modules/uuid/dist/cjs-browser/v4.js +29 -0
  220. package/node_modules/uuid/dist/cjs-browser/v5.js +14 -0
  221. package/node_modules/uuid/dist/cjs-browser/v6.js +19 -0
  222. package/node_modules/uuid/dist/cjs-browser/v6ToV1.js +13 -0
  223. package/node_modules/uuid/dist/cjs-browser/v7.js +69 -0
  224. package/node_modules/uuid/dist/cjs-browser/validate.js +7 -0
  225. package/node_modules/uuid/dist/cjs-browser/version.js +10 -0
  226. package/node_modules/uuid/dist/esm/index.d.ts +15 -0
  227. package/node_modules/uuid/dist/esm/max.d.ts +2 -0
  228. package/node_modules/uuid/dist/esm/md5.d.ts +4 -0
  229. package/node_modules/uuid/dist/esm/md5.js +11 -0
  230. package/node_modules/uuid/dist/esm/native.d.ts +6 -0
  231. package/node_modules/uuid/dist/esm/native.js +2 -0
  232. package/node_modules/uuid/dist/esm/nil.d.ts +2 -0
  233. package/node_modules/uuid/dist/esm/parse.d.ts +2 -0
  234. package/node_modules/uuid/dist/esm/regex.d.ts +2 -0
  235. package/node_modules/uuid/dist/esm/rng.d.ts +1 -0
  236. package/node_modules/uuid/dist/esm/rng.js +10 -0
  237. package/node_modules/uuid/dist/esm/sha1.d.ts +4 -0
  238. package/node_modules/uuid/dist/esm/sha1.js +11 -0
  239. package/node_modules/uuid/dist/esm/stringify.d.ts +3 -0
  240. package/node_modules/uuid/dist/esm/types.d.ts +21 -0
  241. package/node_modules/uuid/dist/esm/types.js +1 -0
  242. package/node_modules/uuid/dist/esm/uuid-bin.d.ts +1 -0
  243. package/node_modules/uuid/dist/esm/uuid-bin.js +70 -0
  244. package/node_modules/uuid/dist/esm/v1.d.ts +11 -0
  245. package/node_modules/uuid/dist/esm/v1ToV6.d.ts +2 -0
  246. package/node_modules/uuid/dist/esm/v3.d.ts +9 -0
  247. package/node_modules/uuid/dist/esm/v35.d.ts +7 -0
  248. package/node_modules/uuid/dist/esm/v4.d.ts +4 -0
  249. package/node_modules/uuid/dist/esm/v4.js +27 -0
  250. package/node_modules/uuid/dist/esm/v5.d.ts +9 -0
  251. package/node_modules/uuid/dist/esm/v6.d.ts +4 -0
  252. package/node_modules/uuid/dist/esm/v6ToV1.d.ts +2 -0
  253. package/node_modules/uuid/dist/esm/v7.d.ts +9 -0
  254. package/node_modules/uuid/dist/esm/validate.d.ts +2 -0
  255. package/node_modules/uuid/dist/esm/version.d.ts +2 -0
  256. package/node_modules/uuid/dist/esm-browser/index.d.ts +15 -0
  257. package/node_modules/uuid/dist/esm-browser/max.d.ts +2 -0
  258. package/node_modules/uuid/dist/esm-browser/md5.d.ts +2 -0
  259. package/node_modules/uuid/dist/esm-browser/native.d.ts +4 -0
  260. package/node_modules/uuid/dist/esm-browser/nil.d.ts +2 -0
  261. package/node_modules/uuid/dist/esm-browser/parse.d.ts +2 -0
  262. package/node_modules/uuid/dist/esm-browser/regex.d.ts +2 -0
  263. package/node_modules/uuid/dist/esm-browser/rng.d.ts +1 -0
  264. package/node_modules/uuid/dist/esm-browser/sha1.d.ts +2 -0
  265. package/node_modules/uuid/dist/esm-browser/stringify.d.ts +3 -0
  266. package/node_modules/uuid/dist/esm-browser/types.d.ts +21 -0
  267. package/node_modules/uuid/dist/esm-browser/uuid-bin.d.ts +1 -0
  268. package/node_modules/uuid/dist/esm-browser/uuid-bin.js +70 -0
  269. package/node_modules/uuid/dist/esm-browser/v1.d.ts +11 -0
  270. package/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +2 -0
  271. package/node_modules/uuid/dist/esm-browser/v3.d.ts +9 -0
  272. package/node_modules/uuid/dist/esm-browser/v35.d.ts +7 -0
  273. package/node_modules/uuid/dist/esm-browser/v4.d.ts +4 -0
  274. package/node_modules/uuid/dist/esm-browser/v4.js +27 -0
  275. package/node_modules/uuid/dist/esm-browser/v5.d.ts +9 -0
  276. package/node_modules/uuid/dist/esm-browser/v6.d.ts +4 -0
  277. package/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +2 -0
  278. package/node_modules/uuid/dist/esm-browser/v7.d.ts +9 -0
  279. package/node_modules/uuid/dist/esm-browser/validate.d.ts +2 -0
  280. package/node_modules/uuid/dist/esm-browser/version.d.ts +2 -0
  281. package/node_modules/uuid/package.json +41 -28
  282. package/package.json +12 -10
  283. package/tak-registration.js +7 -3
  284. package/node_modules/@turf/along/LICENSE +0 -20
  285. package/node_modules/@turf/along/README.md +0 -61
  286. package/node_modules/@turf/along/dist/cjs/index.cjs +0 -39
  287. package/node_modules/@turf/along/dist/cjs/index.cjs.map +0 -1
  288. package/node_modules/@turf/along/dist/cjs/index.d.cts +0 -26
  289. package/node_modules/@turf/along/dist/esm/index.d.ts +0 -26
  290. package/node_modules/@turf/along/dist/esm/index.js +0 -39
  291. package/node_modules/@turf/along/dist/esm/index.js.map +0 -1
  292. package/node_modules/@turf/along/package.json +0 -75
  293. package/node_modules/@turf/angle/LICENSE +0 -20
  294. package/node_modules/@turf/angle/README.md +0 -60
  295. package/node_modules/@turf/angle/dist/cjs/index.cjs +0 -41
  296. package/node_modules/@turf/angle/dist/cjs/index.cjs.map +0 -1
  297. package/node_modules/@turf/angle/dist/cjs/index.d.cts +0 -24
  298. package/node_modules/@turf/angle/dist/esm/index.d.ts +0 -24
  299. package/node_modules/@turf/angle/dist/esm/index.js +0 -41
  300. package/node_modules/@turf/angle/dist/esm/index.js.map +0 -1
  301. package/node_modules/@turf/angle/package.json +0 -79
  302. package/node_modules/@turf/area/LICENSE +0 -20
  303. package/node_modules/@turf/area/README.md +0 -55
  304. package/node_modules/@turf/area/dist/cjs/index.cjs +0 -66
  305. package/node_modules/@turf/area/dist/cjs/index.cjs.map +0 -1
  306. package/node_modules/@turf/area/dist/cjs/index.d.cts +0 -20
  307. package/node_modules/@turf/area/dist/esm/index.d.ts +0 -20
  308. package/node_modules/@turf/area/dist/esm/index.js +0 -66
  309. package/node_modules/@turf/area/dist/esm/index.js.map +0 -1
  310. package/node_modules/@turf/area/package.json +0 -72
  311. package/node_modules/@turf/bbox/LICENSE +0 -20
  312. package/node_modules/@turf/bbox/README.md +0 -56
  313. package/node_modules/@turf/bbox/dist/cjs/index.cjs +0 -29
  314. package/node_modules/@turf/bbox/dist/cjs/index.cjs.map +0 -1
  315. package/node_modules/@turf/bbox/dist/cjs/index.d.cts +0 -25
  316. package/node_modules/@turf/bbox/dist/esm/index.d.ts +0 -25
  317. package/node_modules/@turf/bbox/dist/esm/index.js +0 -29
  318. package/node_modules/@turf/bbox/dist/esm/index.js.map +0 -1
  319. package/node_modules/@turf/bbox/package.json +0 -72
  320. package/node_modules/@turf/bbox-clip/LICENSE +0 -20
  321. package/node_modules/@turf/bbox-clip/README.md +0 -62
  322. package/node_modules/@turf/bbox-clip/dist/cjs/index.cjs +0 -133
  323. package/node_modules/@turf/bbox-clip/dist/cjs/index.cjs.map +0 -1
  324. package/node_modules/@turf/bbox-clip/dist/cjs/index.d.cts +0 -23
  325. package/node_modules/@turf/bbox-clip/dist/esm/index.d.ts +0 -23
  326. package/node_modules/@turf/bbox-clip/dist/esm/index.js +0 -133
  327. package/node_modules/@turf/bbox-clip/dist/esm/index.js.map +0 -1
  328. package/node_modules/@turf/bbox-clip/package.json +0 -79
  329. package/node_modules/@turf/bbox-polygon/LICENSE +0 -20
  330. package/node_modules/@turf/bbox-polygon/README.md +0 -60
  331. package/node_modules/@turf/bbox-polygon/dist/cjs/index.cjs +0 -28
  332. package/node_modules/@turf/bbox-polygon/dist/cjs/index.cjs.map +0 -1
  333. package/node_modules/@turf/bbox-polygon/dist/cjs/index.d.cts +0 -26
  334. package/node_modules/@turf/bbox-polygon/dist/esm/index.d.ts +0 -26
  335. package/node_modules/@turf/bbox-polygon/dist/esm/index.js +0 -28
  336. package/node_modules/@turf/bbox-polygon/dist/esm/index.js.map +0 -1
  337. package/node_modules/@turf/bbox-polygon/package.json +0 -70
  338. package/node_modules/@turf/bearing/LICENSE +0 -20
  339. package/node_modules/@turf/bearing/README.md +0 -63
  340. package/node_modules/@turf/bearing/dist/cjs/index.cjs +0 -28
  341. package/node_modules/@turf/bearing/dist/cjs/index.cjs.map +0 -1
  342. package/node_modules/@turf/bearing/dist/cjs/index.d.cts +0 -29
  343. package/node_modules/@turf/bearing/dist/esm/index.d.ts +0 -29
  344. package/node_modules/@turf/bearing/dist/esm/index.js +0 -28
  345. package/node_modules/@turf/bearing/dist/esm/index.js.map +0 -1
  346. package/node_modules/@turf/bearing/package.json +0 -70
  347. package/node_modules/@turf/bezier-spline/LICENSE +0 -20
  348. package/node_modules/@turf/bezier-spline/README.md +0 -73
  349. package/node_modules/@turf/bezier-spline/dist/cjs/index.cjs +0 -165
  350. package/node_modules/@turf/bezier-spline/dist/cjs/index.cjs.map +0 -1
  351. package/node_modules/@turf/bezier-spline/dist/cjs/index.d.cts +0 -39
  352. package/node_modules/@turf/bezier-spline/dist/esm/index.d.ts +0 -39
  353. package/node_modules/@turf/bezier-spline/dist/esm/index.js +0 -165
  354. package/node_modules/@turf/bezier-spline/dist/esm/index.js.map +0 -1
  355. package/node_modules/@turf/bezier-spline/package.json +0 -73
  356. package/node_modules/@turf/boolean-clockwise/LICENSE +0 -20
  357. package/node_modules/@turf/boolean-clockwise/README.md +0 -55
  358. package/node_modules/@turf/boolean-clockwise/dist/cjs/index.cjs +0 -22
  359. package/node_modules/@turf/boolean-clockwise/dist/cjs/index.cjs.map +0 -1
  360. package/node_modules/@turf/boolean-clockwise/dist/cjs/index.d.cts +0 -20
  361. package/node_modules/@turf/boolean-clockwise/dist/esm/index.d.ts +0 -20
  362. package/node_modules/@turf/boolean-clockwise/dist/esm/index.js +0 -22
  363. package/node_modules/@turf/boolean-clockwise/dist/esm/index.js.map +0 -1
  364. package/node_modules/@turf/boolean-clockwise/package.json +0 -77
  365. package/node_modules/@turf/boolean-concave/LICENSE +0 -20
  366. package/node_modules/@turf/boolean-concave/README.md +0 -48
  367. package/node_modules/@turf/boolean-concave/dist/cjs/index.cjs +0 -29
  368. package/node_modules/@turf/boolean-concave/dist/cjs/index.cjs.map +0 -1
  369. package/node_modules/@turf/boolean-concave/dist/cjs/index.d.cts +0 -17
  370. package/node_modules/@turf/boolean-concave/dist/esm/index.d.ts +0 -17
  371. package/node_modules/@turf/boolean-concave/dist/esm/index.js +0 -29
  372. package/node_modules/@turf/boolean-concave/dist/esm/index.js.map +0 -1
  373. package/node_modules/@turf/boolean-concave/package.json +0 -76
  374. package/node_modules/@turf/boolean-contains/LICENSE +0 -20
  375. package/node_modules/@turf/boolean-contains/README.md +0 -58
  376. package/node_modules/@turf/boolean-contains/dist/cjs/index.cjs +0 -216
  377. package/node_modules/@turf/boolean-contains/dist/cjs/index.cjs.map +0 -1
  378. package/node_modules/@turf/boolean-contains/dist/cjs/index.d.cts +0 -50
  379. package/node_modules/@turf/boolean-contains/dist/esm/index.d.ts +0 -50
  380. package/node_modules/@turf/boolean-contains/dist/esm/index.js +0 -216
  381. package/node_modules/@turf/boolean-contains/dist/esm/index.js.map +0 -1
  382. package/node_modules/@turf/boolean-contains/package.json +0 -81
  383. package/node_modules/@turf/boolean-crosses/LICENSE +0 -20
  384. package/node_modules/@turf/boolean-crosses/README.md +0 -60
  385. package/node_modules/@turf/boolean-crosses/dist/cjs/index.cjs +0 -141
  386. package/node_modules/@turf/boolean-crosses/dist/cjs/index.cjs.map +0 -1
  387. package/node_modules/@turf/boolean-crosses/dist/cjs/index.d.cts +0 -24
  388. package/node_modules/@turf/boolean-crosses/dist/esm/index.d.ts +0 -24
  389. package/node_modules/@turf/boolean-crosses/dist/esm/index.js +0 -141
  390. package/node_modules/@turf/boolean-crosses/dist/esm/index.js.map +0 -1
  391. package/node_modules/@turf/boolean-crosses/package.json +0 -80
  392. package/node_modules/@turf/boolean-disjoint/LICENSE +0 -20
  393. package/node_modules/@turf/boolean-disjoint/README.md +0 -60
  394. package/node_modules/@turf/boolean-disjoint/dist/cjs/index.cjs +0 -143
  395. package/node_modules/@turf/boolean-disjoint/dist/cjs/index.cjs.map +0 -1
  396. package/node_modules/@turf/boolean-disjoint/dist/cjs/index.d.cts +0 -23
  397. package/node_modules/@turf/boolean-disjoint/dist/esm/index.d.ts +0 -23
  398. package/node_modules/@turf/boolean-disjoint/dist/esm/index.js +0 -143
  399. package/node_modules/@turf/boolean-disjoint/dist/esm/index.js.map +0 -1
  400. package/node_modules/@turf/boolean-disjoint/package.json +0 -79
  401. package/node_modules/@turf/boolean-equal/LICENSE +0 -20
  402. package/node_modules/@turf/boolean-equal/README.md +0 -68
  403. package/node_modules/@turf/boolean-equal/dist/cjs/index.cjs +0 -23
  404. package/node_modules/@turf/boolean-equal/dist/cjs/index.cjs.map +0 -1
  405. package/node_modules/@turf/boolean-equal/dist/cjs/index.d.cts +0 -27
  406. package/node_modules/@turf/boolean-equal/dist/esm/index.d.ts +0 -27
  407. package/node_modules/@turf/boolean-equal/dist/esm/index.js +0 -23
  408. package/node_modules/@turf/boolean-equal/dist/esm/index.js.map +0 -1
  409. package/node_modules/@turf/boolean-equal/package.json +0 -82
  410. package/node_modules/@turf/boolean-intersects/LICENSE +0 -20
  411. package/node_modules/@turf/boolean-intersects/README.md +0 -64
  412. package/node_modules/@turf/boolean-intersects/dist/cjs/index.cjs +0 -25
  413. package/node_modules/@turf/boolean-intersects/dist/cjs/index.cjs.map +0 -1
  414. package/node_modules/@turf/boolean-intersects/dist/cjs/index.d.cts +0 -32
  415. package/node_modules/@turf/boolean-intersects/dist/esm/index.d.ts +0 -32
  416. package/node_modules/@turf/boolean-intersects/dist/esm/index.js +0 -25
  417. package/node_modules/@turf/boolean-intersects/dist/esm/index.js.map +0 -1
  418. package/node_modules/@turf/boolean-intersects/package.json +0 -78
  419. package/node_modules/@turf/boolean-overlap/LICENSE +0 -20
  420. package/node_modules/@turf/boolean-overlap/README.md +0 -70
  421. package/node_modules/@turf/boolean-overlap/dist/cjs/index.cjs +0 -55
  422. package/node_modules/@turf/boolean-overlap/dist/cjs/index.cjs.map +0 -1
  423. package/node_modules/@turf/boolean-overlap/dist/cjs/index.d.cts +0 -26
  424. package/node_modules/@turf/boolean-overlap/dist/esm/index.d.ts +0 -26
  425. package/node_modules/@turf/boolean-overlap/dist/esm/index.js +0 -55
  426. package/node_modules/@turf/boolean-overlap/dist/esm/index.js.map +0 -1
  427. package/node_modules/@turf/boolean-overlap/package.json +0 -83
  428. package/node_modules/@turf/boolean-parallel/LICENSE +0 -20
  429. package/node_modules/@turf/boolean-parallel/README.md +0 -52
  430. package/node_modules/@turf/boolean-parallel/dist/cjs/index.cjs +0 -39
  431. package/node_modules/@turf/boolean-parallel/dist/cjs/index.cjs.map +0 -1
  432. package/node_modules/@turf/boolean-parallel/dist/cjs/index.d.cts +0 -19
  433. package/node_modules/@turf/boolean-parallel/dist/esm/index.d.ts +0 -19
  434. package/node_modules/@turf/boolean-parallel/dist/esm/index.js +0 -39
  435. package/node_modules/@turf/boolean-parallel/dist/esm/index.js.map +0 -1
  436. package/node_modules/@turf/boolean-parallel/package.json +0 -77
  437. package/node_modules/@turf/boolean-point-in-polygon/LICENSE +0 -20
  438. package/node_modules/@turf/boolean-point-in-polygon/README.md +0 -69
  439. package/node_modules/@turf/boolean-point-in-polygon/dist/cjs/index.cjs +0 -38
  440. package/node_modules/@turf/boolean-point-in-polygon/dist/cjs/index.cjs.map +0 -1
  441. package/node_modules/@turf/boolean-point-in-polygon/dist/cjs/index.d.cts +0 -32
  442. package/node_modules/@turf/boolean-point-in-polygon/dist/esm/index.d.ts +0 -32
  443. package/node_modules/@turf/boolean-point-in-polygon/dist/esm/index.js +0 -38
  444. package/node_modules/@turf/boolean-point-in-polygon/dist/esm/index.js.map +0 -1
  445. package/node_modules/@turf/boolean-point-in-polygon/package.json +0 -73
  446. package/node_modules/@turf/boolean-point-on-line/LICENSE +0 -20
  447. package/node_modules/@turf/boolean-point-on-line/README.md +0 -60
  448. package/node_modules/@turf/boolean-point-on-line/dist/cjs/index.cjs +0 -88
  449. package/node_modules/@turf/boolean-point-on-line/dist/cjs/index.cjs.map +0 -1
  450. package/node_modules/@turf/boolean-point-on-line/dist/cjs/index.d.cts +0 -26
  451. package/node_modules/@turf/boolean-point-on-line/dist/esm/index.d.ts +0 -26
  452. package/node_modules/@turf/boolean-point-on-line/dist/esm/index.js +0 -88
  453. package/node_modules/@turf/boolean-point-on-line/dist/esm/index.js.map +0 -1
  454. package/node_modules/@turf/boolean-point-on-line/package.json +0 -74
  455. package/node_modules/@turf/boolean-touches/LICENSE +0 -20
  456. package/node_modules/@turf/boolean-touches/README.md +0 -51
  457. package/node_modules/@turf/boolean-touches/dist/cjs/index.cjs +0 -647
  458. package/node_modules/@turf/boolean-touches/dist/cjs/index.cjs.map +0 -1
  459. package/node_modules/@turf/boolean-touches/dist/cjs/index.d.cts +0 -20
  460. package/node_modules/@turf/boolean-touches/dist/esm/index.d.ts +0 -20
  461. package/node_modules/@turf/boolean-touches/dist/esm/index.js +0 -647
  462. package/node_modules/@turf/boolean-touches/dist/esm/index.js.map +0 -1
  463. package/node_modules/@turf/boolean-touches/package.json +0 -82
  464. package/node_modules/@turf/boolean-valid/LICENSE +0 -20
  465. package/node_modules/@turf/boolean-valid/README.md +0 -48
  466. package/node_modules/@turf/boolean-valid/dist/cjs/index.cjs +0 -93
  467. package/node_modules/@turf/boolean-valid/dist/cjs/index.cjs.map +0 -1
  468. package/node_modules/@turf/boolean-valid/dist/cjs/index.d.cts +0 -17
  469. package/node_modules/@turf/boolean-valid/dist/esm/index.d.ts +0 -17
  470. package/node_modules/@turf/boolean-valid/dist/esm/index.js +0 -93
  471. package/node_modules/@turf/boolean-valid/dist/esm/index.js.map +0 -1
  472. package/node_modules/@turf/boolean-valid/package.json +0 -86
  473. package/node_modules/@turf/boolean-within/LICENSE +0 -20
  474. package/node_modules/@turf/boolean-within/README.md +0 -53
  475. package/node_modules/@turf/boolean-within/dist/cjs/index.cjs +0 -186
  476. package/node_modules/@turf/boolean-within/dist/cjs/index.cjs.map +0 -1
  477. package/node_modules/@turf/boolean-within/dist/cjs/index.d.cts +0 -22
  478. package/node_modules/@turf/boolean-within/dist/esm/index.d.ts +0 -22
  479. package/node_modules/@turf/boolean-within/dist/esm/index.js +0 -186
  480. package/node_modules/@turf/boolean-within/dist/esm/index.js.map +0 -1
  481. package/node_modules/@turf/boolean-within/package.json +0 -83
  482. package/node_modules/@turf/buffer/LICENSE +0 -20
  483. package/node_modules/@turf/buffer/README.md +0 -72
  484. package/node_modules/@turf/buffer/dist/cjs/index.cjs +0 -99
  485. package/node_modules/@turf/buffer/dist/cjs/index.cjs.map +0 -1
  486. package/node_modules/@turf/buffer/dist/cjs/index.d.cts +0 -30
  487. package/node_modules/@turf/buffer/dist/esm/index.d.ts +0 -30
  488. package/node_modules/@turf/buffer/dist/esm/index.js +0 -99
  489. package/node_modules/@turf/buffer/dist/esm/index.js.map +0 -1
  490. package/node_modules/@turf/buffer/package.json +0 -85
  491. package/node_modules/@turf/center/LICENSE +0 -20
  492. package/node_modules/@turf/center/README.md +0 -65
  493. package/node_modules/@turf/center/dist/cjs/index.cjs +0 -15
  494. package/node_modules/@turf/center/dist/cjs/index.cjs.map +0 -1
  495. package/node_modules/@turf/center/dist/cjs/index.d.cts +0 -34
  496. package/node_modules/@turf/center/dist/esm/index.d.ts +0 -34
  497. package/node_modules/@turf/center/dist/esm/index.js +0 -15
  498. package/node_modules/@turf/center/dist/esm/index.js.map +0 -1
  499. package/node_modules/@turf/center/package.json +0 -78
  500. package/node_modules/@turf/center-mean/LICENSE +0 -20
  501. package/node_modules/@turf/center-mean/README.md +0 -69
  502. package/node_modules/@turf/center-mean/dist/cjs/index.cjs +0 -31
  503. package/node_modules/@turf/center-mean/dist/cjs/index.cjs.map +0 -1
  504. package/node_modules/@turf/center-mean/dist/cjs/index.d.cts +0 -38
  505. package/node_modules/@turf/center-mean/dist/esm/index.d.ts +0 -38
  506. package/node_modules/@turf/center-mean/dist/esm/index.js +0 -31
  507. package/node_modules/@turf/center-mean/dist/esm/index.js.map +0 -1
  508. package/node_modules/@turf/center-mean/package.json +0 -83
  509. package/node_modules/@turf/center-median/LICENSE +0 -20
  510. package/node_modules/@turf/center-median/README.md +0 -97
  511. package/node_modules/@turf/center-median/dist/cjs/index.cjs +0 -80
  512. package/node_modules/@turf/center-median/dist/cjs/index.cjs.map +0 -1
  513. package/node_modules/@turf/center-median/dist/cjs/index.d.cts +0 -64
  514. package/node_modules/@turf/center-median/dist/esm/index.d.ts +0 -64
  515. package/node_modules/@turf/center-median/dist/esm/index.js +0 -80
  516. package/node_modules/@turf/center-median/dist/esm/index.js.map +0 -1
  517. package/node_modules/@turf/center-median/package.json +0 -80
  518. package/node_modules/@turf/center-of-mass/LICENSE +0 -20
  519. package/node_modules/@turf/center-of-mass/README.md +0 -61
  520. package/node_modules/@turf/center-of-mass/dist/cjs/index.cjs +0 -58
  521. package/node_modules/@turf/center-of-mass/dist/cjs/index.cjs.map +0 -1
  522. package/node_modules/@turf/center-of-mass/dist/cjs/index.d.cts +0 -23
  523. package/node_modules/@turf/center-of-mass/dist/esm/index.d.ts +0 -23
  524. package/node_modules/@turf/center-of-mass/dist/esm/index.js +0 -58
  525. package/node_modules/@turf/center-of-mass/dist/esm/index.js.map +0 -1
  526. package/node_modules/@turf/center-of-mass/package.json +0 -75
  527. package/node_modules/@turf/circle/LICENSE +0 -20
  528. package/node_modules/@turf/circle/README.md +0 -65
  529. package/node_modules/@turf/circle/dist/cjs/index.cjs +0 -21
  530. package/node_modules/@turf/circle/dist/cjs/index.cjs.map +0 -1
  531. package/node_modules/@turf/circle/dist/cjs/index.d.cts +0 -30
  532. package/node_modules/@turf/circle/dist/esm/index.d.ts +0 -30
  533. package/node_modules/@turf/circle/dist/esm/index.js +0 -21
  534. package/node_modules/@turf/circle/dist/esm/index.js.map +0 -1
  535. package/node_modules/@turf/circle/package.json +0 -77
  536. package/node_modules/@turf/clean-coords/LICENSE +0 -20
  537. package/node_modules/@turf/clean-coords/README.md +0 -57
  538. package/node_modules/@turf/clean-coords/dist/cjs/index.cjs +0 -106
  539. package/node_modules/@turf/clean-coords/dist/cjs/index.cjs.map +0 -1
  540. package/node_modules/@turf/clean-coords/dist/cjs/index.d.cts +0 -23
  541. package/node_modules/@turf/clean-coords/dist/esm/index.d.ts +0 -23
  542. package/node_modules/@turf/clean-coords/dist/esm/index.js +0 -106
  543. package/node_modules/@turf/clean-coords/dist/esm/index.js.map +0 -1
  544. package/node_modules/@turf/clean-coords/package.json +0 -79
  545. package/node_modules/@turf/clone/LICENSE +0 -20
  546. package/node_modules/@turf/clone/README.md +0 -44
  547. package/node_modules/@turf/clone/dist/cjs/index.cjs +0 -111
  548. package/node_modules/@turf/clone/dist/cjs/index.cjs.map +0 -1
  549. package/node_modules/@turf/clone/dist/cjs/index.d.cts +0 -28
  550. package/node_modules/@turf/clone/dist/esm/index.d.ts +0 -28
  551. package/node_modules/@turf/clone/dist/esm/index.js +0 -111
  552. package/node_modules/@turf/clone/dist/esm/index.js.map +0 -1
  553. package/node_modules/@turf/clone/package.json +0 -72
  554. package/node_modules/@turf/clusters/LICENSE +0 -20
  555. package/node_modules/@turf/clusters/README.md +0 -209
  556. package/node_modules/@turf/clusters/dist/cjs/index.cjs +0 -108
  557. package/node_modules/@turf/clusters/dist/cjs/index.cjs.map +0 -1
  558. package/node_modules/@turf/clusters/dist/cjs/index.d.cts +0 -201
  559. package/node_modules/@turf/clusters/dist/esm/index.d.ts +0 -201
  560. package/node_modules/@turf/clusters/dist/esm/index.js +0 -108
  561. package/node_modules/@turf/clusters/dist/esm/index.js.map +0 -1
  562. package/node_modules/@turf/clusters/package.json +0 -75
  563. package/node_modules/@turf/clusters-dbscan/LICENSE +0 -20
  564. package/node_modules/@turf/clusters-dbscan/README.md +0 -90
  565. package/node_modules/@turf/clusters-dbscan/dist/cjs/index.cjs +0 -105
  566. package/node_modules/@turf/clusters-dbscan/dist/cjs/index.cjs.map +0 -1
  567. package/node_modules/@turf/clusters-dbscan/dist/cjs/index.d.cts +0 -51
  568. package/node_modules/@turf/clusters-dbscan/dist/esm/index.d.ts +0 -51
  569. package/node_modules/@turf/clusters-dbscan/dist/esm/index.js +0 -105
  570. package/node_modules/@turf/clusters-dbscan/dist/esm/index.js.map +0 -1
  571. package/node_modules/@turf/clusters-dbscan/package.json +0 -89
  572. package/node_modules/@turf/clusters-kmeans/LICENSE +0 -20
  573. package/node_modules/@turf/clusters-kmeans/README.md +0 -63
  574. package/node_modules/@turf/clusters-kmeans/dist/cjs/index.cjs +0 -29
  575. package/node_modules/@turf/clusters-kmeans/dist/cjs/index.cjs.map +0 -1
  576. package/node_modules/@turf/clusters-kmeans/dist/cjs/index.d.cts +0 -33
  577. package/node_modules/@turf/clusters-kmeans/dist/esm/index.d.ts +0 -33
  578. package/node_modules/@turf/clusters-kmeans/dist/esm/index.js +0 -29
  579. package/node_modules/@turf/clusters-kmeans/dist/esm/index.js.map +0 -1
  580. package/node_modules/@turf/clusters-kmeans/package.json +0 -89
  581. package/node_modules/@turf/collect/LICENSE +0 -20
  582. package/node_modules/@turf/collect/README.md +0 -68
  583. package/node_modules/@turf/collect/dist/cjs/index.cjs +0 -44
  584. package/node_modules/@turf/collect/dist/cjs/index.cjs.map +0 -1
  585. package/node_modules/@turf/collect/dist/cjs/index.d.cts +0 -35
  586. package/node_modules/@turf/collect/dist/esm/index.d.ts +0 -35
  587. package/node_modules/@turf/collect/dist/esm/index.js +0 -44
  588. package/node_modules/@turf/collect/dist/esm/index.js.map +0 -1
  589. package/node_modules/@turf/collect/package.json +0 -78
  590. package/node_modules/@turf/combine/LICENSE +0 -20
  591. package/node_modules/@turf/combine/README.md +0 -62
  592. package/node_modules/@turf/combine/dist/cjs/index.cjs +0 -67
  593. package/node_modules/@turf/combine/dist/cjs/index.cjs.map +0 -1
  594. package/node_modules/@turf/combine/dist/cjs/index.d.cts +0 -25
  595. package/node_modules/@turf/combine/dist/esm/index.d.ts +0 -25
  596. package/node_modules/@turf/combine/dist/esm/index.js +0 -67
  597. package/node_modules/@turf/combine/dist/esm/index.js.map +0 -1
  598. package/node_modules/@turf/combine/package.json +0 -71
  599. package/node_modules/@turf/concave/LICENSE +0 -20
  600. package/node_modules/@turf/concave/README.md +0 -76
  601. package/node_modules/@turf/concave/dist/cjs/index.cjs +0 -198
  602. package/node_modules/@turf/concave/dist/cjs/index.cjs.map +0 -1
  603. package/node_modules/@turf/concave/dist/cjs/index.d.cts +0 -36
  604. package/node_modules/@turf/concave/dist/esm/index.d.ts +0 -36
  605. package/node_modules/@turf/concave/dist/esm/index.js +0 -198
  606. package/node_modules/@turf/concave/dist/esm/index.js.map +0 -1
  607. package/node_modules/@turf/concave/package.json +0 -91
  608. package/node_modules/@turf/convex/LICENSE +0 -20
  609. package/node_modules/@turf/convex/README.md +0 -75
  610. package/node_modules/@turf/convex/dist/cjs/index.cjs +0 -25
  611. package/node_modules/@turf/convex/dist/cjs/index.cjs.map +0 -1
  612. package/node_modules/@turf/convex/dist/cjs/index.d.cts +0 -37
  613. package/node_modules/@turf/convex/dist/esm/index.d.ts +0 -37
  614. package/node_modules/@turf/convex/dist/esm/index.js +0 -25
  615. package/node_modules/@turf/convex/dist/esm/index.js.map +0 -1
  616. package/node_modules/@turf/convex/package.json +0 -73
  617. package/node_modules/@turf/destination/LICENSE +0 -20
  618. package/node_modules/@turf/destination/README.md +0 -71
  619. package/node_modules/@turf/destination/dist/cjs/index.cjs +0 -34
  620. package/node_modules/@turf/destination/dist/cjs/index.cjs.map +0 -1
  621. package/node_modules/@turf/destination/dist/cjs/index.d.cts +0 -35
  622. package/node_modules/@turf/destination/dist/esm/index.d.ts +0 -35
  623. package/node_modules/@turf/destination/dist/esm/index.js +0 -34
  624. package/node_modules/@turf/destination/dist/esm/index.js.map +0 -1
  625. package/node_modules/@turf/destination/package.json +0 -79
  626. package/node_modules/@turf/difference/LICENSE +0 -20
  627. package/node_modules/@turf/difference/README.md +0 -71
  628. package/node_modules/@turf/difference/dist/cjs/index.cjs +0 -24
  629. package/node_modules/@turf/difference/dist/cjs/index.cjs.map +0 -1
  630. package/node_modules/@turf/difference/dist/cjs/index.d.cts +0 -38
  631. package/node_modules/@turf/difference/dist/esm/index.d.ts +0 -38
  632. package/node_modules/@turf/difference/dist/esm/index.js +0 -24
  633. package/node_modules/@turf/difference/dist/esm/index.js.map +0 -1
  634. package/node_modules/@turf/difference/package.json +0 -72
  635. package/node_modules/@turf/dissolve/LICENSE +0 -20
  636. package/node_modules/@turf/dissolve/README.md +0 -63
  637. package/node_modules/@turf/dissolve/dist/cjs/index.cjs +0 -62
  638. package/node_modules/@turf/dissolve/dist/cjs/index.cjs.map +0 -1
  639. package/node_modules/@turf/dissolve/dist/cjs/index.d.cts +0 -28
  640. package/node_modules/@turf/dissolve/dist/esm/index.d.ts +0 -28
  641. package/node_modules/@turf/dissolve/dist/esm/index.js +0 -62
  642. package/node_modules/@turf/dissolve/dist/esm/index.js.map +0 -1
  643. package/node_modules/@turf/dissolve/package.json +0 -76
  644. package/node_modules/@turf/distance/LICENSE +0 -20
  645. package/node_modules/@turf/distance/README.md +0 -63
  646. package/node_modules/@turf/distance/dist/cjs/index.cjs +0 -22
  647. package/node_modules/@turf/distance/dist/cjs/index.cjs.map +0 -1
  648. package/node_modules/@turf/distance/dist/cjs/index.d.cts +0 -29
  649. package/node_modules/@turf/distance/dist/esm/index.d.ts +0 -29
  650. package/node_modules/@turf/distance/dist/esm/index.js +0 -22
  651. package/node_modules/@turf/distance/dist/esm/index.js.map +0 -1
  652. package/node_modules/@turf/distance/package.json +0 -72
  653. package/node_modules/@turf/distance-weight/LICENSE +0 -20
  654. package/node_modules/@turf/distance-weight/README.md +0 -76
  655. package/node_modules/@turf/distance-weight/dist/cjs/index.cjs +0 -80
  656. package/node_modules/@turf/distance-weight/dist/cjs/index.cjs.map +0 -1
  657. package/node_modules/@turf/distance-weight/dist/cjs/index.d.cts +0 -42
  658. package/node_modules/@turf/distance-weight/dist/esm/index.d.ts +0 -42
  659. package/node_modules/@turf/distance-weight/dist/esm/index.js +0 -80
  660. package/node_modules/@turf/distance-weight/dist/esm/index.js.map +0 -1
  661. package/node_modules/@turf/distance-weight/package.json +0 -75
  662. package/node_modules/@turf/ellipse/LICENSE +0 -20
  663. package/node_modules/@turf/ellipse/README.md +0 -68
  664. package/node_modules/@turf/ellipse/dist/cjs/index.cjs +0 -92
  665. package/node_modules/@turf/ellipse/dist/cjs/index.cjs.map +0 -1
  666. package/node_modules/@turf/ellipse/dist/cjs/index.d.cts +0 -34
  667. package/node_modules/@turf/ellipse/dist/esm/index.d.ts +0 -34
  668. package/node_modules/@turf/ellipse/dist/esm/index.js +0 -92
  669. package/node_modules/@turf/ellipse/dist/esm/index.js.map +0 -1
  670. package/node_modules/@turf/ellipse/package.json +0 -84
  671. package/node_modules/@turf/envelope/LICENSE +0 -20
  672. package/node_modules/@turf/envelope/README.md +0 -54
  673. package/node_modules/@turf/envelope/dist/cjs/index.cjs +0 -12
  674. package/node_modules/@turf/envelope/dist/cjs/index.cjs.map +0 -1
  675. package/node_modules/@turf/envelope/dist/cjs/index.d.cts +0 -24
  676. package/node_modules/@turf/envelope/dist/esm/index.d.ts +0 -24
  677. package/node_modules/@turf/envelope/dist/esm/index.js +0 -12
  678. package/node_modules/@turf/envelope/dist/esm/index.js.map +0 -1
  679. package/node_modules/@turf/envelope/package.json +0 -73
  680. package/node_modules/@turf/explode/LICENSE +0 -20
  681. package/node_modules/@turf/explode/README.md +0 -54
  682. package/node_modules/@turf/explode/dist/cjs/index.cjs +0 -28
  683. package/node_modules/@turf/explode/dist/cjs/index.cjs.map +0 -1
  684. package/node_modules/@turf/explode/dist/cjs/index.d.cts +0 -21
  685. package/node_modules/@turf/explode/dist/esm/index.d.ts +0 -21
  686. package/node_modules/@turf/explode/dist/esm/index.js +0 -28
  687. package/node_modules/@turf/explode/dist/esm/index.js.map +0 -1
  688. package/node_modules/@turf/explode/package.json +0 -72
  689. package/node_modules/@turf/flatten/LICENSE +0 -20
  690. package/node_modules/@turf/flatten/README.md +0 -54
  691. package/node_modules/@turf/flatten/dist/cjs/index.cjs +0 -17
  692. package/node_modules/@turf/flatten/dist/cjs/index.cjs.map +0 -1
  693. package/node_modules/@turf/flatten/dist/cjs/index.d.cts +0 -27
  694. package/node_modules/@turf/flatten/dist/esm/index.d.ts +0 -27
  695. package/node_modules/@turf/flatten/dist/esm/index.js +0 -17
  696. package/node_modules/@turf/flatten/dist/esm/index.js.map +0 -1
  697. package/node_modules/@turf/flatten/package.json +0 -78
  698. package/node_modules/@turf/flip/LICENSE +0 -20
  699. package/node_modules/@turf/flip/README.md +0 -53
  700. package/node_modules/@turf/flip/dist/cjs/index.cjs +0 -25
  701. package/node_modules/@turf/flip/dist/cjs/index.cjs.map +0 -1
  702. package/node_modules/@turf/flip/dist/cjs/index.d.cts +0 -23
  703. package/node_modules/@turf/flip/dist/esm/index.d.ts +0 -23
  704. package/node_modules/@turf/flip/dist/esm/index.js +0 -25
  705. package/node_modules/@turf/flip/dist/esm/index.js.map +0 -1
  706. package/node_modules/@turf/flip/package.json +0 -74
  707. package/node_modules/@turf/geojson-rbush/LICENSE +0 -20
  708. package/node_modules/@turf/geojson-rbush/README.md +0 -397
  709. package/node_modules/@turf/geojson-rbush/dist/cjs/index.cjs +0 -78
  710. package/node_modules/@turf/geojson-rbush/dist/cjs/index.cjs.map +0 -1
  711. package/node_modules/@turf/geojson-rbush/dist/cjs/index.d.cts +0 -26
  712. package/node_modules/@turf/geojson-rbush/dist/esm/index.d.ts +0 -26
  713. package/node_modules/@turf/geojson-rbush/dist/esm/index.js +0 -78
  714. package/node_modules/@turf/geojson-rbush/dist/esm/index.js.map +0 -1
  715. package/node_modules/@turf/geojson-rbush/package.json +0 -82
  716. package/node_modules/@turf/great-circle/LICENSE +0 -20
  717. package/node_modules/@turf/great-circle/README.md +0 -67
  718. package/node_modules/@turf/great-circle/dist/cjs/index.cjs +0 -273
  719. package/node_modules/@turf/great-circle/dist/cjs/index.cjs.map +0 -1
  720. package/node_modules/@turf/great-circle/dist/cjs/index.d.cts +0 -17
  721. package/node_modules/@turf/great-circle/dist/esm/index.d.ts +0 -17
  722. package/node_modules/@turf/great-circle/dist/esm/index.js +0 -273
  723. package/node_modules/@turf/great-circle/dist/esm/index.js.map +0 -1
  724. package/node_modules/@turf/great-circle/package.json +0 -78
  725. package/node_modules/@turf/hex-grid/LICENSE +0 -20
  726. package/node_modules/@turf/hex-grid/README.md +0 -76
  727. package/node_modules/@turf/hex-grid/dist/cjs/index.cjs +0 -114
  728. package/node_modules/@turf/hex-grid/dist/cjs/index.cjs.map +0 -1
  729. package/node_modules/@turf/hex-grid/dist/cjs/index.d.cts +0 -36
  730. package/node_modules/@turf/hex-grid/dist/esm/index.d.ts +0 -36
  731. package/node_modules/@turf/hex-grid/dist/esm/index.js +0 -114
  732. package/node_modules/@turf/hex-grid/dist/esm/index.js.map +0 -1
  733. package/node_modules/@turf/hex-grid/package.json +0 -87
  734. package/node_modules/@turf/interpolate/LICENSE +0 -20
  735. package/node_modules/@turf/interpolate/README.md +0 -75
  736. package/node_modules/@turf/interpolate/dist/cjs/index.cjs +0 -78
  737. package/node_modules/@turf/interpolate/dist/cjs/index.cjs.map +0 -1
  738. package/node_modules/@turf/interpolate/dist/cjs/index.d.cts +0 -30
  739. package/node_modules/@turf/interpolate/dist/esm/index.d.ts +0 -30
  740. package/node_modules/@turf/interpolate/dist/esm/index.js +0 -78
  741. package/node_modules/@turf/interpolate/dist/esm/index.js.map +0 -1
  742. package/node_modules/@turf/interpolate/package.json +0 -84
  743. package/node_modules/@turf/intersect/LICENSE +0 -20
  744. package/node_modules/@turf/intersect/README.md +0 -76
  745. package/node_modules/@turf/intersect/dist/cjs/index.cjs +0 -24
  746. package/node_modules/@turf/intersect/dist/cjs/index.cjs.map +0 -1
  747. package/node_modules/@turf/intersect/dist/cjs/index.d.cts +0 -42
  748. package/node_modules/@turf/intersect/dist/esm/index.d.ts +0 -42
  749. package/node_modules/@turf/intersect/dist/esm/index.js +0 -24
  750. package/node_modules/@turf/intersect/dist/esm/index.js.map +0 -1
  751. package/node_modules/@turf/intersect/package.json +0 -74
  752. package/node_modules/@turf/invariant/LICENSE +0 -20
  753. package/node_modules/@turf/invariant/README.md +0 -195
  754. package/node_modules/@turf/invariant/dist/cjs/index.cjs +0 -127
  755. package/node_modules/@turf/invariant/dist/cjs/index.cjs.map +0 -1
  756. package/node_modules/@turf/invariant/dist/cjs/index.d.cts +0 -108
  757. package/node_modules/@turf/invariant/dist/esm/index.d.ts +0 -108
  758. package/node_modules/@turf/invariant/dist/esm/index.js +0 -127
  759. package/node_modules/@turf/invariant/dist/esm/index.js.map +0 -1
  760. package/node_modules/@turf/invariant/package.json +0 -73
  761. package/node_modules/@turf/isobands/LICENSE +0 -20
  762. package/node_modules/@turf/isobands/README.md +0 -54
  763. package/node_modules/@turf/isobands/dist/cjs/index.cjs +0 -513
  764. package/node_modules/@turf/isobands/dist/cjs/index.cjs.map +0 -1
  765. package/node_modules/@turf/isobands/dist/cjs/index.d.cts +0 -22
  766. package/node_modules/@turf/isobands/dist/esm/index.d.ts +0 -22
  767. package/node_modules/@turf/isobands/dist/esm/index.js +0 -513
  768. package/node_modules/@turf/isobands/dist/esm/index.js.map +0 -1
  769. package/node_modules/@turf/isobands/package.json +0 -89
  770. package/node_modules/@turf/isolines/LICENSE +0 -20
  771. package/node_modules/@turf/isolines/README.md +0 -76
  772. package/node_modules/@turf/isolines/dist/cjs/index.cjs +0 -320
  773. package/node_modules/@turf/isolines/dist/cjs/index.cjs.map +0 -1
  774. package/node_modules/@turf/isolines/dist/cjs/index.d.cts +0 -38
  775. package/node_modules/@turf/isolines/dist/esm/index.d.ts +0 -38
  776. package/node_modules/@turf/isolines/dist/esm/index.js +0 -320
  777. package/node_modules/@turf/isolines/dist/esm/index.js.map +0 -1
  778. package/node_modules/@turf/isolines/package.json +0 -86
  779. package/node_modules/@turf/jsts/README.md +0 -19
  780. package/node_modules/@turf/jsts/dist/jsts.min.js +0 -2
  781. package/node_modules/@turf/jsts/dist/jsts.min.js.map +0 -1
  782. package/node_modules/@turf/jsts/package.json +0 -45
  783. package/node_modules/@turf/kinks/LICENSE +0 -20
  784. package/node_modules/@turf/kinks/README.md +0 -66
  785. package/node_modules/@turf/kinks/dist/cjs/index.cjs +0 -108
  786. package/node_modules/@turf/kinks/dist/cjs/index.cjs.map +0 -1
  787. package/node_modules/@turf/kinks/dist/cjs/index.d.cts +0 -27
  788. package/node_modules/@turf/kinks/dist/esm/index.d.ts +0 -27
  789. package/node_modules/@turf/kinks/dist/esm/index.js +0 -108
  790. package/node_modules/@turf/kinks/dist/esm/index.js.map +0 -1
  791. package/node_modules/@turf/kinks/package.json +0 -72
  792. package/node_modules/@turf/length/LICENSE +0 -20
  793. package/node_modules/@turf/length/README.md +0 -63
  794. package/node_modules/@turf/length/dist/cjs/index.cjs +0 -19
  795. package/node_modules/@turf/length/dist/cjs/index.cjs.map +0 -1
  796. package/node_modules/@turf/length/dist/cjs/index.d.cts +0 -24
  797. package/node_modules/@turf/length/dist/esm/index.d.ts +0 -24
  798. package/node_modules/@turf/length/dist/esm/index.js +0 -19
  799. package/node_modules/@turf/length/dist/esm/index.js.map +0 -1
  800. package/node_modules/@turf/length/package.json +0 -79
  801. package/node_modules/@turf/line-arc/LICENSE +0 -20
  802. package/node_modules/@turf/line-arc/README.md +0 -67
  803. package/node_modules/@turf/line-arc/dist/cjs/index.cjs +0 -43
  804. package/node_modules/@turf/line-arc/dist/cjs/index.cjs.map +0 -1
  805. package/node_modules/@turf/line-arc/dist/cjs/index.d.cts +0 -33
  806. package/node_modules/@turf/line-arc/dist/esm/index.d.ts +0 -33
  807. package/node_modules/@turf/line-arc/dist/esm/index.js +0 -43
  808. package/node_modules/@turf/line-arc/dist/esm/index.js.map +0 -1
  809. package/node_modules/@turf/line-arc/package.json +0 -73
  810. package/node_modules/@turf/line-chunk/LICENSE +0 -20
  811. package/node_modules/@turf/line-chunk/README.md +0 -68
  812. package/node_modules/@turf/line-chunk/dist/cjs/index.cjs +0 -46
  813. package/node_modules/@turf/line-chunk/dist/cjs/index.cjs.map +0 -1
  814. package/node_modules/@turf/line-chunk/dist/cjs/index.d.cts +0 -21
  815. package/node_modules/@turf/line-chunk/dist/esm/index.d.ts +0 -21
  816. package/node_modules/@turf/line-chunk/dist/esm/index.js +0 -46
  817. package/node_modules/@turf/line-chunk/dist/esm/index.js.map +0 -1
  818. package/node_modules/@turf/line-chunk/package.json +0 -81
  819. package/node_modules/@turf/line-intersect/LICENSE +0 -20
  820. package/node_modules/@turf/line-intersect/README.md +0 -59
  821. package/node_modules/@turf/line-intersect/dist/cjs/index.cjs +0 -48
  822. package/node_modules/@turf/line-intersect/dist/cjs/index.cjs.map +0 -1
  823. package/node_modules/@turf/line-intersect/dist/cjs/index.d.cts +0 -26
  824. package/node_modules/@turf/line-intersect/dist/esm/index.d.ts +0 -26
  825. package/node_modules/@turf/line-intersect/dist/esm/index.js +0 -48
  826. package/node_modules/@turf/line-intersect/dist/esm/index.js.map +0 -1
  827. package/node_modules/@turf/line-intersect/package.json +0 -78
  828. package/node_modules/@turf/line-offset/LICENSE +0 -20
  829. package/node_modules/@turf/line-offset/README.md +0 -63
  830. package/node_modules/@turf/line-offset/dist/cjs/index.cjs +0 -128
  831. package/node_modules/@turf/line-offset/dist/cjs/index.cjs.map +0 -1
  832. package/node_modules/@turf/line-offset/dist/cjs/index.d.cts +0 -15
  833. package/node_modules/@turf/line-offset/dist/esm/index.d.ts +0 -15
  834. package/node_modules/@turf/line-offset/dist/esm/index.js +0 -128
  835. package/node_modules/@turf/line-offset/dist/esm/index.js.map +0 -1
  836. package/node_modules/@turf/line-offset/package.json +0 -78
  837. package/node_modules/@turf/line-overlap/LICENSE +0 -20
  838. package/node_modules/@turf/line-overlap/README.md +0 -67
  839. package/node_modules/@turf/line-overlap/dist/cjs/index.cjs +0 -81
  840. package/node_modules/@turf/line-overlap/dist/cjs/index.cjs.map +0 -1
  841. package/node_modules/@turf/line-overlap/dist/cjs/index.d.cts +0 -25
  842. package/node_modules/@turf/line-overlap/dist/esm/index.d.ts +0 -25
  843. package/node_modules/@turf/line-overlap/dist/esm/index.js +0 -81
  844. package/node_modules/@turf/line-overlap/dist/esm/index.js.map +0 -1
  845. package/node_modules/@turf/line-overlap/package.json +0 -83
  846. package/node_modules/@turf/line-segment/LICENSE +0 -20
  847. package/node_modules/@turf/line-segment/README.md +0 -52
  848. package/node_modules/@turf/line-segment/dist/cjs/index.cjs +0 -61
  849. package/node_modules/@turf/line-segment/dist/cjs/index.cjs.map +0 -1
  850. package/node_modules/@turf/line-segment/dist/cjs/index.d.cts +0 -19
  851. package/node_modules/@turf/line-segment/dist/esm/index.d.ts +0 -19
  852. package/node_modules/@turf/line-segment/dist/esm/index.js +0 -61
  853. package/node_modules/@turf/line-segment/dist/esm/index.js.map +0 -1
  854. package/node_modules/@turf/line-segment/package.json +0 -72
  855. package/node_modules/@turf/line-slice/LICENSE +0 -20
  856. package/node_modules/@turf/line-slice/README.md +0 -67
  857. package/node_modules/@turf/line-slice/dist/cjs/index.cjs +0 -29
  858. package/node_modules/@turf/line-slice/dist/cjs/index.cjs.map +0 -1
  859. package/node_modules/@turf/line-slice/dist/cjs/index.d.cts +0 -13
  860. package/node_modules/@turf/line-slice/dist/esm/index.d.ts +0 -13
  861. package/node_modules/@turf/line-slice/dist/esm/index.js +0 -29
  862. package/node_modules/@turf/line-slice/dist/esm/index.js.map +0 -1
  863. package/node_modules/@turf/line-slice/package.json +0 -75
  864. package/node_modules/@turf/line-slice-along/LICENSE +0 -20
  865. package/node_modules/@turf/line-slice-along/README.md +0 -66
  866. package/node_modules/@turf/line-slice-along/dist/cjs/index.cjs +0 -58
  867. package/node_modules/@turf/line-slice-along/dist/cjs/index.cjs.map +0 -1
  868. package/node_modules/@turf/line-slice-along/dist/cjs/index.d.cts +0 -16
  869. package/node_modules/@turf/line-slice-along/dist/esm/index.d.ts +0 -16
  870. package/node_modules/@turf/line-slice-along/dist/esm/index.js +0 -58
  871. package/node_modules/@turf/line-slice-along/dist/esm/index.js.map +0 -1
  872. package/node_modules/@turf/line-slice-along/package.json +0 -72
  873. package/node_modules/@turf/line-split/LICENSE +0 -20
  874. package/node_modules/@turf/line-split/README.md +0 -55
  875. package/node_modules/@turf/line-split/dist/cjs/index.cjs +0 -124
  876. package/node_modules/@turf/line-split/dist/cjs/index.cjs.map +0 -1
  877. package/node_modules/@turf/line-split/dist/cjs/index.d.cts +0 -15
  878. package/node_modules/@turf/line-split/dist/esm/index.d.ts +0 -15
  879. package/node_modules/@turf/line-split/dist/esm/index.js +0 -124
  880. package/node_modules/@turf/line-split/dist/esm/index.js.map +0 -1
  881. package/node_modules/@turf/line-split/package.json +0 -81
  882. package/node_modules/@turf/line-to-polygon/LICENSE +0 -20
  883. package/node_modules/@turf/line-to-polygon/README.md +0 -66
  884. package/node_modules/@turf/line-to-polygon/dist/cjs/index.cjs +0 -82
  885. package/node_modules/@turf/line-to-polygon/dist/cjs/index.cjs.map +0 -1
  886. package/node_modules/@turf/line-to-polygon/dist/cjs/index.d.cts +0 -34
  887. package/node_modules/@turf/line-to-polygon/dist/esm/index.d.ts +0 -34
  888. package/node_modules/@turf/line-to-polygon/dist/esm/index.js +0 -82
  889. package/node_modules/@turf/line-to-polygon/dist/esm/index.js.map +0 -1
  890. package/node_modules/@turf/line-to-polygon/package.json +0 -79
  891. package/node_modules/@turf/mask/LICENSE +0 -20
  892. package/node_modules/@turf/mask/README.md +0 -62
  893. package/node_modules/@turf/mask/dist/cjs/index.cjs +0 -70
  894. package/node_modules/@turf/mask/dist/cjs/index.cjs.map +0 -1
  895. package/node_modules/@turf/mask/dist/cjs/index.d.cts +0 -26
  896. package/node_modules/@turf/mask/dist/esm/index.d.ts +0 -26
  897. package/node_modules/@turf/mask/dist/esm/index.js +0 -70
  898. package/node_modules/@turf/mask/dist/esm/index.js.map +0 -1
  899. package/node_modules/@turf/mask/package.json +0 -74
  900. package/node_modules/@turf/midpoint/LICENSE +0 -20
  901. package/node_modules/@turf/midpoint/README.md +0 -55
  902. package/node_modules/@turf/midpoint/dist/cjs/index.cjs +0 -16
  903. package/node_modules/@turf/midpoint/dist/cjs/index.cjs.map +0 -1
  904. package/node_modules/@turf/midpoint/dist/cjs/index.d.cts +0 -25
  905. package/node_modules/@turf/midpoint/dist/esm/index.d.ts +0 -25
  906. package/node_modules/@turf/midpoint/dist/esm/index.js +0 -16
  907. package/node_modules/@turf/midpoint/dist/esm/index.js.map +0 -1
  908. package/node_modules/@turf/midpoint/package.json +0 -73
  909. package/node_modules/@turf/moran-index/LICENSE +0 -20
  910. package/node_modules/@turf/moran-index/README.md +0 -99
  911. package/node_modules/@turf/moran-index/dist/cjs/index.cjs +0 -76
  912. package/node_modules/@turf/moran-index/dist/cjs/index.cjs.map +0 -1
  913. package/node_modules/@turf/moran-index/dist/cjs/index.d.cts +0 -67
  914. package/node_modules/@turf/moran-index/dist/esm/index.d.ts +0 -67
  915. package/node_modules/@turf/moran-index/dist/esm/index.js +0 -76
  916. package/node_modules/@turf/moran-index/dist/esm/index.js.map +0 -1
  917. package/node_modules/@turf/moran-index/package.json +0 -74
  918. package/node_modules/@turf/nearest-neighbor-analysis/LICENSE +0 -20
  919. package/node_modules/@turf/nearest-neighbor-analysis/README.md +0 -129
  920. package/node_modules/@turf/nearest-neighbor-analysis/dist/cjs/index.cjs +0 -57
  921. package/node_modules/@turf/nearest-neighbor-analysis/dist/cjs/index.cjs.map +0 -1
  922. package/node_modules/@turf/nearest-neighbor-analysis/dist/cjs/index.d.cts +0 -94
  923. package/node_modules/@turf/nearest-neighbor-analysis/dist/esm/index.d.ts +0 -94
  924. package/node_modules/@turf/nearest-neighbor-analysis/dist/esm/index.js +0 -57
  925. package/node_modules/@turf/nearest-neighbor-analysis/dist/esm/index.js.map +0 -1
  926. package/node_modules/@turf/nearest-neighbor-analysis/package.json +0 -80
  927. package/node_modules/@turf/nearest-point/LICENSE +0 -20
  928. package/node_modules/@turf/nearest-point/README.md +0 -69
  929. package/node_modules/@turf/nearest-point/dist/cjs/index.cjs +0 -50
  930. package/node_modules/@turf/nearest-point/dist/cjs/index.cjs.map +0 -1
  931. package/node_modules/@turf/nearest-point/dist/cjs/index.d.cts +0 -40
  932. package/node_modules/@turf/nearest-point/dist/esm/index.d.ts +0 -40
  933. package/node_modules/@turf/nearest-point/dist/esm/index.js +0 -50
  934. package/node_modules/@turf/nearest-point/dist/esm/index.js.map +0 -1
  935. package/node_modules/@turf/nearest-point/package.json +0 -77
  936. package/node_modules/@turf/nearest-point-on-line/LICENSE +0 -20
  937. package/node_modules/@turf/nearest-point-on-line/README.md +0 -79
  938. package/node_modules/@turf/nearest-point-on-line/dist/cjs/index.cjs +0 -155
  939. package/node_modules/@turf/nearest-point-on-line/dist/cjs/index.cjs.map +0 -1
  940. package/node_modules/@turf/nearest-point-on-line/dist/cjs/index.d.cts +0 -44
  941. package/node_modules/@turf/nearest-point-on-line/dist/esm/index.d.ts +0 -44
  942. package/node_modules/@turf/nearest-point-on-line/dist/esm/index.js +0 -155
  943. package/node_modules/@turf/nearest-point-on-line/dist/esm/index.js.map +0 -1
  944. package/node_modules/@turf/nearest-point-on-line/package.json +0 -77
  945. package/node_modules/@turf/nearest-point-to-line/LICENSE +0 -20
  946. package/node_modules/@turf/nearest-point-to-line/README.md +0 -70
  947. package/node_modules/@turf/nearest-point-to-line/dist/cjs/index.cjs +0 -74
  948. package/node_modules/@turf/nearest-point-to-line/dist/cjs/index.cjs.map +0 -1
  949. package/node_modules/@turf/nearest-point-to-line/dist/cjs/index.d.cts +0 -35
  950. package/node_modules/@turf/nearest-point-to-line/dist/esm/index.d.ts +0 -35
  951. package/node_modules/@turf/nearest-point-to-line/dist/esm/index.js +0 -74
  952. package/node_modules/@turf/nearest-point-to-line/dist/esm/index.js.map +0 -1
  953. package/node_modules/@turf/nearest-point-to-line/package.json +0 -82
  954. package/node_modules/@turf/planepoint/LICENSE +0 -20
  955. package/node_modules/@turf/planepoint/README.md +0 -71
  956. package/node_modules/@turf/planepoint/dist/cjs/index.cjs +0 -33
  957. package/node_modules/@turf/planepoint/dist/cjs/index.cjs.map +0 -1
  958. package/node_modules/@turf/planepoint/dist/cjs/index.d.cts +0 -39
  959. package/node_modules/@turf/planepoint/dist/esm/index.d.ts +0 -39
  960. package/node_modules/@turf/planepoint/dist/esm/index.js +0 -33
  961. package/node_modules/@turf/planepoint/dist/esm/index.js.map +0 -1
  962. package/node_modules/@turf/planepoint/package.json +0 -72
  963. package/node_modules/@turf/point-grid/LICENSE +0 -20
  964. package/node_modules/@turf/point-grid/README.md +0 -70
  965. package/node_modules/@turf/point-grid/dist/cjs/index.cjs +0 -43
  966. package/node_modules/@turf/point-grid/dist/cjs/index.cjs.map +0 -1
  967. package/node_modules/@turf/point-grid/dist/cjs/index.d.cts +0 -31
  968. package/node_modules/@turf/point-grid/dist/esm/index.d.ts +0 -31
  969. package/node_modules/@turf/point-grid/dist/esm/index.js +0 -43
  970. package/node_modules/@turf/point-grid/dist/esm/index.js.map +0 -1
  971. package/node_modules/@turf/point-grid/package.json +0 -81
  972. package/node_modules/@turf/point-on-feature/LICENSE +0 -20
  973. package/node_modules/@turf/point-on-feature/README.md +0 -66
  974. package/node_modules/@turf/point-on-feature/dist/cjs/index.cjs +0 -105
  975. package/node_modules/@turf/point-on-feature/dist/cjs/index.cjs.map +0 -1
  976. package/node_modules/@turf/point-on-feature/dist/cjs/index.d.cts +0 -32
  977. package/node_modules/@turf/point-on-feature/dist/esm/index.d.ts +0 -32
  978. package/node_modules/@turf/point-on-feature/dist/esm/index.js +0 -105
  979. package/node_modules/@turf/point-on-feature/dist/esm/index.js.map +0 -1
  980. package/node_modules/@turf/point-on-feature/package.json +0 -78
  981. package/node_modules/@turf/point-to-line-distance/LICENSE +0 -20
  982. package/node_modules/@turf/point-to-line-distance/README.md +0 -66
  983. package/node_modules/@turf/point-to-line-distance/dist/cjs/index.cjs +0 -79
  984. package/node_modules/@turf/point-to-line-distance/dist/cjs/index.cjs.map +0 -1
  985. package/node_modules/@turf/point-to-line-distance/dist/cjs/index.d.cts +0 -28
  986. package/node_modules/@turf/point-to-line-distance/dist/esm/index.d.ts +0 -28
  987. package/node_modules/@turf/point-to-line-distance/dist/esm/index.js +0 -79
  988. package/node_modules/@turf/point-to-line-distance/dist/esm/index.js.map +0 -1
  989. package/node_modules/@turf/point-to-line-distance/package.json +0 -83
  990. package/node_modules/@turf/point-to-polygon-distance/LICENSE +0 -20
  991. package/node_modules/@turf/point-to-polygon-distance/README.md +0 -61
  992. package/node_modules/@turf/point-to-polygon-distance/dist/cjs/index.cjs +0 -49
  993. package/node_modules/@turf/point-to-polygon-distance/dist/cjs/index.cjs.map +0 -1
  994. package/node_modules/@turf/point-to-polygon-distance/dist/cjs/index.d.cts +0 -23
  995. package/node_modules/@turf/point-to-polygon-distance/dist/esm/index.d.ts +0 -23
  996. package/node_modules/@turf/point-to-polygon-distance/dist/esm/index.js +0 -49
  997. package/node_modules/@turf/point-to-polygon-distance/dist/esm/index.js.map +0 -1
  998. package/node_modules/@turf/point-to-polygon-distance/package.json +0 -80
  999. package/node_modules/@turf/points-within-polygon/LICENSE +0 -20
  1000. package/node_modules/@turf/points-within-polygon/README.md +0 -79
  1001. package/node_modules/@turf/points-within-polygon/dist/cjs/index.cjs +0 -44
  1002. package/node_modules/@turf/points-within-polygon/dist/cjs/index.cjs.map +0 -1
  1003. package/node_modules/@turf/points-within-polygon/dist/cjs/index.d.cts +0 -40
  1004. package/node_modules/@turf/points-within-polygon/dist/esm/index.d.ts +0 -40
  1005. package/node_modules/@turf/points-within-polygon/dist/esm/index.js +0 -44
  1006. package/node_modules/@turf/points-within-polygon/dist/esm/index.js.map +0 -1
  1007. package/node_modules/@turf/points-within-polygon/package.json +0 -73
  1008. package/node_modules/@turf/polygon-smooth/LICENSE +0 -20
  1009. package/node_modules/@turf/polygon-smooth/README.md +0 -62
  1010. package/node_modules/@turf/polygon-smooth/dist/cjs/index.cjs +0 -114
  1011. package/node_modules/@turf/polygon-smooth/dist/cjs/index.cjs.map +0 -1
  1012. package/node_modules/@turf/polygon-smooth/dist/cjs/index.d.cts +0 -24
  1013. package/node_modules/@turf/polygon-smooth/dist/esm/index.d.ts +0 -24
  1014. package/node_modules/@turf/polygon-smooth/dist/esm/index.js +0 -114
  1015. package/node_modules/@turf/polygon-smooth/dist/esm/index.js.map +0 -1
  1016. package/node_modules/@turf/polygon-smooth/package.json +0 -76
  1017. package/node_modules/@turf/polygon-tangents/LICENSE +0 -20
  1018. package/node_modules/@turf/polygon-tangents/README.md +0 -58
  1019. package/node_modules/@turf/polygon-tangents/dist/cjs/index.cjs +0 -108
  1020. package/node_modules/@turf/polygon-tangents/dist/cjs/index.cjs.map +0 -1
  1021. package/node_modules/@turf/polygon-tangents/dist/cjs/index.d.cts +0 -22
  1022. package/node_modules/@turf/polygon-tangents/dist/esm/index.d.ts +0 -22
  1023. package/node_modules/@turf/polygon-tangents/dist/esm/index.js +0 -108
  1024. package/node_modules/@turf/polygon-tangents/dist/esm/index.js.map +0 -1
  1025. package/node_modules/@turf/polygon-tangents/package.json +0 -82
  1026. package/node_modules/@turf/polygon-to-line/LICENSE +0 -20
  1027. package/node_modules/@turf/polygon-to-line/README.md +0 -60
  1028. package/node_modules/@turf/polygon-to-line/dist/cjs/index.cjs +0 -48
  1029. package/node_modules/@turf/polygon-to-line/dist/cjs/index.cjs.map +0 -1
  1030. package/node_modules/@turf/polygon-to-line/dist/cjs/index.d.cts +0 -40
  1031. package/node_modules/@turf/polygon-to-line/dist/esm/index.d.ts +0 -40
  1032. package/node_modules/@turf/polygon-to-line/dist/esm/index.js +0 -48
  1033. package/node_modules/@turf/polygon-to-line/dist/esm/index.js.map +0 -1
  1034. package/node_modules/@turf/polygon-to-line/package.json +0 -73
  1035. package/node_modules/@turf/polygonize/LICENSE +0 -20
  1036. package/node_modules/@turf/polygonize/README.md +0 -61
  1037. package/node_modules/@turf/polygonize/dist/cjs/index.cjs +0 -636
  1038. package/node_modules/@turf/polygonize/dist/cjs/index.cjs.map +0 -1
  1039. package/node_modules/@turf/polygonize/dist/cjs/index.d.cts +0 -23
  1040. package/node_modules/@turf/polygonize/dist/esm/index.d.ts +0 -23
  1041. package/node_modules/@turf/polygonize/dist/esm/index.js +0 -636
  1042. package/node_modules/@turf/polygonize/dist/esm/index.js.map +0 -1
  1043. package/node_modules/@turf/polygonize/package.json +0 -80
  1044. package/node_modules/@turf/projection/LICENSE +0 -20
  1045. package/node_modules/@turf/projection/README.md +0 -77
  1046. package/node_modules/@turf/projection/dist/cjs/index.cjs +0 -55
  1047. package/node_modules/@turf/projection/dist/cjs/index.cjs.map +0 -1
  1048. package/node_modules/@turf/projection/dist/cjs/index.d.cts +0 -41
  1049. package/node_modules/@turf/projection/dist/esm/index.d.ts +0 -41
  1050. package/node_modules/@turf/projection/dist/esm/index.js +0 -55
  1051. package/node_modules/@turf/projection/dist/esm/index.js.map +0 -1
  1052. package/node_modules/@turf/projection/package.json +0 -88
  1053. package/node_modules/@turf/quadrat-analysis/LICENSE +0 -20
  1054. package/node_modules/@turf/quadrat-analysis/README.md +0 -114
  1055. package/node_modules/@turf/quadrat-analysis/dist/cjs/index.cjs +0 -114
  1056. package/node_modules/@turf/quadrat-analysis/dist/cjs/index.cjs.map +0 -1
  1057. package/node_modules/@turf/quadrat-analysis/dist/cjs/index.d.cts +0 -55
  1058. package/node_modules/@turf/quadrat-analysis/dist/esm/index.d.ts +0 -55
  1059. package/node_modules/@turf/quadrat-analysis/dist/esm/index.js +0 -114
  1060. package/node_modules/@turf/quadrat-analysis/dist/esm/index.js.map +0 -1
  1061. package/node_modules/@turf/quadrat-analysis/package.json +0 -81
  1062. package/node_modules/@turf/random/LICENSE +0 -20
  1063. package/node_modules/@turf/random/README.md +0 -138
  1064. package/node_modules/@turf/random/dist/cjs/index.cjs +0 -158
  1065. package/node_modules/@turf/random/dist/cjs/index.cjs.map +0 -1
  1066. package/node_modules/@turf/random/dist/cjs/index.d.cts +0 -79
  1067. package/node_modules/@turf/random/dist/esm/index.d.ts +0 -79
  1068. package/node_modules/@turf/random/dist/esm/index.js +0 -158
  1069. package/node_modules/@turf/random/dist/esm/index.js.map +0 -1
  1070. package/node_modules/@turf/random/package.json +0 -68
  1071. package/node_modules/@turf/rectangle-grid/LICENSE +0 -20
  1072. package/node_modules/@turf/rectangle-grid/README.md +0 -74
  1073. package/node_modules/@turf/rectangle-grid/dist/cjs/index.cjs +0 -56
  1074. package/node_modules/@turf/rectangle-grid/dist/cjs/index.cjs.map +0 -1
  1075. package/node_modules/@turf/rectangle-grid/dist/cjs/index.d.cts +0 -37
  1076. package/node_modules/@turf/rectangle-grid/dist/esm/index.d.ts +0 -37
  1077. package/node_modules/@turf/rectangle-grid/dist/esm/index.js +0 -56
  1078. package/node_modules/@turf/rectangle-grid/dist/esm/index.js.map +0 -1
  1079. package/node_modules/@turf/rectangle-grid/package.json +0 -79
  1080. package/node_modules/@turf/rewind/LICENSE +0 -20
  1081. package/node_modules/@turf/rewind/README.md +0 -60
  1082. package/node_modules/@turf/rewind/dist/cjs/index.cjs +0 -86
  1083. package/node_modules/@turf/rewind/dist/cjs/index.cjs.map +0 -1
  1084. package/node_modules/@turf/rewind/dist/cjs/index.d.cts +0 -26
  1085. package/node_modules/@turf/rewind/dist/esm/index.d.ts +0 -26
  1086. package/node_modules/@turf/rewind/dist/esm/index.js +0 -86
  1087. package/node_modules/@turf/rewind/dist/esm/index.js.map +0 -1
  1088. package/node_modules/@turf/rewind/package.json +0 -82
  1089. package/node_modules/@turf/rhumb-bearing/LICENSE +0 -20
  1090. package/node_modules/@turf/rhumb-bearing/README.md +0 -62
  1091. package/node_modules/@turf/rhumb-bearing/dist/cjs/index.cjs +0 -35
  1092. package/node_modules/@turf/rhumb-bearing/dist/cjs/index.cjs.map +0 -1
  1093. package/node_modules/@turf/rhumb-bearing/dist/cjs/index.d.cts +0 -28
  1094. package/node_modules/@turf/rhumb-bearing/dist/esm/index.d.ts +0 -28
  1095. package/node_modules/@turf/rhumb-bearing/dist/esm/index.js +0 -35
  1096. package/node_modules/@turf/rhumb-bearing/dist/esm/index.js.map +0 -1
  1097. package/node_modules/@turf/rhumb-bearing/package.json +0 -78
  1098. package/node_modules/@turf/rhumb-destination/LICENSE +0 -20
  1099. package/node_modules/@turf/rhumb-destination/README.md +0 -67
  1100. package/node_modules/@turf/rhumb-destination/dist/cjs/index.cjs +0 -53
  1101. package/node_modules/@turf/rhumb-destination/dist/cjs/index.cjs.map +0 -1
  1102. package/node_modules/@turf/rhumb-destination/dist/cjs/index.d.cts +0 -33
  1103. package/node_modules/@turf/rhumb-destination/dist/esm/index.d.ts +0 -33
  1104. package/node_modules/@turf/rhumb-destination/dist/esm/index.js +0 -53
  1105. package/node_modules/@turf/rhumb-destination/dist/esm/index.js.map +0 -1
  1106. package/node_modules/@turf/rhumb-destination/package.json +0 -83
  1107. package/node_modules/@turf/rhumb-distance/LICENSE +0 -20
  1108. package/node_modules/@turf/rhumb-distance/README.md +0 -62
  1109. package/node_modules/@turf/rhumb-distance/dist/cjs/index.cjs +0 -37
  1110. package/node_modules/@turf/rhumb-distance/dist/cjs/index.cjs.map +0 -1
  1111. package/node_modules/@turf/rhumb-distance/dist/cjs/index.d.cts +0 -28
  1112. package/node_modules/@turf/rhumb-distance/dist/esm/index.d.ts +0 -28
  1113. package/node_modules/@turf/rhumb-distance/dist/esm/index.js +0 -37
  1114. package/node_modules/@turf/rhumb-distance/dist/esm/index.js.map +0 -1
  1115. package/node_modules/@turf/rhumb-distance/package.json +0 -81
  1116. package/node_modules/@turf/sample/LICENSE +0 -20
  1117. package/node_modules/@turf/sample/README.md +0 -56
  1118. package/node_modules/@turf/sample/dist/cjs/index.cjs +0 -25
  1119. package/node_modules/@turf/sample/dist/cjs/index.cjs.map +0 -1
  1120. package/node_modules/@turf/sample/dist/cjs/index.d.cts +0 -24
  1121. package/node_modules/@turf/sample/dist/esm/index.d.ts +0 -24
  1122. package/node_modules/@turf/sample/dist/esm/index.js +0 -25
  1123. package/node_modules/@turf/sample/dist/esm/index.js.map +0 -1
  1124. package/node_modules/@turf/sample/package.json +0 -69
  1125. package/node_modules/@turf/sector/LICENSE +0 -20
  1126. package/node_modules/@turf/sector/README.md +0 -70
  1127. package/node_modules/@turf/sector/dist/cjs/index.cjs +0 -42
  1128. package/node_modules/@turf/sector/dist/cjs/index.cjs.map +0 -1
  1129. package/node_modules/@turf/sector/dist/cjs/index.d.cts +0 -35
  1130. package/node_modules/@turf/sector/dist/esm/index.d.ts +0 -35
  1131. package/node_modules/@turf/sector/dist/esm/index.js +0 -42
  1132. package/node_modules/@turf/sector/dist/esm/index.js.map +0 -1
  1133. package/node_modules/@turf/sector/package.json +0 -75
  1134. package/node_modules/@turf/shortest-path/LICENSE +0 -20
  1135. package/node_modules/@turf/shortest-path/README.md +0 -73
  1136. package/node_modules/@turf/shortest-path/dist/cjs/index.cjs +0 -382
  1137. package/node_modules/@turf/shortest-path/dist/cjs/index.cjs.map +0 -1
  1138. package/node_modules/@turf/shortest-path/dist/cjs/index.d.cts +0 -34
  1139. package/node_modules/@turf/shortest-path/dist/esm/index.d.ts +0 -34
  1140. package/node_modules/@turf/shortest-path/dist/esm/index.js +0 -382
  1141. package/node_modules/@turf/shortest-path/dist/esm/index.js.map +0 -1
  1142. package/node_modules/@turf/shortest-path/package.json +0 -85
  1143. package/node_modules/@turf/simplify/LICENSE +0 -20
  1144. package/node_modules/@turf/simplify/README.md +0 -81
  1145. package/node_modules/@turf/simplify/dist/cjs/index.cjs +0 -150
  1146. package/node_modules/@turf/simplify/dist/cjs/index.cjs.map +0 -1
  1147. package/node_modules/@turf/simplify/dist/cjs/index.d.cts +0 -49
  1148. package/node_modules/@turf/simplify/dist/esm/index.d.ts +0 -49
  1149. package/node_modules/@turf/simplify/dist/esm/index.js +0 -150
  1150. package/node_modules/@turf/simplify/dist/esm/index.js.map +0 -1
  1151. package/node_modules/@turf/simplify/package.json +0 -82
  1152. package/node_modules/@turf/square/LICENSE +0 -20
  1153. package/node_modules/@turf/square/README.md +0 -46
  1154. package/node_modules/@turf/square/dist/cjs/index.cjs +0 -33
  1155. package/node_modules/@turf/square/dist/cjs/index.cjs.map +0 -1
  1156. package/node_modules/@turf/square/dist/cjs/index.d.cts +0 -19
  1157. package/node_modules/@turf/square/dist/esm/index.d.ts +0 -19
  1158. package/node_modules/@turf/square/dist/esm/index.js +0 -33
  1159. package/node_modules/@turf/square/dist/esm/index.js.map +0 -1
  1160. package/node_modules/@turf/square/package.json +0 -70
  1161. package/node_modules/@turf/square-grid/LICENSE +0 -20
  1162. package/node_modules/@turf/square-grid/README.md +0 -72
  1163. package/node_modules/@turf/square-grid/dist/cjs/index.cjs +0 -11
  1164. package/node_modules/@turf/square-grid/dist/cjs/index.cjs.map +0 -1
  1165. package/node_modules/@turf/square-grid/dist/cjs/index.d.cts +0 -35
  1166. package/node_modules/@turf/square-grid/dist/esm/index.d.ts +0 -35
  1167. package/node_modules/@turf/square-grid/dist/esm/index.js +0 -11
  1168. package/node_modules/@turf/square-grid/dist/esm/index.js.map +0 -1
  1169. package/node_modules/@turf/square-grid/package.json +0 -74
  1170. package/node_modules/@turf/standard-deviational-ellipse/LICENSE +0 -20
  1171. package/node_modules/@turf/standard-deviational-ellipse/README.md +0 -88
  1172. package/node_modules/@turf/standard-deviational-ellipse/dist/cjs/index.cjs +0 -87
  1173. package/node_modules/@turf/standard-deviational-ellipse/dist/cjs/index.cjs.map +0 -1
  1174. package/node_modules/@turf/standard-deviational-ellipse/dist/cjs/index.d.cts +0 -61
  1175. package/node_modules/@turf/standard-deviational-ellipse/dist/esm/index.d.ts +0 -61
  1176. package/node_modules/@turf/standard-deviational-ellipse/dist/esm/index.js +0 -87
  1177. package/node_modules/@turf/standard-deviational-ellipse/dist/esm/index.js.map +0 -1
  1178. package/node_modules/@turf/standard-deviational-ellipse/package.json +0 -82
  1179. package/node_modules/@turf/tag/LICENSE +0 -20
  1180. package/node_modules/@turf/tag/README.md +0 -75
  1181. package/node_modules/@turf/tag/dist/cjs/index.cjs +0 -26
  1182. package/node_modules/@turf/tag/dist/cjs/index.cjs.map +0 -1
  1183. package/node_modules/@turf/tag/dist/cjs/index.d.cts +0 -40
  1184. package/node_modules/@turf/tag/dist/esm/index.d.ts +0 -40
  1185. package/node_modules/@turf/tag/dist/esm/index.js +0 -26
  1186. package/node_modules/@turf/tag/dist/esm/index.js.map +0 -1
  1187. package/node_modules/@turf/tag/package.json +0 -77
  1188. package/node_modules/@turf/tesselate/LICENSE +0 -20
  1189. package/node_modules/@turf/tesselate/README.md +0 -54
  1190. package/node_modules/@turf/tesselate/dist/cjs/index.cjs +0 -61
  1191. package/node_modules/@turf/tesselate/dist/cjs/index.cjs.map +0 -1
  1192. package/node_modules/@turf/tesselate/dist/cjs/index.d.cts +0 -19
  1193. package/node_modules/@turf/tesselate/dist/esm/index.d.ts +0 -19
  1194. package/node_modules/@turf/tesselate/dist/esm/index.js +0 -61
  1195. package/node_modules/@turf/tesselate/dist/esm/index.js.map +0 -1
  1196. package/node_modules/@turf/tesselate/package.json +0 -78
  1197. package/node_modules/@turf/tin/LICENSE +0 -20
  1198. package/node_modules/@turf/tin/README.md +0 -72
  1199. package/node_modules/@turf/tin/dist/cjs/index.cjs +0 -192
  1200. package/node_modules/@turf/tin/dist/cjs/index.cjs.map +0 -1
  1201. package/node_modules/@turf/tin/dist/cjs/index.d.cts +0 -47
  1202. package/node_modules/@turf/tin/dist/esm/index.d.ts +0 -47
  1203. package/node_modules/@turf/tin/dist/esm/index.js +0 -192
  1204. package/node_modules/@turf/tin/dist/esm/index.js.map +0 -1
  1205. package/node_modules/@turf/tin/package.json +0 -69
  1206. package/node_modules/@turf/transform-rotate/LICENSE +0 -20
  1207. package/node_modules/@turf/transform-rotate/README.md +0 -60
  1208. package/node_modules/@turf/transform-rotate/dist/cjs/index.cjs +0 -38
  1209. package/node_modules/@turf/transform-rotate/dist/cjs/index.cjs.map +0 -1
  1210. package/node_modules/@turf/transform-rotate/dist/cjs/index.d.cts +0 -28
  1211. package/node_modules/@turf/transform-rotate/dist/esm/index.d.ts +0 -28
  1212. package/node_modules/@turf/transform-rotate/dist/esm/index.js +0 -38
  1213. package/node_modules/@turf/transform-rotate/dist/esm/index.js.map +0 -1
  1214. package/node_modules/@turf/transform-rotate/package.json +0 -84
  1215. package/node_modules/@turf/transform-scale/LICENSE +0 -20
  1216. package/node_modules/@turf/transform-scale/README.md +0 -64
  1217. package/node_modules/@turf/transform-scale/dist/cjs/index.cjs +0 -109
  1218. package/node_modules/@turf/transform-scale/dist/cjs/index.cjs.map +0 -1
  1219. package/node_modules/@turf/transform-scale/dist/cjs/index.d.cts +0 -30
  1220. package/node_modules/@turf/transform-scale/dist/esm/index.d.ts +0 -30
  1221. package/node_modules/@turf/transform-scale/dist/esm/index.js +0 -109
  1222. package/node_modules/@turf/transform-scale/dist/esm/index.js.map +0 -1
  1223. package/node_modules/@turf/transform-scale/package.json +0 -92
  1224. package/node_modules/@turf/transform-translate/LICENSE +0 -20
  1225. package/node_modules/@turf/transform-translate/README.md +0 -67
  1226. package/node_modules/@turf/transform-translate/dist/cjs/index.cjs +0 -43
  1227. package/node_modules/@turf/transform-translate/dist/cjs/index.cjs.map +0 -1
  1228. package/node_modules/@turf/transform-translate/dist/cjs/index.d.cts +0 -34
  1229. package/node_modules/@turf/transform-translate/dist/esm/index.d.ts +0 -34
  1230. package/node_modules/@turf/transform-translate/dist/esm/index.js +0 -43
  1231. package/node_modules/@turf/transform-translate/dist/esm/index.js.map +0 -1
  1232. package/node_modules/@turf/transform-translate/package.json +0 -83
  1233. package/node_modules/@turf/triangle-grid/LICENSE +0 -20
  1234. package/node_modules/@turf/triangle-grid/README.md +0 -66
  1235. package/node_modules/@turf/triangle-grid/dist/cjs/index.cjs +0 -134
  1236. package/node_modules/@turf/triangle-grid/dist/cjs/index.cjs.map +0 -1
  1237. package/node_modules/@turf/triangle-grid/dist/cjs/index.d.cts +0 -31
  1238. package/node_modules/@turf/triangle-grid/dist/esm/index.d.ts +0 -31
  1239. package/node_modules/@turf/triangle-grid/dist/esm/index.js +0 -134
  1240. package/node_modules/@turf/triangle-grid/dist/esm/index.js.map +0 -1
  1241. package/node_modules/@turf/triangle-grid/package.json +0 -78
  1242. package/node_modules/@turf/truncate/LICENSE +0 -20
  1243. package/node_modules/@turf/truncate/README.md +0 -62
  1244. package/node_modules/@turf/truncate/dist/cjs/index.cjs +0 -37
  1245. package/node_modules/@turf/truncate/dist/cjs/index.cjs.map +0 -1
  1246. package/node_modules/@turf/truncate/dist/cjs/index.d.cts +0 -32
  1247. package/node_modules/@turf/truncate/dist/esm/index.d.ts +0 -32
  1248. package/node_modules/@turf/truncate/dist/esm/index.js +0 -37
  1249. package/node_modules/@turf/truncate/dist/esm/index.js.map +0 -1
  1250. package/node_modules/@turf/truncate/package.json +0 -76
  1251. package/node_modules/@turf/turf/LICENSE +0 -20
  1252. package/node_modules/@turf/turf/README.md +0 -31
  1253. package/node_modules/@turf/turf/dist/cjs/index.cjs +0 -233
  1254. package/node_modules/@turf/turf/dist/cjs/index.cjs.map +0 -1
  1255. package/node_modules/@turf/turf/dist/cjs/index.d.cts +0 -125
  1256. package/node_modules/@turf/turf/dist/esm/index.d.ts +0 -125
  1257. package/node_modules/@turf/turf/dist/esm/index.js +0 -233
  1258. package/node_modules/@turf/turf/dist/esm/index.js.map +0 -1
  1259. package/node_modules/@turf/turf/package.json +0 -212
  1260. package/node_modules/@turf/turf/turf.min.js +0 -28
  1261. package/node_modules/@turf/union/LICENSE +0 -20
  1262. package/node_modules/@turf/union/README.md +0 -88
  1263. package/node_modules/@turf/union/dist/cjs/index.cjs +0 -23
  1264. package/node_modules/@turf/union/dist/cjs/index.cjs.map +0 -1
  1265. package/node_modules/@turf/union/dist/cjs/index.d.cts +0 -55
  1266. package/node_modules/@turf/union/dist/esm/index.d.ts +0 -55
  1267. package/node_modules/@turf/union/dist/esm/index.js +0 -23
  1268. package/node_modules/@turf/union/dist/esm/index.js.map +0 -1
  1269. package/node_modules/@turf/union/package.json +0 -73
  1270. package/node_modules/@turf/unkink-polygon/LICENSE +0 -20
  1271. package/node_modules/@turf/unkink-polygon/README.md +0 -57
  1272. package/node_modules/@turf/unkink-polygon/dist/cjs/index.cjs +0 -579
  1273. package/node_modules/@turf/unkink-polygon/dist/cjs/index.cjs.map +0 -1
  1274. package/node_modules/@turf/unkink-polygon/dist/cjs/index.d.cts +0 -22
  1275. package/node_modules/@turf/unkink-polygon/dist/esm/index.d.ts +0 -22
  1276. package/node_modules/@turf/unkink-polygon/dist/esm/index.js +0 -579
  1277. package/node_modules/@turf/unkink-polygon/dist/esm/index.js.map +0 -1
  1278. package/node_modules/@turf/unkink-polygon/package.json +0 -78
  1279. package/node_modules/@turf/voronoi/LICENSE +0 -20
  1280. package/node_modules/@turf/voronoi/README.md +0 -62
  1281. package/node_modules/@turf/voronoi/dist/cjs/index.cjs +0 -34
  1282. package/node_modules/@turf/voronoi/dist/cjs/index.cjs.map +0 -1
  1283. package/node_modules/@turf/voronoi/dist/cjs/index.d.cts +0 -28
  1284. package/node_modules/@turf/voronoi/dist/esm/index.d.ts +0 -28
  1285. package/node_modules/@turf/voronoi/dist/esm/index.js +0 -34
  1286. package/node_modules/@turf/voronoi/dist/esm/index.js.map +0 -1
  1287. package/node_modules/@turf/voronoi/package.json +0 -83
  1288. package/node_modules/@types/d3-voronoi/LICENSE +0 -21
  1289. package/node_modules/@types/d3-voronoi/README.md +0 -15
  1290. package/node_modules/@types/d3-voronoi/index.d.ts +0 -298
  1291. package/node_modules/@types/d3-voronoi/package.json +0 -40
  1292. package/node_modules/bignumber.js/CHANGELOG.md +0 -381
  1293. package/node_modules/bignumber.js/LICENCE.md +0 -26
  1294. package/node_modules/bignumber.js/README.md +0 -289
  1295. package/node_modules/bignumber.js/bignumber.d.mts +0 -6
  1296. package/node_modules/bignumber.js/bignumber.d.ts +0 -5
  1297. package/node_modules/bignumber.js/bignumber.js +0 -2922
  1298. package/node_modules/bignumber.js/bignumber.mjs +0 -2907
  1299. package/node_modules/bignumber.js/doc/API.html +0 -2249
  1300. package/node_modules/bignumber.js/package.json +0 -60
  1301. package/node_modules/bignumber.js/types.d.ts +0 -1821
  1302. package/node_modules/commander/CHANGELOG.md +0 -419
  1303. package/node_modules/commander/LICENSE +0 -22
  1304. package/node_modules/commander/Readme.md +0 -428
  1305. package/node_modules/commander/index.js +0 -1224
  1306. package/node_modules/commander/package.json +0 -38
  1307. package/node_modules/commander/typings/index.d.ts +0 -310
  1308. package/node_modules/concaveman/.travis.yml +0 -4
  1309. package/node_modules/concaveman/LICENSE +0 -15
  1310. package/node_modules/concaveman/README.md +0 -52
  1311. package/node_modules/concaveman/index.js +0 -383
  1312. package/node_modules/concaveman/package.json +0 -38
  1313. package/node_modules/d3-array/.eslintrc.json +0 -15
  1314. package/node_modules/d3-array/LICENSE +0 -27
  1315. package/node_modules/d3-array/README.md +0 -382
  1316. package/node_modules/d3-array/dist/d3-array.js +0 -590
  1317. package/node_modules/d3-array/dist/d3-array.min.js +0 -2
  1318. package/node_modules/d3-array/package.json +0 -42
  1319. package/node_modules/d3-array/rollup.config.js +0 -36
  1320. package/node_modules/d3-array/src/array.js +0 -4
  1321. package/node_modules/d3-array/src/ascending.js +0 -3
  1322. package/node_modules/d3-array/src/bisect.js +0 -7
  1323. package/node_modules/d3-array/src/bisector.js +0 -33
  1324. package/node_modules/d3-array/src/constant.js +0 -5
  1325. package/node_modules/d3-array/src/cross.js +0 -21
  1326. package/node_modules/d3-array/src/descending.js +0 -3
  1327. package/node_modules/d3-array/src/deviation.js +0 -6
  1328. package/node_modules/d3-array/src/extent.js +0 -37
  1329. package/node_modules/d3-array/src/histogram.js +0 -75
  1330. package/node_modules/d3-array/src/identity.js +0 -3
  1331. package/node_modules/d3-array/src/index.js +0 -27
  1332. package/node_modules/d3-array/src/max.js +0 -34
  1333. package/node_modules/d3-array/src/mean.js +0 -25
  1334. package/node_modules/d3-array/src/median.js +0 -28
  1335. package/node_modules/d3-array/src/merge.js +0 -21
  1336. package/node_modules/d3-array/src/min.js +0 -34
  1337. package/node_modules/d3-array/src/number.js +0 -3
  1338. package/node_modules/d3-array/src/pairs.js +0 -10
  1339. package/node_modules/d3-array/src/permute.js +0 -5
  1340. package/node_modules/d3-array/src/quantile.js +0 -14
  1341. package/node_modules/d3-array/src/range.js +0 -13
  1342. package/node_modules/d3-array/src/scan.js +0 -20
  1343. package/node_modules/d3-array/src/shuffle.js +0 -14
  1344. package/node_modules/d3-array/src/sum.js +0 -20
  1345. package/node_modules/d3-array/src/threshold/freedmanDiaconis.js +0 -9
  1346. package/node_modules/d3-array/src/threshold/scott.js +0 -5
  1347. package/node_modules/d3-array/src/threshold/sturges.js +0 -3
  1348. package/node_modules/d3-array/src/ticks.js +0 -51
  1349. package/node_modules/d3-array/src/transpose.js +0 -15
  1350. package/node_modules/d3-array/src/variance.js +0 -33
  1351. package/node_modules/d3-array/src/zip.js +0 -5
  1352. package/node_modules/d3-geo/.eslintrc +0 -13
  1353. package/node_modules/d3-geo/LICENSE +0 -48
  1354. package/node_modules/d3-geo/README.md +0 -619
  1355. package/node_modules/d3-geo/build/d3-geo.js +0 -2987
  1356. package/node_modules/d3-geo/build/d3-geo.min.js +0 -2
  1357. package/node_modules/d3-geo/img/albers.png +0 -0
  1358. package/node_modules/d3-geo/img/albersUsa-parameters.png +0 -0
  1359. package/node_modules/d3-geo/img/albersUsa.png +0 -0
  1360. package/node_modules/d3-geo/img/azimuthalEqualArea.png +0 -0
  1361. package/node_modules/d3-geo/img/azimuthalEquidistant.png +0 -0
  1362. package/node_modules/d3-geo/img/conicConformal.png +0 -0
  1363. package/node_modules/d3-geo/img/conicEqualArea.png +0 -0
  1364. package/node_modules/d3-geo/img/conicEquidistant.png +0 -0
  1365. package/node_modules/d3-geo/img/equirectangular.png +0 -0
  1366. package/node_modules/d3-geo/img/gnomonic.png +0 -0
  1367. package/node_modules/d3-geo/img/graticule.png +0 -0
  1368. package/node_modules/d3-geo/img/mercator.png +0 -0
  1369. package/node_modules/d3-geo/img/naturalEarth1.png +0 -0
  1370. package/node_modules/d3-geo/img/orthographic.png +0 -0
  1371. package/node_modules/d3-geo/img/stereographic.png +0 -0
  1372. package/node_modules/d3-geo/img/transverseMercator.png +0 -0
  1373. package/node_modules/d3-geo/index.js +0 -30
  1374. package/node_modules/d3-geo/package.json +0 -44
  1375. package/node_modules/d3-geo/rollup.config.js +0 -15
  1376. package/node_modules/d3-geo/src/adder.js +0 -40
  1377. package/node_modules/d3-geo/src/area.js +0 -74
  1378. package/node_modules/d3-geo/src/bounds.js +0 -176
  1379. package/node_modules/d3-geo/src/cartesian.js +0 -33
  1380. package/node_modules/d3-geo/src/centroid.js +0 -140
  1381. package/node_modules/d3-geo/src/circle.js +0 -72
  1382. package/node_modules/d3-geo/src/clip/antimeridian.js +0 -92
  1383. package/node_modules/d3-geo/src/clip/buffer.js +0 -24
  1384. package/node_modules/d3-geo/src/clip/circle.js +0 -181
  1385. package/node_modules/d3-geo/src/clip/extent.js +0 -187
  1386. package/node_modules/d3-geo/src/clip/index.js +0 -135
  1387. package/node_modules/d3-geo/src/clip/line.js +0 -59
  1388. package/node_modules/d3-geo/src/clip/polygon.js +0 -101
  1389. package/node_modules/d3-geo/src/compose.js +0 -12
  1390. package/node_modules/d3-geo/src/constant.js +0 -5
  1391. package/node_modules/d3-geo/src/contains.js +0 -84
  1392. package/node_modules/d3-geo/src/distance.js +0 -10
  1393. package/node_modules/d3-geo/src/graticule.js +0 -105
  1394. package/node_modules/d3-geo/src/identity.js +0 -3
  1395. package/node_modules/d3-geo/src/interpolate.js +0 -36
  1396. package/node_modules/d3-geo/src/length.js +0 -53
  1397. package/node_modules/d3-geo/src/math.js +0 -35
  1398. package/node_modules/d3-geo/src/noop.js +0 -1
  1399. package/node_modules/d3-geo/src/path/area.js +0 -50
  1400. package/node_modules/d3-geo/src/path/bounds.js +0 -28
  1401. package/node_modules/d3-geo/src/path/centroid.js +0 -100
  1402. package/node_modules/d3-geo/src/path/context.js +0 -45
  1403. package/node_modules/d3-geo/src/path/index.js +0 -61
  1404. package/node_modules/d3-geo/src/path/measure.js +0 -45
  1405. package/node_modules/d3-geo/src/path/string.js +0 -59
  1406. package/node_modules/d3-geo/src/pointEqual.js +0 -5
  1407. package/node_modules/d3-geo/src/polygonContains.js +0 -68
  1408. package/node_modules/d3-geo/src/projection/albers.js +0 -10
  1409. package/node_modules/d3-geo/src/projection/albersUsa.js +0 -103
  1410. package/node_modules/d3-geo/src/projection/azimuthal.js +0 -26
  1411. package/node_modules/d3-geo/src/projection/azimuthalEqualArea.js +0 -17
  1412. package/node_modules/d3-geo/src/projection/azimuthalEquidistant.js +0 -17
  1413. package/node_modules/d3-geo/src/projection/conic.js +0 -15
  1414. package/node_modules/d3-geo/src/projection/conicConformal.js +0 -35
  1415. package/node_modules/d3-geo/src/projection/conicEqualArea.js +0 -30
  1416. package/node_modules/d3-geo/src/projection/conicEquidistant.js +0 -29
  1417. package/node_modules/d3-geo/src/projection/cylindricalEqualArea.js +0 -15
  1418. package/node_modules/d3-geo/src/projection/equirectangular.js +0 -12
  1419. package/node_modules/d3-geo/src/projection/fit.js +0 -31
  1420. package/node_modules/d3-geo/src/projection/gnomonic.js +0 -16
  1421. package/node_modules/d3-geo/src/projection/identity.js +0 -52
  1422. package/node_modules/d3-geo/src/projection/index.js +0 -106
  1423. package/node_modules/d3-geo/src/projection/mercator.js +0 -52
  1424. package/node_modules/d3-geo/src/projection/naturalEarth1.js +0 -28
  1425. package/node_modules/d3-geo/src/projection/orthographic.js +0 -15
  1426. package/node_modules/d3-geo/src/projection/resample.js +0 -102
  1427. package/node_modules/d3-geo/src/projection/stereographic.js +0 -18
  1428. package/node_modules/d3-geo/src/projection/transverseMercator.js +0 -27
  1429. package/node_modules/d3-geo/src/rotation.js +0 -76
  1430. package/node_modules/d3-geo/src/stream.js +0 -69
  1431. package/node_modules/d3-geo/src/transform.js +0 -26
  1432. package/node_modules/d3-voronoi/.eslintrc +0 -9
  1433. package/node_modules/d3-voronoi/.npmignore +0 -3
  1434. package/node_modules/d3-voronoi/LICENSE +0 -50
  1435. package/node_modules/d3-voronoi/README.md +0 -160
  1436. package/node_modules/d3-voronoi/build/d3-voronoi.js +0 -999
  1437. package/node_modules/d3-voronoi/build/d3-voronoi.min.js +0 -2
  1438. package/node_modules/d3-voronoi/graph.png +0 -0
  1439. package/node_modules/d3-voronoi/index.js +0 -1
  1440. package/node_modules/d3-voronoi/package.json +0 -37
  1441. package/node_modules/d3-voronoi/src/Beach.js +0 -193
  1442. package/node_modules/d3-voronoi/src/Cell.js +0 -126
  1443. package/node_modules/d3-voronoi/src/Circle.js +0 -78
  1444. package/node_modules/d3-voronoi/src/Diagram.js +0 -142
  1445. package/node_modules/d3-voronoi/src/Edge.js +0 -168
  1446. package/node_modules/d3-voronoi/src/RedBlackTree.js +0 -237
  1447. package/node_modules/d3-voronoi/src/constant.js +0 -5
  1448. package/node_modules/d3-voronoi/src/point.js +0 -7
  1449. package/node_modules/d3-voronoi/src/voronoi.js +0 -48
  1450. package/node_modules/earcut/LICENSE +0 -15
  1451. package/node_modules/earcut/README.md +0 -255
  1452. package/node_modules/earcut/dist/earcut.dev.js +0 -687
  1453. package/node_modules/earcut/dist/earcut.min.js +0 -1
  1454. package/node_modules/earcut/package.json +0 -43
  1455. package/node_modules/earcut/src/earcut.js +0 -681
  1456. package/node_modules/fast-deep-equal/LICENSE +0 -21
  1457. package/node_modules/fast-deep-equal/README.md +0 -96
  1458. package/node_modules/fast-deep-equal/es6/index.d.ts +0 -2
  1459. package/node_modules/fast-deep-equal/es6/index.js +0 -72
  1460. package/node_modules/fast-deep-equal/es6/react.d.ts +0 -2
  1461. package/node_modules/fast-deep-equal/es6/react.js +0 -79
  1462. package/node_modules/fast-deep-equal/index.d.ts +0 -4
  1463. package/node_modules/fast-deep-equal/index.js +0 -46
  1464. package/node_modules/fast-deep-equal/package.json +0 -61
  1465. package/node_modules/fast-deep-equal/react.d.ts +0 -2
  1466. package/node_modules/fast-deep-equal/react.js +0 -53
  1467. package/node_modules/geojson-equality-ts/LICENSE.md +0 -22
  1468. package/node_modules/geojson-equality-ts/README.md +0 -157
  1469. package/node_modules/geojson-equality-ts/dist/cjs/index.cjs +0 -164
  1470. package/node_modules/geojson-equality-ts/dist/cjs/index.cjs.map +0 -1
  1471. package/node_modules/geojson-equality-ts/dist/cjs/index.d.cts +0 -37
  1472. package/node_modules/geojson-equality-ts/dist/esm/index.d.ts +0 -37
  1473. package/node_modules/geojson-equality-ts/dist/esm/index.js +0 -164
  1474. package/node_modules/geojson-equality-ts/dist/esm/index.js.map +0 -1
  1475. package/node_modules/geojson-equality-ts/package.json +0 -62
  1476. package/node_modules/geojson-polygon-self-intersections/LICENSE +0 -21
  1477. package/node_modules/geojson-polygon-self-intersections/README.md +0 -63
  1478. package/node_modules/geojson-polygon-self-intersections/index.js +0 -196
  1479. package/node_modules/geojson-polygon-self-intersections/node_modules/quickselect/LICENSE +0 -15
  1480. package/node_modules/geojson-polygon-self-intersections/node_modules/quickselect/README.md +0 -28
  1481. package/node_modules/geojson-polygon-self-intersections/node_modules/quickselect/index.js +0 -54
  1482. package/node_modules/geojson-polygon-self-intersections/node_modules/quickselect/package.json +0 -42
  1483. package/node_modules/geojson-polygon-self-intersections/node_modules/quickselect/quickselect.js +0 -63
  1484. package/node_modules/geojson-polygon-self-intersections/node_modules/rbush/LICENSE +0 -21
  1485. package/node_modules/geojson-polygon-self-intersections/node_modules/rbush/README.md +0 -291
  1486. package/node_modules/geojson-polygon-self-intersections/node_modules/rbush/index.js +0 -562
  1487. package/node_modules/geojson-polygon-self-intersections/node_modules/rbush/package.json +0 -55
  1488. package/node_modules/geojson-polygon-self-intersections/node_modules/rbush/rbush.js +0 -626
  1489. package/node_modules/geojson-polygon-self-intersections/node_modules/rbush/rbush.min.js +0 -1
  1490. package/node_modules/geojson-polygon-self-intersections/package.json +0 -27
  1491. package/node_modules/jsts/README.md +0 -39
  1492. package/node_modules/jsts/dist/jsts.es6.js +0 -33000
  1493. package/node_modules/jsts/dist/jsts.es6.js.map +0 -1
  1494. package/node_modules/jsts/dist/jsts.es6.min.js +0 -8
  1495. package/node_modules/jsts/dist/jsts.es6.min.js.map +0 -1
  1496. package/node_modules/jsts/dist/jsts.js +0 -33200
  1497. package/node_modules/jsts/dist/jsts.js.map +0 -1
  1498. package/node_modules/jsts/dist/jsts.min.js +0 -8
  1499. package/node_modules/jsts/dist/jsts.min.js.map +0 -1
  1500. package/node_modules/jsts/hasInterface.js +0 -3
  1501. package/node_modules/jsts/java/io/ByteArrayOutputStream.js +0 -1
  1502. package/node_modules/jsts/java/io/IOException.js +0 -3
  1503. package/node_modules/jsts/java/io/InputStream.js +0 -1
  1504. package/node_modules/jsts/java/io/LineNumberReader.js +0 -1
  1505. package/node_modules/jsts/java/io/OutputStream.js +0 -1
  1506. package/node_modules/jsts/java/io/PrintStream.js +0 -1
  1507. package/node_modules/jsts/java/io/Serializable.js +0 -1
  1508. package/node_modules/jsts/java/io/StringReader.js +0 -1
  1509. package/node_modules/jsts/java/io/StringWriter.js +0 -1
  1510. package/node_modules/jsts/java/io/Writer.js +0 -1
  1511. package/node_modules/jsts/java/lang/Character.js +0 -9
  1512. package/node_modules/jsts/java/lang/Cloneable.js +0 -1
  1513. package/node_modules/jsts/java/lang/Comparable.js +0 -1
  1514. package/node_modules/jsts/java/lang/Double.js +0 -301
  1515. package/node_modules/jsts/java/lang/Exception.js +0 -9
  1516. package/node_modules/jsts/java/lang/IllegalArgumentException.js +0 -8
  1517. package/node_modules/jsts/java/lang/IndexOutOfBoundsException.js +0 -8
  1518. package/node_modules/jsts/java/lang/Integer.js +0 -33
  1519. package/node_modules/jsts/java/lang/Long.js +0 -16
  1520. package/node_modules/jsts/java/lang/RuntimeException.js +0 -8
  1521. package/node_modules/jsts/java/lang/StringBuffer.js +0 -14
  1522. package/node_modules/jsts/java/lang/StringBuilder.js +0 -14
  1523. package/node_modules/jsts/java/lang/System.js +0 -15
  1524. package/node_modules/jsts/java/lang/UnsupportedOperationException.js +0 -8
  1525. package/node_modules/jsts/java/text/DecimalFormat.js +0 -1
  1526. package/node_modules/jsts/java/text/DecimalFormatSymbols.js +0 -1
  1527. package/node_modules/jsts/java/util/ArrayList.js +0 -109
  1528. package/node_modules/jsts/java/util/Arrays.js +0 -44
  1529. package/node_modules/jsts/java/util/Collection.js +0 -47
  1530. package/node_modules/jsts/java/util/Collections.js +0 -35
  1531. package/node_modules/jsts/java/util/Comparator.js +0 -1
  1532. package/node_modules/jsts/java/util/EmptyStackException.js +0 -8
  1533. package/node_modules/jsts/java/util/HashMap.js +0 -43
  1534. package/node_modules/jsts/java/util/HashSet.js +0 -87
  1535. package/node_modules/jsts/java/util/Iterator.js +0 -24
  1536. package/node_modules/jsts/java/util/LinkedList.js +0 -17
  1537. package/node_modules/jsts/java/util/List.js +0 -26
  1538. package/node_modules/jsts/java/util/Map.js +0 -51
  1539. package/node_modules/jsts/java/util/NoSuchElementException.js +0 -8
  1540. package/node_modules/jsts/java/util/PriorityQueue.js +0 -78
  1541. package/node_modules/jsts/java/util/Set.js +0 -19
  1542. package/node_modules/jsts/java/util/SortedMap.js +0 -6
  1543. package/node_modules/jsts/java/util/SortedSet.js +0 -6
  1544. package/node_modules/jsts/java/util/Stack.js +0 -103
  1545. package/node_modules/jsts/java/util/TreeMap.js +0 -262
  1546. package/node_modules/jsts/java/util/TreeSet.js +0 -82
  1547. package/node_modules/jsts/org/locationtech/jts/JTSVersion.js +0 -25
  1548. package/node_modules/jsts/org/locationtech/jts/algorithm/Angle.js +0 -97
  1549. package/node_modules/jsts/org/locationtech/jts/algorithm/Area.js +0 -50
  1550. package/node_modules/jsts/org/locationtech/jts/algorithm/BoundaryNodeRule.js +0 -44
  1551. package/node_modules/jsts/org/locationtech/jts/algorithm/CGAlgorithms3D.js +0 -58
  1552. package/node_modules/jsts/org/locationtech/jts/algorithm/CGAlgorithmsDD.js +0 -78
  1553. package/node_modules/jsts/org/locationtech/jts/algorithm/Centroid.js +0 -123
  1554. package/node_modules/jsts/org/locationtech/jts/algorithm/ConvexHull.js +0 -244
  1555. package/node_modules/jsts/org/locationtech/jts/algorithm/Distance.js +0 -55
  1556. package/node_modules/jsts/org/locationtech/jts/algorithm/HCoordinate.js +0 -76
  1557. package/node_modules/jsts/org/locationtech/jts/algorithm/InteriorPoint.js +0 -18
  1558. package/node_modules/jsts/org/locationtech/jts/algorithm/InteriorPointArea.js +0 -194
  1559. package/node_modules/jsts/org/locationtech/jts/algorithm/InteriorPointLine.js +0 -74
  1560. package/node_modules/jsts/org/locationtech/jts/algorithm/InteriorPointPoint.js +0 -46
  1561. package/node_modules/jsts/org/locationtech/jts/algorithm/Intersection.js +0 -43
  1562. package/node_modules/jsts/org/locationtech/jts/algorithm/Length.js +0 -23
  1563. package/node_modules/jsts/org/locationtech/jts/algorithm/LineIntersector.js +0 -152
  1564. package/node_modules/jsts/org/locationtech/jts/algorithm/MinimumBoundingCircle.js +0 -180
  1565. package/node_modules/jsts/org/locationtech/jts/algorithm/MinimumDiameter.js +0 -162
  1566. package/node_modules/jsts/org/locationtech/jts/algorithm/NotRepresentableException.js +0 -10
  1567. package/node_modules/jsts/org/locationtech/jts/algorithm/Orientation.js +0 -86
  1568. package/node_modules/jsts/org/locationtech/jts/algorithm/PointLocation.js +0 -44
  1569. package/node_modules/jsts/org/locationtech/jts/algorithm/PointLocator.js +0 -111
  1570. package/node_modules/jsts/org/locationtech/jts/algorithm/RayCrossingCounter.js +0 -87
  1571. package/node_modules/jsts/org/locationtech/jts/algorithm/RectangleLineIntersector.js +0 -42
  1572. package/node_modules/jsts/org/locationtech/jts/algorithm/RobustDeterminant.js +0 -196
  1573. package/node_modules/jsts/org/locationtech/jts/algorithm/RobustLineIntersector.js +0 -155
  1574. package/node_modules/jsts/org/locationtech/jts/algorithm/construct/LargestEmptyCircle.js +0 -193
  1575. package/node_modules/jsts/org/locationtech/jts/algorithm/construct/MaximumInscribedCircle.js +0 -167
  1576. package/node_modules/jsts/org/locationtech/jts/algorithm/distance/DiscreteHausdorffDistance.js +0 -128
  1577. package/node_modules/jsts/org/locationtech/jts/algorithm/distance/DistanceToPoint.js +0 -46
  1578. package/node_modules/jsts/org/locationtech/jts/algorithm/distance/PointPairDistance.js +0 -70
  1579. package/node_modules/jsts/org/locationtech/jts/algorithm/distance_module.js +0 -9
  1580. package/node_modules/jsts/org/locationtech/jts/algorithm/locate/IndexedPointInAreaLocator.js +0 -96
  1581. package/node_modules/jsts/org/locationtech/jts/algorithm/locate/PointOnGeometryLocator.js +0 -3
  1582. package/node_modules/jsts/org/locationtech/jts/algorithm/locate/SimplePointInAreaLocator.js +0 -66
  1583. package/node_modules/jsts/org/locationtech/jts/algorithm/locate.js +0 -9
  1584. package/node_modules/jsts/org/locationtech/jts/algorithm/match/AreaSimilarityMeasure.js +0 -11
  1585. package/node_modules/jsts/org/locationtech/jts/algorithm/match/HausdorffSimilarityMeasure.js +0 -23
  1586. package/node_modules/jsts/org/locationtech/jts/algorithm/match/SimilarityMeasure.js +0 -3
  1587. package/node_modules/jsts/org/locationtech/jts/algorithm/match/SimilarityMeasureCombiner.js +0 -5
  1588. package/node_modules/jsts/org/locationtech/jts/algorithm/match.js +0 -11
  1589. package/node_modules/jsts/org/locationtech/jts/algorithm.js +0 -41
  1590. package/node_modules/jsts/org/locationtech/jts/densify/Densifier.js +0 -85
  1591. package/node_modules/jsts/org/locationtech/jts/densify.js +0 -5
  1592. package/node_modules/jsts/org/locationtech/jts/dissolve/DissolveEdgeGraph.js +0 -10
  1593. package/node_modules/jsts/org/locationtech/jts/dissolve/DissolveHalfEdge.js +0 -18
  1594. package/node_modules/jsts/org/locationtech/jts/dissolve/LineDissolver.js +0 -148
  1595. package/node_modules/jsts/org/locationtech/jts/dissolve.js +0 -5
  1596. package/node_modules/jsts/org/locationtech/jts/edgegraph/EdgeGraph.js +0 -59
  1597. package/node_modules/jsts/org/locationtech/jts/edgegraph/EdgeGraphBuilder.js +0 -49
  1598. package/node_modules/jsts/org/locationtech/jts/edgegraph/HalfEdge.js +0 -185
  1599. package/node_modules/jsts/org/locationtech/jts/edgegraph/MarkHalfEdge.js +0 -38
  1600. package/node_modules/jsts/org/locationtech/jts/geom/Coordinate.js +0 -219
  1601. package/node_modules/jsts/org/locationtech/jts/geom/CoordinateArrays.js +0 -245
  1602. package/node_modules/jsts/org/locationtech/jts/geom/CoordinateFilter.js +0 -3
  1603. package/node_modules/jsts/org/locationtech/jts/geom/CoordinateList.js +0 -130
  1604. package/node_modules/jsts/org/locationtech/jts/geom/CoordinateSequence.js +0 -53
  1605. package/node_modules/jsts/org/locationtech/jts/geom/CoordinateSequenceComparator.js +0 -67
  1606. package/node_modules/jsts/org/locationtech/jts/geom/CoordinateSequenceFactory.js +0 -18
  1607. package/node_modules/jsts/org/locationtech/jts/geom/CoordinateSequenceFilter.js +0 -5
  1608. package/node_modules/jsts/org/locationtech/jts/geom/CoordinateSequences.js +0 -139
  1609. package/node_modules/jsts/org/locationtech/jts/geom/CoordinateXY.js +0 -66
  1610. package/node_modules/jsts/org/locationtech/jts/geom/CoordinateXYM.js +0 -83
  1611. package/node_modules/jsts/org/locationtech/jts/geom/CoordinateXYZM.js +0 -78
  1612. package/node_modules/jsts/org/locationtech/jts/geom/Coordinates.js +0 -48
  1613. package/node_modules/jsts/org/locationtech/jts/geom/Dimension.js +0 -50
  1614. package/node_modules/jsts/org/locationtech/jts/geom/Envelope.js +0 -360
  1615. package/node_modules/jsts/org/locationtech/jts/geom/Geometry.js +0 -230
  1616. package/node_modules/jsts/org/locationtech/jts/geom/GeometryCollection.js +0 -211
  1617. package/node_modules/jsts/org/locationtech/jts/geom/GeometryCollectionIterator.js +0 -68
  1618. package/node_modules/jsts/org/locationtech/jts/geom/GeometryComponentFilter.js +0 -3
  1619. package/node_modules/jsts/org/locationtech/jts/geom/GeometryFactory.js +0 -267
  1620. package/node_modules/jsts/org/locationtech/jts/geom/GeometryFilter.js +0 -3
  1621. package/node_modules/jsts/org/locationtech/jts/geom/IntersectionMatrix.js +0 -212
  1622. package/node_modules/jsts/org/locationtech/jts/geom/LineSegment.js +0 -273
  1623. package/node_modules/jsts/org/locationtech/jts/geom/LineString.js +0 -210
  1624. package/node_modules/jsts/org/locationtech/jts/geom/Lineal.js +0 -1
  1625. package/node_modules/jsts/org/locationtech/jts/geom/LinearRing.js +0 -48
  1626. package/node_modules/jsts/org/locationtech/jts/geom/Location.js +0 -20
  1627. package/node_modules/jsts/org/locationtech/jts/geom/MultiLineString.js +0 -65
  1628. package/node_modules/jsts/org/locationtech/jts/geom/MultiPoint.js +0 -61
  1629. package/node_modules/jsts/org/locationtech/jts/geom/MultiPolygon.js +0 -62
  1630. package/node_modules/jsts/org/locationtech/jts/geom/OctagonalEnvelope.js +0 -273
  1631. package/node_modules/jsts/org/locationtech/jts/geom/Point.js +0 -140
  1632. package/node_modules/jsts/org/locationtech/jts/geom/Polygon.js +0 -275
  1633. package/node_modules/jsts/org/locationtech/jts/geom/Polygonal.js +0 -1
  1634. package/node_modules/jsts/org/locationtech/jts/geom/PrecisionModel.js +0 -133
  1635. package/node_modules/jsts/org/locationtech/jts/geom/Puntal.js +0 -1
  1636. package/node_modules/jsts/org/locationtech/jts/geom/TopologyException.js +0 -13
  1637. package/node_modules/jsts/org/locationtech/jts/geom/Triangle.js +0 -158
  1638. package/node_modules/jsts/org/locationtech/jts/geom/impl/CoordinateArraySequence.js +0 -177
  1639. package/node_modules/jsts/org/locationtech/jts/geom/impl/CoordinateArraySequenceFactory.js +0 -44
  1640. package/node_modules/jsts/org/locationtech/jts/geom/impl/PackedCoordinateSequenceFactory.js +0 -98
  1641. package/node_modules/jsts/org/locationtech/jts/geom/prep/AbstractPreparedPolygonContains.js +0 -60
  1642. package/node_modules/jsts/org/locationtech/jts/geom/prep/BasicPreparedGeometry.js +0 -74
  1643. package/node_modules/jsts/org/locationtech/jts/geom/prep/PreparedGeometry.js +0 -13
  1644. package/node_modules/jsts/org/locationtech/jts/geom/prep/PreparedGeometryFactory.js +0 -19
  1645. package/node_modules/jsts/org/locationtech/jts/geom/prep/PreparedLineString.js +0 -23
  1646. package/node_modules/jsts/org/locationtech/jts/geom/prep/PreparedLineStringIntersects.js +0 -37
  1647. package/node_modules/jsts/org/locationtech/jts/geom/prep/PreparedPoint.js +0 -15
  1648. package/node_modules/jsts/org/locationtech/jts/geom/prep/PreparedPolygon.js +0 -57
  1649. package/node_modules/jsts/org/locationtech/jts/geom/prep/PreparedPolygonContains.js +0 -22
  1650. package/node_modules/jsts/org/locationtech/jts/geom/prep/PreparedPolygonContainsProperly.js +0 -30
  1651. package/node_modules/jsts/org/locationtech/jts/geom/prep/PreparedPolygonCovers.js +0 -23
  1652. package/node_modules/jsts/org/locationtech/jts/geom/prep/PreparedPolygonIntersects.js +0 -31
  1653. package/node_modules/jsts/org/locationtech/jts/geom/prep/PreparedPolygonPredicate.js +0 -60
  1654. package/node_modules/jsts/org/locationtech/jts/geom/util/AffineTransformation.js +0 -393
  1655. package/node_modules/jsts/org/locationtech/jts/geom/util/AffineTransformationBuilder.js +0 -52
  1656. package/node_modules/jsts/org/locationtech/jts/geom/util/AffineTransformationFactory.js +0 -55
  1657. package/node_modules/jsts/org/locationtech/jts/geom/util/ComponentCoordinateExtracter.js +0 -25
  1658. package/node_modules/jsts/org/locationtech/jts/geom/util/GeometryCollectionMapper.js +0 -24
  1659. package/node_modules/jsts/org/locationtech/jts/geom/util/GeometryCombiner.js +0 -71
  1660. package/node_modules/jsts/org/locationtech/jts/geom/util/GeometryEditor.js +0 -138
  1661. package/node_modules/jsts/org/locationtech/jts/geom/util/GeometryExtracter.js +0 -41
  1662. package/node_modules/jsts/org/locationtech/jts/geom/util/GeometryMapper.js +0 -28
  1663. package/node_modules/jsts/org/locationtech/jts/geom/util/GeometryTransformer.js +0 -125
  1664. package/node_modules/jsts/org/locationtech/jts/geom/util/LineStringExtracter.js +0 -37
  1665. package/node_modules/jsts/org/locationtech/jts/geom/util/LinearComponentExtracter.js +0 -88
  1666. package/node_modules/jsts/org/locationtech/jts/geom/util/NoninvertibleTransformationException.js +0 -15
  1667. package/node_modules/jsts/org/locationtech/jts/geom/util/PointExtracter.js +0 -38
  1668. package/node_modules/jsts/org/locationtech/jts/geom/util/PolygonExtracter.js +0 -34
  1669. package/node_modules/jsts/org/locationtech/jts/geom/util/ShortCircuitedGeometryVisitor.js +0 -23
  1670. package/node_modules/jsts/org/locationtech/jts/geom/util/SineStarFactory.js +0 -62
  1671. package/node_modules/jsts/org/locationtech/jts/geom/util.js +0 -35
  1672. package/node_modules/jsts/org/locationtech/jts/geom.js +0 -51
  1673. package/node_modules/jsts/org/locationtech/jts/geomgraph/Depth.js +0 -85
  1674. package/node_modules/jsts/org/locationtech/jts/geomgraph/DirectedEdge.js +0 -143
  1675. package/node_modules/jsts/org/locationtech/jts/geomgraph/DirectedEdgeStar.js +0 -233
  1676. package/node_modules/jsts/org/locationtech/jts/geomgraph/Edge.js +0 -190
  1677. package/node_modules/jsts/org/locationtech/jts/geomgraph/EdgeEnd.js +0 -94
  1678. package/node_modules/jsts/org/locationtech/jts/geomgraph/EdgeEndStar.js +0 -173
  1679. package/node_modules/jsts/org/locationtech/jts/geomgraph/EdgeIntersection.js +0 -52
  1680. package/node_modules/jsts/org/locationtech/jts/geomgraph/EdgeIntersectionList.js +0 -74
  1681. package/node_modules/jsts/org/locationtech/jts/geomgraph/EdgeList.js +0 -57
  1682. package/node_modules/jsts/org/locationtech/jts/geomgraph/EdgeNodingValidator.js +0 -28
  1683. package/node_modules/jsts/org/locationtech/jts/geomgraph/EdgeRing.js +0 -160
  1684. package/node_modules/jsts/org/locationtech/jts/geomgraph/GeometryGraph.js +0 -238
  1685. package/node_modules/jsts/org/locationtech/jts/geomgraph/GraphComponent.js +0 -49
  1686. package/node_modules/jsts/org/locationtech/jts/geomgraph/Label.js +0 -132
  1687. package/node_modules/jsts/org/locationtech/jts/geomgraph/Node.js +0 -91
  1688. package/node_modules/jsts/org/locationtech/jts/geomgraph/NodeFactory.js +0 -6
  1689. package/node_modules/jsts/org/locationtech/jts/geomgraph/NodeMap.js +0 -64
  1690. package/node_modules/jsts/org/locationtech/jts/geomgraph/PlanarGraph.js +0 -138
  1691. package/node_modules/jsts/org/locationtech/jts/geomgraph/Position.js +0 -10
  1692. package/node_modules/jsts/org/locationtech/jts/geomgraph/Quadrant.js +0 -51
  1693. package/node_modules/jsts/org/locationtech/jts/geomgraph/TopologyLocation.js +0 -122
  1694. package/node_modules/jsts/org/locationtech/jts/geomgraph/index/EdgeSetIntersector.js +0 -1
  1695. package/node_modules/jsts/org/locationtech/jts/geomgraph/index/MonotoneChain.js +0 -15
  1696. package/node_modules/jsts/org/locationtech/jts/geomgraph/index/MonotoneChainEdge.js +0 -66
  1697. package/node_modules/jsts/org/locationtech/jts/geomgraph/index/MonotoneChainIndexer.js +0 -45
  1698. package/node_modules/jsts/org/locationtech/jts/geomgraph/index/SegmentIntersector.js +0 -109
  1699. package/node_modules/jsts/org/locationtech/jts/geomgraph/index/SimpleEdgeSetIntersector.js +0 -45
  1700. package/node_modules/jsts/org/locationtech/jts/geomgraph/index/SimpleMCSweepLineIntersector.js +0 -92
  1701. package/node_modules/jsts/org/locationtech/jts/geomgraph/index/SimpleSweepLineIntersector.js +0 -91
  1702. package/node_modules/jsts/org/locationtech/jts/geomgraph/index/SweepLineEvent.js +0 -61
  1703. package/node_modules/jsts/org/locationtech/jts/geomgraph/index/SweepLineSegment.js +0 -27
  1704. package/node_modules/jsts/org/locationtech/jts/geomgraph.js +0 -5
  1705. package/node_modules/jsts/org/locationtech/jts/index/ArrayListVisitor.js +0 -19
  1706. package/node_modules/jsts/org/locationtech/jts/index/ItemVisitor.js +0 -3
  1707. package/node_modules/jsts/org/locationtech/jts/index/SpatialIndex.js +0 -11
  1708. package/node_modules/jsts/org/locationtech/jts/index/bintree/Bintree.js +0 -69
  1709. package/node_modules/jsts/org/locationtech/jts/index/bintree/Interval.js +0 -67
  1710. package/node_modules/jsts/org/locationtech/jts/index/bintree/Key.js +0 -42
  1711. package/node_modules/jsts/org/locationtech/jts/index/bintree/Node.js +0 -89
  1712. package/node_modules/jsts/org/locationtech/jts/index/bintree/NodeBase.js +0 -93
  1713. package/node_modules/jsts/org/locationtech/jts/index/bintree/Root.js +0 -33
  1714. package/node_modules/jsts/org/locationtech/jts/index/chain/MonotoneChain.js +0 -99
  1715. package/node_modules/jsts/org/locationtech/jts/index/chain/MonotoneChainBuilder.js +0 -41
  1716. package/node_modules/jsts/org/locationtech/jts/index/chain/MonotoneChainOverlapAction.js +0 -20
  1717. package/node_modules/jsts/org/locationtech/jts/index/chain/MonotoneChainSelectAction.js +0 -18
  1718. package/node_modules/jsts/org/locationtech/jts/index/hprtree/HPRtree.js +0 -245
  1719. package/node_modules/jsts/org/locationtech/jts/index/hprtree/HilbertEncoder.js +0 -29
  1720. package/node_modules/jsts/org/locationtech/jts/index/hprtree/Item.js +0 -21
  1721. package/node_modules/jsts/org/locationtech/jts/index/intervalrtree/IntervalRTreeBranchNode.js +0 -26
  1722. package/node_modules/jsts/org/locationtech/jts/index/intervalrtree/IntervalRTreeLeafNode.js +0 -18
  1723. package/node_modules/jsts/org/locationtech/jts/index/intervalrtree/IntervalRTreeNode.js +0 -41
  1724. package/node_modules/jsts/org/locationtech/jts/index/intervalrtree/SortedPackedIntervalRTree.js +0 -66
  1725. package/node_modules/jsts/org/locationtech/jts/index/kdtree/KdNode.js +0 -61
  1726. package/node_modules/jsts/org/locationtech/jts/index/kdtree/KdNodeVisitor.js +0 -3
  1727. package/node_modules/jsts/org/locationtech/jts/index/kdtree/KdTree.js +0 -190
  1728. package/node_modules/jsts/org/locationtech/jts/index/kdtree.js +0 -5
  1729. package/node_modules/jsts/org/locationtech/jts/index/quadtree/DoubleBits.js +0 -84
  1730. package/node_modules/jsts/org/locationtech/jts/index/quadtree/IntervalSize.js +0 -12
  1731. package/node_modules/jsts/org/locationtech/jts/index/quadtree/Key.js +0 -52
  1732. package/node_modules/jsts/org/locationtech/jts/index/quadtree/Node.js +0 -110
  1733. package/node_modules/jsts/org/locationtech/jts/index/quadtree/NodeBase.js +0 -134
  1734. package/node_modules/jsts/org/locationtech/jts/index/quadtree/Quadtree.js +0 -78
  1735. package/node_modules/jsts/org/locationtech/jts/index/quadtree/Root.js +0 -35
  1736. package/node_modules/jsts/org/locationtech/jts/index/quadtree.js +0 -5
  1737. package/node_modules/jsts/org/locationtech/jts/index/strtree/AbstractNode.js +0 -43
  1738. package/node_modules/jsts/org/locationtech/jts/index/strtree/AbstractSTRtree.js +0 -281
  1739. package/node_modules/jsts/org/locationtech/jts/index/strtree/Boundable.js +0 -3
  1740. package/node_modules/jsts/org/locationtech/jts/index/strtree/BoundablePair.js +0 -89
  1741. package/node_modules/jsts/org/locationtech/jts/index/strtree/BoundablePairDistanceComparator.js +0 -34
  1742. package/node_modules/jsts/org/locationtech/jts/index/strtree/EnvelopeDistance.js +0 -48
  1743. package/node_modules/jsts/org/locationtech/jts/index/strtree/GeometryItemDistance.js +0 -13
  1744. package/node_modules/jsts/org/locationtech/jts/index/strtree/Interval.js +0 -37
  1745. package/node_modules/jsts/org/locationtech/jts/index/strtree/ItemBoundable.js +0 -23
  1746. package/node_modules/jsts/org/locationtech/jts/index/strtree/ItemDistance.js +0 -3
  1747. package/node_modules/jsts/org/locationtech/jts/index/strtree/SIRtree.js +0 -72
  1748. package/node_modules/jsts/org/locationtech/jts/index/strtree/STRtree.js +0 -284
  1749. package/node_modules/jsts/org/locationtech/jts/index/strtree.js +0 -5
  1750. package/node_modules/jsts/org/locationtech/jts/index/sweepline/SweepLineEvent.js +0 -50
  1751. package/node_modules/jsts/org/locationtech/jts/index/sweepline/SweepLineIndex.js +0 -49
  1752. package/node_modules/jsts/org/locationtech/jts/index/sweepline/SweepLineInterval.js +0 -28
  1753. package/node_modules/jsts/org/locationtech/jts/index/sweepline/SweepLineOverlapAction.js +0 -3
  1754. package/node_modules/jsts/org/locationtech/jts/index.js +0 -5
  1755. package/node_modules/jsts/org/locationtech/jts/io/GeoJSONParser.js +0 -420
  1756. package/node_modules/jsts/org/locationtech/jts/io/GeoJSONReader.js +0 -37
  1757. package/node_modules/jsts/org/locationtech/jts/io/GeoJSONWriter.js +0 -36
  1758. package/node_modules/jsts/org/locationtech/jts/io/OL3Parser.js +0 -189
  1759. package/node_modules/jsts/org/locationtech/jts/io/WKTParser.js +0 -784
  1760. package/node_modules/jsts/org/locationtech/jts/io/WKTReader.js +0 -42
  1761. package/node_modules/jsts/org/locationtech/jts/io/WKTWriter.js +0 -55
  1762. package/node_modules/jsts/org/locationtech/jts/io.js +0 -13
  1763. package/node_modules/jsts/org/locationtech/jts/linearref/ExtractLineByLocation.js +0 -64
  1764. package/node_modules/jsts/org/locationtech/jts/linearref/LengthIndexOfPoint.js +0 -61
  1765. package/node_modules/jsts/org/locationtech/jts/linearref/LengthIndexedLine.js +0 -78
  1766. package/node_modules/jsts/org/locationtech/jts/linearref/LengthLocationMap.js +0 -98
  1767. package/node_modules/jsts/org/locationtech/jts/linearref/LinearGeometryBuilder.js +0 -71
  1768. package/node_modules/jsts/org/locationtech/jts/linearref/LinearIterator.js +0 -76
  1769. package/node_modules/jsts/org/locationtech/jts/linearref/LinearLocation.js +0 -201
  1770. package/node_modules/jsts/org/locationtech/jts/linearref/LocationIndexOfLine.js +0 -29
  1771. package/node_modules/jsts/org/locationtech/jts/linearref/LocationIndexOfPoint.js +0 -64
  1772. package/node_modules/jsts/org/locationtech/jts/linearref/LocationIndexedLine.js +0 -60
  1773. package/node_modules/jsts/org/locationtech/jts/linearref.js +0 -15
  1774. package/node_modules/jsts/org/locationtech/jts/math/DD.js +0 -608
  1775. package/node_modules/jsts/org/locationtech/jts/math/MathUtil.js +0 -55
  1776. package/node_modules/jsts/org/locationtech/jts/math/Matrix.js +0 -43
  1777. package/node_modules/jsts/org/locationtech/jts/math/Plane3D.js +0 -36
  1778. package/node_modules/jsts/org/locationtech/jts/math/Vector2D.js +0 -172
  1779. package/node_modules/jsts/org/locationtech/jts/math/Vector3D.js +0 -104
  1780. package/node_modules/jsts/org/locationtech/jts/monkey.js +0 -146
  1781. package/node_modules/jsts/org/locationtech/jts/noding/BasicSegmentString.js +0 -44
  1782. package/node_modules/jsts/org/locationtech/jts/noding/FastNodingValidator.js +0 -60
  1783. package/node_modules/jsts/org/locationtech/jts/noding/FastSegmentSetIntersectionFinder.js +0 -26
  1784. package/node_modules/jsts/org/locationtech/jts/noding/InteriorIntersectionFinderAdder.js +0 -40
  1785. package/node_modules/jsts/org/locationtech/jts/noding/IntersectionAdder.js +0 -88
  1786. package/node_modules/jsts/org/locationtech/jts/noding/IteratedNoder.js +0 -53
  1787. package/node_modules/jsts/org/locationtech/jts/noding/MCIndexNoder.js +0 -85
  1788. package/node_modules/jsts/org/locationtech/jts/noding/MCIndexSegmentSetMutualIntersector.js +0 -82
  1789. package/node_modules/jsts/org/locationtech/jts/noding/NodableSegmentString.js +0 -7
  1790. package/node_modules/jsts/org/locationtech/jts/noding/NodedSegmentString.js +0 -96
  1791. package/node_modules/jsts/org/locationtech/jts/noding/Noder.js +0 -4
  1792. package/node_modules/jsts/org/locationtech/jts/noding/NodingIntersectionFinder.js +0 -139
  1793. package/node_modules/jsts/org/locationtech/jts/noding/NodingValidator.js +0 -96
  1794. package/node_modules/jsts/org/locationtech/jts/noding/Octant.js +0 -31
  1795. package/node_modules/jsts/org/locationtech/jts/noding/OrientedCoordinateArray.js +0 -44
  1796. package/node_modules/jsts/org/locationtech/jts/noding/ScaledNoder.js +0 -82
  1797. package/node_modules/jsts/org/locationtech/jts/noding/SegmentIntersectionDetector.js +0 -80
  1798. package/node_modules/jsts/org/locationtech/jts/noding/SegmentIntersector.js +0 -4
  1799. package/node_modules/jsts/org/locationtech/jts/noding/SegmentNode.js +0 -51
  1800. package/node_modules/jsts/org/locationtech/jts/noding/SegmentNodeList.js +0 -199
  1801. package/node_modules/jsts/org/locationtech/jts/noding/SegmentPointComparator.js +0 -40
  1802. package/node_modules/jsts/org/locationtech/jts/noding/SegmentSetMutualIntersector.js +0 -3
  1803. package/node_modules/jsts/org/locationtech/jts/noding/SegmentString.js +0 -8
  1804. package/node_modules/jsts/org/locationtech/jts/noding/SegmentStringDissolver.js +0 -53
  1805. package/node_modules/jsts/org/locationtech/jts/noding/SegmentStringUtil.js +0 -44
  1806. package/node_modules/jsts/org/locationtech/jts/noding/SimpleNoder.js +0 -33
  1807. package/node_modules/jsts/org/locationtech/jts/noding/SimpleSegmentSetMutualIntersector.js +0 -34
  1808. package/node_modules/jsts/org/locationtech/jts/noding/SinglePassNoder.js +0 -19
  1809. package/node_modules/jsts/org/locationtech/jts/noding/snapround/GeometryNoder.js +0 -59
  1810. package/node_modules/jsts/org/locationtech/jts/noding/snapround/HotPixel.js +0 -120
  1811. package/node_modules/jsts/org/locationtech/jts/noding/snapround/MCIndexPointSnapper.js +0 -65
  1812. package/node_modules/jsts/org/locationtech/jts/noding/snapround/MCIndexSnapRounder.js +0 -89
  1813. package/node_modules/jsts/org/locationtech/jts/noding/snapround/SimpleSnapRounder.js +0 -105
  1814. package/node_modules/jsts/org/locationtech/jts/noding.js +0 -9
  1815. package/node_modules/jsts/org/locationtech/jts/operation/BoundaryOp.js +0 -104
  1816. package/node_modules/jsts/org/locationtech/jts/operation/GeometryGraphOperation.js +0 -36
  1817. package/node_modules/jsts/org/locationtech/jts/operation/IsSimpleOp.js +0 -165
  1818. package/node_modules/jsts/org/locationtech/jts/operation/buffer/BufferBuilder.js +0 -148
  1819. package/node_modules/jsts/org/locationtech/jts/operation/buffer/BufferInputLineSimplifier.js +0 -96
  1820. package/node_modules/jsts/org/locationtech/jts/operation/buffer/BufferOp.js +0 -126
  1821. package/node_modules/jsts/org/locationtech/jts/operation/buffer/BufferParameters.js +0 -87
  1822. package/node_modules/jsts/org/locationtech/jts/operation/buffer/BufferSubgraph.js +0 -150
  1823. package/node_modules/jsts/org/locationtech/jts/operation/buffer/OffsetCurveBuilder.js +0 -170
  1824. package/node_modules/jsts/org/locationtech/jts/operation/buffer/OffsetCurveSetBuilder.js +0 -118
  1825. package/node_modules/jsts/org/locationtech/jts/operation/buffer/OffsetSegmentGenerator.js +0 -269
  1826. package/node_modules/jsts/org/locationtech/jts/operation/buffer/OffsetSegmentString.js +0 -62
  1827. package/node_modules/jsts/org/locationtech/jts/operation/buffer/RightmostEdgeFinder.js +0 -91
  1828. package/node_modules/jsts/org/locationtech/jts/operation/buffer/SubgraphDepthLocater.js +0 -100
  1829. package/node_modules/jsts/org/locationtech/jts/operation/buffer/VariableBuffer.js +0 -226
  1830. package/node_modules/jsts/org/locationtech/jts/operation/buffer/validate/BufferCurveMaximumDistanceFinder.js +0 -92
  1831. package/node_modules/jsts/org/locationtech/jts/operation/buffer/validate/BufferDistanceValidator.js +0 -107
  1832. package/node_modules/jsts/org/locationtech/jts/operation/buffer/validate/BufferResultValidator.js +0 -116
  1833. package/node_modules/jsts/org/locationtech/jts/operation/buffer/validate/DistanceToPointFinder.js +0 -46
  1834. package/node_modules/jsts/org/locationtech/jts/operation/buffer/validate/PointPairDistance.js +0 -66
  1835. package/node_modules/jsts/org/locationtech/jts/operation/buffer.js +0 -7
  1836. package/node_modules/jsts/org/locationtech/jts/operation/distance/ConnectedElementLocationFilter.js +0 -28
  1837. package/node_modules/jsts/org/locationtech/jts/operation/distance/ConnectedElementPointFilter.js +0 -26
  1838. package/node_modules/jsts/org/locationtech/jts/operation/distance/DistanceOp.js +0 -231
  1839. package/node_modules/jsts/org/locationtech/jts/operation/distance/FacetSequence.js +0 -150
  1840. package/node_modules/jsts/org/locationtech/jts/operation/distance/FacetSequenceTreeBuilder.js +0 -50
  1841. package/node_modules/jsts/org/locationtech/jts/operation/distance/GeometryLocation.js +0 -36
  1842. package/node_modules/jsts/org/locationtech/jts/operation/distance/IndexedFacetDistance.js +0 -68
  1843. package/node_modules/jsts/org/locationtech/jts/operation/distance.js +0 -5
  1844. package/node_modules/jsts/org/locationtech/jts/operation/distance3d/AxisPlaneCoordinateSequence.js +0 -82
  1845. package/node_modules/jsts/org/locationtech/jts/operation/distance3d/Distance3DOp.js +0 -299
  1846. package/node_modules/jsts/org/locationtech/jts/operation/distance3d/PlanarPolygon3D.js +0 -110
  1847. package/node_modules/jsts/org/locationtech/jts/operation/linemerge/EdgeString.js +0 -42
  1848. package/node_modules/jsts/org/locationtech/jts/operation/linemerge/LineMergeDirectedEdge.js +0 -22
  1849. package/node_modules/jsts/org/locationtech/jts/operation/linemerge/LineMergeEdge.js +0 -15
  1850. package/node_modules/jsts/org/locationtech/jts/operation/linemerge/LineMergeGraph.js +0 -34
  1851. package/node_modules/jsts/org/locationtech/jts/operation/linemerge/LineMerger.js +0 -108
  1852. package/node_modules/jsts/org/locationtech/jts/operation/linemerge/LineSequencer.js +0 -245
  1853. package/node_modules/jsts/org/locationtech/jts/operation/linemerge.js +0 -7
  1854. package/node_modules/jsts/org/locationtech/jts/operation/overlay/ConsistentPolygonRingChecker.js +0 -69
  1855. package/node_modules/jsts/org/locationtech/jts/operation/overlay/EdgeSetNoder.js +0 -28
  1856. package/node_modules/jsts/org/locationtech/jts/operation/overlay/LineBuilder.js +0 -89
  1857. package/node_modules/jsts/org/locationtech/jts/operation/overlay/MaximalEdgeRing.js +0 -39
  1858. package/node_modules/jsts/org/locationtech/jts/operation/overlay/MinimalEdgeRing.js +0 -17
  1859. package/node_modules/jsts/org/locationtech/jts/operation/overlay/OverlayNodeFactory.js +0 -11
  1860. package/node_modules/jsts/org/locationtech/jts/operation/overlay/OverlayOp.js +0 -312
  1861. package/node_modules/jsts/org/locationtech/jts/operation/overlay/PointBuilder.js +0 -39
  1862. package/node_modules/jsts/org/locationtech/jts/operation/overlay/PolygonBuilder.js +0 -144
  1863. package/node_modules/jsts/org/locationtech/jts/operation/overlay/snap/GeometrySnapper.js +0 -118
  1864. package/node_modules/jsts/org/locationtech/jts/operation/overlay/snap/LineStringSnapper.js +0 -87
  1865. package/node_modules/jsts/org/locationtech/jts/operation/overlay/snap/SnapIfNeededOverlayOp.js +0 -54
  1866. package/node_modules/jsts/org/locationtech/jts/operation/overlay/snap/SnapOverlayOp.js +0 -70
  1867. package/node_modules/jsts/org/locationtech/jts/operation/overlay/snap.js +0 -7
  1868. package/node_modules/jsts/org/locationtech/jts/operation/overlay/validate/FuzzyPointLocator.js +0 -71
  1869. package/node_modules/jsts/org/locationtech/jts/operation/overlay/validate/OffsetPointGenerator.js +0 -51
  1870. package/node_modules/jsts/org/locationtech/jts/operation/overlay/validate/OverlayResultValidator.js +0 -81
  1871. package/node_modules/jsts/org/locationtech/jts/operation/overlay.js +0 -7
  1872. package/node_modules/jsts/org/locationtech/jts/operation/polygonize/EdgeRing.js +0 -235
  1873. package/node_modules/jsts/org/locationtech/jts/operation/polygonize/HoleAssigner.js +0 -44
  1874. package/node_modules/jsts/org/locationtech/jts/operation/polygonize/PolygonizeDirectedEdge.js +0 -35
  1875. package/node_modules/jsts/org/locationtech/jts/operation/polygonize/PolygonizeEdge.js +0 -15
  1876. package/node_modules/jsts/org/locationtech/jts/operation/polygonize/PolygonizeGraph.js +0 -247
  1877. package/node_modules/jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js +0 -170
  1878. package/node_modules/jsts/org/locationtech/jts/operation/polygonize.js +0 -5
  1879. package/node_modules/jsts/org/locationtech/jts/operation/predicate/RectangleContains.js +0 -62
  1880. package/node_modules/jsts/org/locationtech/jts/operation/predicate/RectangleIntersects.js +0 -151
  1881. package/node_modules/jsts/org/locationtech/jts/operation/relate/EdgeEndBuilder.js +0 -56
  1882. package/node_modules/jsts/org/locationtech/jts/operation/relate/EdgeEndBundle.js +0 -93
  1883. package/node_modules/jsts/org/locationtech/jts/operation/relate/EdgeEndBundleStar.js +0 -22
  1884. package/node_modules/jsts/org/locationtech/jts/operation/relate/RelateComputer.js +0 -168
  1885. package/node_modules/jsts/org/locationtech/jts/operation/relate/RelateNode.js +0 -17
  1886. package/node_modules/jsts/org/locationtech/jts/operation/relate/RelateNodeFactory.js +0 -11
  1887. package/node_modules/jsts/org/locationtech/jts/operation/relate/RelateNodeGraph.js +0 -48
  1888. package/node_modules/jsts/org/locationtech/jts/operation/relate/RelateOp.js +0 -101
  1889. package/node_modules/jsts/org/locationtech/jts/operation/relate.js +0 -5
  1890. package/node_modules/jsts/org/locationtech/jts/operation/union/CascadedPolygonUnion.js +0 -124
  1891. package/node_modules/jsts/org/locationtech/jts/operation/union/InputExtracter.js +0 -93
  1892. package/node_modules/jsts/org/locationtech/jts/operation/union/OverlapUnion.js +0 -146
  1893. package/node_modules/jsts/org/locationtech/jts/operation/union/PointGeometryUnion.js +0 -42
  1894. package/node_modules/jsts/org/locationtech/jts/operation/union/UnaryUnionOp.js +0 -97
  1895. package/node_modules/jsts/org/locationtech/jts/operation/union/UnionInteracting.js +0 -70
  1896. package/node_modules/jsts/org/locationtech/jts/operation/union/UnionOp.js +0 -22
  1897. package/node_modules/jsts/org/locationtech/jts/operation/union.js +0 -5
  1898. package/node_modules/jsts/org/locationtech/jts/operation/valid/ConnectedInteriorTester.js +0 -118
  1899. package/node_modules/jsts/org/locationtech/jts/operation/valid/ConsistentAreaTester.js +0 -50
  1900. package/node_modules/jsts/org/locationtech/jts/operation/valid/IndexedNestedRingTester.js +0 -56
  1901. package/node_modules/jsts/org/locationtech/jts/operation/valid/IsValidOp.js +0 -323
  1902. package/node_modules/jsts/org/locationtech/jts/operation/valid/RepeatedPointTester.js +0 -48
  1903. package/node_modules/jsts/org/locationtech/jts/operation/valid/TopologyValidationError.js +0 -44
  1904. package/node_modules/jsts/org/locationtech/jts/operation/valid.js +0 -7
  1905. package/node_modules/jsts/org/locationtech/jts/operation.js +0 -23
  1906. package/node_modules/jsts/org/locationtech/jts/planargraph/DirectedEdge.js +0 -99
  1907. package/node_modules/jsts/org/locationtech/jts/planargraph/DirectedEdgeStar.js +0 -75
  1908. package/node_modules/jsts/org/locationtech/jts/planargraph/Edge.js +0 -46
  1909. package/node_modules/jsts/org/locationtech/jts/planargraph/GraphComponent.js +0 -53
  1910. package/node_modules/jsts/org/locationtech/jts/planargraph/Node.js +0 -55
  1911. package/node_modules/jsts/org/locationtech/jts/planargraph/NodeMap.js +0 -25
  1912. package/node_modules/jsts/org/locationtech/jts/planargraph/PlanarGraph.js +0 -96
  1913. package/node_modules/jsts/org/locationtech/jts/planargraph/Subgraph.js +0 -39
  1914. package/node_modules/jsts/org/locationtech/jts/planargraph/algorithm/ConnectedSubgraphFinder.js +0 -48
  1915. package/node_modules/jsts/org/locationtech/jts/precision/CommonBits.js +0 -86
  1916. package/node_modules/jsts/org/locationtech/jts/precision/CommonBitsOp.js +0 -58
  1917. package/node_modules/jsts/org/locationtech/jts/precision/CommonBitsRemover.js +0 -81
  1918. package/node_modules/jsts/org/locationtech/jts/precision/CoordinatePrecisionReducerFilter.js +0 -24
  1919. package/node_modules/jsts/org/locationtech/jts/precision/EnhancedPrecisionOp.js +0 -109
  1920. package/node_modules/jsts/org/locationtech/jts/precision/GeometryPrecisionReducer.js +0 -80
  1921. package/node_modules/jsts/org/locationtech/jts/precision/MinimumClearance.js +0 -125
  1922. package/node_modules/jsts/org/locationtech/jts/precision/PrecisionReducerCoordinateOperation.js +0 -44
  1923. package/node_modules/jsts/org/locationtech/jts/precision/SimpleMinimumClearance.js +0 -114
  1924. package/node_modules/jsts/org/locationtech/jts/precision.js +0 -17
  1925. package/node_modules/jsts/org/locationtech/jts/shape/GeometricShapeBuilder.js +0 -50
  1926. package/node_modules/jsts/org/locationtech/jts/shape/fractal/HilbertCode.js +0 -109
  1927. package/node_modules/jsts/org/locationtech/jts/shape/fractal/HilbertCurveBuilder.js +0 -44
  1928. package/node_modules/jsts/org/locationtech/jts/shape/fractal/KochSnowflakeBuilder.js +0 -65
  1929. package/node_modules/jsts/org/locationtech/jts/shape/fractal/MortonCode.js +0 -49
  1930. package/node_modules/jsts/org/locationtech/jts/shape/fractal/MortonCurveBuilder.js +0 -43
  1931. package/node_modules/jsts/org/locationtech/jts/shape/fractal/SierpinskiCarpetBuilder.js +0 -52
  1932. package/node_modules/jsts/org/locationtech/jts/shape/random/RandomPointsBuilder.js +0 -60
  1933. package/node_modules/jsts/org/locationtech/jts/shape/random/RandomPointsInGridBuilder.js +0 -71
  1934. package/node_modules/jsts/org/locationtech/jts/simplify/DouglasPeuckerLineSimplifier.js +0 -60
  1935. package/node_modules/jsts/org/locationtech/jts/simplify/DouglasPeuckerSimplifier.js +0 -81
  1936. package/node_modules/jsts/org/locationtech/jts/simplify/LineSegmentIndex.js +0 -58
  1937. package/node_modules/jsts/org/locationtech/jts/simplify/TaggedLineSegment.js +0 -26
  1938. package/node_modules/jsts/org/locationtech/jts/simplify/TaggedLineString.js +0 -71
  1939. package/node_modules/jsts/org/locationtech/jts/simplify/TaggedLineStringSimplifier.js +0 -124
  1940. package/node_modules/jsts/org/locationtech/jts/simplify/TaggedLinesSimplifier.js +0 -25
  1941. package/node_modules/jsts/org/locationtech/jts/simplify/TopologyPreservingSimplifier.js +0 -79
  1942. package/node_modules/jsts/org/locationtech/jts/simplify/VWLineSimplifier.js +0 -126
  1943. package/node_modules/jsts/org/locationtech/jts/simplify/VWSimplifier.js +0 -81
  1944. package/node_modules/jsts/org/locationtech/jts/simplify.js +0 -9
  1945. package/node_modules/jsts/org/locationtech/jts/triangulate/ConformingDelaunayTriangulationBuilder.js +0 -90
  1946. package/node_modules/jsts/org/locationtech/jts/triangulate/ConformingDelaunayTriangulator.js +0 -215
  1947. package/node_modules/jsts/org/locationtech/jts/triangulate/ConstraintEnforcementException.js +0 -27
  1948. package/node_modules/jsts/org/locationtech/jts/triangulate/ConstraintSplitPointFinder.js +0 -3
  1949. package/node_modules/jsts/org/locationtech/jts/triangulate/ConstraintVertex.js +0 -32
  1950. package/node_modules/jsts/org/locationtech/jts/triangulate/ConstraintVertexFactory.js +0 -3
  1951. package/node_modules/jsts/org/locationtech/jts/triangulate/DelaunayTriangulationBuilder.js +0 -80
  1952. package/node_modules/jsts/org/locationtech/jts/triangulate/IncrementalDelaunayTriangulator.js +0 -46
  1953. package/node_modules/jsts/org/locationtech/jts/triangulate/MidpointSplitPointFinder.js +0 -12
  1954. package/node_modules/jsts/org/locationtech/jts/triangulate/NonEncroachingSplitPointFinder.js +0 -27
  1955. package/node_modules/jsts/org/locationtech/jts/triangulate/Segment.js +0 -73
  1956. package/node_modules/jsts/org/locationtech/jts/triangulate/SplitSegment.js +0 -51
  1957. package/node_modules/jsts/org/locationtech/jts/triangulate/VertexTaggedGeometryDataMapper.js +0 -44
  1958. package/node_modules/jsts/org/locationtech/jts/triangulate/VoronoiDiagramBuilder.js +0 -78
  1959. package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge/EdgeConnectedTriangleTraversal.js +0 -35
  1960. package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge/LastFoundQuadEdgeLocator.js +0 -31
  1961. package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge/LocateFailureException.js +0 -32
  1962. package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge/QuadEdge.js +0 -142
  1963. package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge/QuadEdgeLocator.js +0 -3
  1964. package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge/QuadEdgeSubdivision.js +0 -443
  1965. package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge/QuadEdgeTriangle.js +0 -184
  1966. package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge/QuadEdgeUtil.js +0 -12
  1967. package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge/TraversalVisitor.js +0 -3
  1968. package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge/TrianglePredicate.js +0 -106
  1969. package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge/TriangleVisitor.js +0 -3
  1970. package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge/Vertex.js +0 -199
  1971. package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge.js +0 -5
  1972. package/node_modules/jsts/org/locationtech/jts/triangulate.js +0 -11
  1973. package/node_modules/jsts/org/locationtech/jts/util/Assert.js +0 -37
  1974. package/node_modules/jsts/org/locationtech/jts/util/AssertionFailedException.js +0 -15
  1975. package/node_modules/jsts/org/locationtech/jts/util/CollectionUtil.js +0 -27
  1976. package/node_modules/jsts/org/locationtech/jts/util/CoordinateArrayFilter.js +0 -21
  1977. package/node_modules/jsts/org/locationtech/jts/util/CoordinateCountFilter.js +0 -18
  1978. package/node_modules/jsts/org/locationtech/jts/util/GeometricShapeFactory.js +0 -258
  1979. package/node_modules/jsts/org/locationtech/jts/util/IntArrayList.js +0 -42
  1980. package/node_modules/jsts/org/locationtech/jts/util/Memory.js +0 -41
  1981. package/node_modules/jsts/org/locationtech/jts/util/NumberUtil.js +0 -5
  1982. package/node_modules/jsts/org/locationtech/jts/util/ObjectCounter.js +0 -36
  1983. package/node_modules/jsts/org/locationtech/jts/util/PriorityQueue.js +0 -56
  1984. package/node_modules/jsts/org/locationtech/jts/util/StringUtil.js +0 -63
  1985. package/node_modules/jsts/org/locationtech/jts/util/TestBuilderProxy.js +0 -33
  1986. package/node_modules/jsts/org/locationtech/jts/util/UniqueCoordinateArrayFilter.js +0 -31
  1987. package/node_modules/jsts/org/locationtech/jts/util.js +0 -21
  1988. package/node_modules/jsts/package.json +0 -62
  1989. package/node_modules/point-in-polygon/LICENSE +0 -21
  1990. package/node_modules/point-in-polygon/example/inside.js +0 -6
  1991. package/node_modules/point-in-polygon/flat.js +0 -15
  1992. package/node_modules/point-in-polygon/index.js +0 -12
  1993. package/node_modules/point-in-polygon/nested.js +0 -18
  1994. package/node_modules/point-in-polygon/package.json +0 -32
  1995. package/node_modules/point-in-polygon/readme.markdown +0 -51
  1996. package/node_modules/point-in-polygon/test/box-offset.js +0 -24
  1997. package/node_modules/point-in-polygon/test/box.js +0 -34
  1998. package/node_modules/point-in-polygon/test/flat-offset.js +0 -24
  1999. package/node_modules/point-in-polygon/test/flat.js +0 -24
  2000. package/node_modules/point-in-polygon-hao/LICENSE +0 -20
  2001. package/node_modules/point-in-polygon-hao/README.md +0 -74
  2002. package/node_modules/point-in-polygon-hao/dist/cjs/index.cjs +0 -322
  2003. package/node_modules/point-in-polygon-hao/dist/cjs/index.d.cts +0 -10
  2004. package/node_modules/point-in-polygon-hao/dist/esm/index.d.ts +0 -10
  2005. package/node_modules/point-in-polygon-hao/dist/esm/index.js +0 -56
  2006. package/node_modules/point-in-polygon-hao/dist/pointInPolygon.js +0 -328
  2007. package/node_modules/point-in-polygon-hao/dist/pointInPolygon.min.js +0 -1
  2008. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/LICENSE +0 -24
  2009. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/README.md +0 -82
  2010. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/incircle.js +0 -765
  2011. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/insphere.js +0 -766
  2012. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/orient2d.js +0 -184
  2013. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/orient3d.js +0 -462
  2014. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/util.js +0 -138
  2015. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/index.d.ts +0 -49
  2016. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/index.js +0 -5
  2017. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/package.json +0 -75
  2018. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/incircle.js +0 -908
  2019. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/incircle.min.js +0 -1
  2020. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/insphere.js +0 -914
  2021. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/insphere.min.js +0 -1
  2022. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/orient2d.js +0 -280
  2023. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/orient2d.min.js +0 -1
  2024. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/orient3d.js +0 -601
  2025. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/orient3d.min.js +0 -1
  2026. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/predicates.js +0 -2328
  2027. package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/predicates.min.js +0 -1
  2028. package/node_modules/point-in-polygon-hao/package.json +0 -57
  2029. package/node_modules/polyclip-ts/LICENSE +0 -21
  2030. package/node_modules/polyclip-ts/README.md +0 -101
  2031. package/node_modules/polyclip-ts/dist/cjs/index.cjs +0 -1179
  2032. package/node_modules/polyclip-ts/dist/cjs/index.cjs.map +0 -1
  2033. package/node_modules/polyclip-ts/dist/cjs/index.d.cts +0 -12
  2034. package/node_modules/polyclip-ts/dist/esm/index.d.ts +0 -12
  2035. package/node_modules/polyclip-ts/dist/esm/index.js +0 -1138
  2036. package/node_modules/polyclip-ts/dist/esm/index.js.map +0 -1
  2037. package/node_modules/polyclip-ts/dist/polyclip-ts.umd.js +0 -4811
  2038. package/node_modules/polyclip-ts/dist/polyclip-ts.umd.min.js +0 -2
  2039. package/node_modules/polyclip-ts/package.json +0 -72
  2040. package/node_modules/quickselect/LICENSE +0 -15
  2041. package/node_modules/quickselect/README.md +0 -28
  2042. package/node_modules/quickselect/index.js +0 -54
  2043. package/node_modules/quickselect/package.json +0 -43
  2044. package/node_modules/quickselect/quickselect.js +0 -63
  2045. package/node_modules/rbush/LICENSE +0 -21
  2046. package/node_modules/rbush/README.md +0 -218
  2047. package/node_modules/rbush/index.js +0 -512
  2048. package/node_modules/rbush/package.json +0 -56
  2049. package/node_modules/rbush/rbush.js +0 -574
  2050. package/node_modules/rbush/rbush.min.js +0 -1
  2051. package/node_modules/robust-predicates/LICENSE +0 -24
  2052. package/node_modules/robust-predicates/README.md +0 -82
  2053. package/node_modules/robust-predicates/esm/incircle.js +0 -765
  2054. package/node_modules/robust-predicates/esm/insphere.js +0 -775
  2055. package/node_modules/robust-predicates/esm/orient2d.js +0 -186
  2056. package/node_modules/robust-predicates/esm/orient3d.js +0 -462
  2057. package/node_modules/robust-predicates/esm/util.js +0 -138
  2058. package/node_modules/robust-predicates/index.js +0 -5
  2059. package/node_modules/robust-predicates/package.json +0 -68
  2060. package/node_modules/robust-predicates/umd/incircle.js +0 -910
  2061. package/node_modules/robust-predicates/umd/incircle.min.js +0 -1
  2062. package/node_modules/robust-predicates/umd/insphere.js +0 -925
  2063. package/node_modules/robust-predicates/umd/insphere.min.js +0 -1
  2064. package/node_modules/robust-predicates/umd/orient2d.js +0 -284
  2065. package/node_modules/robust-predicates/umd/orient2d.min.js +0 -1
  2066. package/node_modules/robust-predicates/umd/orient3d.js +0 -603
  2067. package/node_modules/robust-predicates/umd/orient3d.min.js +0 -1
  2068. package/node_modules/robust-predicates/umd/predicates.js +0 -2341
  2069. package/node_modules/robust-predicates/umd/predicates.min.js +0 -1
  2070. package/node_modules/skmeans/.gitattributes +0 -17
  2071. package/node_modules/skmeans/.npmignore +0 -52
  2072. package/node_modules/skmeans/Gruntfile.js +0 -49
  2073. package/node_modules/skmeans/README.md +0 -62
  2074. package/node_modules/skmeans/browser.js +0 -19
  2075. package/node_modules/skmeans/dist/browser/skmeans.js +0 -339
  2076. package/node_modules/skmeans/dist/browser/skmeans.js.map +0 -1
  2077. package/node_modules/skmeans/dist/browser/skmeans.min.js +0 -3
  2078. package/node_modules/skmeans/dist/index.html +0 -15
  2079. package/node_modules/skmeans/dist/node/Gruntfile.js +0 -49
  2080. package/node_modules/skmeans/dist/node/Gruntfile.js.map +0 -1
  2081. package/node_modules/skmeans/dist/node/browser.js +0 -19
  2082. package/node_modules/skmeans/dist/node/browser.js.map +0 -1
  2083. package/node_modules/skmeans/dist/node/distance.js +0 -39
  2084. package/node_modules/skmeans/dist/node/distance.js.map +0 -1
  2085. package/node_modules/skmeans/dist/node/kinit.js +0 -110
  2086. package/node_modules/skmeans/dist/node/kinit.js.map +0 -1
  2087. package/node_modules/skmeans/dist/node/main.js +0 -161
  2088. package/node_modules/skmeans/dist/node/main.js.map +0 -1
  2089. package/node_modules/skmeans/distance.js +0 -37
  2090. package/node_modules/skmeans/kinit.js +0 -102
  2091. package/node_modules/skmeans/main.js +0 -147
  2092. package/node_modules/skmeans/package.json +0 -33
  2093. package/node_modules/skmeans/test/data/random_pts.js +0 -1
  2094. package/node_modules/skmeans/test/data/well-separated.js +0 -1
  2095. package/node_modules/skmeans/test/multi.js +0 -15
  2096. package/node_modules/skmeans/test/stats.js +0 -65
  2097. package/node_modules/skmeans/test/test.js +0 -42
  2098. package/node_modules/skmeans/test/test_rand.js +0 -23
  2099. package/node_modules/skmeans/test/test_ws.js +0 -23
  2100. package/node_modules/skmeans/test/uni.js +0 -15
  2101. package/node_modules/splaytree-ts/LICENSE +0 -29
  2102. package/node_modules/splaytree-ts/README.md +0 -296
  2103. package/node_modules/splaytree-ts/dist/cjs/index.cjs +0 -714
  2104. package/node_modules/splaytree-ts/dist/cjs/index.cjs.map +0 -1
  2105. package/node_modules/splaytree-ts/dist/cjs/index.d.cts +0 -105
  2106. package/node_modules/splaytree-ts/dist/esm/index.d.ts +0 -105
  2107. package/node_modules/splaytree-ts/dist/esm/index.js +0 -688
  2108. package/node_modules/splaytree-ts/dist/esm/index.js.map +0 -1
  2109. package/node_modules/splaytree-ts/dist/splaytree-ts.umd.js +0 -736
  2110. package/node_modules/splaytree-ts/dist/splaytree-ts.umd.min.js +0 -2
  2111. package/node_modules/splaytree-ts/package.json +0 -59
  2112. package/node_modules/sweepline-intersections/LICENSE +0 -21
  2113. package/node_modules/sweepline-intersections/README.md +0 -118
  2114. package/node_modules/sweepline-intersections/dist/SweeplineIntersectionsClass.esm.js +0 -277
  2115. package/node_modules/sweepline-intersections/dist/SweeplineIntersectionsClass.js +0 -281
  2116. package/node_modules/sweepline-intersections/dist/sweeplineIntersections.esm.js +0 -253
  2117. package/node_modules/sweepline-intersections/dist/sweeplineIntersections.js +0 -260
  2118. package/node_modules/sweepline-intersections/dist/sweeplineIntersections.min.js +0 -1
  2119. package/node_modules/sweepline-intersections/package.json +0 -79
  2120. package/node_modules/sweepline-intersections/types.d.ts +0 -8
  2121. package/node_modules/tinyqueue/LICENSE +0 -15
  2122. package/node_modules/tinyqueue/README.md +0 -59
  2123. package/node_modules/tinyqueue/index.d.ts +0 -11
  2124. package/node_modules/tinyqueue/index.js +0 -79
  2125. package/node_modules/tinyqueue/package.json +0 -53
  2126. package/node_modules/tinyqueue/tinyqueue.js +0 -93
  2127. package/node_modules/tinyqueue/tinyqueue.min.js +0 -1
  2128. package/node_modules/topojson-client/LICENSE +0 -13
  2129. package/node_modules/topojson-client/README.md +0 -242
  2130. package/node_modules/topojson-client/bin/topo2geo +0 -106
  2131. package/node_modules/topojson-client/bin/topomerge +0 -216
  2132. package/node_modules/topojson-client/bin/topoquantize +0 -74
  2133. package/node_modules/topojson-client/dist/topojson-client.js +0 -508
  2134. package/node_modules/topojson-client/dist/topojson-client.min.js +0 -2
  2135. package/node_modules/topojson-client/package.json +0 -49
  2136. package/node_modules/topojson-client/src/bbox.js +0 -39
  2137. package/node_modules/topojson-client/src/bisect.js +0 -9
  2138. package/node_modules/topojson-client/src/feature.js +0 -70
  2139. package/node_modules/topojson-client/src/identity.js +0 -3
  2140. package/node_modules/topojson-client/src/index.js +0 -8
  2141. package/node_modules/topojson-client/src/merge.js +0 -103
  2142. package/node_modules/topojson-client/src/mesh.js +0 -53
  2143. package/node_modules/topojson-client/src/neighbors.js +0 -45
  2144. package/node_modules/topojson-client/src/quantize.js +0 -54
  2145. package/node_modules/topojson-client/src/reverse.js +0 -4
  2146. package/node_modules/topojson-client/src/stitch.js +0 -73
  2147. package/node_modules/topojson-client/src/transform.js +0 -19
  2148. package/node_modules/topojson-client/src/untransform.js +0 -23
  2149. package/node_modules/topojson-server/LICENSE +0 -13
  2150. package/node_modules/topojson-server/README.md +0 -75
  2151. package/node_modules/topojson-server/bin/geo2topo +0 -125
  2152. package/node_modules/topojson-server/dist/topojson-server.js +0 -838
  2153. package/node_modules/topojson-server/dist/topojson-server.min.js +0 -2
  2154. package/node_modules/topojson-server/package.json +0 -47
  2155. package/node_modules/topojson-server/src/bounds.js +0 -46
  2156. package/node_modules/topojson-server/src/cut.js +0 -62
  2157. package/node_modules/topojson-server/src/dedup.js +0 -187
  2158. package/node_modules/topojson-server/src/delta.js +0 -30
  2159. package/node_modules/topojson-server/src/extract.js +0 -67
  2160. package/node_modules/topojson-server/src/geometry.js +0 -39
  2161. package/node_modules/topojson-server/src/hash/hashmap.js +0 -70
  2162. package/node_modules/topojson-server/src/hash/hashset.js +0 -53
  2163. package/node_modules/topojson-server/src/hash/point-equal.js +0 -3
  2164. package/node_modules/topojson-server/src/hash/point-hash.js +0 -13
  2165. package/node_modules/topojson-server/src/index.js +0 -1
  2166. package/node_modules/topojson-server/src/join.js +0 -116
  2167. package/node_modules/topojson-server/src/object.js +0 -1
  2168. package/node_modules/topojson-server/src/prequantize.js +0 -72
  2169. package/node_modules/topojson-server/src/topology.js +0 -80
  2170. package/node_modules/uuid/dist/uuid-bin.js +0 -70
  2171. package/node_modules/uuid/dist/v4.js +0 -30
  2172. package/node_modules/uuid/dist-node/md5.js +0 -11
  2173. package/node_modules/uuid/dist-node/native.js +0 -2
  2174. package/node_modules/uuid/dist-node/rng.js +0 -10
  2175. package/node_modules/uuid/dist-node/sha1.js +0 -11
  2176. package/node_modules/uuid/dist-node/uuid-bin.js +0 -70
  2177. package/node_modules/uuid/dist-node/v4.js +0 -30
  2178. package/tak-registration.bak +0 -557
  2179. /package/node_modules/uuid/{dist-node/types.js → dist/cjs/uuid-bin.d.ts} +0 -0
  2180. /package/node_modules/uuid/dist/{index.d.ts → cjs-browser/index.d.ts} +0 -0
  2181. /package/node_modules/uuid/dist/{max.d.ts → cjs-browser/max.d.ts} +0 -0
  2182. /package/node_modules/uuid/dist/{md5.d.ts → cjs-browser/md5.d.ts} +0 -0
  2183. /package/node_modules/uuid/dist/{native.d.ts → cjs-browser/native.d.ts} +0 -0
  2184. /package/node_modules/uuid/dist/{nil.d.ts → cjs-browser/nil.d.ts} +0 -0
  2185. /package/node_modules/uuid/dist/{parse.d.ts → cjs-browser/parse.d.ts} +0 -0
  2186. /package/node_modules/uuid/dist/{regex.d.ts → cjs-browser/regex.d.ts} +0 -0
  2187. /package/node_modules/uuid/dist/{rng.d.ts → cjs-browser/rng.d.ts} +0 -0
  2188. /package/node_modules/uuid/dist/{sha1.d.ts → cjs-browser/sha1.d.ts} +0 -0
  2189. /package/node_modules/uuid/dist/{stringify.d.ts → cjs-browser/stringify.d.ts} +0 -0
  2190. /package/node_modules/uuid/dist/{types.d.ts → cjs-browser/types.d.ts} +0 -0
  2191. /package/node_modules/uuid/dist/{uuid-bin.d.ts → cjs-browser/uuid-bin.d.ts} +0 -0
  2192. /package/node_modules/uuid/dist/{v1.d.ts → cjs-browser/v1.d.ts} +0 -0
  2193. /package/node_modules/uuid/dist/{v1ToV6.d.ts → cjs-browser/v1ToV6.d.ts} +0 -0
  2194. /package/node_modules/uuid/dist/{v3.d.ts → cjs-browser/v3.d.ts} +0 -0
  2195. /package/node_modules/uuid/dist/{v35.d.ts → cjs-browser/v35.d.ts} +0 -0
  2196. /package/node_modules/uuid/dist/{v4.d.ts → cjs-browser/v4.d.ts} +0 -0
  2197. /package/node_modules/uuid/dist/{v5.d.ts → cjs-browser/v5.d.ts} +0 -0
  2198. /package/node_modules/uuid/dist/{v6.d.ts → cjs-browser/v6.d.ts} +0 -0
  2199. /package/node_modules/uuid/dist/{v6ToV1.d.ts → cjs-browser/v6ToV1.d.ts} +0 -0
  2200. /package/node_modules/uuid/dist/{v7.d.ts → cjs-browser/v7.d.ts} +0 -0
  2201. /package/node_modules/uuid/dist/{validate.d.ts → cjs-browser/validate.d.ts} +0 -0
  2202. /package/node_modules/uuid/dist/{version.d.ts → cjs-browser/version.d.ts} +0 -0
  2203. /package/node_modules/uuid/{dist-node → dist/esm}/bin/uuid +0 -0
  2204. /package/node_modules/uuid/dist/{index.js → esm/index.js} +0 -0
  2205. /package/node_modules/uuid/dist/{max.js → esm/max.js} +0 -0
  2206. /package/node_modules/uuid/dist/{nil.js → esm/nil.js} +0 -0
  2207. /package/node_modules/uuid/dist/{parse.js → esm/parse.js} +0 -0
  2208. /package/node_modules/uuid/dist/{regex.js → esm/regex.js} +0 -0
  2209. /package/node_modules/uuid/dist/{stringify.js → esm/stringify.js} +0 -0
  2210. /package/node_modules/uuid/dist/{v1.js → esm/v1.js} +0 -0
  2211. /package/node_modules/uuid/dist/{v1ToV6.js → esm/v1ToV6.js} +0 -0
  2212. /package/node_modules/uuid/dist/{v3.js → esm/v3.js} +0 -0
  2213. /package/node_modules/uuid/dist/{v35.js → esm/v35.js} +0 -0
  2214. /package/node_modules/uuid/dist/{v5.js → esm/v5.js} +0 -0
  2215. /package/node_modules/uuid/dist/{v6.js → esm/v6.js} +0 -0
  2216. /package/node_modules/uuid/dist/{v6ToV1.js → esm/v6ToV1.js} +0 -0
  2217. /package/node_modules/uuid/dist/{v7.js → esm/v7.js} +0 -0
  2218. /package/node_modules/uuid/dist/{validate.js → esm/validate.js} +0 -0
  2219. /package/node_modules/uuid/dist/{version.js → esm/version.js} +0 -0
  2220. /package/node_modules/uuid/{dist-node → dist/esm-browser}/index.js +0 -0
  2221. /package/node_modules/uuid/{dist-node → dist/esm-browser}/max.js +0 -0
  2222. /package/node_modules/uuid/dist/{md5.js → esm-browser/md5.js} +0 -0
  2223. /package/node_modules/uuid/dist/{native.js → esm-browser/native.js} +0 -0
  2224. /package/node_modules/uuid/{dist-node → dist/esm-browser}/nil.js +0 -0
  2225. /package/node_modules/uuid/{dist-node → dist/esm-browser}/parse.js +0 -0
  2226. /package/node_modules/uuid/{dist-node → dist/esm-browser}/regex.js +0 -0
  2227. /package/node_modules/uuid/dist/{rng.js → esm-browser/rng.js} +0 -0
  2228. /package/node_modules/uuid/dist/{sha1.js → esm-browser/sha1.js} +0 -0
  2229. /package/node_modules/uuid/{dist-node → dist/esm-browser}/stringify.js +0 -0
  2230. /package/node_modules/uuid/dist/{types.js → esm-browser/types.js} +0 -0
  2231. /package/node_modules/uuid/{dist-node → dist/esm-browser}/v1.js +0 -0
  2232. /package/node_modules/uuid/{dist-node → dist/esm-browser}/v1ToV6.js +0 -0
  2233. /package/node_modules/uuid/{dist-node → dist/esm-browser}/v3.js +0 -0
  2234. /package/node_modules/uuid/{dist-node → dist/esm-browser}/v35.js +0 -0
  2235. /package/node_modules/uuid/{dist-node → dist/esm-browser}/v5.js +0 -0
  2236. /package/node_modules/uuid/{dist-node → dist/esm-browser}/v6.js +0 -0
  2237. /package/node_modules/uuid/{dist-node → dist/esm-browser}/v6ToV1.js +0 -0
  2238. /package/node_modules/uuid/{dist-node → dist/esm-browser}/v7.js +0 -0
  2239. /package/node_modules/uuid/{dist-node → dist/esm-browser}/validate.js +0 -0
  2240. /package/node_modules/uuid/{dist-node → dist/esm-browser}/version.js +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turf/centroid",
3
- "version": "7.3.0",
3
+ "version": "7.3.3",
4
4
  "description": "Determines the geometric center of a polygon or shape.",
5
5
  "author": "Turf Authors",
6
6
  "license": "MIT",
@@ -47,7 +47,7 @@
47
47
  "bench": "tsx bench.ts",
48
48
  "build": "tsup --config ../../tsup.config.ts",
49
49
  "docs": "tsx ../../scripts/generate-readmes.ts",
50
- "test": "npm-run-all --npm-path npm test:*",
50
+ "test": "pnpm run /test:.*/",
51
51
  "test:tape": "tsx test.ts",
52
52
  "test:types": "tsc --esModuleInterop --module node16 --moduleResolution node16 --noEmit --strict types.ts"
53
53
  },
@@ -55,9 +55,8 @@
55
55
  "@types/benchmark": "^2.1.5",
56
56
  "@types/tape": "^5.8.1",
57
57
  "benchmark": "^2.1.4",
58
- "glob": "^11.0.2",
58
+ "glob": "^11.1.0",
59
59
  "load-json-file": "^7.0.1",
60
- "npm-run-all": "^4.1.5",
61
60
  "tape": "^5.9.0",
62
61
  "tsup": "^8.4.0",
63
62
  "tsx": "^4.19.4",
@@ -65,10 +64,10 @@
65
64
  "write-json-file": "^6.0.0"
66
65
  },
67
66
  "dependencies": {
68
- "@turf/helpers": "7.3.0",
69
- "@turf/meta": "7.3.0",
67
+ "@turf/helpers": "7.3.3",
68
+ "@turf/meta": "7.3.3",
70
69
  "@types/geojson": "^7946.0.10",
71
70
  "tslib": "^2.8.1"
72
71
  },
73
- "gitHead": "9f58a103e8f9a587ab640307ed03ba5233913ddd"
72
+ "gitHead": "fa0e2da8ce02d9a82720eae922f89c9386596e04"
74
73
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/turf/turf/packages/turf-helpers/dist/cjs/index.cjs","../../index.ts"],"names":[],"mappings":"AAAA;ACuGO,IAAM,YAAA,EAAc,WAAA;AASpB,IAAM,QAAA,EAAiC;AAAA,EAC5C,WAAA,EAAa,YAAA,EAAc,GAAA;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A,EAAiB;AAC5C,EAAA,GAAA,CAAI,CAAC,IAAA,EAAM;AACT,IAAA,MAAM,IAAI,KAAA,CAAM,kBAAkB,CAAA;AAAA,EACpC;AACA,EAAA,GAAA,CAAI,CAAC,KAAA,CAAM,OAAA,CAAQ,IAAI,CAAA,EAAG;AACxB,IAAA,MAAM,IAAI,KAAA,CAAM,uBAAuB,CAAA;AAAA,EACzC;AACA,EAAA,GAAA,CAAI,IAAA,CAAK,OAAA,IAAW,EAAA,GAAK,IAAA,CAAK,OAAA,IAAW,CAAA,EAAG;AAC1C,IAAA,MAAM,IAAI,KAAA,CAAM,yCAAyC,CAAA;AAAA,EAC3D;AACA,EAAA,IAAA,CAAK,OAAA,CAAQ,CAAC,GAAA,EAAA,GAAQ;AACpB,IAAA,GAAA,CAAI,CAAC,QAAA,CAAS,GAAG,CAAA,EAAG;AAClB,MAAA,MAAM,IAAI,KAAA,CAAM,gCAAgC,CAAA;AAAA,IAClD;AAAA,EACF,CAAC,CAAA;AACH;AAuBO,SAAS,UAAA,CAAW,EAAA,EAAe;AACxC,EAAA,GAAA,CAAI,CAAC,EAAA,EAAI;AACP,IAAA,MAAM,IAAI,KAAA,CAAM,gBAAgB,CAAA;AAAA,EAClC;AACA,EAAA,GAAA,CAAI,CAAC,QAAA,EAAU,QAAQ,CAAA,CAAE,OAAA,CAAQ,OAAO,EAAE,EAAA,IAAM,CAAA,CAAA,EAAI;AAClD,IAAA,MAAM,IAAI,KAAA,CAAM,iCAAiC,CAAA;AAAA,EACnD;AACF;ADnnBA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,2iCAAC","file":"/home/runner/work/turf/turf/packages/turf-helpers/dist/cjs/index.cjs","sourcesContent":[null,"import {\n BBox,\n Feature,\n FeatureCollection,\n Geometry,\n GeometryCollection,\n GeometryObject,\n LineString,\n MultiLineString,\n MultiPoint,\n MultiPolygon,\n Point,\n Polygon,\n Position,\n GeoJsonProperties,\n} from \"geojson\";\n\nimport { Id } from \"./lib/geojson.js\";\nexport * from \"./lib/geojson.js\";\n\n/**\n * @module helpers\n */\n\n// TurfJS Combined Types\nexport type Coord = Feature<Point> | Point | Position;\n\n/**\n * Linear measurement units.\n *\n * ⚠️ Warning. Be aware of the implications of using radian or degree units to\n * measure distance. The distance represented by a degree of longitude *varies*\n * depending on latitude.\n *\n * See https://www.thoughtco.com/degree-of-latitude-and-longitude-distance-4070616\n * for an illustration of this behaviour.\n *\n * @typedef\n */\nexport type Units =\n | \"meters\"\n | \"metres\"\n | \"millimeters\"\n | \"millimetres\"\n | \"centimeters\"\n | \"centimetres\"\n | \"kilometers\"\n | \"kilometres\"\n | \"miles\"\n | \"nauticalmiles\"\n | \"inches\"\n | \"yards\"\n | \"feet\"\n | \"radians\"\n | \"degrees\";\n\n/**\n * Area measurement units.\n *\n * @typedef\n */\nexport type AreaUnits =\n | Exclude<Units, \"radians\" | \"degrees\">\n | \"acres\"\n | \"hectares\";\n\n/**\n * Grid types.\n *\n * @typedef\n */\nexport type Grid = \"point\" | \"square\" | \"hex\" | \"triangle\";\n\n/**\n * Shorthand corner identifiers.\n *\n * @typedef\n */\nexport type Corners = \"sw\" | \"se\" | \"nw\" | \"ne\" | \"center\" | \"centroid\";\n\n/**\n * Geometries made up of lines i.e. lines and polygons.\n *\n * @typedef\n */\nexport type Lines = LineString | MultiLineString | Polygon | MultiPolygon;\n\n/**\n * Convenience type for all possible GeoJSON.\n *\n * @typedef\n */\nexport type AllGeoJSON =\n | Feature\n | FeatureCollection\n | Geometry\n | GeometryCollection;\n\n/**\n * The Earth radius in meters. Used by Turf modules that model the Earth as a sphere. The {@link https://en.wikipedia.org/wiki/Earth_radius#Arithmetic_mean_radius mean radius} was selected because it is {@link https://rosettacode.org/wiki/Haversine_formula#:~:text=This%20value%20is%20recommended recommended } by the Haversine formula (used by turf/distance) to reduce error.\n *\n * @constant\n */\nexport const earthRadius = 6371008.8;\n\n/**\n * Unit of measurement factors based on earthRadius.\n *\n * Keys are the name of the unit, values are the number of that unit in a single radian\n *\n * @constant\n */\nexport const factors: Record<Units, number> = {\n centimeters: earthRadius * 100,\n centimetres: earthRadius * 100,\n degrees: 360 / (2 * Math.PI),\n feet: earthRadius * 3.28084,\n inches: earthRadius * 39.37,\n kilometers: earthRadius / 1000,\n kilometres: earthRadius / 1000,\n meters: earthRadius,\n metres: earthRadius,\n miles: earthRadius / 1609.344,\n millimeters: earthRadius * 1000,\n millimetres: earthRadius * 1000,\n nauticalmiles: earthRadius / 1852,\n radians: 1,\n yards: earthRadius * 1.0936,\n};\n\n/**\n\n * Area of measurement factors based on 1 square meter.\n *\n * @constant\n */\nexport const areaFactors: Record<AreaUnits, number> = {\n acres: 0.000247105,\n centimeters: 10000,\n centimetres: 10000,\n feet: 10.763910417,\n hectares: 0.0001,\n inches: 1550.003100006,\n kilometers: 0.000001,\n kilometres: 0.000001,\n meters: 1,\n metres: 1,\n miles: 3.86e-7,\n nauticalmiles: 2.9155334959812285e-7,\n millimeters: 1000000,\n millimetres: 1000000,\n yards: 1.195990046,\n};\n\n/**\n * Wraps a GeoJSON {@link Geometry} in a GeoJSON {@link Feature}.\n *\n * @function\n * @param {GeometryObject} geometry input geometry\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<GeometryObject, GeoJsonProperties>} a GeoJSON Feature\n * @example\n * var geometry = {\n * \"type\": \"Point\",\n * \"coordinates\": [110, 50]\n * };\n *\n * var feature = turf.feature(geometry);\n *\n * //=feature\n */\nexport function feature<\n G extends GeometryObject = Geometry,\n P extends GeoJsonProperties = GeoJsonProperties,\n>(\n geom: G | null,\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<G, P> {\n const feat: any = { type: \"Feature\" };\n if (options.id === 0 || options.id) {\n feat.id = options.id;\n }\n if (options.bbox) {\n feat.bbox = options.bbox;\n }\n feat.properties = properties || {};\n feat.geometry = geom;\n return feat;\n}\n\n/**\n * Creates a GeoJSON {@link Geometry} from a Geometry string type & coordinates.\n * For GeometryCollection type use `helpers.geometryCollection`\n *\n * @function\n * @param {(\"Point\" | \"LineString\" | \"Polygon\" | \"MultiPoint\" | \"MultiLineString\" | \"MultiPolygon\")} type Geometry Type\n * @param {Array<any>} coordinates Coordinates\n * @param {Object} [options={}] Optional Parameters\n * @returns {Geometry} a GeoJSON Geometry\n * @example\n * var type = \"Point\";\n * var coordinates = [110, 50];\n * var geometry = turf.geometry(type, coordinates);\n * // => geometry\n */\nexport function geometry(\n type:\n | \"Point\"\n | \"LineString\"\n | \"Polygon\"\n | \"MultiPoint\"\n | \"MultiLineString\"\n | \"MultiPolygon\",\n coordinates: any[],\n _options: Record<string, never> = {}\n) {\n switch (type) {\n case \"Point\":\n return point(coordinates).geometry;\n case \"LineString\":\n return lineString(coordinates).geometry;\n case \"Polygon\":\n return polygon(coordinates).geometry;\n case \"MultiPoint\":\n return multiPoint(coordinates).geometry;\n case \"MultiLineString\":\n return multiLineString(coordinates).geometry;\n case \"MultiPolygon\":\n return multiPolygon(coordinates).geometry;\n default:\n throw new Error(type + \" is invalid\");\n }\n}\n\n/**\n * Creates a {@link Point} {@link Feature} from a Position.\n *\n * @function\n * @param {Position} coordinates longitude, latitude position (each in decimal degrees)\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<Point, GeoJsonProperties>} a Point feature\n * @example\n * var point = turf.point([-75.343, 39.984]);\n *\n * //=point\n */\nexport function point<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position,\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<Point, P> {\n if (!coordinates) {\n throw new Error(\"coordinates is required\");\n }\n if (!Array.isArray(coordinates)) {\n throw new Error(\"coordinates must be an Array\");\n }\n if (coordinates.length < 2) {\n throw new Error(\"coordinates must be at least 2 numbers long\");\n }\n if (!isNumber(coordinates[0]) || !isNumber(coordinates[1])) {\n throw new Error(\"coordinates must contain numbers\");\n }\n\n const geom: Point = {\n type: \"Point\",\n coordinates,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Creates a {@link Point} {@link FeatureCollection} from an Array of Point coordinates.\n *\n * @function\n * @param {Position[]} coordinates an array of Points\n * @param {GeoJsonProperties} [properties={}] Translate these properties to each Feature\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north]\n * associated with the FeatureCollection\n * @param {Id} [options.id] Identifier associated with the FeatureCollection\n * @returns {FeatureCollection<Point>} Point Feature\n * @example\n * var points = turf.points([\n * [-75, 39],\n * [-80, 45],\n * [-78, 50]\n * ]);\n *\n * //=points\n */\nexport function points<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): FeatureCollection<Point, P> {\n return featureCollection(\n coordinates.map((coords) => {\n return point(coords, properties);\n }),\n options\n );\n}\n\n/**\n * Creates a {@link Polygon} {@link Feature} from an Array of LinearRings.\n *\n * @function\n * @param {Position[][]} coordinates an array of LinearRings\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<Polygon, GeoJsonProperties>} Polygon Feature\n * @example\n * var polygon = turf.polygon([[[-5, 52], [-4, 56], [-2, 51], [-7, 54], [-5, 52]]], { name: 'poly1' });\n *\n * //=polygon\n */\nexport function polygon<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[][],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<Polygon, P> {\n for (const ring of coordinates) {\n if (ring.length < 4) {\n throw new Error(\n \"Each LinearRing of a Polygon must have 4 or more Positions.\"\n );\n }\n\n if (ring[ring.length - 1].length !== ring[0].length) {\n throw new Error(\"First and last Position are not equivalent.\");\n }\n\n for (let j = 0; j < ring[ring.length - 1].length; j++) {\n // Check if first point of Polygon contains two numbers\n if (ring[ring.length - 1][j] !== ring[0][j]) {\n throw new Error(\"First and last Position are not equivalent.\");\n }\n }\n }\n const geom: Polygon = {\n type: \"Polygon\",\n coordinates,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Creates a {@link Polygon} {@link FeatureCollection} from an Array of Polygon coordinates.\n *\n * @function\n * @param {Position[][][]} coordinates an array of Polygon coordinates\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the FeatureCollection\n * @returns {FeatureCollection<Polygon, GeoJsonProperties>} Polygon FeatureCollection\n * @example\n * var polygons = turf.polygons([\n * [[[-5, 52], [-4, 56], [-2, 51], [-7, 54], [-5, 52]]],\n * [[[-15, 42], [-14, 46], [-12, 41], [-17, 44], [-15, 42]]],\n * ]);\n *\n * //=polygons\n */\nexport function polygons<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[][][],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): FeatureCollection<Polygon, P> {\n return featureCollection(\n coordinates.map((coords) => {\n return polygon(coords, properties);\n }),\n options\n );\n}\n\n/**\n * Creates a {@link LineString} {@link Feature} from an Array of Positions.\n *\n * @function\n * @param {Position[]} coordinates an array of Positions\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<LineString, GeoJsonProperties>} LineString Feature\n * @example\n * var linestring1 = turf.lineString([[-24, 63], [-23, 60], [-25, 65], [-20, 69]], {name: 'line 1'});\n * var linestring2 = turf.lineString([[-14, 43], [-13, 40], [-15, 45], [-10, 49]], {name: 'line 2'});\n *\n * //=linestring1\n * //=linestring2\n */\nexport function lineString<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<LineString, P> {\n if (coordinates.length < 2) {\n throw new Error(\"coordinates must be an array of two or more positions\");\n }\n const geom: LineString = {\n type: \"LineString\",\n coordinates,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Creates a {@link LineString} {@link FeatureCollection} from an Array of LineString coordinates.\n *\n * @function\n * @param {Position[][]} coordinates an array of LinearRings\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north]\n * associated with the FeatureCollection\n * @param {Id} [options.id] Identifier associated with the FeatureCollection\n * @returns {FeatureCollection<LineString, GeoJsonProperties>} LineString FeatureCollection\n * @example\n * var linestrings = turf.lineStrings([\n * [[-24, 63], [-23, 60], [-25, 65], [-20, 69]],\n * [[-14, 43], [-13, 40], [-15, 45], [-10, 49]]\n * ]);\n *\n * //=linestrings\n */\nexport function lineStrings<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[][],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): FeatureCollection<LineString, P> {\n return featureCollection(\n coordinates.map((coords) => {\n return lineString(coords, properties);\n }),\n options\n );\n}\n\n/**\n * Takes one or more {@link Feature|Features} and creates a {@link FeatureCollection}.\n *\n * @function\n * @param {Array<Feature<GeometryObject, GeoJsonProperties>>} features input features\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {FeatureCollection<GeometryObject, GeoJsonProperties>} FeatureCollection of Features\n * @example\n * var locationA = turf.point([-75.343, 39.984], {name: 'Location A'});\n * var locationB = turf.point([-75.833, 39.284], {name: 'Location B'});\n * var locationC = turf.point([-75.534, 39.123], {name: 'Location C'});\n *\n * var collection = turf.featureCollection([\n * locationA,\n * locationB,\n * locationC\n * ]);\n *\n * //=collection\n */\nexport function featureCollection<\n G extends GeometryObject = Geometry,\n P extends GeoJsonProperties = GeoJsonProperties,\n>(\n features: Array<Feature<G, P>>,\n options: { bbox?: BBox; id?: Id } = {}\n): FeatureCollection<G, P> {\n const fc: any = { type: \"FeatureCollection\" };\n if (options.id) {\n fc.id = options.id;\n }\n if (options.bbox) {\n fc.bbox = options.bbox;\n }\n fc.features = features;\n return fc;\n}\n\n/**\n * Creates a {@link Feature}<{@link MultiLineString}> based on a\n * coordinate array. Properties can be added optionally.\n *\n * @function\n * @param {Position[][]} coordinates an array of LineStrings\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<MultiLineString, GeoJsonProperties>} a MultiLineString feature\n * @throws {Error} if no coordinates are passed\n * @example\n * var multiLine = turf.multiLineString([[[0,0],[10,10]]]);\n *\n * //=multiLine\n */\nexport function multiLineString<\n P extends GeoJsonProperties = GeoJsonProperties,\n>(\n coordinates: Position[][],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<MultiLineString, P> {\n const geom: MultiLineString = {\n type: \"MultiLineString\",\n coordinates,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Creates a {@link Feature}<{@link MultiPoint}> based on a\n * coordinate array. Properties can be added optionally.\n *\n * @function\n * @param {Position[]} coordinates an array of Positions\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<MultiPoint, GeoJsonProperties>} a MultiPoint feature\n * @throws {Error} if no coordinates are passed\n * @example\n * var multiPt = turf.multiPoint([[0,0],[10,10]]);\n *\n * //=multiPt\n */\nexport function multiPoint<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<MultiPoint, P> {\n const geom: MultiPoint = {\n type: \"MultiPoint\",\n coordinates,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Creates a {@link Feature}<{@link MultiPolygon}> based on a\n * coordinate array. Properties can be added optionally.\n *\n * @function\n * @param {Position[][][]} coordinates an array of Polygons\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<MultiPolygon, GeoJsonProperties>} a multipolygon feature\n * @throws {Error} if no coordinates are passed\n * @example\n * var multiPoly = turf.multiPolygon([[[[0,0],[0,10],[10,10],[10,0],[0,0]]]]);\n *\n * //=multiPoly\n *\n */\nexport function multiPolygon<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[][][],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<MultiPolygon, P> {\n const geom: MultiPolygon = {\n type: \"MultiPolygon\",\n coordinates,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Creates a Feature<GeometryCollection> based on a\n * coordinate array. Properties can be added optionally.\n *\n * @function\n * @param {Array<Point | LineString | Polygon | MultiPoint | MultiLineString | MultiPolygon>} geometries an array of GeoJSON Geometries\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<GeometryCollection, GeoJsonProperties>} a GeoJSON GeometryCollection Feature\n * @example\n * var pt = turf.geometry(\"Point\", [100, 0]);\n * var line = turf.geometry(\"LineString\", [[101, 0], [102, 1]]);\n * var collection = turf.geometryCollection([pt, line]);\n *\n * // => collection\n */\nexport function geometryCollection<\n P extends GeoJsonProperties = GeoJsonProperties,\n>(\n geometries: Array<\n Point | LineString | Polygon | MultiPoint | MultiLineString | MultiPolygon\n >,\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<GeometryCollection, P> {\n const geom: GeometryCollection = {\n type: \"GeometryCollection\",\n geometries,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Round number to precision\n *\n * @function\n * @param {number} num Number\n * @param {number} [precision=0] Precision\n * @returns {number} rounded number\n * @example\n * turf.round(120.4321)\n * //=120\n *\n * turf.round(120.4321, 2)\n * //=120.43\n */\nexport function round(num: number, precision = 0): number {\n if (precision && !(precision >= 0)) {\n throw new Error(\"precision must be a positive number\");\n }\n const multiplier = Math.pow(10, precision || 0);\n return Math.round(num * multiplier) / multiplier;\n}\n\n/**\n * Convert a distance measurement (assuming a spherical Earth) from radians to a more friendly unit.\n * Valid units: miles, nauticalmiles, inches, yards, meters, metres, kilometers, centimeters, feet\n *\n * @function\n * @param {number} radians in radians across the sphere\n * @param {Units} [units=\"kilometers\"] can be degrees, radians, miles, inches, yards, metres,\n * meters, kilometres, kilometers.\n * @returns {number} distance\n */\nexport function radiansToLength(\n radians: number,\n units: Units = \"kilometers\"\n): number {\n const factor = factors[units];\n if (!factor) {\n throw new Error(units + \" units is invalid\");\n }\n return radians * factor;\n}\n\n/**\n * Convert a distance measurement (assuming a spherical Earth) from a real-world unit into radians\n * Valid units: miles, nauticalmiles, inches, yards, meters, metres, kilometers, centimeters, feet\n *\n * @function\n * @param {number} distance in real units\n * @param {Units} [units=\"kilometers\"] can be degrees, radians, miles, inches, yards, metres,\n * meters, kilometres, kilometers.\n * @returns {number} radians\n */\nexport function lengthToRadians(\n distance: number,\n units: Units = \"kilometers\"\n): number {\n const factor = factors[units];\n if (!factor) {\n throw new Error(units + \" units is invalid\");\n }\n return distance / factor;\n}\n\n/**\n * Convert a distance measurement (assuming a spherical Earth) from a real-world unit into degrees\n * Valid units: miles, nauticalmiles, inches, yards, meters, metres, centimeters, kilometres, feet\n *\n * @function\n * @param {number} distance in real units\n * @param {Units} [units=\"kilometers\"] can be degrees, radians, miles, inches, yards, metres,\n * meters, kilometres, kilometers.\n * @returns {number} degrees\n */\nexport function lengthToDegrees(distance: number, units?: Units): number {\n return radiansToDegrees(lengthToRadians(distance, units));\n}\n\n/**\n * Converts any bearing angle from the north line direction (positive clockwise)\n * and returns an angle between 0-360 degrees (positive clockwise), 0 being the north line\n *\n * @function\n * @param {number} bearing angle, between -180 and +180 degrees\n * @returns {number} angle between 0 and 360 degrees\n */\nexport function bearingToAzimuth(bearing: number): number {\n let angle = bearing % 360;\n if (angle < 0) {\n angle += 360;\n }\n return angle;\n}\n\n/**\n * Converts any azimuth angle from the north line direction (positive clockwise)\n * and returns an angle between -180 and +180 degrees (positive clockwise), 0 being the north line\n *\n * @function\n * @param {number} angle between 0 and 360 degrees\n * @returns {number} bearing between -180 and +180 degrees\n */\nexport function azimuthToBearing(angle: number): number {\n // Ignore full revolutions (multiples of 360)\n angle = angle % 360;\n\n if (angle > 180) {\n return angle - 360;\n } else if (angle < -180) {\n return angle + 360;\n }\n\n return angle;\n}\n\n/**\n * Converts an angle in radians to degrees\n *\n * @function\n * @param {number} radians angle in radians\n * @returns {number} degrees between 0 and 360 degrees\n */\nexport function radiansToDegrees(radians: number): number {\n // % (2 * Math.PI) radians in case someone passes value > 2π\n const normalisedRadians = radians % (2 * Math.PI);\n return (normalisedRadians * 180) / Math.PI;\n}\n\n/**\n * Converts an angle in degrees to radians\n *\n * @function\n * @param {number} degrees angle between 0 and 360 degrees\n * @returns {number} angle in radians\n */\nexport function degreesToRadians(degrees: number): number {\n // % 360 degrees in case someone passes value > 360\n const normalisedDegrees = degrees % 360;\n return (normalisedDegrees * Math.PI) / 180;\n}\n\n/**\n * Converts a length from one unit to another.\n *\n * @function\n * @param {number} length Length to be converted\n * @param {Units} [originalUnit=\"kilometers\"] Input length unit\n * @param {Units} [finalUnit=\"kilometers\"] Returned length unit\n * @returns {number} The converted length\n */\nexport function convertLength(\n length: number,\n originalUnit: Units = \"kilometers\",\n finalUnit: Units = \"kilometers\"\n): number {\n if (!(length >= 0)) {\n throw new Error(\"length must be a positive number\");\n }\n return radiansToLength(lengthToRadians(length, originalUnit), finalUnit);\n}\n\n/**\n * Converts an area from one unit to another.\n *\n * @function\n * @param {number} area Area to be converted\n * @param {AreaUnits} [originalUnit=\"meters\"] Input area unit\n * @param {AreaUnits} [finalUnit=\"kilometers\"] Returned area unit\n * @returns {number} The converted length\n */\nexport function convertArea(\n area: number,\n originalUnit: AreaUnits = \"meters\",\n finalUnit: AreaUnits = \"kilometers\"\n): number {\n if (!(area >= 0)) {\n throw new Error(\"area must be a positive number\");\n }\n\n const startFactor = areaFactors[originalUnit];\n if (!startFactor) {\n throw new Error(\"invalid original units\");\n }\n\n const finalFactor = areaFactors[finalUnit];\n if (!finalFactor) {\n throw new Error(\"invalid final units\");\n }\n\n return (area / startFactor) * finalFactor;\n}\n\n/**\n * isNumber\n *\n * @function\n * @param {any} num Number to validate\n * @returns {boolean} true/false\n * @example\n * turf.isNumber(123)\n * //=true\n * turf.isNumber('foo')\n * //=false\n */\nexport function isNumber(num: any): boolean {\n return !isNaN(num) && num !== null && !Array.isArray(num);\n}\n\n/**\n * isObject\n *\n * @function\n * @param {any} input variable to validate\n * @returns {boolean} true/false, including false for Arrays and Functions\n * @example\n * turf.isObject({elevation: 10})\n * //=true\n * turf.isObject('foo')\n * //=false\n */\nexport function isObject(input: any): boolean {\n return input !== null && typeof input === \"object\" && !Array.isArray(input);\n}\n\n/**\n * Validate BBox\n *\n * @private\n * @param {any} bbox BBox to validate\n * @returns {void}\n * @throws {Error} if BBox is not valid\n * @example\n * validateBBox([-180, -40, 110, 50])\n * //=OK\n * validateBBox([-180, -40])\n * //=Error\n * validateBBox('Foo')\n * //=Error\n * validateBBox(5)\n * //=Error\n * validateBBox(null)\n * //=Error\n * validateBBox(undefined)\n * //=Error\n */\nexport function validateBBox(bbox: any): void {\n if (!bbox) {\n throw new Error(\"bbox is required\");\n }\n if (!Array.isArray(bbox)) {\n throw new Error(\"bbox must be an Array\");\n }\n if (bbox.length !== 4 && bbox.length !== 6) {\n throw new Error(\"bbox must be an Array of 4 or 6 numbers\");\n }\n bbox.forEach((num) => {\n if (!isNumber(num)) {\n throw new Error(\"bbox must only contain numbers\");\n }\n });\n}\n\n/**\n * Validate Id\n *\n * @private\n * @param {any} id Id to validate\n * @returns {void}\n * @throws {Error} if Id is not valid\n * @example\n * validateId([-180, -40, 110, 50])\n * //=Error\n * validateId([-180, -40])\n * //=Error\n * validateId('Foo')\n * //=OK\n * validateId(5)\n * //=OK\n * validateId(null)\n * //=Error\n * validateId(undefined)\n * //=Error\n */\nexport function validateId(id: any): void {\n if (!id) {\n throw new Error(\"id is required\");\n }\n if ([\"string\", \"number\"].indexOf(typeof id) === -1) {\n throw new Error(\"id must be a number or a string\");\n }\n}\n"]}
1
+ {"version":3,"sources":["/home/runner/work/turf/turf/packages/turf-helpers/dist/cjs/index.cjs","../../index.ts"],"names":[],"mappings":"AAAA;ACuGO,IAAM,YAAA,EAAc,WAAA;AASpB,IAAM,QAAA,EAAiC;AAAA,EAC5C,WAAA,EAAa,YAAA,EAAc,GAAA;AAAA,EAC3B,WAAA,EAAa,YAAA,EAAc,GAAA;AAAA,EAC3B,OAAA,EAAS,IAAA,EAAA,CAAO,EAAA,EAAI,IAAA,CAAK,EAAA,CAAA;AAAA,EACzB,IAAA,EAAM,YAAA,EA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A,CAAQ,IAAI,CAAA,EAAG;AACxB,IAAA,MAAM,IAAI,KAAA,CAAM,uBAAuB,CAAA;AAAA,EACzC;AACA,EAAA,GAAA,CAAI,IAAA,CAAK,OAAA,IAAW,EAAA,GAAK,IAAA,CAAK,OAAA,IAAW,CAAA,EAAG;AAC1C,IAAA,MAAM,IAAI,KAAA,CAAM,yCAAyC,CAAA;AAAA,EAC3D;AACA,EAAA,IAAA,CAAK,OAAA,CAAQ,CAAC,GAAA,EAAA,GAAQ;AACpB,IAAA,GAAA,CAAI,CAAC,QAAA,CAAS,GAAG,CAAA,EAAG;AAClB,MAAA,MAAM,IAAI,KAAA,CAAM,gCAAgC,CAAA;AAAA,IAClD;AAAA,EACF,CAAC,CAAA;AACH;AAuBO,SAAS,UAAA,CAAW,EAAA,EAAe;AACxC,EAAA,GAAA,CAAI,CAAC,EAAA,EAAI;AACP,IAAA,MAAM,IAAI,KAAA,CAAM,gBAAgB,CAAA;AAAA,EAClC;AACA,EAAA,GAAA,CAAI,CAAC,QAAA,EAAU,QAAQ,CAAA,CAAE,OAAA,CAAQ,OAAO,EAAE,EAAA,IAAM,CAAA,CAAA,EAAI;AAClD,IAAA,MAAM,IAAI,KAAA,CAAM,iCAAiC,CAAA;AAAA,EACnD;AACF;ADhoBA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,2iCAAC","file":"/home/runner/work/turf/turf/packages/turf-helpers/dist/cjs/index.cjs","sourcesContent":[null,"import {\n BBox,\n Feature,\n FeatureCollection,\n Geometry,\n GeometryCollection,\n GeometryObject,\n LineString,\n MultiLineString,\n MultiPoint,\n MultiPolygon,\n Point,\n Polygon,\n Position,\n GeoJsonProperties,\n} from \"geojson\";\n\nimport { Id } from \"./lib/geojson.js\";\nexport * from \"./lib/geojson.js\";\n\n/**\n * @module helpers\n */\n\n// TurfJS Combined Types\nexport type Coord = Feature<Point> | Point | Position;\n\n/**\n * Linear measurement units.\n *\n * ⚠️ Warning. Be aware of the implications of using radian or degree units to\n * measure distance. The distance represented by a degree of longitude *varies*\n * depending on latitude.\n *\n * See https://www.thoughtco.com/degree-of-latitude-and-longitude-distance-4070616\n * for an illustration of this behaviour.\n *\n * @typedef\n */\nexport type Units =\n | \"meters\"\n | \"metres\"\n | \"millimeters\"\n | \"millimetres\"\n | \"centimeters\"\n | \"centimetres\"\n | \"kilometers\"\n | \"kilometres\"\n | \"miles\"\n | \"nauticalmiles\"\n | \"inches\"\n | \"yards\"\n | \"feet\"\n | \"radians\"\n | \"degrees\";\n\n/**\n * Area measurement units.\n *\n * @typedef\n */\nexport type AreaUnits =\n | Exclude<Units, \"radians\" | \"degrees\">\n | \"acres\"\n | \"hectares\";\n\n/**\n * Grid types.\n *\n * @typedef\n */\nexport type Grid = \"point\" | \"square\" | \"hex\" | \"triangle\";\n\n/**\n * Shorthand corner identifiers.\n *\n * @typedef\n */\nexport type Corners = \"sw\" | \"se\" | \"nw\" | \"ne\" | \"center\" | \"centroid\";\n\n/**\n * Geometries made up of lines i.e. lines and polygons.\n *\n * @typedef\n */\nexport type Lines = LineString | MultiLineString | Polygon | MultiPolygon;\n\n/**\n * Convenience type for all possible GeoJSON.\n *\n * @typedef\n */\nexport type AllGeoJSON =\n | Feature\n | FeatureCollection\n | Geometry\n | GeometryCollection;\n\n/**\n * The Earth radius in meters. Used by Turf modules that model the Earth as a sphere. The {@link https://en.wikipedia.org/wiki/Earth_radius#Arithmetic_mean_radius mean radius} was selected because it is {@link https://rosettacode.org/wiki/Haversine_formula#:~:text=This%20value%20is%20recommended recommended } by the Haversine formula (used by turf/distance) to reduce error.\n *\n * @constant\n */\nexport const earthRadius = 6371008.8;\n\n/**\n * Unit of measurement factors based on earthRadius.\n *\n * Keys are the name of the unit, values are the number of that unit in a single radian\n *\n * @constant\n */\nexport const factors: Record<Units, number> = {\n centimeters: earthRadius * 100,\n centimetres: earthRadius * 100,\n degrees: 360 / (2 * Math.PI),\n feet: earthRadius * 3.28084,\n inches: earthRadius * 39.37,\n kilometers: earthRadius / 1000,\n kilometres: earthRadius / 1000,\n meters: earthRadius,\n metres: earthRadius,\n miles: earthRadius / 1609.344,\n millimeters: earthRadius * 1000,\n millimetres: earthRadius * 1000,\n nauticalmiles: earthRadius / 1852,\n radians: 1,\n yards: earthRadius * 1.0936,\n};\n\n/**\n\n * Area of measurement factors based on 1 square meter.\n *\n * @constant\n */\nexport const areaFactors: Record<AreaUnits, number> = {\n acres: 0.000247105,\n centimeters: 10000,\n centimetres: 10000,\n feet: 10.763910417,\n hectares: 0.0001,\n inches: 1550.003100006,\n kilometers: 0.000001,\n kilometres: 0.000001,\n meters: 1,\n metres: 1,\n miles: 3.86e-7,\n nauticalmiles: 2.9155334959812285e-7,\n millimeters: 1000000,\n millimetres: 1000000,\n yards: 1.195990046,\n};\n\n/**\n * Wraps a GeoJSON {@link Geometry} in a GeoJSON {@link Feature}.\n *\n * @function\n * @param {GeometryObject} geometry input geometry\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<GeometryObject, GeoJsonProperties>} a GeoJSON Feature\n * @example\n * var geometry = {\n * \"type\": \"Point\",\n * \"coordinates\": [110, 50]\n * };\n *\n * var feature = turf.feature(geometry);\n *\n * //=feature\n */\nexport function feature<\n G extends GeometryObject = Geometry,\n P extends GeoJsonProperties = GeoJsonProperties,\n>(\n geom: G | null,\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<G, P> {\n const feat: any = { type: \"Feature\" };\n if (options.id === 0 || options.id) {\n feat.id = options.id;\n }\n if (options.bbox) {\n feat.bbox = options.bbox;\n }\n feat.properties = properties || {};\n feat.geometry = geom;\n return feat;\n}\n\n/**\n * Creates a GeoJSON {@link Geometry} from a Geometry string type & coordinates.\n * For GeometryCollection type use `helpers.geometryCollection`\n *\n * @function\n * @param {(\"Point\" | \"LineString\" | \"Polygon\" | \"MultiPoint\" | \"MultiLineString\" | \"MultiPolygon\")} type Geometry Type\n * @param {Array<any>} coordinates Coordinates\n * @param {Object} [options={}] Optional Parameters\n * @returns {Geometry} a GeoJSON Geometry\n * @example\n * var type = \"Point\";\n * var coordinates = [110, 50];\n * var geometry = turf.geometry(type, coordinates);\n * // => geometry\n */\nexport function geometry<\n T extends\n | \"Point\"\n | \"LineString\"\n | \"Polygon\"\n | \"MultiPoint\"\n | \"MultiLineString\"\n | \"MultiPolygon\",\n>(\n type: T,\n coordinates: any[],\n _options: Record<string, never> = {}\n): Extract<Geometry, { type: T }> {\n switch (type) {\n case \"Point\":\n return point(coordinates).geometry as Extract<Geometry, { type: T }>;\n case \"LineString\":\n return lineString(coordinates).geometry as Extract<Geometry, { type: T }>;\n case \"Polygon\":\n return polygon(coordinates).geometry as Extract<Geometry, { type: T }>;\n case \"MultiPoint\":\n return multiPoint(coordinates).geometry as Extract<Geometry, { type: T }>;\n case \"MultiLineString\":\n return multiLineString(coordinates).geometry as Extract<\n Geometry,\n { type: T }\n >;\n case \"MultiPolygon\":\n return multiPolygon(coordinates).geometry as Extract<\n Geometry,\n { type: T }\n >;\n default:\n throw new Error(type + \" is invalid\");\n }\n}\n\n/**\n * Creates a {@link Point} {@link Feature} from a Position.\n *\n * @function\n * @param {Position} coordinates longitude, latitude position (each in decimal degrees)\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<Point, GeoJsonProperties>} a Point feature\n * @example\n * var point = turf.point([-75.343, 39.984]);\n *\n * //=point\n */\nexport function point<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position,\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<Point, P> {\n if (!coordinates) {\n throw new Error(\"coordinates is required\");\n }\n if (!Array.isArray(coordinates)) {\n throw new Error(\"coordinates must be an Array\");\n }\n if (coordinates.length < 2) {\n throw new Error(\"coordinates must be at least 2 numbers long\");\n }\n if (!isNumber(coordinates[0]) || !isNumber(coordinates[1])) {\n throw new Error(\"coordinates must contain numbers\");\n }\n\n const geom: Point = {\n type: \"Point\",\n coordinates,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Creates a {@link Point} {@link FeatureCollection} from an Array of Point coordinates.\n *\n * @function\n * @param {Position[]} coordinates an array of Points\n * @param {GeoJsonProperties} [properties={}] Translate these properties to each Feature\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north]\n * associated with the FeatureCollection\n * @param {Id} [options.id] Identifier associated with the FeatureCollection\n * @returns {FeatureCollection<Point>} Point Feature\n * @example\n * var points = turf.points([\n * [-75, 39],\n * [-80, 45],\n * [-78, 50]\n * ]);\n *\n * //=points\n */\nexport function points<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): FeatureCollection<Point, P> {\n return featureCollection(\n coordinates.map((coords) => {\n return point(coords, properties);\n }),\n options\n );\n}\n\n/**\n * Creates a {@link Polygon} {@link Feature} from an Array of LinearRings.\n *\n * @function\n * @param {Position[][]} coordinates an array of LinearRings\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<Polygon, GeoJsonProperties>} Polygon Feature\n * @example\n * var polygon = turf.polygon([[[-5, 52], [-4, 56], [-2, 51], [-7, 54], [-5, 52]]], { name: 'poly1' });\n *\n * //=polygon\n */\nexport function polygon<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[][],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<Polygon, P> {\n for (const ring of coordinates) {\n if (ring.length < 4) {\n throw new Error(\n \"Each LinearRing of a Polygon must have 4 or more Positions.\"\n );\n }\n\n if (ring[ring.length - 1].length !== ring[0].length) {\n throw new Error(\"First and last Position are not equivalent.\");\n }\n\n for (let j = 0; j < ring[ring.length - 1].length; j++) {\n // Check if first point of Polygon contains two numbers\n if (ring[ring.length - 1][j] !== ring[0][j]) {\n throw new Error(\"First and last Position are not equivalent.\");\n }\n }\n }\n const geom: Polygon = {\n type: \"Polygon\",\n coordinates,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Creates a {@link Polygon} {@link FeatureCollection} from an Array of Polygon coordinates.\n *\n * @function\n * @param {Position[][][]} coordinates an array of Polygon coordinates\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the FeatureCollection\n * @returns {FeatureCollection<Polygon, GeoJsonProperties>} Polygon FeatureCollection\n * @example\n * var polygons = turf.polygons([\n * [[[-5, 52], [-4, 56], [-2, 51], [-7, 54], [-5, 52]]],\n * [[[-15, 42], [-14, 46], [-12, 41], [-17, 44], [-15, 42]]],\n * ]);\n *\n * //=polygons\n */\nexport function polygons<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[][][],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): FeatureCollection<Polygon, P> {\n return featureCollection(\n coordinates.map((coords) => {\n return polygon(coords, properties);\n }),\n options\n );\n}\n\n/**\n * Creates a {@link LineString} {@link Feature} from an Array of Positions.\n *\n * @function\n * @param {Position[]} coordinates an array of Positions\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<LineString, GeoJsonProperties>} LineString Feature\n * @example\n * var linestring1 = turf.lineString([[-24, 63], [-23, 60], [-25, 65], [-20, 69]], {name: 'line 1'});\n * var linestring2 = turf.lineString([[-14, 43], [-13, 40], [-15, 45], [-10, 49]], {name: 'line 2'});\n *\n * //=linestring1\n * //=linestring2\n */\nexport function lineString<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<LineString, P> {\n if (coordinates.length < 2) {\n throw new Error(\"coordinates must be an array of two or more positions\");\n }\n const geom: LineString = {\n type: \"LineString\",\n coordinates,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Creates a {@link LineString} {@link FeatureCollection} from an Array of LineString coordinates.\n *\n * @function\n * @param {Position[][]} coordinates an array of LinearRings\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north]\n * associated with the FeatureCollection\n * @param {Id} [options.id] Identifier associated with the FeatureCollection\n * @returns {FeatureCollection<LineString, GeoJsonProperties>} LineString FeatureCollection\n * @example\n * var linestrings = turf.lineStrings([\n * [[-24, 63], [-23, 60], [-25, 65], [-20, 69]],\n * [[-14, 43], [-13, 40], [-15, 45], [-10, 49]]\n * ]);\n *\n * //=linestrings\n */\nexport function lineStrings<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[][],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): FeatureCollection<LineString, P> {\n return featureCollection(\n coordinates.map((coords) => {\n return lineString(coords, properties);\n }),\n options\n );\n}\n\n/**\n * Takes one or more {@link Feature|Features} and creates a {@link FeatureCollection}.\n *\n * @function\n * @param {Array<Feature<GeometryObject, GeoJsonProperties>>} features input features\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {FeatureCollection<GeometryObject, GeoJsonProperties>} FeatureCollection of Features\n * @example\n * var locationA = turf.point([-75.343, 39.984], {name: 'Location A'});\n * var locationB = turf.point([-75.833, 39.284], {name: 'Location B'});\n * var locationC = turf.point([-75.534, 39.123], {name: 'Location C'});\n *\n * var collection = turf.featureCollection([\n * locationA,\n * locationB,\n * locationC\n * ]);\n *\n * //=collection\n */\nexport function featureCollection<\n G extends GeometryObject = Geometry,\n P extends GeoJsonProperties = GeoJsonProperties,\n>(\n features: Array<Feature<G, P>>,\n options: { bbox?: BBox; id?: Id } = {}\n): FeatureCollection<G, P> {\n const fc: any = { type: \"FeatureCollection\" };\n if (options.id) {\n fc.id = options.id;\n }\n if (options.bbox) {\n fc.bbox = options.bbox;\n }\n fc.features = features;\n return fc;\n}\n\n/**\n * Creates a {@link Feature}<{@link MultiLineString}> based on a\n * coordinate array. Properties can be added optionally.\n *\n * @function\n * @param {Position[][]} coordinates an array of LineStrings\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<MultiLineString, GeoJsonProperties>} a MultiLineString feature\n * @throws {Error} if no coordinates are passed\n * @example\n * var multiLine = turf.multiLineString([[[0,0],[10,10]]]);\n *\n * //=multiLine\n */\nexport function multiLineString<\n P extends GeoJsonProperties = GeoJsonProperties,\n>(\n coordinates: Position[][],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<MultiLineString, P> {\n const geom: MultiLineString = {\n type: \"MultiLineString\",\n coordinates,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Creates a {@link Feature}<{@link MultiPoint}> based on a\n * coordinate array. Properties can be added optionally.\n *\n * @function\n * @param {Position[]} coordinates an array of Positions\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<MultiPoint, GeoJsonProperties>} a MultiPoint feature\n * @throws {Error} if no coordinates are passed\n * @example\n * var multiPt = turf.multiPoint([[0,0],[10,10]]);\n *\n * //=multiPt\n */\nexport function multiPoint<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<MultiPoint, P> {\n const geom: MultiPoint = {\n type: \"MultiPoint\",\n coordinates,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Creates a {@link Feature}<{@link MultiPolygon}> based on a\n * coordinate array. Properties can be added optionally.\n *\n * @function\n * @param {Position[][][]} coordinates an array of Polygons\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<MultiPolygon, GeoJsonProperties>} a multipolygon feature\n * @throws {Error} if no coordinates are passed\n * @example\n * var multiPoly = turf.multiPolygon([[[[0,0],[0,10],[10,10],[10,0],[0,0]]]]);\n *\n * //=multiPoly\n *\n */\nexport function multiPolygon<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[][][],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<MultiPolygon, P> {\n const geom: MultiPolygon = {\n type: \"MultiPolygon\",\n coordinates,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Creates a Feature<GeometryCollection> based on a\n * coordinate array. Properties can be added optionally.\n *\n * @function\n * @param {Array<Point | LineString | Polygon | MultiPoint | MultiLineString | MultiPolygon>} geometries an array of GeoJSON Geometries\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<GeometryCollection, GeoJsonProperties>} a GeoJSON GeometryCollection Feature\n * @example\n * var pt = turf.geometry(\"Point\", [100, 0]);\n * var line = turf.geometry(\"LineString\", [[101, 0], [102, 1]]);\n * var collection = turf.geometryCollection([pt, line]);\n *\n * // => collection\n */\nexport function geometryCollection<\n G extends\n | Point\n | LineString\n | Polygon\n | MultiPoint\n | MultiLineString\n | MultiPolygon,\n P extends GeoJsonProperties = GeoJsonProperties,\n>(\n geometries: Array<G>,\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<GeometryCollection<G>, P> {\n const geom: GeometryCollection<G> = {\n type: \"GeometryCollection\",\n geometries,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Round number to precision\n *\n * @function\n * @param {number} num Number\n * @param {number} [precision=0] Precision\n * @returns {number} rounded number\n * @example\n * turf.round(120.4321)\n * //=120\n *\n * turf.round(120.4321, 2)\n * //=120.43\n */\nexport function round(num: number, precision = 0): number {\n if (precision && !(precision >= 0)) {\n throw new Error(\"precision must be a positive number\");\n }\n const multiplier = Math.pow(10, precision || 0);\n return Math.round(num * multiplier) / multiplier;\n}\n\n/**\n * Convert a distance measurement (assuming a spherical Earth) from radians to a more friendly unit.\n * Valid units: miles, nauticalmiles, inches, yards, meters, metres, kilometers, centimeters, feet\n *\n * @function\n * @param {number} radians in radians across the sphere\n * @param {Units} [units=\"kilometers\"] can be degrees, radians, miles, inches, yards, metres,\n * meters, kilometres, kilometers.\n * @returns {number} distance\n */\nexport function radiansToLength(\n radians: number,\n units: Units = \"kilometers\"\n): number {\n const factor = factors[units];\n if (!factor) {\n throw new Error(units + \" units is invalid\");\n }\n return radians * factor;\n}\n\n/**\n * Convert a distance measurement (assuming a spherical Earth) from a real-world unit into radians\n * Valid units: miles, nauticalmiles, inches, yards, meters, metres, kilometers, centimeters, feet\n *\n * @function\n * @param {number} distance in real units\n * @param {Units} [units=\"kilometers\"] can be degrees, radians, miles, inches, yards, metres,\n * meters, kilometres, kilometers.\n * @returns {number} radians\n */\nexport function lengthToRadians(\n distance: number,\n units: Units = \"kilometers\"\n): number {\n const factor = factors[units];\n if (!factor) {\n throw new Error(units + \" units is invalid\");\n }\n return distance / factor;\n}\n\n/**\n * Convert a distance measurement (assuming a spherical Earth) from a real-world unit into degrees\n * Valid units: miles, nauticalmiles, inches, yards, meters, metres, centimeters, kilometres, feet\n *\n * @function\n * @param {number} distance in real units\n * @param {Units} [units=\"kilometers\"] can be degrees, radians, miles, inches, yards, metres,\n * meters, kilometres, kilometers.\n * @returns {number} degrees\n */\nexport function lengthToDegrees(distance: number, units?: Units): number {\n return radiansToDegrees(lengthToRadians(distance, units));\n}\n\n/**\n * Converts any bearing angle from the north line direction (positive clockwise)\n * and returns an angle between 0-360 degrees (positive clockwise), 0 being the north line\n *\n * @function\n * @param {number} bearing angle, between -180 and +180 degrees\n * @returns {number} angle between 0 and 360 degrees\n */\nexport function bearingToAzimuth(bearing: number): number {\n let angle = bearing % 360;\n if (angle < 0) {\n angle += 360;\n }\n return angle;\n}\n\n/**\n * Converts any azimuth angle from the north line direction (positive clockwise)\n * and returns an angle between -180 and +180 degrees (positive clockwise), 0 being the north line\n *\n * @function\n * @param {number} angle between 0 and 360 degrees\n * @returns {number} bearing between -180 and +180 degrees\n */\nexport function azimuthToBearing(angle: number): number {\n // Ignore full revolutions (multiples of 360)\n angle = angle % 360;\n\n if (angle > 180) {\n return angle - 360;\n } else if (angle < -180) {\n return angle + 360;\n }\n\n return angle;\n}\n\n/**\n * Converts an angle in radians to degrees\n *\n * @function\n * @param {number} radians angle in radians\n * @returns {number} degrees between 0 and 360 degrees\n */\nexport function radiansToDegrees(radians: number): number {\n // % (2 * Math.PI) radians in case someone passes value > 2π\n const normalisedRadians = radians % (2 * Math.PI);\n return (normalisedRadians * 180) / Math.PI;\n}\n\n/**\n * Converts an angle in degrees to radians\n *\n * @function\n * @param {number} degrees angle between 0 and 360 degrees\n * @returns {number} angle in radians\n */\nexport function degreesToRadians(degrees: number): number {\n // % 360 degrees in case someone passes value > 360\n const normalisedDegrees = degrees % 360;\n return (normalisedDegrees * Math.PI) / 180;\n}\n\n/**\n * Converts a length from one unit to another.\n *\n * @function\n * @param {number} length Length to be converted\n * @param {Units} [originalUnit=\"kilometers\"] Input length unit\n * @param {Units} [finalUnit=\"kilometers\"] Returned length unit\n * @returns {number} The converted length\n */\nexport function convertLength(\n length: number,\n originalUnit: Units = \"kilometers\",\n finalUnit: Units = \"kilometers\"\n): number {\n if (!(length >= 0)) {\n throw new Error(\"length must be a positive number\");\n }\n return radiansToLength(lengthToRadians(length, originalUnit), finalUnit);\n}\n\n/**\n * Converts an area from one unit to another.\n *\n * @function\n * @param {number} area Area to be converted\n * @param {AreaUnits} [originalUnit=\"meters\"] Input area unit\n * @param {AreaUnits} [finalUnit=\"kilometers\"] Returned area unit\n * @returns {number} The converted length\n */\nexport function convertArea(\n area: number,\n originalUnit: AreaUnits = \"meters\",\n finalUnit: AreaUnits = \"kilometers\"\n): number {\n if (!(area >= 0)) {\n throw new Error(\"area must be a positive number\");\n }\n\n const startFactor = areaFactors[originalUnit];\n if (!startFactor) {\n throw new Error(\"invalid original units\");\n }\n\n const finalFactor = areaFactors[finalUnit];\n if (!finalFactor) {\n throw new Error(\"invalid final units\");\n }\n\n return (area / startFactor) * finalFactor;\n}\n\n/**\n * isNumber\n *\n * @function\n * @param {any} num Number to validate\n * @returns {boolean} true/false\n * @example\n * turf.isNumber(123)\n * //=true\n * turf.isNumber('foo')\n * //=false\n */\nexport function isNumber(num: any): boolean {\n return !isNaN(num) && num !== null && !Array.isArray(num);\n}\n\n/**\n * isObject\n *\n * @function\n * @param {any} input variable to validate\n * @returns {boolean} true/false, including false for Arrays and Functions\n * @example\n * turf.isObject({elevation: 10})\n * //=true\n * turf.isObject('foo')\n * //=false\n */\nexport function isObject(input: any): boolean {\n return input !== null && typeof input === \"object\" && !Array.isArray(input);\n}\n\n/**\n * Validate BBox\n *\n * @private\n * @param {any} bbox BBox to validate\n * @returns {void}\n * @throws {Error} if BBox is not valid\n * @example\n * validateBBox([-180, -40, 110, 50])\n * //=OK\n * validateBBox([-180, -40])\n * //=Error\n * validateBBox('Foo')\n * //=Error\n * validateBBox(5)\n * //=Error\n * validateBBox(null)\n * //=Error\n * validateBBox(undefined)\n * //=Error\n */\nexport function validateBBox(bbox: any): void {\n if (!bbox) {\n throw new Error(\"bbox is required\");\n }\n if (!Array.isArray(bbox)) {\n throw new Error(\"bbox must be an Array\");\n }\n if (bbox.length !== 4 && bbox.length !== 6) {\n throw new Error(\"bbox must be an Array of 4 or 6 numbers\");\n }\n bbox.forEach((num) => {\n if (!isNumber(num)) {\n throw new Error(\"bbox must only contain numbers\");\n }\n });\n}\n\n/**\n * Validate Id\n *\n * @private\n * @param {any} id Id to validate\n * @returns {void}\n * @throws {Error} if Id is not valid\n * @example\n * validateId([-180, -40, 110, 50])\n * //=Error\n * validateId([-180, -40])\n * //=Error\n * validateId('Foo')\n * //=OK\n * validateId(5)\n * //=OK\n * validateId(null)\n * //=Error\n * validateId(undefined)\n * //=Error\n */\nexport function validateId(id: any): void {\n if (!id) {\n throw new Error(\"id is required\");\n }\n if ([\"string\", \"number\"].indexOf(typeof id) === -1) {\n throw new Error(\"id must be a number or a string\");\n }\n}\n"]}
@@ -118,7 +118,9 @@ declare function feature<G extends GeometryObject = Geometry, P extends GeoJsonP
118
118
  * var geometry = turf.geometry(type, coordinates);
119
119
  * // => geometry
120
120
  */
121
- declare function geometry(type: "Point" | "LineString" | "Polygon" | "MultiPoint" | "MultiLineString" | "MultiPolygon", coordinates: any[], _options?: Record<string, never>): Point | MultiPoint | LineString | MultiLineString | Polygon | MultiPolygon;
121
+ declare function geometry<T extends "Point" | "LineString" | "Polygon" | "MultiPoint" | "MultiLineString" | "MultiPolygon">(type: T, coordinates: any[], _options?: Record<string, never>): Extract<Geometry, {
122
+ type: T;
123
+ }>;
122
124
  /**
123
125
  * Creates a {@link Point} {@link Feature} from a Position.
124
126
  *
@@ -355,10 +357,10 @@ declare function multiPolygon<P extends GeoJsonProperties = GeoJsonProperties>(c
355
357
  *
356
358
  * // => collection
357
359
  */
358
- declare function geometryCollection<P extends GeoJsonProperties = GeoJsonProperties>(geometries: Array<Point | LineString | Polygon | MultiPoint | MultiLineString | MultiPolygon>, properties?: P, options?: {
360
+ declare function geometryCollection<G extends Point | LineString | Polygon | MultiPoint | MultiLineString | MultiPolygon, P extends GeoJsonProperties = GeoJsonProperties>(geometries: Array<G>, properties?: P, options?: {
359
361
  bbox?: BBox;
360
362
  id?: Id;
361
- }): Feature<GeometryCollection, P>;
363
+ }): Feature<GeometryCollection<G>, P>;
362
364
  /**
363
365
  * Round number to precision
364
366
  *
@@ -118,7 +118,9 @@ declare function feature<G extends GeometryObject = Geometry, P extends GeoJsonP
118
118
  * var geometry = turf.geometry(type, coordinates);
119
119
  * // => geometry
120
120
  */
121
- declare function geometry(type: "Point" | "LineString" | "Polygon" | "MultiPoint" | "MultiLineString" | "MultiPolygon", coordinates: any[], _options?: Record<string, never>): Point | MultiPoint | LineString | MultiLineString | Polygon | MultiPolygon;
121
+ declare function geometry<T extends "Point" | "LineString" | "Polygon" | "MultiPoint" | "MultiLineString" | "MultiPolygon">(type: T, coordinates: any[], _options?: Record<string, never>): Extract<Geometry, {
122
+ type: T;
123
+ }>;
122
124
  /**
123
125
  * Creates a {@link Point} {@link Feature} from a Position.
124
126
  *
@@ -355,10 +357,10 @@ declare function multiPolygon<P extends GeoJsonProperties = GeoJsonProperties>(c
355
357
  *
356
358
  * // => collection
357
359
  */
358
- declare function geometryCollection<P extends GeoJsonProperties = GeoJsonProperties>(geometries: Array<Point | LineString | Polygon | MultiPoint | MultiLineString | MultiPolygon>, properties?: P, options?: {
360
+ declare function geometryCollection<G extends Point | LineString | Polygon | MultiPoint | MultiLineString | MultiPolygon, P extends GeoJsonProperties = GeoJsonProperties>(geometries: Array<G>, properties?: P, options?: {
359
361
  bbox?: BBox;
360
362
  id?: Id;
361
- }): Feature<GeometryCollection, P>;
363
+ }): Feature<GeometryCollection<G>, P>;
362
364
  /**
363
365
  * Round number to precision
364
366
  *
@@ -1 +1 @@
1
- {"version":3,"sources":["../../index.ts"],"sourcesContent":["import {\n BBox,\n Feature,\n FeatureCollection,\n Geometry,\n GeometryCollection,\n GeometryObject,\n LineString,\n MultiLineString,\n MultiPoint,\n MultiPolygon,\n Point,\n Polygon,\n Position,\n GeoJsonProperties,\n} from \"geojson\";\n\nimport { Id } from \"./lib/geojson.js\";\nexport * from \"./lib/geojson.js\";\n\n/**\n * @module helpers\n */\n\n// TurfJS Combined Types\nexport type Coord = Feature<Point> | Point | Position;\n\n/**\n * Linear measurement units.\n *\n * ⚠️ Warning. Be aware of the implications of using radian or degree units to\n * measure distance. The distance represented by a degree of longitude *varies*\n * depending on latitude.\n *\n * See https://www.thoughtco.com/degree-of-latitude-and-longitude-distance-4070616\n * for an illustration of this behaviour.\n *\n * @typedef\n */\nexport type Units =\n | \"meters\"\n | \"metres\"\n | \"millimeters\"\n | \"millimetres\"\n | \"centimeters\"\n | \"centimetres\"\n | \"kilometers\"\n | \"kilometres\"\n | \"miles\"\n | \"nauticalmiles\"\n | \"inches\"\n | \"yards\"\n | \"feet\"\n | \"radians\"\n | \"degrees\";\n\n/**\n * Area measurement units.\n *\n * @typedef\n */\nexport type AreaUnits =\n | Exclude<Units, \"radians\" | \"degrees\">\n | \"acres\"\n | \"hectares\";\n\n/**\n * Grid types.\n *\n * @typedef\n */\nexport type Grid = \"point\" | \"square\" | \"hex\" | \"triangle\";\n\n/**\n * Shorthand corner identifiers.\n *\n * @typedef\n */\nexport type Corners = \"sw\" | \"se\" | \"nw\" | \"ne\" | \"center\" | \"centroid\";\n\n/**\n * Geometries made up of lines i.e. lines and polygons.\n *\n * @typedef\n */\nexport type Lines = LineString | MultiLineString | Polygon | MultiPolygon;\n\n/**\n * Convenience type for all possible GeoJSON.\n *\n * @typedef\n */\nexport type AllGeoJSON =\n | Feature\n | FeatureCollection\n | Geometry\n | GeometryCollection;\n\n/**\n * The Earth radius in meters. Used by Turf modules that model the Earth as a sphere. The {@link https://en.wikipedia.org/wiki/Earth_radius#Arithmetic_mean_radius mean radius} was selected because it is {@link https://rosettacode.org/wiki/Haversine_formula#:~:text=This%20value%20is%20recommended recommended } by the Haversine formula (used by turf/distance) to reduce error.\n *\n * @constant\n */\nexport const earthRadius = 6371008.8;\n\n/**\n * Unit of measurement factors based on earthRadius.\n *\n * Keys are the name of the unit, values are the number of that unit in a single radian\n *\n * @constant\n */\nexport const factors: Record<Units, number> = {\n centimeters: earthRadius * 100,\n centimetres: earthRadius * 100,\n degrees: 360 / (2 * Math.PI),\n feet: earthRadius * 3.28084,\n inches: earthRadius * 39.37,\n kilometers: earthRadius / 1000,\n kilometres: earthRadius / 1000,\n meters: earthRadius,\n metres: earthRadius,\n miles: earthRadius / 1609.344,\n millimeters: earthRadius * 1000,\n millimetres: earthRadius * 1000,\n nauticalmiles: earthRadius / 1852,\n radians: 1,\n yards: earthRadius * 1.0936,\n};\n\n/**\n\n * Area of measurement factors based on 1 square meter.\n *\n * @constant\n */\nexport const areaFactors: Record<AreaUnits, number> = {\n acres: 0.000247105,\n centimeters: 10000,\n centimetres: 10000,\n feet: 10.763910417,\n hectares: 0.0001,\n inches: 1550.003100006,\n kilometers: 0.000001,\n kilometres: 0.000001,\n meters: 1,\n metres: 1,\n miles: 3.86e-7,\n nauticalmiles: 2.9155334959812285e-7,\n millimeters: 1000000,\n millimetres: 1000000,\n yards: 1.195990046,\n};\n\n/**\n * Wraps a GeoJSON {@link Geometry} in a GeoJSON {@link Feature}.\n *\n * @function\n * @param {GeometryObject} geometry input geometry\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<GeometryObject, GeoJsonProperties>} a GeoJSON Feature\n * @example\n * var geometry = {\n * \"type\": \"Point\",\n * \"coordinates\": [110, 50]\n * };\n *\n * var feature = turf.feature(geometry);\n *\n * //=feature\n */\nexport function feature<\n G extends GeometryObject = Geometry,\n P extends GeoJsonProperties = GeoJsonProperties,\n>(\n geom: G | null,\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<G, P> {\n const feat: any = { type: \"Feature\" };\n if (options.id === 0 || options.id) {\n feat.id = options.id;\n }\n if (options.bbox) {\n feat.bbox = options.bbox;\n }\n feat.properties = properties || {};\n feat.geometry = geom;\n return feat;\n}\n\n/**\n * Creates a GeoJSON {@link Geometry} from a Geometry string type & coordinates.\n * For GeometryCollection type use `helpers.geometryCollection`\n *\n * @function\n * @param {(\"Point\" | \"LineString\" | \"Polygon\" | \"MultiPoint\" | \"MultiLineString\" | \"MultiPolygon\")} type Geometry Type\n * @param {Array<any>} coordinates Coordinates\n * @param {Object} [options={}] Optional Parameters\n * @returns {Geometry} a GeoJSON Geometry\n * @example\n * var type = \"Point\";\n * var coordinates = [110, 50];\n * var geometry = turf.geometry(type, coordinates);\n * // => geometry\n */\nexport function geometry(\n type:\n | \"Point\"\n | \"LineString\"\n | \"Polygon\"\n | \"MultiPoint\"\n | \"MultiLineString\"\n | \"MultiPolygon\",\n coordinates: any[],\n _options: Record<string, never> = {}\n) {\n switch (type) {\n case \"Point\":\n return point(coordinates).geometry;\n case \"LineString\":\n return lineString(coordinates).geometry;\n case \"Polygon\":\n return polygon(coordinates).geometry;\n case \"MultiPoint\":\n return multiPoint(coordinates).geometry;\n case \"MultiLineString\":\n return multiLineString(coordinates).geometry;\n case \"MultiPolygon\":\n return multiPolygon(coordinates).geometry;\n default:\n throw new Error(type + \" is invalid\");\n }\n}\n\n/**\n * Creates a {@link Point} {@link Feature} from a Position.\n *\n * @function\n * @param {Position} coordinates longitude, latitude position (each in decimal degrees)\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<Point, GeoJsonProperties>} a Point feature\n * @example\n * var point = turf.point([-75.343, 39.984]);\n *\n * //=point\n */\nexport function point<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position,\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<Point, P> {\n if (!coordinates) {\n throw new Error(\"coordinates is required\");\n }\n if (!Array.isArray(coordinates)) {\n throw new Error(\"coordinates must be an Array\");\n }\n if (coordinates.length < 2) {\n throw new Error(\"coordinates must be at least 2 numbers long\");\n }\n if (!isNumber(coordinates[0]) || !isNumber(coordinates[1])) {\n throw new Error(\"coordinates must contain numbers\");\n }\n\n const geom: Point = {\n type: \"Point\",\n coordinates,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Creates a {@link Point} {@link FeatureCollection} from an Array of Point coordinates.\n *\n * @function\n * @param {Position[]} coordinates an array of Points\n * @param {GeoJsonProperties} [properties={}] Translate these properties to each Feature\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north]\n * associated with the FeatureCollection\n * @param {Id} [options.id] Identifier associated with the FeatureCollection\n * @returns {FeatureCollection<Point>} Point Feature\n * @example\n * var points = turf.points([\n * [-75, 39],\n * [-80, 45],\n * [-78, 50]\n * ]);\n *\n * //=points\n */\nexport function points<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): FeatureCollection<Point, P> {\n return featureCollection(\n coordinates.map((coords) => {\n return point(coords, properties);\n }),\n options\n );\n}\n\n/**\n * Creates a {@link Polygon} {@link Feature} from an Array of LinearRings.\n *\n * @function\n * @param {Position[][]} coordinates an array of LinearRings\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<Polygon, GeoJsonProperties>} Polygon Feature\n * @example\n * var polygon = turf.polygon([[[-5, 52], [-4, 56], [-2, 51], [-7, 54], [-5, 52]]], { name: 'poly1' });\n *\n * //=polygon\n */\nexport function polygon<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[][],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<Polygon, P> {\n for (const ring of coordinates) {\n if (ring.length < 4) {\n throw new Error(\n \"Each LinearRing of a Polygon must have 4 or more Positions.\"\n );\n }\n\n if (ring[ring.length - 1].length !== ring[0].length) {\n throw new Error(\"First and last Position are not equivalent.\");\n }\n\n for (let j = 0; j < ring[ring.length - 1].length; j++) {\n // Check if first point of Polygon contains two numbers\n if (ring[ring.length - 1][j] !== ring[0][j]) {\n throw new Error(\"First and last Position are not equivalent.\");\n }\n }\n }\n const geom: Polygon = {\n type: \"Polygon\",\n coordinates,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Creates a {@link Polygon} {@link FeatureCollection} from an Array of Polygon coordinates.\n *\n * @function\n * @param {Position[][][]} coordinates an array of Polygon coordinates\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the FeatureCollection\n * @returns {FeatureCollection<Polygon, GeoJsonProperties>} Polygon FeatureCollection\n * @example\n * var polygons = turf.polygons([\n * [[[-5, 52], [-4, 56], [-2, 51], [-7, 54], [-5, 52]]],\n * [[[-15, 42], [-14, 46], [-12, 41], [-17, 44], [-15, 42]]],\n * ]);\n *\n * //=polygons\n */\nexport function polygons<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[][][],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): FeatureCollection<Polygon, P> {\n return featureCollection(\n coordinates.map((coords) => {\n return polygon(coords, properties);\n }),\n options\n );\n}\n\n/**\n * Creates a {@link LineString} {@link Feature} from an Array of Positions.\n *\n * @function\n * @param {Position[]} coordinates an array of Positions\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<LineString, GeoJsonProperties>} LineString Feature\n * @example\n * var linestring1 = turf.lineString([[-24, 63], [-23, 60], [-25, 65], [-20, 69]], {name: 'line 1'});\n * var linestring2 = turf.lineString([[-14, 43], [-13, 40], [-15, 45], [-10, 49]], {name: 'line 2'});\n *\n * //=linestring1\n * //=linestring2\n */\nexport function lineString<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<LineString, P> {\n if (coordinates.length < 2) {\n throw new Error(\"coordinates must be an array of two or more positions\");\n }\n const geom: LineString = {\n type: \"LineString\",\n coordinates,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Creates a {@link LineString} {@link FeatureCollection} from an Array of LineString coordinates.\n *\n * @function\n * @param {Position[][]} coordinates an array of LinearRings\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north]\n * associated with the FeatureCollection\n * @param {Id} [options.id] Identifier associated with the FeatureCollection\n * @returns {FeatureCollection<LineString, GeoJsonProperties>} LineString FeatureCollection\n * @example\n * var linestrings = turf.lineStrings([\n * [[-24, 63], [-23, 60], [-25, 65], [-20, 69]],\n * [[-14, 43], [-13, 40], [-15, 45], [-10, 49]]\n * ]);\n *\n * //=linestrings\n */\nexport function lineStrings<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[][],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): FeatureCollection<LineString, P> {\n return featureCollection(\n coordinates.map((coords) => {\n return lineString(coords, properties);\n }),\n options\n );\n}\n\n/**\n * Takes one or more {@link Feature|Features} and creates a {@link FeatureCollection}.\n *\n * @function\n * @param {Array<Feature<GeometryObject, GeoJsonProperties>>} features input features\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {FeatureCollection<GeometryObject, GeoJsonProperties>} FeatureCollection of Features\n * @example\n * var locationA = turf.point([-75.343, 39.984], {name: 'Location A'});\n * var locationB = turf.point([-75.833, 39.284], {name: 'Location B'});\n * var locationC = turf.point([-75.534, 39.123], {name: 'Location C'});\n *\n * var collection = turf.featureCollection([\n * locationA,\n * locationB,\n * locationC\n * ]);\n *\n * //=collection\n */\nexport function featureCollection<\n G extends GeometryObject = Geometry,\n P extends GeoJsonProperties = GeoJsonProperties,\n>(\n features: Array<Feature<G, P>>,\n options: { bbox?: BBox; id?: Id } = {}\n): FeatureCollection<G, P> {\n const fc: any = { type: \"FeatureCollection\" };\n if (options.id) {\n fc.id = options.id;\n }\n if (options.bbox) {\n fc.bbox = options.bbox;\n }\n fc.features = features;\n return fc;\n}\n\n/**\n * Creates a {@link Feature}<{@link MultiLineString}> based on a\n * coordinate array. Properties can be added optionally.\n *\n * @function\n * @param {Position[][]} coordinates an array of LineStrings\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<MultiLineString, GeoJsonProperties>} a MultiLineString feature\n * @throws {Error} if no coordinates are passed\n * @example\n * var multiLine = turf.multiLineString([[[0,0],[10,10]]]);\n *\n * //=multiLine\n */\nexport function multiLineString<\n P extends GeoJsonProperties = GeoJsonProperties,\n>(\n coordinates: Position[][],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<MultiLineString, P> {\n const geom: MultiLineString = {\n type: \"MultiLineString\",\n coordinates,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Creates a {@link Feature}<{@link MultiPoint}> based on a\n * coordinate array. Properties can be added optionally.\n *\n * @function\n * @param {Position[]} coordinates an array of Positions\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<MultiPoint, GeoJsonProperties>} a MultiPoint feature\n * @throws {Error} if no coordinates are passed\n * @example\n * var multiPt = turf.multiPoint([[0,0],[10,10]]);\n *\n * //=multiPt\n */\nexport function multiPoint<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<MultiPoint, P> {\n const geom: MultiPoint = {\n type: \"MultiPoint\",\n coordinates,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Creates a {@link Feature}<{@link MultiPolygon}> based on a\n * coordinate array. Properties can be added optionally.\n *\n * @function\n * @param {Position[][][]} coordinates an array of Polygons\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<MultiPolygon, GeoJsonProperties>} a multipolygon feature\n * @throws {Error} if no coordinates are passed\n * @example\n * var multiPoly = turf.multiPolygon([[[[0,0],[0,10],[10,10],[10,0],[0,0]]]]);\n *\n * //=multiPoly\n *\n */\nexport function multiPolygon<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[][][],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<MultiPolygon, P> {\n const geom: MultiPolygon = {\n type: \"MultiPolygon\",\n coordinates,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Creates a Feature<GeometryCollection> based on a\n * coordinate array. Properties can be added optionally.\n *\n * @function\n * @param {Array<Point | LineString | Polygon | MultiPoint | MultiLineString | MultiPolygon>} geometries an array of GeoJSON Geometries\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<GeometryCollection, GeoJsonProperties>} a GeoJSON GeometryCollection Feature\n * @example\n * var pt = turf.geometry(\"Point\", [100, 0]);\n * var line = turf.geometry(\"LineString\", [[101, 0], [102, 1]]);\n * var collection = turf.geometryCollection([pt, line]);\n *\n * // => collection\n */\nexport function geometryCollection<\n P extends GeoJsonProperties = GeoJsonProperties,\n>(\n geometries: Array<\n Point | LineString | Polygon | MultiPoint | MultiLineString | MultiPolygon\n >,\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<GeometryCollection, P> {\n const geom: GeometryCollection = {\n type: \"GeometryCollection\",\n geometries,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Round number to precision\n *\n * @function\n * @param {number} num Number\n * @param {number} [precision=0] Precision\n * @returns {number} rounded number\n * @example\n * turf.round(120.4321)\n * //=120\n *\n * turf.round(120.4321, 2)\n * //=120.43\n */\nexport function round(num: number, precision = 0): number {\n if (precision && !(precision >= 0)) {\n throw new Error(\"precision must be a positive number\");\n }\n const multiplier = Math.pow(10, precision || 0);\n return Math.round(num * multiplier) / multiplier;\n}\n\n/**\n * Convert a distance measurement (assuming a spherical Earth) from radians to a more friendly unit.\n * Valid units: miles, nauticalmiles, inches, yards, meters, metres, kilometers, centimeters, feet\n *\n * @function\n * @param {number} radians in radians across the sphere\n * @param {Units} [units=\"kilometers\"] can be degrees, radians, miles, inches, yards, metres,\n * meters, kilometres, kilometers.\n * @returns {number} distance\n */\nexport function radiansToLength(\n radians: number,\n units: Units = \"kilometers\"\n): number {\n const factor = factors[units];\n if (!factor) {\n throw new Error(units + \" units is invalid\");\n }\n return radians * factor;\n}\n\n/**\n * Convert a distance measurement (assuming a spherical Earth) from a real-world unit into radians\n * Valid units: miles, nauticalmiles, inches, yards, meters, metres, kilometers, centimeters, feet\n *\n * @function\n * @param {number} distance in real units\n * @param {Units} [units=\"kilometers\"] can be degrees, radians, miles, inches, yards, metres,\n * meters, kilometres, kilometers.\n * @returns {number} radians\n */\nexport function lengthToRadians(\n distance: number,\n units: Units = \"kilometers\"\n): number {\n const factor = factors[units];\n if (!factor) {\n throw new Error(units + \" units is invalid\");\n }\n return distance / factor;\n}\n\n/**\n * Convert a distance measurement (assuming a spherical Earth) from a real-world unit into degrees\n * Valid units: miles, nauticalmiles, inches, yards, meters, metres, centimeters, kilometres, feet\n *\n * @function\n * @param {number} distance in real units\n * @param {Units} [units=\"kilometers\"] can be degrees, radians, miles, inches, yards, metres,\n * meters, kilometres, kilometers.\n * @returns {number} degrees\n */\nexport function lengthToDegrees(distance: number, units?: Units): number {\n return radiansToDegrees(lengthToRadians(distance, units));\n}\n\n/**\n * Converts any bearing angle from the north line direction (positive clockwise)\n * and returns an angle between 0-360 degrees (positive clockwise), 0 being the north line\n *\n * @function\n * @param {number} bearing angle, between -180 and +180 degrees\n * @returns {number} angle between 0 and 360 degrees\n */\nexport function bearingToAzimuth(bearing: number): number {\n let angle = bearing % 360;\n if (angle < 0) {\n angle += 360;\n }\n return angle;\n}\n\n/**\n * Converts any azimuth angle from the north line direction (positive clockwise)\n * and returns an angle between -180 and +180 degrees (positive clockwise), 0 being the north line\n *\n * @function\n * @param {number} angle between 0 and 360 degrees\n * @returns {number} bearing between -180 and +180 degrees\n */\nexport function azimuthToBearing(angle: number): number {\n // Ignore full revolutions (multiples of 360)\n angle = angle % 360;\n\n if (angle > 180) {\n return angle - 360;\n } else if (angle < -180) {\n return angle + 360;\n }\n\n return angle;\n}\n\n/**\n * Converts an angle in radians to degrees\n *\n * @function\n * @param {number} radians angle in radians\n * @returns {number} degrees between 0 and 360 degrees\n */\nexport function radiansToDegrees(radians: number): number {\n // % (2 * Math.PI) radians in case someone passes value > 2π\n const normalisedRadians = radians % (2 * Math.PI);\n return (normalisedRadians * 180) / Math.PI;\n}\n\n/**\n * Converts an angle in degrees to radians\n *\n * @function\n * @param {number} degrees angle between 0 and 360 degrees\n * @returns {number} angle in radians\n */\nexport function degreesToRadians(degrees: number): number {\n // % 360 degrees in case someone passes value > 360\n const normalisedDegrees = degrees % 360;\n return (normalisedDegrees * Math.PI) / 180;\n}\n\n/**\n * Converts a length from one unit to another.\n *\n * @function\n * @param {number} length Length to be converted\n * @param {Units} [originalUnit=\"kilometers\"] Input length unit\n * @param {Units} [finalUnit=\"kilometers\"] Returned length unit\n * @returns {number} The converted length\n */\nexport function convertLength(\n length: number,\n originalUnit: Units = \"kilometers\",\n finalUnit: Units = \"kilometers\"\n): number {\n if (!(length >= 0)) {\n throw new Error(\"length must be a positive number\");\n }\n return radiansToLength(lengthToRadians(length, originalUnit), finalUnit);\n}\n\n/**\n * Converts an area from one unit to another.\n *\n * @function\n * @param {number} area Area to be converted\n * @param {AreaUnits} [originalUnit=\"meters\"] Input area unit\n * @param {AreaUnits} [finalUnit=\"kilometers\"] Returned area unit\n * @returns {number} The converted length\n */\nexport function convertArea(\n area: number,\n originalUnit: AreaUnits = \"meters\",\n finalUnit: AreaUnits = \"kilometers\"\n): number {\n if (!(area >= 0)) {\n throw new Error(\"area must be a positive number\");\n }\n\n const startFactor = areaFactors[originalUnit];\n if (!startFactor) {\n throw new Error(\"invalid original units\");\n }\n\n const finalFactor = areaFactors[finalUnit];\n if (!finalFactor) {\n throw new Error(\"invalid final units\");\n }\n\n return (area / startFactor) * finalFactor;\n}\n\n/**\n * isNumber\n *\n * @function\n * @param {any} num Number to validate\n * @returns {boolean} true/false\n * @example\n * turf.isNumber(123)\n * //=true\n * turf.isNumber('foo')\n * //=false\n */\nexport function isNumber(num: any): boolean {\n return !isNaN(num) && num !== null && !Array.isArray(num);\n}\n\n/**\n * isObject\n *\n * @function\n * @param {any} input variable to validate\n * @returns {boolean} true/false, including false for Arrays and Functions\n * @example\n * turf.isObject({elevation: 10})\n * //=true\n * turf.isObject('foo')\n * //=false\n */\nexport function isObject(input: any): boolean {\n return input !== null && typeof input === \"object\" && !Array.isArray(input);\n}\n\n/**\n * Validate BBox\n *\n * @private\n * @param {any} bbox BBox to validate\n * @returns {void}\n * @throws {Error} if BBox is not valid\n * @example\n * validateBBox([-180, -40, 110, 50])\n * //=OK\n * validateBBox([-180, -40])\n * //=Error\n * validateBBox('Foo')\n * //=Error\n * validateBBox(5)\n * //=Error\n * validateBBox(null)\n * //=Error\n * validateBBox(undefined)\n * //=Error\n */\nexport function validateBBox(bbox: any): void {\n if (!bbox) {\n throw new Error(\"bbox is required\");\n }\n if (!Array.isArray(bbox)) {\n throw new Error(\"bbox must be an Array\");\n }\n if (bbox.length !== 4 && bbox.length !== 6) {\n throw new Error(\"bbox must be an Array of 4 or 6 numbers\");\n }\n bbox.forEach((num) => {\n if (!isNumber(num)) {\n throw new Error(\"bbox must only contain numbers\");\n }\n });\n}\n\n/**\n * Validate Id\n *\n * @private\n * @param {any} id Id to validate\n * @returns {void}\n * @throws {Error} if Id is not valid\n * @example\n * validateId([-180, -40, 110, 50])\n * //=Error\n * validateId([-180, -40])\n * //=Error\n * validateId('Foo')\n * //=OK\n * validateId(5)\n * //=OK\n * validateId(null)\n * //=Error\n * validateId(undefined)\n * //=Error\n */\nexport function validateId(id: any): void {\n if (!id) {\n throw new Error(\"id is required\");\n }\n if ([\"string\", \"number\"].indexOf(typeof id) === -1) {\n throw new Error(\"id must be a number or a string\");\n }\n}\n"],"mappings":";AAuGO,IAAM,cAAc;AASpB,IAAM,UAA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AAI,MAAM,yCAAyC;AAAA,EAC3D;AACA,OAAK,QAAQ,CAAC,QAAQ;AACpB,QAAI,CAAC,SAAS,GAAG,GAAG;AAClB,YAAM,IAAI,MAAM,gCAAgC;AAAA,IAClD;AAAA,EACF,CAAC;AACH;AAuBO,SAAS,WAAW,IAAe;AACxC,MAAI,CAAC,IAAI;AACP,UAAM,IAAI,MAAM,gBAAgB;AAAA,EAClC;AACA,MAAI,CAAC,UAAU,QAAQ,EAAE,QAAQ,OAAO,EAAE,MAAM,IAAI;AAClD,UAAM,IAAI,MAAM,iCAAiC;AAAA,EACnD;AACF;","names":[]}
1
+ {"version":3,"sources":["../../index.ts"],"sourcesContent":["import {\n BBox,\n Feature,\n FeatureCollection,\n Geometry,\n GeometryCollection,\n GeometryObject,\n LineString,\n MultiLineString,\n MultiPoint,\n MultiPolygon,\n Point,\n Polygon,\n Position,\n GeoJsonProperties,\n} from \"geojson\";\n\nimport { Id } from \"./lib/geojson.js\";\nexport * from \"./lib/geojson.js\";\n\n/**\n * @module helpers\n */\n\n// TurfJS Combined Types\nexport type Coord = Feature<Point> | Point | Position;\n\n/**\n * Linear measurement units.\n *\n * ⚠️ Warning. Be aware of the implications of using radian or degree units to\n * measure distance. The distance represented by a degree of longitude *varies*\n * depending on latitude.\n *\n * See https://www.thoughtco.com/degree-of-latitude-and-longitude-distance-4070616\n * for an illustration of this behaviour.\n *\n * @typedef\n */\nexport type Units =\n | \"meters\"\n | \"metres\"\n | \"millimeters\"\n | \"millimetres\"\n | \"centimeters\"\n | \"centimetres\"\n | \"kilometers\"\n | \"kilometres\"\n | \"miles\"\n | \"nauticalmiles\"\n | \"inches\"\n | \"yards\"\n | \"feet\"\n | \"radians\"\n | \"degrees\";\n\n/**\n * Area measurement units.\n *\n * @typedef\n */\nexport type AreaUnits =\n | Exclude<Units, \"radians\" | \"degrees\">\n | \"acres\"\n | \"hectares\";\n\n/**\n * Grid types.\n *\n * @typedef\n */\nexport type Grid = \"point\" | \"square\" | \"hex\" | \"triangle\";\n\n/**\n * Shorthand corner identifiers.\n *\n * @typedef\n */\nexport type Corners = \"sw\" | \"se\" | \"nw\" | \"ne\" | \"center\" | \"centroid\";\n\n/**\n * Geometries made up of lines i.e. lines and polygons.\n *\n * @typedef\n */\nexport type Lines = LineString | MultiLineString | Polygon | MultiPolygon;\n\n/**\n * Convenience type for all possible GeoJSON.\n *\n * @typedef\n */\nexport type AllGeoJSON =\n | Feature\n | FeatureCollection\n | Geometry\n | GeometryCollection;\n\n/**\n * The Earth radius in meters. Used by Turf modules that model the Earth as a sphere. The {@link https://en.wikipedia.org/wiki/Earth_radius#Arithmetic_mean_radius mean radius} was selected because it is {@link https://rosettacode.org/wiki/Haversine_formula#:~:text=This%20value%20is%20recommended recommended } by the Haversine formula (used by turf/distance) to reduce error.\n *\n * @constant\n */\nexport const earthRadius = 6371008.8;\n\n/**\n * Unit of measurement factors based on earthRadius.\n *\n * Keys are the name of the unit, values are the number of that unit in a single radian\n *\n * @constant\n */\nexport const factors: Record<Units, number> = {\n centimeters: earthRadius * 100,\n centimetres: earthRadius * 100,\n degrees: 360 / (2 * Math.PI),\n feet: earthRadius * 3.28084,\n inches: earthRadius * 39.37,\n kilometers: earthRadius / 1000,\n kilometres: earthRadius / 1000,\n meters: earthRadius,\n metres: earthRadius,\n miles: earthRadius / 1609.344,\n millimeters: earthRadius * 1000,\n millimetres: earthRadius * 1000,\n nauticalmiles: earthRadius / 1852,\n radians: 1,\n yards: earthRadius * 1.0936,\n};\n\n/**\n\n * Area of measurement factors based on 1 square meter.\n *\n * @constant\n */\nexport const areaFactors: Record<AreaUnits, number> = {\n acres: 0.000247105,\n centimeters: 10000,\n centimetres: 10000,\n feet: 10.763910417,\n hectares: 0.0001,\n inches: 1550.003100006,\n kilometers: 0.000001,\n kilometres: 0.000001,\n meters: 1,\n metres: 1,\n miles: 3.86e-7,\n nauticalmiles: 2.9155334959812285e-7,\n millimeters: 1000000,\n millimetres: 1000000,\n yards: 1.195990046,\n};\n\n/**\n * Wraps a GeoJSON {@link Geometry} in a GeoJSON {@link Feature}.\n *\n * @function\n * @param {GeometryObject} geometry input geometry\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<GeometryObject, GeoJsonProperties>} a GeoJSON Feature\n * @example\n * var geometry = {\n * \"type\": \"Point\",\n * \"coordinates\": [110, 50]\n * };\n *\n * var feature = turf.feature(geometry);\n *\n * //=feature\n */\nexport function feature<\n G extends GeometryObject = Geometry,\n P extends GeoJsonProperties = GeoJsonProperties,\n>(\n geom: G | null,\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<G, P> {\n const feat: any = { type: \"Feature\" };\n if (options.id === 0 || options.id) {\n feat.id = options.id;\n }\n if (options.bbox) {\n feat.bbox = options.bbox;\n }\n feat.properties = properties || {};\n feat.geometry = geom;\n return feat;\n}\n\n/**\n * Creates a GeoJSON {@link Geometry} from a Geometry string type & coordinates.\n * For GeometryCollection type use `helpers.geometryCollection`\n *\n * @function\n * @param {(\"Point\" | \"LineString\" | \"Polygon\" | \"MultiPoint\" | \"MultiLineString\" | \"MultiPolygon\")} type Geometry Type\n * @param {Array<any>} coordinates Coordinates\n * @param {Object} [options={}] Optional Parameters\n * @returns {Geometry} a GeoJSON Geometry\n * @example\n * var type = \"Point\";\n * var coordinates = [110, 50];\n * var geometry = turf.geometry(type, coordinates);\n * // => geometry\n */\nexport function geometry<\n T extends\n | \"Point\"\n | \"LineString\"\n | \"Polygon\"\n | \"MultiPoint\"\n | \"MultiLineString\"\n | \"MultiPolygon\",\n>(\n type: T,\n coordinates: any[],\n _options: Record<string, never> = {}\n): Extract<Geometry, { type: T }> {\n switch (type) {\n case \"Point\":\n return point(coordinates).geometry as Extract<Geometry, { type: T }>;\n case \"LineString\":\n return lineString(coordinates).geometry as Extract<Geometry, { type: T }>;\n case \"Polygon\":\n return polygon(coordinates).geometry as Extract<Geometry, { type: T }>;\n case \"MultiPoint\":\n return multiPoint(coordinates).geometry as Extract<Geometry, { type: T }>;\n case \"MultiLineString\":\n return multiLineString(coordinates).geometry as Extract<\n Geometry,\n { type: T }\n >;\n case \"MultiPolygon\":\n return multiPolygon(coordinates).geometry as Extract<\n Geometry,\n { type: T }\n >;\n default:\n throw new Error(type + \" is invalid\");\n }\n}\n\n/**\n * Creates a {@link Point} {@link Feature} from a Position.\n *\n * @function\n * @param {Position} coordinates longitude, latitude position (each in decimal degrees)\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<Point, GeoJsonProperties>} a Point feature\n * @example\n * var point = turf.point([-75.343, 39.984]);\n *\n * //=point\n */\nexport function point<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position,\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<Point, P> {\n if (!coordinates) {\n throw new Error(\"coordinates is required\");\n }\n if (!Array.isArray(coordinates)) {\n throw new Error(\"coordinates must be an Array\");\n }\n if (coordinates.length < 2) {\n throw new Error(\"coordinates must be at least 2 numbers long\");\n }\n if (!isNumber(coordinates[0]) || !isNumber(coordinates[1])) {\n throw new Error(\"coordinates must contain numbers\");\n }\n\n const geom: Point = {\n type: \"Point\",\n coordinates,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Creates a {@link Point} {@link FeatureCollection} from an Array of Point coordinates.\n *\n * @function\n * @param {Position[]} coordinates an array of Points\n * @param {GeoJsonProperties} [properties={}] Translate these properties to each Feature\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north]\n * associated with the FeatureCollection\n * @param {Id} [options.id] Identifier associated with the FeatureCollection\n * @returns {FeatureCollection<Point>} Point Feature\n * @example\n * var points = turf.points([\n * [-75, 39],\n * [-80, 45],\n * [-78, 50]\n * ]);\n *\n * //=points\n */\nexport function points<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): FeatureCollection<Point, P> {\n return featureCollection(\n coordinates.map((coords) => {\n return point(coords, properties);\n }),\n options\n );\n}\n\n/**\n * Creates a {@link Polygon} {@link Feature} from an Array of LinearRings.\n *\n * @function\n * @param {Position[][]} coordinates an array of LinearRings\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<Polygon, GeoJsonProperties>} Polygon Feature\n * @example\n * var polygon = turf.polygon([[[-5, 52], [-4, 56], [-2, 51], [-7, 54], [-5, 52]]], { name: 'poly1' });\n *\n * //=polygon\n */\nexport function polygon<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[][],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<Polygon, P> {\n for (const ring of coordinates) {\n if (ring.length < 4) {\n throw new Error(\n \"Each LinearRing of a Polygon must have 4 or more Positions.\"\n );\n }\n\n if (ring[ring.length - 1].length !== ring[0].length) {\n throw new Error(\"First and last Position are not equivalent.\");\n }\n\n for (let j = 0; j < ring[ring.length - 1].length; j++) {\n // Check if first point of Polygon contains two numbers\n if (ring[ring.length - 1][j] !== ring[0][j]) {\n throw new Error(\"First and last Position are not equivalent.\");\n }\n }\n }\n const geom: Polygon = {\n type: \"Polygon\",\n coordinates,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Creates a {@link Polygon} {@link FeatureCollection} from an Array of Polygon coordinates.\n *\n * @function\n * @param {Position[][][]} coordinates an array of Polygon coordinates\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the FeatureCollection\n * @returns {FeatureCollection<Polygon, GeoJsonProperties>} Polygon FeatureCollection\n * @example\n * var polygons = turf.polygons([\n * [[[-5, 52], [-4, 56], [-2, 51], [-7, 54], [-5, 52]]],\n * [[[-15, 42], [-14, 46], [-12, 41], [-17, 44], [-15, 42]]],\n * ]);\n *\n * //=polygons\n */\nexport function polygons<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[][][],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): FeatureCollection<Polygon, P> {\n return featureCollection(\n coordinates.map((coords) => {\n return polygon(coords, properties);\n }),\n options\n );\n}\n\n/**\n * Creates a {@link LineString} {@link Feature} from an Array of Positions.\n *\n * @function\n * @param {Position[]} coordinates an array of Positions\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<LineString, GeoJsonProperties>} LineString Feature\n * @example\n * var linestring1 = turf.lineString([[-24, 63], [-23, 60], [-25, 65], [-20, 69]], {name: 'line 1'});\n * var linestring2 = turf.lineString([[-14, 43], [-13, 40], [-15, 45], [-10, 49]], {name: 'line 2'});\n *\n * //=linestring1\n * //=linestring2\n */\nexport function lineString<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<LineString, P> {\n if (coordinates.length < 2) {\n throw new Error(\"coordinates must be an array of two or more positions\");\n }\n const geom: LineString = {\n type: \"LineString\",\n coordinates,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Creates a {@link LineString} {@link FeatureCollection} from an Array of LineString coordinates.\n *\n * @function\n * @param {Position[][]} coordinates an array of LinearRings\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north]\n * associated with the FeatureCollection\n * @param {Id} [options.id] Identifier associated with the FeatureCollection\n * @returns {FeatureCollection<LineString, GeoJsonProperties>} LineString FeatureCollection\n * @example\n * var linestrings = turf.lineStrings([\n * [[-24, 63], [-23, 60], [-25, 65], [-20, 69]],\n * [[-14, 43], [-13, 40], [-15, 45], [-10, 49]]\n * ]);\n *\n * //=linestrings\n */\nexport function lineStrings<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[][],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): FeatureCollection<LineString, P> {\n return featureCollection(\n coordinates.map((coords) => {\n return lineString(coords, properties);\n }),\n options\n );\n}\n\n/**\n * Takes one or more {@link Feature|Features} and creates a {@link FeatureCollection}.\n *\n * @function\n * @param {Array<Feature<GeometryObject, GeoJsonProperties>>} features input features\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {FeatureCollection<GeometryObject, GeoJsonProperties>} FeatureCollection of Features\n * @example\n * var locationA = turf.point([-75.343, 39.984], {name: 'Location A'});\n * var locationB = turf.point([-75.833, 39.284], {name: 'Location B'});\n * var locationC = turf.point([-75.534, 39.123], {name: 'Location C'});\n *\n * var collection = turf.featureCollection([\n * locationA,\n * locationB,\n * locationC\n * ]);\n *\n * //=collection\n */\nexport function featureCollection<\n G extends GeometryObject = Geometry,\n P extends GeoJsonProperties = GeoJsonProperties,\n>(\n features: Array<Feature<G, P>>,\n options: { bbox?: BBox; id?: Id } = {}\n): FeatureCollection<G, P> {\n const fc: any = { type: \"FeatureCollection\" };\n if (options.id) {\n fc.id = options.id;\n }\n if (options.bbox) {\n fc.bbox = options.bbox;\n }\n fc.features = features;\n return fc;\n}\n\n/**\n * Creates a {@link Feature}<{@link MultiLineString}> based on a\n * coordinate array. Properties can be added optionally.\n *\n * @function\n * @param {Position[][]} coordinates an array of LineStrings\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<MultiLineString, GeoJsonProperties>} a MultiLineString feature\n * @throws {Error} if no coordinates are passed\n * @example\n * var multiLine = turf.multiLineString([[[0,0],[10,10]]]);\n *\n * //=multiLine\n */\nexport function multiLineString<\n P extends GeoJsonProperties = GeoJsonProperties,\n>(\n coordinates: Position[][],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<MultiLineString, P> {\n const geom: MultiLineString = {\n type: \"MultiLineString\",\n coordinates,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Creates a {@link Feature}<{@link MultiPoint}> based on a\n * coordinate array. Properties can be added optionally.\n *\n * @function\n * @param {Position[]} coordinates an array of Positions\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<MultiPoint, GeoJsonProperties>} a MultiPoint feature\n * @throws {Error} if no coordinates are passed\n * @example\n * var multiPt = turf.multiPoint([[0,0],[10,10]]);\n *\n * //=multiPt\n */\nexport function multiPoint<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<MultiPoint, P> {\n const geom: MultiPoint = {\n type: \"MultiPoint\",\n coordinates,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Creates a {@link Feature}<{@link MultiPolygon}> based on a\n * coordinate array. Properties can be added optionally.\n *\n * @function\n * @param {Position[][][]} coordinates an array of Polygons\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<MultiPolygon, GeoJsonProperties>} a multipolygon feature\n * @throws {Error} if no coordinates are passed\n * @example\n * var multiPoly = turf.multiPolygon([[[[0,0],[0,10],[10,10],[10,0],[0,0]]]]);\n *\n * //=multiPoly\n *\n */\nexport function multiPolygon<P extends GeoJsonProperties = GeoJsonProperties>(\n coordinates: Position[][][],\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<MultiPolygon, P> {\n const geom: MultiPolygon = {\n type: \"MultiPolygon\",\n coordinates,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Creates a Feature<GeometryCollection> based on a\n * coordinate array. Properties can be added optionally.\n *\n * @function\n * @param {Array<Point | LineString | Polygon | MultiPoint | MultiLineString | MultiPolygon>} geometries an array of GeoJSON Geometries\n * @param {GeoJsonProperties} [properties={}] an Object of key-value pairs to add as properties\n * @param {Object} [options={}] Optional Parameters\n * @param {BBox} [options.bbox] Bounding Box Array [west, south, east, north] associated with the Feature\n * @param {Id} [options.id] Identifier associated with the Feature\n * @returns {Feature<GeometryCollection, GeoJsonProperties>} a GeoJSON GeometryCollection Feature\n * @example\n * var pt = turf.geometry(\"Point\", [100, 0]);\n * var line = turf.geometry(\"LineString\", [[101, 0], [102, 1]]);\n * var collection = turf.geometryCollection([pt, line]);\n *\n * // => collection\n */\nexport function geometryCollection<\n G extends\n | Point\n | LineString\n | Polygon\n | MultiPoint\n | MultiLineString\n | MultiPolygon,\n P extends GeoJsonProperties = GeoJsonProperties,\n>(\n geometries: Array<G>,\n properties?: P,\n options: { bbox?: BBox; id?: Id } = {}\n): Feature<GeometryCollection<G>, P> {\n const geom: GeometryCollection<G> = {\n type: \"GeometryCollection\",\n geometries,\n };\n return feature(geom, properties, options);\n}\n\n/**\n * Round number to precision\n *\n * @function\n * @param {number} num Number\n * @param {number} [precision=0] Precision\n * @returns {number} rounded number\n * @example\n * turf.round(120.4321)\n * //=120\n *\n * turf.round(120.4321, 2)\n * //=120.43\n */\nexport function round(num: number, precision = 0): number {\n if (precision && !(precision >= 0)) {\n throw new Error(\"precision must be a positive number\");\n }\n const multiplier = Math.pow(10, precision || 0);\n return Math.round(num * multiplier) / multiplier;\n}\n\n/**\n * Convert a distance measurement (assuming a spherical Earth) from radians to a more friendly unit.\n * Valid units: miles, nauticalmiles, inches, yards, meters, metres, kilometers, centimeters, feet\n *\n * @function\n * @param {number} radians in radians across the sphere\n * @param {Units} [units=\"kilometers\"] can be degrees, radians, miles, inches, yards, metres,\n * meters, kilometres, kilometers.\n * @returns {number} distance\n */\nexport function radiansToLength(\n radians: number,\n units: Units = \"kilometers\"\n): number {\n const factor = factors[units];\n if (!factor) {\n throw new Error(units + \" units is invalid\");\n }\n return radians * factor;\n}\n\n/**\n * Convert a distance measurement (assuming a spherical Earth) from a real-world unit into radians\n * Valid units: miles, nauticalmiles, inches, yards, meters, metres, kilometers, centimeters, feet\n *\n * @function\n * @param {number} distance in real units\n * @param {Units} [units=\"kilometers\"] can be degrees, radians, miles, inches, yards, metres,\n * meters, kilometres, kilometers.\n * @returns {number} radians\n */\nexport function lengthToRadians(\n distance: number,\n units: Units = \"kilometers\"\n): number {\n const factor = factors[units];\n if (!factor) {\n throw new Error(units + \" units is invalid\");\n }\n return distance / factor;\n}\n\n/**\n * Convert a distance measurement (assuming a spherical Earth) from a real-world unit into degrees\n * Valid units: miles, nauticalmiles, inches, yards, meters, metres, centimeters, kilometres, feet\n *\n * @function\n * @param {number} distance in real units\n * @param {Units} [units=\"kilometers\"] can be degrees, radians, miles, inches, yards, metres,\n * meters, kilometres, kilometers.\n * @returns {number} degrees\n */\nexport function lengthToDegrees(distance: number, units?: Units): number {\n return radiansToDegrees(lengthToRadians(distance, units));\n}\n\n/**\n * Converts any bearing angle from the north line direction (positive clockwise)\n * and returns an angle between 0-360 degrees (positive clockwise), 0 being the north line\n *\n * @function\n * @param {number} bearing angle, between -180 and +180 degrees\n * @returns {number} angle between 0 and 360 degrees\n */\nexport function bearingToAzimuth(bearing: number): number {\n let angle = bearing % 360;\n if (angle < 0) {\n angle += 360;\n }\n return angle;\n}\n\n/**\n * Converts any azimuth angle from the north line direction (positive clockwise)\n * and returns an angle between -180 and +180 degrees (positive clockwise), 0 being the north line\n *\n * @function\n * @param {number} angle between 0 and 360 degrees\n * @returns {number} bearing between -180 and +180 degrees\n */\nexport function azimuthToBearing(angle: number): number {\n // Ignore full revolutions (multiples of 360)\n angle = angle % 360;\n\n if (angle > 180) {\n return angle - 360;\n } else if (angle < -180) {\n return angle + 360;\n }\n\n return angle;\n}\n\n/**\n * Converts an angle in radians to degrees\n *\n * @function\n * @param {number} radians angle in radians\n * @returns {number} degrees between 0 and 360 degrees\n */\nexport function radiansToDegrees(radians: number): number {\n // % (2 * Math.PI) radians in case someone passes value > 2π\n const normalisedRadians = radians % (2 * Math.PI);\n return (normalisedRadians * 180) / Math.PI;\n}\n\n/**\n * Converts an angle in degrees to radians\n *\n * @function\n * @param {number} degrees angle between 0 and 360 degrees\n * @returns {number} angle in radians\n */\nexport function degreesToRadians(degrees: number): number {\n // % 360 degrees in case someone passes value > 360\n const normalisedDegrees = degrees % 360;\n return (normalisedDegrees * Math.PI) / 180;\n}\n\n/**\n * Converts a length from one unit to another.\n *\n * @function\n * @param {number} length Length to be converted\n * @param {Units} [originalUnit=\"kilometers\"] Input length unit\n * @param {Units} [finalUnit=\"kilometers\"] Returned length unit\n * @returns {number} The converted length\n */\nexport function convertLength(\n length: number,\n originalUnit: Units = \"kilometers\",\n finalUnit: Units = \"kilometers\"\n): number {\n if (!(length >= 0)) {\n throw new Error(\"length must be a positive number\");\n }\n return radiansToLength(lengthToRadians(length, originalUnit), finalUnit);\n}\n\n/**\n * Converts an area from one unit to another.\n *\n * @function\n * @param {number} area Area to be converted\n * @param {AreaUnits} [originalUnit=\"meters\"] Input area unit\n * @param {AreaUnits} [finalUnit=\"kilometers\"] Returned area unit\n * @returns {number} The converted length\n */\nexport function convertArea(\n area: number,\n originalUnit: AreaUnits = \"meters\",\n finalUnit: AreaUnits = \"kilometers\"\n): number {\n if (!(area >= 0)) {\n throw new Error(\"area must be a positive number\");\n }\n\n const startFactor = areaFactors[originalUnit];\n if (!startFactor) {\n throw new Error(\"invalid original units\");\n }\n\n const finalFactor = areaFactors[finalUnit];\n if (!finalFactor) {\n throw new Error(\"invalid final units\");\n }\n\n return (area / startFactor) * finalFactor;\n}\n\n/**\n * isNumber\n *\n * @function\n * @param {any} num Number to validate\n * @returns {boolean} true/false\n * @example\n * turf.isNumber(123)\n * //=true\n * turf.isNumber('foo')\n * //=false\n */\nexport function isNumber(num: any): boolean {\n return !isNaN(num) && num !== null && !Array.isArray(num);\n}\n\n/**\n * isObject\n *\n * @function\n * @param {any} input variable to validate\n * @returns {boolean} true/false, including false for Arrays and Functions\n * @example\n * turf.isObject({elevation: 10})\n * //=true\n * turf.isObject('foo')\n * //=false\n */\nexport function isObject(input: any): boolean {\n return input !== null && typeof input === \"object\" && !Array.isArray(input);\n}\n\n/**\n * Validate BBox\n *\n * @private\n * @param {any} bbox BBox to validate\n * @returns {void}\n * @throws {Error} if BBox is not valid\n * @example\n * validateBBox([-180, -40, 110, 50])\n * //=OK\n * validateBBox([-180, -40])\n * //=Error\n * validateBBox('Foo')\n * //=Error\n * validateBBox(5)\n * //=Error\n * validateBBox(null)\n * //=Error\n * validateBBox(undefined)\n * //=Error\n */\nexport function validateBBox(bbox: any): void {\n if (!bbox) {\n throw new Error(\"bbox is required\");\n }\n if (!Array.isArray(bbox)) {\n throw new Error(\"bbox must be an Array\");\n }\n if (bbox.length !== 4 && bbox.length !== 6) {\n throw new Error(\"bbox must be an Array of 4 or 6 numbers\");\n }\n bbox.forEach((num) => {\n if (!isNumber(num)) {\n throw new Error(\"bbox must only contain numbers\");\n }\n });\n}\n\n/**\n * Validate Id\n *\n * @private\n * @param {any} id Id to validate\n * @returns {void}\n * @throws {Error} if Id is not valid\n * @example\n * validateId([-180, -40, 110, 50])\n * //=Error\n * validateId([-180, -40])\n * //=Error\n * validateId('Foo')\n * //=OK\n * validateId(5)\n * //=OK\n * validateId(null)\n * //=Error\n * validateId(undefined)\n * //=Error\n */\nexport function validateId(id: any): void {\n if (!id) {\n throw new Error(\"id is required\");\n }\n if ([\"string\", \"number\"].indexOf(typeof id) === -1) {\n throw new Error(\"id must be a number or a string\");\n }\n}\n"],"mappings":";AAuGO,IAAM,cAAc;AASpB,IAAM,UAAiC;AAAA,EAC5C,aAAa,cAAc;AAAA,EAC3B,aAAa,cAAc;AAAA,EAC3B,SAAS,OAAO,IAAI,KAAK;AAAA,EACzB,MAAM,cAAc;AAAA,EACpB,QAAQ,cAAc;AAAA,EACtB,YAAY,cAAc;AAAA,EAC1B,YAAY,cAAc;AAAA,EAC1B,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,OAAO,cAAc;AAAA,EACrB,aAAa,cAAc;AAAA,EAC3B,aAAa,cAAc;AAAA,EAC3B,eAAe,cAAc;AAAA,EAC7B,SAAS;AAAA,EACT,OAAO,cAAc;AACvB;AAQO,IAAM,cAAyC;AAAA,EACpD,OAAO;AAAA,EACP,aAAa;AAAA,EACb,aAAa;AAAA,EACb,MAAM;AAAA,EACN,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,eAAe;AAAA,EACf,aAAa;AAAA,EACb,aAAa;AAAA,EACb,OAAO;AACT;AAsBO,SAAS,QAId,MACA,YACA,UAAoC,CAAC,GACtB;AACf,QAAM,OAAY,EAAE,MAAM,UAAU;AACpC,MAAI,QAAQ,OAAO,KAAK,QAAQ,IAAI;AAClC,SAAK,KAAK,QAAQ;AAAA,EACpB;AACA,MAAI,QAAQ,MAAM;AAChB,SAAK,OAAO,QAAQ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,GAAG;AAC1D;AAcO,SAAS,SAAS,OAAqB;AAC5C,SAAO,UAAU,QAAQ,OAAO,UAAU,YAAY,CAAC,MAAM,QAAQ,KAAK;AAC5E;AAuBO,SAAS,aAAa,MAAiB;AAC5C,MAAI,CAAC,MAAM;AACT,UAAM,IAAI,MAAM,kBAAkB;AAAA,EACpC;AACA,MAAI,CAAC,MAAM,QAAQ,IAAI,GAAG;AACxB,UAAM,IAAI,MAAM,uBAAuB;AAAA,EACzC;AACA,MAAI,KAAK,WAAW,KAAK,KAAK,WAAW,GAAG;AAC1C,UAAM,IAAI,MAAM,yCAAyC;AAAA,EAC3D;AACA,OAAK,QAAQ,CAAC,QAAQ;AACpB,QAAI,CAAC,SAAS,GAAG,GAAG;AAClB,YAAM,IAAI,MAAM,gCAAgC;AAAA,IAClD;AAAA,EACF,CAAC;AACH;AAuBO,SAAS,WAAW,IAAe;AACxC,MAAI,CAAC,IAAI;AACP,UAAM,IAAI,MAAM,gBAAgB;AAAA,EAClC;AACA,MAAI,CAAC,UAAU,QAAQ,EAAE,QAAQ,OAAO,EAAE,MAAM,IAAI;AAClD,UAAM,IAAI,MAAM,iCAAiC;AAAA,EACnD;AACF;","names":[]}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turf/helpers",
3
- "version": "7.3.0",
3
+ "version": "7.3.3",
4
4
  "description": "Provides helper functions to create GeoJSON features, like points, lines, or areas on a map.",
5
5
  "author": "Turf Authors",
6
6
  "contributors": [
@@ -53,7 +53,7 @@
53
53
  "bench": "tsx bench.ts",
54
54
  "build": "tsup --config ../../tsup.config.ts",
55
55
  "docs": "tsx ../../scripts/generate-readmes.ts",
56
- "test": "npm-run-all --npm-path npm test:*",
56
+ "test": "pnpm run /test:.*/",
57
57
  "test:tape": "tsx test.ts",
58
58
  "test:types": "tsc --esModuleInterop --module node16 --moduleResolution node16 --noEmit --strict types.ts"
59
59
  },
@@ -61,7 +61,6 @@
61
61
  "@types/benchmark": "^2.1.5",
62
62
  "@types/tape": "^5.8.1",
63
63
  "benchmark": "^2.1.4",
64
- "npm-run-all": "^4.1.5",
65
64
  "tape": "^5.9.0",
66
65
  "tsup": "^8.4.0",
67
66
  "tsx": "^4.19.4",
@@ -71,5 +70,5 @@
71
70
  "@types/geojson": "^7946.0.10",
72
71
  "tslib": "^2.8.1"
73
72
  },
74
- "gitHead": "9f58a103e8f9a587ab640307ed03ba5233913ddd"
73
+ "gitHead": "fa0e2da8ce02d9a82720eae922f89c9386596e04"
75
74
  }