File name | File type | Size | |
---|---|---|---|
Archive.zip | Zip archive data | 7.52 MB | Info |
1. Open three vector layers and reorder, turn layers on/off
Add COUNTRIES, CITIES, and RIVERS to map. Put COUNTRIES ON THE BOTTOM. Show how to turn layers on and off.
2. Select features individually and by radius, rectangle, etc.
Use rectangle selection to select most of the countries in western Africa from the COUNTRIES layer. Switch to single feature selection to shift-select to get any countries missing. Show these in the attribute table (show only the selected features so we can see them all at once). Deselect all features. In the attribute table, select all the countries that start with M. Show where these are on the world map.
3. Open and explain attribute table. What are rows, what are columns? What do the controls along the bottom do? How do you sort rows? Change column width? Show only selected records? Select one or two rows and then reverse the selection.
Open the attribute table for the COUNTRIES layer. Talk about rows and columns. Identify the buttons and controls that you can. Sort the table based on the fertility (BpWYYYY births per woman as of YYYY) field (it’s way over on the right). Select the five highest fertility countries. Look on the map. Now reverse the selection and look again.
4. Use search function in attribute table display to find features by data value.
In the COUNTRIES layer’s attribute table, use the search function to identify countries where fertility level was higher in 2010 than 1960.
5. Open properties dialog and explain briefly what the Styles, Labels, Fields, Metadata, and Joins tabs are for.
6. Change the default display style for a polygon layer, changing both fill and border.
Make the COUNTRIES layer a very light grey with very subtle borers. Make the other two data layers colorful but calm.
7. Turn labels on for a layer and specify label field and change label style.
NOTE: Use LAYER » LABELLING to put layers on the country layer. The check box for "Show labels this layer" in the properties dialog puts a label on every part of a feature so in our country layer, countries with lots of islands get lots of labels. Ugly.
8. Create thematic map on a polygon layer.
With COUNTRIES as bottom layer and turned light grey to provide context even if data is missing, do a thematic map on the FERTILITY layer.
9. Change the mode of category creation.
If we are mapping GDP or fertility and we choose quantiles we might get a whole category that goes from 0 to 0. Given that we might have lots of missing data, can you see why? You might also have a situation where you get data category starting at -99.000. What does this mean?
10. Change the style of thematic polygons
for example, reduce the border to dotted lines.
11. Edit the labels for the category descriptions.
12. Open a print composer. Add map and legend.
13. Use align tools to adjust layout.
14. Remove borders, add background, change fonts in legend.
15. Edit text in legend.
16. Add graticule, and customize annotations.
17. Save as different types of graphic files.
18. Save and re-open a project.
19. Locate files in a project that has relative paths.
Move the qgs (project) file in the exam folder onto your desktop. Quite QGIS and then restart by clicking this project file. When it says it cannot find the files, help it out.
20. Join csv file to feature layer
In the exam folder you should find the file FERTILITY.CSV. Add this as a layer and then using it as the join layer, join it to the COUNTRIES (target) layer.
21. Use field editor to change text field to number
22. Use field editor to create a computed field (such as population density)