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

Viewing tiles generated with ctb-tile tool doesn't work; RangeError: "invalid array length" #16

Open
swiss-knight opened this issue Jan 15, 2020 · 0 comments

Comments

@swiss-knight
Copy link

swiss-knight commented Jan 15, 2020

I've generated some tiles from a DEM (Erdas Imagine format) using the ctb-tile tool under Ubuntu 18.04.

Then I place a symlink in my local repo of the quantized-mesh-viewer to replace the default example-tile/ folder.
I made the necessary changes in the meshUrl variable in the ./src/tile/index.js file.

After what, while navigating to my tile, it doesn't show up, the box stays black.
I double checked that the tile file I used do have a few kilo bytes of data.

In the console, an RangeError: "invalid array length" error is shown:

Source map error: Error: NetworkError when attempting to fetch resource.
Resource URL: moz-extension://944a0c0c-593a-48c7-a8f9-9f42afc3f240/browser-polyfill.js
Source Map URL: browser-polyfill.js.map
THREE.WebGLRenderer 92 three.js:21172:11
RangeError: "invalid array length"
    node_modules index.js:44
    node_modules index.js:246
    createQuantizedMesh create-quantized-mesh.js:326
create-quantized-mesh.js:355
RangeError: "invalid array length"
    node_modules index.js:44
    node_modules index.js:246
    createQuantizedMesh create-quantized-mesh.js:326
create-quantized-mesh.js:355
(...)

Do you have any cue on how to fix this or on the source of the problem?
I also notify the cesium-terrain-builder team of this error: geo-data/cesium-terrain-builder#89

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