# How to get a xyz-Vectorlayer (eg. for surface) into Cesium with 3DTiles?

**URL:** <https://community.cesium.com/t/how-to-get-a-xyz-vectorlayer-eg-for-surface-into-cesium-with-3dtiles/7721>\
**Category:** CesiumJS\
**Created:** [November 23, 2018, 2:38pm UTC](https://community.cesium.com/t/how-to-get-a-xyz-vectorlayer-eg-for-surface-into-cesium-with-3dtiles/7721 "2018-11-23T14:38:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mholthausen](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/mholthausen/32/2615_2.png) [@mholthausen](https://community.cesium.com/u/mholthausen)\
**Post date:** [November 23, 2018, 2:38pm UTC](https://community.cesium.com/t/how-to-get-a-xyz-vectorlayer-eg-for-surface-into-cesium-with-3dtiles/7721/1 "2018-11-23T14:38:42Z")

</div>

I have a xyz-Vectorlayer in qgis which I want to display as a surface layer in Cesium. My current proposal is:  
1) save as polygon shape in QGIS with position and height in its geometry,  
2) import via BlenderGIS into Blender  
3) export as glb with gltf-blender exporter,  
4) convert to b3dm with the 3d-tiles-tools.

Unfortunately, in Blender a lot of faces are shown as "flipped", which can be turn around, but only with enormous expenditure of time. As a result, my surface layer in Cesium has holes in it.

My question:  
Is there a more elegant way to get the surface layer from QGIS into Cesium 3DTiles?

---

<div class="post-metadata">

**Author:** ![mholthausen](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/mholthausen/32/2615_2.png) [@mholthausen](https://community.cesium.com/u/mholthausen)\
**Post date:** [November 23, 2018, 3:05pm UTC](https://community.cesium.com/t/how-to-get-a-xyz-vectorlayer-eg-for-surface-into-cesium-with-3dtiles/7721/2 "2018-11-23T15:05:48Z")

</div>

Additionally i tests Blender options for Meshes: "Double Sided" and in the Export to deactivate "Export normals" - there are still holes in my surface layer in Cesium (in Blender they disappeared)

---

<div class="post-metadata">

**Author:** ![mholthausen](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/mholthausen/32/2615_2.png) [@mholthausen](https://community.cesium.com/u/mholthausen)\
**Post date:** [November 26, 2018, 12:33pm UTC](https://community.cesium.com/t/how-to-get-a-xyz-vectorlayer-eg-for-surface-into-cesium-with-3dtiles/7721/3 "2018-11-26T12:33:09Z")

</div>

Converted the shapefile following this way now. But made a duplicate of the mesh in Blender to cover the backfaces on each side.

---

<div class="post-metadata">

**Author:** ![omar](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/omar/32/1999_2.png) [@omar](https://community.cesium.com/u/omar)\
**Post date:** [November 27, 2018, 8:37pm UTC](https://community.cesium.com/t/how-to-get-a-xyz-vectorlayer-eg-for-surface-into-cesium-with-3dtiles/7721/4 "2018-11-27T20:37:28Z")

</div>

Cesium ion doesn’t currently tile vector data but it’s definitely something we’d like to support in the future. If you can export it out of QGIS as an OBJ you can try to upload it to ion ([http://cesium.com/ion](http://cesium.com/ion)) and it’ll tile it up. Although if the faces aren’t facing the right way it might still be an issue. This reminds me that having a double sided geometry option in ion would be pretty useful in this case. I believe this is something we plan to support but no specific timeline on it yet.
