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)

Reprojecting and converting vector and raster data


In Chapter 2, Viewing Spatial Data, we talked about CRS and the fact that QGIS offers on-the-fly reprojection to display spatial datasets, which are stored in different CRS, in the same map. Still, in some cases, we will want to permanently reproject a dataset, for example to geoprocess it later on.

In QGIS, reprojecting a vector or raster layer is done by simply saving it with a new CRS. We can save a layer using Layer | Save as ... or Save as … in the layer name context menu. Pick a target file format and file name, and then click on the Browse button besides the CRS field to pick a new CRS.

Besides changing the CRS, the main use case of the Save vector/raster layer dialog is to convert between different file formats. For example, we can load a Shapefile and export it as GeoJSON, Mapinfo MIF, CSV, and so on, or the other way around.

The Save raster layer dialog is also a convenient way to clip/crop rasters by a bounding box, as we can specify...