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)

Introducing the QGIS user interface


Now that we have set up QGIS, let's get accustomed to the interface! The biggest area is reserved for the map. To the left of the map, there are the Layers and the Browser panels. Below the map, we find important information such as (from left to right), current map coordinates, map scale, and the (currently inactive) project coordinate reference system (CRS).

Next, there are multiple toolbars to explore. If you arranged them as shown in the previous section, you'll find the following toolbars in the top row:

  • File: This toolbar contains tools to create, open, save, and print projects

  • Manage Layers: This toolbar contains tools to add layers from vector or raster files, databases, web services, text files, or create new layers

  • Database: Currently, this toolbar only contains DB Manager, but other database-related tools will appear here when they are installed

  • Help: This points to the user manual download

The following screenshot shows what the preceding toolbars look like:

The second row of toolbars contains the following:

  • Map Navigation: This toolbar contains pan and zoom tools

  • Attributes: These tools are used to identify, select, open attribute tables, measure, and so on

  • Label: These tools are used to add, configure, and modify labels

  • Vector: This is currently empty, but will be filled by additional Python plugins

  • Web: This is currently empty, but will be filled by additional Python plugins

The following screenshot shows what the preceding toolbars look like:

On the left screen border, we put the following:

  • Plugins: This is currently empty, but will be filled by additional Python plugins

  • Raster: This toolbar includes histogram stretch, brightness, and contrast control

The following screenshot shows what the preceding toolbars look like:

Finally, on the right screen border, we find the following:

  • Digitizing: These tools enable editing, basic feature creation, and editing

  • Advanced Digitizing: This toolbar contains undo/redo, advanced editing tools, geometry simplification, and so on

The following screenshot shows what the preceding toolbars look like:

Tip

All digitizing tools are currently inactive. They will only turn active once we start editing a vector layer.

Toolbars and panels can be activated and deactivated via the View menu's Panels and Toolbars entries as well as by right-clicking on a menu or toolbar, which opens a context menu with all available toolbars and panels. All toolbar tools can also be accessed via the menu. If you deactivate the Manage Layers toolbar, for example, you will still be able to add layers using the Layer menu.

QGIS is highly customizable. You can increase your productivity by assigning shortcuts to the tools you use regularly by navigating to Settings | Configure shortcuts. Similarly, if you find that you never use a certain toolbar button or menu entry, you can hide it by navigating to Settings | Customization. For example, if you don't have access to an Oracle Spatial database, you might want to hide the associated buttons to remove clutter and save screen estate as shown in the following screenshot: