-
Notifications
You must be signed in to change notification settings - Fork 348
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
Can not add the terrain data in cesium #96
Comments
I'm facing the same issue. Javascript debugging console reports:
layers.json and the first tile (zoom level) are loaded fine , http://localhost:8083/data/tin/0/0/0.terrain?v=1.1.0 returns data and corect Content-type Generated using intput GeoTIFF and -N -C options Running ctb-info ctb-info tin7/9/559/395.terrain NOTE: It seems I've used different docker image. Will test with homme/cesium-terrain-builder and report. Sorry for disturbance. |
I am also getting the same problem with Cesium Terrain Builder with quantized mesh. Please help me on this. I am stuck on this problem for over a month |
Any progress on this. I am also getting same error. Cant understand where I did wrong |
I've checked the |
Can you mention which version of Cesium and ctb-tile tools you used? Have you done any settings in tomcat server? |
The main reason that you can't load terrain file into cesium is because |
I can confirm this. Check this for a possible solution: |
Sadly the problem still persists for me although the Content-Encoding is correctly set to gzip and the Content-Type to application/octet-stream. The error message in the console using chrome is: I tried it both with a dataset in float32 and UInt16. The layer.json can also be loaded. I am using geo-data/cesium-terrain-server as server. EDIT: I found the problem, the terrain sever removes for some reason the available array from the |
I got the same problem |
I use docker container cesium-terrain-builder to generate terrain tiles (ctb-tile -f Mesh -C -N -v -o ./terrain/ ./XXX.vrt) , then use cesium-terrain-server to server terrain tiles, a cesium client error occurs :
finally,i found .terrain file is compressed (gzip), then use nginx to server it :
then solved it ! I am sure this is the key point :
reference: |
@Gitwinters1973 |
Hey there, |
@crocij |
At the start of the |
Cool. I ended up fixing it by using the docker container rinstead of compiling the Go code. |
PAID Commercial Cesium Quantized Mesh Terrain Tile Serving (from MBTILES) Perfect for Cesium WebGL, Cesium Game Engines, Other Solutions |
Serve Quantized Mesh in Android App (from MBTILES) or |
At first i get the terrain tile use
ctb-tile --output-dir ./terrain-tiles dem.tif
The I add the data in tomcat webapp root dir, which as
apache-tomcat-10.0.2\webapps\ROOT\output-dir
I add the terrain use
The world is black and can not see anything
The http request have only one for 0/1/0.terrain
The text was updated successfully, but these errors were encountered: