Book Image

Learning QGIS 2.0

By : Anita Graser
Book Image

Learning QGIS 2.0

By: Anita Graser

Overview of this book

QGIS is a user friendly open source geographic information system (GIS) that runs on Linux, Unix, Mac OSX, and Windows. The popularity of open source geographic information systems and QGIS in particular has been growing rapidly over the last few years. More and more companies and institutions are adopting QGIS and even switching to QGIS as their main GIS. Learning QGIS 2.0 is a practical, hands-on guide that provides you with clear, step-by-step exercises that will help you to apply your GIS knowledge to QGIS. Containing a number of clear, practical exercises, this book will introduce you to working with QGIS, quickly and painlessly. If you want to take advantage of the wide range of functionalities that QGIS offers, then this is the book for you. This book takes you from installing and configuring QGIS, through handling spatial data to creating great maps. You will learn how to load and visualize existing spatial data and how to create data from scratch. You will perform common geoprocessing and spatial analysis tasks and automate them. We will cover how to achieve great cartographic output and print maps. You will learn everything you need to know to handle spatial data management, processing, and visualization tasks in QGIS.
Table of Contents (12 chapters)

Styling raster layers


After this introduction to data sources, we can now create our first map. We will build the map from the bottom up by first loading some background rasters (hillshade and land cover), which we will then overlay with point, line, and polygon layers.

Let's start by loading land cover and hillshade from landcover.img and SR_50M_alaska_nad.tif and then opening the Style section in layer properties (Layer | Properties or by double-clicking on the layer name). QGIS tries to pick a reasonable default render type. The hillshade raster, SR_50M_alaska_nad.tif, is loaded with the Singleband gray render type as you can see in the following screenshot. If we want to render the hillshade raster in color instead of grayscale, we can change the render type to Singleband pseudocolor. In pseudocolor mode, we can create color maps either manually or by selecting one of the premade color ramps. But let's stick with Singleband gray for hillshade for now.

Below the color settings, we find...