connormanning / ept-tools

Entwine Point Tile point cloud utilities
https://entwine.io
MIT License
53 stars 27 forks source link

Tile command asm.js error #25

Closed ali-sx closed 2 years ago

ali-sx commented 2 years ago

I'm using ept tile to convert EPT data to 3D tiles using this command :

$ ept tile --input tmp\ept.json -fv

I have node v14.18.0 and ept-tools v0.0.13 installed using npm.

But I get the following error :

(node:12744) V8: [---]\npm\node_modules\ept-tools\lib\lib\laz-perf.asm.js:2994 Invalid asm.js: Expected numeric literal.
(Use `node --trace-warnings ...` to show where the warning was created)

Full output :

Tiling: tmp -> tmp\ept-tileset
Threads: 8
Overwriting output
(node:12744) V8: [---]\npm\node_modules\ept-tools\lib\lib\laz-perf.asm.js:2994 Invalid asm.js: Expected numeric literal.
(Use `node --trace-warnings ...` to show where the warning was created)
Translating metadata...
0/1: tileset.json
index.js tile [input]

Translate EPT to 3D Tiles at rest

Options:
      --version     Show version number                                [boolean]
      --help        Show help                                          [boolean]
  -i, --input       Path to ept.json file                    [string] [required]
  -o, --output      Tileset output path  [string] [default: <input>/ept-tileset]
  -t, --threads     Number of parallel threads             [number] [default: 8]
  -f, --force       Overwrite existing output, if present
                                                      [boolean] [default: false]
  -v, --verbose     Enable verbose logs               [boolean] [default: false]
      --dimensions  Dimensions to be added to the batch table            [array]
      --z-offset    Elevation offset to raise/lower the resulting point cloud
                                                                        [number]
      --truncate    Truncate 16-bit colors to 8-bit   [boolean] [default: false]

epsg:4978

Is it related to this commit and this one ?

Update

It doesn't seem to be the real issue. I managed to run ept tile on the test data. I had the exact same error but it didn't interrupt the program.