mapbox / shp-write

create and write to shapefiles in pure javascript
BSD 3-Clause "New" or "Revised" License
292 stars 186 forks source link

offset for version byte can be incorrect #10

Closed tmcw closed 8 years ago

tmcw commented 10 years ago

https://app.getsentry.com/geojsonio/production/group/8249619/

// version number
view.setUint8(0, 3);
frankrowe commented 9 years ago

Ran into this trying to download SHPs from geojson.io. I think it's caused by fields containing a null value. Working on a fix in https://github.com/frankrowe/dbf

tmcw commented 8 years ago

Fixed since in dbf