# Uploading 3D Tiles on cesiumjs.com

**URL:** <https://community.cesium.com/t/uploading-3d-tiles-on-cesiumjs-com/5193>\
**Category:** CesiumJS\
**Created:** [February 21, 2017, 9:30am UTC](https://community.cesium.com/t/uploading-3d-tiles-on-cesiumjs-com/5193 "2017-02-21T09:30:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kredik](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kredik/32/14000_2.png) [@kredik](https://community.cesium.com/u/kredik)\
**Post date:** [February 21, 2017, 9:30am UTC](https://community.cesium.com/t/uploading-3d-tiles-on-cesiumjs-com/5193/1 "2017-02-21T09:30:49Z")

</div>

Hi all,

I’m wondering what are expected data format & structure for uploading 3D Tiles on [cesiumjs.com](http://cesiumjs.com).

Actually for each Tileset, I have a json file (compressed) pointing to 3DBM files located in a subfolder (they load fine in my own cesium based app).

Thanks for this really great application.

Regards,

Fred.

---

<div class="post-metadata">

**Author:** ![kredik](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kredik/32/14000_2.png) [@kredik](https://community.cesium.com/u/kredik)\
**Post date:** [February 21, 2017, 9:55am UTC](https://community.cesium.com/t/uploading-3d-tiles-on-cesiumjs-com/5193/2 "2017-02-21T09:55:12Z")

</div>

It seems that .3dtiles ext is associated to SQLITE file containing a tileset.  
I will try to convert with [https://github.com/AnalyticalGraphicsInc/3d-tiles-tools](https://github.com/AnalyticalGraphicsInc/3d-tiles-tools).

---

<div class="post-metadata">

**Author:** ![kredik](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kredik/32/14000_2.png) [@kredik](https://community.cesium.com/u/kredik)\
**Post date:** [February 21, 2017, 1:56pm UTC](https://community.cesium.com/t/uploading-3d-tiles-on-cesiumjs-com/5193/3 "2017-02-21T13:56:39Z")

</div>

I tried to convert using :  
node ./bin/3d-tiles-tools.js tileset2sqlite3 -i seoul -o seoul.3dtiles

No error and file created (checked that’s a database containing blobs for the master json file and each 3DBM file).

Added into [cesiumjs.com](http://cesiumjs.com) and added to a project - no display.

Then, as my initial Tileset is already compressed, I tried to unzip it before conversion :

node ./bin/3d-tiles-tools.js ungzip seoul seoul-unzipped

node ./bin/3d-tiles-tools.js tileset2sqlite3 -i seoul-unzipped -o seoul.3dtiles

Same result.

Am i missing something ? What’s the right way to load a 3D Tileset ?

Thanks in advance,

Fred.

---

<div class="post-metadata">

**Author:** ![hannah](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hannah/32/4509_2.png) [@hannah](https://community.cesium.com/u/hannah)\
**Post date:** [February 21, 2017, 2:06pm UTC](https://community.cesium.com/t/uploading-3d-tiles-on-cesiumjs-com/5193/4 "2017-02-21T14:06:20Z")

</div>

Hi Fred,

I’m not sure what is going wrong. Would you be able to share your .3dtiles file with us so we can try to look into the problem?

Thanks,

Hannah

---

<div class="post-metadata">

**Author:** ![Matt\_Amato](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/matt_amato/32/1993_2.png) [@Matt\_Amato](https://community.cesium.com/u/Matt_Amato)\
**Post date:** [February 21, 2017, 6:30pm UTC](https://community.cesium.com/t/uploading-3d-tiles-on-cesiumjs-com/5193/5 "2017-02-21T18:30:54Z")

</div>

Fred,

The problem is that your top level file must be named tileset.json. This is something that is not in the spec but I would really like to see it get added, otherwise it’s impossible to read the tileset without knowing the keyfile name. The alternative will be making it part of the 3dtiles database format spec only, or just making sure the tool renames the file during conversion.

Let me know if that doesn’t fix the problem for you. I’ll also work on making sure [cesium.com](http://cesium.com) detects this and generates reasonable error messages.

Thanks,

Matt

---

<div class="post-metadata">

**Author:** ![kredik](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kredik/32/14000_2.png) [@kredik](https://community.cesium.com/u/kredik)\
**Post date:** [February 22, 2017, 11:08am UTC](https://community.cesium.com/t/uploading-3d-tiles-on-cesiumjs-com/5193/6 "2017-02-22T11:08:57Z")

</div>

Matt,

thanks a lot - renaming the json file to tileset.json solved the problem.

Are .3dtiles and .terraindb formats described somewhere ?

Best regards,

Fred.

---

<div class="post-metadata">

**Author:** ![hannah](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hannah/32/4509_2.png) [@hannah](https://community.cesium.com/u/hannah)\
**Post date:** [February 22, 2017, 1:59pm UTC](https://community.cesium.com/t/uploading-3d-tiles-on-cesiumjs-com/5193/7 "2017-02-22T13:59:55Z")

</div>

Hi Fred,

There is some discussion about the .3dtiles format in this issue: [https://github.com/AnalyticalGraphicsInc/3d-tiles/issues/89](https://github.com/AnalyticalGraphicsInc/3d-tiles/issues/89)

I’m not sure about the terraindb format, but Matt might be able to answer that.

Best,

Hannah

---

<div class="post-metadata">

**Author:** ![kredik](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kredik/32/14000_2.png) [@kredik](https://community.cesium.com/u/kredik)\
**Post date:** [February 22, 2017, 2:09pm UTC](https://community.cesium.com/t/uploading-3d-tiles-on-cesiumjs-com/5193/8 "2017-02-22T14:09:42Z")

</div>

Hi Hannah,  
thanks.

Fred.
