16.2 C
Friday, September 30, 2022

3D view of Data in QGIS

Well, this is a topic that I have always wanted to write about but have been a little bit reluctant.I think this has been attributed to the fact that I didn’t find people who wanted to use this feature.Last week, I found someone who really wanted this in their project.Here is the thing, if you want to have a 3D view of your data, QGIS provides an out-of-the-box plugin (Qgis2threejs) that really helps us in doing this.Take a look.
Load you data in QGIS canvas.In my case am using data for Nairobi buildings with a height attribute.

We will be creating a 3D view of our buildings as an overlay on OpenStreetMap baselayer.

Launch the Qgis2threejs plugin from the Web Menu.(Web > Qgis2threejs > Qgis2threejs) if you have Qgis2threejs intsalled.
If not go to Plugins Menu > Manage and Install Plugins and search for Qgis2threejs and install it.

Launch the Qgis2threejs window to set parameters for the visualization.

In this window click on polygon and check the BuildingsCBD layer.
On the “Object type” select Extruded .The layer will have some heights.
In the style section set the “Height” option to our HEIGHT attribute for the layer.
In the feature section leave it as default (Features that intersect with map canvas extent)

Browse to save the output file path and click Run.
The results will be automatically displayed on you default browser.

That’s it.We are done.This is the very simple task to get our 3D view of our data….Mmmh Happy hacking

The data used can be found Here


Join Our Mailing List

Wanjohi Kibui
Wanjohi Kibuihttps://www.lifeingis.com
A GIS user with interests in web and desktop systems development, FOSS advocate, trainer and mentor. Lives in Nairobi but finds adventure in travelling. The "Life in GIS" phrase is as a result of the many told and untold stories in the Geospatial realm.

Related Articles


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Stay Connected

- Advertisement -

Join Our Mailing List

Latest Articles