3D Maps

3D Map 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 map view of your data, QGIS provides an out-of-the-box plugin (Qgis2threejs) that really helps us in doing this. Take a look.
Steps
Load your data in QGIS canvas. In my case am using data for Nairobi buildings with a height attribute.

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

Launch the Qgis2threejs plugin from the Web Menu.(Web > Qgis2threejs > Qgis2threejs) if you have Qgis2threejs installed.
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 your default browser.

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

Leave a Reply

Your email address will not be published. Required fields are marked *

Wanjohi Kibui

Passionate about harnessing the power of geospatial technology to create innovative solutions, I'm a GIS Consultant and Developer dedicated to building cutting-edge geospatial applications. With a keen eye for spatial analysis and a knack for problem-solving, I specialize in crafting solutions that seamlessly integrate technology and geography.

More Reading

Post navigation