# Connexions

You are here: Home » Content » Assignment "Introduction to QGIS"

### Recently Viewed

This feature requires Javascript to be enabled.

# Assignment "Introduction to QGIS"

Module by: Charles Schweik. E-mail the authorEdited By: Charles Schweik, Foss UMass

Summary: The purpose of this exercise is to get initial skills with QGIS. We will create a document containing a locus map and a site map for the Town of Hadley, MA.This exercise implies that you have covered the material in the section/module entitled QGIS Overview.

## Intro to Quantum GIS Lab

### Objectives

The purpose of this exercise is to get initial skills with QGIS. We will create a document containing a locus map and a site map for the Town of Hadley, MA. This exercise implies that you have covered the material in the section entitled QGIS Overview.

### Assignment

Let's suppose you are doing a development-related project for the Town of Hadley, MA. You are asked to create a .pdf document (created from an OpenOffice, MSWord or other file) containing a locus map and a map of the town with the following layers: land use, roads and orthophoto. Also, you are to address the following questions:

1. How many land parcels are in the land use layer for the Town of Hadley? (Hint: use the attribute table.)
2. How many polygons are in the Towns layer?
3. What are the approximate dimensions of the Town? (horizontal and vertical?). Be sure you specify units of measure.(Hint: use a measurement tool.)
4. As you can see, the majority towns in Massachusetts have linear boundaries. How would you explain the "S-shaped" boundary on the left side of Hadley's polygon? (Hint: use the orthophoto.)
5. What are the neighboring towns (to Hadley)? Please write them down. (Hint: use the info tool and towns layer.)

Follow the guidelines below to complete this lab assignment.

### Guidelines

2. Create a locus map (Figure 1)
• Add a towns layer to the project (TOWNS_POLY.shp).
• Change color of this layer to light green.
• Rename this layer as Towns in TOC.
• Add a landuse layer to the project (lus117.shp).
• Change the polygons color to the dark brown (or any color which differs from light green).
• Rename this layer to Landuse.
• Be sure that landuse layer is on the top of towns layer.
• Zoom in/out to the full extent of towns layer.
• Save this locus map as image. Save the image with name locusmap.jpg or locusmap.png.
1. Create a project site map.
• Zoom in so that you can see the landuse layer and surrounding towns.
• Add an orthophoto to the project (2_109898.tif). Arrange it between towns layer and landuse layer (Fig.3).
• Rename added layer as "Orthophoto."
• Rename this layer as "Roads."
• Change default road color to red.
• You will have something similar to Fig. 4.
• Save this map as image. Save the image as sitemap.jpg or sitemap.png.
• Save the PROJECT in your home directory. So you can use it later. This is a good habit to SAVE your work periodically!
1. Create a document with a locus map and a site map.
• Open your word editor (OpenOffice, MSWord, etc).
• Insert images into word document (Figure 5).
• Save this document in your home directory.

#### Finishing the work

1. Continue to work with the document.
2. Write down your name, class info and date.
• How many land parcels are in land use layer for the town of Hadley? (Hint: use attr. table)
• How many polygons are in Towns layer?
• What are aproximate dimensions of the Town? (horizontal and vertical?). Be sure you specify units of measure.(Hint: use a measure tool).
• As you can see, the majority towns in Massachussetts have linear boundaries. How could you exlain "S-shape" of the left side of town polygon (for Hadley)? (Hint: use orthophoto).
• What are neighboring towns of Hadley? Please write them down. (Hint: use info tool and towns layer).
4. Save this document.
5. Be sure that you fill in "properties"/"metadata" for this file.
6. Submit your work to TA or Instructor.

#### Getting data

• We will use the following datasets for this lab: a) vector towns boundary for MA, b) vector landuse data for town of Hadley, MA, c) road layer and d) 2m resolution orthophoto.
• Unzip data to your working directory. You should see the following files appear:
• Orthophoto
• 2_109898.aux
• 2_109898.tfw
• 2_109898.tif
• Landuse
• lus117.dbf
• lus117.prj
• lus117.sbn
• lus117.sbx
• lus117.shp
• lus117.shp.xml
• lus117.shx
• rd5k117.dbf
• rd5k117.shp
• rd5k117.shx
• Towns
• TOWNS_POLY.dbf
• TOWNS_POLY.prj
• TOWNS_POLY.sbn
• TOWNS_POLY.sbx
• TOWNS_POLY.shp
• TOWNS_POLY.shx
• TOWNS_POLY_AREACODE.dbf

### Assignment Deliverables

Please email a .pdf of the assignment to your instructor. The file can be created through Open Office, Microsoft Word, etc. If you do not have a .pdf creator, you can download a print to .pdf program, such as PDFCreator.

Major contributors to this curriculum include (alphabetical):

• Maria Fernandez
• Michael Hamel
• Quentin Lewis
• James Peters
• Charlie Schweik
• Alexander Stepanov

### Module Licensing Information

Version 1.0.

We intend to make this available in summer 2007 to the OSGeo community. Prior to this, we ask that you contact us first if you would like to edit or make a new derivative of this content. Email address: cschweik AT pubpol DOT umass DOT edu).

## Content actions

### Give feedback:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

#### Definition of a lens

##### Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

##### What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

##### Who can create a lens?

Any individual member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks