@@ -298,6 +298,80 @@ Clear data if we've left the project. No-op if you're still in the project.
298
298
299
299
***
300
300
301
+ ### \[ kExportGeoJSONStream\] ()
302
+
303
+ > ** \[ kExportGeoJSONStream\] ** (` options ` ?): ` Readable ` \< ` Uint8Array ` \| ` Buffer ` , ` Uint8Array ` \| ` Buffer ` , ` Uint8Array ` \| ` Buffer ` , ` true ` , ` false ` , ` ReadableEvents ` \< ` Uint8Array ` \| ` Buffer ` \>\>
304
+
305
+ Export observations and or tracks as a stream of GeoJSON data
306
+
307
+ #### Parameters
308
+
309
+ • ** options?** = ` {} `
310
+
311
+ • ** options.lang?** : ` undefined ` \| ` string `
312
+
313
+ • ** options.observations?** : ` undefined ` \| ` boolean ` = ` true `
314
+
315
+ Whether observations should be exported
316
+
317
+ • ** options.seenAttachments?** : ` undefined ` \| [ ` SeenAttachments ` ] ( ../type-aliases/SeenAttachments.md ) = ` ... `
318
+
319
+ • ** options.tracks?** : ` undefined ` \| ` boolean ` = ` true `
320
+
321
+ Whether all tracks and their observations should be exported
322
+
323
+ #### Returns
324
+
325
+ ` Readable ` \< ` Uint8Array ` \| ` Buffer ` , ` Uint8Array ` \| ` Buffer ` , ` Uint8Array ` \| ` Buffer ` , ` true ` , ` false ` , ` ReadableEvents ` \< ` Uint8Array ` \| ` Buffer ` \>\>
326
+
327
+ ***
328
+
329
+ ### \[ kExportZipStream\] ()
330
+
331
+ > ** \[ kExportZipStream\] ** (` options ` ?): ` Readable ` \< ` Uint8Array ` \| ` Buffer ` , ` Uint8Array ` \| ` Buffer ` , ` Uint8Array ` \| ` Buffer ` , ` true ` , ` false ` , ` ReadableEvents ` \< ` Uint8Array ` \| ` Buffer ` \>\>
332
+
333
+ Export observations, tracks, and or attachments as a zip file stream.
334
+
335
+ #### Parameters
336
+
337
+ • ** options?** = ` {} `
338
+
339
+ • ** options.attachments?** : ` undefined ` \| ` boolean ` = ` true `
340
+
341
+ Whether all attachments for observations should be exported
342
+
343
+ • ** options.lang?** : ` undefined ` \| ` string `
344
+
345
+ • ** options.observations?** : ` undefined ` \| ` boolean ` = ` true `
346
+
347
+ Whether observations should be exported
348
+
349
+ • ** options.tracks?** : ` undefined ` \| ` boolean ` = ` true `
350
+
351
+ Whether all tracks and their observations should be exported
352
+
353
+ #### Returns
354
+
355
+ ` Readable ` \< ` Uint8Array ` \| ` Buffer ` , ` Uint8Array ` \| ` Buffer ` , ` Uint8Array ` \| ` Buffer ` , ` true ` , ` false ` , ` ReadableEvents ` \< ` Uint8Array ` \| ` Buffer ` \>\>
356
+
357
+ ***
358
+
359
+ ### \[ kGeoJSONFileName\] ()
360
+
361
+ > ** \[ kGeoJSONFileName\] ** (` observations ` , ` tracks ` ): ` Promise ` \< ` string ` \>
362
+
363
+ #### Parameters
364
+
365
+ • ** observations** : ` boolean `
366
+
367
+ • ** tracks** : ` boolean `
368
+
369
+ #### Returns
370
+
371
+ ` Promise ` \< ` string ` \>
372
+
373
+ ***
374
+
301
375
### \[ kProjectLeave\] ()
302
376
303
377
> ** \[ kProjectLeave\] ** (): ` Promise ` \< ` void ` \>
@@ -420,6 +494,74 @@ When device ID cannot be found.
420
494
421
495
***
422
496
497
+ ### exportGeoJSONFile()
498
+
499
+ > ** exportGeoJSONFile** (` exportFolder ` , ` options ` ?): ` Promise ` \< ` string ` \>
500
+
501
+ Export observations and or tracks as a GeoJSON file
502
+
503
+ #### Parameters
504
+
505
+ • ** exportFolder** : ` string `
506
+
507
+ Path to save the file. The file name is auto-generated
508
+
509
+ • ** options?** = ` {} `
510
+
511
+ • ** options.lang?** : ` undefined ` \| ` string `
512
+
513
+ • ** options.observations?** : ` undefined ` \| ` boolean ` = ` true `
514
+
515
+ Whether observations should be exported
516
+
517
+ • ** options.tracks?** : ` undefined ` \| ` boolean ` = ` true `
518
+
519
+ Whether all tracks and their observations should be exported
520
+
521
+ #### Returns
522
+
523
+ ` Promise ` \< ` string ` \>
524
+
525
+ The full path that the file was exported at
526
+
527
+ ***
528
+
529
+ ### exportZipFile()
530
+
531
+ > ** exportZipFile** (` exportFolder ` , ` options ` ?): ` Promise ` \< ` string ` \>
532
+
533
+ Export observations, tracks, and or attachments as a zip file.
534
+
535
+ #### Parameters
536
+
537
+ • ** exportFolder** : ` string `
538
+
539
+ Path to save the file. The file name is auto-generated
540
+
541
+ • ** options?** = ` {} `
542
+
543
+ • ** options.attachments?** : ` undefined ` \| ` boolean ` = ` true `
544
+
545
+ Whether all attachments for observations should be exported
546
+
547
+ • ** options.lang?** : ` undefined ` \| ` string `
548
+
549
+ • ** options.observations?** : ` undefined ` \| ` boolean ` = ` true `
550
+
551
+ Whether observations should be exported
552
+
553
+ • ** options.tracks?** : ` undefined ` \| ` boolean ` = ` true `
554
+
555
+ Whether all tracks and their observations should be exported
556
+
557
+ #### Returns
558
+
559
+ ` Promise ` \< ` string ` \>
560
+
561
+ The full path that the file was exported at
562
+
563
+ ***
564
+
423
565
### importConfig()
424
566
425
567
> ** importConfig** (` opts ` ): ` Promise ` \< ` Error ` [ ] \>
0 commit comments