But I got the following error when running the script. Please kindly help, thank you!
Error at IncomingMessage.<anonymous> (C:\Users\****\Desktop\test\mobius-data-converter\node_modules\shpjs\lib\binaryajax.js:33:27) at IncomingMessage.emit (events.js:187:15) at endReadableNT (_stream_readable.js:1094:12) at process._tickCallback (internal/process/next_tick.js:63:19)
Hi,
I was trying to convert a shape file .zip to geojson. My code is here in script.js https://github.com/design-automation/mobius-data-converter/tree/dev
The shape file is in /files/stations.zip
I can access http://localhost/stations.zip to download the file.
But I got the following error when running the script. Please kindly help, thank you!
Error at IncomingMessage.<anonymous> (C:\Users\****\Desktop\test\mobius-data-converter\node_modules\shpjs\lib\binaryajax.js:33:27) at IncomingMessage.emit (events.js:187:15) at endReadableNT (_stream_readable.js:1094:12) at process._tickCallback (internal/process/next_tick.js:63:19)