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