geo-data / cesium-terrain-server

A basic server for serving up filesystem based tilesets representing Cesium.js terrain models
271 stars 111 forks source link

Not able to view terrain data #17

Closed SurajitChowbey closed 5 years ago

SurajitChowbey commented 5 years ago

I'm using docker in windows 10.

I have used the following steps: docker run -p 8080:8000 -v "${pwd}/tilesets/terrain:/data/tilesets/terrain" geodata/cesium-terrain-server

After this I'm accessing it in: http://localhost:8080

Powershell: console

Terrain data:

terrain_data

Browser error: access_error

Klingseis commented 5 years ago

Hey @SurajitChowbey, I'm not sure if this might be the reason, but did you already try to leave out the "terrain" in the request path? So instead accessing "http://localhost:8080/tilesets/terrain/test", try this: "http://localhost:8080/tilesets/test".

Hope this helps you.

SurajitChowbey commented 5 years ago

Thank you, it solved the issue.

chaitanyajalluri commented 5 years ago

Thank you, it solved the issue.

Hey @SurajitChowbey, I'm not sure if this might be the reason, but did you already try to leave out the "terrain" in the request path? So instead accessing "http://localhost:8080/tilesets/terrain/test", try this: "http://localhost:8080/tilesets/test".

Hope this helps you.

In my case i am getting 404 page not found error while trying http://localhost:9000/tilesets/test and http://localhost:9000/tilesets/terrain/test , and empty globe in case of http://localhost:8080.

Klingseis commented 5 years ago

And your terrainserver is running on port 9000? Did you create the layer.json-file?

chaitanyajalluri commented 5 years ago

thanks a lot. my issue is resolved