calvinmetcalf / shapefile-js

Convert a Shapefile to GeoJSON. Not many caveats.
http://calvinmetcalf.github.io/shapefile-js/
714 stars 228 forks source link

Can't read the data of 'the loaded zip file #190

Open mohammadrezaataeii opened 1 year ago

mohammadrezaataeii commented 1 year ago

I used documentation code and I faced this error : Screenshot 2022-11-06 093359

const archive = file.arrayBuffer(); const geojson = await shp(archive); console.log(geojson);