PyQGIS — Script for visualization of grid-based data

Leo Tisljaric, PhD
Analytics Vidhya
Published in
5 min readOct 22, 2020

--

Simple method for visualization of grid-based data using QGIS

Grid-based visualization (Image by: Author)

Have you ever tried to visualize grid-based data on a map? QGIS is an excellent choice for dealing with maps and visualizations! Sometimes, when you are working with a lot of data and layers, it is challenging to use GUI (Graphical User Interface). Here, the PyQGIS steps in! It is software that combines the powerful and syntactically simple programming language Python with QGIS capabilities. In this story, the script for drawing colored rectangles for the visualization of grid-based data will be explained step by step. If you just want the code, visit: https://github.com/tisljaricleo/PyQgisScripts

Before we continue, give me a second of your time. If you want to support me in my work, you can do it using this secure PayPal link. Thank you :)

Problem description

Let’s define our problem. The visualization is sometimes very important when you are dealing with grid-based data. In this story, we will show how to visualize this kind of data and…

--

--

Leo Tisljaric, PhD
Analytics Vidhya

AI practitioner with passion for research and development of new ideas.