<a id="ngw-3d-tilesets"></a>

# Uploading and storing 3D datasets

<a id="ngw-3d-tileset"></a>

**What is a three-dimensional dataset** (format specification given on the [link](https://github.com/CesiumGS/3d-tiles)) - a special set of three-dimensional tiles,
which can handle Cesium, organized as a spatial data structure as a tree.

<a id="ngw-3d-tileset-formats"></a>

**What formats are supported**  - cesium 3D tileset.
A tileset is described by at least one JSON file containing tileset metadata and a tree of tile objects,
each of which can refer to updated content in one of the following formats:

* [Batched 3D Model (b3dm)](https://github.com/CesiumGS/3d-tiles/blob/master/specification/TileFormats/Batched3DModel/README.md)
* [Instanced 3D Model (i3dm) (b3dm)](https://github.com/CesiumGS/3d-tiles/blob/master/specification/TileFormats/Instanced3DModel/README.md)
* [Point Cloud (pnts)](https://github.com/CesiumGS/3d-tiles/blob/master/specification/TileFormats/PointCloud/README.md)
* [Composite (cmpt)](https://github.com/CesiumGS/3d-tiles/blob/master/specification/TileFormats/Composite/README.md)

<a id="ngw-3d-tileset-upload"></a>

**How to upload a 3D dataset**.
To upload a three-dimensional dataset you need to create a “3D tileset” resource ([Fig. 772.](#ngw3d-select-3d-tileset)).

![image](docs_ngweb_3D/source/_static/ngw3D_select_3D_tileset_en.png)

The process of creating a 3D tileset resource is performed step by step and is divided into 5 tabs in the interface.
The first one is to set the name of the 3D tileset resource ([Fig. 773.](#ngw3d-name-3d-tileset)). This field is required.

![image](docs_ngweb_3D/source/_static/ngw3D_name_3D_tileset_en.png)

On the second tab it is possible to add a textual description of the resource in any form.
On the third tab the user can add metadata to the 3D tileset resource ([Fig. 774.](#ngw3d-metadata-3d-tileset)).

![image](docs_ngweb_3D/source/_static/ngw3D_metadata_3D_tileset_en.png)

The fourth tab 3D TILESET involves uploading a 3D dataset from the user’s computer in a zip archive.
And also defines the offset value of the dataset along the Z axis and the correlation with the terrain data - if the option is selected,
the zero level of the tileset will be set to the terrain height ([Fig. 775.](#ngw3d-upload-3d-tileset)).

![image](docs_ngweb_3D/source/_static/ngw3D_upload_3D_tileset_en.png)

After clicking the “Create” button the 3D tileset resource will be created in the specified NextGIS Web directory ([Fig. 776.](#ngw3d-finished-1-3d-tileset)).

![image](docs_ngweb_3D/source/_static/ngw3D_finished_1_3D_tileset_en.png)
