-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tile expiration #99
Comments
@lilleyse what do you think about this new per-tile Use {
"expire": {
"date" : "2012-04-30T12:02Z" // Julian date like CZML, https://github.com/AnalyticalGraphicsInc/czml-writer/wiki/CZML-Structure
},
"boundingVolume": {
// ...
},
"geometricError": 43.88464075650763,
"refine" : "add",
"content": {
"boundingVolume": {
// ...
},
"url": "2/0/0.b3dm"
},
"children": [...]
} Or use {
"expire": {
"duration" : 30 // seconds from when the tile is downloaded (not requested, not first rendered, not generated, etc.)
},
"boundingVolume": {
// ...
},
"geometricError": 43.88464075650763,
"refine" : "add",
"content": {
"boundingVolume": {
// ...
},
"url": "2/0/0.b3dm"
},
"children": [...]
}
For future work for the Cesium implementation, we could also proactively unload expired tiles in our cache that are not visible, but I'll make this a roadmap item. From the server's perspective, |
Just so I'm clear, does expire mean refreshing the whole subtree, or just the content of a single tile? Is this a property worth adding to the |
I would expire the tile and its sub-tree. I don't have a use case for expiring just the tile, but it can be added in a backwards-compatible way if good use cases arise. |
For the spec:
|
For the spec:
|
Cesium implementation: CesiumGS/cesium#4136 |
For the spec:
|
Video: https://youtu.be/JlPLRtFzn5g |
@lilleyse is it reasonable for you to do this spec work? Is the implementation solid enough? Would this be pretty quick? I have lots of notes for the spec throughout this issue. |
The implementation isn't super solid, I want to rethink the approach. I can write the spec for this. |
Let's hold for now, and updated the spec and implementation at the same time. |
Pull request: #217 Nonetheless, let's push post 1.0 for scope. |
Tile expiration be could stored in metadata as a semantic, and the application can re-request content at runtime. Unlikely to make it into the core spec. |
To support some types of dynamic tilesets that may change on the server, consider adding a per-time expiration time stamp (explicit date/time) or duration (in seconds), which indicate when a tile and its sub-tree become invalid and should be re-requested.
The text was updated successfully, but these errors were encountered: