Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无论我怎么使用,哪怕是使用测试数据,他总会报错 #11

Open
fuhudalong opened this issue Sep 18, 2024 · 0 comments
Open

Comments

@fuhudalong
Copy link

C:\Users\14443\Downloads>dem2terrain -z 4-10 -e terrarium -i test.tif -o D:\BaiduNetdiskDownload\tile.mbtiles -g 4326

开始转换...

  • 输入文件: C:\Users\14443\Downloads\test.tif
  • 输出路径: D:\BaiduNetdiskDownload\tile.mbtiles
  • Tile适用坐标系: EPSG:4326
  • 瓦片编码: terrarium
  • 瓦片尺寸: 256 px
  • 瓦片等级: 4 至 10 级

步骤1: 重投影至 EPSG:4326 - 完成
步骤2: 构建影像金字塔索引 - 完成
步骤3: 完成 - 100.00% ████████████████████████████████████████████████████████████ 37/37C:\Users\14443\AppData\Roaming\npm\node_modules\dem2terrain\src\mbtiles-util.js:10
mbtiles.startWriting(function (err) {
^

TypeError: Cannot read properties of undefined (reading 'startWriting')
at C:\Users\14443\AppData\Roaming\npm\node_modules\dem2terrain\src\mbtiles-util.js:10:25
at Database. (C:\Users\14443\AppData\Roaming\npm\node_modules\dem2terrain\node_modules@mapbox\mbtiles\lib\mbtiles.js:81:25)

Node.js v20.17.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant