Convert image into tiles suitable for cesium's WebMapServiceImageryProvider

I am looking for a tool that helps me create folder organized tiles from a (large) image that can be used to feed Cesium.WebMapServiceImageryProvider

provider = new Cesium.WebMapServiceImageryProvider({
    url : ‘https://localhost/path/to/tiles/root
});

Cesium's docs don't really cover that topic? How did the DarkSky guys do it?

Thanks!
t

Hello,

I’m not sure of a tool for creating WMS tiles, but you can use gdal2tiles to convert images into TMS tiles. Then you can use

Cesium.createTileMapServiceImageryProvider({

url: ‘/path/to/tiles’

});

to add the tiles to Cesium.

Best,

Hannah

Thanks! I guess that's exactly what I have been looking for!