You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you. It appears the current version requires Node v6+ as it depends on buffer.set using the TypedArray implementation; see the release notes. However I can make a small change to make this work on older versions.
I see you have an example that use exactly what i want to have:
https://gist.github.com/mbostock/5557726
My node version:
v4.2.6
0.6.4
v4.2.6 and 0.6.4 are the default for the ubuntu LTS realease.
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
Here what i do:
shp2json fail in both cases:
shp2json states.shp -o states2.json
(node) Buffer.set is deprecated. Use array indexes instead.
error: Invalid array length
shp2json municipalities.shp -o municipalities2.json
(node) Buffer.set is deprecated. Use array indexes instead.
error: Offset is outside the bounds of the DataView
Thanks.
The text was updated successfully, but these errors were encountered: