jvail / spl.js

SpatiaLite for browser & node
GNU General Public License v3.0
172 stars 18 forks source link

Export Table To ArrayBuffer #31

Open Fsystem opened 6 months ago

Fsystem commented 6 months ago

Use SQLite's ExportSHP to export to /export/out.shp, and then convert /export/out.shp into an ArrayBuffer, similar to how db.save would work.

jvail commented 5 months ago

If you want to export data I recommend use Geopackage (just an SQLite file). I do not want to implement a specific export for shape files but what is indeed missing is generic way to read/export files form the mounted filesystem in the browser.

Fsystem commented 5 months ago

what is indeed missing is generic way to read/export files form the mounted filesystem in the browser. Yes, that's it.