bugra9 / gdal3.js

Convert raster and vector geospatial data to various formats and coordinate systems entirely in the browser.
https://gdal3.js.org
GNU Lesser General Public License v2.1
315 stars 48 forks source link

Node.js FS error #29

Closed aoaochifan closed 2 years ago

aoaochifan commented 2 years ago

when is use Gdal.open() with node.js,there is some error output :

gdal stdout: Error: FS error and gdal stderr: Error: Fs error

windows10 + node.js v16.14.0

bugra9 commented 2 years ago

Hi. If you try to open a file in the same directory like Gdal.open('sample.geojson'), you may get filesystem errors. It is a bug and I fixed it. You can try 2.0.2 version or Gdal.open('./sample.geojson').