@loaders.gl/core 5.0.0-alpha.9 → 5.0.0-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2119) hide show
  1. package/GEOARROW-README.md +97 -0
  2. package/LICENSE +2 -30
  3. package/README.md +8 -1
  4. package/SCAN-README.md +224 -0
  5. package/SCHEMA-README.md +9 -0
  6. package/SCHEMA-UTILS-README.md +11 -0
  7. package/THIRD-PARTY-NOTICES.md +39 -0
  8. package/dist/arrow-geometry/binary-features.cjs +318 -0
  9. package/dist/arrow-geometry/binary-features.cjs.map +7 -0
  10. package/dist/arrow-geometry/binary-features.d.ts +44 -0
  11. package/dist/arrow-geometry/binary-features.d.ts.map +1 -0
  12. package/dist/arrow-geometry/binary-features.js +300 -0
  13. package/dist/arrow-geometry/binary-features.js.map +1 -0
  14. package/dist/arrow-geometry/binary-geometry-to-wkb.cjs +199 -0
  15. package/dist/arrow-geometry/binary-geometry-to-wkb.cjs.map +7 -0
  16. package/dist/arrow-geometry/binary-geometry-to-wkb.d.ts +28 -0
  17. package/dist/arrow-geometry/binary-geometry-to-wkb.d.ts.map +1 -0
  18. package/dist/arrow-geometry/binary-geometry-to-wkb.js +170 -0
  19. package/dist/arrow-geometry/binary-geometry-to-wkb.js.map +1 -0
  20. package/dist/arrow-geometry/feature-collection-to-arrow.cjs +138 -0
  21. package/dist/arrow-geometry/feature-collection-to-arrow.cjs.map +7 -0
  22. package/dist/arrow-geometry/feature-collection-to-arrow.d.ts +23 -0
  23. package/dist/arrow-geometry/feature-collection-to-arrow.d.ts.map +1 -0
  24. package/dist/arrow-geometry/feature-collection-to-arrow.js +128 -0
  25. package/dist/arrow-geometry/feature-collection-to-arrow.js.map +1 -0
  26. package/dist/arrow-geometry/feature-table.cjs +702 -0
  27. package/dist/arrow-geometry/feature-table.cjs.map +7 -0
  28. package/dist/arrow-geometry/feature-table.d.ts +51 -0
  29. package/dist/arrow-geometry/feature-table.d.ts.map +1 -0
  30. package/dist/arrow-geometry/feature-table.js +692 -0
  31. package/dist/arrow-geometry/feature-table.js.map +1 -0
  32. package/dist/arrow-geometry/geoarrow-builder.cjs +575 -0
  33. package/dist/arrow-geometry/geoarrow-builder.cjs.map +7 -0
  34. package/dist/arrow-geometry/geoarrow-builder.d.ts +179 -0
  35. package/dist/arrow-geometry/geoarrow-builder.d.ts.map +1 -0
  36. package/dist/arrow-geometry/geoarrow-builder.js +545 -0
  37. package/dist/arrow-geometry/geoarrow-builder.js.map +1 -0
  38. package/dist/arrow-geometry/geoarrow-union-kind.cjs +59 -0
  39. package/dist/arrow-geometry/geoarrow-union-kind.cjs.map +7 -0
  40. package/dist/arrow-geometry/geoarrow-union-kind.d.ts +5 -0
  41. package/dist/arrow-geometry/geoarrow-union-kind.d.ts.map +1 -0
  42. package/dist/arrow-geometry/geoarrow-union-kind.js +42 -0
  43. package/dist/arrow-geometry/geoarrow-union-kind.js.map +1 -0
  44. package/dist/arrow-geometry/geojson-table.cjs +412 -0
  45. package/dist/arrow-geometry/geojson-table.cjs.map +7 -0
  46. package/dist/arrow-geometry/geojson-table.d.ts +18 -0
  47. package/dist/arrow-geometry/geojson-table.d.ts.map +1 -0
  48. package/dist/arrow-geometry/geojson-table.js +132 -0
  49. package/dist/arrow-geometry/geojson-table.js.map +1 -0
  50. package/dist/arrow-geometry/geometry-codecs.cjs +139 -0
  51. package/dist/arrow-geometry/geometry-codecs.cjs.map +7 -0
  52. package/dist/arrow-geometry/geometry-codecs.d.ts +31 -0
  53. package/dist/arrow-geometry/geometry-codecs.d.ts.map +1 -0
  54. package/dist/arrow-geometry/geometry-codecs.js +130 -0
  55. package/dist/arrow-geometry/geometry-codecs.js.map +1 -0
  56. package/dist/arrow-geometry/geometry-field.cjs +229 -0
  57. package/dist/arrow-geometry/geometry-field.cjs.map +7 -0
  58. package/dist/arrow-geometry/geometry-field.d.ts +116 -0
  59. package/dist/arrow-geometry/geometry-field.d.ts.map +1 -0
  60. package/dist/arrow-geometry/geometry-field.js +251 -0
  61. package/dist/arrow-geometry/geometry-field.js.map +1 -0
  62. package/dist/arrow-geometry/geometry-to-wkt.cjs +96 -0
  63. package/dist/arrow-geometry/geometry-to-wkt.cjs.map +7 -0
  64. package/dist/arrow-geometry/geometry-to-wkt.d.ts +13 -0
  65. package/dist/arrow-geometry/geometry-to-wkt.d.ts.map +1 -0
  66. package/dist/arrow-geometry/geometry-to-wkt.js +102 -0
  67. package/dist/arrow-geometry/geometry-to-wkt.js.map +1 -0
  68. package/dist/arrow-geometry/geometry-utils.cjs +46 -0
  69. package/dist/arrow-geometry/geometry-utils.cjs.map +7 -0
  70. package/dist/arrow-geometry/geometry-utils.d.ts +4 -0
  71. package/dist/arrow-geometry/geometry-utils.d.ts.map +1 -0
  72. package/dist/arrow-geometry/geometry-utils.js +25 -0
  73. package/dist/arrow-geometry/geometry-utils.js.map +1 -0
  74. package/dist/arrow-geometry/index.cjs +37 -0
  75. package/dist/arrow-geometry/index.cjs.map +7 -0
  76. package/dist/arrow-geometry/index.d.ts +4 -0
  77. package/dist/arrow-geometry/index.d.ts.map +1 -0
  78. package/dist/arrow-geometry/index.js +7 -0
  79. package/dist/arrow-geometry/index.js.map +1 -0
  80. package/dist/arrow-geometry/legacy-binary/convert-flat-geojson-to-binary-features.cjs +319 -0
  81. package/dist/arrow-geometry/legacy-binary/convert-flat-geojson-to-binary-features.cjs.map +7 -0
  82. package/dist/arrow-geometry/legacy-binary/convert-flat-geojson-to-binary-features.d.ts +38 -0
  83. package/dist/arrow-geometry/legacy-binary/convert-flat-geojson-to-binary-features.d.ts.map +1 -0
  84. package/dist/arrow-geometry/legacy-binary/convert-flat-geojson-to-binary-features.js +382 -0
  85. package/dist/arrow-geometry/legacy-binary/convert-flat-geojson-to-binary-features.js.map +1 -0
  86. package/dist/arrow-geometry/legacy-binary/convert-geojson-to-binary-features.cjs +44 -0
  87. package/dist/arrow-geometry/legacy-binary/convert-geojson-to-binary-features.cjs.map +7 -0
  88. package/dist/arrow-geometry/legacy-binary/convert-geojson-to-binary-features.d.ts +23 -0
  89. package/dist/arrow-geometry/legacy-binary/convert-geojson-to-binary-features.d.ts.map +1 -0
  90. package/dist/arrow-geometry/legacy-binary/convert-geojson-to-binary-features.js +25 -0
  91. package/dist/arrow-geometry/legacy-binary/convert-geojson-to-binary-features.js.map +1 -0
  92. package/dist/arrow-geometry/legacy-binary/convert-geojson-to-flat-geojson.cjs +112 -0
  93. package/dist/arrow-geometry/legacy-binary/convert-geojson-to-flat-geojson.cjs.map +7 -0
  94. package/dist/arrow-geometry/legacy-binary/convert-geojson-to-flat-geojson.d.ts +19 -0
  95. package/dist/arrow-geometry/legacy-binary/convert-geojson-to-flat-geojson.d.ts.map +1 -0
  96. package/dist/arrow-geometry/legacy-binary/convert-geojson-to-flat-geojson.js +128 -0
  97. package/dist/arrow-geometry/legacy-binary/convert-geojson-to-flat-geojson.js.map +1 -0
  98. package/dist/arrow-geometry/legacy-binary/flat-geojson-to-binary-types.cjs +19 -0
  99. package/dist/arrow-geometry/legacy-binary/flat-geojson-to-binary-types.cjs.map +7 -0
  100. package/dist/arrow-geometry/legacy-binary/flat-geojson-to-binary-types.d.ts +58 -0
  101. package/dist/arrow-geometry/legacy-binary/flat-geojson-to-binary-types.d.ts.map +1 -0
  102. package/dist/arrow-geometry/legacy-binary/flat-geojson-to-binary-types.js +5 -0
  103. package/dist/arrow-geometry/legacy-binary/flat-geojson-to-binary-types.js.map +1 -0
  104. package/dist/arrow-geometry/legacy-binary/geometry-info.cjs +113 -0
  105. package/dist/arrow-geometry/legacy-binary/geometry-info.cjs.map +7 -0
  106. package/dist/arrow-geometry/legacy-binary/geometry-info.d.ts +31 -0
  107. package/dist/arrow-geometry/legacy-binary/geometry-info.d.ts.map +1 -0
  108. package/dist/arrow-geometry/legacy-binary/geometry-info.js +96 -0
  109. package/dist/arrow-geometry/legacy-binary/geometry-info.js.map +1 -0
  110. package/dist/arrow-geometry/legacy-binary/transform-coordinates.cjs +69 -0
  111. package/dist/arrow-geometry/legacy-binary/transform-coordinates.cjs.map +7 -0
  112. package/dist/arrow-geometry/legacy-binary/transform-coordinates.d.ts +18 -0
  113. package/dist/arrow-geometry/legacy-binary/transform-coordinates.d.ts.map +1 -0
  114. package/dist/arrow-geometry/legacy-binary/transform-coordinates.js +57 -0
  115. package/dist/arrow-geometry/legacy-binary/transform-coordinates.js.map +1 -0
  116. package/dist/arrow-geometry/legacy-binary.cjs +47 -0
  117. package/dist/arrow-geometry/legacy-binary.cjs.map +7 -0
  118. package/dist/arrow-geometry/legacy-binary.d.ts +11 -0
  119. package/dist/arrow-geometry/legacy-binary.d.ts.map +1 -0
  120. package/dist/arrow-geometry/legacy-binary.js +14 -0
  121. package/dist/arrow-geometry/legacy-binary.js.map +1 -0
  122. package/dist/arrow-geometry/native-geometry.cjs +215 -0
  123. package/dist/arrow-geometry/native-geometry.cjs.map +7 -0
  124. package/dist/arrow-geometry/native-geometry.d.ts +41 -0
  125. package/dist/arrow-geometry/native-geometry.d.ts.map +1 -0
  126. package/dist/arrow-geometry/native-geometry.js +224 -0
  127. package/dist/arrow-geometry/native-geometry.js.map +1 -0
  128. package/dist/arrow-geometry/sampled-bounds.cjs +52 -0
  129. package/dist/arrow-geometry/sampled-bounds.cjs.map +7 -0
  130. package/dist/arrow-geometry/sampled-bounds.d.ts +11 -0
  131. package/dist/arrow-geometry/sampled-bounds.d.ts.map +1 -0
  132. package/dist/arrow-geometry/sampled-bounds.js +35 -0
  133. package/dist/arrow-geometry/sampled-bounds.js.map +1 -0
  134. package/dist/arrow-geometry/triangulate-wkb.cjs +722 -0
  135. package/dist/arrow-geometry/triangulate-wkb.cjs.map +7 -0
  136. package/dist/arrow-geometry/triangulate-wkb.d.ts +7 -0
  137. package/dist/arrow-geometry/triangulate-wkb.d.ts.map +1 -0
  138. package/dist/arrow-geometry/triangulate-wkb.js +938 -0
  139. package/dist/arrow-geometry/triangulate-wkb.js.map +1 -0
  140. package/dist/arrow-geometry/wkb-arrow-utils.cjs +142 -0
  141. package/dist/arrow-geometry/wkb-arrow-utils.cjs.map +7 -0
  142. package/dist/arrow-geometry/wkb-arrow-utils.d.ts +63 -0
  143. package/dist/arrow-geometry/wkb-arrow-utils.d.ts.map +1 -0
  144. package/dist/arrow-geometry/wkb-arrow-utils.js +129 -0
  145. package/dist/arrow-geometry/wkb-arrow-utils.js.map +1 -0
  146. package/dist/arrow-geometry/wkb-builder.cjs +167 -0
  147. package/dist/arrow-geometry/wkb-builder.cjs.map +7 -0
  148. package/dist/arrow-geometry/wkb-builder.d.ts +81 -0
  149. package/dist/arrow-geometry/wkb-builder.d.ts.map +1 -0
  150. package/dist/arrow-geometry/wkb-builder.js +156 -0
  151. package/dist/arrow-geometry/wkb-builder.js.map +1 -0
  152. package/dist/arrow-geometry/wkb-statistics.cjs +52 -0
  153. package/dist/arrow-geometry/wkb-statistics.cjs.map +7 -0
  154. package/dist/arrow-geometry/wkb-statistics.d.ts +34 -0
  155. package/dist/arrow-geometry/wkb-statistics.d.ts.map +1 -0
  156. package/dist/arrow-geometry/wkb-statistics.js +33 -0
  157. package/dist/arrow-geometry/wkb-statistics.js.map +1 -0
  158. package/dist/arrow-geometry/wkb-table.cjs +65 -0
  159. package/dist/arrow-geometry/wkb-table.cjs.map +7 -0
  160. package/dist/arrow-geometry/wkb-table.d.ts +6 -0
  161. package/dist/arrow-geometry/wkb-table.d.ts.map +1 -0
  162. package/dist/arrow-geometry/wkb-table.js +44 -0
  163. package/dist/arrow-geometry/wkb-table.js.map +1 -0
  164. package/dist/arrow-geometry/wkb-types.cjs +49 -0
  165. package/dist/arrow-geometry/wkb-types.cjs.map +7 -0
  166. package/dist/arrow-geometry/wkb-types.d.ts +17 -0
  167. package/dist/arrow-geometry/wkb-types.d.ts.map +1 -0
  168. package/dist/arrow-geometry/wkb-types.js +21 -0
  169. package/dist/arrow-geometry/wkb-types.js.map +1 -0
  170. package/dist/arrow-worker-transport.cjs +173 -0
  171. package/dist/arrow-worker-transport.cjs.map +6 -0
  172. package/dist/arrow-worker-transport.d.ts +15 -0
  173. package/dist/arrow-worker-transport.d.ts.map +1 -0
  174. package/dist/arrow-worker-transport.js +151 -0
  175. package/dist/arrow-worker-transport.js.map +1 -0
  176. package/dist/cluster-source.cjs +6874 -0
  177. package/dist/cluster-source.cjs.map +6 -0
  178. package/dist/cluster-source.d.ts +2 -0
  179. package/dist/cluster-source.d.ts.map +1 -0
  180. package/dist/cluster-source.js +2 -0
  181. package/dist/cluster-source.js.map +1 -0
  182. package/dist/constants/index.cjs +39 -0
  183. package/dist/constants/index.cjs.map +6 -0
  184. package/dist/constants/index.d.ts +17 -0
  185. package/dist/constants/index.d.ts.map +1 -0
  186. package/dist/constants/index.js +20 -0
  187. package/dist/constants/index.js.map +1 -0
  188. package/dist/dist.dev.js +3474 -952
  189. package/dist/dist.min.js +3 -3
  190. package/dist/federated-table-scan-source.cjs +2447 -0
  191. package/dist/federated-table-scan-source.cjs.map +6 -0
  192. package/dist/federated-table-scan-source.d.ts +2 -0
  193. package/dist/federated-table-scan-source.d.ts.map +1 -0
  194. package/dist/federated-table-scan-source.js +2 -0
  195. package/dist/federated-table-scan-source.js.map +1 -0
  196. package/dist/geoarrow/binary-polygon-to-geoarrow.cjs +97 -0
  197. package/dist/geoarrow/binary-polygon-to-geoarrow.cjs.map +7 -0
  198. package/dist/geoarrow/binary-polygon-to-geoarrow.d.ts +22 -0
  199. package/dist/geoarrow/binary-polygon-to-geoarrow.d.ts.map +1 -0
  200. package/dist/geoarrow/binary-polygon-to-geoarrow.js +94 -0
  201. package/dist/geoarrow/binary-polygon-to-geoarrow.js.map +1 -0
  202. package/dist/geoarrow/clustering/cluster-index.cjs +365 -0
  203. package/dist/geoarrow/clustering/cluster-index.cjs.map +7 -0
  204. package/dist/geoarrow/clustering/cluster-index.d.ts +96 -0
  205. package/dist/geoarrow/clustering/cluster-index.d.ts.map +1 -0
  206. package/dist/geoarrow/clustering/cluster-index.js +374 -0
  207. package/dist/geoarrow/clustering/cluster-index.js.map +1 -0
  208. package/dist/geoarrow/clustering/cluster-source.cjs +203 -0
  209. package/dist/geoarrow/clustering/cluster-source.cjs.map +7 -0
  210. package/dist/geoarrow/clustering/cluster-source.d.ts +64 -0
  211. package/dist/geoarrow/clustering/cluster-source.d.ts.map +1 -0
  212. package/dist/geoarrow/clustering/cluster-source.js +197 -0
  213. package/dist/geoarrow/clustering/cluster-source.js.map +1 -0
  214. package/dist/geoarrow/clustering/get-representative-point.cjs +176 -0
  215. package/dist/geoarrow/clustering/get-representative-point.cjs.map +7 -0
  216. package/dist/geoarrow/clustering/get-representative-point.d.ts +14 -0
  217. package/dist/geoarrow/clustering/get-representative-point.d.ts.map +1 -0
  218. package/dist/geoarrow/clustering/get-representative-point.js +172 -0
  219. package/dist/geoarrow/clustering/get-representative-point.js.map +1 -0
  220. package/dist/geoarrow/compatibility.cjs +94 -0
  221. package/dist/geoarrow/compatibility.cjs.map +7 -0
  222. package/dist/geoarrow/compatibility.d.ts +19 -0
  223. package/dist/geoarrow/compatibility.d.ts.map +1 -0
  224. package/dist/geoarrow/compatibility.js +17 -0
  225. package/dist/geoarrow/compatibility.js.map +1 -0
  226. package/dist/geoarrow/convert-table-to-geoarrow.cjs +185 -0
  227. package/dist/geoarrow/convert-table-to-geoarrow.cjs.map +7 -0
  228. package/dist/geoarrow/convert-table-to-geoarrow.d.ts +36 -0
  229. package/dist/geoarrow/convert-table-to-geoarrow.d.ts.map +1 -0
  230. package/dist/geoarrow/convert-table-to-geoarrow.js +179 -0
  231. package/dist/geoarrow/convert-table-to-geoarrow.js.map +1 -0
  232. package/dist/geoarrow/deprecated.cjs +68 -0
  233. package/dist/geoarrow/deprecated.cjs.map +7 -0
  234. package/dist/geoarrow/deprecated.d.ts +34 -0
  235. package/dist/geoarrow/deprecated.d.ts.map +1 -0
  236. package/dist/geoarrow/deprecated.js +37 -0
  237. package/dist/geoarrow/deprecated.js.map +1 -0
  238. package/dist/geoarrow/geo-column/geo-column-info.cjs +19 -0
  239. package/dist/geoarrow/geo-column/geo-column-info.cjs.map +7 -0
  240. package/dist/geoarrow/geo-column/geo-column-info.d.ts +20 -0
  241. package/dist/geoarrow/geo-column/geo-column-info.d.ts.map +1 -0
  242. package/dist/geoarrow/geo-column/geo-column-info.js +75 -0
  243. package/dist/geoarrow/geo-column/geo-column-info.js.map +1 -0
  244. package/dist/geoarrow/geo-column/geo-column.cjs +19 -0
  245. package/dist/geoarrow/geo-column/geo-column.cjs.map +7 -0
  246. package/dist/geoarrow/geo-column/geo-column.d.ts +61 -0
  247. package/dist/geoarrow/geo-column/geo-column.d.ts.map +1 -0
  248. package/dist/geoarrow/geo-column/geo-column.js +5 -0
  249. package/dist/geoarrow/geo-column/geo-column.js.map +1 -0
  250. package/dist/geoarrow/geoarrow-bounds.cjs +133 -0
  251. package/dist/geoarrow/geoarrow-bounds.cjs.map +7 -0
  252. package/dist/geoarrow/geoarrow-bounds.d.ts +27 -0
  253. package/dist/geoarrow/geoarrow-bounds.d.ts.map +1 -0
  254. package/dist/geoarrow/geoarrow-bounds.js +136 -0
  255. package/dist/geoarrow/geoarrow-bounds.js.map +1 -0
  256. package/dist/geoarrow/geoarrow-builder.cjs +31 -0
  257. package/dist/geoarrow/geoarrow-builder.cjs.map +7 -0
  258. package/dist/geoarrow/geoarrow-builder.d.ts +3 -0
  259. package/dist/geoarrow/geoarrow-builder.d.ts.map +1 -0
  260. package/dist/geoarrow/geoarrow-builder.js +5 -0
  261. package/dist/geoarrow/geoarrow-builder.js.map +1 -0
  262. package/dist/geoarrow/geoarrow-capabilities.cjs +443 -0
  263. package/dist/geoarrow/geoarrow-capabilities.cjs.map +7 -0
  264. package/dist/geoarrow/geoarrow-capabilities.d.ts +62 -0
  265. package/dist/geoarrow/geoarrow-capabilities.d.ts.map +1 -0
  266. package/dist/geoarrow/geoarrow-capabilities.js +444 -0
  267. package/dist/geoarrow/geoarrow-capabilities.js.map +1 -0
  268. package/dist/geoarrow/geoarrow-conformance.cjs +151 -0
  269. package/dist/geoarrow/geoarrow-conformance.cjs.map +7 -0
  270. package/dist/geoarrow/geoarrow-conformance.d.ts +49 -0
  271. package/dist/geoarrow/geoarrow-conformance.d.ts.map +1 -0
  272. package/dist/geoarrow/geoarrow-conformance.js +129 -0
  273. package/dist/geoarrow/geoarrow-conformance.js.map +1 -0
  274. package/dist/geoarrow/geoarrow-converter/convert-geoarrow-geometry.cjs +1364 -0
  275. package/dist/geoarrow/geoarrow-converter/convert-geoarrow-geometry.cjs.map +7 -0
  276. package/dist/geoarrow/geoarrow-converter/convert-geoarrow-geometry.d.ts +66 -0
  277. package/dist/geoarrow/geoarrow-converter/convert-geoarrow-geometry.d.ts.map +1 -0
  278. package/dist/geoarrow/geoarrow-converter/convert-geoarrow-geometry.js +1481 -0
  279. package/dist/geoarrow/geoarrow-converter/convert-geoarrow-geometry.js.map +1 -0
  280. package/dist/geoarrow/geoarrow-converter/convert-geoarrow.cjs +58 -0
  281. package/dist/geoarrow/geoarrow-converter/convert-geoarrow.cjs.map +7 -0
  282. package/dist/geoarrow/geoarrow-converter/convert-geoarrow.d.ts +17 -0
  283. package/dist/geoarrow/geoarrow-converter/convert-geoarrow.d.ts.map +1 -0
  284. package/dist/geoarrow/geoarrow-converter/convert-geoarrow.js +43 -0
  285. package/dist/geoarrow/geoarrow-converter/convert-geoarrow.js.map +1 -0
  286. package/dist/geoarrow/geoarrow-converter/geoarrow-converter.cjs +95 -0
  287. package/dist/geoarrow/geoarrow-converter/geoarrow-converter.cjs.map +7 -0
  288. package/dist/geoarrow/geoarrow-converter/geoarrow-converter.d.ts +24 -0
  289. package/dist/geoarrow/geoarrow-converter/geoarrow-converter.d.ts.map +1 -0
  290. package/dist/geoarrow/geoarrow-converter/geoarrow-converter.js +70 -0
  291. package/dist/geoarrow/geoarrow-converter/geoarrow-converter.js.map +1 -0
  292. package/dist/geoarrow/geoarrow-converter/geoarrow-geometry-converter.cjs +71 -0
  293. package/dist/geoarrow/geoarrow-converter/geoarrow-geometry-converter.cjs.map +7 -0
  294. package/dist/geoarrow/geoarrow-converter/geoarrow-geometry-converter.d.ts +20 -0
  295. package/dist/geoarrow/geoarrow-converter/geoarrow-geometry-converter.d.ts.map +1 -0
  296. package/dist/geoarrow/geoarrow-converter/geoarrow-geometry-converter.js +47 -0
  297. package/dist/geoarrow/geoarrow-converter/geoarrow-geometry-converter.js.map +1 -0
  298. package/dist/geoarrow/geoarrow-functions.cjs +148 -0
  299. package/dist/geoarrow/geoarrow-functions.cjs.map +7 -0
  300. package/dist/geoarrow/geoarrow-functions.d.ts +127 -0
  301. package/dist/geoarrow/geoarrow-functions.d.ts.map +1 -0
  302. package/dist/geoarrow/geoarrow-functions.js +240 -0
  303. package/dist/geoarrow/geoarrow-functions.js.map +1 -0
  304. package/dist/geoarrow/geoarrow-inspection.cjs +238 -0
  305. package/dist/geoarrow/geoarrow-inspection.cjs.map +7 -0
  306. package/dist/geoarrow/geoarrow-inspection.d.ts +28 -0
  307. package/dist/geoarrow/geoarrow-inspection.d.ts.map +1 -0
  308. package/dist/geoarrow/geoarrow-inspection.js +249 -0
  309. package/dist/geoarrow/geoarrow-inspection.js.map +1 -0
  310. package/dist/geoarrow/geoarrow-layout.cjs +558 -0
  311. package/dist/geoarrow/geoarrow-layout.cjs.map +7 -0
  312. package/dist/geoarrow/geoarrow-layout.d.ts +95 -0
  313. package/dist/geoarrow/geoarrow-layout.d.ts.map +1 -0
  314. package/dist/geoarrow/geoarrow-layout.js +605 -0
  315. package/dist/geoarrow/geoarrow-layout.js.map +1 -0
  316. package/dist/geoarrow/geoarrow-resource-limits.cjs +78 -0
  317. package/dist/geoarrow/geoarrow-resource-limits.cjs.map +7 -0
  318. package/dist/geoarrow/geoarrow-resource-limits.d.ts +23 -0
  319. package/dist/geoarrow/geoarrow-resource-limits.d.ts.map +1 -0
  320. package/dist/geoarrow/geoarrow-resource-limits.js +70 -0
  321. package/dist/geoarrow/geoarrow-resource-limits.js.map +1 -0
  322. package/dist/geoarrow/geoarrow-spatial-index.cjs +199 -0
  323. package/dist/geoarrow/geoarrow-spatial-index.cjs.map +7 -0
  324. package/dist/geoarrow/geoarrow-spatial-index.d.ts +51 -0
  325. package/dist/geoarrow/geoarrow-spatial-index.d.ts.map +1 -0
  326. package/dist/geoarrow/geoarrow-spatial-index.js +194 -0
  327. package/dist/geoarrow/geoarrow-spatial-index.js.map +1 -0
  328. package/dist/geoarrow/geoarrow-stream.cjs +274 -0
  329. package/dist/geoarrow/geoarrow-stream.cjs.map +7 -0
  330. package/dist/geoarrow/geoarrow-stream.d.ts +22 -0
  331. package/dist/geoarrow/geoarrow-stream.d.ts.map +1 -0
  332. package/dist/geoarrow/geoarrow-stream.js +259 -0
  333. package/dist/geoarrow/geoarrow-stream.js.map +1 -0
  334. package/dist/geoarrow/geoarrow-types.cjs +19 -0
  335. package/dist/geoarrow/geoarrow-types.cjs.map +7 -0
  336. package/dist/geoarrow/geoarrow-types.d.ts +50 -0
  337. package/dist/geoarrow/geoarrow-types.d.ts.map +1 -0
  338. package/dist/geoarrow/geoarrow-types.js +5 -0
  339. package/dist/geoarrow/geoarrow-types.js.map +1 -0
  340. package/dist/geoarrow/get-geoarrow-geometry-info.cjs +110 -0
  341. package/dist/geoarrow/get-geoarrow-geometry-info.cjs.map +7 -0
  342. package/dist/geoarrow/get-geoarrow-geometry-info.d.ts +37 -0
  343. package/dist/geoarrow/get-geoarrow-geometry-info.d.ts.map +1 -0
  344. package/dist/geoarrow/get-geoarrow-geometry-info.js +114 -0
  345. package/dist/geoarrow/get-geoarrow-geometry-info.js.map +1 -0
  346. package/dist/geoarrow/get-geoarrow-native-geometry.cjs +31 -0
  347. package/dist/geoarrow/get-geoarrow-native-geometry.cjs.map +7 -0
  348. package/dist/geoarrow/get-geoarrow-native-geometry.d.ts +2 -0
  349. package/dist/geoarrow/get-geoarrow-native-geometry.d.ts.map +1 -0
  350. package/dist/geoarrow/get-geoarrow-native-geometry.js +5 -0
  351. package/dist/geoarrow/get-geoarrow-native-geometry.js.map +1 -0
  352. package/dist/geoarrow/get-geoarrow-vertex-count.cjs +177 -0
  353. package/dist/geoarrow/get-geoarrow-vertex-count.cjs.map +7 -0
  354. package/dist/geoarrow/get-geoarrow-vertex-count.d.ts +18 -0
  355. package/dist/geoarrow/get-geoarrow-vertex-count.d.ts.map +1 -0
  356. package/dist/geoarrow/get-geoarrow-vertex-count.js +181 -0
  357. package/dist/geoarrow/get-geoarrow-vertex-count.js.map +1 -0
  358. package/dist/geoarrow/index.cjs +252 -0
  359. package/dist/geoarrow/index.cjs.map +7 -0
  360. package/dist/geoarrow/index.d.ts +58 -0
  361. package/dist/geoarrow/index.d.ts.map +1 -0
  362. package/dist/geoarrow/index.js +40 -0
  363. package/dist/geoarrow/index.js.map +1 -0
  364. package/dist/geoarrow/lib/binary-geometry-api/binary-geometry-info.cjs +67 -0
  365. package/dist/geoarrow/lib/binary-geometry-api/binary-geometry-info.cjs.map +7 -0
  366. package/dist/geoarrow/lib/binary-geometry-api/binary-geometry-info.d.ts +21 -0
  367. package/dist/geoarrow/lib/binary-geometry-api/binary-geometry-info.d.ts.map +1 -0
  368. package/dist/geoarrow/lib/binary-geometry-api/binary-geometry-info.js +49 -0
  369. package/dist/geoarrow/lib/binary-geometry-api/binary-geometry-info.js.map +1 -0
  370. package/dist/geoarrow/lib/feature-collection-converters/convert-arrow-binary-feature-collection.cjs +450 -0
  371. package/dist/geoarrow/lib/feature-collection-converters/convert-arrow-binary-feature-collection.cjs.map +7 -0
  372. package/dist/geoarrow/lib/feature-collection-converters/convert-arrow-binary-feature-collection.d.ts +21 -0
  373. package/dist/geoarrow/lib/feature-collection-converters/convert-arrow-binary-feature-collection.d.ts.map +1 -0
  374. package/dist/geoarrow/lib/feature-collection-converters/convert-arrow-binary-feature-collection.js +405 -0
  375. package/dist/geoarrow/lib/feature-collection-converters/convert-arrow-binary-feature-collection.js.map +1 -0
  376. package/dist/geoarrow/lib/feature-collection-converters/convert-binary-features-to-geojson.cjs +117 -0
  377. package/dist/geoarrow/lib/feature-collection-converters/convert-binary-features-to-geojson.cjs.map +7 -0
  378. package/dist/geoarrow/lib/feature-collection-converters/convert-binary-features-to-geojson.d.ts +16 -0
  379. package/dist/geoarrow/lib/feature-collection-converters/convert-binary-features-to-geojson.d.ts.map +1 -0
  380. package/dist/geoarrow/lib/feature-collection-converters/convert-binary-features-to-geojson.js +116 -0
  381. package/dist/geoarrow/lib/feature-collection-converters/convert-binary-features-to-geojson.js.map +1 -0
  382. package/dist/geoarrow/lib/feature-collection-converters/convert-geometry-column-to-binary-feature-collection.cjs +1123 -0
  383. package/dist/geoarrow/lib/feature-collection-converters/convert-geometry-column-to-binary-feature-collection.cjs.map +7 -0
  384. package/dist/geoarrow/lib/feature-collection-converters/convert-geometry-column-to-binary-feature-collection.d.ts +86 -0
  385. package/dist/geoarrow/lib/feature-collection-converters/convert-geometry-column-to-binary-feature-collection.d.ts.map +1 -0
  386. package/dist/geoarrow/lib/feature-collection-converters/convert-geometry-column-to-binary-feature-collection.js +878 -0
  387. package/dist/geoarrow/lib/feature-collection-converters/convert-geometry-column-to-binary-feature-collection.js.map +1 -0
  388. package/dist/geoarrow/lib/feature-collection-converters/feature-collection-converter/convert-feature-collection.cjs +156 -0
  389. package/dist/geoarrow/lib/feature-collection-converters/feature-collection-converter/convert-feature-collection.cjs.map +7 -0
  390. package/dist/geoarrow/lib/feature-collection-converters/feature-collection-converter/convert-feature-collection.d.ts +26 -0
  391. package/dist/geoarrow/lib/feature-collection-converters/feature-collection-converter/convert-feature-collection.d.ts.map +1 -0
  392. package/dist/geoarrow/lib/feature-collection-converters/feature-collection-converter/convert-feature-collection.js +119 -0
  393. package/dist/geoarrow/lib/feature-collection-converters/feature-collection-converter/convert-feature-collection.js.map +1 -0
  394. package/dist/geoarrow/lib/feature-collection-converters/feature-collection-converter/feature-collection-converter.cjs +74 -0
  395. package/dist/geoarrow/lib/feature-collection-converters/feature-collection-converter/feature-collection-converter.cjs.map +7 -0
  396. package/dist/geoarrow/lib/feature-collection-converters/feature-collection-converter/feature-collection-converter.d.ts +32 -0
  397. package/dist/geoarrow/lib/feature-collection-converters/feature-collection-converter/feature-collection-converter.d.ts.map +1 -0
  398. package/dist/geoarrow/lib/feature-collection-converters/feature-collection-converter/feature-collection-converter.js +53 -0
  399. package/dist/geoarrow/lib/feature-collection-converters/feature-collection-converter/feature-collection-converter.js.map +1 -0
  400. package/dist/geoarrow/lib/geoarrow/geoarrow-union-kind.cjs +31 -0
  401. package/dist/geoarrow/lib/geoarrow/geoarrow-union-kind.cjs.map +7 -0
  402. package/dist/geoarrow/lib/geoarrow/geoarrow-union-kind.d.ts +2 -0
  403. package/dist/geoarrow/lib/geoarrow/geoarrow-union-kind.d.ts.map +1 -0
  404. package/dist/geoarrow/lib/geoarrow/geoarrow-union-kind.js +2 -0
  405. package/dist/geoarrow/lib/geoarrow/geoarrow-union-kind.js.map +1 -0
  406. package/dist/geoarrow/lib/geometry-converters/convert-binary-geometry-to-geojson.cjs +115 -0
  407. package/dist/geoarrow/lib/geometry-converters/convert-binary-geometry-to-geojson.cjs.map +7 -0
  408. package/dist/geoarrow/lib/geometry-converters/convert-binary-geometry-to-geojson.d.ts +4 -0
  409. package/dist/geoarrow/lib/geometry-converters/convert-binary-geometry-to-geojson.d.ts.map +1 -0
  410. package/dist/geoarrow/lib/geometry-converters/convert-binary-geometry-to-geojson.js +102 -0
  411. package/dist/geoarrow/lib/geometry-converters/convert-binary-geometry-to-geojson.js.map +1 -0
  412. package/dist/geoarrow/lib/geometry-converters/convert-geoarrow-to-geojson.cjs +158 -0
  413. package/dist/geoarrow/lib/geometry-converters/convert-geoarrow-to-geojson.cjs.map +7 -0
  414. package/dist/geoarrow/lib/geometry-converters/convert-geoarrow-to-geojson.d.ts +7 -0
  415. package/dist/geoarrow/lib/geometry-converters/convert-geoarrow-to-geojson.d.ts.map +1 -0
  416. package/dist/geoarrow/lib/geometry-converters/convert-geoarrow-to-geojson.js +139 -0
  417. package/dist/geoarrow/lib/geometry-converters/convert-geoarrow-to-geojson.js.map +1 -0
  418. package/dist/geoarrow/lib/geometry-converters/geometry-converter/geometry-converter.cjs +126 -0
  419. package/dist/geoarrow/lib/geometry-converters/geometry-converter/geometry-converter.cjs.map +7 -0
  420. package/dist/geoarrow/lib/geometry-converters/geometry-converter/geometry-converter.d.ts +10 -0
  421. package/dist/geoarrow/lib/geometry-converters/geometry-converter/geometry-converter.d.ts.map +1 -0
  422. package/dist/geoarrow/lib/geometry-converters/geometry-converter/geometry-converter.js +123 -0
  423. package/dist/geoarrow/lib/geometry-converters/geometry-converter/geometry-converter.js.map +1 -0
  424. package/dist/geoarrow/lib/geometry-converters/wkb/convert-wkb-to-binary-geometry.cjs +94 -0
  425. package/dist/geoarrow/lib/geometry-converters/wkb/convert-wkb-to-binary-geometry.cjs.map +7 -0
  426. package/dist/geoarrow/lib/geometry-converters/wkb/convert-wkb-to-binary-geometry.d.ts +8 -0
  427. package/dist/geoarrow/lib/geometry-converters/wkb/convert-wkb-to-binary-geometry.d.ts.map +1 -0
  428. package/dist/geoarrow/lib/geometry-converters/wkb/convert-wkb-to-binary-geometry.js +82 -0
  429. package/dist/geoarrow/lib/geometry-converters/wkb/convert-wkb-to-binary-geometry.js.map +1 -0
  430. package/dist/geoarrow/lib/geometry-converters/wkb/helpers/parse-wkb-header.cjs +109 -0
  431. package/dist/geoarrow/lib/geometry-converters/wkb/helpers/parse-wkb-header.cjs.map +7 -0
  432. package/dist/geoarrow/lib/geometry-converters/wkb/helpers/parse-wkb-header.d.ts +37 -0
  433. package/dist/geoarrow/lib/geometry-converters/wkb/helpers/parse-wkb-header.d.ts.map +1 -0
  434. package/dist/geoarrow/lib/geometry-converters/wkb/helpers/parse-wkb-header.js +103 -0
  435. package/dist/geoarrow/lib/geometry-converters/wkb/helpers/parse-wkb-header.js.map +1 -0
  436. package/dist/geoarrow/lib/geometry-converters/wkb/helpers/wkb-types.cjs +67 -0
  437. package/dist/geoarrow/lib/geometry-converters/wkb/helpers/wkb-types.cjs.map +7 -0
  438. package/dist/geoarrow/lib/geometry-converters/wkb/helpers/wkb-types.d.ts +64 -0
  439. package/dist/geoarrow/lib/geometry-converters/wkb/helpers/wkb-types.d.ts.map +1 -0
  440. package/dist/geoarrow/lib/geometry-converters/wkb/helpers/wkb-types.js +47 -0
  441. package/dist/geoarrow/lib/geometry-converters/wkb/helpers/wkb-types.js.map +1 -0
  442. package/dist/geoarrow/lib/geometry-predicates.cjs +133 -0
  443. package/dist/geoarrow/lib/geometry-predicates.cjs.map +7 -0
  444. package/dist/geoarrow/lib/geometry-predicates.d.ts +7 -0
  445. package/dist/geoarrow/lib/geometry-predicates.d.ts.map +1 -0
  446. package/dist/geoarrow/lib/geometry-predicates.js +138 -0
  447. package/dist/geoarrow/lib/geometry-predicates.js.map +1 -0
  448. package/dist/geoarrow/lib/kernels/decode-wkt-native.cjs +589 -0
  449. package/dist/geoarrow/lib/kernels/decode-wkt-native.cjs.map +7 -0
  450. package/dist/geoarrow/lib/kernels/decode-wkt-native.d.ts +48 -0
  451. package/dist/geoarrow/lib/kernels/decode-wkt-native.d.ts.map +1 -0
  452. package/dist/geoarrow/lib/kernels/decode-wkt-native.js +618 -0
  453. package/dist/geoarrow/lib/kernels/decode-wkt-native.js.map +1 -0
  454. package/dist/geoarrow/lib/kernels/encode-geoarrow-box.cjs +255 -0
  455. package/dist/geoarrow/lib/kernels/encode-geoarrow-box.cjs.map +7 -0
  456. package/dist/geoarrow/lib/kernels/encode-geoarrow-box.d.ts +12 -0
  457. package/dist/geoarrow/lib/kernels/encode-geoarrow-box.d.ts.map +1 -0
  458. package/dist/geoarrow/lib/kernels/encode-geoarrow-box.js +257 -0
  459. package/dist/geoarrow/lib/kernels/encode-geoarrow-box.js.map +1 -0
  460. package/dist/geoarrow/lib/kernels/encode-geoarrow-wkt.cjs +290 -0
  461. package/dist/geoarrow/lib/kernels/encode-geoarrow-wkt.cjs.map +7 -0
  462. package/dist/geoarrow/lib/kernels/encode-geoarrow-wkt.d.ts +16 -0
  463. package/dist/geoarrow/lib/kernels/encode-geoarrow-wkt.d.ts.map +1 -0
  464. package/dist/geoarrow/lib/kernels/encode-geoarrow-wkt.js +334 -0
  465. package/dist/geoarrow/lib/kernels/encode-geoarrow-wkt.js.map +1 -0
  466. package/dist/geoarrow/lib/kernels/geoarrow-union.cjs +102 -0
  467. package/dist/geoarrow/lib/kernels/geoarrow-union.cjs.map +7 -0
  468. package/dist/geoarrow/lib/kernels/geoarrow-union.d.ts +8 -0
  469. package/dist/geoarrow/lib/kernels/geoarrow-union.d.ts.map +1 -0
  470. package/dist/geoarrow/lib/kernels/geoarrow-union.js +90 -0
  471. package/dist/geoarrow/lib/kernels/geoarrow-union.js.map +1 -0
  472. package/dist/geoarrow/lib/table-converters/convert-geoarrow-table.cjs +92 -0
  473. package/dist/geoarrow/lib/table-converters/convert-geoarrow-table.cjs.map +7 -0
  474. package/dist/geoarrow/lib/table-converters/convert-geoarrow-table.d.ts +8 -0
  475. package/dist/geoarrow/lib/table-converters/convert-geoarrow-table.d.ts.map +1 -0
  476. package/dist/geoarrow/lib/table-converters/convert-geoarrow-table.js +70 -0
  477. package/dist/geoarrow/lib/table-converters/convert-geoarrow-table.js.map +1 -0
  478. package/dist/geoarrow/lib/table-converters/convert-wkb-table-to-geojson.cjs +34 -0
  479. package/dist/geoarrow/lib/table-converters/convert-wkb-table-to-geojson.cjs.map +7 -0
  480. package/dist/geoarrow/lib/table-converters/convert-wkb-table-to-geojson.d.ts +6 -0
  481. package/dist/geoarrow/lib/table-converters/convert-wkb-table-to-geojson.d.ts.map +1 -0
  482. package/dist/geoarrow/lib/table-converters/convert-wkb-table-to-geojson.js +11 -0
  483. package/dist/geoarrow/lib/table-converters/convert-wkb-table-to-geojson.js.map +1 -0
  484. package/dist/geoarrow/map-geoarrow-coordinates.cjs +228 -0
  485. package/dist/geoarrow/map-geoarrow-coordinates.cjs.map +7 -0
  486. package/dist/geoarrow/map-geoarrow-coordinates.d.ts +16 -0
  487. package/dist/geoarrow/map-geoarrow-coordinates.d.ts.map +1 -0
  488. package/dist/geoarrow/map-geoarrow-coordinates.js +182 -0
  489. package/dist/geoarrow/map-geoarrow-coordinates.js.map +1 -0
  490. package/dist/geoarrow/mesharrow/arrow-fixed-size-list-utils.cjs +88 -0
  491. package/dist/geoarrow/mesharrow/arrow-fixed-size-list-utils.cjs.map +7 -0
  492. package/dist/geoarrow/mesharrow/arrow-fixed-size-list-utils.d.ts +11 -0
  493. package/dist/geoarrow/mesharrow/arrow-fixed-size-list-utils.d.ts.map +1 -0
  494. package/dist/geoarrow/mesharrow/arrow-fixed-size-list-utils.js +41 -0
  495. package/dist/geoarrow/mesharrow/arrow-fixed-size-list-utils.js.map +1 -0
  496. package/dist/geoarrow/mesharrow/arrow-list-of-fixed-size-list-utils.cjs +73 -0
  497. package/dist/geoarrow/mesharrow/arrow-list-of-fixed-size-list-utils.cjs.map +7 -0
  498. package/dist/geoarrow/mesharrow/arrow-list-of-fixed-size-list-utils.d.ts +11 -0
  499. package/dist/geoarrow/mesharrow/arrow-list-of-fixed-size-list-utils.d.ts.map +1 -0
  500. package/dist/geoarrow/mesharrow/arrow-list-of-fixed-size-list-utils.js +32 -0
  501. package/dist/geoarrow/mesharrow/arrow-list-of-fixed-size-list-utils.js.map +1 -0
  502. package/dist/geoarrow/mesharrow/get-bounding-box.cjs +49 -0
  503. package/dist/geoarrow/mesharrow/get-bounding-box.cjs.map +7 -0
  504. package/dist/geoarrow/mesharrow/get-bounding-box.d.ts +5 -0
  505. package/dist/geoarrow/mesharrow/get-bounding-box.d.ts.map +1 -0
  506. package/dist/geoarrow/mesharrow/get-bounding-box.js +32 -0
  507. package/dist/geoarrow/mesharrow/get-bounding-box.js.map +1 -0
  508. package/dist/geoarrow/mesharrow/get-deck-binary-data.cjs +74 -0
  509. package/dist/geoarrow/mesharrow/get-deck-binary-data.cjs.map +7 -0
  510. package/dist/geoarrow/mesharrow/get-deck-binary-data.d.ts +13 -0
  511. package/dist/geoarrow/mesharrow/get-deck-binary-data.d.ts.map +1 -0
  512. package/dist/geoarrow/mesharrow/get-deck-binary-data.js +49 -0
  513. package/dist/geoarrow/mesharrow/get-deck-binary-data.js.map +1 -0
  514. package/dist/geoarrow/mesharrow/mesh-accessors.cjs +47 -0
  515. package/dist/geoarrow/mesharrow/mesh-accessors.cjs.map +7 -0
  516. package/dist/geoarrow/mesharrow/mesh-accessors.d.ts +8 -0
  517. package/dist/geoarrow/mesharrow/mesh-accessors.d.ts.map +1 -0
  518. package/dist/geoarrow/mesharrow/mesh-accessors.js +19 -0
  519. package/dist/geoarrow/mesharrow/mesh-accessors.js.map +1 -0
  520. package/dist/geoarrow/metadata/geoarrow-metadata.cjs +135 -0
  521. package/dist/geoarrow/metadata/geoarrow-metadata.cjs.map +7 -0
  522. package/dist/geoarrow/metadata/geoarrow-metadata.d.ts +15 -0
  523. package/dist/geoarrow/metadata/geoarrow-metadata.d.ts.map +1 -0
  524. package/dist/geoarrow/metadata/geoarrow-metadata.js +81 -0
  525. package/dist/geoarrow/metadata/geoarrow-metadata.js.map +1 -0
  526. package/dist/geoarrow/metadata/geoparquet-metadata-schema.cjs +90 -0
  527. package/dist/geoarrow/metadata/geoparquet-metadata-schema.cjs.map +7 -0
  528. package/dist/geoarrow/metadata/geoparquet-metadata-schema.d.ts +79 -0
  529. package/dist/geoarrow/metadata/geoparquet-metadata-schema.d.ts.map +1 -0
  530. package/dist/geoarrow/metadata/geoparquet-metadata-schema.js +70 -0
  531. package/dist/geoarrow/metadata/geoparquet-metadata-schema.js.map +1 -0
  532. package/dist/geoarrow/metadata/geoparquet-metadata.cjs +39 -0
  533. package/dist/geoarrow/metadata/geoparquet-metadata.cjs.map +7 -0
  534. package/dist/geoarrow/metadata/geoparquet-metadata.d.ts +3 -0
  535. package/dist/geoarrow/metadata/geoparquet-metadata.d.ts.map +1 -0
  536. package/dist/geoarrow/metadata/geoparquet-metadata.js +5 -0
  537. package/dist/geoarrow/metadata/geoparquet-metadata.js.map +1 -0
  538. package/dist/geoarrow/metadata/merge-geoarrow-metadata.cjs +244 -0
  539. package/dist/geoarrow/metadata/merge-geoarrow-metadata.cjs.map +7 -0
  540. package/dist/geoarrow/metadata/merge-geoarrow-metadata.d.ts +63 -0
  541. package/dist/geoarrow/metadata/merge-geoarrow-metadata.d.ts.map +1 -0
  542. package/dist/geoarrow/metadata/merge-geoarrow-metadata.js +243 -0
  543. package/dist/geoarrow/metadata/merge-geoarrow-metadata.js.map +1 -0
  544. package/dist/geoarrow/metadata/metadata-utils.cjs +33 -0
  545. package/dist/geoarrow/metadata/metadata-utils.cjs.map +7 -0
  546. package/dist/geoarrow/metadata/metadata-utils.d.ts +3 -0
  547. package/dist/geoarrow/metadata/metadata-utils.d.ts.map +1 -0
  548. package/dist/geoarrow/metadata/metadata-utils.js +5 -0
  549. package/dist/geoarrow/metadata/metadata-utils.js.map +1 -0
  550. package/dist/geoarrow/rewind-geoarrow.cjs +219 -0
  551. package/dist/geoarrow/rewind-geoarrow.cjs.map +7 -0
  552. package/dist/geoarrow/rewind-geoarrow.d.ts +23 -0
  553. package/dist/geoarrow/rewind-geoarrow.d.ts.map +1 -0
  554. package/dist/geoarrow/rewind-geoarrow.js +204 -0
  555. package/dist/geoarrow/rewind-geoarrow.js.map +1 -0
  556. package/dist/index.cjs +1047 -1400
  557. package/dist/index.cjs.map +3 -3
  558. package/dist/index.d.ts +11 -13
  559. package/dist/index.d.ts.map +1 -1
  560. package/dist/index.js +9 -12
  561. package/dist/index.js.map +1 -1
  562. package/dist/iterators/make-iterator/make-iterator.js +1 -1
  563. package/dist/iterators/make-iterator/make-iterator.js.map +1 -1
  564. package/dist/iterators/make-iterator/make-stream-iterator.js +1 -1
  565. package/dist/iterators/make-iterator/make-stream-iterator.js.map +1 -1
  566. package/dist/iterators/make-iterator/make-string-iterator.js +1 -1
  567. package/dist/iterators/make-iterator/make-string-iterator.js.map +1 -1
  568. package/dist/lib/api/core-api.d.ts +1 -1
  569. package/dist/lib/api/core-api.d.ts.map +1 -1
  570. package/dist/lib/api/create-data-source.d.ts +20 -9
  571. package/dist/lib/api/create-data-source.d.ts.map +1 -1
  572. package/dist/lib/api/create-data-source.js +55 -45
  573. package/dist/lib/api/create-data-source.js.map +1 -1
  574. package/dist/lib/api/encode-table.d.ts +2 -2
  575. package/dist/lib/api/encode-table.d.ts.map +1 -1
  576. package/dist/lib/api/encode-table.js +1 -1
  577. package/dist/lib/api/encode-table.js.map +1 -1
  578. package/dist/lib/api/encode.d.ts +2 -2
  579. package/dist/lib/api/encode.d.ts.map +1 -1
  580. package/dist/lib/api/encode.js +13 -4
  581. package/dist/lib/api/encode.js.map +1 -1
  582. package/dist/lib/api/load-in-batches.d.ts +3 -2
  583. package/dist/lib/api/load-in-batches.d.ts.map +1 -1
  584. package/dist/lib/api/load-in-batches.js +1 -1
  585. package/dist/lib/api/load-in-batches.js.map +1 -1
  586. package/dist/lib/api/load-loader.d.ts +6 -4
  587. package/dist/lib/api/load-loader.d.ts.map +1 -1
  588. package/dist/lib/api/load-loader.js +118 -10
  589. package/dist/lib/api/load-loader.js.map +1 -1
  590. package/dist/lib/api/load.d.ts +7 -3
  591. package/dist/lib/api/load.d.ts.map +1 -1
  592. package/dist/lib/api/load.js +17 -67
  593. package/dist/lib/api/load.js.map +1 -1
  594. package/dist/lib/api/parse-file.d.ts +5 -3
  595. package/dist/lib/api/parse-file.d.ts.map +1 -1
  596. package/dist/lib/api/parse-file.js +15 -8
  597. package/dist/lib/api/parse-file.js.map +1 -1
  598. package/dist/lib/api/parse-in-batches.d.ts +5 -3
  599. package/dist/lib/api/parse-in-batches.d.ts.map +1 -1
  600. package/dist/lib/api/parse-in-batches.js +104 -12
  601. package/dist/lib/api/parse-in-batches.js.map +1 -1
  602. package/dist/lib/api/parse-sync.d.ts +5 -3
  603. package/dist/lib/api/parse-sync.d.ts.map +1 -1
  604. package/dist/lib/api/parse-sync.js +8 -6
  605. package/dist/lib/api/parse-sync.js.map +1 -1
  606. package/dist/lib/api/parse.d.ts +5 -3
  607. package/dist/lib/api/parse.d.ts.map +1 -1
  608. package/dist/lib/api/parse.js +32 -19
  609. package/dist/lib/api/parse.js.map +1 -1
  610. package/dist/lib/api/preload.d.ts +6 -3
  611. package/dist/lib/api/preload.d.ts.map +1 -1
  612. package/dist/lib/api/preload.js +4 -5
  613. package/dist/lib/api/preload.js.map +1 -1
  614. package/dist/lib/api/register-loaders.d.ts +1 -1
  615. package/dist/lib/api/register-loaders.d.ts.map +1 -1
  616. package/dist/lib/api/select-loader.d.ts +5 -3
  617. package/dist/lib/api/select-loader.d.ts.map +1 -1
  618. package/dist/lib/api/select-loader.js +47 -53
  619. package/dist/lib/api/select-loader.js.map +1 -1
  620. package/dist/lib/api/select-source.d.ts +1 -1
  621. package/dist/lib/api/select-source.d.ts.map +1 -1
  622. package/dist/lib/api/select-source.js +1 -1
  623. package/dist/lib/api/select-source.js.map +1 -1
  624. package/dist/lib/common.d.ts +1 -1
  625. package/dist/lib/common.d.ts.map +1 -1
  626. package/dist/lib/fetch/fetch-file.js +2 -2
  627. package/dist/lib/fetch/fetch-file.js.map +1 -1
  628. package/dist/lib/filesystems/browser-filesystem.d.ts +1 -1
  629. package/dist/lib/filesystems/browser-filesystem.d.ts.map +1 -1
  630. package/dist/lib/filesystems/browser-filesystem.js +1 -1
  631. package/dist/lib/filesystems/browser-filesystem.js.map +1 -1
  632. package/dist/lib/init.js +2 -2
  633. package/dist/lib/init.js.map +1 -1
  634. package/dist/lib/loader-utils/get-data.d.ts +1 -1
  635. package/dist/lib/loader-utils/get-data.d.ts.map +1 -1
  636. package/dist/lib/loader-utils/get-data.js +1 -1
  637. package/dist/lib/loader-utils/get-data.js.map +1 -1
  638. package/dist/lib/loader-utils/get-fetch-function.d.ts +1 -1
  639. package/dist/lib/loader-utils/get-fetch-function.d.ts.map +1 -1
  640. package/dist/lib/loader-utils/get-fetch-function.js +6 -4
  641. package/dist/lib/loader-utils/get-fetch-function.js.map +1 -1
  642. package/dist/lib/loader-utils/loader-context.d.ts +1 -1
  643. package/dist/lib/loader-utils/loader-context.d.ts.map +1 -1
  644. package/dist/lib/loader-utils/loader-context.js +7 -1
  645. package/dist/lib/loader-utils/loader-context.js.map +1 -1
  646. package/dist/lib/loader-utils/loggers.d.ts +2 -37
  647. package/dist/lib/loader-utils/loggers.d.ts.map +1 -1
  648. package/dist/lib/loader-utils/loggers.js +2 -63
  649. package/dist/lib/loader-utils/loggers.js.map +1 -1
  650. package/dist/lib/loader-utils/native-arrow.d.ts +16 -0
  651. package/dist/lib/loader-utils/native-arrow.d.ts.map +1 -0
  652. package/dist/lib/loader-utils/native-arrow.js +84 -0
  653. package/dist/lib/loader-utils/native-arrow.js.map +1 -0
  654. package/dist/lib/loader-utils/normalize-loader.d.ts +1 -1
  655. package/dist/lib/loader-utils/normalize-loader.d.ts.map +1 -1
  656. package/dist/lib/loader-utils/normalize-loader.js +1 -1
  657. package/dist/lib/loader-utils/normalize-loader.js.map +1 -1
  658. package/dist/lib/loader-utils/option-defaults.d.ts +4 -3
  659. package/dist/lib/loader-utils/option-defaults.d.ts.map +1 -1
  660. package/dist/lib/loader-utils/option-defaults.js +12 -11
  661. package/dist/lib/loader-utils/option-defaults.js.map +1 -1
  662. package/dist/lib/loader-utils/option-utils.d.ts +1 -7
  663. package/dist/lib/loader-utils/option-utils.d.ts.map +1 -1
  664. package/dist/lib/loader-utils/option-utils.js +31 -114
  665. package/dist/lib/loader-utils/option-utils.js.map +1 -1
  666. package/dist/lib/utils/resource-utils.js +1 -1
  667. package/dist/lib/utils/resource-utils.js.map +1 -1
  668. package/dist/lib/utils/response-utils.js +1 -1
  669. package/dist/lib/utils/response-utils.js.map +1 -1
  670. package/dist/loader-utils/format-types.d.ts +35 -0
  671. package/dist/loader-utils/format-types.d.ts.map +1 -0
  672. package/dist/loader-utils/format-types.js +5 -0
  673. package/dist/loader-utils/format-types.js.map +1 -0
  674. package/dist/loader-utils/index.cjs +12318 -0
  675. package/dist/loader-utils/index.cjs.map +6 -0
  676. package/dist/loader-utils/index.d.ts +133 -0
  677. package/dist/loader-utils/index.d.ts.map +1 -0
  678. package/dist/loader-utils/index.js +96 -0
  679. package/dist/loader-utils/index.js.map +1 -0
  680. package/dist/loader-utils/json-loader.d.ts +27 -0
  681. package/dist/loader-utils/json-loader.d.ts.map +1 -0
  682. package/dist/loader-utils/json-loader.js +32 -0
  683. package/dist/loader-utils/json-loader.js.map +1 -0
  684. package/dist/loader-utils/lib/binary-utils/array-buffer-utils.d.ts +32 -0
  685. package/dist/loader-utils/lib/binary-utils/array-buffer-utils.d.ts.map +1 -0
  686. package/dist/loader-utils/lib/binary-utils/array-buffer-utils.js +88 -0
  687. package/dist/loader-utils/lib/binary-utils/array-buffer-utils.js.map +1 -0
  688. package/dist/loader-utils/lib/binary-utils/binary-chunk-reader.d.ts +67 -0
  689. package/dist/loader-utils/lib/binary-utils/binary-chunk-reader.d.ts.map +1 -0
  690. package/dist/loader-utils/lib/binary-utils/binary-chunk-reader.js +245 -0
  691. package/dist/loader-utils/lib/binary-utils/binary-chunk-reader.js.map +1 -0
  692. package/dist/loader-utils/lib/binary-utils/dataview-copy-utils.d.ts +43 -0
  693. package/dist/loader-utils/lib/binary-utils/dataview-copy-utils.d.ts.map +1 -0
  694. package/dist/loader-utils/lib/binary-utils/dataview-copy-utils.js +92 -0
  695. package/dist/loader-utils/lib/binary-utils/dataview-copy-utils.js.map +1 -0
  696. package/dist/loader-utils/lib/binary-utils/encode-array-buffer-to-base64.d.ts +3 -0
  697. package/dist/loader-utils/lib/binary-utils/encode-array-buffer-to-base64.d.ts.map +1 -0
  698. package/dist/loader-utils/lib/binary-utils/encode-array-buffer-to-base64.js +15 -0
  699. package/dist/loader-utils/lib/binary-utils/encode-array-buffer-to-base64.js.map +1 -0
  700. package/dist/loader-utils/lib/binary-utils/get-first-characters.d.ts +17 -0
  701. package/dist/loader-utils/lib/binary-utils/get-first-characters.d.ts.map +1 -0
  702. package/dist/loader-utils/lib/binary-utils/get-first-characters.js +43 -0
  703. package/dist/loader-utils/lib/binary-utils/get-first-characters.js.map +1 -0
  704. package/dist/loader-utils/lib/binary-utils/hex-transcoder.d.ts +15 -0
  705. package/dist/loader-utils/lib/binary-utils/hex-transcoder.d.ts.map +1 -0
  706. package/dist/loader-utils/lib/binary-utils/hex-transcoder.js +51 -0
  707. package/dist/loader-utils/lib/binary-utils/hex-transcoder.js.map +1 -0
  708. package/dist/loader-utils/lib/binary-utils/memory-conversion-utils.d.ts +20 -0
  709. package/dist/loader-utils/lib/binary-utils/memory-conversion-utils.d.ts.map +1 -0
  710. package/dist/loader-utils/lib/binary-utils/memory-conversion-utils.js +82 -0
  711. package/dist/loader-utils/lib/binary-utils/memory-conversion-utils.js.map +1 -0
  712. package/dist/loader-utils/lib/binary-utils/memory-copy-utils.d.ts +25 -0
  713. package/dist/loader-utils/lib/binary-utils/memory-copy-utils.d.ts.map +1 -0
  714. package/dist/loader-utils/lib/binary-utils/memory-copy-utils.js +59 -0
  715. package/dist/loader-utils/lib/binary-utils/memory-copy-utils.js.map +1 -0
  716. package/dist/loader-utils/lib/crs/crs-reprojection.d.ts +31 -0
  717. package/dist/loader-utils/lib/crs/crs-reprojection.d.ts.map +1 -0
  718. package/dist/loader-utils/lib/crs/crs-reprojection.js +20 -0
  719. package/dist/loader-utils/lib/crs/crs-reprojection.js.map +1 -0
  720. package/dist/loader-utils/lib/env-utils/assert.d.ts +6 -0
  721. package/dist/loader-utils/lib/env-utils/assert.d.ts.map +1 -0
  722. package/dist/loader-utils/lib/env-utils/assert.js +13 -0
  723. package/dist/loader-utils/lib/env-utils/assert.js.map +1 -0
  724. package/dist/loader-utils/lib/env-utils/globals.d.ts +15 -0
  725. package/dist/loader-utils/lib/env-utils/globals.d.ts.map +1 -0
  726. package/dist/loader-utils/lib/env-utils/globals.js +28 -0
  727. package/dist/loader-utils/lib/env-utils/globals.js.map +1 -0
  728. package/dist/loader-utils/lib/files/array-buffer-file.d.ts +21 -0
  729. package/dist/loader-utils/lib/files/array-buffer-file.d.ts.map +1 -0
  730. package/dist/loader-utils/lib/files/array-buffer-file.js +36 -0
  731. package/dist/loader-utils/lib/files/array-buffer-file.js.map +1 -0
  732. package/dist/loader-utils/lib/files/blob-file.d.ts +19 -0
  733. package/dist/loader-utils/lib/files/blob-file.d.ts.map +1 -0
  734. package/dist/loader-utils/lib/files/blob-file.js +39 -0
  735. package/dist/loader-utils/lib/files/blob-file.js.map +1 -0
  736. package/dist/loader-utils/lib/files/file.d.ts +33 -0
  737. package/dist/loader-utils/lib/files/file.d.ts.map +1 -0
  738. package/dist/loader-utils/lib/files/file.js +5 -0
  739. package/dist/loader-utils/lib/files/file.js.map +1 -0
  740. package/dist/loader-utils/lib/files/http-file-transport.d.ts +41 -0
  741. package/dist/loader-utils/lib/files/http-file-transport.d.ts.map +1 -0
  742. package/dist/loader-utils/lib/files/http-file-transport.js +334 -0
  743. package/dist/loader-utils/lib/files/http-file-transport.js.map +1 -0
  744. package/dist/loader-utils/lib/files/http-file-types.d.ts +51 -0
  745. package/dist/loader-utils/lib/files/http-file-types.d.ts.map +1 -0
  746. package/dist/loader-utils/lib/files/http-file-types.js +5 -0
  747. package/dist/loader-utils/lib/files/http-file-types.js.map +1 -0
  748. package/dist/loader-utils/lib/files/http-file.d.ts +55 -0
  749. package/dist/loader-utils/lib/files/http-file.d.ts.map +1 -0
  750. package/dist/loader-utils/lib/files/http-file.js +213 -0
  751. package/dist/loader-utils/lib/files/http-file.js.map +1 -0
  752. package/dist/loader-utils/lib/files/node-file-facade.d.ts +22 -0
  753. package/dist/loader-utils/lib/files/node-file-facade.d.ts.map +1 -0
  754. package/dist/loader-utils/lib/files/node-file-facade.js +45 -0
  755. package/dist/loader-utils/lib/files/node-file-facade.js.map +1 -0
  756. package/dist/loader-utils/lib/files/read-range-response.d.ts +3 -0
  757. package/dist/loader-utils/lib/files/read-range-response.d.ts.map +1 -0
  758. package/dist/loader-utils/lib/files/read-range-response.js +62 -0
  759. package/dist/loader-utils/lib/files/read-range-response.js.map +1 -0
  760. package/dist/loader-utils/lib/files/sources.d.ts +1 -0
  761. package/dist/loader-utils/lib/files/sources.d.ts.map +1 -0
  762. package/dist/loader-utils/lib/files/sources.js +155 -0
  763. package/dist/loader-utils/lib/files/sources.js.map +1 -0
  764. package/dist/loader-utils/lib/filesystems/filesystem.d.ts +33 -0
  765. package/dist/loader-utils/lib/filesystems/filesystem.d.ts.map +1 -0
  766. package/dist/loader-utils/lib/filesystems/filesystem.js +5 -0
  767. package/dist/loader-utils/lib/filesystems/filesystem.js.map +1 -0
  768. package/dist/loader-utils/lib/filesystems/node-filesystem-facade.d.ts +23 -0
  769. package/dist/loader-utils/lib/filesystems/node-filesystem-facade.d.ts.map +1 -0
  770. package/dist/loader-utils/lib/filesystems/node-filesystem-facade.js +48 -0
  771. package/dist/loader-utils/lib/filesystems/node-filesystem-facade.js.map +1 -0
  772. package/dist/loader-utils/lib/iterators/async-iteration.d.ts +20 -0
  773. package/dist/loader-utils/lib/iterators/async-iteration.d.ts.map +1 -0
  774. package/dist/loader-utils/lib/iterators/async-iteration.js +102 -0
  775. package/dist/loader-utils/lib/iterators/async-iteration.js.map +1 -0
  776. package/dist/loader-utils/lib/iterators/text-iterators.d.ts +19 -0
  777. package/dist/loader-utils/lib/iterators/text-iterators.d.ts.map +1 -0
  778. package/dist/loader-utils/lib/iterators/text-iterators.js +60 -0
  779. package/dist/loader-utils/lib/iterators/text-iterators.js.map +1 -0
  780. package/dist/loader-utils/lib/javascript-utils/is-type.d.ts +59 -0
  781. package/dist/loader-utils/lib/javascript-utils/is-type.d.ts.map +1 -0
  782. package/dist/loader-utils/lib/javascript-utils/is-type.js +68 -0
  783. package/dist/loader-utils/lib/javascript-utils/is-type.js.map +1 -0
  784. package/dist/loader-utils/lib/laz/laz-arithmetic-encoder.d.ts +118 -0
  785. package/dist/loader-utils/lib/laz/laz-arithmetic-encoder.d.ts.map +1 -0
  786. package/dist/loader-utils/lib/laz/laz-arithmetic-encoder.js +427 -0
  787. package/dist/loader-utils/lib/laz/laz-arithmetic-encoder.js.map +1 -0
  788. package/dist/loader-utils/lib/laz/laz-chunk-decoder.d.ts +204 -0
  789. package/dist/loader-utils/lib/laz/laz-chunk-decoder.d.ts.map +1 -0
  790. package/dist/loader-utils/lib/laz/laz-chunk-decoder.js +4226 -0
  791. package/dist/loader-utils/lib/laz/laz-chunk-decoder.js.map +1 -0
  792. package/dist/loader-utils/lib/laz/laz-chunk-encoder.d.ts +40 -0
  793. package/dist/loader-utils/lib/laz/laz-chunk-encoder.d.ts.map +1 -0
  794. package/dist/loader-utils/lib/laz/laz-chunk-encoder.js +1518 -0
  795. package/dist/loader-utils/lib/laz/laz-chunk-encoder.js.map +1 -0
  796. package/dist/loader-utils/lib/log-utils/log.d.ts +26 -0
  797. package/dist/loader-utils/lib/log-utils/log.d.ts.map +1 -0
  798. package/dist/loader-utils/lib/log-utils/log.js +52 -0
  799. package/dist/loader-utils/lib/log-utils/log.js.map +1 -0
  800. package/dist/loader-utils/lib/module-utils/initialize-wasm-module.d.ts +10 -0
  801. package/dist/loader-utils/lib/module-utils/initialize-wasm-module.d.ts.map +1 -0
  802. package/dist/loader-utils/lib/module-utils/initialize-wasm-module.js +44 -0
  803. package/dist/loader-utils/lib/module-utils/initialize-wasm-module.js.map +1 -0
  804. package/dist/loader-utils/lib/module-utils/js-module-utils.d.ts +18 -0
  805. package/dist/loader-utils/lib/module-utils/js-module-utils.d.ts.map +1 -0
  806. package/dist/loader-utils/lib/module-utils/js-module-utils.js +40 -0
  807. package/dist/loader-utils/lib/module-utils/js-module-utils.js.map +1 -0
  808. package/dist/loader-utils/lib/node/buffer.browser.d.ts +11 -0
  809. package/dist/loader-utils/lib/node/buffer.browser.d.ts.map +1 -0
  810. package/dist/loader-utils/lib/node/buffer.browser.js +20 -0
  811. package/dist/loader-utils/lib/node/buffer.browser.js.map +1 -0
  812. package/dist/loader-utils/lib/node/buffer.d.ts +11 -0
  813. package/dist/loader-utils/lib/node/buffer.d.ts.map +1 -0
  814. package/dist/loader-utils/lib/node/buffer.js +35 -0
  815. package/dist/loader-utils/lib/node/buffer.js.map +1 -0
  816. package/dist/loader-utils/lib/node/fs.browser.d.ts +2 -0
  817. package/dist/loader-utils/lib/node/fs.browser.d.ts.map +1 -0
  818. package/dist/loader-utils/lib/node/fs.browser.js +5 -0
  819. package/dist/loader-utils/lib/node/fs.browser.js.map +1 -0
  820. package/dist/loader-utils/lib/node/promisify.d.ts +13 -0
  821. package/dist/loader-utils/lib/node/promisify.d.ts.map +1 -0
  822. package/dist/loader-utils/lib/node/promisify.js +19 -0
  823. package/dist/loader-utils/lib/node/promisify.js.map +1 -0
  824. package/dist/loader-utils/lib/node/stream.browser.d.ts +2 -0
  825. package/dist/loader-utils/lib/node/stream.browser.d.ts.map +1 -0
  826. package/dist/loader-utils/lib/node/stream.browser.js +5 -0
  827. package/dist/loader-utils/lib/node/stream.browser.js.map +1 -0
  828. package/dist/loader-utils/lib/node/stream.d.ts +6 -0
  829. package/dist/loader-utils/lib/node/stream.d.ts.map +1 -0
  830. package/dist/loader-utils/lib/node/stream.js +8 -0
  831. package/dist/loader-utils/lib/node/stream.js.map +1 -0
  832. package/dist/loader-utils/lib/option-utils/merge-options.d.ts +12 -0
  833. package/dist/loader-utils/lib/option-utils/merge-options.d.ts.map +1 -0
  834. package/dist/loader-utils/lib/option-utils/merge-options.js +34 -0
  835. package/dist/loader-utils/lib/option-utils/merge-options.js.map +1 -0
  836. package/dist/loader-utils/lib/pace-batch-iterator.d.ts +14 -0
  837. package/dist/loader-utils/lib/pace-batch-iterator.d.ts.map +1 -0
  838. package/dist/loader-utils/lib/pace-batch-iterator.js +51 -0
  839. package/dist/loader-utils/lib/pace-batch-iterator.js.map +1 -0
  840. package/dist/loader-utils/lib/parser-utils/parse-json.d.ts +5 -0
  841. package/dist/loader-utils/lib/parser-utils/parse-json.d.ts.map +1 -0
  842. package/dist/loader-utils/lib/parser-utils/parse-json.js +16 -0
  843. package/dist/loader-utils/lib/parser-utils/parse-json.js.map +1 -0
  844. package/dist/loader-utils/lib/path-utils/cached-uri-resolver.d.ts +35 -0
  845. package/dist/loader-utils/lib/path-utils/cached-uri-resolver.d.ts.map +1 -0
  846. package/dist/loader-utils/lib/path-utils/cached-uri-resolver.js +64 -0
  847. package/dist/loader-utils/lib/path-utils/cached-uri-resolver.js.map +1 -0
  848. package/dist/loader-utils/lib/path-utils/file-aliases.d.ts +17 -0
  849. package/dist/loader-utils/lib/path-utils/file-aliases.d.ts.map +1 -0
  850. package/dist/loader-utils/lib/path-utils/file-aliases.js +44 -0
  851. package/dist/loader-utils/lib/path-utils/file-aliases.js.map +1 -0
  852. package/dist/loader-utils/lib/path-utils/get-cwd.d.ts +3 -0
  853. package/dist/loader-utils/lib/path-utils/get-cwd.d.ts.map +1 -0
  854. package/dist/loader-utils/lib/path-utils/get-cwd.js +12 -0
  855. package/dist/loader-utils/lib/path-utils/get-cwd.js.map +1 -0
  856. package/dist/loader-utils/lib/path-utils/path.d.ts +24 -0
  857. package/dist/loader-utils/lib/path-utils/path.d.ts.map +1 -0
  858. package/dist/loader-utils/lib/path-utils/path.js +173 -0
  859. package/dist/loader-utils/lib/path-utils/path.js.map +1 -0
  860. package/dist/loader-utils/lib/request-utils/abort-utils.d.ts +5 -0
  861. package/dist/loader-utils/lib/request-utils/abort-utils.d.ts.map +1 -0
  862. package/dist/loader-utils/lib/request-utils/abort-utils.js +59 -0
  863. package/dist/loader-utils/lib/request-utils/abort-utils.js.map +1 -0
  864. package/dist/loader-utils/lib/request-utils/authentication.d.ts +56 -0
  865. package/dist/loader-utils/lib/request-utils/authentication.d.ts.map +1 -0
  866. package/dist/loader-utils/lib/request-utils/authentication.js +67 -0
  867. package/dist/loader-utils/lib/request-utils/authentication.js.map +1 -0
  868. package/dist/loader-utils/lib/request-utils/parse-content-type.d.ts +7 -0
  869. package/dist/loader-utils/lib/request-utils/parse-content-type.d.ts.map +1 -0
  870. package/dist/loader-utils/lib/request-utils/parse-content-type.js +20 -0
  871. package/dist/loader-utils/lib/request-utils/parse-content-type.js.map +1 -0
  872. package/dist/loader-utils/lib/request-utils/range-request-cache.d.ts +70 -0
  873. package/dist/loader-utils/lib/request-utils/range-request-cache.d.ts.map +1 -0
  874. package/dist/loader-utils/lib/request-utils/range-request-cache.js +203 -0
  875. package/dist/loader-utils/lib/request-utils/range-request-cache.js.map +1 -0
  876. package/dist/loader-utils/lib/request-utils/range-request-scheduler.d.ts +201 -0
  877. package/dist/loader-utils/lib/request-utils/range-request-scheduler.d.ts.map +1 -0
  878. package/dist/loader-utils/lib/request-utils/range-request-scheduler.js +636 -0
  879. package/dist/loader-utils/lib/request-utils/range-request-scheduler.js.map +1 -0
  880. package/dist/loader-utils/lib/request-utils/request-cache.d.ts +62 -0
  881. package/dist/loader-utils/lib/request-utils/request-cache.d.ts.map +1 -0
  882. package/dist/loader-utils/lib/request-utils/request-cache.js +236 -0
  883. package/dist/loader-utils/lib/request-utils/request-cache.js.map +1 -0
  884. package/dist/loader-utils/lib/request-utils/request-credentials.d.ts +139 -0
  885. package/dist/loader-utils/lib/request-utils/request-credentials.d.ts.map +1 -0
  886. package/dist/loader-utils/lib/request-utils/request-credentials.js +373 -0
  887. package/dist/loader-utils/lib/request-utils/request-credentials.js.map +1 -0
  888. package/dist/loader-utils/lib/request-utils/request-scheduler.d.ts +71 -0
  889. package/dist/loader-utils/lib/request-utils/request-scheduler.d.ts.map +1 -0
  890. package/dist/loader-utils/lib/request-utils/request-scheduler.js +174 -0
  891. package/dist/loader-utils/lib/request-utils/request-scheduler.js.map +1 -0
  892. package/dist/loader-utils/lib/scan-utils/columnar-predicate.d.ts +56 -0
  893. package/dist/loader-utils/lib/scan-utils/columnar-predicate.d.ts.map +1 -0
  894. package/dist/loader-utils/lib/scan-utils/columnar-predicate.js +261 -0
  895. package/dist/loader-utils/lib/scan-utils/columnar-predicate.js.map +1 -0
  896. package/dist/loader-utils/lib/scan-utils/logical-table-query.d.ts +43 -0
  897. package/dist/loader-utils/lib/scan-utils/logical-table-query.d.ts.map +1 -0
  898. package/dist/loader-utils/lib/scan-utils/logical-table-query.js +104 -0
  899. package/dist/loader-utils/lib/scan-utils/logical-table-query.js.map +1 -0
  900. package/dist/loader-utils/lib/scan-utils/point-cloud-query.d.ts +56 -0
  901. package/dist/loader-utils/lib/scan-utils/point-cloud-query.d.ts.map +1 -0
  902. package/dist/loader-utils/lib/scan-utils/point-cloud-query.js +86 -0
  903. package/dist/loader-utils/lib/scan-utils/point-cloud-query.js.map +1 -0
  904. package/dist/loader-utils/lib/scan-utils/query-options.d.ts +39 -0
  905. package/dist/loader-utils/lib/scan-utils/query-options.d.ts.map +1 -0
  906. package/dist/loader-utils/lib/scan-utils/query-options.js +5 -0
  907. package/dist/loader-utils/lib/scan-utils/query-options.js.map +1 -0
  908. package/dist/loader-utils/lib/scan-utils/raster-query.d.ts +36 -0
  909. package/dist/loader-utils/lib/scan-utils/raster-query.d.ts.map +1 -0
  910. package/dist/loader-utils/lib/scan-utils/raster-query.js +49 -0
  911. package/dist/loader-utils/lib/scan-utils/raster-query.js.map +1 -0
  912. package/dist/loader-utils/lib/scan-utils/relational-query.d.ts +75 -0
  913. package/dist/loader-utils/lib/scan-utils/relational-query.d.ts.map +1 -0
  914. package/dist/loader-utils/lib/scan-utils/relational-query.js +107 -0
  915. package/dist/loader-utils/lib/scan-utils/relational-query.js.map +1 -0
  916. package/dist/loader-utils/lib/scan-utils/scan-executor.d.ts +20 -0
  917. package/dist/loader-utils/lib/scan-utils/scan-executor.d.ts.map +1 -0
  918. package/dist/loader-utils/lib/scan-utils/scan-executor.js +183 -0
  919. package/dist/loader-utils/lib/scan-utils/scan-executor.js.map +1 -0
  920. package/dist/loader-utils/lib/scan-utils/scan-fragments.d.ts +23 -0
  921. package/dist/loader-utils/lib/scan-utils/scan-fragments.d.ts.map +1 -0
  922. package/dist/loader-utils/lib/scan-utils/scan-fragments.js +5 -0
  923. package/dist/loader-utils/lib/scan-utils/scan-fragments.js.map +1 -0
  924. package/dist/loader-utils/lib/scan-utils/scan-query-metadata.d.ts +308 -0
  925. package/dist/loader-utils/lib/scan-utils/scan-query-metadata.d.ts.map +1 -0
  926. package/dist/loader-utils/lib/scan-utils/scan-query-metadata.js +107 -0
  927. package/dist/loader-utils/lib/scan-utils/scan-query-metadata.js.map +1 -0
  928. package/dist/loader-utils/lib/scan-utils/table-query-explain.d.ts +39 -0
  929. package/dist/loader-utils/lib/scan-utils/table-query-explain.d.ts.map +1 -0
  930. package/dist/loader-utils/lib/scan-utils/table-query-explain.js +35 -0
  931. package/dist/loader-utils/lib/scan-utils/table-query-explain.js.map +1 -0
  932. package/dist/loader-utils/lib/scan-utils/table-query.d.ts +128 -0
  933. package/dist/loader-utils/lib/scan-utils/table-query.d.ts.map +1 -0
  934. package/dist/loader-utils/lib/scan-utils/table-query.js +62 -0
  935. package/dist/loader-utils/lib/scan-utils/table-query.js.map +1 -0
  936. package/dist/loader-utils/lib/scan-utils/table-scan-batch.d.ts +33 -0
  937. package/dist/loader-utils/lib/scan-utils/table-scan-batch.d.ts.map +1 -0
  938. package/dist/loader-utils/lib/scan-utils/table-scan-batch.js +176 -0
  939. package/dist/loader-utils/lib/scan-utils/table-scan-batch.js.map +1 -0
  940. package/dist/loader-utils/lib/sources/catalog-source.d.ts +36 -0
  941. package/dist/loader-utils/lib/sources/catalog-source.d.ts.map +1 -0
  942. package/dist/loader-utils/lib/sources/catalog-source.js +5 -0
  943. package/dist/loader-utils/lib/sources/catalog-source.js.map +1 -0
  944. package/dist/loader-utils/lib/sources/data-source-manager.d.ts +136 -0
  945. package/dist/loader-utils/lib/sources/data-source-manager.d.ts.map +1 -0
  946. package/dist/loader-utils/lib/sources/data-source-manager.js +376 -0
  947. package/dist/loader-utils/lib/sources/data-source-manager.js.map +1 -0
  948. package/dist/loader-utils/lib/sources/data-source.d.ts +83 -0
  949. package/dist/loader-utils/lib/sources/data-source.d.ts.map +1 -0
  950. package/dist/loader-utils/lib/sources/data-source.js +184 -0
  951. package/dist/loader-utils/lib/sources/data-source.js.map +1 -0
  952. package/dist/loader-utils/lib/sources/image-source.d.ts +55 -0
  953. package/dist/loader-utils/lib/sources/image-source.d.ts.map +1 -0
  954. package/dist/loader-utils/lib/sources/image-source.js +5 -0
  955. package/dist/loader-utils/lib/sources/image-source.js.map +1 -0
  956. package/dist/loader-utils/lib/sources/image-tile-source.d.ts +12 -0
  957. package/dist/loader-utils/lib/sources/image-tile-source.d.ts.map +1 -0
  958. package/dist/loader-utils/lib/sources/image-tile-source.js +5 -0
  959. package/dist/loader-utils/lib/sources/image-tile-source.js.map +1 -0
  960. package/dist/loader-utils/lib/sources/raster-coverage.d.ts +17 -0
  961. package/dist/loader-utils/lib/sources/raster-coverage.d.ts.map +1 -0
  962. package/dist/loader-utils/lib/sources/raster-coverage.js +62 -0
  963. package/dist/loader-utils/lib/sources/raster-coverage.js.map +1 -0
  964. package/dist/loader-utils/lib/sources/raster-region.d.ts +4 -0
  965. package/dist/loader-utils/lib/sources/raster-region.d.ts.map +1 -0
  966. package/dist/loader-utils/lib/sources/raster-region.js +22 -0
  967. package/dist/loader-utils/lib/sources/raster-region.js.map +1 -0
  968. package/dist/loader-utils/lib/sources/raster-sampling.d.ts +35 -0
  969. package/dist/loader-utils/lib/sources/raster-sampling.d.ts.map +1 -0
  970. package/dist/loader-utils/lib/sources/raster-sampling.js +152 -0
  971. package/dist/loader-utils/lib/sources/raster-sampling.js.map +1 -0
  972. package/dist/loader-utils/lib/sources/raster-source.d.ts +302 -0
  973. package/dist/loader-utils/lib/sources/raster-source.d.ts.map +1 -0
  974. package/dist/loader-utils/lib/sources/raster-source.js +20 -0
  975. package/dist/loader-utils/lib/sources/raster-source.js.map +1 -0
  976. package/dist/loader-utils/lib/sources/service-capabilities.d.ts +36 -0
  977. package/dist/loader-utils/lib/sources/service-capabilities.d.ts.map +1 -0
  978. package/dist/loader-utils/lib/sources/service-capabilities.js +5 -0
  979. package/dist/loader-utils/lib/sources/service-capabilities.js.map +1 -0
  980. package/dist/loader-utils/lib/sources/table-source-collection.d.ts +30 -0
  981. package/dist/loader-utils/lib/sources/table-source-collection.d.ts.map +1 -0
  982. package/dist/loader-utils/lib/sources/table-source-collection.js +5 -0
  983. package/dist/loader-utils/lib/sources/table-source-collection.js.map +1 -0
  984. package/dist/loader-utils/lib/sources/tile-grid.d.ts +89 -0
  985. package/dist/loader-utils/lib/sources/tile-grid.d.ts.map +1 -0
  986. package/dist/loader-utils/lib/sources/tile-grid.js +306 -0
  987. package/dist/loader-utils/lib/sources/tile-grid.js.map +1 -0
  988. package/dist/loader-utils/lib/sources/tile-source-adapter.d.ts +24 -0
  989. package/dist/loader-utils/lib/sources/tile-source-adapter.d.ts.map +1 -0
  990. package/dist/loader-utils/lib/sources/tile-source-adapter.js +105 -0
  991. package/dist/loader-utils/lib/sources/tile-source-adapter.js.map +1 -0
  992. package/dist/loader-utils/lib/sources/tile-source-utils.d.ts +6 -0
  993. package/dist/loader-utils/lib/sources/tile-source-utils.d.ts.map +1 -0
  994. package/dist/loader-utils/lib/sources/tile-source-utils.js +13 -0
  995. package/dist/loader-utils/lib/sources/tile-source-utils.js.map +1 -0
  996. package/dist/loader-utils/lib/sources/tile-source.d.ts +192 -0
  997. package/dist/loader-utils/lib/sources/tile-source.d.ts.map +1 -0
  998. package/dist/loader-utils/lib/sources/tile-source.js +5 -0
  999. package/dist/loader-utils/lib/sources/tile-source.js.map +1 -0
  1000. package/dist/loader-utils/lib/sources/utils/image-type.d.ts +10 -0
  1001. package/dist/loader-utils/lib/sources/utils/image-type.d.ts.map +1 -0
  1002. package/dist/loader-utils/lib/sources/utils/image-type.js +5 -0
  1003. package/dist/loader-utils/lib/sources/utils/image-type.js.map +1 -0
  1004. package/dist/loader-utils/lib/sources/utils/utils.d.ts +13 -0
  1005. package/dist/loader-utils/lib/sources/utils/utils.d.ts.map +1 -0
  1006. package/dist/loader-utils/lib/sources/utils/utils.js +26 -0
  1007. package/dist/loader-utils/lib/sources/utils/utils.js.map +1 -0
  1008. package/dist/loader-utils/lib/sources/vector-source.d.ts +77 -0
  1009. package/dist/loader-utils/lib/sources/vector-source.d.ts.map +1 -0
  1010. package/dist/loader-utils/lib/sources/vector-source.js +5 -0
  1011. package/dist/loader-utils/lib/sources/vector-source.js.map +1 -0
  1012. package/dist/loader-utils/lib/sources/vector-tile-source.d.ts +16 -0
  1013. package/dist/loader-utils/lib/sources/vector-tile-source.d.ts.map +1 -0
  1014. package/dist/loader-utils/lib/sources/vector-tile-source.js +5 -0
  1015. package/dist/loader-utils/lib/sources/vector-tile-source.js.map +1 -0
  1016. package/dist/loader-utils/lib/sources/xyz-grid-options.d.ts +20 -0
  1017. package/dist/loader-utils/lib/sources/xyz-grid-options.d.ts.map +1 -0
  1018. package/dist/loader-utils/lib/sources/xyz-grid-options.js +65 -0
  1019. package/dist/loader-utils/lib/sources/xyz-grid-options.js.map +1 -0
  1020. package/dist/loader-utils/lib/sources/xyz-grid.d.ts +9 -0
  1021. package/dist/loader-utils/lib/sources/xyz-grid.d.ts.map +1 -0
  1022. package/dist/loader-utils/lib/sources/xyz-grid.js +67 -0
  1023. package/dist/loader-utils/lib/sources/xyz-grid.js.map +1 -0
  1024. package/dist/loader-utils/lib/worker-loader-utils/create-loader-worker.d.ts +25 -0
  1025. package/dist/loader-utils/lib/worker-loader-utils/create-loader-worker.d.ts.map +1 -0
  1026. package/dist/loader-utils/lib/worker-loader-utils/create-loader-worker.js +156 -0
  1027. package/dist/loader-utils/lib/worker-loader-utils/create-loader-worker.js.map +1 -0
  1028. package/dist/loader-utils/lib/worker-loader-utils/encode-with-worker.d.ts +8 -0
  1029. package/dist/loader-utils/lib/worker-loader-utils/encode-with-worker.d.ts.map +1 -0
  1030. package/dist/loader-utils/lib/worker-loader-utils/encode-with-worker.js +20 -0
  1031. package/dist/loader-utils/lib/worker-loader-utils/encode-with-worker.js.map +1 -0
  1032. package/dist/loader-utils/lib/worker-loader-utils/parse-with-worker.d.ts +47 -0
  1033. package/dist/loader-utils/lib/worker-loader-utils/parse-with-worker.d.ts.map +1 -0
  1034. package/dist/loader-utils/lib/worker-loader-utils/parse-with-worker.js +290 -0
  1035. package/dist/loader-utils/lib/worker-loader-utils/parse-with-worker.js.map +1 -0
  1036. package/dist/loader-utils/loader-types.d.ts +361 -0
  1037. package/dist/loader-utils/loader-types.d.ts.map +1 -0
  1038. package/dist/loader-utils/loader-types.js +33 -0
  1039. package/dist/loader-utils/loader-types.js.map +1 -0
  1040. package/dist/loader-utils/source-types.d.ts +44 -0
  1041. package/dist/loader-utils/source-types.d.ts.map +1 -0
  1042. package/dist/loader-utils/source-types.js +16 -0
  1043. package/dist/loader-utils/source-types.js.map +1 -0
  1044. package/dist/loader-utils/tile-grid.cjs +328 -0
  1045. package/dist/loader-utils/tile-grid.cjs.map +6 -0
  1046. package/dist/loader-utils/tile-grid.d.ts +5 -0
  1047. package/dist/loader-utils/tile-grid.d.ts.map +1 -0
  1048. package/dist/loader-utils/tile-grid.js +7 -0
  1049. package/dist/loader-utils/tile-grid.js.map +1 -0
  1050. package/dist/loader-utils/types.d.ts +24 -0
  1051. package/dist/loader-utils/types.d.ts.map +1 -0
  1052. package/dist/loader-utils/types.js +6 -0
  1053. package/dist/loader-utils/types.js.map +1 -0
  1054. package/dist/loader-utils/workers/json-worker.d.ts +2 -0
  1055. package/dist/loader-utils/workers/json-worker.d.ts.map +1 -0
  1056. package/dist/loader-utils/workers/json-worker.js +7 -0
  1057. package/dist/loader-utils/workers/json-worker.js.map +1 -0
  1058. package/dist/loader-utils/writer-types.d.ts +74 -0
  1059. package/dist/loader-utils/writer-types.d.ts.map +1 -0
  1060. package/dist/loader-utils/writer-types.js +5 -0
  1061. package/dist/loader-utils/writer-types.js.map +1 -0
  1062. package/dist/null-loader.d.ts +2 -20
  1063. package/dist/null-loader.d.ts.map +1 -1
  1064. package/dist/null-loader.js +1 -19
  1065. package/dist/null-loader.js.map +1 -1
  1066. package/dist/null-worker-node.js +818 -90
  1067. package/dist/null-worker.js +796 -85
  1068. package/dist/polyfills/buffer/btoa.node.d.ts +3 -0
  1069. package/dist/polyfills/buffer/btoa.node.d.ts.map +1 -0
  1070. package/dist/polyfills/buffer/btoa.node.js +13 -0
  1071. package/dist/polyfills/buffer/btoa.node.js.map +1 -0
  1072. package/dist/polyfills/buffer/to-array-buffer.node.d.ts +2 -0
  1073. package/dist/polyfills/buffer/to-array-buffer.node.d.ts.map +1 -0
  1074. package/dist/polyfills/buffer/to-array-buffer.node.js +12 -0
  1075. package/dist/polyfills/buffer/to-array-buffer.node.js.map +1 -0
  1076. package/dist/polyfills/crypto/node-hash.d.ts +29 -0
  1077. package/dist/polyfills/crypto/node-hash.d.ts.map +1 -0
  1078. package/dist/polyfills/crypto/node-hash.js +63 -0
  1079. package/dist/polyfills/crypto/node-hash.js.map +1 -0
  1080. package/dist/polyfills/file/file-reader.d.ts +24 -0
  1081. package/dist/polyfills/file/file-reader.d.ts.map +1 -0
  1082. package/dist/polyfills/file/file-reader.js +51 -0
  1083. package/dist/polyfills/file/file-reader.js.map +1 -0
  1084. package/dist/polyfills/file/install-file-polyfills.d.ts +2 -0
  1085. package/dist/polyfills/file/install-file-polyfills.d.ts.map +1 -0
  1086. package/dist/polyfills/file/install-file-polyfills.js +12 -0
  1087. package/dist/polyfills/file/install-file-polyfills.js.map +1 -0
  1088. package/dist/polyfills/filesystems/fetch-node.d.ts +8 -0
  1089. package/dist/polyfills/filesystems/fetch-node.d.ts.map +1 -0
  1090. package/dist/polyfills/filesystems/fetch-node.js +88 -0
  1091. package/dist/polyfills/filesystems/fetch-node.js.map +1 -0
  1092. package/dist/polyfills/filesystems/node-file.d.ts +15 -0
  1093. package/dist/polyfills/filesystems/node-file.d.ts.map +1 -0
  1094. package/dist/polyfills/filesystems/node-file.js +138 -0
  1095. package/dist/polyfills/filesystems/node-file.js.map +1 -0
  1096. package/dist/polyfills/filesystems/node-filesystem.d.ts +19 -0
  1097. package/dist/polyfills/filesystems/node-filesystem.d.ts.map +1 -0
  1098. package/dist/polyfills/filesystems/node-filesystem.js +44 -0
  1099. package/dist/polyfills/filesystems/node-filesystem.js.map +1 -0
  1100. package/dist/polyfills/filesystems/stream-utils.node.d.ts +18 -0
  1101. package/dist/polyfills/filesystems/stream-utils.node.d.ts.map +1 -0
  1102. package/dist/polyfills/filesystems/stream-utils.node.js +67 -0
  1103. package/dist/polyfills/filesystems/stream-utils.node.js.map +1 -0
  1104. package/dist/polyfills/images/encode-image-node.d.ts +23 -0
  1105. package/dist/polyfills/images/encode-image-node.d.ts.map +1 -0
  1106. package/dist/polyfills/images/encode-image-node.js +23 -0
  1107. package/dist/polyfills/images/encode-image-node.js.map +1 -0
  1108. package/dist/polyfills/images/image-codecs-node.d.ts +4 -0
  1109. package/dist/polyfills/images/image-codecs-node.d.ts.map +1 -0
  1110. package/dist/polyfills/images/image-codecs-node.js +5 -0
  1111. package/dist/polyfills/images/image-codecs-node.js.map +1 -0
  1112. package/dist/polyfills/images/load-sharp.d.ts +3 -0
  1113. package/dist/polyfills/images/load-sharp.d.ts.map +1 -0
  1114. package/dist/polyfills/images/load-sharp.js +11 -0
  1115. package/dist/polyfills/images/load-sharp.js.map +1 -0
  1116. package/dist/polyfills/images/node-image-bitmap.d.ts +38 -0
  1117. package/dist/polyfills/images/node-image-bitmap.d.ts.map +1 -0
  1118. package/dist/polyfills/images/node-image-bitmap.js +64 -0
  1119. package/dist/polyfills/images/node-image-bitmap.js.map +1 -0
  1120. package/dist/polyfills/images/node-image-formats.d.ts +3 -0
  1121. package/dist/polyfills/images/node-image-formats.d.ts.map +1 -0
  1122. package/dist/polyfills/images/node-image-formats.js +12 -0
  1123. package/dist/polyfills/images/node-image-formats.js.map +1 -0
  1124. package/dist/polyfills/images/parse-image-node.d.ts +19 -0
  1125. package/dist/polyfills/images/parse-image-node.d.ts.map +1 -0
  1126. package/dist/polyfills/images/parse-image-node.js +24 -0
  1127. package/dist/polyfills/images/parse-image-node.js.map +1 -0
  1128. package/dist/polyfills/index.browser.d.ts +8 -0
  1129. package/dist/polyfills/index.browser.d.ts.map +1 -0
  1130. package/dist/polyfills/index.browser.js +18 -0
  1131. package/dist/polyfills/index.browser.js.map +1 -0
  1132. package/dist/polyfills/index.cjs +2220 -0
  1133. package/dist/polyfills/index.cjs.map +6 -0
  1134. package/dist/polyfills/index.d.ts +16 -0
  1135. package/dist/polyfills/index.d.ts.map +1 -0
  1136. package/dist/polyfills/index.js +92 -0
  1137. package/dist/polyfills/index.js.map +1 -0
  1138. package/dist/polyfills/libs/encoding-indexes-asian.d.ts +10 -0
  1139. package/dist/polyfills/libs/encoding-indexes-asian.d.ts.map +1 -0
  1140. package/dist/polyfills/libs/encoding-indexes-asian.js +14 -0
  1141. package/dist/polyfills/libs/encoding-indexes-asian.js.map +1 -0
  1142. package/dist/polyfills/load-library/require-utils.node.d.ts +19 -0
  1143. package/dist/polyfills/load-library/require-utils.node.d.ts.map +1 -0
  1144. package/dist/polyfills/load-library/require-utils.node.js +88 -0
  1145. package/dist/polyfills/load-library/require-utils.node.js.map +1 -0
  1146. package/dist/polyfills/streams/make-node-stream.d.ts +6 -0
  1147. package/dist/polyfills/streams/make-node-stream.d.ts.map +1 -0
  1148. package/dist/polyfills/streams/make-node-stream.js +53 -0
  1149. package/dist/polyfills/streams/make-node-stream.js.map +1 -0
  1150. package/dist/polyfills/text-encoder/encoding-indexes.d.ts +31 -0
  1151. package/dist/polyfills/text-encoder/encoding-indexes.d.ts.map +1 -0
  1152. package/dist/polyfills/text-encoder/encoding-indexes.js +35 -0
  1153. package/dist/polyfills/text-encoder/encoding-indexes.js.map +1 -0
  1154. package/dist/polyfills/text-encoder/text-encoder.d.ts +15 -0
  1155. package/dist/polyfills/text-encoder/text-encoder.d.ts.map +1 -0
  1156. package/dist/polyfills/text-encoder/text-encoder.js +2778 -0
  1157. package/dist/polyfills/text-encoder/text-encoder.js.map +1 -0
  1158. package/dist/polyfills/utils/assert.d.ts +2 -0
  1159. package/dist/polyfills/utils/assert.d.ts.map +1 -0
  1160. package/dist/polyfills/utils/assert.js +9 -0
  1161. package/dist/polyfills/utils/assert.js.map +1 -0
  1162. package/dist/polyfills/utils/buffer-utils.d.ts +5 -0
  1163. package/dist/polyfills/utils/buffer-utils.d.ts.map +1 -0
  1164. package/dist/polyfills/utils/buffer-utils.js +34 -0
  1165. package/dist/polyfills/utils/buffer-utils.js.map +1 -0
  1166. package/dist/polyfills/utils/filesystem-types.d.ts +10 -0
  1167. package/dist/polyfills/utils/filesystem-types.d.ts.map +1 -0
  1168. package/dist/polyfills/utils/filesystem-types.js +5 -0
  1169. package/dist/polyfills/utils/filesystem-types.js.map +1 -0
  1170. package/dist/polyfills/utils/is-browser.d.ts +2 -0
  1171. package/dist/polyfills/utils/is-browser.d.ts.map +1 -0
  1172. package/dist/polyfills/utils/is-browser.js +8 -0
  1173. package/dist/polyfills/utils/is-browser.js.map +1 -0
  1174. package/dist/polyfills/utils/path-utils.d.ts +7 -0
  1175. package/dist/polyfills/utils/path-utils.d.ts.map +1 -0
  1176. package/dist/polyfills/utils/path-utils.js +28 -0
  1177. package/dist/polyfills/utils/path-utils.js.map +1 -0
  1178. package/dist/scan/arrow-execution/expressions.cjs +134 -0
  1179. package/dist/scan/arrow-execution/expressions.cjs.map +7 -0
  1180. package/dist/scan/arrow-execution/expressions.d.ts +11 -0
  1181. package/dist/scan/arrow-execution/expressions.d.ts.map +1 -0
  1182. package/dist/scan/arrow-execution/expressions.js +86 -0
  1183. package/dist/scan/arrow-execution/expressions.js.map +1 -0
  1184. package/dist/scan/arrow-execution/filter-arrow-table.cjs +255 -0
  1185. package/dist/scan/arrow-execution/filter-arrow-table.cjs.map +7 -0
  1186. package/dist/scan/arrow-execution/filter-arrow-table.d.ts +18 -0
  1187. package/dist/scan/arrow-execution/filter-arrow-table.d.ts.map +1 -0
  1188. package/dist/scan/arrow-execution/filter-arrow-table.js +224 -0
  1189. package/dist/scan/arrow-execution/filter-arrow-table.js.map +1 -0
  1190. package/dist/scan/arrow-execution/project-arrow-table.cjs +70 -0
  1191. package/dist/scan/arrow-execution/project-arrow-table.cjs.map +7 -0
  1192. package/dist/scan/arrow-execution/project-arrow-table.d.ts +8 -0
  1193. package/dist/scan/arrow-execution/project-arrow-table.d.ts.map +1 -0
  1194. package/dist/scan/arrow-execution/project-arrow-table.js +39 -0
  1195. package/dist/scan/arrow-execution/project-arrow-table.js.map +1 -0
  1196. package/dist/scan/arrow-execution.cjs +34 -0
  1197. package/dist/scan/arrow-execution.cjs.map +7 -0
  1198. package/dist/scan/arrow-execution.d.ts +4 -0
  1199. package/dist/scan/arrow-execution.d.ts.map +1 -0
  1200. package/dist/scan/arrow-execution.js +6 -0
  1201. package/dist/scan/arrow-execution.js.map +1 -0
  1202. package/dist/scan/arrow-query.cjs +38 -0
  1203. package/dist/scan/arrow-query.cjs.map +7 -0
  1204. package/dist/scan/arrow-query.d.ts +5 -0
  1205. package/dist/scan/arrow-query.d.ts.map +1 -0
  1206. package/dist/scan/arrow-query.js +6 -0
  1207. package/dist/scan/arrow-query.js.map +1 -0
  1208. package/dist/scan/bind-sql-predicate.cjs +36 -0
  1209. package/dist/scan/bind-sql-predicate.cjs.map +7 -0
  1210. package/dist/scan/bind-sql-predicate.d.ts +4 -0
  1211. package/dist/scan/bind-sql-predicate.d.ts.map +1 -0
  1212. package/dist/scan/bind-sql-predicate.js +11 -0
  1213. package/dist/scan/bind-sql-predicate.js.map +1 -0
  1214. package/dist/scan/catalog-query-source.cjs +122 -0
  1215. package/dist/scan/catalog-query-source.cjs.map +7 -0
  1216. package/dist/scan/catalog-query-source.d.ts +6 -0
  1217. package/dist/scan/catalog-query-source.d.ts.map +1 -0
  1218. package/dist/scan/catalog-query-source.js +115 -0
  1219. package/dist/scan/catalog-query-source.js.map +1 -0
  1220. package/dist/scan/federated-table-scan-source.cjs +719 -0
  1221. package/dist/scan/federated-table-scan-source.cjs.map +7 -0
  1222. package/dist/scan/federated-table-scan-source.d.ts +112 -0
  1223. package/dist/scan/federated-table-scan-source.d.ts.map +1 -0
  1224. package/dist/scan/federated-table-scan-source.js +691 -0
  1225. package/dist/scan/federated-table-scan-source.js.map +1 -0
  1226. package/dist/scan/index.cjs +291 -0
  1227. package/dist/scan/index.cjs.map +7 -0
  1228. package/dist/scan/index.d.ts +30 -0
  1229. package/dist/scan/index.d.ts.map +1 -0
  1230. package/dist/scan/index.js +22 -0
  1231. package/dist/scan/index.js.map +1 -0
  1232. package/dist/scan/parse-sql-predicate.cjs +37 -0
  1233. package/dist/scan/parse-sql-predicate.cjs.map +7 -0
  1234. package/dist/scan/parse-sql-predicate.d.ts +7 -0
  1235. package/dist/scan/parse-sql-predicate.d.ts.map +1 -0
  1236. package/dist/scan/parse-sql-predicate.js +13 -0
  1237. package/dist/scan/parse-sql-predicate.js.map +1 -0
  1238. package/dist/scan/query-arrow-table-in-batches.cjs +75 -0
  1239. package/dist/scan/query-arrow-table-in-batches.cjs.map +7 -0
  1240. package/dist/scan/query-arrow-table-in-batches.d.ts +8 -0
  1241. package/dist/scan/query-arrow-table-in-batches.d.ts.map +1 -0
  1242. package/dist/scan/query-arrow-table-in-batches.js +54 -0
  1243. package/dist/scan/query-arrow-table-in-batches.js.map +1 -0
  1244. package/dist/scan/query-arrow-table.cjs +496 -0
  1245. package/dist/scan/query-arrow-table.cjs.map +7 -0
  1246. package/dist/scan/query-arrow-table.d.ts +50 -0
  1247. package/dist/scan/query-arrow-table.d.ts.map +1 -0
  1248. package/dist/scan/query-arrow-table.js +503 -0
  1249. package/dist/scan/query-arrow-table.js.map +1 -0
  1250. package/dist/scan/query-open-source.cjs +52 -0
  1251. package/dist/scan/query-open-source.cjs.map +7 -0
  1252. package/dist/scan/query-open-source.d.ts +4 -0
  1253. package/dist/scan/query-open-source.d.ts.map +1 -0
  1254. package/dist/scan/query-open-source.js +26 -0
  1255. package/dist/scan/query-open-source.js.map +1 -0
  1256. package/dist/scan/query-progressive.cjs +190 -0
  1257. package/dist/scan/query-progressive.cjs.map +7 -0
  1258. package/dist/scan/query-progressive.d.ts +39 -0
  1259. package/dist/scan/query-progressive.d.ts.map +1 -0
  1260. package/dist/scan/query-progressive.js +173 -0
  1261. package/dist/scan/query-progressive.js.map +1 -0
  1262. package/dist/scan/query-pushdown.cjs +140 -0
  1263. package/dist/scan/query-pushdown.cjs.map +7 -0
  1264. package/dist/scan/query-pushdown.d.ts +14 -0
  1265. package/dist/scan/query-pushdown.d.ts.map +1 -0
  1266. package/dist/scan/query-pushdown.js +136 -0
  1267. package/dist/scan/query-pushdown.js.map +1 -0
  1268. package/dist/scan/query.cjs +381 -0
  1269. package/dist/scan/query.cjs.map +7 -0
  1270. package/dist/scan/query.d.ts +64 -0
  1271. package/dist/scan/query.d.ts.map +1 -0
  1272. package/dist/scan/query.js +419 -0
  1273. package/dist/scan/query.js.map +1 -0
  1274. package/dist/scan/resolve-query-source.cjs +59 -0
  1275. package/dist/scan/resolve-query-source.cjs.map +7 -0
  1276. package/dist/scan/resolve-query-source.d.ts +6 -0
  1277. package/dist/scan/resolve-query-source.d.ts.map +1 -0
  1278. package/dist/scan/resolve-query-source.js +37 -0
  1279. package/dist/scan/resolve-query-source.js.map +1 -0
  1280. package/dist/scan/rows-to-arrow.cjs +44 -0
  1281. package/dist/scan/rows-to-arrow.cjs.map +7 -0
  1282. package/dist/scan/rows-to-arrow.d.ts +4 -0
  1283. package/dist/scan/rows-to-arrow.d.ts.map +1 -0
  1284. package/dist/scan/rows-to-arrow.js +9 -0
  1285. package/dist/scan/rows-to-arrow.js.map +1 -0
  1286. package/dist/scan/scan-engine.cjs +66 -0
  1287. package/dist/scan/scan-engine.cjs.map +7 -0
  1288. package/dist/scan/scan-engine.d.ts +45 -0
  1289. package/dist/scan/scan-engine.d.ts.map +1 -0
  1290. package/dist/scan/scan-engine.js +51 -0
  1291. package/dist/scan/scan-engine.js.map +1 -0
  1292. package/dist/scan/scan-query.cjs +19 -0
  1293. package/dist/scan/scan-query.cjs.map +7 -0
  1294. package/dist/scan/scan-query.d.ts +24 -0
  1295. package/dist/scan/scan-query.d.ts.map +1 -0
  1296. package/dist/scan/scan-query.js +5 -0
  1297. package/dist/scan/scan-query.js.map +1 -0
  1298. package/dist/scan/sql-catalog.cjs +110 -0
  1299. package/dist/scan/sql-catalog.cjs.map +7 -0
  1300. package/dist/scan/sql-catalog.d.ts +47 -0
  1301. package/dist/scan/sql-catalog.d.ts.map +1 -0
  1302. package/dist/scan/sql-catalog.js +97 -0
  1303. package/dist/scan/sql-catalog.js.map +1 -0
  1304. package/dist/scan/sql-predicate-schema.cjs +237 -0
  1305. package/dist/scan/sql-predicate-schema.cjs.map +7 -0
  1306. package/dist/scan/sql-predicate-schema.d.ts +156 -0
  1307. package/dist/scan/sql-predicate-schema.d.ts.map +1 -0
  1308. package/dist/scan/sql-predicate-schema.js +226 -0
  1309. package/dist/scan/sql-predicate-schema.js.map +1 -0
  1310. package/dist/scan/sql-predicate-types.cjs +34 -0
  1311. package/dist/scan/sql-predicate-types.cjs.map +7 -0
  1312. package/dist/scan/sql-predicate-types.d.ts +45 -0
  1313. package/dist/scan/sql-predicate-types.d.ts.map +1 -0
  1314. package/dist/scan/sql-predicate-types.js +9 -0
  1315. package/dist/scan/sql-predicate-types.js.map +1 -0
  1316. package/dist/scan/sql-predicate-zod.cjs +61 -0
  1317. package/dist/scan/sql-predicate-zod.cjs.map +7 -0
  1318. package/dist/scan/sql-predicate-zod.d.ts +11 -0
  1319. package/dist/scan/sql-predicate-zod.d.ts.map +1 -0
  1320. package/dist/scan/sql-predicate-zod.js +45 -0
  1321. package/dist/scan/sql-predicate-zod.js.map +1 -0
  1322. package/dist/scan/sql-predicate.cjs +44 -0
  1323. package/dist/scan/sql-predicate.cjs.map +7 -0
  1324. package/dist/scan/sql-predicate.d.ts +6 -0
  1325. package/dist/scan/sql-predicate.d.ts.map +1 -0
  1326. package/dist/scan/sql-predicate.js +8 -0
  1327. package/dist/scan/sql-predicate.js.map +1 -0
  1328. package/dist/scan/table-query-capabilities.cjs +52 -0
  1329. package/dist/scan/table-query-capabilities.cjs.map +7 -0
  1330. package/dist/scan/table-query-capabilities.d.ts +6 -0
  1331. package/dist/scan/table-query-capabilities.d.ts.map +1 -0
  1332. package/dist/scan/table-query-capabilities.js +26 -0
  1333. package/dist/scan/table-query-capabilities.js.map +1 -0
  1334. package/dist/scan/table-query.cjs +56 -0
  1335. package/dist/scan/table-query.cjs.map +7 -0
  1336. package/dist/scan/table-query.d.ts +32 -0
  1337. package/dist/scan/table-query.d.ts.map +1 -0
  1338. package/dist/scan/table-query.js +30 -0
  1339. package/dist/scan/table-query.js.map +1 -0
  1340. package/dist/scan/vector-table-scan-source.cjs +228 -0
  1341. package/dist/scan/vector-table-scan-source.cjs.map +7 -0
  1342. package/dist/scan/vector-table-scan-source.d.ts +94 -0
  1343. package/dist/scan/vector-table-scan-source.d.ts.map +1 -0
  1344. package/dist/scan/vector-table-scan-source.js +224 -0
  1345. package/dist/scan/vector-table-scan-source.js.map +1 -0
  1346. package/dist/schema/categories/category-gis.d.ts +7 -0
  1347. package/dist/schema/categories/category-gis.d.ts.map +1 -0
  1348. package/dist/schema/categories/category-gis.js +5 -0
  1349. package/dist/schema/categories/category-gis.js.map +1 -0
  1350. package/dist/schema/categories/category-image.d.ts +18 -0
  1351. package/dist/schema/categories/category-image.d.ts.map +1 -0
  1352. package/dist/schema/categories/category-image.js +5 -0
  1353. package/dist/schema/categories/category-image.js.map +1 -0
  1354. package/dist/schema/categories/category-mesh.d.ts +99 -0
  1355. package/dist/schema/categories/category-mesh.d.ts.map +1 -0
  1356. package/dist/schema/categories/category-mesh.js +14 -0
  1357. package/dist/schema/categories/category-mesh.js.map +1 -0
  1358. package/dist/schema/categories/category-table.d.ts +106 -0
  1359. package/dist/schema/categories/category-table.d.ts.map +1 -0
  1360. package/dist/schema/categories/category-table.js +5 -0
  1361. package/dist/schema/categories/category-table.js.map +1 -0
  1362. package/dist/schema/categories/category-texture.d.ts +115 -0
  1363. package/dist/schema/categories/category-texture.d.ts.map +1 -0
  1364. package/dist/schema/categories/category-texture.js +5 -0
  1365. package/dist/schema/categories/category-texture.js.map +1 -0
  1366. package/dist/schema/float16.d.ts +19 -0
  1367. package/dist/schema/float16.d.ts.map +1 -0
  1368. package/dist/schema/float16.js +90 -0
  1369. package/dist/schema/float16.js.map +1 -0
  1370. package/dist/schema/geoarrow-metadata.schema.json +117 -0
  1371. package/dist/schema/geometry/arrow-binary-features.d.ts +45 -0
  1372. package/dist/schema/geometry/arrow-binary-features.d.ts.map +1 -0
  1373. package/dist/schema/geometry/arrow-binary-features.js +5 -0
  1374. package/dist/schema/geometry/arrow-binary-features.js.map +1 -0
  1375. package/dist/schema/geometry/binary-features.d.ts +30 -0
  1376. package/dist/schema/geometry/binary-features.d.ts.map +1 -0
  1377. package/dist/schema/geometry/binary-features.js +5 -0
  1378. package/dist/schema/geometry/binary-features.js.map +1 -0
  1379. package/dist/schema/geometry/binary-geometries.d.ts +33 -0
  1380. package/dist/schema/geometry/binary-geometries.d.ts.map +1 -0
  1381. package/dist/schema/geometry/binary-geometries.js +5 -0
  1382. package/dist/schema/geometry/binary-geometries.js.map +1 -0
  1383. package/dist/schema/geometry/flat-geometries.d.ts +61 -0
  1384. package/dist/schema/geometry/flat-geometries.d.ts.map +1 -0
  1385. package/dist/schema/geometry/flat-geometries.js +5 -0
  1386. package/dist/schema/geometry/flat-geometries.js.map +1 -0
  1387. package/dist/schema/geometry/geoarrow.d.ts +66 -0
  1388. package/dist/schema/geometry/geoarrow.d.ts.map +1 -0
  1389. package/dist/schema/geometry/geoarrow.js +5 -0
  1390. package/dist/schema/geometry/geoarrow.js.map +1 -0
  1391. package/dist/schema/geoparquet.schema.json +222 -0
  1392. package/dist/schema/geospatial-metadata-zod-schema.cjs +154 -0
  1393. package/dist/schema/geospatial-metadata-zod-schema.cjs.map +6 -0
  1394. package/dist/schema/geospatial-metadata-zod-schema.d.ts +44 -0
  1395. package/dist/schema/geospatial-metadata-zod-schema.d.ts.map +1 -0
  1396. package/dist/schema/geospatial-metadata-zod-schema.js +151 -0
  1397. package/dist/schema/geospatial-metadata-zod-schema.js.map +1 -0
  1398. package/dist/schema/index.cjs +263 -0
  1399. package/dist/schema/index.cjs.map +6 -0
  1400. package/dist/schema/index.d.ts +21 -0
  1401. package/dist/schema/index.d.ts.map +1 -0
  1402. package/dist/schema/index.js +9 -0
  1403. package/dist/schema/index.js.map +1 -0
  1404. package/dist/schema/metadata.d.ts +40 -0
  1405. package/dist/schema/metadata.d.ts.map +1 -0
  1406. package/dist/schema/metadata.js +86 -0
  1407. package/dist/schema/metadata.js.map +1 -0
  1408. package/dist/schema/types/batch.d.ts +37 -0
  1409. package/dist/schema/types/batch.d.ts.map +1 -0
  1410. package/dist/schema/types/batch.js +5 -0
  1411. package/dist/schema/types/batch.js.map +1 -0
  1412. package/dist/schema/types/schema.d.ts +70 -0
  1413. package/dist/schema/types/schema.d.ts.map +1 -0
  1414. package/dist/schema/types/schema.js +5 -0
  1415. package/dist/schema/types/schema.js.map +1 -0
  1416. package/dist/schema/types/types.d.ts +16 -0
  1417. package/dist/schema/types/types.d.ts.map +1 -0
  1418. package/dist/schema/types/types.js +6 -0
  1419. package/dist/schema/types/types.js.map +1 -0
  1420. package/dist/schema-utils/deprecated.d.ts +24 -0
  1421. package/dist/schema-utils/deprecated.d.ts.map +1 -0
  1422. package/dist/schema-utils/deprecated.js +27 -0
  1423. package/dist/schema-utils/deprecated.js.map +1 -0
  1424. package/dist/schema-utils/index.cjs +3289 -0
  1425. package/dist/schema-utils/index.cjs.map +6 -0
  1426. package/dist/schema-utils/index.d.ts +39 -0
  1427. package/dist/schema-utils/index.d.ts.map +1 -0
  1428. package/dist/schema-utils/index.js +79 -0
  1429. package/dist/schema-utils/index.js.map +1 -0
  1430. package/dist/schema-utils/lib/arrow/arrow-metadata.d.ts +17 -0
  1431. package/dist/schema-utils/lib/arrow/arrow-metadata.d.ts.map +1 -0
  1432. package/dist/schema-utils/lib/arrow/arrow-metadata.js +106 -0
  1433. package/dist/schema-utils/lib/arrow/arrow-metadata.js.map +1 -0
  1434. package/dist/schema-utils/lib/arrow-utils/arrow-fixed-size-list-utils.d.ts +11 -0
  1435. package/dist/schema-utils/lib/arrow-utils/arrow-fixed-size-list-utils.d.ts.map +1 -0
  1436. package/dist/schema-utils/lib/arrow-utils/arrow-fixed-size-list-utils.js +45 -0
  1437. package/dist/schema-utils/lib/arrow-utils/arrow-fixed-size-list-utils.js.map +1 -0
  1438. package/dist/schema-utils/lib/arrow-utils/arrow-list-of-fixed-size-list-utils.d.ts +11 -0
  1439. package/dist/schema-utils/lib/arrow-utils/arrow-list-of-fixed-size-list-utils.d.ts.map +1 -0
  1440. package/dist/schema-utils/lib/arrow-utils/arrow-list-of-fixed-size-list-utils.js +33 -0
  1441. package/dist/schema-utils/lib/arrow-utils/arrow-list-of-fixed-size-list-utils.js.map +1 -0
  1442. package/dist/schema-utils/lib/converters/convert.d.ts +10 -0
  1443. package/dist/schema-utils/lib/converters/convert.d.ts.map +1 -0
  1444. package/dist/schema-utils/lib/converters/convert.js +105 -0
  1445. package/dist/schema-utils/lib/converters/convert.js.map +1 -0
  1446. package/dist/schema-utils/lib/converters/converters.d.ts +3 -0
  1447. package/dist/schema-utils/lib/converters/converters.d.ts.map +1 -0
  1448. package/dist/schema-utils/lib/converters/converters.js +5 -0
  1449. package/dist/schema-utils/lib/converters/converters.js.map +1 -0
  1450. package/dist/schema-utils/lib/converters/types.d.ts +37 -0
  1451. package/dist/schema-utils/lib/converters/types.d.ts.map +1 -0
  1452. package/dist/schema-utils/lib/converters/types.js +5 -0
  1453. package/dist/schema-utils/lib/converters/types.js.map +1 -0
  1454. package/dist/schema-utils/lib/mesh/convert-mesh-to-table.d.ts +45 -0
  1455. package/dist/schema-utils/lib/mesh/convert-mesh-to-table.d.ts.map +1 -0
  1456. package/dist/schema-utils/lib/mesh/convert-mesh-to-table.js +187 -0
  1457. package/dist/schema-utils/lib/mesh/convert-mesh-to-table.js.map +1 -0
  1458. package/dist/schema-utils/lib/mesh/convert-table-to-mesh.d.ts +15 -0
  1459. package/dist/schema-utils/lib/mesh/convert-table-to-mesh.d.ts.map +1 -0
  1460. package/dist/schema-utils/lib/mesh/convert-table-to-mesh.js +224 -0
  1461. package/dist/schema-utils/lib/mesh/convert-table-to-mesh.js.map +1 -0
  1462. package/dist/schema-utils/lib/mesh/deduce-mesh-schema.d.ts +23 -0
  1463. package/dist/schema-utils/lib/mesh/deduce-mesh-schema.d.ts.map +1 -0
  1464. package/dist/schema-utils/lib/mesh/deduce-mesh-schema.js +72 -0
  1465. package/dist/schema-utils/lib/mesh/deduce-mesh-schema.js.map +1 -0
  1466. package/dist/schema-utils/lib/mesh/get-mesh-bounding-box.d.ts +14 -0
  1467. package/dist/schema-utils/lib/mesh/get-mesh-bounding-box.d.ts.map +1 -0
  1468. package/dist/schema-utils/lib/mesh/get-mesh-bounding-box.js +39 -0
  1469. package/dist/schema-utils/lib/mesh/get-mesh-bounding-box.js.map +1 -0
  1470. package/dist/schema-utils/lib/mesh/mesh-utils.d.ts +11 -0
  1471. package/dist/schema-utils/lib/mesh/mesh-utils.d.ts.map +1 -0
  1472. package/dist/schema-utils/lib/mesh/mesh-utils.js +20 -0
  1473. package/dist/schema-utils/lib/mesh/mesh-utils.js.map +1 -0
  1474. package/dist/schema-utils/lib/mesh/point-cloud-tiler.d.ts +98 -0
  1475. package/dist/schema-utils/lib/mesh/point-cloud-tiler.d.ts.map +1 -0
  1476. package/dist/schema-utils/lib/mesh/point-cloud-tiler.js +408 -0
  1477. package/dist/schema-utils/lib/mesh/point-cloud-tiler.js.map +1 -0
  1478. package/dist/schema-utils/lib/schema/convert-arrow-schema.d.ts +39 -0
  1479. package/dist/schema-utils/lib/schema/convert-arrow-schema.d.ts.map +1 -0
  1480. package/dist/schema-utils/lib/schema/convert-arrow-schema.js +441 -0
  1481. package/dist/schema-utils/lib/schema/convert-arrow-schema.js.map +1 -0
  1482. package/dist/schema-utils/lib/schema/data-type.d.ts +16 -0
  1483. package/dist/schema-utils/lib/schema/data-type.d.ts.map +1 -0
  1484. package/dist/schema-utils/lib/schema/data-type.js +102 -0
  1485. package/dist/schema-utils/lib/schema/data-type.js.map +1 -0
  1486. package/dist/schema-utils/lib/schema/deduce-table-schema.d.ts +14 -0
  1487. package/dist/schema-utils/lib/schema/deduce-table-schema.d.ts.map +1 -0
  1488. package/dist/schema-utils/lib/schema/deduce-table-schema.js +103 -0
  1489. package/dist/schema-utils/lib/schema/deduce-table-schema.js.map +1 -0
  1490. package/dist/schema-utils/lib/table/arrow-api/arrow-like-field.d.ts +19 -0
  1491. package/dist/schema-utils/lib/table/arrow-api/arrow-like-field.d.ts.map +1 -0
  1492. package/dist/schema-utils/lib/table/arrow-api/arrow-like-field.js +37 -0
  1493. package/dist/schema-utils/lib/table/arrow-api/arrow-like-field.js.map +1 -0
  1494. package/dist/schema-utils/lib/table/arrow-api/arrow-like-interface.d.ts +43 -0
  1495. package/dist/schema-utils/lib/table/arrow-api/arrow-like-interface.d.ts.map +1 -0
  1496. package/dist/schema-utils/lib/table/arrow-api/arrow-like-interface.js +5 -0
  1497. package/dist/schema-utils/lib/table/arrow-api/arrow-like-interface.js.map +1 -0
  1498. package/dist/schema-utils/lib/table/arrow-api/arrow-like-schema.d.ts +12 -0
  1499. package/dist/schema-utils/lib/table/arrow-api/arrow-like-schema.d.ts.map +1 -0
  1500. package/dist/schema-utils/lib/table/arrow-api/arrow-like-schema.js +82 -0
  1501. package/dist/schema-utils/lib/table/arrow-api/arrow-like-schema.js.map +1 -0
  1502. package/dist/schema-utils/lib/table/arrow-api/arrow-like-table.d.ts +28 -0
  1503. package/dist/schema-utils/lib/table/arrow-api/arrow-like-table.d.ts.map +1 -0
  1504. package/dist/schema-utils/lib/table/arrow-api/arrow-like-table.js +64 -0
  1505. package/dist/schema-utils/lib/table/arrow-api/arrow-like-table.js.map +1 -0
  1506. package/dist/schema-utils/lib/table/arrow-api/arrow-like-type.d.ts +177 -0
  1507. package/dist/schema-utils/lib/table/arrow-api/arrow-like-type.d.ts.map +1 -0
  1508. package/dist/schema-utils/lib/table/arrow-api/arrow-like-type.js +441 -0
  1509. package/dist/schema-utils/lib/table/arrow-api/arrow-like-type.js.map +1 -0
  1510. package/dist/schema-utils/lib/table/arrow-api/enum.d.ts +92 -0
  1511. package/dist/schema-utils/lib/table/arrow-api/enum.d.ts.map +1 -0
  1512. package/dist/schema-utils/lib/table/arrow-api/enum.js +98 -0
  1513. package/dist/schema-utils/lib/table/arrow-api/enum.js.map +1 -0
  1514. package/dist/schema-utils/lib/table/arrow-api/get-type-info.d.ts +13 -0
  1515. package/dist/schema-utils/lib/table/arrow-api/get-type-info.d.ts.map +1 -0
  1516. package/dist/schema-utils/lib/table/arrow-api/get-type-info.js +28 -0
  1517. package/dist/schema-utils/lib/table/arrow-api/get-type-info.js.map +1 -0
  1518. package/dist/schema-utils/lib/table/arrow-api/index.d.ts +6 -0
  1519. package/dist/schema-utils/lib/table/arrow-api/index.d.ts.map +1 -0
  1520. package/dist/schema-utils/lib/table/arrow-api/index.js +8 -0
  1521. package/dist/schema-utils/lib/table/arrow-api/index.js.map +1 -0
  1522. package/dist/schema-utils/lib/table/batch-builder/arrow-table-builder.d.ts +28 -0
  1523. package/dist/schema-utils/lib/table/batch-builder/arrow-table-builder.d.ts.map +1 -0
  1524. package/dist/schema-utils/lib/table/batch-builder/arrow-table-builder.js +71 -0
  1525. package/dist/schema-utils/lib/table/batch-builder/arrow-table-builder.js.map +1 -0
  1526. package/dist/schema-utils/lib/table/batch-builder/table-batch-builder.d.ts +41 -0
  1527. package/dist/schema-utils/lib/table/batch-builder/table-batch-builder.d.ts.map +1 -0
  1528. package/dist/schema-utils/lib/table/batch-builder/table-batch-builder.js +137 -0
  1529. package/dist/schema-utils/lib/table/batch-builder/table-batch-builder.js.map +1 -0
  1530. package/dist/schema-utils/lib/table/batches/convert-batches.d.ts +11 -0
  1531. package/dist/schema-utils/lib/table/batches/convert-batches.d.ts.map +1 -0
  1532. package/dist/schema-utils/lib/table/batches/convert-batches.js +67 -0
  1533. package/dist/schema-utils/lib/table/batches/convert-batches.js.map +1 -0
  1534. package/dist/schema-utils/lib/table/batches/make-arrow-batch-iterator.d.ts +14 -0
  1535. package/dist/schema-utils/lib/table/batches/make-arrow-batch-iterator.d.ts.map +1 -0
  1536. package/dist/schema-utils/lib/table/batches/make-arrow-batch-iterator.js +72 -0
  1537. package/dist/schema-utils/lib/table/batches/make-arrow-batch-iterator.js.map +1 -0
  1538. package/dist/schema-utils/lib/table/batches/make-table-batch-iterator.d.ts +15 -0
  1539. package/dist/schema-utils/lib/table/batches/make-table-batch-iterator.d.ts.map +1 -0
  1540. package/dist/schema-utils/lib/table/batches/make-table-batch-iterator.js +22 -0
  1541. package/dist/schema-utils/lib/table/batches/make-table-batch-iterator.js.map +1 -0
  1542. package/dist/schema-utils/lib/table/batches/make-table-from-batches.d.ts +12 -0
  1543. package/dist/schema-utils/lib/table/batches/make-table-from-batches.d.ts.map +1 -0
  1544. package/dist/schema-utils/lib/table/batches/make-table-from-batches.js +87 -0
  1545. package/dist/schema-utils/lib/table/batches/make-table-from-batches.js.map +1 -0
  1546. package/dist/schema-utils/lib/table/query-arrow-table.d.ts +23 -0
  1547. package/dist/schema-utils/lib/table/query-arrow-table.d.ts.map +1 -0
  1548. package/dist/schema-utils/lib/table/query-arrow-table.js +59 -0
  1549. package/dist/schema-utils/lib/table/query-arrow-table.js.map +1 -0
  1550. package/dist/schema-utils/lib/table/tables/convert-arrow-table-wrapper.d.ts +27 -0
  1551. package/dist/schema-utils/lib/table/tables/convert-arrow-table-wrapper.d.ts.map +1 -0
  1552. package/dist/schema-utils/lib/table/tables/convert-arrow-table-wrapper.js +23 -0
  1553. package/dist/schema-utils/lib/table/tables/convert-arrow-table-wrapper.js.map +1 -0
  1554. package/dist/schema-utils/lib/table/tables/convert-arrow-table.d.ts +26 -0
  1555. package/dist/schema-utils/lib/table/tables/convert-arrow-table.d.ts.map +1 -0
  1556. package/dist/schema-utils/lib/table/tables/convert-arrow-table.js +140 -0
  1557. package/dist/schema-utils/lib/table/tables/convert-arrow-table.js.map +1 -0
  1558. package/dist/schema-utils/lib/table/tables/convert-table.d.ts +13 -0
  1559. package/dist/schema-utils/lib/table/tables/convert-table.d.ts.map +1 -0
  1560. package/dist/schema-utils/lib/table/tables/convert-table.js +85 -0
  1561. package/dist/schema-utils/lib/table/tables/convert-table.js.map +1 -0
  1562. package/dist/schema-utils/lib/table/tables/make-table.d.ts +15 -0
  1563. package/dist/schema-utils/lib/table/tables/make-table.d.ts.map +1 -0
  1564. package/dist/schema-utils/lib/table/tables/make-table.js +46 -0
  1565. package/dist/schema-utils/lib/table/tables/make-table.js.map +1 -0
  1566. package/dist/schema-utils/lib/table/tables/row-utils.d.ts +15 -0
  1567. package/dist/schema-utils/lib/table/tables/row-utils.d.ts.map +1 -0
  1568. package/dist/schema-utils/lib/table/tables/row-utils.js +50 -0
  1569. package/dist/schema-utils/lib/table/tables/row-utils.js.map +1 -0
  1570. package/dist/schema-utils/lib/table/tables/table-accessors.d.ts +70 -0
  1571. package/dist/schema-utils/lib/table/tables/table-accessors.d.ts.map +1 -0
  1572. package/dist/schema-utils/lib/table/tables/table-accessors.js +363 -0
  1573. package/dist/schema-utils/lib/table/tables/table-accessors.js.map +1 -0
  1574. package/dist/schema-utils/lib/table/tables/table-column.d.ts +7 -0
  1575. package/dist/schema-utils/lib/table/tables/table-column.d.ts.map +1 -0
  1576. package/dist/schema-utils/lib/table/tables/table-column.js +40 -0
  1577. package/dist/schema-utils/lib/table/tables/table-column.js.map +1 -0
  1578. package/dist/schema-utils/lib/table/tables/table-converter/convert-tables.d.ts +10 -0
  1579. package/dist/schema-utils/lib/table/tables/table-converter/convert-tables.d.ts.map +1 -0
  1580. package/dist/schema-utils/lib/table/tables/table-converter/convert-tables.js +19 -0
  1581. package/dist/schema-utils/lib/table/tables/table-converter/convert-tables.js.map +1 -0
  1582. package/dist/schema-utils/lib/table/tables/table-converter/table-converter.d.ts +16 -0
  1583. package/dist/schema-utils/lib/table/tables/table-converter/table-converter.d.ts.map +1 -0
  1584. package/dist/schema-utils/lib/table/tables/table-converter/table-converter.js +48 -0
  1585. package/dist/schema-utils/lib/table/tables/table-converter/table-converter.js.map +1 -0
  1586. package/dist/schema-utils/lib/table/tables/table-types.d.ts +12 -0
  1587. package/dist/schema-utils/lib/table/tables/table-types.d.ts.map +1 -0
  1588. package/dist/schema-utils/lib/table/tables/table-types.js +24 -0
  1589. package/dist/schema-utils/lib/table/tables/table-types.js.map +1 -0
  1590. package/dist/schema-utils/lib/utils/assert.d.ts +2 -0
  1591. package/dist/schema-utils/lib/utils/assert.d.ts.map +1 -0
  1592. package/dist/schema-utils/lib/utils/assert.js +12 -0
  1593. package/dist/schema-utils/lib/utils/assert.js.map +1 -0
  1594. package/dist/schema-utils/lib/utils/async-queue.d.ts +18 -0
  1595. package/dist/schema-utils/lib/utils/async-queue.d.ts.map +1 -0
  1596. package/dist/schema-utils/lib/utils/async-queue.js +96 -0
  1597. package/dist/schema-utils/lib/utils/async-queue.js.map +1 -0
  1598. package/dist/schema-utils/types/types.d.ts +15 -0
  1599. package/dist/schema-utils/types/types.d.ts.map +1 -0
  1600. package/dist/schema-utils/types/types.js +5 -0
  1601. package/dist/schema-utils/types/types.js.map +1 -0
  1602. package/dist/vector-table-scan-source.cjs +1760 -0
  1603. package/dist/vector-table-scan-source.cjs.map +6 -0
  1604. package/dist/vector-table-scan-source.d.ts +2 -0
  1605. package/dist/vector-table-scan-source.d.ts.map +1 -0
  1606. package/dist/vector-table-scan-source.js +2 -0
  1607. package/dist/vector-table-scan-source.js.map +1 -0
  1608. package/dist/wkt/index.cjs +44 -0
  1609. package/dist/wkt/index.cjs.map +7 -0
  1610. package/dist/wkt/index.d.ts +3 -0
  1611. package/dist/wkt/index.d.ts.map +1 -0
  1612. package/dist/wkt/index.js +6 -0
  1613. package/dist/wkt/index.js.map +1 -0
  1614. package/dist/wkt/twkb/convert-geometry-to-twkb.cjs +211 -0
  1615. package/dist/wkt/twkb/convert-geometry-to-twkb.cjs.map +7 -0
  1616. package/dist/wkt/twkb/convert-geometry-to-twkb.d.ts +6 -0
  1617. package/dist/wkt/twkb/convert-geometry-to-twkb.d.ts.map +1 -0
  1618. package/dist/wkt/twkb/convert-geometry-to-twkb.js +204 -0
  1619. package/dist/wkt/twkb/convert-geometry-to-twkb.js.map +1 -0
  1620. package/dist/wkt/twkb/convert-twkb-to-geometry.cjs +251 -0
  1621. package/dist/wkt/twkb/convert-twkb-to-geometry.cjs.map +7 -0
  1622. package/dist/wkt/twkb/convert-twkb-to-geometry.d.ts +10 -0
  1623. package/dist/wkt/twkb/convert-twkb-to-geometry.d.ts.map +1 -0
  1624. package/dist/wkt/twkb/convert-twkb-to-geometry.js +261 -0
  1625. package/dist/wkt/twkb/convert-twkb-to-geometry.js.map +1 -0
  1626. package/dist/wkt/twkb/index.cjs +36 -0
  1627. package/dist/wkt/twkb/index.cjs.map +7 -0
  1628. package/dist/wkt/twkb/index.d.ts +3 -0
  1629. package/dist/wkt/twkb/index.d.ts.map +1 -0
  1630. package/dist/wkt/twkb/index.js +6 -0
  1631. package/dist/wkt/twkb/index.js.map +1 -0
  1632. package/dist/wkt/twkb/twkb-io.cjs +102 -0
  1633. package/dist/wkt/twkb/twkb-io.cjs.map +7 -0
  1634. package/dist/wkt/twkb/twkb-io.d.ts +33 -0
  1635. package/dist/wkt/twkb/twkb-io.d.ts.map +1 -0
  1636. package/dist/wkt/twkb/twkb-io.js +78 -0
  1637. package/dist/wkt/twkb/twkb-io.js.map +1 -0
  1638. package/dist/wkt/twkb/twkb-types.cjs +40 -0
  1639. package/dist/wkt/twkb/twkb-types.cjs.map +7 -0
  1640. package/dist/wkt/twkb/twkb-types.d.ts +11 -0
  1641. package/dist/wkt/twkb/twkb-types.d.ts.map +1 -0
  1642. package/dist/wkt/twkb/twkb-types.js +15 -0
  1643. package/dist/wkt/twkb/twkb-types.js.map +1 -0
  1644. package/dist/worker-utils/index.cjs +789 -0
  1645. package/dist/worker-utils/index.cjs.map +6 -0
  1646. package/dist/worker-utils/index.d.ts +16 -0
  1647. package/dist/worker-utils/index.d.ts.map +1 -0
  1648. package/dist/worker-utils/index.js +31 -0
  1649. package/dist/worker-utils/index.js.map +1 -0
  1650. package/dist/worker-utils/lib/env-utils/assert.d.ts +3 -0
  1651. package/dist/worker-utils/lib/env-utils/assert.d.ts.map +1 -0
  1652. package/dist/worker-utils/lib/env-utils/assert.js +13 -0
  1653. package/dist/worker-utils/lib/env-utils/assert.js.map +1 -0
  1654. package/dist/worker-utils/lib/env-utils/globals.d.ts +22 -0
  1655. package/dist/worker-utils/lib/env-utils/globals.d.ts.map +1 -0
  1656. package/dist/worker-utils/lib/env-utils/globals.js +30 -0
  1657. package/dist/worker-utils/lib/env-utils/globals.js.map +1 -0
  1658. package/dist/worker-utils/lib/env-utils/version.d.ts +3 -0
  1659. package/dist/worker-utils/lib/env-utils/version.d.ts.map +1 -0
  1660. package/dist/worker-utils/lib/env-utils/version.js +14 -0
  1661. package/dist/worker-utils/lib/env-utils/version.js.map +1 -0
  1662. package/dist/worker-utils/lib/library-utils/library-utils.d.ts +42 -0
  1663. package/dist/worker-utils/lib/library-utils/library-utils.d.ts.map +1 -0
  1664. package/dist/worker-utils/lib/library-utils/library-utils.js +249 -0
  1665. package/dist/worker-utils/lib/library-utils/library-utils.js.map +1 -0
  1666. package/dist/worker-utils/lib/node/worker_threads-browser.d.ts +14 -0
  1667. package/dist/worker-utils/lib/node/worker_threads-browser.d.ts.map +1 -0
  1668. package/dist/worker-utils/lib/node/worker_threads-browser.js +22 -0
  1669. package/dist/worker-utils/lib/node/worker_threads-browser.js.map +1 -0
  1670. package/dist/worker-utils/lib/node/worker_threads.d.ts +15 -0
  1671. package/dist/worker-utils/lib/node/worker_threads.d.ts.map +1 -0
  1672. package/dist/worker-utils/lib/node/worker_threads.js +16 -0
  1673. package/dist/worker-utils/lib/node/worker_threads.js.map +1 -0
  1674. package/dist/worker-utils/lib/npm-tag.d.ts +2 -0
  1675. package/dist/worker-utils/lib/npm-tag.d.ts.map +1 -0
  1676. package/dist/worker-utils/lib/npm-tag.js +5 -0
  1677. package/dist/worker-utils/lib/npm-tag.js.map +1 -0
  1678. package/dist/worker-utils/lib/process-utils/child-process-proxy.browser.d.ts +8 -0
  1679. package/dist/worker-utils/lib/process-utils/child-process-proxy.browser.d.ts.map +1 -0
  1680. package/dist/worker-utils/lib/process-utils/child-process-proxy.browser.js +18 -0
  1681. package/dist/worker-utils/lib/process-utils/child-process-proxy.browser.js.map +1 -0
  1682. package/dist/worker-utils/lib/process-utils/child-process-proxy.d.ts +45 -0
  1683. package/dist/worker-utils/lib/process-utils/child-process-proxy.d.ts.map +1 -0
  1684. package/dist/worker-utils/lib/process-utils/child-process-proxy.js +124 -0
  1685. package/dist/worker-utils/lib/process-utils/child-process-proxy.js.map +1 -0
  1686. package/dist/worker-utils/lib/process-utils/process-utils.d.ts +2 -0
  1687. package/dist/worker-utils/lib/process-utils/process-utils.d.ts.map +1 -0
  1688. package/dist/worker-utils/lib/process-utils/process-utils.js +32 -0
  1689. package/dist/worker-utils/lib/process-utils/process-utils.js.map +1 -0
  1690. package/dist/worker-utils/lib/worker-api/create-worker.d.ts +7 -0
  1691. package/dist/worker-utils/lib/worker-api/create-worker.d.ts.map +1 -0
  1692. package/dist/worker-utils/lib/worker-api/create-worker.js +91 -0
  1693. package/dist/worker-utils/lib/worker-api/create-worker.js.map +1 -0
  1694. package/dist/worker-utils/lib/worker-api/get-worker-url.d.ts +29 -0
  1695. package/dist/worker-utils/lib/worker-api/get-worker-url.d.ts.map +1 -0
  1696. package/dist/worker-utils/lib/worker-api/get-worker-url.js +102 -0
  1697. package/dist/worker-utils/lib/worker-api/get-worker-url.js.map +1 -0
  1698. package/dist/worker-utils/lib/worker-api/process-on-worker.d.ts +22 -0
  1699. package/dist/worker-utils/lib/worker-api/process-on-worker.d.ts.map +1 -0
  1700. package/dist/worker-utils/lib/worker-api/process-on-worker.js +251 -0
  1701. package/dist/worker-utils/lib/worker-api/process-on-worker.js.map +1 -0
  1702. package/dist/worker-utils/lib/worker-api/task-runtime.d.ts +36 -0
  1703. package/dist/worker-utils/lib/worker-api/task-runtime.d.ts.map +1 -0
  1704. package/dist/worker-utils/lib/worker-api/task-runtime.js +23 -0
  1705. package/dist/worker-utils/lib/worker-api/task-runtime.js.map +1 -0
  1706. package/dist/worker-utils/lib/worker-api/validate-worker-version.d.ts +9 -0
  1707. package/dist/worker-utils/lib/worker-api/validate-worker-version.d.ts.map +1 -0
  1708. package/dist/worker-utils/lib/worker-api/validate-worker-version.js +35 -0
  1709. package/dist/worker-utils/lib/worker-api/validate-worker-version.js.map +1 -0
  1710. package/dist/worker-utils/lib/worker-utils/get-loadable-worker-url.d.ts +14 -0
  1711. package/dist/worker-utils/lib/worker-utils/get-loadable-worker-url.d.ts.map +1 -0
  1712. package/dist/worker-utils/lib/worker-utils/get-loadable-worker-url.js +67 -0
  1713. package/dist/worker-utils/lib/worker-utils/get-loadable-worker-url.js.map +1 -0
  1714. package/dist/worker-utils/lib/worker-utils/get-transfer-list.d.ts +16 -0
  1715. package/dist/worker-utils/lib/worker-utils/get-transfer-list.d.ts.map +1 -0
  1716. package/dist/worker-utils/lib/worker-utils/get-transfer-list.js +88 -0
  1717. package/dist/worker-utils/lib/worker-utils/get-transfer-list.js.map +1 -0
  1718. package/dist/worker-utils/lib/worker-utils/remove-nontransferable-options.d.ts +6 -0
  1719. package/dist/worker-utils/lib/worker-utils/remove-nontransferable-options.d.ts.map +1 -0
  1720. package/dist/worker-utils/lib/worker-utils/remove-nontransferable-options.js +27 -0
  1721. package/dist/worker-utils/lib/worker-utils/remove-nontransferable-options.js.map +1 -0
  1722. package/dist/worker-utils/null-worker-node.js +1072 -0
  1723. package/dist/worker-utils/null-worker-node.js.map +7 -0
  1724. package/dist/worker-utils/null-worker.js +1022 -0
  1725. package/dist/worker-utils/null-worker.js.map +7 -0
  1726. package/dist/worker-utils/types.d.ts +83 -0
  1727. package/dist/worker-utils/types.d.ts.map +1 -0
  1728. package/dist/worker-utils/types.js +5 -0
  1729. package/dist/worker-utils/types.js.map +1 -0
  1730. package/dist/worker-utils/workers/null-worker.d.ts +2 -0
  1731. package/dist/worker-utils/workers/null-worker.d.ts.map +1 -0
  1732. package/dist/worker-utils/workers/null-worker.js +17 -0
  1733. package/dist/worker-utils/workers/null-worker.js.map +1 -0
  1734. package/dist/workers/null-worker-node.js +1 -1
  1735. package/dist/workers/null-worker-node.js.map +1 -1
  1736. package/dist/workers/null-worker.js +1 -1
  1737. package/dist/workers/null-worker.js.map +1 -1
  1738. package/package.json +442 -13
  1739. package/src/arrow-geometry/binary-features.ts +399 -0
  1740. package/src/arrow-geometry/binary-geometry-to-wkb.ts +245 -0
  1741. package/src/arrow-geometry/feature-collection-to-arrow.ts +162 -0
  1742. package/src/arrow-geometry/feature-table.ts +940 -0
  1743. package/src/arrow-geometry/geoarrow-builder.ts +862 -0
  1744. package/src/arrow-geometry/geoarrow-union-kind.ts +47 -0
  1745. package/src/arrow-geometry/geojson-table.ts +167 -0
  1746. package/src/arrow-geometry/geometry-codecs.ts +186 -0
  1747. package/src/arrow-geometry/geometry-field.ts +349 -0
  1748. package/src/arrow-geometry/geometry-to-wkt.ts +121 -0
  1749. package/src/arrow-geometry/geometry-utils.ts +29 -0
  1750. package/src/arrow-geometry/index.ts +33 -0
  1751. package/src/arrow-geometry/legacy-binary/convert-flat-geojson-to-binary-features.ts +583 -0
  1752. package/src/arrow-geometry/legacy-binary/convert-geojson-to-binary-features.ts +45 -0
  1753. package/src/arrow-geometry/legacy-binary/convert-geojson-to-flat-geojson.ts +177 -0
  1754. package/src/arrow-geometry/legacy-binary/flat-geojson-to-binary-types.ts +62 -0
  1755. package/src/arrow-geometry/legacy-binary/geometry-info.ts +129 -0
  1756. package/src/arrow-geometry/legacy-binary/transform-coordinates.ts +72 -0
  1757. package/src/arrow-geometry/legacy-binary.ts +24 -0
  1758. package/src/arrow-geometry/native-geometry.ts +278 -0
  1759. package/src/arrow-geometry/sampled-bounds.ts +46 -0
  1760. package/src/arrow-geometry/triangulate-wkb.ts +1133 -0
  1761. package/src/arrow-geometry/wkb-arrow-utils.ts +202 -0
  1762. package/src/arrow-geometry/wkb-builder.ts +223 -0
  1763. package/src/arrow-geometry/wkb-statistics.ts +70 -0
  1764. package/src/arrow-geometry/wkb-table.ts +62 -0
  1765. package/src/arrow-geometry/wkb-types.ts +21 -0
  1766. package/src/arrow-worker-transport.ts +225 -0
  1767. package/src/cluster-source.ts +1 -0
  1768. package/src/constants/index.ts +23 -0
  1769. package/src/federated-table-scan-source.ts +1 -0
  1770. package/src/geoarrow/binary-polygon-to-geoarrow.ts +120 -0
  1771. package/src/geoarrow/clustering/cluster-index.ts +510 -0
  1772. package/src/geoarrow/clustering/cluster-source.ts +278 -0
  1773. package/src/geoarrow/clustering/get-representative-point.ts +192 -0
  1774. package/src/geoarrow/compatibility.ts +65 -0
  1775. package/src/geoarrow/convert-table-to-geoarrow.ts +258 -0
  1776. package/src/geoarrow/deprecated.ts +73 -0
  1777. package/src/geoarrow/geo-column/geo-column-info.ts +114 -0
  1778. package/src/geoarrow/geo-column/geo-column.ts +85 -0
  1779. package/src/geoarrow/geoarrow-bounds.ts +176 -0
  1780. package/src/geoarrow/geoarrow-builder.ts +21 -0
  1781. package/src/geoarrow/geoarrow-capabilities.ts +581 -0
  1782. package/src/geoarrow/geoarrow-conformance.ts +177 -0
  1783. package/src/geoarrow/geoarrow-converter/convert-geoarrow-geometry.ts +2168 -0
  1784. package/src/geoarrow/geoarrow-converter/convert-geoarrow.ts +80 -0
  1785. package/src/geoarrow/geoarrow-converter/geoarrow-converter.ts +108 -0
  1786. package/src/geoarrow/geoarrow-converter/geoarrow-geometry-converter.ts +66 -0
  1787. package/src/geoarrow/geoarrow-functions.ts +293 -0
  1788. package/src/geoarrow/geoarrow-inspection.ts +296 -0
  1789. package/src/geoarrow/geoarrow-layout.ts +844 -0
  1790. package/src/geoarrow/geoarrow-resource-limits.ts +94 -0
  1791. package/src/geoarrow/geoarrow-spatial-index.ts +251 -0
  1792. package/src/geoarrow/geoarrow-stream.ts +377 -0
  1793. package/src/geoarrow/geoarrow-types.ts +91 -0
  1794. package/src/geoarrow/get-geo-column-from-geoarrow.ts.disabled +251 -0
  1795. package/src/geoarrow/get-geoarrow-geometry-info.ts +147 -0
  1796. package/src/geoarrow/get-geoarrow-native-geometry.ts +8 -0
  1797. package/src/geoarrow/get-geoarrow-vertex-count.ts +225 -0
  1798. package/src/geoarrow/index.ts +260 -0
  1799. package/src/geoarrow/lib/binary-geometry-api/binary-geometry-info.ts +75 -0
  1800. package/src/geoarrow/lib/feature-collection-converters/convert-arrow-binary-feature-collection.ts +576 -0
  1801. package/src/geoarrow/lib/feature-collection-converters/convert-binary-features-to-geojson.ts +152 -0
  1802. package/src/geoarrow/lib/feature-collection-converters/convert-geometry-column-to-binary-feature-collection.ts +1591 -0
  1803. package/src/geoarrow/lib/feature-collection-converters/feature-collection-converter/convert-feature-collection.ts +212 -0
  1804. package/src/geoarrow/lib/feature-collection-converters/feature-collection-converter/feature-collection-converter.ts +96 -0
  1805. package/src/geoarrow/lib/geoarrow/geoarrow-union-kind.ts +4 -0
  1806. package/src/geoarrow/lib/geometry-converters/convert-binary-geometry-to-geojson.ts +154 -0
  1807. package/src/geoarrow/lib/geometry-converters/convert-geoarrow-to-geojson.ts +195 -0
  1808. package/src/geoarrow/lib/geometry-converters/geometry-converter/geometry-converter.ts +143 -0
  1809. package/src/geoarrow/lib/geometry-converters/wkb/convert-wkb-to-binary-geometry.ts +86 -0
  1810. package/src/geoarrow/lib/geometry-converters/wkb/helpers/parse-wkb-header.ts +116 -0
  1811. package/src/geoarrow/lib/geometry-converters/wkb/helpers/wkb-types.ts +82 -0
  1812. package/src/geoarrow/lib/geometry-predicates.ts +170 -0
  1813. package/src/geoarrow/lib/kernels/decode-wkt-native.ts +752 -0
  1814. package/src/geoarrow/lib/kernels/encode-geoarrow-box.ts +303 -0
  1815. package/src/geoarrow/lib/kernels/encode-geoarrow-wkt.ts +373 -0
  1816. package/src/geoarrow/lib/kernels/geoarrow-union.ts +97 -0
  1817. package/src/geoarrow/lib/table-converters/convert-geoarrow-table.ts +118 -0
  1818. package/src/geoarrow/lib/table-converters/convert-wkb-table-to-geojson.ts +16 -0
  1819. package/src/geoarrow/map-geoarrow-coordinates.ts +282 -0
  1820. package/src/geoarrow/mesharrow/arrow-fixed-size-list-utils.ts +63 -0
  1821. package/src/geoarrow/mesharrow/arrow-list-of-fixed-size-list-utils.ts +47 -0
  1822. package/src/geoarrow/mesharrow/get-bounding-box.ts +37 -0
  1823. package/src/geoarrow/mesharrow/get-deck-binary-data.ts +70 -0
  1824. package/src/geoarrow/mesharrow/mesh-accessors.ts +27 -0
  1825. package/src/geoarrow/metadata/geoarrow-metadata.ts +90 -0
  1826. package/src/geoarrow/metadata/geoparquet-metadata-schema.ts +71 -0
  1827. package/src/geoarrow/metadata/geoparquet-metadata.ts +16 -0
  1828. package/src/geoarrow/metadata/merge-geoarrow-metadata.ts +357 -0
  1829. package/src/geoarrow/metadata/metadata-utils.ts +6 -0
  1830. package/src/geoarrow/rewind-geoarrow.ts +268 -0
  1831. package/src/index.ts +11 -15
  1832. package/src/iterators/make-iterator/make-iterator.ts +1 -1
  1833. package/src/iterators/make-iterator/make-stream-iterator.ts +1 -1
  1834. package/src/iterators/make-iterator/make-string-iterator.ts +1 -1
  1835. package/src/lib/api/core-api.ts +1 -1
  1836. package/src/lib/api/create-data-source.ts +149 -59
  1837. package/src/lib/api/encode-table.ts +2 -2
  1838. package/src/lib/api/encode.ts +17 -6
  1839. package/src/lib/api/load-in-batches.ts +17 -9
  1840. package/src/lib/api/load-loader.ts +166 -11
  1841. package/src/lib/api/load.ts +63 -129
  1842. package/src/lib/api/parse-file.ts +46 -25
  1843. package/src/lib/api/parse-in-batches.ts +171 -28
  1844. package/src/lib/api/parse-sync.ts +38 -20
  1845. package/src/lib/api/parse.ts +59 -36
  1846. package/src/lib/api/preload.ts +27 -7
  1847. package/src/lib/api/register-loaders.ts +1 -1
  1848. package/src/lib/api/select-loader.ts +57 -72
  1849. package/src/lib/api/select-source.ts +8 -2
  1850. package/src/lib/common.ts +1 -1
  1851. package/src/lib/fetch/fetch-file.ts +2 -2
  1852. package/src/lib/filesystems/browser-filesystem.ts +2 -2
  1853. package/src/lib/init.ts +1 -1
  1854. package/src/lib/loader-utils/get-data.ts +2 -2
  1855. package/src/lib/loader-utils/get-fetch-function.ts +8 -6
  1856. package/src/lib/loader-utils/loader-context.ts +8 -2
  1857. package/src/lib/loader-utils/loggers.ts +2 -70
  1858. package/src/lib/loader-utils/native-arrow.ts +109 -0
  1859. package/src/lib/loader-utils/normalize-loader.ts +2 -2
  1860. package/src/lib/loader-utils/option-defaults.ts +13 -12
  1861. package/src/lib/loader-utils/option-utils.ts +34 -123
  1862. package/src/lib/utils/resource-utils.ts +1 -1
  1863. package/src/lib/utils/response-utils.ts +1 -1
  1864. package/src/loader-utils/format-types.ts +53 -0
  1865. package/src/loader-utils/index.ts +575 -0
  1866. package/src/loader-utils/json-loader.ts +39 -0
  1867. package/src/loader-utils/lib/binary-utils/array-buffer-utils.ts +114 -0
  1868. package/src/loader-utils/lib/binary-utils/binary-chunk-reader.ts +297 -0
  1869. package/src/loader-utils/lib/binary-utils/dataview-copy-utils.ts +121 -0
  1870. package/src/loader-utils/lib/binary-utils/encode-array-buffer-to-base64.ts +17 -0
  1871. package/src/loader-utils/lib/binary-utils/get-first-characters.ts +46 -0
  1872. package/src/loader-utils/lib/binary-utils/hex-transcoder.ts +54 -0
  1873. package/src/loader-utils/lib/binary-utils/memory-conversion-utils.ts +105 -0
  1874. package/src/loader-utils/lib/binary-utils/memory-copy-utils.ts +69 -0
  1875. package/src/loader-utils/lib/crs/crs-reprojection.ts +52 -0
  1876. package/src/loader-utils/lib/env-utils/assert.ts +13 -0
  1877. package/src/loader-utils/lib/env-utils/globals.ts +36 -0
  1878. package/src/loader-utils/lib/files/array-buffer-file.ts +46 -0
  1879. package/src/loader-utils/lib/files/blob-file.ts +45 -0
  1880. package/src/loader-utils/lib/files/file.ts +39 -0
  1881. package/src/loader-utils/lib/files/http-file-transport.ts +496 -0
  1882. package/src/loader-utils/lib/files/http-file-types.ts +62 -0
  1883. package/src/loader-utils/lib/files/http-file.ts +267 -0
  1884. package/src/loader-utils/lib/files/node-file-facade.ts +57 -0
  1885. package/src/loader-utils/lib/files/read-range-response.ts +66 -0
  1886. package/src/loader-utils/lib/files/sources.ts +154 -0
  1887. package/src/loader-utils/lib/filesystems/filesystem.ts +40 -0
  1888. package/src/loader-utils/lib/filesystems/node-filesystem-facade.ts +65 -0
  1889. package/src/loader-utils/lib/iterators/async-iteration.ts +136 -0
  1890. package/src/loader-utils/lib/iterators/text-iterators.ts +76 -0
  1891. package/src/loader-utils/lib/javascript-utils/is-type.ts +130 -0
  1892. package/src/loader-utils/lib/laz/LASZIP-LICENSE +202 -0
  1893. package/src/loader-utils/lib/laz/LASZIP-NOTICE +6 -0
  1894. package/src/loader-utils/lib/laz/laz-arithmetic-encoder.ts +446 -0
  1895. package/src/loader-utils/lib/laz/laz-chunk-decoder.ts +5251 -0
  1896. package/src/loader-utils/lib/laz/laz-chunk-encoder.ts +1909 -0
  1897. package/src/loader-utils/lib/log-utils/log.ts +63 -0
  1898. package/src/loader-utils/lib/module-utils/initialize-wasm-module.ts +51 -0
  1899. package/src/loader-utils/lib/module-utils/js-module-utils.ts +44 -0
  1900. package/src/loader-utils/lib/node/buffer.browser.ts +22 -0
  1901. package/src/loader-utils/lib/node/buffer.ts +40 -0
  1902. package/src/loader-utils/lib/node/fs.browser.ts +5 -0
  1903. package/src/loader-utils/lib/node/promisify.ts +72 -0
  1904. package/src/loader-utils/lib/node/stream.browser.ts +5 -0
  1905. package/src/loader-utils/lib/node/stream.ts +12 -0
  1906. package/src/loader-utils/lib/option-utils/merge-options.ts +50 -0
  1907. package/src/loader-utils/lib/pace-batch-iterator.ts +66 -0
  1908. package/src/loader-utils/lib/parser-utils/parse-json.ts +16 -0
  1909. package/src/loader-utils/lib/path-utils/cached-uri-resolver.ts +69 -0
  1910. package/src/loader-utils/lib/path-utils/file-aliases.ts +49 -0
  1911. package/src/loader-utils/lib/path-utils/get-cwd.ts +12 -0
  1912. package/src/loader-utils/lib/path-utils/path.ts +173 -0
  1913. package/src/loader-utils/lib/request-utils/abort-utils.ts +64 -0
  1914. package/src/loader-utils/lib/request-utils/authentication.ts +134 -0
  1915. package/src/loader-utils/lib/request-utils/parse-content-type.ts +22 -0
  1916. package/src/loader-utils/lib/request-utils/range-request-cache.ts +279 -0
  1917. package/src/loader-utils/lib/request-utils/range-request-scheduler.ts +899 -0
  1918. package/src/loader-utils/lib/request-utils/request-cache.ts +296 -0
  1919. package/src/loader-utils/lib/request-utils/request-credentials.ts +574 -0
  1920. package/src/loader-utils/lib/request-utils/request-scheduler.ts +230 -0
  1921. package/src/loader-utils/lib/scan-utils/columnar-predicate.ts +397 -0
  1922. package/src/loader-utils/lib/scan-utils/logical-table-query.ts +174 -0
  1923. package/src/loader-utils/lib/scan-utils/point-cloud-query.ts +176 -0
  1924. package/src/loader-utils/lib/scan-utils/query-options.ts +44 -0
  1925. package/src/loader-utils/lib/scan-utils/raster-query.ts +82 -0
  1926. package/src/loader-utils/lib/scan-utils/relational-query.ts +188 -0
  1927. package/src/loader-utils/lib/scan-utils/scan-executor.ts +208 -0
  1928. package/src/loader-utils/lib/scan-utils/scan-fragments.ts +33 -0
  1929. package/src/loader-utils/lib/scan-utils/scan-query-metadata.ts +491 -0
  1930. package/src/loader-utils/lib/scan-utils/table-query-explain.ts +88 -0
  1931. package/src/loader-utils/lib/scan-utils/table-query.ts +231 -0
  1932. package/src/loader-utils/lib/scan-utils/table-scan-batch.ts +225 -0
  1933. package/src/loader-utils/lib/sources/catalog-source.ts +42 -0
  1934. package/src/loader-utils/lib/sources/data-source-manager.ts +569 -0
  1935. package/src/loader-utils/lib/sources/data-source.ts +277 -0
  1936. package/src/loader-utils/lib/sources/image-source.ts +66 -0
  1937. package/src/loader-utils/lib/sources/image-tile-source.ts +22 -0
  1938. package/src/loader-utils/lib/sources/raster-coverage.ts +92 -0
  1939. package/src/loader-utils/lib/sources/raster-region.ts +35 -0
  1940. package/src/loader-utils/lib/sources/raster-sampling.ts +213 -0
  1941. package/src/loader-utils/lib/sources/raster-source.ts +344 -0
  1942. package/src/loader-utils/lib/sources/service-capabilities.ts +50 -0
  1943. package/src/loader-utils/lib/sources/table-source-collection.ts +38 -0
  1944. package/src/loader-utils/lib/sources/tile-grid.ts +414 -0
  1945. package/src/loader-utils/lib/sources/tile-source-adapter.ts +117 -0
  1946. package/src/loader-utils/lib/sources/tile-source-utils.ts +19 -0
  1947. package/src/loader-utils/lib/sources/tile-source.ts +200 -0
  1948. package/src/loader-utils/lib/sources/utils/image-type.ts +14 -0
  1949. package/src/loader-utils/lib/sources/utils/utils.ts +31 -0
  1950. package/src/loader-utils/lib/sources/vector-source.ts +89 -0
  1951. package/src/loader-utils/lib/sources/vector-tile-source.ts +30 -0
  1952. package/src/loader-utils/lib/sources/xyz-grid-options.ts +90 -0
  1953. package/src/loader-utils/lib/sources/xyz-grid.ts +88 -0
  1954. package/src/loader-utils/lib/worker-loader-utils/create-loader-worker.ts +256 -0
  1955. package/src/loader-utils/lib/worker-loader-utils/encode-with-worker.ts +27 -0
  1956. package/src/loader-utils/lib/worker-loader-utils/parse-with-worker.ts +409 -0
  1957. package/src/loader-utils/loader-types.ts +624 -0
  1958. package/src/loader-utils/source-types.ts +87 -0
  1959. package/src/loader-utils/tile-grid.ts +8 -0
  1960. package/src/loader-utils/types.ts +83 -0
  1961. package/src/loader-utils/workers/json-worker.ts +8 -0
  1962. package/src/loader-utils/writer-types.ts +107 -0
  1963. package/src/null-loader.ts +2 -21
  1964. package/src/polyfills/README.md +16 -0
  1965. package/src/polyfills/buffer/btoa.node.ts +15 -0
  1966. package/src/polyfills/buffer/to-array-buffer.node.ts +12 -0
  1967. package/src/polyfills/crypto/node-hash.ts +78 -0
  1968. package/src/polyfills/file/file-reader.ts +59 -0
  1969. package/src/polyfills/file/install-file-polyfills.ts +14 -0
  1970. package/src/polyfills/filesystems/fetch-node.ts +98 -0
  1971. package/src/polyfills/filesystems/node-file.ts +169 -0
  1972. package/src/polyfills/filesystems/node-filesystem.ts +54 -0
  1973. package/src/polyfills/filesystems/stream-utils.node.ts +81 -0
  1974. package/src/polyfills/images/encode-image-node.ts +52 -0
  1975. package/src/polyfills/images/image-codecs-node.ts +5 -0
  1976. package/src/polyfills/images/load-sharp.ts +13 -0
  1977. package/src/polyfills/images/node-image-bitmap.ts +81 -0
  1978. package/src/polyfills/images/node-image-formats.ts +12 -0
  1979. package/src/polyfills/images/parse-image-node.ts +45 -0
  1980. package/src/polyfills/index.browser.ts +23 -0
  1981. package/src/polyfills/index.ts +132 -0
  1982. package/src/polyfills/libs/encoding-indexes-asian.js +15 -0
  1983. package/src/polyfills/load-library/require-utils.node.ts +108 -0
  1984. package/src/polyfills/streams/make-node-stream.ts +61 -0
  1985. package/src/polyfills/text-encoder/encoding-indexes.ts +36 -0
  1986. package/src/polyfills/text-encoder/text-encoder.ts +3085 -0
  1987. package/src/polyfills/utils/assert.ts +9 -0
  1988. package/src/polyfills/utils/buffer-utils.ts +40 -0
  1989. package/src/polyfills/utils/filesystem-types.ts +13 -0
  1990. package/src/polyfills/utils/is-browser.ts +8 -0
  1991. package/src/polyfills/utils/path-utils.ts +31 -0
  1992. package/src/polyfills/wip/fetch-browser/fetch-file.browser.d.ts +34 -0
  1993. package/src/scan/arrow-execution/expressions.ts +116 -0
  1994. package/src/scan/arrow-execution/filter-arrow-table.ts +298 -0
  1995. package/src/scan/arrow-execution/project-arrow-table.ts +53 -0
  1996. package/src/scan/arrow-execution.ts +7 -0
  1997. package/src/scan/arrow-query.ts +20 -0
  1998. package/src/scan/bind-sql-predicate.ts +21 -0
  1999. package/src/scan/catalog-query-source.ts +132 -0
  2000. package/src/scan/federated-table-scan-source.ts +988 -0
  2001. package/src/scan/index.ts +166 -0
  2002. package/src/scan/parse-sql-predicate.ts +28 -0
  2003. package/src/scan/query-arrow-table-in-batches.ts +55 -0
  2004. package/src/scan/query-arrow-table.ts +656 -0
  2005. package/src/scan/query-open-source.ts +39 -0
  2006. package/src/scan/query-progressive.ts +229 -0
  2007. package/src/scan/query-pushdown.ts +184 -0
  2008. package/src/scan/query.ts +597 -0
  2009. package/src/scan/resolve-query-source.ts +47 -0
  2010. package/src/scan/rows-to-arrow.ts +9 -0
  2011. package/src/scan/scan-engine.ts +96 -0
  2012. package/src/scan/scan-query.ts +27 -0
  2013. package/src/scan/sql-catalog.ts +167 -0
  2014. package/src/scan/sql-predicate-schema.ts +251 -0
  2015. package/src/scan/sql-predicate-types.ts +87 -0
  2016. package/src/scan/sql-predicate-zod.ts +52 -0
  2017. package/src/scan/sql-predicate.ts +28 -0
  2018. package/src/scan/table-query-capabilities.ts +29 -0
  2019. package/src/scan/table-query.ts +84 -0
  2020. package/src/scan/vector-table-scan-source.ts +300 -0
  2021. package/src/schema/categories/category-gis.ts +63 -0
  2022. package/src/schema/categories/category-image.ts +23 -0
  2023. package/src/schema/categories/category-mesh.ts +138 -0
  2024. package/src/schema/categories/category-table.ts +125 -0
  2025. package/src/schema/categories/category-texture.ts +259 -0
  2026. package/src/schema/float16.ts +111 -0
  2027. package/src/schema/geometry/arrow-binary-features.ts +54 -0
  2028. package/src/schema/geometry/binary-features.ts +43 -0
  2029. package/src/schema/geometry/binary-geometries.ts +45 -0
  2030. package/src/schema/geometry/flat-geometries.ts +72 -0
  2031. package/src/schema/geometry/geoarrow.ts +105 -0
  2032. package/src/schema/geospatial-metadata-zod-schema.ts +163 -0
  2033. package/src/schema/index.ts +170 -0
  2034. package/src/schema/metadata.ts +115 -0
  2035. package/src/schema/types/batch.ts +47 -0
  2036. package/src/schema/types/schema.ts +86 -0
  2037. package/src/schema/types/types.ts +52 -0
  2038. package/src/schema-utils/deprecated.ts +53 -0
  2039. package/src/schema-utils/index.ts +180 -0
  2040. package/src/schema-utils/lib/arrow/arrow-metadata.ts +136 -0
  2041. package/src/schema-utils/lib/arrow-utils/arrow-fixed-size-list-utils.ts +78 -0
  2042. package/src/schema-utils/lib/arrow-utils/arrow-list-of-fixed-size-list-utils.ts +48 -0
  2043. package/src/schema-utils/lib/converters/convert.ts +147 -0
  2044. package/src/schema-utils/lib/converters/converters.ts +6 -0
  2045. package/src/schema-utils/lib/converters/types.ts +46 -0
  2046. package/src/schema-utils/lib/mesh/convert-mesh-to-table.ts +309 -0
  2047. package/src/schema-utils/lib/mesh/convert-table-to-mesh.ts +263 -0
  2048. package/src/schema-utils/lib/mesh/deduce-mesh-schema.ts +85 -0
  2049. package/src/schema-utils/lib/mesh/get-mesh-bounding-box.ts +52 -0
  2050. package/src/schema-utils/lib/mesh/mesh-utils.ts +27 -0
  2051. package/src/schema-utils/lib/mesh/point-cloud-tiler.ts +495 -0
  2052. package/src/schema-utils/lib/schema/convert-arrow-schema.ts +552 -0
  2053. package/src/schema-utils/lib/schema/data-type.ts +122 -0
  2054. package/src/schema-utils/lib/schema/deduce-table-schema.ts +121 -0
  2055. package/src/schema-utils/lib/table/arrow-api/arrow-like-field.ts +53 -0
  2056. package/src/schema-utils/lib/table/arrow-api/arrow-like-interface.ts +84 -0
  2057. package/src/schema-utils/lib/table/arrow-api/arrow-like-schema.ts +101 -0
  2058. package/src/schema-utils/lib/table/arrow-api/arrow-like-table.ts +85 -0
  2059. package/src/schema-utils/lib/table/arrow-api/arrow-like-type.ts +500 -0
  2060. package/src/schema-utils/lib/table/arrow-api/enum.ts +99 -0
  2061. package/src/schema-utils/lib/table/arrow-api/get-type-info.ts +38 -0
  2062. package/src/schema-utils/lib/table/arrow-api/index.ts +50 -0
  2063. package/src/schema-utils/lib/table/batch-builder/arrow-table-builder.ts +93 -0
  2064. package/src/schema-utils/lib/table/batch-builder/table-batch-builder.ts +170 -0
  2065. package/src/schema-utils/lib/table/batches/convert-batches.ts +103 -0
  2066. package/src/schema-utils/lib/table/batches/make-arrow-batch-iterator.ts +95 -0
  2067. package/src/schema-utils/lib/table/batches/make-table-batch-iterator.ts +25 -0
  2068. package/src/schema-utils/lib/table/batches/make-table-from-batches.ts +125 -0
  2069. package/src/schema-utils/lib/table/query-arrow-table.ts +112 -0
  2070. package/src/schema-utils/lib/table/tables/convert-arrow-table-wrapper.ts +54 -0
  2071. package/src/schema-utils/lib/table/tables/convert-arrow-table.ts +193 -0
  2072. package/src/schema-utils/lib/table/tables/convert-table.ts +106 -0
  2073. package/src/schema-utils/lib/table/tables/make-table.ts +63 -0
  2074. package/src/schema-utils/lib/table/tables/row-utils.ts +59 -0
  2075. package/src/schema-utils/lib/table/tables/table-accessors.ts +435 -0
  2076. package/src/schema-utils/lib/table/tables/table-column.ts +49 -0
  2077. package/src/schema-utils/lib/table/tables/table-converter/convert-tables.ts +33 -0
  2078. package/src/schema-utils/lib/table/tables/table-converter/table-converter.ts +60 -0
  2079. package/src/schema-utils/lib/table/tables/table-types.ts +37 -0
  2080. package/src/schema-utils/lib/utils/assert.ts +12 -0
  2081. package/src/schema-utils/lib/utils/async-queue.ts +109 -0
  2082. package/src/schema-utils/types/types.ts +45 -0
  2083. package/src/vector-table-scan-source.ts +1 -0
  2084. package/src/wkt/index.ts +11 -0
  2085. package/src/wkt/twkb/convert-geometry-to-twkb.ts +317 -0
  2086. package/src/wkt/twkb/convert-twkb-to-geometry.ts +373 -0
  2087. package/src/wkt/twkb/index.ts +6 -0
  2088. package/src/wkt/twkb/twkb-io.ts +85 -0
  2089. package/src/wkt/twkb/twkb-types.ts +14 -0
  2090. package/src/worker-utils/index.ts +66 -0
  2091. package/src/worker-utils/lib/env-utils/assert.ts +14 -0
  2092. package/src/worker-utils/lib/env-utils/globals.ts +40 -0
  2093. package/src/worker-utils/lib/env-utils/version.ts +18 -0
  2094. package/src/worker-utils/lib/library-utils/library-utils.ts +304 -0
  2095. package/src/worker-utils/lib/node/worker_threads-browser.ts +34 -0
  2096. package/src/worker-utils/lib/node/worker_threads.ts +58 -0
  2097. package/src/worker-utils/lib/npm-tag.ts +5 -0
  2098. package/src/worker-utils/lib/process-utils/child-process-proxy.browser.ts +23 -0
  2099. package/src/worker-utils/lib/process-utils/child-process-proxy.ts +166 -0
  2100. package/src/worker-utils/lib/process-utils/process-utils.ts +34 -0
  2101. package/src/worker-utils/lib/worker-api/create-worker.ts +106 -0
  2102. package/src/worker-utils/lib/worker-api/get-worker-url.ts +129 -0
  2103. package/src/worker-utils/lib/worker-api/process-on-worker.ts +312 -0
  2104. package/src/worker-utils/lib/worker-api/task-runtime.ts +66 -0
  2105. package/src/worker-utils/lib/worker-api/validate-worker-version.ts +44 -0
  2106. package/src/worker-utils/lib/worker-utils/get-loadable-worker-url.ts +76 -0
  2107. package/src/worker-utils/lib/worker-utils/get-transfer-list.ts +95 -0
  2108. package/src/worker-utils/lib/worker-utils/remove-nontransferable-options.ts +27 -0
  2109. package/src/worker-utils/types.ts +113 -0
  2110. package/src/worker-utils/workers/null-worker.ts +20 -0
  2111. package/src/workers/null-worker-node.ts +1 -1
  2112. package/src/workers/null-worker.ts +1 -1
  2113. package/third-party-licenses/Apache-2.0 +73 -0
  2114. package/third-party-licenses/fetch-LICENSE +20 -0
  2115. package/third-party-licenses/fetch-progress-LICENSE +21 -0
  2116. package/third-party-licenses/path-resolve-LICENSE +21 -0
  2117. package/third-party-licenses/retained-MIT-LICENSE +23 -0
  2118. package/third-party-licenses/text-encoding-LICENSE +29 -0
  2119. package/third-party-licenses/wkx-LICENSE +20 -0
@@ -0,0 +1,374 @@
1
+ // loaders.gl
2
+ // SPDX-License-Identifier: MIT
3
+ // Copyright (c) vis.gl contributors
4
+ /**
5
+ * Immutable, columnar point clustering with a deterministic greedy zoom hierarchy.
6
+ *
7
+ * Input is interleaved longitude/latitude. The index snapshots all inputs, wraps longitude,
8
+ * clamps Mercator latitude, and groups across the antimeridian. Grouping is seed-radius based,
9
+ * not transitive connected components; input order can affect membership. Rebuild after edits.
10
+ */
11
+ export class ClusterIndex {
12
+ /** Number of indexed input points. */
13
+ pointCount;
14
+ /** Lowest available zoom. */
15
+ minZoom;
16
+ /** Last zoom containing clusters; maxZoom + 1 always returns leaves. */
17
+ maxZoom;
18
+ /** Pixel radius used to construct the hierarchy. */
19
+ radiusPixels;
20
+ /** World width in pixels at zoom zero. */
21
+ tileSize;
22
+ /** Minimum descendant count for a new cluster. */
23
+ minPoints;
24
+ /** Original, unprojected leaf positions. */
25
+ coordinates;
26
+ /** Original table row references. */
27
+ rowIndices;
28
+ /** Immutable aggregation operation names. */
29
+ operations;
30
+ /** Zoom-level columns and spatial bins. */
31
+ levels = new Map();
32
+ /** Cluster records; leaves use their input offset as ID. */
33
+ branches = new Map();
34
+ /** Copies coordinates and aggregate columns, then builds every requested zoom level. */
35
+ constructor(coordinates, options = {}) {
36
+ this.pointCount = coordinates.length / 2;
37
+ this.minZoom = options.minZoom ?? 0;
38
+ this.maxZoom = options.maxZoom ?? 16;
39
+ this.radiusPixels = options.radiusPixels ?? 40;
40
+ this.tileSize = options.tileSize ?? 512;
41
+ this.minPoints = options.minPoints ?? 2;
42
+ if (!Number.isSafeInteger(this.pointCount) || this.pointCount < 0) {
43
+ throw new Error('Cluster coordinates must contain longitude/latitude pairs');
44
+ }
45
+ if (!Number.isInteger(this.minZoom) ||
46
+ !Number.isInteger(this.maxZoom) ||
47
+ this.minZoom < 0 ||
48
+ this.maxZoom > 30 ||
49
+ this.minZoom > this.maxZoom) {
50
+ throw new Error('Cluster zoom range must contain integers between 0 and 30');
51
+ }
52
+ if (!Number.isFinite(this.radiusPixels) ||
53
+ this.radiusPixels <= 0 ||
54
+ !Number.isFinite(this.tileSize) ||
55
+ this.tileSize <= 0 ||
56
+ !Number.isSafeInteger(this.minPoints) ||
57
+ this.minPoints < 2 ||
58
+ !Number.isFinite(this.radiusPixels / this.tileSize) ||
59
+ this.radiusPixels / (this.tileSize * 2 ** this.maxZoom) < 2 / Number.MAX_SAFE_INTEGER) {
60
+ throw new Error('Invalid cluster radius, tile size or minimum point count');
61
+ }
62
+ if (options.rowIndices && options.rowIndices.length !== this.pointCount) {
63
+ throw new Error('Cluster row indices must align with positions');
64
+ }
65
+ this.coordinates = Float64Array.from(coordinates);
66
+ this.rowIndices = new Float64Array(this.pointCount);
67
+ const positions = new Float64Array(coordinates.length);
68
+ for (let index = 0; index < this.pointCount; index++) {
69
+ const longitude = this.coordinates[index * 2];
70
+ const latitude = this.coordinates[index * 2 + 1];
71
+ const rowIndex = options.rowIndices?.[index] ?? index;
72
+ if (!Number.isFinite(longitude) ||
73
+ !Number.isFinite(latitude) ||
74
+ Math.abs(latitude) > 90 ||
75
+ !Number.isSafeInteger(rowIndex) ||
76
+ rowIndex < 0) {
77
+ throw new Error('Cluster positions must be finite geographic coordinates and rows nonnegative integers');
78
+ }
79
+ this.rowIndices[index] = rowIndex;
80
+ positions[index * 2] = wrapUnit(longitude / 360 + 0.5);
81
+ positions[index * 2 + 1] = projectLatitude(latitude);
82
+ }
83
+ const aggregates = Object.create(null);
84
+ this.operations = Object.create(null);
85
+ for (const [name, aggregation] of Object.entries(options.aggregations || {})) {
86
+ if (!['sum', 'min', 'max'].includes(aggregation.operation) ||
87
+ aggregation.values.length !== this.pointCount) {
88
+ throw new Error(`Invalid cluster aggregation: ${name}`);
89
+ }
90
+ const values = Float64Array.from(aggregation.values);
91
+ if (!values.every(Number.isFinite))
92
+ throw new Error(`Nonfinite cluster aggregation: ${name}`);
93
+ aggregates[name] = values;
94
+ this.operations[name] = aggregation.operation;
95
+ }
96
+ let level = createLevel(positions, new Float64Array(this.pointCount).fill(1), Float64Array.from({ length: this.pointCount }, (_, index) => index), aggregates, this.getRadius(this.maxZoom));
97
+ this.levels.set(this.maxZoom + 1, level);
98
+ for (let zoom = this.maxZoom; zoom >= this.minZoom; zoom--) {
99
+ level = this.createParentLevel(level, zoom);
100
+ this.levels.set(zoom, level);
101
+ }
102
+ }
103
+ /** Queries cluster centers in an inclusive geographic extent at floor(zoom), clamped to the index. */
104
+ getClusters(bounds, zoom) {
105
+ if (!bounds.every(Number.isFinite) || bounds[1] > bounds[3] || !Number.isFinite(zoom)) {
106
+ throw new Error('Cluster query requires finite bounds, ordered latitudes and a finite zoom');
107
+ }
108
+ if (bounds[1] > 90 || bounds[3] < -90)
109
+ return [];
110
+ const level = this.levels.get(Math.max(this.minZoom, Math.min(this.maxZoom + 1, Math.floor(zoom))));
111
+ const minimumY = projectLatitude(bounds[3]);
112
+ const maximumY = projectLatitude(bounds[1]);
113
+ const minimumX = wrapUnit(bounds[0] / 360 + 0.5);
114
+ const maximumX = wrapUnit(bounds[2] / 360 + 0.5);
115
+ const ranges = Math.abs(bounds[2] - bounds[0]) >= 360
116
+ ? [[0, 1]]
117
+ : minimumX <= maximumX
118
+ ? [[minimumX, maximumX]]
119
+ : [
120
+ [minimumX, 1],
121
+ [0, maximumX]
122
+ ];
123
+ const indices = new Set();
124
+ for (const [start, end] of ranges) {
125
+ for (const index of level.grid.query(start, minimumY, end, maximumY))
126
+ indices.add(index);
127
+ }
128
+ return [...indices]
129
+ .sort((first, second) => first - second)
130
+ .map(index => this.readNode(level, index))
131
+ .filter(node => node.position[1] >= bounds[1] && node.position[1] <= bounds[3]);
132
+ }
133
+ /** Returns immediate child nodes; rejects leaf IDs and IDs absent from this index. */
134
+ getChildren(clusterId) {
135
+ return Array.from(this.getBranch(clusterId).children, identifier => this.getNode(identifier));
136
+ }
137
+ /** Returns original rows in depth-first order without materializing skipped subtrees. */
138
+ getLeaves(clusterId, options = {}) {
139
+ const branch = this.getBranch(clusterId);
140
+ const limit = options.limit ?? 100;
141
+ let offset = options.offset ?? 0;
142
+ if ((!Number.isSafeInteger(limit) && limit !== Infinity) ||
143
+ limit < 0 ||
144
+ !Number.isSafeInteger(offset) ||
145
+ offset < 0)
146
+ throw new Error('Invalid cluster leaf pagination');
147
+ const rows = [];
148
+ const pending = Array.from(branch.children).reverse();
149
+ while (pending.length && rows.length < limit) {
150
+ const identifier = pending.pop();
151
+ const child = this.branches.get(identifier);
152
+ const count = child ? child.level.counts[child.index] : 1;
153
+ if (offset >= count) {
154
+ offset -= count;
155
+ continue;
156
+ }
157
+ if (child) {
158
+ for (let index = child.children.length - 1; index >= 0; index--)
159
+ pending.push(child.children[index]);
160
+ }
161
+ else
162
+ rows.push(this.rowIndices[identifier]);
163
+ }
164
+ return rows;
165
+ }
166
+ /** First integer zoom where the cluster splits; coincident leaves split at maxZoom + 1. */
167
+ getExpansionZoom(clusterId) {
168
+ return this.getBranch(clusterId).expansionZoom;
169
+ }
170
+ /** Returns an independent node snapshot for a leaf or cluster ID. */
171
+ getNode(identifier) {
172
+ if (Number.isInteger(identifier) && identifier >= 0 && identifier < this.pointCount) {
173
+ return this.readNode(this.levels.get(this.maxZoom + 1), identifier);
174
+ }
175
+ const branch = this.getBranch(identifier);
176
+ return this.readNode(branch.level, branch.index);
177
+ }
178
+ /** Resolves a cluster ID without allowing accidental leaf queries. */
179
+ getBranch(identifier) {
180
+ const branch = this.branches.get(identifier);
181
+ if (!branch)
182
+ throw new Error(`Unknown cluster ID: ${identifier}`);
183
+ return branch;
184
+ }
185
+ /** Converts the pixel radius into normalized world units. */
186
+ getRadius(zoom) {
187
+ return this.radiusPixels / this.tileSize / 2 ** zoom;
188
+ }
189
+ /** Forms disjoint seed-radius groups; stable candidate order makes results reproducible. */
190
+ createParentLevel(previous, zoom) {
191
+ const radius = this.getRadius(zoom);
192
+ const grid = previous.grid.cellSize === radius ? previous.grid : new PointGrid(previous.positions, radius);
193
+ const visited = new Uint8Array(previous.counts.length);
194
+ const positions = [];
195
+ const counts = [];
196
+ const identifiers = [];
197
+ const aggregates = Object.create(null);
198
+ for (const name of Object.keys(this.operations))
199
+ aggregates[name] = [];
200
+ const branches = [];
201
+ for (let seed = 0; seed < visited.length; seed++) {
202
+ if (visited[seed])
203
+ continue;
204
+ const seedX = previous.positions[seed * 2];
205
+ const seedY = previous.positions[seed * 2 + 1];
206
+ const candidates = grid
207
+ .queryRadius(seedX, seedY, radius)
208
+ .filter(index => !visited[index])
209
+ .sort((first, second) => first - second);
210
+ const count = candidates.reduce((total, index) => total + previous.counts[index], 0);
211
+ const group = candidates.length > 1 && count >= this.minPoints ? candidates : [seed];
212
+ let totalCount = 0;
213
+ let centerX = 0;
214
+ let centerY = 0;
215
+ for (const index of group) {
216
+ visited[index] = 1;
217
+ const pointCount = previous.counts[index];
218
+ let deltaX = previous.positions[index * 2] - seedX;
219
+ deltaX -= Math.round(deltaX);
220
+ centerX += (seedX + deltaX) * pointCount;
221
+ centerY += previous.positions[index * 2 + 1] * pointCount;
222
+ totalCount += pointCount;
223
+ }
224
+ const identifier = group.length === 1
225
+ ? previous.identifiers[seed]
226
+ : this.pointCount + this.branches.size + branches.length;
227
+ if (group.length > 1)
228
+ branches.push({
229
+ identifier,
230
+ index: counts.length,
231
+ children: Float64Array.from(group, index => previous.identifiers[index])
232
+ });
233
+ positions.push(wrapUnit(centerX / totalCount), centerY / totalCount);
234
+ counts.push(totalCount);
235
+ identifiers.push(identifier);
236
+ for (const [name, operation] of Object.entries(this.operations)) {
237
+ let value = previous.aggregates[name][group[0]];
238
+ for (let index = 1; index < group.length; index++) {
239
+ const next = previous.aggregates[name][group[index]];
240
+ value =
241
+ operation === 'sum'
242
+ ? value + next
243
+ : operation === 'min'
244
+ ? Math.min(value, next)
245
+ : Math.max(value, next);
246
+ }
247
+ if (!Number.isFinite(value))
248
+ throw new Error(`Cluster aggregation overflow: ${name}`);
249
+ aggregates[name].push(value);
250
+ }
251
+ }
252
+ if (!branches.length)
253
+ return previous;
254
+ const columns = Object.create(null);
255
+ for (const name of Object.keys(aggregates))
256
+ columns[name] = Float64Array.from(aggregates[name]);
257
+ const level = createLevel(Float64Array.from(positions), Float64Array.from(counts), Float64Array.from(identifiers), columns, this.getRadius(zoom - 1));
258
+ for (const branch of branches)
259
+ this.branches.set(branch.identifier, {
260
+ level,
261
+ index: branch.index,
262
+ children: branch.children,
263
+ expansionZoom: zoom + 1
264
+ });
265
+ return level;
266
+ }
267
+ /** Materializes only requested output nodes, preserving exact leaf coordinates. */
268
+ readNode(level, index) {
269
+ const identifier = level.identifiers[index];
270
+ const isCluster = identifier >= this.pointCount;
271
+ const properties = Object.create(null);
272
+ for (const name of Object.keys(this.operations))
273
+ properties[name] = level.aggregates[name][index];
274
+ const projectedY = level.positions[index * 2 + 1];
275
+ return {
276
+ id: identifier,
277
+ isCluster,
278
+ pointCount: level.counts[index],
279
+ rowIndex: isCluster ? null : this.rowIndices[identifier],
280
+ properties,
281
+ position: isCluster
282
+ ? [
283
+ level.positions[index * 2] * 360 - 180,
284
+ (Math.atan(Math.sinh(Math.PI * (1 - 2 * projectedY))) * 180) / Math.PI
285
+ ]
286
+ : [this.coordinates[identifier * 2], this.coordinates[identifier * 2 + 1]]
287
+ };
288
+ }
289
+ }
290
+ /** Creates indexed column storage for one level. */
291
+ function createLevel(positions, counts, identifiers, aggregates, cellSize) {
292
+ return { positions, counts, identifiers, aggregates, grid: new PointGrid(positions, cellSize) };
293
+ }
294
+ /** Sparse uniform grid; large queries scan occupied points instead of empty world cells. */
295
+ class PointGrid {
296
+ /** Point offsets per cell. */
297
+ cells = new Map();
298
+ /** Coordinate columns retained without a second copy. */
299
+ positions;
300
+ /** Positive bin width in normalized world units. */
301
+ cellSize;
302
+ /** Assigns each point to exactly one spatial bin. */
303
+ constructor(positions, cellSize) {
304
+ this.positions = positions;
305
+ this.cellSize = cellSize;
306
+ for (let index = 0; index < positions.length / 2; index++) {
307
+ const key = `${Math.floor(positions[index * 2] / cellSize)},${Math.floor(positions[index * 2 + 1] / cellSize)}`;
308
+ const cell = this.cells.get(key);
309
+ if (cell)
310
+ cell.push(index);
311
+ else
312
+ this.cells.set(key, [index]);
313
+ }
314
+ }
315
+ /** Returns offsets inside an inclusive rectangle. */
316
+ query(minimumX, minimumY, maximumX, maximumY) {
317
+ const firstColumn = Math.floor(minimumX / this.cellSize);
318
+ const lastColumn = Math.floor(maximumX / this.cellSize);
319
+ const firstRow = Math.floor(minimumY / this.cellSize);
320
+ const lastRow = Math.floor(maximumY / this.cellSize);
321
+ const result = [];
322
+ /** Refines a bin candidate against exact rectangle boundaries. */
323
+ const considerPoint = (index) => {
324
+ const positionX = this.positions[index * 2];
325
+ const positionY = this.positions[index * 2 + 1];
326
+ if (positionX >= minimumX &&
327
+ positionX <= maximumX &&
328
+ positionY >= minimumY &&
329
+ positionY <= maximumY)
330
+ result.push(index);
331
+ };
332
+ if ((lastColumn - firstColumn + 1) * (lastRow - firstRow + 1) > this.cells.size * 4) {
333
+ for (let index = 0; index < this.positions.length / 2; index++)
334
+ considerPoint(index);
335
+ }
336
+ else {
337
+ for (let column = firstColumn; column <= lastColumn; column++) {
338
+ for (let row = firstRow; row <= lastRow; row++) {
339
+ const cell = this.cells.get(`${column},${row}`);
340
+ if (cell)
341
+ for (const index of cell)
342
+ considerPoint(index);
343
+ }
344
+ }
345
+ }
346
+ return result;
347
+ }
348
+ /** Finds neighbors in a wrapped Euclidean Mercator circle. */
349
+ queryRadius(positionX, positionY, radius) {
350
+ const candidates = new Set(this.query(Math.max(0, positionX - radius), positionY - radius, Math.min(1, positionX + radius), positionY + radius));
351
+ if (positionX - radius < 0)
352
+ for (const index of this.query(Math.max(0, 1 + positionX - radius), positionY - radius, 1, positionY + radius))
353
+ candidates.add(index);
354
+ if (positionX + radius >= 1)
355
+ for (const index of this.query(0, positionY - radius, Math.min(1, positionX + radius - 1), positionY + radius))
356
+ candidates.add(index);
357
+ return [...candidates].filter(index => {
358
+ const deltaX = Math.abs(this.positions[index * 2] - positionX);
359
+ return (Math.hypot(Math.min(deltaX, 1 - deltaX), this.positions[index * 2 + 1] - positionY) <=
360
+ radius);
361
+ });
362
+ }
363
+ }
364
+ /** Wraps a normalized world coordinate into [0, 1). */
365
+ function wrapUnit(value) {
366
+ const remainder = value % 1;
367
+ return remainder < 0 ? remainder + 1 : remainder;
368
+ }
369
+ /** Projects latitude with a finite Mercator pole clamp. */
370
+ function projectLatitude(latitude) {
371
+ const clampedLatitude = Math.max(-85.0511287798066, Math.min(85.0511287798066, latitude));
372
+ return Math.max(0, Math.min(1, (1 - Math.asinh(Math.tan((clampedLatitude * Math.PI) / 180)) / Math.PI) / 2));
373
+ }
374
+ //# sourceMappingURL=cluster-index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cluster-index.js","sourceRoot":"","sources":["../../../src/geoarrow/clustering/cluster-index.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,+BAA+B;AAC/B,oCAAoC;AAyEpC;;;;;;GAMG;AACH,MAAM,OAAO,YAAY;IACvB,sCAAsC;IAC7B,UAAU,CAAS;IAC5B,6BAA6B;IACpB,OAAO,CAAS;IACzB,wEAAwE;IAC/D,OAAO,CAAS;IACzB,oDAAoD;IAC3C,YAAY,CAAS;IAC9B,0CAA0C;IACjC,QAAQ,CAAS;IAC1B,kDAAkD;IACzC,SAAS,CAAS;IAC3B,4CAA4C;IAC3B,WAAW,CAAe;IAC3C,qCAAqC;IACpB,UAAU,CAAe;IAC1C,6CAA6C;IAC5B,UAAU,CAAkD;IAC7E,2CAA2C;IAC1B,MAAM,GAAG,IAAI,GAAG,EAAwB,CAAC;IAC1D,4DAA4D;IAC3C,QAAQ,GAAG,IAAI,GAAG,EAAyB,CAAC;IAE7D,wFAAwF;IACxF,YAAY,WAA8B,EAAE,UAA+B,EAAE;QAC3E,IAAI,CAAC,UAAU,GAAG,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,CAAC,CAAC;QACpC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,EAAE,CAAC;QACrC,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,IAAI,EAAE,CAAC;QAC/C,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,IAAI,GAAG,CAAC;QACxC,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,CAAC,CAAC;QACxC,IAAI,CAAC,MAAM,CAAC,aAAa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D,OAAO,CACL,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,CAAC,GAAG,MAAM,CAAC,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,SAAS,CAAC;gBACnF,MAAM,CACP,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;CACF;AAED,uDAAuD;AACvD,SAAS,QAAQ,CAAC,KAAa;IAC7B,MAAM,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;IAC5B,OAAO,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AACnD,CAAC;AAED,2DAA2D;AAC3D,SAAS,eAAe,CAAC,QAAgB;IACvC,MAAM,eAAe,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,gBAAgB,EAAE,IAAI,CAAC,GAAG,CAAC,gBAAgB,EAAE,QAAQ,CAAC,CAAC,CAAC;IAC1F,OAAO,IAAI,CAAC,GAAG,CACb,CAAC,EACD,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,eAAe,GAAG,IAAI,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CACzF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,203 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/geoarrow/clustering/cluster-source.ts
21
+ var cluster_source_exports = {};
22
+ __export(cluster_source_exports, {
23
+ ClusterSource: () => ClusterSource
24
+ });
25
+ module.exports = __toCommonJS(cluster_source_exports);
26
+ var import_loader_utils = require("@loaders.gl/core/loader-utils");
27
+ var import_geometry_codecs = require("@loaders.gl/core/arrow-geometry/geometry-codecs");
28
+ var import_geometry_field = require("@loaders.gl/core/arrow-geometry/geometry-field");
29
+ var import_legacy_binary = require("@loaders.gl/core/arrow-geometry/legacy-binary");
30
+ var import_schema_utils = require("@loaders.gl/core/schema-utils");
31
+ var import_geoarrow_metadata = require("../metadata/geoarrow-metadata.cjs");
32
+ var import_convert_geoarrow_geometry = require("../geoarrow-converter/convert-geoarrow-geometry.cjs");
33
+ var import_geoarrow_bounds = require("../geoarrow-bounds.cjs");
34
+ var import_cluster_index = require("./cluster-index.cjs");
35
+ var import_get_representative_point = require("./get-representative-point.cjs");
36
+ var ClusterSource = class extends import_loader_utils.DataSource {
37
+ /** Immutable hierarchy exposed for member, expansion and columnar queries. */
38
+ index;
39
+ /** Original rows included in the index; excluded geometries retain their original offsets. */
40
+ indexedRowCount;
41
+ /** Geometry column used to retrieve original Arrow geometries. */
42
+ geometryColumn;
43
+ /** Declared Arrow geometry encoding. */
44
+ geometryEncoding;
45
+ /** Stable output property schema, also used for empty query results. */
46
+ propertySchema;
47
+ /** Extracts positions once, then constructs a reusable hierarchy without fetching data. */
48
+ constructor(data, options = {}) {
49
+ super(data, {});
50
+ const positions = [];
51
+ const rowIndices = [];
52
+ if (data.shape === "arrow-table") {
53
+ const columns = (0, import_geoarrow_metadata.getGeometryColumnsFromSchema)(data.data.schema);
54
+ const columnNames = Object.keys(columns);
55
+ this.geometryColumn = options.geometryColumn ?? (columnNames.length === 1 ? columnNames[0] : void 0);
56
+ this.geometryEncoding = this.geometryColumn ? columns[this.geometryColumn]?.encoding : void 0;
57
+ if (!this.geometryColumn || !this.geometryEncoding || !data.data.getChild(this.geometryColumn)) {
58
+ throw new Error("ClusterSource requires an explicitly identified GeoArrow geometry column");
59
+ }
60
+ }
61
+ const geometryVector = data.shape === "arrow-table" ? data.data.getChild(this.geometryColumn) : null;
62
+ const pointBounds = geometryVector && this.geometryEncoding === "geoarrow.point" && !options.getClusterPosition ? (0, import_geoarrow_bounds.getGeoArrowRowBounds)(geometryVector, this.geometryEncoding) : null;
63
+ const rowCount = data.shape === "arrow-table" ? data.data.numRows : data.features.length;
64
+ for (let rowIndex = 0; rowIndex < rowCount; rowIndex++) {
65
+ let position;
66
+ if (pointBounds) {
67
+ const bounds = pointBounds[rowIndex];
68
+ position = bounds ? [bounds[0], bounds[1]] : null;
69
+ } else {
70
+ const geometry = this.getGeometry(rowIndex);
71
+ position = options.getClusterPosition ? options.getClusterPosition(geometry, rowIndex) : (0, import_get_representative_point.getRepresentativePoint)(geometry, options.positionStrategy);
72
+ }
73
+ if (position) {
74
+ positions.push(position[0], position[1]);
75
+ rowIndices.push(rowIndex);
76
+ }
77
+ }
78
+ const aggregations = /* @__PURE__ */ Object.create(null);
79
+ for (const [name, aggregation] of Object.entries(options.aggregations || {})) {
80
+ if (["cluster", "clusterId", "pointCount", "rowIndex", "geometry"].includes(name)) {
81
+ throw new Error(`Reserved cluster property: ${name}`);
82
+ }
83
+ const column = data.shape === "arrow-table" ? data.data.getChild(aggregation.column) : null;
84
+ const values = rowIndices.map((rowIndex) => {
85
+ const value = data.shape === "arrow-table" ? column?.get(rowIndex) : data.features[rowIndex].properties?.[aggregation.column];
86
+ if (typeof value !== "number" || !Number.isFinite(value))
87
+ throw new Error(`Cluster aggregation ${name} requires finite numeric values`);
88
+ return value;
89
+ });
90
+ aggregations[name] = { values, operation: aggregation.operation };
91
+ }
92
+ this.index = new import_cluster_index.ClusterIndex(positions, { ...options, rowIndices, aggregations });
93
+ this.indexedRowCount = rowIndices.length;
94
+ this.propertySchema = {
95
+ metadata: {},
96
+ fields: [
97
+ { name: "cluster", type: "bool", nullable: false },
98
+ { name: "clusterId", type: "float64", nullable: false },
99
+ { name: "pointCount", type: "float64", nullable: false },
100
+ { name: "rowIndex", type: "float64", nullable: true },
101
+ ...Object.keys(aggregations).map((name) => ({
102
+ name,
103
+ type: "float64",
104
+ nullable: false
105
+ })),
106
+ (0, import_geometry_field.makeWKBGeometryField)("geometry", false)
107
+ ]
108
+ };
109
+ (0, import_geometry_field.setWKBGeometrySchemaMetadata)(this.propertySchema, {
110
+ geometryColumnName: "geometry",
111
+ primaryColumnName: "geometry",
112
+ geometryTypes: ["Point"]
113
+ });
114
+ }
115
+ /** Describes the default WKB Arrow output, including cluster and aggregate properties. */
116
+ async getSchema() {
117
+ return structuredClone(this.propertySchema);
118
+ }
119
+ /** Exposes one geographic vector layer named clusters. */
120
+ async getMetadata() {
121
+ return {
122
+ name: "clusters",
123
+ title: "Clustered features",
124
+ keywords: ["clustering"],
125
+ layers: [{ name: "clusters", crs: ["EPSG:4326"] }]
126
+ };
127
+ }
128
+ /** Queries markers at an explicit map zoom; supports GeoJSON, binary and GeoArrow output. */
129
+ async getFeatures(parameters) {
130
+ parameters.signal?.throwIfAborted();
131
+ const layers = typeof parameters.layers === "string" ? [parameters.layers] : parameters.layers;
132
+ if (layers.some((layer) => layer !== "clusters"))
133
+ throw new Error("ClusterSource only exposes the clusters layer");
134
+ if (parameters.zoom === void 0)
135
+ throw new Error("ClusterSource requires a zoom in each feature request");
136
+ if (parameters.crs && !["EPSG:4326", "OGC:CRS84", "CRS:84"].includes(parameters.crs)) {
137
+ throw new Error(
138
+ "ClusterSource returns longitude/latitude; reproject input before construction"
139
+ );
140
+ }
141
+ const [[west, south], [east, north]] = parameters.boundingBox;
142
+ if (parameters.requestCrs && !["EPSG:4326", "OGC:CRS84", "CRS:84"].includes(parameters.requestCrs)) {
143
+ throw new Error("ClusterSource requires longitude/latitude request bounds");
144
+ }
145
+ const nodes = this.index.getClusters([west, south, east, north], parameters.zoom);
146
+ const features = nodes.map(createClusterFeature);
147
+ if (parameters.format === "geojson")
148
+ return { shape: "geojson-table", type: "FeatureCollection", features };
149
+ if (parameters.format === "binary") return (0, import_legacy_binary.convertGeojsonToBinaryFeatureCollection)(features);
150
+ const builder = new import_schema_utils.ArrowTableBuilder(this.propertySchema);
151
+ for (const feature of features)
152
+ builder.addObjectRow({
153
+ ...feature.properties,
154
+ geometry: new Uint8Array((0, import_geometry_codecs.convertGeometryToWKB)(feature.geometry))
155
+ });
156
+ const table = builder.finishTable();
157
+ const preference = parameters.geoarrow?.encodingPreference;
158
+ if (preference && preference !== "geoarrow.wkb") {
159
+ return (0, import_convert_geoarrow_geometry.convertGeoArrowGeometry)(
160
+ table,
161
+ preference === "optimized" ? "geoarrow.point" : "geoarrow.geometry"
162
+ );
163
+ }
164
+ return table;
165
+ }
166
+ /** Retrieves a member's original geometry and properties; Arrow rows are materialized on demand. */
167
+ getFeature(rowIndex) {
168
+ const rowCount = this.data.shape === "arrow-table" ? this.data.data.numRows : this.data.features.length;
169
+ if (!Number.isInteger(rowIndex) || rowIndex < 0 || rowIndex >= rowCount)
170
+ throw new Error("Invalid cluster source row");
171
+ if (this.data.shape === "geojson-table") return this.data.features[rowIndex];
172
+ const properties = { ...this.data.data.get(rowIndex).toJSON() };
173
+ delete properties[this.geometryColumn];
174
+ return { type: "Feature", geometry: this.getGeometry(rowIndex), properties };
175
+ }
176
+ /** Decodes one geometry only when extraction or member retrieval needs it. */
177
+ getGeometry(rowIndex) {
178
+ return this.data.shape === "geojson-table" ? this.data.features[rowIndex].geometry : (0, import_convert_geoarrow_geometry.convertGeoArrowVectorCellToGeoJSON)(
179
+ this.data.data.getChild(this.geometryColumn),
180
+ rowIndex,
181
+ this.geometryEncoding
182
+ );
183
+ }
184
+ };
185
+ function createClusterFeature(node) {
186
+ return {
187
+ type: "Feature",
188
+ id: node.id,
189
+ geometry: { type: "Point", coordinates: node.position },
190
+ properties: {
191
+ ...node.properties,
192
+ cluster: node.isCluster,
193
+ clusterId: node.id,
194
+ pointCount: node.pointCount,
195
+ rowIndex: node.rowIndex
196
+ }
197
+ };
198
+ }
199
+ // Annotate the CommonJS export names for ESM import in node:
200
+ 0 && (module.exports = {
201
+ ClusterSource
202
+ });
203
+ //# sourceMappingURL=cluster-source.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/geoarrow/clustering/cluster-source.ts"],
4
+ "sourcesContent": ["// loaders.gl\n// SPDX-License-Identifier: MIT\n// Copyright (c) vis.gl contributors\n\nimport {DataSource} from '@loaders.gl/core/loader-utils';\nimport type {\n GetFeaturesParameters,\n VectorSource,\n VectorSourceData,\n VectorSourceMetadata\n} from '@loaders.gl/core/loader-utils';\nimport type {\n ArrowTable,\n Feature,\n GeoArrowEncoding,\n GeoJSONTable,\n Geometry,\n Schema\n} from '@loaders.gl/core/schema';\nimport {convertGeometryToWKB} from '@loaders.gl/core/arrow-geometry/geometry-codecs';\nimport {\n makeWKBGeometryField,\n setWKBGeometrySchemaMetadata\n} from '@loaders.gl/core/arrow-geometry/geometry-field';\nimport {convertGeojsonToBinaryFeatureCollection} from '@loaders.gl/core/arrow-geometry/legacy-binary';\nimport {ArrowTableBuilder} from '@loaders.gl/core/schema-utils';\nimport {getGeometryColumnsFromSchema} from '../metadata/geoarrow-metadata';\nimport {\n convertGeoArrowVectorCellToGeoJSON,\n convertGeoArrowGeometry\n} from '../geoarrow-converter/convert-geoarrow-geometry';\nimport {getGeoArrowRowBounds} from '../geoarrow-bounds';\nimport {\n ClusterIndex,\n type ClusterAggregation,\n type ClusterIndexOptions,\n type ClusterNode\n} from './cluster-index';\nimport {getRepresentativePoint, type RepresentativePointStrategy} from './get-representative-point';\n\n/**\n * Complete materialized input; remote viewport subsets must be collected before indexing.\n * @experimental\n */\nexport type ClusterSourceData = GeoJSONTable | ArrowTable;\n\n/**\n * Cluster source construction options; inputs must use longitude/latitude.\n * @experimental\n */\nexport type ClusterSourceOptions = Omit<ClusterIndexOptions, 'rowIndices' | 'aggregations'> & {\n /** Arrow geometry column; inferred only when exactly one is declared. */\n geometryColumn?: string;\n /** Representative policy; defaults to point geometries only. */\n positionStrategy?: RepresentativePointStrategy;\n /** Overrides extraction; null skips the row. Called once per input row during construction. */\n getClusterPosition?: (\n geometry: Geometry | null,\n rowIndex: number\n ) => readonly [number, number] | null;\n /** Numeric aggregations keyed by output name. Null/nonfinite input values are rejected. */\n aggregations?: Readonly<\n Record<\n string,\n {\n /** Input property or Arrow column name. */\n column: string;\n /** Associative operation over included rows. */\n operation: ClusterAggregation['operation'];\n }\n >\n >;\n};\n\n/**\n * Experimental VectorSource adapter for a complete point/geometry table and an immutable\n * ClusterIndex.\n *\n * Input positions and output are longitude/latitude. Query bounds are geographic, as in\n * VectorSourceLayer. Original geometries stay in data; returned features are representative\n * markers. Reconstruct the source after changing input, radius, filters or aggregation policy.\n *\n * @experimental The API may change in future releases.\n */\nexport class ClusterSource extends DataSource<ClusterSourceData, {}> implements VectorSource {\n /** Immutable hierarchy exposed for member, expansion and columnar queries. */\n readonly index: ClusterIndex;\n /** Original rows included in the index; excluded geometries retain their original offsets. */\n readonly indexedRowCount: number;\n /** Geometry column used to retrieve original Arrow geometries. */\n private readonly geometryColumn?: string;\n /** Declared Arrow geometry encoding. */\n private readonly geometryEncoding?: GeoArrowEncoding;\n /** Stable output property schema, also used for empty query results. */\n private readonly propertySchema: Schema;\n\n /** Extracts positions once, then constructs a reusable hierarchy without fetching data. */\n constructor(data: ClusterSourceData, options: ClusterSourceOptions = {}) {\n super(data, {});\n const positions: number[] = [];\n const rowIndices: number[] = [];\n if (data.shape === 'arrow-table') {\n const columns = getGeometryColumnsFromSchema(data.data.schema);\n const columnNames = Object.keys(columns);\n this.geometryColumn =\n options.geometryColumn ?? (columnNames.length === 1 ? columnNames[0] : undefined);\n this.geometryEncoding = this.geometryColumn\n ? columns[this.geometryColumn]?.encoding\n : undefined;\n if (\n !this.geometryColumn ||\n !this.geometryEncoding ||\n !data.data.getChild(this.geometryColumn)\n ) {\n throw new Error('ClusterSource requires an explicitly identified GeoArrow geometry column');\n }\n }\n const geometryVector =\n data.shape === 'arrow-table' ? data.data.getChild(this.geometryColumn!)! : null;\n // Native point bounds read Arrow buffers directly, including chunks, slices and nulls.\n const pointBounds =\n geometryVector && this.geometryEncoding === 'geoarrow.point' && !options.getClusterPosition\n ? getGeoArrowRowBounds(geometryVector, this.geometryEncoding)\n : null;\n const rowCount = data.shape === 'arrow-table' ? data.data.numRows : data.features.length;\n for (let rowIndex = 0; rowIndex < rowCount; rowIndex++) {\n let position: readonly [number, number] | null;\n if (pointBounds) {\n const bounds = pointBounds[rowIndex];\n position = bounds ? [bounds[0], bounds[1]] : null;\n } else {\n const geometry = this.getGeometry(rowIndex);\n position = options.getClusterPosition\n ? options.getClusterPosition(geometry, rowIndex)\n : getRepresentativePoint(geometry, options.positionStrategy);\n }\n if (position) {\n positions.push(position[0], position[1]);\n rowIndices.push(rowIndex);\n }\n }\n const aggregations: Record<string, ClusterAggregation> = Object.create(null);\n for (const [name, aggregation] of Object.entries(options.aggregations || {})) {\n if (['cluster', 'clusterId', 'pointCount', 'rowIndex', 'geometry'].includes(name)) {\n throw new Error(`Reserved cluster property: ${name}`);\n }\n const column = data.shape === 'arrow-table' ? data.data.getChild(aggregation.column) : null;\n const values = rowIndices.map(rowIndex => {\n const value =\n data.shape === 'arrow-table'\n ? column?.get(rowIndex)\n : data.features[rowIndex].properties?.[aggregation.column];\n if (typeof value !== 'number' || !Number.isFinite(value))\n throw new Error(`Cluster aggregation ${name} requires finite numeric values`);\n return value;\n });\n aggregations[name] = {values, operation: aggregation.operation};\n }\n this.index = new ClusterIndex(positions, {...options, rowIndices, aggregations});\n this.indexedRowCount = rowIndices.length;\n this.propertySchema = {\n metadata: {},\n fields: [\n {name: 'cluster', type: 'bool', nullable: false},\n {name: 'clusterId', type: 'float64', nullable: false},\n {name: 'pointCount', type: 'float64', nullable: false},\n {name: 'rowIndex', type: 'float64', nullable: true},\n ...Object.keys(aggregations).map(name => ({\n name,\n type: 'float64' as const,\n nullable: false\n })),\n makeWKBGeometryField('geometry', false)\n ]\n };\n setWKBGeometrySchemaMetadata(this.propertySchema, {\n geometryColumnName: 'geometry',\n primaryColumnName: 'geometry',\n geometryTypes: ['Point']\n });\n }\n\n /** Describes the default WKB Arrow output, including cluster and aggregate properties. */\n async getSchema(): Promise<Schema> {\n return structuredClone(this.propertySchema);\n }\n\n /** Exposes one geographic vector layer named clusters. */\n async getMetadata(): Promise<VectorSourceMetadata> {\n return {\n name: 'clusters',\n title: 'Clustered features',\n keywords: ['clustering'],\n layers: [{name: 'clusters', crs: ['EPSG:4326']}]\n };\n }\n\n /** Queries markers at an explicit map zoom; supports GeoJSON, binary and GeoArrow output. */\n async getFeatures(parameters: GetFeaturesParameters): Promise<VectorSourceData> {\n parameters.signal?.throwIfAborted();\n const layers = typeof parameters.layers === 'string' ? [parameters.layers] : parameters.layers;\n if (layers.some(layer => layer !== 'clusters'))\n throw new Error('ClusterSource only exposes the clusters layer');\n if (parameters.zoom === undefined)\n throw new Error('ClusterSource requires a zoom in each feature request');\n if (parameters.crs && !['EPSG:4326', 'OGC:CRS84', 'CRS:84'].includes(parameters.crs)) {\n throw new Error(\n 'ClusterSource returns longitude/latitude; reproject input before construction'\n );\n }\n const [[west, south], [east, north]] = parameters.boundingBox;\n if (\n parameters.requestCrs &&\n !['EPSG:4326', 'OGC:CRS84', 'CRS:84'].includes(parameters.requestCrs)\n ) {\n throw new Error('ClusterSource requires longitude/latitude request bounds');\n }\n const nodes = this.index.getClusters([west, south, east, north], parameters.zoom);\n const features = nodes.map(createClusterFeature);\n if (parameters.format === 'geojson')\n return {shape: 'geojson-table', type: 'FeatureCollection', features};\n if (parameters.format === 'binary') return convertGeojsonToBinaryFeatureCollection(features);\n const builder = new ArrowTableBuilder(this.propertySchema);\n for (const feature of features)\n builder.addObjectRow({\n ...feature.properties,\n geometry: new Uint8Array(convertGeometryToWKB(feature.geometry!))\n });\n const table = builder.finishTable();\n const preference = parameters.geoarrow?.encodingPreference;\n if (preference && preference !== 'geoarrow.wkb') {\n return convertGeoArrowGeometry(\n table,\n preference === 'optimized' ? 'geoarrow.point' : 'geoarrow.geometry'\n );\n }\n return table;\n }\n\n /** Retrieves a member's original geometry and properties; Arrow rows are materialized on demand. */\n getFeature(rowIndex: number): Feature<Geometry | null> {\n const rowCount =\n this.data.shape === 'arrow-table' ? this.data.data.numRows : this.data.features.length;\n if (!Number.isInteger(rowIndex) || rowIndex < 0 || rowIndex >= rowCount)\n throw new Error('Invalid cluster source row');\n if (this.data.shape === 'geojson-table') return this.data.features[rowIndex];\n const properties = {...this.data.data.get(rowIndex)!.toJSON()};\n delete properties[this.geometryColumn!];\n return {type: 'Feature', geometry: this.getGeometry(rowIndex), properties};\n }\n\n /** Decodes one geometry only when extraction or member retrieval needs it. */\n private getGeometry(rowIndex: number): Geometry | null {\n return this.data.shape === 'geojson-table'\n ? this.data.features[rowIndex].geometry\n : convertGeoArrowVectorCellToGeoJSON(\n this.data.data.getChild(this.geometryColumn!)!,\n rowIndex,\n this.geometryEncoding!\n );\n }\n}\n\n/** Converts an index node into a marker without copying original feature properties. */\nfunction createClusterFeature(node: ClusterNode): Feature {\n return {\n type: 'Feature',\n id: node.id,\n geometry: {type: 'Point', coordinates: node.position},\n properties: {\n ...node.properties,\n cluster: node.isCluster,\n clusterId: node.id,\n pointCount: node.pointCount,\n rowIndex: node.rowIndex\n }\n };\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,0BAAyB;AAezB,6BAAmC;AACnC,4BAGO;AACP,2BAAsD;AACtD,0BAAgC;AAChC,+BAA2C;AAC3C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