# Configuring cesium to use QGIS in offline.

**URL:** <https://community.cesium.com/t/configuring-cesium-to-use-qgis-in-offline/7299>\
**Category:** CesiumJS\
**Created:** [August 15, 2018, 6:36am UTC](https://community.cesium.com/t/configuring-cesium-to-use-qgis-in-offline/7299 "2018-08-15T06:36:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rmd](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@rmd](https://community.cesium.com/u/rmd)\
**Post date:** [August 15, 2018, 6:36am UTC](https://community.cesium.com/t/configuring-cesium-to-use-qgis-in-offline/7299/1 "2018-08-15T06:36:12Z")

</div>

**I want to configure cesium to use in a fully offline environment. For that I used the tileset in ‘Assets/Textures/NaturalEarthII’. Now I want to use QGIS as the imagery server and configure cesium to work with it in an offline mode. But I do not have a clear idea about the procedure that I should follow and the starting point.**

---

<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:** [August 15, 2018, 1:12pm UTC](https://community.cesium.com/t/configuring-cesium-to-use-qgis-in-offline/7299/2 "2018-08-15T13:12:04Z")

</div>

This discussion talks a bit about that:

[https://groups.google.com/forum/#!topic/cesium-dev/j7rpBtTNe3g](https://groups.google.com/forum/#!topic/cesium-dev/j7rpBtTNe3g)

The last post there is a good summary of what you’ll need to do. Hope this helps!

---

<div class="post-metadata">

**Author:** ![rmd](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@rmd](https://community.cesium.com/u/rmd)\
**Post date:** [August 16, 2018, 4:44am UTC](https://community.cesium.com/t/configuring-cesium-to-use-qgis-in-offline/7299/3 "2018-08-16T04:44:52Z")

</div>

Hi Omar,

Thanks for your guide. I am new to both cesium and QGIS. I created imagery provider as in the example you mentioned.

But it does not work offline. When creating the viewer widget using this imagery provider how should we use the url.

---

<div class="post-metadata">

**Author:** ![Gabby\_Getz](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gabby_getz/32/7838_2.png) [@Gabby\_Getz](https://community.cesium.com/u/Gabby_Getz)\
**Post date:** [August 23, 2018, 6:39pm UTC](https://community.cesium.com/t/configuring-cesium-to-use-qgis-in-offline/7299/4 "2018-08-23T18:39:53Z")

</div>

You’ve provided a local path for the url. What you’ll need to do is serve up those files, and then use that served urls. There are a lot of templates for static servers on the web, and Cesium itself uses a simple development one in [server.js](https://github.com/AnalyticalGraphicsInc/cesium/blob/master/server.js).

Thanks,

Gabby
