# Raster Data Rendering.

**URL:** <https://community.cesium.com/t/raster-data-rendering/1662>\
**Category:** CesiumJS\
**Created:** [November 10, 2014, 10:10pm UTC](https://community.cesium.com/t/raster-data-rendering/1662 "2014-11-10T22:10:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lan\_Nguyen](https://avatars.discourse-cdn.com/v4/letter/l/bb73d2/32.png) [@Lan\_Nguyen](https://community.cesium.com/u/Lan_Nguyen)\
**Post date:** [November 10, 2014, 10:10pm UTC](https://community.cesium.com/t/raster-data-rendering/1662/1 "2014-11-10T22:10:07Z")

</div>

Hi Cesium,

I have a question related to render images.  
I have images come in as raster data. Example [here](http://data.jpl.nasa.gov/pds/imaging/cassini/cassini_orbiter/coiss_2015/data/1506288646_1506388236/N1506292227_1.IMG/0/raster/data%5B%5D?output=json)  
The real image is [here](http://data.jpl.nasa.gov/pds/imaging/cassini/cassini_orbiter/coiss_2015/data/1506288646_1506388236/N1506292227_1.IMG/0/image%5B%5D?output=gif)(for your reference)

Assuming I don’t have the image but raster only, but I want to render this onto the Globe. What is the best way to do it.  
Maybe implementing ImageryTileProvider,  
but is it possible to directly draw raster data, without any conversion to Image Object or Canvas Object.

Essentially, I will have a bigger .tiff imagery and .tiff can’t render directly so their raster data will be streamed.  
So my ultimate question would be if it is possible to render direct from raster data, or we have to do Image reconstruction at some point.  
In which I saw a Geoserver comes in to play.

Thank you very much!

---

<div class="post-metadata">

**Author:** ![abdou](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/abdou/32/2012_2.png) [@abdou](https://community.cesium.com/u/abdou)\
**Post date:** [November 11, 2014, 6:46am UTC](https://community.cesium.com/t/raster-data-rendering/1662/2 "2014-11-11T06:46:59Z")

</div>

Hello,  
I fear you need to convert to canvas and Image Object from your raw datas. This conversion seems easy with your json. an other option is to use a geotiff parser ( [https://github.com/xlhomme/GeotiffParser.js](https://github.com/xlhomme/GeotiffParser.js) ).  
With a static image, you could use [http://cesiumjs.org/Cesium/Build/Documentation/SingleTileImageryProvider.html](http://cesiumjs.org/Cesium/Build/Documentation/SingleTileImageryProvider.html)

---

<div class="post-metadata">

**Author:** ![Lan\_Nguyen](https://avatars.discourse-cdn.com/v4/letter/l/bb73d2/32.png) [@Lan\_Nguyen](https://community.cesium.com/u/Lan_Nguyen)\
**Post date:** [November 12, 2014, 9:52pm UTC](https://community.cesium.com/t/raster-data-rendering/1662/3 "2014-11-12T21:52:48Z")

</div>

Returning a canvas seem to be the best and fastest solution. Thanks
