Cesium: 512px Tile Support Broke

Created on 30 Mar 2018  路  7Comments  路  Source: CesiumGS/cesium

Sandcastle

Screenshot:
screen shot 2018-03-30 at 1 29 03 pm

Fixed by offsetting {z} tag replacement + 1.

Varying tile sizes used to work just fine. I don't know when this broke or which commit is to blame.

category - terrain and imagery type - bug

All 7 comments

Thanks @NaderCHASER, what's the last release you know this worked in?

It's been over a year @hpinkos. I found an ol-cesium issue from May 11, 2017 which reports this exact problem (but proposes - 1 level offset).

https://github.com/openlayers/ol-cesium/issues/457

I'll likely end up with a PR to fix this as I'm migrating from 256px tiles to 512px tiles. No guarantee you all won't beat me, though.

Gotcha. Yeah if you have time to look into it that would be greatly appreciated @NaderCHASER! I'm not sure we'll be able to very soon.

@NaderCHASER +1 if you are able to submit a PR. Also, we would be very interested to hear how 512px tiles perform in Cesium!

256px Tiles

154 network requests
Load Time: ~8.2s

512px Tiles

46 network requests
512px Tiles - ~3.6s

Even with HTTP(S)/2's multiplexing, my 512px tiles were served and viewable over twice as fast as with 256px tiles.

I needed to confirm that my custom tiler wasn't responsible for the 256px vs. 512px tile bug in Cesium. I did this through a JSFiddle running Leaflet, which displayed my 512px tiles properly.

Currently, I'm using the basic fix of offsetting the zoom +1. This week I'll have more time to dig into Git blame and find the cause of this issue and hopefully get a PR submitted.

Sorry for the delay.

Wow, that's very promising @NaderCHASER! Looking forward to your PR 馃槃

I've determined that the issues were with the calculations being performed by an open source tiler, not Cesium. Please accept my apologies for the false alarm. The other tiler has been corrected and Cesium is displaying beautiful 512px tiles with much improved performance.

Was this page helpful?
0 / 5 - 0 ratings