- -

PDFPDF version

QGIS User Guide

Version 0.1pre1 (Moroz)

Introduction

Quantum GIS (QGIS) is designed to be a Geographic Information System (GIS) built for Linux/Unix. QGIS currently offers basic support for vector, raster, and database formats.

Current Features

Getting Started

This section gives you a quick overview of running QGIS and examining data in available on the QGIS web page.

Installation

Installation of QGIS is documented in the Installation Guide.

Starting QGIS

Assuming the QGIS is installed in the PATH, you can start QGIS by typing: qgis.

When QGIS starts, an empty window is displayed as shown below. QGIS Main Window

Note
Your window decorations (title bar, etc.) may appear different depending on your operating system and window manager

In addition, you can start QGIS by specifying one or more datafiles on the commandline. For example, assuming you are in your data directory, you could start QGIS with two shapefiles and a raster file set to load on startup:

qgis ak_shade.tif alaska.shp majrivers.shp

QGIS Load Data On Start

Working with vector data

Loading vector data

To load one or more shapefiles, click on the Add Layer button Add Layer.

The Select one or more layers to add dialog box will be displayed. Select layers

Navigate to the directory where the shapefiles reside. Select one or more files and click ok to load them.

When QGIS loads a layer, it assigns a random color to it as shown below.

Shapefiles loaded into QGIS

Obviously QGIS's choice of colors is not very pleasing in this case.

Changing Symbology

To make the layer more appealing, open the Layer Properties dialog by right-clicking on a layer name in the table of contents (left side of the QGIS window) and selecting Properties.

Layer Properties

If you like, change the display name of the layer by editing the Display name field. Click on the Symbology tab and click on the Outline color and Fill color and select a new color from the color chooser. You can also change the line width if desired.

Changing colors

After making the changes, click Ok to apply the changes to the layer. Note that the alaska layer has been renamed to Alaska and the color has been changed to a light green:

Changing colors

Identifying a Feature

Working with raster data

What is raster data?

Raster data in GIS are matrices of discrete cells that represent features on, above or below the earth's surface. Each cell in the raster grid is the same size, and cells are usually rectangular (in QGIS they will always be rectangular. Typical raster datasets include 'remote sensing' data (such as aerial photography and satellite imagery) and modelled data (such as an elevation matrix).

Raster data typically do not have an associated database record for each cell (unlike in vector data where it is normal for each feature to have an associated database record).

In GIS, a raster layer would have geopositioning data associated with it which will allow it to be positioned correctly in the map display to allow other vector and raster data to be overlayed with it. QGIS, can read this geopositioning data to facilitate properly displaying map overlays.

Raster formats supported in QGIS.

QGIS supports a number of different raster formats. Currently tested formats include:

Because the raster implmentation in QGIS is based on the GDAL abstraction library, orther raster formats implemented in GDAL are also likely to work, but have not yet been tested. See the GDAL Raster Formats page for more details.

Loading raster data in QGIS

Raster layers are loaded either by clicking on the Load Raster icon or by selecting the View->Add Raster Layer menu option. More than one layer can be loaded at the same time by holding down the Control key and clicking on multiple items in the file dialog.

Symbolisation and properties for raster layers

Symbolisation of raster layers is achieved by right clicking on a raster layer legend entry and choosing 'properties': on the popup menu that appears:

Raster Properties Popup

On the properties dialog for rasters you will see there are three tabs:

The general properties tab

Raster Properties Popup

The symbology properties tab

Raster Properties Popup

QGIS supports three forms of raster layer:

From these three basic layer types, eight forms of symbolised raster display can be used:

  1. Single Band Grayscale
  2. Single Band Pseudocolor
  3. Paletted Grayscale (where only the red, green or blue component of the image is displayed)
  4. Paletted Pseudocolor (where only the red, green or blue component of the image is displayed, but using a pseudocolor algorithm)
  5. Paletted RGB
  6. Multiband Grayscale (using only one of the bands to display the image)
  7. Mulitiband Pseudocolor (using only one of the bands shown in pseudocolor)
  8. Multiband RGB (using any combination of three bands)

QGIS has the capability to invert the colours in a given layer so that light colors become dark (and dark colors become light).

QGIS has the capability to invert the colours in a given layer so that light colors become dark (and dark colors become light).

QGIS has the capability to invert the colours in a given layer so that light colors become dark (and dark colors become light).

The raster statistics properties tab

Raster Properties Popup

Identifying a Feature

SourceForge.net Logo

by Gary Sherman, Tim Sutton