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

404 error when trying to access tilesets #20

Closed earthinsight closed 5 years ago

earthinsight commented 5 years ago

So have run the command as follows:

docker run -p 8080:8000 -v /data/docker/tilesets/terrain:/data/tilesets/terrain \ geodata/cesium-terrain-server ]

Data has been placed in the appropriate directory on the host and maps through to the container and is visible.

The demo app runs ok at http:x.x.x.x:8080/

However trying various URL combinations I get nothing more than a 404 error or tile set doesn't exist :-

x.x.x.x:8080/data/tilesets/terrain/0/0/0.terrain x.x.x.x:8080/tilesets/terrain/0/0/0.terrain

All produce the same end result. Is there something obvious I am missing?

Thanks.

earthinsight commented 5 years ago

Resolved. Had to create explicit directory below /tilesets/terrain for the tileset in use and it worked.