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

Serving sub-directories of tilesets #25

Open swiss-knight opened 4 years ago

swiss-knight commented 4 years ago

Hi,

I just noticed that if I want to store sub-folders of data, e.g. /data/tilesets/terrain/srtm/2010/ I am not able to reach them by using the route: http://localhost:8080/tilesets/srtm/2010/.

This is actually normal as the server is build for a folder structure of depth=1 from the root tilesets folder.

Is it possible to make the server depth-agnostic from this root tliesets directory, so that we can separate different datasets in a clean way?

Thanks.

abhijitgujar86 commented 3 years ago

I think this is an important function . what the use of server if it cannot server multiple datasets . i guess we have .json file to map metadata . so it should work ideally. if not we will need to figure out how to make it.