calvinmetcalf / shapefile-js

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

parseShp returns an exception (data.readInt32 is not a function) #98

Closed ihor-hrechka closed 2 years ago

ihor-hrechka commented 6 years ago

I'm trying to read shape file by using shp.parseShp(shapeFileArray) function but getting the exception:

image

image

image

Shape file info from QGIS:

image

Can you tell me what the reason of this error? Thank you in advance!

calvinmetcalf commented 6 years ago

woops bug on my part, missed something in a conversion