# split czml to tiles so that it streams data relevant only for that current view

**URL:** <https://community.cesium.com/t/split-czml-to-tiles-so-that-it-streams-data-relevant-only-for-that-current-view/1083>\
**Category:** CesiumJS\
**Created:** [March 19, 2014, 3:30pm UTC](https://community.cesium.com/t/split-czml-to-tiles-so-that-it-streams-data-relevant-only-for-that-current-view/1083 "2014-03-19T15:30:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![maty\_zisserman](https://avatars.discourse-cdn.com/v4/letter/m/c5a1d2/32.png) [@maty\_zisserman](https://community.cesium.com/u/maty_zisserman)\
**Post date:** [March 19, 2014, 3:30pm UTC](https://community.cesium.com/t/split-czml-to-tiles-so-that-it-streams-data-relevant-only-for-that-current-view/1083/1 "2014-03-19T15:30:34Z")

</div>

hi

is there any built in implementation for streaming czml only for the current view

in details :

i’m looking for a way to split my big czml to tiles so that czml will load only the relevant data for that specific view

---

<div class="post-metadata">

**Author:** ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)\
**Post date:** [March 19, 2014, 3:43pm UTC](https://community.cesium.com/t/split-czml-to-tiles-so-that-it-streams-data-relevant-only-for-that-current-view/1083/2 "2014-03-19T15:43:57Z")

</div>

Hi Maty,

There’s not any built-in way to do that. We’ve talked about adding one, but don’t have any concrete plans at the moment.

If you feel like tackling it yourself, take a look at the tiledGeometry branch:

[https://github.com/AnalyticalGraphicsInc/cesium/tree/tiledGeometry](https://github.com/AnalyticalGraphicsInc/cesium/tree/tiledGeometry)

This adds a QuadtreePrimitive that can be used to render any quadtree-organized data. You’ll still need to divide up your CZML into tiles yourself, and you’ll need to write a tile provider that either adds/removes CZML data sources for a file or incorporates tiled CZML objects into a single data source. I don’t know what the performance would be like for this approach, but I’m very curious to find out.

Kevin

---

<div class="post-metadata">

**Author:** ![nharpala](https://avatars.discourse-cdn.com/v4/letter/n/50afbb/32.png) [@nharpala](https://community.cesium.com/u/nharpala)\
**Post date:** [March 31, 2014, 12:38am UTC](https://community.cesium.com/t/split-czml-to-tiles-so-that-it-streams-data-relevant-only-for-that-current-view/1083/3 "2014-03-31T00:38:58Z")

</div>

Hi Maty,

I'm curious as to whether you were able to accomplish this. I am trying to do the exact same thing.

I have incredibly large CZML files that span the time interval of a day. I can break up the CZML file into several files based on time increments,such as one minute intervals.

If you were able to figure out how to do this, I would love to hear what you did as this could be extremely helpful to me.

Thanks!  
Natasha

---

<div class="post-metadata">

**Author:** ![maty\_zisserman](https://avatars.discourse-cdn.com/v4/letter/m/c5a1d2/32.png) [@maty\_zisserman](https://community.cesium.com/u/maty_zisserman)\
**Post date:** [March 31, 2014, 6:12am UTC](https://community.cesium.com/t/split-czml-to-tiles-so-that-it-streams-data-relevant-only-for-that-current-view/1083/4 "2014-03-31T06:12:03Z")

</div>

Hi Natasha,

We are working on something, but a little different than what you need.

We took the branch tiledGeometry (works only for primitives) and made adjustments

so that it would be possible to send a REST request to the server with the particular display (tiles) parameters.

then with the return I’m rendering it to the view

Soon I will create a GitHub repository with a code that does this

So if you’re interested I can let you know when it happens.

Maty.

---

<div class="post-metadata">

**Author:** ![nharpala](https://avatars.discourse-cdn.com/v4/letter/n/50afbb/32.png) [@nharpala](https://community.cesium.com/u/nharpala)\
**Post date:** [April 2, 2014, 3:44pm UTC](https://community.cesium.com/t/split-czml-to-tiles-so-that-it-streams-data-relevant-only-for-that-current-view/1083/5 "2014-04-02T15:44:45Z")

</div>

Hi Maty,

Thanks for the explanation! And yes, I would love it if you could let me know when the code becomes available via GitHub. I would very much love to look at it.

Thanks for your help.

~Natasha

---

<div class="post-metadata">

**Author:** ![Brian\_Ryall](https://avatars.discourse-cdn.com/v4/letter/b/b77776/32.png) [@Brian\_Ryall](https://community.cesium.com/u/Brian_Ryall)\
**Post date:** [February 27, 2016, 5:24am UTC](https://community.cesium.com/t/split-czml-to-tiles-so-that-it-streams-data-relevant-only-for-that-current-view/1083/6 "2016-02-27T05:24:47Z")

</div>

I am very interested in this, can I get link to github?
