Creating Thematic Maps Using the Cartographic Composer in GRASS GIS

From CUOSGwiki
Jump to navigationJump to search

Introduction

The purpose of this tutorial is to introduce the Cartographic Composer in GRASS GIS and use the Cartographic Composer to create a thematic map demonstrating red light violations in the City of Ottawa in 2016. A map will then be created in QGIS to determine red light violations in the City of Ottawa in 2019 to determine differences in the visual aspects of the final map products. The data used for this tutorial is open data, which is available from the City of Ottawa and Scholars GeoPortal. GRASS GIS version 7.8.4 and 3.14 "Pi" version of QGIS is used during the tutorial.

Link to Open Ottawa data: https://open.ottawa.ca/

Link to Scholars GeoPortal: http://geo2.scholarsportal.info/

GRASS GIS and QGIS are both available for Windows, Linux and MacOS. This tutorial will be performed using a Windows machine.

Link to QGIS website, where you can download the program for all three operating systems: https://qgis.org/en/site/forusers/download.html

Link to GRASS GIS website, where you can download the program for all three operating systems: https://grass.osgeo.org/download/

Obtaining the Data

The data that will be used during this tutorial is a base layer of the City of Ottawa from Scholars GeoPortal and two datasets from Open Ottawa: Red Light Camera Violations 2016 and Red Light Camera Violations 2019. Any open data from the City of Ottawa can be used during this tutorial but this is the specific data that will be used for the purpose of the tutorial.

Figure 1ScholarsPortal1.jpg

Base layer data of the City of Ottawa selected for the purpose of the tutorial.

Figure 2Redlight.jpg

Open data of 2019 red light camera violations downloaded for the purpose of the tutorial.

Figure 3Redlight.jpg

Open data of 2016 red light camera violations downloaded for the purpose of the tutorial.

Once all of the data of your choice has been downloaded, it is ready to be imported into GRASS GIS.

Importing the Vector Data into GRASS GIS

The first step is importing the data into GRASS GIS. Start the program and select the GRASS location desired, and create a new GRASS Mapset. I have created a new mapset in GRASS called 2016 Red Light, which will be the mapset for the 2016 red light violations.

Figure 4NewDemo.jpg

Creating a new mapset in GRASS. When creating a name for the mapset, only ASCII characters can be used. When finished, select Start GRASS session.

Figure 5.jpg

Main screen of GRASS in Windows.