Blog

Viewing posts for the category QGIS

QGIS Road to Nerdvana Episode 4: Dealing with Issues

Posted by: Seabilwe Tilodi | in QGIS | 4 years ago | 0 comments

In this episode of QGIS road to Nerdvana, Tim Sutton will be showing you a work flow that will aid in dealing with issues encountered with a QGIS that compiles, so you won’t have to compile or debug.

QGIS Road to Nerdvana Episode 3: QGIS QA using astyle and pre-commit hooks

Posted by: Seabilwe Tilodi | in QGIS | 4 years, 1 month ago | 0 comments

We are back with another episode of our roads to Nerdvana. On today’s episode, Tim Sutton and world-renowned QGIS developer Matthias Kuhn walk you through the setup process for using 'astyle precommit hooks' – basically clever tools that will make sure your code looks smart and neat automatically so that nobody rejects it for not being standard compliant when you make a pull request.

QGIS Road to Nerdvana Episode 2: QGIS QtCreator Build on Pop_OS! 20.04

Posted by: Seabilwe Tilodi | in QGIS | 4 years, 1 month ago | 0 comments

In today’s video blog, Tim Sutton shows you how to use QtCreator to build QGIS in a graphical development environment. The key entries used when setting up 3D support and here are the commands used to install QtCreator:

QGIS Road to Nerdvana Episode 1: QGIS Console Build

Posted by: Seabilwe Tilodi | in QGIS | 4 years, 1 month ago | 0 comments

QGIS Road to Nerdvana is an exciting series of videos blogs that walk you through building QGIS environments to installing and using QTCreator all running on Ubuntu 20.04.

School GIS task: create a 5km COVID-19 lockdown exercise buffer around your house

Posted by: Gavin Fleming | in Education, QGIS | 4 years, 5 months ago | 0 comments

If you are doing some teaching in the classroom and some online and you are finding "blended teaching" overwhelming, this task is designed for asynchronous self study.

Consuming cloud optimised GeoTIFFs in QGIS Server

Posted by: Admire Nyakudya | in QGIS | 4 years, 6 months ago | 0 comments

QGIS has been able to consume cloud optimised GeoTIFFs (COGs) since v3.2, through the data source manager.  This article does not aim to explain what a COG is as various other articles have done so extensively.

Create a custom reference grid in qgis composer part 2

Posted by: Admire Nyakudya | in QGIS | 4 years, 7 months ago | 0 comments

This is a follow-up post on https://kartoza.com/en/blog/create-a-custom-reference-grid-in-qgis-composer/.

Calculating intersects for map layers and map extent dynamically in QGIS

Posted by: Admire Nyakudya | in Python, QGIS | 4 years, 9 months ago | 0 comments

Recently we have been working on a project that involves simulating the 1 in 50k topographic maps in South Africa. Since we are using QGIS Server to print the map all the logic is set up in print composer. All  maps generated are dynamic (users can select a specific area within South Africa to print) and QGIS Server will use the map template to generate the map. 

The Longest River in the World

Posted by: Andre Kruger | in QGIS | 5 years, 1 month ago | 3 comments

Every now and then there might be a dispute about which is really the longest river in the world. As is shown in this National Geographic article. Even Wikipedia indicates that the fact that the Nile river is accepted as the longest river in the world as "disputed".

FOSS4G 2019 and QGIS in Bucharest

Posted by: Gavin Fleming | in Conference, FOSSGIS, GRASS GIS, GeoNode, GeoServer, Leaflet, PostGIS, Python, QGIS | 5 years, 1 month ago | 0 comments

Open source GIS is alive and well and continues to grow in leaps and bounds around the world. Why so many Government entities in South Africa continue paying a fortune of tax-payers money for privative GIS and database software beats me, when wealthy, developed countries (as in most of Europe, for example) saw the light years ago and enthusiastically embrace FOSS.

Show only features within current Atlas feature - QGIS 3

Posted by: Admire Nyakudya | in QGIS | 5 years, 6 months ago | 0 comments

In our endless endeavour to spread QGIS, I was invited to conduct QGIS training at the Surveyor General Department in Swaziland.

Creating a live, topic specific mirror of OpenStreetMap in PostGIS

Posted by: Tim Sutton | in Docker, PostGIS, QGIS | 5 years, 7 months ago | 3 comments

Introduction

In this article, we will do a walk-through of creating a live mirror of OSM for a specific country or region and for a specific set of OSM features. For this example, we will fetch all building data for Angola into a PostGIS database, and update that database with new features as they arrive in OSM. Providing an OSM mirror in this way is a powerful tool to pair the power of OSM with the power of QGIS and PostGIS. Now you will be able to do offline analysis of the data in OSM. How does this all work? Here is a little diagram that illustrates the underlying architecture (click for a larger version):

How to make beautiful lollipop call out labels in QGIS

Posted by: Tim Sutton | in QGIS | 5 years, 7 months ago | 0 comments

Call out labels are a handy cartographic instrument for attaching labels to features on the map where you want the label to be offset from the feature being labelled. It allows you to prevent the map becoming overcrowded. I call the variant I describe here 'lollipop' labels because the 'callout line' is rendered with a decorative ball at the end.

Using NOTIFY to automatically refresh layers in QGIS

Posted by: Tim Sutton | in PostGIS, QGIS | 5 years, 7 months ago | 458 comments

One of the most brilliant but little-known features of QGIS is the ability to trigger layer refreshes and events in response to notifications from PostgreSQL. This was developed by the wizards from Oslandia and is easily added to any existing table in your PostgreSQL database - including PostGIS tables. This feature was added in version 3.0 (see https://qgis.org/en/site/forusers/visualchangelog30/#feature-trigger-layer-refresh-or-layer-actions-from-postgresql-notify-signal). Take for example this simple table:

How to easily add South African and Namibian toposheets as XYZ tiles to QGIS

Posted by: Tim Sutton | in QGIS | 5 years, 10 months ago | 1 comment

Thanks to the great work of Grant Slater and the OpenStreetmap team, there are freely available XYZ tilesets for South Africa and Namibia 1:50 000 series toposheets which can easily be added to QGIS. Here is the general procedure to add a layer:

Adding elevation to a line from a DEM in PostGIS and maintaining accurate measures

Posted by: Gavin Fleming | in PostGIS, QGIS | 6 years, 3 months ago | 0 comments

This is the second in a three part series on the behind-the-scenes GIS work that can go into planning a complex event, in this case the Cape Town Marathon.

How to create a point distance marker layer along a line in PostGIS

Posted by: Gavin Fleming | in GRASS GIS, PostGIS, QGIS | 6 years, 3 months ago | 0 comments

This is part 1 of a 3-part series.

QGIS, InaSAFE, OpenStreetMap, and GeoNode in Understanding Risk 2018

Posted by: Ismail Sunni | in Conference, GeoNode, InaSAFE, QGIS | 6 years, 5 months ago | 0 comments

Some QGIS 3 Browser Improvements - Small Things Matter

Posted by: Admire Nyakudya | in QGIS | 6 years, 8 months ago | 3 comments

Well, QGIS 3 has been out for a couple of weeks now with lots of new functionality. While you are still feeling your way around all the new features I thought I could highlight some of the improvements to the browser panel that will make you fall further in love with QGIS. 

A new plugin to manage land (survey) parcels in QGIS

Posted by: Admire Nyakudya | in QGIS | 6 years, 9 months ago | 0 comments

Kartoza releases the CoGo Plugin for QGIS

Kartoza recently published the CoGo Plugin (aka Parcel Plugin) in the QGIS plugin repository. This plugin expands the group of plugins designed to manage SDI (Spatial Data Infrastructure). CoGo ('coordinate geometry') refers to its ability to handle both types of coordinates used in land surveying, namely cartesian coordinates (x,y; long/lat) and polar coordinates (bearing and distance).

Have a question? Get in touch!