mapbox / shp-write

create and write to shapefiles in pure javascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not able to import shp files with calvinmetcalf/shapefile-js

ys4503 opened this issue · comments

I can export zipped shape files with no issues and can view them with mapshaper.org. However, with calvinmetcalf/shapefile-js, it’s not able to read the files (just keeps spinning) when I try to import the files and I suspect it might be the encoding. If so, how can I try different encoding? I’m using the maintenance branch

For anyone with the same issue, it happens when the shapes don't have feature properties. Adding any feature properties resolved it.