Skip to content

Commit 1778b84

Browse files
RangerMauveMauve Signweaverachou11
authored
feat: export GeoJSON stream (#1029)
* feat: export GeoJSON stream * chore: Add more tests for export, make TS happy * feat: project.exportGeoJSONFile with tests and fixes * fix: Use coords for track geometry, make TS happy * feat: Zip export (json only) * feat: Add attachments to zip export * fix: Make TS happy with zip-stream-promise * fix: Sanitize file output names * chore: Hide export stream methods behind a symbol * Update src/utils.js Co-authored-by: Andrew Chou <[email protected]> * Update src/mapeo-project.js Co-authored-by: Andrew Chou <[email protected]> * Update src/mapeo-project.js Co-authored-by: Andrew Chou <[email protected]> * chore: fix pr comments, add variant folder to attachments * chore: More robust handling of observation geometry --------- Co-authored-by: Mauve Signweaver <[email protected]> Co-authored-by: Andrew Chou <[email protected]>
1 parent 16902ac commit 1778b84

File tree

6 files changed

+1010
-6
lines changed

6 files changed

+1010
-6
lines changed

package-lock.json

Lines changed: 185 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@
142142
"mapeo-offline-map": "^2.0.0",
143143
"math-random-seed": "^2.0.0",
144144
"nanobench": "^3.0.0",
145+
"node-stream-zip": "^1.15.0",
145146
"npm-run-all": "^4.1.5",
146147
"prettier": "^2.8.8",
147148
"random-access-file": "^4.0.7",
@@ -210,6 +211,7 @@
210211
"varint": "^6.0.0",
211212
"ws": "^8.18.0",
212213
"xstate": "^5.19.2",
213-
"yauzl-promise": "^4.0.0"
214+
"yauzl-promise": "^4.0.0",
215+
"zip-stream-promise": "^1.0.2"
214216
}
215217
}

0 commit comments

Comments
 (0)