geolibre-wasm 1.8.1 → 1.8.2

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.
@@ -448,16 +448,8 @@ Used by:
448
448
  Apache License 2.0 (Apache-2.0)
449
449
 
450
450
  Used by:
451
- - arrow-array 60.0.0 (https://github.com/apache/arrow-rs) by Apache Arrow <dev@arrow.apache.org>
452
- - arrow-buffer 60.0.0 (https://github.com/apache/arrow-rs) by Apache Arrow <dev@arrow.apache.org>
453
- - arrow-cmp 60.0.0 (https://github.com/apache/arrow-rs) by Apache Arrow <dev@arrow.apache.org>
454
- - arrow-data 60.0.0 (https://github.com/apache/arrow-rs) by Apache Arrow <dev@arrow.apache.org>
455
- - arrow-ipc 60.0.0 (https://github.com/apache/arrow-rs) by Apache Arrow <dev@arrow.apache.org>
456
- - arrow-schema 60.0.0 (https://github.com/apache/arrow-rs) by Apache Arrow <dev@arrow.apache.org>
457
- - arrow-select 60.0.0 (https://github.com/apache/arrow-rs) by Apache Arrow <dev@arrow.apache.org>
458
451
  - codepage 0.1.2 (https://github.com/hsivonen/codepage) by Henri Sivonen <hsivonen@hsivonen.fi>
459
452
  - encoding_rs 0.8.35 (https://github.com/hsivonen/encoding_rs) by Henri Sivonen <hsivonen@hsivonen.fi>
460
- - parquet 60.0.0 (https://github.com/apache/arrow-rs) by Apache Arrow <dev@arrow.apache.org>
461
453
  - spade 2.15.1 (https://github.com/Stoeoef/spade) by Stefan Altmayer <stoeoef@gmail.com>
462
454
  - static_assertions 1.1.0 (https://github.com/nvzqz/static-assertions-rs) by Nikolai Vazquez
463
455
  - utf8_iter 1.0.4 (https://github.com/hsivonen/utf8_iter) by Henri Sivonen <hsivonen@hsivonen.fi>
@@ -1177,6 +1169,230 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1177
1169
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1178
1170
 
1179
1171
 
1172
+ ================================================================================
1173
+ Apache License 2.0 (Apache-2.0)
1174
+
1175
+ Used by:
1176
+ - arrow-array 60.1.0 (https://github.com/apache/arrow-rs) by Apache Arrow <dev@arrow.apache.org>
1177
+ - arrow-buffer 60.1.0 (https://github.com/apache/arrow-rs) by Apache Arrow <dev@arrow.apache.org>
1178
+ - arrow-cmp 60.1.0 (https://github.com/apache/arrow-rs) by Apache Arrow <dev@arrow.apache.org>
1179
+ - arrow-data 60.1.0 (https://github.com/apache/arrow-rs) by Apache Arrow <dev@arrow.apache.org>
1180
+ - arrow-ipc 60.1.0 (https://github.com/apache/arrow-rs) by Apache Arrow <dev@arrow.apache.org>
1181
+ - arrow-schema 60.1.0 (https://github.com/apache/arrow-rs) by Apache Arrow <dev@arrow.apache.org>
1182
+ - arrow-select 60.1.0 (https://github.com/apache/arrow-rs) by Apache Arrow <dev@arrow.apache.org>
1183
+ - parquet 60.1.0 (https://github.com/apache/arrow-rs) by Apache Arrow <dev@arrow.apache.org>
1184
+
1185
+
1186
+ Apache License
1187
+ Version 2.0, January 2004
1188
+ http://www.apache.org/licenses/
1189
+
1190
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1191
+
1192
+ 1. Definitions.
1193
+
1194
+ "License" shall mean the terms and conditions for use, reproduction,
1195
+ and distribution as defined by Sections 1 through 9 of this document.
1196
+
1197
+ "Licensor" shall mean the copyright owner or entity authorized by
1198
+ the copyright owner that is granting the License.
1199
+
1200
+ "Legal Entity" shall mean the union of the acting entity and all
1201
+ other entities that control, are controlled by, or are under common
1202
+ control with that entity. For the purposes of this definition,
1203
+ "control" means (i) the power, direct or indirect, to cause the
1204
+ direction or management of such entity, whether by contract or
1205
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
1206
+ outstanding shares, or (iii) beneficial ownership of such entity.
1207
+
1208
+ "You" (or "Your") shall mean an individual or Legal Entity
1209
+ exercising permissions granted by this License.
1210
+
1211
+ "Source" form shall mean the preferred form for making modifications,
1212
+ including but not limited to software source code, documentation
1213
+ source, and configuration files.
1214
+
1215
+ "Object" form shall mean any form resulting from mechanical
1216
+ transformation or translation of a Source form, including but
1217
+ not limited to compiled object code, generated documentation,
1218
+ and conversions to other media types.
1219
+
1220
+ "Work" shall mean the work of authorship, whether in Source or
1221
+ Object form, made available under the License, as indicated by a
1222
+ copyright notice that is included in or attached to the work
1223
+ (an example is provided in the Appendix below).
1224
+
1225
+ "Derivative Works" shall mean any work, whether in Source or Object
1226
+ form, that is based on (or derived from) the Work and for which the
1227
+ editorial revisions, annotations, elaborations, or other modifications
1228
+ represent, as a whole, an original work of authorship. For the purposes
1229
+ of this License, Derivative Works shall not include works that remain
1230
+ separable from, or merely link (or bind by name) to the interfaces of,
1231
+ the Work and Derivative Works thereof.
1232
+
1233
+ "Contribution" shall mean any work of authorship, including
1234
+ the original version of the Work and any modifications or additions
1235
+ to that Work or Derivative Works thereof, that is intentionally
1236
+ submitted to Licensor for inclusion in the Work by the copyright owner
1237
+ or by an individual or Legal Entity authorized to submit on behalf of
1238
+ the copyright owner. For the purposes of this definition, "submitted"
1239
+ means any form of electronic, verbal, or written communication sent
1240
+ to the Licensor or its representatives, including but not limited to
1241
+ communication on electronic mailing lists, source code control systems,
1242
+ and issue tracking systems that are managed by, or on behalf of, the
1243
+ Licensor for the purpose of discussing and improving the Work, but
1244
+ excluding communication that is conspicuously marked or otherwise
1245
+ designated in writing by the copyright owner as "Not a Contribution."
1246
+
1247
+ "Contributor" shall mean Licensor and any individual or Legal Entity
1248
+ on behalf of whom a Contribution has been received by Licensor and
1249
+ subsequently incorporated within the Work.
1250
+
1251
+ 2. Grant of Copyright License. Subject to the terms and conditions of
1252
+ this License, each Contributor hereby grants to You a perpetual,
1253
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1254
+ copyright license to reproduce, prepare Derivative Works of,
1255
+ publicly display, publicly perform, sublicense, and distribute the
1256
+ Work and such Derivative Works in Source or Object form.
1257
+
1258
+ 3. Grant of Patent License. Subject to the terms and conditions of
1259
+ this License, each Contributor hereby grants to You a perpetual,
1260
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1261
+ (except as stated in this section) patent license to make, have made,
1262
+ use, offer to sell, sell, import, and otherwise transfer the Work,
1263
+ where such license applies only to those patent claims licensable
1264
+ by such Contributor that are necessarily infringed by their
1265
+ Contribution(s) alone or by combination of their Contribution(s)
1266
+ with the Work to which such Contribution(s) was submitted. If You
1267
+ institute patent litigation against any entity (including a
1268
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
1269
+ or a Contribution incorporated within the Work constitutes direct
1270
+ or contributory patent infringement, then any patent licenses
1271
+ granted to You under this License for that Work shall terminate
1272
+ as of the date such litigation is filed.
1273
+
1274
+ 4. Redistribution. You may reproduce and distribute copies of the
1275
+ Work or Derivative Works thereof in any medium, with or without
1276
+ modifications, and in Source or Object form, provided that You
1277
+ meet the following conditions:
1278
+
1279
+ (a) You must give any other recipients of the Work or
1280
+ Derivative Works a copy of this License; and
1281
+
1282
+ (b) You must cause any modified files to carry prominent notices
1283
+ stating that You changed the files; and
1284
+
1285
+ (c) You must retain, in the Source form of any Derivative Works
1286
+ that You distribute, all copyright, patent, trademark, and
1287
+ attribution notices from the Source form of the Work,
1288
+ excluding those notices that do not pertain to any part of
1289
+ the Derivative Works; and
1290
+
1291
+ (d) If the Work includes a "NOTICE" text file as part of its
1292
+ distribution, then any Derivative Works that You distribute must
1293
+ include a readable copy of the attribution notices contained
1294
+ within such NOTICE file, excluding those notices that do not
1295
+ pertain to any part of the Derivative Works, in at least one
1296
+ of the following places: within a NOTICE text file distributed
1297
+ as part of the Derivative Works; within the Source form or
1298
+ documentation, if provided along with the Derivative Works; or,
1299
+ within a display generated by the Derivative Works, if and
1300
+ wherever such third-party notices normally appear. The contents
1301
+ of the NOTICE file are for informational purposes only and
1302
+ do not modify the License. You may add Your own attribution
1303
+ notices within Derivative Works that You distribute, alongside
1304
+ or as an addendum to the NOTICE text from the Work, provided
1305
+ that such additional attribution notices cannot be construed
1306
+ as modifying the License.
1307
+
1308
+ You may add Your own copyright statement to Your modifications and
1309
+ may provide additional or different license terms and conditions
1310
+ for use, reproduction, or distribution of Your modifications, or
1311
+ for any such Derivative Works as a whole, provided Your use,
1312
+ reproduction, and distribution of the Work otherwise complies with
1313
+ the conditions stated in this License.
1314
+
1315
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
1316
+ any Contribution intentionally submitted for inclusion in the Work
1317
+ by You to the Licensor shall be under the terms and conditions of
1318
+ this License, without any additional terms or conditions.
1319
+ Notwithstanding the above, nothing herein shall supersede or modify
1320
+ the terms of any separate license agreement you may have executed
1321
+ with Licensor regarding such Contributions.
1322
+
1323
+ 6. Trademarks. This License does not grant permission to use the trade
1324
+ names, trademarks, service marks, or product names of the Licensor,
1325
+ except as required for reasonable and customary use in describing the
1326
+ origin of the Work and reproducing the content of the NOTICE file.
1327
+
1328
+ 7. Disclaimer of Warranty. Unless required by applicable law or
1329
+ agreed to in writing, Licensor provides the Work (and each
1330
+ Contributor provides its Contributions) on an "AS IS" BASIS,
1331
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1332
+ implied, including, without limitation, any warranties or conditions
1333
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1334
+ PARTICULAR PURPOSE. You are solely responsible for determining the
1335
+ appropriateness of using or redistributing the Work and assume any
1336
+ risks associated with Your exercise of permissions under this License.
1337
+
1338
+ 8. Limitation of Liability. In no event and under no legal theory,
1339
+ whether in tort (including negligence), contract, or otherwise,
1340
+ unless required by applicable law (such as deliberate and grossly
1341
+ negligent acts) or agreed to in writing, shall any Contributor be
1342
+ liable to You for damages, including any direct, indirect, special,
1343
+ incidental, or consequential damages of any character arising as a
1344
+ result of this License or out of the use or inability to use the
1345
+ Work (including but not limited to damages for loss of goodwill,
1346
+ work stoppage, computer failure or malfunction, or any and all
1347
+ other commercial damages or losses), even if such Contributor
1348
+ has been advised of the possibility of such damages.
1349
+
1350
+ 9. Accepting Warranty or Additional Liability. While redistributing
1351
+ the Work or Derivative Works thereof, You may choose to offer,
1352
+ and charge a fee for, acceptance of support, warranty, indemnity,
1353
+ or other liability obligations and/or rights consistent with this
1354
+ License. However, in accepting such obligations, You may act only
1355
+ on Your own behalf and on Your sole responsibility, not on behalf
1356
+ of any other Contributor, and only if You agree to indemnify,
1357
+ defend, and hold each Contributor harmless for any liability
1358
+ incurred by, or claims asserted against, such Contributor by reason
1359
+ of your accepting any such warranty or additional liability.
1360
+
1361
+ END OF TERMS AND CONDITIONS
1362
+
1363
+ APPENDIX: How to apply the Apache License to your work.
1364
+
1365
+ To apply the Apache License to your work, attach the following
1366
+ boilerplate notice, with the fields enclosed by brackets "[]"
1367
+ replaced with your own identifying information. (Don't include
1368
+ the brackets!) The text should be enclosed in the appropriate
1369
+ comment syntax for the file format. We also recommend that a
1370
+ file or class name and description of purpose be included on the
1371
+ same "printed page" as the copyright notice for easier
1372
+ identification within third-party archives.
1373
+
1374
+ Copyright [yyyy] [name of copyright owner]
1375
+
1376
+ Licensed under the Apache License, Version 2.0 (the "License");
1377
+ you may not use this file except in compliance with the License.
1378
+ You may obtain a copy of the License at
1379
+
1380
+ http://www.apache.org/licenses/LICENSE-2.0
1381
+
1382
+ Unless required by applicable law or agreed to in writing, software
1383
+ distributed under the License is distributed on an "AS IS" BASIS,
1384
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1385
+ See the License for the specific language governing permissions and
1386
+ limitations under the License.
1387
+
1388
+ --------------------------------------------------------------------------------
1389
+
1390
+ arrow-array/src/delta.rs: MIT
1391
+
1392
+ This file is derived from the chronoutil crate. The full MIT license
1393
+ text is in arrow-array/LICENSE-MIT.
1394
+
1395
+
1180
1396
  ================================================================================
1181
1397
  Apache License 2.0 (Apache-2.0)
1182
1398
 
@@ -6679,7 +6895,7 @@ Used by:
6679
6895
  - indexmap 2.14.0 (https://github.com/indexmap-rs/indexmap)
6680
6896
  - itertools 0.14.0 (https://github.com/rust-itertools/itertools) by bluss
6681
6897
  - jpeg-decoder 0.3.2 (https://github.com/image-rs/jpeg-decoder) by The image-rs Developers
6682
- - js-sys 0.3.106 (https://github.com/wasm-bindgen/wasm-bindgen/tree/master/crates/js-sys) by The wasm-bindgen Developers
6898
+ - js-sys 0.3.107 (https://github.com/wasm-bindgen/wasm-bindgen/tree/master/crates/js-sys) by The wasm-bindgen Developers
6683
6899
  - linux-raw-sys 0.12.1 (https://github.com/sunfishcode/linux-raw-sys) by Dan Gohman <dev@sunfishcode.online>
6684
6900
  - log 0.4.32 (https://github.com/rust-lang/log) by The Rust Project Developers
6685
6901
  - matrixmultiply 0.3.10 (https://github.com/bluss/matrixmultiply/) by bluss, R. Janis Goldschmidt
@@ -6715,10 +6931,10 @@ Used by:
6715
6931
  - ureq 2.12.1 (https://github.com/algesten/ureq) by Martin Algesten <martin@algesten.se>, Jacob Hoffman-Andrews <ureq@hoffman-andrews.com>
6716
6932
  - url 2.5.8 (https://github.com/servo/rust-url) by The rust-url developers
6717
6933
  - wasi 0.11.1+wasi-snapshot-preview1 (https://github.com/bytecodealliance/wasi) by The Cranelift Project Developers
6718
- - wasm-bindgen-macro-support 0.2.129 (https://github.com/wasm-bindgen/wasm-bindgen/tree/main/crates/macro-support) by The wasm-bindgen Developers
6719
- - wasm-bindgen-macro 0.2.129 (https://github.com/wasm-bindgen/wasm-bindgen/tree/master/crates/macro) by The wasm-bindgen Developers
6720
- - wasm-bindgen-shared 0.2.129 (https://github.com/wasm-bindgen/wasm-bindgen/tree/master/crates/shared) by The wasm-bindgen Developers
6721
- - wasm-bindgen 0.2.129 (https://github.com/wasm-bindgen/wasm-bindgen) by The wasm-bindgen Developers
6934
+ - wasm-bindgen-macro-support 0.2.130 (https://github.com/wasm-bindgen/wasm-bindgen/tree/main/crates/macro-support) by The wasm-bindgen Developers
6935
+ - wasm-bindgen-macro 0.2.130 (https://github.com/wasm-bindgen/wasm-bindgen/tree/master/crates/macro) by The wasm-bindgen Developers
6936
+ - wasm-bindgen-shared 0.2.130 (https://github.com/wasm-bindgen/wasm-bindgen/tree/master/crates/shared) by The wasm-bindgen Developers
6937
+ - wasm-bindgen 0.2.130 (https://github.com/wasm-bindgen/wasm-bindgen) by The wasm-bindgen Developers
6722
6938
  - xattr 1.6.1 (https://github.com/Stebalien/xattr) by Steven Allen <steven@stebalien.com>
6723
6939
 
6724
6940
  Apache License
@@ -8946,6 +9162,7 @@ Used by:
8946
9162
  - time-core 0.1.9 (https://github.com/time-rs/time) by Jacob Pratt <open-source@jhpratt.dev>, Time contributors
8947
9163
  - time 0.3.49 (https://github.com/time-rs/time) by Jacob Pratt <open-source@jhpratt.dev>, Time contributors
8948
9164
  - typed-path 0.12.3 (https://github.com/chipsenkbeil/typed-path) by Chip Senkbeil <chip@senkbeil.org>
9165
+ - typed-path 0.13.0 (https://github.com/chipsenkbeil/typed-path) by Chip Senkbeil <chip@senkbeil.org>
8949
9166
  - typeid 1.0.3 (https://github.com/dtolnay/typeid) by David Tolnay <dtolnay@gmail.com>
8950
9167
  - typetag-impl 0.2.22 (https://github.com/dtolnay/typetag) by David Tolnay <dtolnay@gmail.com>
8951
9168
  - typetag 0.2.22 (https://github.com/dtolnay/typetag) by David Tolnay <dtolnay@gmail.com>
@@ -10085,7 +10302,7 @@ BSD 3-Clause "New" or "Revised" License (BSD-3-Clause)
10085
10302
 
10086
10303
  Used by:
10087
10304
  - h3o-bit 0.1.2 (https://github.com/HydroniumLabs/h3o-bit) by Sylvain Laperche <sylvain.laperche@gmail.com>
10088
- - h3o 0.11.0 (https://github.com/HydroniumLabs/h3o) by Sylvain Laperche <sylvain.laperche@gmail.com>
10305
+ - h3o 0.11.1 (https://github.com/HydroniumLabs/h3o) by Sylvain Laperche <sylvain.laperche@gmail.com>
10089
10306
 
10090
10307
  Redistribution and use in source and binary forms, with or without modification,
10091
10308
  are permitted provided that the following conditions are met:
@@ -11805,7 +12022,7 @@ SOFTWARE.
11805
12022
  MIT License (MIT)
11806
12023
 
11807
12024
  Used by:
11808
- - arrow-array 60.0.0 (https://github.com/apache/arrow-rs) by Apache Arrow <dev@arrow.apache.org>
12025
+ - arrow-array 60.1.0 (https://github.com/apache/arrow-rs) by Apache Arrow <dev@arrow.apache.org>
11809
12026
 
11810
12027
  MIT License
11811
12028
 
@@ -12011,10 +12228,10 @@ MIT License (MIT)
12011
12228
 
12012
12229
  Used by:
12013
12230
  - freestiler-core 0.1.0 (https://github.com/walkerke/freestiler)
12014
- - geolibre-cli 1.8.1 (https://github.com/opengeos/geolibre-rust)
12015
- - geolibre-pmtiles 1.8.1 (https://github.com/opengeos/geolibre-rust)
12016
- - geolibre-tools 1.8.1 (https://github.com/opengeos/geolibre-rust)
12017
- - geolibre-wasm 1.8.1 (https://github.com/opengeos/geolibre-rust)
12231
+ - geolibre-cli 1.8.2 (https://github.com/opengeos/geolibre-rust)
12232
+ - geolibre-pmtiles 1.8.2 (https://github.com/opengeos/geolibre-rust)
12233
+ - geolibre-tools 1.8.2 (https://github.com/opengeos/geolibre-rust)
12234
+ - geolibre-wasm 1.8.2 (https://github.com/opengeos/geolibre-rust)
12018
12235
  - i_key_sort 0.10.3 (https://github.com/iShape-Rust/iKeySort) by Nail Sharipov <nailxsharipov@gmail.com>
12019
12236
  - libm 0.2.16 (https://github.com/rust-lang/compiler-builtins) by Alex Crichton <alex@alexcrichton.com>, Amanieu d'Antras <amanieu@gmail.com>, Jorge Aparicio <japaricious@gmail.com>, Trevor Gross <tg@trevorgross.com>
12020
12237
  - simd_helpers 0.1.0 (https://github.com/lu-zero/simd_helpers) by Luca Barbato <lu_zero@gentoo.org>
@@ -12257,7 +12474,7 @@ MIT License (MIT)
12257
12474
  Used by:
12258
12475
  - tracing-core 0.1.36 (https://github.com/tokio-rs/tracing) by Tokio Contributors <team@tokio.rs>
12259
12476
  - zip 8.6.0 (https://github.com/zip-rs/zip2) by Mathijs van de Nes <git@mathijs.vd-nes.nl>, Marli Frost <marli@frost.red>, Ryan Levick <ryan.levick@gmail.com>, Chris Hennick <hennickc@amazon.com>
12260
- - zip 9.0.3 (https://github.com/zip-rs/zip2) by Mathijs van de Nes <git@mathijs.vd-nes.nl>, Marli Frost <marli@frost.red>, Ryan Levick <ryan.levick@gmail.com>, Chris Hennick <hennickc@amazon.com>
12477
+ - zip 9.3.0 (https://github.com/zip-rs/zip2) by Mathijs van de Nes <git@mathijs.vd-nes.nl>, Marli Frost <marli@frost.red>, Ryan Levick <ryan.levick@gmail.com>, Chris Hennick <hennickc@amazon.com>
12261
12478
 
12262
12479
  The MIT License (MIT)
12263
12480
 
@@ -13264,7 +13481,7 @@ the following restrictions:
13264
13481
  3. This notice may not be removed or altered from any source distribution.
13265
13482
 
13266
13483
  ================================================================================
13267
- NOTICE from: arrow-array 60.0.0, arrow-buffer 60.0.0, arrow-cmp 60.0.0, arrow-data 60.0.0, arrow-ipc 60.0.0, arrow-schema 60.0.0, arrow-select 60.0.0, parquet 60.0.0
13484
+ NOTICE from: arrow-array 60.1.0, arrow-buffer 60.1.0, arrow-cmp 60.1.0, arrow-data 60.1.0, arrow-ipc 60.1.0, arrow-schema 60.1.0, arrow-select 60.1.0, parquet 60.1.0
13268
13485
 
13269
13486
  Apache Arrow
13270
13487
  Copyright 2016-2026 The Apache Software Foundation
package/geolibre-cli.wasm CHANGED
Binary file
@@ -32,7 +32,7 @@ export class CogBuilder {
32
32
  * Set the full affine geo-transform:
33
33
  * `[x_origin, pixel_width, row_rotation, y_origin, col_rotation, pixel_height]`.
34
34
  */
35
- set_geo_transform(gt: Float64Array): void;
35
+ set_geo_transform(gt: Float64Array | number[]): void;
36
36
  /**
37
37
  * Set the no-data sentinel value.
38
38
  */
@@ -44,7 +44,7 @@ export class CogBuilder {
44
44
  /**
45
45
  * Explicit overview decimation factors (e.g. `[2,4,8]`); empty disables overviews.
46
46
  */
47
- set_overview_levels(levels: Uint32Array): void;
47
+ set_overview_levels(levels: Uint32Array | number[]): void;
48
48
  /**
49
49
  * Set a user-defined projected CRS from a PROJ string (as returned by
50
50
  * `GeoTiffReader.proj_string`), for a CRS with no EPSG code. Replaces any
@@ -59,15 +59,15 @@ export class CogBuilder {
59
59
  /**
60
60
  * Encode `f32` pixel data to a COG. `Uint8Array`.
61
61
  */
62
- write_f32(data: Float32Array): Uint8Array;
62
+ write_f32(data: Float32Array | number[]): Uint8Array;
63
63
  /**
64
64
  * Encode `f64` pixel data to a COG. `Uint8Array`.
65
65
  */
66
- write_f64(data: Float64Array): Uint8Array;
66
+ write_f64(data: Float64Array | number[]): Uint8Array;
67
67
  /**
68
68
  * Encode `u8` pixel data to a COG. `Uint8Array`.
69
69
  */
70
- write_u8(data: Uint8Array): Uint8Array;
70
+ write_u8(data: Uint8Array | number[]): Uint8Array;
71
71
  }
72
72
 
73
73
  /**
@@ -94,7 +94,7 @@ export class CogStream {
94
94
  * because some user-defined projected GeoTIFFs expose only their geographic
95
95
  * base EPSG code.
96
96
  */
97
- bbox_to_dataset_crs(bbox_epsg: number, bbox: Float64Array): Float64Array;
97
+ bbox_to_dataset_crs(bbox_epsg: number, bbox: Float64Array | number[]): Float64Array;
98
98
  /**
99
99
  * Bounding box `[min_x, min_y, max_x, max_y]` in the dataset CRS, or empty.
100
100
  */
@@ -116,7 +116,7 @@ export class CogStream {
116
116
  * pixel-interleaved, length `tile_width * tile_height * bands`. Edge tiles
117
117
  * come back full-size; clip to the image/window on the JS side.
118
118
  */
119
- decode_tile_f64(level: number, tile_bytes: Uint8Array): Float64Array;
119
+ decode_tile_f64(level: number, tile_bytes: Uint8Array | number[]): Float64Array;
120
120
  /**
121
121
  * Level-0 geo-transform `[x_origin, pixel_width, row_rot, y_origin, col_rot,
122
122
  * pixel_height]`, or empty if not georeferenced.
@@ -130,15 +130,15 @@ export class CogStream {
130
130
  /**
131
131
  * Parse a COG's tile layout from front-of-file header bytes.
132
132
  */
133
- constructor(header_bytes: Uint8Array);
133
+ constructor(header_bytes: Uint8Array | number[]);
134
134
  /**
135
135
  * Reproject x,y coordinate pairs from this COG's dataset CRS to an EPSG CRS.
136
136
  */
137
- points_from_dataset_crs(dst_epsg: number, xy: Float64Array): Float64Array;
137
+ points_from_dataset_crs(dst_epsg: number, xy: Float64Array | number[]): Float64Array;
138
138
  /**
139
139
  * Reproject x,y coordinate pairs from an EPSG CRS into this COG's dataset CRS.
140
140
  */
141
- points_to_dataset_crs(src_epsg: number, xy: Float64Array): Float64Array;
141
+ points_to_dataset_crs(src_epsg: number, xy: Float64Array | number[]): Float64Array;
142
142
  /**
143
143
  * `[offset, length]` byte range of the tile at `(col, row)` on `level`.
144
144
  */
@@ -203,7 +203,7 @@ export class GeoTiffReader {
203
203
  /**
204
204
  * Parse a GeoTIFF / BigTIFF / COG from raw bytes.
205
205
  */
206
- constructor(data: Uint8Array);
206
+ constructor(data: Uint8Array | number[]);
207
207
  /**
208
208
  * Read every band as `f64`, interleaved per pixel (`band0,band1,...`).
209
209
  */
@@ -282,7 +282,7 @@ export class PmtilesExtractor {
282
282
  * Hand back the bytes of one `wanted_json()` range, identified by its
283
283
  * offset. Ranges may be fed in any order.
284
284
  */
285
- feed(offset: number, bytes: Uint8Array): void;
285
+ feed(offset: number, bytes: Uint8Array | number[]): void;
286
286
  /**
287
287
  * Assemble the extracted archive. Consumes the extractor's buffers; the
288
288
  * returned `Uint8Array` is a complete `.pmtiles` file.
@@ -451,7 +451,7 @@ export function __start(): void;
451
451
  * Convex hull of a 2D point set. Input is `[x0,y0,x1,y1,...]`; output is the
452
452
  * hull ring as `[x0,y0,...]` (closed). Needs at least 3 points.
453
453
  */
454
- export function convex_hull(points_xy: Float64Array): Float64Array;
454
+ export function convex_hull(points_xy: Float64Array | number[]): Float64Array;
455
455
 
456
456
  /**
457
457
  * Decode only a GeoTIFF's header and return its metadata as JSON. O(header)
@@ -461,19 +461,19 @@ export function convex_hull(points_xy: Float64Array): Float64Array;
461
461
  * `{"ok":true,"width","height","bands","epsg"|null,"nodata"|null,
462
462
  * "bits_per_sample","sample_format","compression","tiled","bigtiff"}`
463
463
  */
464
- export function geotiff_info(data: Uint8Array): string;
464
+ export function geotiff_info(data: Uint8Array | number[]): string;
465
465
 
466
466
  /**
467
467
  * Read a single band of pixel values as an `f64` `Float64Array` (any on-disk
468
468
  * sample format is converted), row-major, length `width * height`.
469
469
  */
470
- export function geotiff_read_band_f64(data: Uint8Array, band: number): Float64Array;
470
+ export function geotiff_read_band_f64(data: Uint8Array | number[], band: number): Float64Array;
471
471
 
472
472
  /**
473
473
  * Decode a GeoTIFF and return band-0 summary statistics as JSON:
474
474
  * `{"ok":true,"width","height","bands","epsg","valid","min","max","mean"}`.
475
475
  */
476
- export function geotiff_stats(data: Uint8Array): string;
476
+ export function geotiff_stats(data: Uint8Array | number[]): string;
477
477
 
478
478
  /**
479
479
  * LiDAR formats this build can read from memory.
@@ -486,17 +486,17 @@ export function lidar_formats(): string;
486
486
  * `{"ok":true,"format","points","epsg"|null,"point_format"|null,
487
487
  * "bounds":[min_x,min_y,min_z,max_x,max_y,max_z]|null,"copc":bool}`.
488
488
  */
489
- export function lidar_info(data: Uint8Array, format: string): string;
489
+ export function lidar_info(data: Uint8Array | number[], format: string): string;
490
490
 
491
491
  /**
492
492
  * Read per-point classification codes as a `Uint8Array` (length `point_count`).
493
493
  */
494
- export function lidar_read_classification(data: Uint8Array, format: string): Uint8Array;
494
+ export function lidar_read_classification(data: Uint8Array | number[], format: string): Uint8Array;
495
495
 
496
496
  /**
497
497
  * Read per-point intensity as a `Uint16Array` (length `point_count`).
498
498
  */
499
- export function lidar_read_intensity(data: Uint8Array, format: string): Uint16Array;
499
+ export function lidar_read_intensity(data: Uint8Array | number[], format: string): Uint16Array;
500
500
 
501
501
  /**
502
502
  * Read all point coordinates as an interleaved `Float64Array`
@@ -505,7 +505,7 @@ export function lidar_read_intensity(data: Uint8Array, format: string): Uint16Ar
505
505
  * Guarded against 32-bit memory blowup; very large clouds return a clean error
506
506
  * (read the header with `lidar_info`, or downsample on your side).
507
507
  */
508
- export function lidar_read_xyz(data: Uint8Array, format: string): Float64Array;
508
+ export function lidar_read_xyz(data: Uint8Array | number[], format: string): Float64Array;
509
509
 
510
510
  /**
511
511
  * Global Moran's I spatial autocorrelation for point data, using a binary
@@ -516,7 +516,7 @@ export function lidar_read_xyz(data: Uint8Array, format: string): Float64Array;
516
516
  *
517
517
  * Builds neighbors in O(n^2); intended for up to a few thousand points.
518
518
  */
519
- export function morans_i(points_xy: Float64Array, values: Float64Array, distance_threshold: number): string;
519
+ export function morans_i(points_xy: Float64Array | number[], values: Float64Array | number[], distance_threshold: number): string;
520
520
 
521
521
  /**
522
522
  * Reproject a bbox between two EPSG CRSs.
@@ -525,12 +525,12 @@ export function morans_i(points_xy: Float64Array, values: Float64Array, distance
525
525
  * densified so projected extrema that fall along an edge are preserved better
526
526
  * than a corner-only transform.
527
527
  */
528
- export function transform_bbox_epsg(src_epsg: number, dst_epsg: number, bbox: Float64Array): Float64Array;
528
+ export function transform_bbox_epsg(src_epsg: number, dst_epsg: number, bbox: Float64Array | number[]): Float64Array;
529
529
 
530
530
  /**
531
531
  * Reproject x,y coordinate pairs between two EPSG CRSs.
532
532
  */
533
- export function transform_points_epsg(src_epsg: number, dst_epsg: number, xy: Float64Array): Float64Array;
533
+ export function transform_points_epsg(src_epsg: number, dst_epsg: number, xy: Float64Array | number[]): Float64Array;
534
534
 
535
535
  /**
536
536
  * Vector formats this build can read from memory (comma-separated).
@@ -542,7 +542,7 @@ export function vector_formats(): string;
542
542
  * `{"ok":true,"name","features","geometry","epsg"|null,"fields":[...],
543
543
  * "bbox":[min_x,min_y,max_x,max_y]|null}`.
544
544
  */
545
- export function vector_info(data: Uint8Array, format: string): string;
545
+ export function vector_info(data: Uint8Array | number[], format: string): string;
546
546
 
547
547
  /**
548
548
  * Read a vector dataset and return it as a GeoArrow-encoded Arrow IPC stream.
@@ -551,14 +551,14 @@ export function vector_info(data: Uint8Array, format: string): string;
551
551
  * the bytes to `tableFromIPC` (apache-arrow) or
552
552
  * `insertArrowFromIPCStream` (DuckDB-WASM).
553
553
  */
554
- export function vector_to_arrow_ipc(data: Uint8Array, format: string): Uint8Array;
554
+ export function vector_to_arrow_ipc(data: Uint8Array | number[], format: string): Uint8Array;
555
555
 
556
556
  /**
557
557
  * Read a vector dataset, reproject it to `dst_epsg`, and return a GeoArrow
558
558
  * Arrow IPC stream. `src_epsg` of `0` uses the layer's own CRS (falling back
559
559
  * to EPSG:4326).
560
560
  */
561
- export function vector_to_arrow_ipc_reproject(data: Uint8Array, format: string, dst_epsg: number, src_epsg: number): Uint8Array;
561
+ export function vector_to_arrow_ipc_reproject(data: Uint8Array | number[], format: string, dst_epsg: number, src_epsg: number): Uint8Array;
562
562
 
563
563
  /**
564
564
  * Read a vector dataset and return its geometry and attributes as flat typed
@@ -566,19 +566,19 @@ export function vector_to_arrow_ipc_reproject(data: Uint8Array, format: string,
566
566
  *
567
567
  * `format` accepts the same names as [`crate::vector::vector_formats`].
568
568
  */
569
- export function vector_to_binary(data: Uint8Array, format: string): VectorBinary;
569
+ export function vector_to_binary(data: Uint8Array | number[], format: string): VectorBinary;
570
570
 
571
571
  /**
572
572
  * Read a vector dataset, reproject it to `dst_epsg`, and return flat typed
573
573
  * arrays. `src_epsg` of `0` uses the layer's own CRS (falling back to
574
574
  * EPSG:4326), matching [`crate::vector::vector_to_geojson_reproject`].
575
575
  */
576
- export function vector_to_binary_reproject(data: Uint8Array, format: string, dst_epsg: number, src_epsg: number): VectorBinary;
576
+ export function vector_to_binary_reproject(data: Uint8Array | number[], format: string, dst_epsg: number, src_epsg: number): VectorBinary;
577
577
 
578
578
  /**
579
579
  * Read a vector dataset and return it as a GeoJSON `FeatureCollection` string.
580
580
  */
581
- export function vector_to_geojson(data: Uint8Array, format: string): string;
581
+ export function vector_to_geojson(data: Uint8Array | number[], format: string): string;
582
582
 
583
583
  /**
584
584
  * Read a vector dataset, reproject it to `dst_epsg`, and return GeoJSON.
@@ -587,7 +587,7 @@ export function vector_to_geojson(data: Uint8Array, format: string): string;
587
587
  * `src_epsg` overrides the source CRS: pass `0` to use the layer's own CRS, or
588
588
  * fall back to EPSG:4326 if it declares none (GeoJSON is WGS84 by RFC 7946).
589
589
  */
590
- export function vector_to_geojson_reproject(data: Uint8Array, format: string, dst_epsg: number, src_epsg: number): string;
590
+ export function vector_to_geojson_reproject(data: Uint8Array | number[], format: string, dst_epsg: number, src_epsg: number): string;
591
591
 
592
592
  /**
593
593
  * Semantic version of this crate, exposed for runtime feature detection.
@@ -728,7 +728,9 @@ export interface InitOutput {
728
728
  readonly __wbindgen_export: (a: number, b: number, c: number) => void;
729
729
  readonly __wbindgen_export2: (a: number, b: number) => number;
730
730
  readonly __wbindgen_export3: (a: number, b: number, c: number, d: number) => number;
731
+ readonly __wbindgen_externrefs: WebAssembly.Table;
731
732
  readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
733
+ readonly __wbindgen_export4: (a: number) => void;
732
734
  readonly __wbindgen_start: () => void;
733
735
  }
734
736