Qgis Training Manual PDF
Qgis Training Manual PDF
A copy of the license is included at the end in the section titled “Creative Commons
Attribution 4.0 International Public License”.
Quantum Geographic Information System
First published
Nairobi
April 2017
Dedication
We dedicate this work to the personnel of the Kenyan
Water Resources Management Authority who fully
participated in the modification and testing process of
this QGIS training manual. The Authority has also
included the manual in their standard training content to
enhance their staff’s capacity to utilise GIS tools in their
day-to-day work.
2
QGIS DESKTOP TRAINING
Table of Contents
Foreword ...................................................................................................... 4
Background to Geographic Information Systems and QGIS ........................ 5
How this modified training manual was developed .................................... 6
License ................................................................................................ 7
Authors ............................................................................................... 8
Contributors ........................................................................................ 8
Sponsorship ........................................................................................ 9
How to use this training manual ................................................................ 10
Type of data used ............................................................................. 11
Preparing exercise data .................................................................... 12
3
QGIS DESKTOP TRAINING
Foreword
The development of this QGIS manual has been a collaborative effort of the
Kenyan Water Resources Management Authority (WRMA) and the
Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH
Water Sector Reform Programme (WSRP) in Kenya. The lead authors of this
version of the manual include Abel Omanga, George Odhiambo, Nele
Foerch and Daniela Arp. Contributions were also made by Justus Diang’a,
and Tony Mwaniki. Special thanks go to Nele Foerch for taking the lead in
writing and compiling this document, while constantly reminding us about
the importance of documenting our experiences.
Thanks also go to the Free Quantum GIS Training Manual team of Linfiniti
Consulting CC which laid out the whole basis of this manual.
We also thank the officers and interns with the Water Resources
Management Authority who tested the manual during training in the
administrative sub-regions of Lower Nzoia Yala and Northern Shoreline
Nyando as well as the Kisumu regional office.
4
QGIS DESKTOP TRAINING
QGIS (Quantum GIS) is an Open Source Geographic Information System (GIS). The
project was born in 2002 and established as a project on SourceForge the same year.
The QGIS community has worked hard to make GIS software (which is traditionally
expensive proprietary software) a viable prospect for anyone with basic access to a
personal computer. In 2008 QGIS launched the Gentle Introduction to GIS, a
completely free, open content resource for people who want to learn about GIS
without being overloaded with scientific jargon and new terminology. It was sponsored
by the South African government and has been a phenomenal success, with people all
over the world using the materials to run training courses and teach themselves GIS.
QGIS is a user-friendly GIS, providing common functions and features. It currently runs
on most Unix platforms, Windows and OS X. The initial goal of the project was to
provide a GIS data viewer, but it has now reached the point in its evolution where it is
being used by many for their daily GIS data viewing needs. QGIS supports a number of
raster and vector data formats, with new format support easily added using the plugin
architecture.
In Kenya, there has been a rapid rise in the need for GIS tool applications in various
fields and sectors in recent years. The growing need, however, cannot directly be
translated into equal investment in skill enhancement, which presents a major
challenge in adopting GIS. It is often forgotten that not all users need to be GIS
professionals or GIS scientists to be trained in and utilise the technology. Mostly,
professionals need to know the basics to accomplish their duties, without needing
specialised knowledge of GIS tools.
To address this gap, this modified version of the Free Quantum GIS Training Manual by
Linfiniti Consulting CC is tailored to equip Kenyan users with the basic knowledge to
utilise QGIS software in their day-to-day work — especially within the water sector.
QGIS software was chosen since it is an open source, fully supported software that is
steadily advancing over time and in accordance with user demands and technological
changes. The QGIS Gentle Introduction is not a software tutorial but rather aims to be
a generic modified text utilising QGIS in all the learning examples for someone being
trained in basic GIS applications.
5
QGIS DESKTOP TRAINING
An initial evaluation was done in six selected sub-regional offices in the Tana
Catchment Area (TCA). The findings highlighted the need for further training as well as
continuous support for practical application of GIS tools in day-to-day work. Previous
training had failed to enable officers to sustainably apply the software while the
accessibility to the required tools during and after the training was limited. This can be
attributed partially to the use of commercial software, which licence was acquired in
small numbers and eventually expired. The
resulting inaccessibility prevented them
from practising with and utilising the Note that this training
software. Moreover, the use of “foreign” manual does not replace the
instead of locally acquired data during as officially published QGIS user
well as after the training further dampened manuals and references that
interest in the uptake of the software and are freely accessible online.
acquired skills as no immediate outputs Users are encouraged to go
could be generated that visibly helped online and refer the various
officers to meet their targets. topics in detail offered by the
QGIS platform
These findings formed the basis for deciding
(http://docs.qgis.org/2.14/en
to modify and adapt the available online
/docs/training_manual/)
training materials on GIS to the local context
and the needs of WRMA officers. This
involved downloading the QGIS online user
guides and other documentation on selected topics. The downloaded materials were
customised for the intended users. Most of the phrases remain the same as structured
in the initial online QGIS training manual; however, the data sets used as well as the
level of detail throughout the given instructions have changed.
This training manual is intended to provide all the materials needed to run an initial
basic GIS desktop training based on QGIS as the GIS desktop software. The course is
structured with content to suit novice, intermediate and advanced users alike and
offers hands-on exercises that will aid the training process.
6
QGIS DESKTOP TRAINING
License
The Free Quantum GIS Training Manual by Linfiniti Consulting CC. is based on an earlier
version from Linfiniti and is licensed under a Creative Commons Attribution 4.0
International. Permissions beyond the scope of this license may be available (see
below).
The QGIS training manual is published under a liberal license that allows you to freely
copy, modify and redistribute this work. A complete copy of the license is available at
the end of this document. In simple and human readable terms, the usage guidelines
are as follows:
You may not represent this work as your own work, or remove any authorship
text or credits from this work.
You may not redistribute this work under more restrictive permissions than
those under which it was provided to you.
If you add a substantive portion to the work and contribute it back to the
project (at least one complete module) you may add your name to the end of
the authors’ list for this document (which will appear on the front page).
If you contribute minor changes and corrections you may add yourself to the
contributors’ list below.
If you translate this document in its entirety, you may add your name to the
authors’ list in the form “Translated by Joe Bloggs”.
If you sponsor a module or lesson, you may request the author to include an
acknowledgement in the beginning of each lesson contributed.
If you are unsure about what you may do under this license, please contact us
at office@linfiniti.com and we will advise you if what you intend doing is
acceptable.
If you publish this work under a self-publishing site such as http://lulu.com we
request that you donate the profits to the QGIS project.
You may not commercialise this work, except with the expressed permission of
the authors. To be clear, by commercialisation we mean that you may not sell
for profit, create commercial derivative works (e.g. selling content for use as
articles in a magazine). The exception to this is if all the profits are given to the
QGIS project. You may (and we encourage you to do so) use this work as a
textbook when conducting training courses, even if the course itself is
commercial in nature. In other words, you are welcome to make money by
running a training course that uses this work as a textbook, but you may not
profit from the sales of the book itself — all such profits should be contributed
back to QGIS.
7
QGIS DESKTOP TRAINING
Authors
The authors of the Free Quantum GIS Training Manual by Linfiniti Consulting CC
include:
Contributors
The contributors of this adapted version of the training manual tailored to the needs of
the Water Resources Management Authority in Kenya include:
8
QGIS DESKTOP TRAINING
Sponsorship
The sponsors of the adaptation, as well as the testing process of the modified version,
include:
The GIZ Water Sector Reform Programme in Kenya (www.giz.de) provided the
expertise required for the adaptation of the context-specific training manual as
well as the training utilising and testing this manual.
The German Federal Ministry for Economic Cooperation and Development
(BMZ) (www.bmz.de) sponsored the context-specific adaptation process as well
as the training utilising and testing this manual.
The Kenyan Water Resources Management Authority (www.wrma.or.ke)
supported the context-specific adaptation process through providing some of
the training venues as well as the valuable time and input of their officers to
test this manual.
9
QGIS DESKTOP TRAINING
Keep in mind:
Do not compare open source software with commercial software. They are not
the same. Most functions are cross-cutting, but software efficiency and
workflow differ.
Always practise and continuously apply the learned skills in your work —
remember, excellence is a habit, not an act.
Imagine! As Albert Einstein said, “Imagination is more important than
knowledge. Knowledge is limited to what we know and understand, while
imagination embraces the entire world, and all there ever will be to know and
understand.” The principle is the same for GIS, once you have learned the basic
concepts, there is no limit to how you can apply them if you have great
imagination.
The details, data, and results in this document have been written and verified to the
best of the knowledge and responsibility of the authors and editors. Nevertheless,
errors are possible. Therefore, data are not liable to any duties or guarantees. The
authors, editors and publishers do not take responsibility or liability for any
shortcomings and unintended consequences. However, you are always welcome to
report possible errors to enable future improvements and corrections.
10
QGIS DESKTOP TRAINING
NOTE: The data used in this training has to have the two folders pasted into local drive
C: for it to retain the structured training data paths.
11
QGIS DESKTOP TRAINING
The data remains the legal property of the sources listed above. For any further use
other than in this manual, you will need clearance from the listed sources.
Anyone can use this dataset without difficulty, but you may prefer to use data from
your own locality. If you choose to do so, you will be required to navigate to your data
paths without relying on the data paths provided.
NOTE: The sample data used throughout the manual can be downloaded here:
http://qgis.org/downloads/data/training_manual_exercise_data.zip
12
MODULE 1: THE INTERFACE
Module 1:
THE INTERFACE MODULE
Lesson 1: A brief introduction
Lesson 2: Adding your first layer
Lesson 3: An overview of the interface
13
QGIS DESKTOP TRAINING
In this module we cover the QGIS project, which is integrated with basic exercises that
will give an elaborate basic introduction with the desktop and browser interfaces of
QGIS.
After completing this section, you will be able to correctly identify the main windows,
panels, toolbars and menus of the screen in QGIS, know what each of them does, and
load a shapefile into QGIS.
WARNING
This course includes instructions on adding, deleting and altering GIS datasets.
We have provided training datasets for this purpose. Before using the techniques
described here on your own data, always ensure you have proper backups!
Text that looks like ‣ C:\Q-GIS Training data\Projects directs you through menus as
you navigate to datasets and projects.
14
MODULE 1: THE INTERFACE
1.2.1. Basic
In this category, the course assumes that you have little or no prior experience with
theoretical GIS knowledge or the operation of a GIS program.
Some theoretical background will be provided to explain the purpose of an action you
will be performing in the program, but the emphasis is on learning by doing.
When you complete the course, you will have a better concept of the possibilities of
GIS, and how to harness their power via QGIS.
1.2.2. Intermediate
In this category, it is assumed that you have working knowledge and experience of
the everyday uses of GIS.
Following the instructions for the beginner level will provide you with familiar ground,
as well as make you aware of the cases where QGIS does things slightly differently
from other software you may be used to. You will also learn how to use analysis
functions in QGIS.
When you complete the course, you should be comfortable with using QGIS for all of
the functions you usually need from a GIS for everyday use.
1.2.3. Advanced
In this category, the assumption is that you are experienced with GIS, have knowledge
of and experience with spatial databases, using data on a remote server, perhaps
writing scripts for analysis purposes, etc.
Following the instructions for the other two levels will familiarise you with the
approach that the QGIS interface follows, and will ensure that you know how to access
the basic functions that you need. You will also be shown how to make use of the QGIS
plugin system, database access system, and so on.
When you complete the course, you should be well acquainted with the everyday
operation of QGIS, as well as its more advanced functions.
15
QGIS DESKTOP TRAINING
It’s free, as in lunch. Installing and using the QGIS program costs you a grand
total of zero money. No initial fee, no recurring fee, nothing.
It’s free, as in liberty. If you need extra functionality in QGIS, you can do more
than just hope it will be included in the next release. You can sponsor the
development of a feature, or add it yourself if you are familiar with
programming.
It’s constantly developing. Because anyone can add new features and improve
on existing ones, QGIS never stagnates. The development of a new tool can
happen as quickly as you need it to.
Extensive help and documentation is available. If you’re stuck with anything,
you can turn to the extensive documentation, your fellow QGIS users, or even
the developers.
Cross-platform. QGIS can be installed on MacOS, Windows and Linux.
Now that you know why you want to use QGIS, we can show you how. The first lesson
will guide you in creating your first QGIS map.
Lesson preparation
The training requirements:
1. QGIS software (freely available for download). You can install the QGIS through
the following steps
a. Open a web browser
b. Insert the URL: http://www.qgis.org/en/site/
c. Click on the Download now option
d. Identify the suitable download option depending on your operating system
e. Select and click on the QGIS standalone installer version 2.10 option suiting
the operating system specifications, either 32 or 64 bit.
f. You will be presented with a popup menu with option to save the file to
local disk
g. Click Save
h. Navigate to the Download folder and double click the installation file
i. Follow the popup instructions
2. A computer (1GB of RAM, 1.2GHZ, and at least 2GB of free storage space in the
local disk)
3. A notebook (small and easy to carry)
4. A pen
5. An exercise manual
16
MODULE 1: THE INTERFACE
Ensure you copy the training data availed by the facilitator in a DVD to Local disk C.
NOTE: Do not create folders for the data; this will interfere with the navigation path.
This is a professionally certified training where every exercise counts. This means we
take all exercises and the related tasks seriously.
17
QGIS DESKTOP TRAINING
Launch QGIS from its desktop shortcut, menu item, etc., depending on how you
configured its installation.
NOTE: the screenshots for this course were taken in QGIS 2.10.1 running on Windows 8.
Depending on your setup, the screens you encounter may appear somewhat different.
However, all the same buttons will still be available, and the instructions will work on
any OS. You will need QGIS 2.10.1 (the latest version at time of writing) or you can use
a newer version of QGIS though it will have some differences in tool appearance and
function.
a. Launch the QGIS desktop by double clicking the icon on the desktop if not
already open.
b. You will have a new blank map.
d. Click on the Browse button in the Add vector layer popup window and navigate
the path C:/Q-GIS Training data/Vector data/Poly_line data/Roads/Roads.shp
e. Double click the file Roads.shp that has Type indicated as SHP File.
18
MODULE 1: THE INTERFACE
f. Click Open in the Add Vector Layer window. If prompted with the Coordinate
Reference System Selector window then follow the sub-steps below, otherwise
proceed to the next step.
Type the code: 4326 in the Filter bar
Click once on the WGS 84 coordinate reference system to select it
Click only once on the OK button
Click once on
the WGS 84
Click OK
once
19
QGIS DESKTOP TRAINING
Congratulations! You now have a basic map. Now would be a good time to save your
work.
NOTE: The map lacks the basic elements that enable the map reader to decode and
understand a map. Not even labels are there on the map, only graphics. This is just the
start.
20
MODULE 1: THE INTERFACE
NOTE: you can proceed to the next exercise or exit the program and take a break.
2.2. In conclusion
You’ve learned how to add a layer and create a basic map!
21
QGIS DESKTOP TRAINING
4
5
22
MODULE 1: THE INTERFACE
Expanding collapsed items (by clicking the arrow or plus symbol beside them) will
provide you with more information on the layer’s current appearance.
Right-clicking on a layer name will give you a menu with lots of extra options. You will
be using some of them before long, so take a look around!
Some versions of QGIS have a separate Control rendering order checkbox just
underneath the Layers list. Don’t worry if you can’t see it. If it is present, ensure that
it’s checked for now.
Note: a vector layer can consist of either points, lines or polygons. A vector layer is a
dataset, usually of a specific kind of object, such as roads, trees, etc.
3.1.2. Toolbars
Your most often-used sets of tools can be turned into toolbars for basic access. For
example, the File toolbar allows you to save, load, print, and start a new project. You
can easily customise the interface to see only the tools you use most often, adding or
removing toolbars as necessary via the View ‣ Toolbars menu.
Even if they are not visible in a toolbar, all of your tools will remain accessible via the
menus. For example, if you remove the File toolbar (which contains the Save button),
you can still save your map by clicking on the File menu and then clicking on Save.
1. Click on View
2. Highlight the Toolbars option
3. Move the cursor to the right popup menu and then click on the toolbar desired
to turn it on as illustrated in the figure below.
23
QGIS DESKTOP TRAINING
Map
Canvas
24
MODULE 1: THE INTERFACE
Status
Bar
1 2 3 4 5
HINT: If any of these tools is not visible on the screen, try enabling some toolbars that
are currently hidden. Also keep in mind that if there isn’t enough space on the screen,
a toolbar may be shortened by hiding some of its tools. You can see the hidden tools
by clicking on the double right arrow button in any such collapsed toolbar. You can see
a tooltip with the name of any tool by holding your mouse over the tool for a while.
25
QGIS DESKTOP TRAINING
26
MODULE 2: CREATING A BASIC MAP
Module 2:
CREATING A BASIC MAP LESSON
27
QGIS DESKTOP TRAINING
In this module, you will create a basic map which will be used later as a basis for
further demonstrations of QGIS functionality.
1.4. In conclusion
Lesson 2: Symbology
2.13. In conclusion
28
MODULE 2: CREATING A BASIC MAP
The goal for this lesson: To learn about the structure of vector data and more on how
to load vector datasets into a map.
Launch the QGIS desktop by double clicking the icon on the Desktop if not
already open.
29
QGIS DESKTOP TRAINING
Click only once on the Browse button in the Add Vector Layer popup window and
navigate the path C:/QGIS Student/Q-GIS Training data/Vector data/Point
data/kenya health services data/kenya_health.shp
Click Open in the Add Vector Layer window. If prompted with the Coordinate
Reference System Selector window follow the sub-steps below, otherwise proceed to
the next step.
Click once on
the WGS 84
Click OK
once
The kenya_health layer is added to the map. What you can see right now is merely the
location of the kenya_health centres.
NOTE: Don’t worry about the default display symbology of the graphics. This will vary
from computer to computer.
30
MODULE 2: CREATING A BASIC MAP
To see all the data available to you, click on this Open Attribute Table tool
located on the Tool Bar:
31
QGIS DESKTOP TRAINING
It will show you a table with more data about the kenya_health layer. This extra data
describing displayed point data (Kenya_health layer) is called attribute data. The
graphics - Points- that you can see on your map represent where the health centres
are located in space; this is the spatial data.
NOTE: These definitions are commonly used in GIS, so it’s essential to remember them!
Vector data represents features in terms of points, lines and polygons on a coordinate
plane. It is usually used to store individual features, like roads and city blocks.
Navigate the path C:\Q-GIS Training data\Projects and save the map under it as
Viewing Layer Attributes
Refer back to the introductory exercise in the previous section for instructions on how
to add vector layers.
Launch the QGIS desktop by double clicking the icon on the desktop if not
already open.
32
MODULE 2: CREATING A BASIC MAP
Click only once on the Browse button in the Add Vector Layer popup window and
navigate the path C:/QGIS Student/Q-GIS Training data/Vector data/Polygon
data/land_use_1990/lu1990.shp
Click Open in the Add Vector Layer window. If prompted with the Coordinate
Reference System Selector follow the sub- steps below, otherwise proceed to the next
step.
Navigate the path C:\Q-GIS Training data\Projects and save the map under it as
Loading Vector Data
All the vector data is added to the map utilising the same procedure.
33
QGIS DESKTOP TRAINING
NOTE: Depending on the version of QGIS that you are using, you may have a checkbox
beneath your Layers list reading Control Rendering Order. This must be checked
(switched on) so that moving the layers up and down in the Layers list will bring them
to the front or send them to the back of the map. If your version of QGIS doesn’t have
this option, then it is switched on by default and you don’t need to worry about it.
Launch the QGIS desktop by double clicking the icon on the desktop if not
Click only once on the Browse button in the Add Vector Layer popup window and
navigate the path C:/QGIS Student/Q-GIS Training data/Vector data/Point
data/kenya health services data/kenya_health.shp
Click Open in the Add Vector Layer window. If prompted with the Coordinate
Reference System Selector follow the sub-steps below, otherwise proceed to the next
step.
34
MODULE 2: CREATING A BASIC MAP
Click only once on the Browse button in the Add vector Layer popup window and
navigate the path C:/QGIS Student/Q-GIS Training data/Vector data/Poly_line
data/ke_major-rivers/ke_major-rivers.shp
Click Open in the Add Vector Layer window. If prompted with the Coordinate
Reference System Selector follow the sub-steps below otherwise proceed to the next
step.
35
QGIS DESKTOP TRAINING
Click only once on the Browse button in the Add vector Layer popup window and
navigate the path C:/QGIS Student/Q-GIS Training data/Vector data/Polygon
data/Kenya Soil/Kenya soil.shp
Click Open in the Add Vector Layer window. If prompted with the Coordinate
Reference System Selector follow the sub-steps below, otherwise proceed to the next
step.
The area (or surface) represented by each cell consists of the same width and height
and is an equal portion of the entire surface represented. For example, a raster
representing elevation (that is, digital elevation model) may cover an area of 100
36
MODULE 2: CREATING A BASIC MAP
square kilometres. If there were 100 cells in this raster, each cell would represent one
square kilometre of equal width and height (that is, 1 km x 1 km).
LANDFIRE data cells are 30 metres by 30 metres, with each cell or pixel representing an
area of 900 square metres, or 2224 acres. Data stored in a raster format represent
real‐world phenomena such as:
Within a GIS, the uses of raster data fall under four main categories:
37
QGIS DESKTOP TRAINING
38
MODULE 2: CREATING A BASIC MAP
Click on the Browse button in the popup window and navigate the path C:/QGIS
Student/Q-GIS Training data/Raster data/kenya elevation/ken_elevation.asc
39
QGIS DESKTOP TRAINING
Open by clicking
layer with file
type (ASC FILE)
Click Open in the Add Raster Layer window. If prompted with the Coordinate
Reference System Selector follow the sub-steps below, otherwise proceed to the next
step.
The order in which the layers have been loaded into the map is probably not logical at
this stage. It’s possible that the kenya_health data layer is hidden because other layers
are on top of it.
40
MODULE 2: CREATING A BASIC MAP
Navigate the path C:\Q-GIS Training data\Projects and save the map under it as
Reordering the layers.qgs
41
QGIS DESKTOP TRAINING
1.4. In conclusion
Now you’ve added all the layers you need from several different sources.
NOTE: It is always best practice to have the point data at the top in the Table of
Content, then the line data, followed by polygons and at the bottom the raster data, if
you need to display all these data sets at the same time.
42
MODULE 2: CREATING A BASIC MAP
Lesson 2: Symbology
The symbology of a layer is its visual appearance on the map. The basic strength of GIS
over other ways of representing data with spatial aspects is that, with GIS, you have a
dynamic visual representation of the data you’re working with.
Therefore, the visual appearance of the map (which depends on the symbology of the
individual layers) is very important. The end users of the maps you produce need to be
able to easily see what the map represents. Equally as important, you need to be able
to explore the data as you’re working with it, and good symbology helps a lot.
In other words, having proper symbology is not a luxury or just nice to have. In fact, it’s
essential in order for you to use GIS properly and produce maps and information that
people will be able to use.
Launch the QGIS desktop by double clicking the icon on the desktop if not
already open.
43
QGIS DESKTOP TRAINING
Click only once on the Browse button in the Add Vector Layer popup window and
navigate the path C:/Q-GIS Training data/Vector data/Polygon data/Kenya poverty
data/kenya_poverty_1999.shp
Click Open in the Add Vector Layer window. If prompted with the Coordinate
Reference System Selector follow the sub-steps below, otherwise proceed to the next
step.
Select with a single click on the menu item Properties in the right-click popup menu.
Note: By default, you can also access a layer’s properties by double-clicking on the layer
in the Layers list.
44
MODULE 2: CREATING A BASIC MAP
1 2
45
QGIS DESKTOP TRAINING
6
4
5
7
46
MODULE 2: CREATING A BASIC MAP
Navigate the path C:\Q-GIS Training data\Projects and save the map under it as
Changing Colours
To add the data, navigate the path C:/Q-GIS Training data/Vector data/Polygon
data/Kenya grid/Ke-Com_250/kenya250.shp
Launch the QGIS desktop by double clicking the icon on the desktop if not
already open.
47
QGIS DESKTOP TRAINING
Click on the Browse button in the popup window and navigate the path C:/Q-GIS
Training data/Vector data/Polygon data/LVSCA WRUAS/LVSCA WRUAS.shp
Click Open in the Add Vector Layer window. If prompted with the Coordinate
Reference System Selector follow the sub-steps below, otherwise proceed to the next
step.
Double click the LVSCA WRUAS name in the layer list to open its properties.
2 3
4
NOTE: Under the Style tab, you will see the same kind of dialog as before. This time,
however, you’re doing more than just quickly changing the symbology.
48
MODULE 2: CREATING A BASIC MAP
Next, we want to get rid of the lines between all the farms.
Re-open the Layer Properties window for the LVSCA WRUAS layer by double-clicking
the layer name in the Layer List window.
9
7
10
7. Click the button next to the Colour label Simple Fill to enable the options.
8. Click on the Border style drop-down menu; change this to No Pen.
9. Click OK, and
10. Then OK again.
Now the LVSCA WRUAS won’t have any lines between the polygons.
Click on the Save As button, navigate the path C:\Q-GIS Training data\Projects and
save the map under it as Changing symbol structure
49
QGIS DESKTOP TRAINING
50
MODULE 2: CREATING A BASIC MAP
In our case, we may decide to hide the roads from view at small scale. This map,
below, for example, is not very useful. The roads are just a blob at this scale.
Launch the QGIS desktop by double clicking the icon on the Desktop if not
already open.
Go to the menu bar, click Projects then click Open and navigate the path C:\Q-GIS
Training data\Projects
Double click the Roads layer name in the Layers list to open the Layer Properties
dialog for the Roads layer.
51
QGIS DESKTOP TRAINING
2
3 4
1
Test the effects of this by zooming in and out in your map, noting when the Roads
layer disappears and reappears.
Click on the Save button to save your QGIS project that contains added
parameters of scale-based visibility:
Go to the menu bar, click once on Projects menu then click Exit QGIS in the menu list.
NOTE: You can use your mouse wheel to zoom in increments. Alternatively, use the
zoom tools to zoom to a window.
52
MODULE 2: CREATING A BASIC MAP
Launch the QGIS desktop by double clicking the icon on the Desktop if not
already open.
Click on the Browse button in the popup window and navigate the path C:/Q-GIS
Training data/Vector data/Polygon data/LVSCA WRUAS/LVSCA WRUAS.shp
Click Open in the Add Vector Layer window. If prompted with the Coordinate
Reference System Selector follow the sub-steps below, otherwise proceed to the next
step.
Double click the LVSCA WRUAS layer name in the Layers list window to open the Layer
Properties dialog for the LVSCA WRUAS layer.
53
QGIS DESKTOP TRAINING
5 6
4 7
You should achieve a display that is unique from the default fill.
54
MODULE 2: CREATING A BASIC MAP
NOTE: It’s important not to get confused between a map layer and a symbol layer. A
map layer is a vector (or raster) that has been loaded into the map. A symbol layer is
part of the symbology used to represent a map layer. This training course will usually
refer to a map layer as just a layer, but a symbol layer will always be called a symbol
layer, to prevent confusion.
You can even add multiple extra symbol layers and create a kind of texture for your
layer that way. It’s fun! (But it probably has too many colours to use in a real map.)
Multiple
symbol layers
Click on the Save As button, navigate the path C:\Q-GIS Training data\Projects and
save the map under it as Adding symbol layers
55
QGIS DESKTOP TRAINING
Launch the QGIS desktop by double clicking the icon on the Desktop if not
already open.
Click on the Browse button in the popup window and navigate the path C:/Q-GIS
Training data/Vector data/Poly_line data/Roads/Roads.shp
Click Open in the Add Vector Layer window. If prompted with the Coordinate
Reference System Selector follow the sub-steps below, otherwise proceed to the next
step.
56
MODULE 2: CREATING A BASIC MAP
Double click the Roads layer name in the Layer List window to open its properties.
3 4
7
1
6
2
To add another Symbol Layer, repeat the steps but observing the new parameters.
Click OK.
57
QGIS DESKTOP TRAINING
Click on the Save As button, navigate the path C:\Q-GIS Training data\Projects and
save the map under as Enabling Symbol Levels
Each type of vector (point, line and polygon) has its own set of symbol layer types.
First we will look at the types available for points.
58
MODULE 2: CREATING A BASIC MAP
The data is stored in the path C:/Q-GIS Training data/Vector data/Point data/OSM
Point Data/OSM Point Data.shp
Launch the QGIS desktop by double clicking the icon on the Desktop if not
already open.
Click on the Browse button in the popup window and navigate the path C:/Q-GIS
Training data/Vector data/Point data/OSM Point Data/OSM Point Data.shp
Click Open in the Add Vector Layer window. If prompted with the Coordinate
Reference System Selector follow the sub-steps below, otherwise proceed to the next
step.
Double click the OSM Point Data layer in the Layer List window, to open the Layer
Properties.
59
QGIS DESKTOP TRAINING
5
1 4
7
8
Click on the Save As button, navigate the path C:\Q-GIS Training data\Projects
and save the map under it as Point Symbol Layer Types
60
MODULE 2: CREATING A BASIC MAP
Launch the QGIS desktop by double clicking the icon on the Desktop if
not already open.
Click on the Browse button in the popup window and navigate the path C:/Q-GIS
Training data/Vector data/Poly_line
data/Kenya_Roads/kenya_roads(wfp)_wgs84.shp
Click Open in the Add Vector Layer window. If prompted with the Coordinate
Reference System Selector follow the sub-steps below, otherwise proceed to the next
step.
Double click the kenya_roads(wfp)_wgs84 layers name in the layer list window to
open its properties.
61
QGIS DESKTOP TRAINING
2 4
4. Click the symbol layer type drop-down menu and explore the Symbol layer
types accessible. Select the Marker Line with a single click.
62
MODULE 2: CREATING A BASIC MAP
6 8
63
QGIS DESKTOP TRAINING
10 11
13 12
14
12. Click once on the Simple layer type drop-down menu and select with a single
click on Outline: Simple Line option.
13. Click once on the Move down tool. This will enable visibility of the marker
points by moving the thick line beneath the marker points.
Click on the Save As button, navigate the path C:\Q-GIS Training data\Projects and
save the map under it as Line symbol layer types
64
MODULE 2: CREATING A BASIC MAP
Launch the QGIS desktop by double clicking the icon on the desktop if not
already open.
65
QGIS DESKTOP TRAINING
Click on the Browse button in the popup window and navigate the path C:/Q-GIS
Training data/Vector data/Polygon data/LVSCA WRUAS/LVSCA WRUAS.shp
Click Open in the Add Vector Layer window. If prompted with the Coordinate
Reference System Selector follow the sub-steps below, otherwise proceed to the next
step.
Double click the LVSCA WRUAS layer’s name in the Layer List window to open its
properties.
66
MODULE 2: CREATING A BASIC MAP
2 3 4
1
6. Click Ok once.
As a result, you have a textured symbol for the LVSCA WRUAS layer, with the added
benefit that you can symbolize every polygon with a unique colour. Random colours
will have a display like the one below.
Click on the Save As button, navigate the path C:\Q-GIS Training data\Projects and
save the map under it as Polygon symbol layer types.
67
QGIS DESKTOP TRAINING
Launch the QGIS desktop by double clicking the icon on the desktop if not
already open.
Click on the Browse button in the popup window and navigate the path C:/Q-GIS
Training data/Vector data/Polygon data/LVSCA WRUAS/LVSCA WRUAS.shp
Click Open in the Add Vector Layer window. If prompted with the Coordinate
Reference System Selector follow the sub-steps below, otherwise proceed to the next
step.
Double click the LVSCA WRUAS layer name in the layer list window to open its
properties.
68
MODULE 2: CREATING A BASIC MAP
1 2 3
6. Click OK once.
Click the Plus sign before the layer name in the layer list window. This expands the
symbology view.
Click on Plus
Sign to expand
symbology view
Click on the Save As button, navigate the path C:\Q-GIS Training data\Projects and
save the map under it as Quantitative symbology in polygons
69
QGIS DESKTOP TRAINING
2.12. In conclusion
Changing the symbology for the different layers has transformed a collection of vector
files into a legible map. Not only can you see what’s happening, it’s even nice to look
at!
70
MODULE 3: MAP PUBLICATION
Module 3:
MAP PUBLICATION
71
QGIS DESKTOP TRAINING
1.11 In conclusion
72
MODULE 3: MAP PUBLICATION
Launch the QGIS desktop by double clicking the icon on the desktop if not
already open.
2. Click on the Browse button in the popup window and navigate the path C:/Q-
GIS Training data/Vector data/Point data/WRMA regional
offices/WRMA_Regional_offices.shp
3. Double click the file WRMA_Regional_offices.shp
4. Click Open in the Add Vector Layer window. If prompted with the Coordinate
Reference System Selector follow the sub-steps below, otherwise proceed to
the next step.
Type the code: 4326 in the Filter bar
Click once on the WGS 84 coordinate reference system to select it
Click only once on the OK button
Turning on labels
1. Double click the WRMA_Regional_offices layer name in the Layer List window.
This opens the layer’s properties.
2. Click the Labels tab once.
73
QGIS DESKTOP TRAINING
3. Check on, with a single click, the Label this layer checkbox.
4. In the immediate entry field, click once on the drop-down list and select
TOWN_NAME with a single click.
5. Click Ok in the layer properties window. The layer should now have
TOWN_NAME label displayed.
1. Click on the Add Vector Layer tool (see 1.1.1 to recall how to do this).
2. Click on the Browse button in the popup window and navigate the path C:/Q-
GIS Training data/Vector data/Poly_line data/ke_major-rivers/ke_major-
rivers.shp
3. Double click the file ke_major-rivers.shp
4. Click Open in the Add Vector Layer window. If prompted with the Coordinate
Reference System Selector follow the sub-steps below, otherwise proceed to
the next step.
Type the code: 4326 in the Filter bar
Click once on the WGS 84 coordinate reference system to select it
Click only once on the OK button
74
MODULE 3: MAP PUBLICATION
Turning on labels
1. Double click the kenya_lakes layer name in the layer list window. This opens
the layer’s properties.
2. Click the Labels tab once.
3. Check on, with a single click, the Label this layer checkbox.
4. In the immediate entry field, click once on the drop-down list and select NAME
with a single click.
5. Click OK in the layer properties window. The layer should now have NAME
labels displayed.
75
QGIS DESKTOP TRAINING
Turning on labels
1. Double click the TCA layer name in the Layer List window. This opens the layer’s
properties.
2. Click the Labels tab once.
3. Check on, with a single click, the Label this layer checkbox.
4. In the immediate entry field, click once on the drop-down list and select
Basin_Name with a single click.
5. Click OK in the layer properties window. The layer should now have
Basin_Name labels displayed.
76
MODULE 3: MAP PUBLICATION
Turning on labels
1. Double click the ACA layer name in the layer list window. This opens the layer’s
properties.
2. Click the Labels tab once.
3. Check on, with a single click, the Label this layer checkbox.
4. In the immediate entry field, click once on the drop-down list and select
Basin_Name with a single click.
5. Click OK in the layer properties window. The layer should now have
Basin_Name label displayed.
Turning on labels
1. Double click the LVSCA layer name in the Layer List window. This opens the
layer’s properties.
2. Click the Labels tab once.
3. Check on, with a single click, the Label this layer checkbox.
4. In the immediate entry field, click once on the drop-down list and select Name
with a single click.
5. Click OK in the layer properties window. The layer should now have Name label
displayed.
77
QGIS DESKTOP TRAINING
Turning on labels
1. Double click the ENNCA layer name in the layer list window. This opens the
layer’s properties.
2. Click the Labels tab once.
3. Check on, with a single click, the Label this layer checkbox.
4. In the immediate entry field, click once on the drop-down list and select
Basin_name with a single click.
5. Click OK in the layer properties window. The layer should now have
Basin_name label displayed.
Turning on labels
1. Double click the RVCA layer name in the Layer List window. This opens the
layer’s properties.
78
MODULE 3: MAP PUBLICATION
Turning on labels
1. Double click the LVNCA layer name in the layer list window. This opens the
layer’s properties.
2. Click the Labels tab once.
3. Check on, with a single click, the Label this layer checkbox.
4. In the immediate entry field, click once on the drop-down list and select Name
with a single click.
5. Click OK in the layer properties window. The layer should now have Name label
displayed
6. A must do: reorder the layers in the layer list window as appropriate to ensure
optimum visibility of every layer.
79
QGIS DESKTOP TRAINING
Zoom to full extent. This display extent determines what the map looks like in the Map
Composer.
80
MODULE 3: MAP PUBLICATION
1. Click once on the Project menu, then click once on the New Print Composer
option entry to open the tool dialog.
2. A popup dialog is displayed, type the map title Training map
3. Click OK.
4. A new blank map composer is opened.
OR
81
QGIS DESKTOP TRAINING
4. Check that the values under Composition ‣ Paper and Quality are set to the
following:
Size: A4 (210 x 297mm).
Orientation: Portrait.
Quality: 300dpi (This is a measure of how fine or detailed an image is,
usually expressed in dots per inch [dpi]. A resolution quality of 300 dpi will
print well on all printers.)
5. Click once on the Guides and Grid option. This will open the properties for the
guides and grid. Make the following settings:
Grid spacing: 10mm
Snap Tolerance: 5px
82
MODULE 3: MAP PUBLICATION
Now you’ve got the page layout the way you wanted it, but this page is still blank. It
clearly lacks a map. Let’s fix that!
With this tool activated, you’ll be able to place a map on the page.
7. Click and drag a portrait-like virtual frame in the blank Print Composer page:
8. Click on the Move item content tool. Click and hold down on the newly
added map, and move the map by dragging it to the central part of the
composer.
9. Resize the map frame by clicking and dragging the boxes in the corners:
83
QGIS DESKTOP TRAINING
NOTE: Your map may look a lot different, of course! This depends on how your own
project is set up. But not to worry! These instructions are general, so they will work the
same regardless of what the map itself looks like.
10. Be sure to leave margins along the edges, and a space along the top for the title
and at the bottom for the other map elements:
Leave space
for the title
11. Zoom in and out on the page (not the map!) by using these tools.
84
MODULE 3: MAP PUBLICATION
12. Zoom and pan the map in the main QGIS window. You can also pan the map
When zooming in, the map view will not refresh by itself. This is so that no time
is wasted redrawing the map while you’re zooming the page to where you want
it, but it also means that if you zoom in or out, the map will be at the wrong
resolution and will look ugly or unreadable.
13. Force the map to refresh by clicking the refresh view tool:
Remember that the size and position you’ve given the map doesn’t need to be
final. You can always come back and change it later if you’re not satisfied. For
now, you need to ensure that you’ve saved your work on this map. Because a
Composer in QGIS is part of the main map file, you’ll need to save your main
project.
16. Navigate the path C:\Q-GIS Training data\Projects and Save the map as
Map_print.qgs
17. Click on the map once in the print composer. Scroll down till you reach the
Frame option.
18. Click on the black arrow behind the name: Frame. This will roll out the
properties for the frame.
b) Select Item
a) Click on the
properties
map c) Scroll
down till
you find
Frame
85
QGIS DESKTOP TRAINING
But if you tried it, you’ll see that it’s difficult to align the label to be completely centred
to the map! Luckily, there’s a tool for that.
86
MODULE 3: MAP PUBLICATION
3. Look for this tool and click on the downward arrow next to the button.
4. Click Align Center.
Now the label is centred to the map, but not the contents. To center the contents of
the label:
Choose a large but sensible font (the example will use the font with a size of
36 points), and keep the colour subdued.
In fact, it’s probably best to keep it black as per the default. The key is that the
font should not be distracting, otherwise people who see the page will be
looking at the heading instead of reading the map!
Set the Horizontal Alignment to Center, so that the heading is properly
centred within the label.
87
QGIS DESKTOP TRAINING
88
MODULE 3: MAP PUBLICATION
1
2
1. Click once on the Legend and select a layer from the same list.
2. Uncheck the Auto update option in the legend properties.
3. Click the Edit button:
4. Rename the layers ke_major-rivers to Kenya major rivers.
NOTE: For Edit button to be active, uncheck Auto update in legend items window.
89
QGIS DESKTOP TRAINING
You can also give the legend a frame and background colour:
In the item tab scroll down to frame and click on it inside the box.
90
MODULE 3: MAP PUBLICATION
1) Click on Item
Properties Tab
2) Scroll to
Search for Grid
and expand it
for options
91
QGIS DESKTOP TRAINING
1. Click on
2. Click on map
3. Drag the extent frame
upwards.
1. Click on
2. Click once on the map
3. Drag the scale frame to suit the
display
4. Position the scale bar in the best-
suited location
92
MODULE 3: MAP PUBLICATION
Finally, the map is ready for export! You’ll see the export buttons near the top left
corner of the Composer window:
The button on the right is the Print button, which interfaces with a printer. Since the
options will differ depending on the printer model, consult the printer manual or a
general guide to printing for more information on this topic.
The other three buttons allow you to export the map page to a file. There are three
export formats to choose from:
o Export as Image
o Export as PDF
o Export as SVG
Exporting as an image will give you a selection of various common image formats to
choose from. This is probably the simplest option, but the image it creates is “dead”
and difficult to edit.
If you’re sending the map to a cartographer (who may want to edit the map for
publication), it’s best to export as an SVG. SVG stands for ‘Scalable Vector Graphic‘,
and the file you create can be imported into programs like Inkscape or other vector
image editing software.
If you need to send the map to a client, it’s most common to use PDF (or ‘Portable
Document Format’), because it’s easier to set up printing options for a PDF. Some
cartographers may prefer PDF as well, if they have a program that allows them to
import and edit this format.
93
QGIS DESKTOP TRAINING
1.11. In conclusion
1. Close the Composer window.
2. Save your map.
3. Find your exported PDF using your operating system’s file manager.
4. Open it.
5. Bask in its glory.
o Indicate the time period(s) both of the data and of the currency of the
geographic boundaries (e.g. 1990 data presented to 2005 boundaries).
o Include a key to explain what is meant by the colours on the map, the different
sizes of symbol etc. Ensure the ranges on the key do not overlap (So don’t use
0-5 and 5-10, for example. Otherwise, how would you show an area with value
5? Better ranges would be 0-4 and 5-9).
o Textual summary. The key message(s) of your map should also be summarised
in words.
o You may not wish to label each of the areas shown on the map as this might
clutter the page and obscure the statistics. As an alternative, you may wish to
consider publishing a separate reference map containing just area names and
boundaries.
94
MODULE 3: MAP PUBLICATION
o Percentiles – e.g. you could use quintiles whereby the bottom 20% of
values fall into one class, the next 20% into another, etc.
o Polarised ranges, whereby categories cluster towards one (or both) ends of
the range of values. For example, if you were highlighting deprivation you
might decide that the most prosperous 80% of areas are one shade, but
the most deprived areas are highlighted by having different shades for the
worst 20%, 10% and 5% of areas.
o Natural breaks in the data – If data values tend to cluster into distinct
groups, you may wish to adjust the ranges such that all those areas falling
into a particular group are shaded in the same colour. Most Geographic
Information Systems (GIS) offer a range of ways of doing this. Make sure
that the one you choose is appropriate to the data you are showing.
o Note that having too many classes is bad practice as it makes the map too
complicated and colours harder to pick out. Five or six classes are usually
ample.
o In general, use light colours for low values and darker ones for high values.
o Also be aware that in some cases certain colours may have ‘natural’
associations – for example, red and debt.
95
QGIS DESKTOP TRAINING
This is because it is very difficult for the human eye to interpret the relative size
of two-dimensional objects (although a good key will help).
o It is important that the symbols you use are genuinely proportional to the value
being mapped. A value twice as high needs a symbol with double the surface
area, not a doubling of each dimension. Consider that if you double both the
height and width of anything, the area becomes four times larger, which would
give a very misleading visual impression.
Dot maps
o GIS offers aggregated dot maps, which take the aggregate statistic for a given
area and randomly scatter an appropriate number of dots across it. It would be
possible to do this with Neighbourhood Statistics data, but you should not do
so. Such maps are misleading and are not true dot maps. A true dot map will
only mark data at the exact location of occurrence.
Map dangers
Although maps are a valuable means of data presentation, there are some pitfalls in
the way they may be interpreted:
o They may exaggerate the difference between areas. Suppose the dividing line
between two classes on a choropleth map is 20%. Then suppose, for the
variable in question, that area A has a rate of 19.95% and B has one of 20.05%.
This is a small difference in reality, but their different colouring on the map
might be interpreted otherwise. This is one reason why it is often useful to
make the data available in a table too.
o The human mind will often associate dark colours or large symbols with a high
likelihood of the variable in question, but they may have more to do with the
96
MODULE 3: MAP PUBLICATION
simple fact that the area has a large overall population. For this reason, it is
often more appropriate to map using standardised data such as rates or
percentages.
o The fact that some geographic units are much larger than others means their
colours can dominate a choropleth map. For example, rural local authorities are
often large, whereas urban authorities tend to have a much smaller area. This
means that if one end of a range of values is common in rural areas, and the
other in urban, the colour of the typically rural characteristic might misleadingly
dominate the map. Although this is inevitable you can reduce the effect by
choosing non-dominant colours, and your textual summary might usefully
highlight the urban-rural distinction.
o Be aware of how the areas you use can substantially alter the visual impact of a
map. For example, a neighbourhood with a particularly high crime rate might
really stand out on a map if the boundaries approximate to those of the
neighbourhood. However, if the boundaries used happened to combine the
neighbourhood with an adjacent area of particularly low crime, the presence of
the hotspot could be lost.
o Don’t assume that the default values suggested by your GIS (for choropleth
map ranges, for example) are necessarily the best. Always examine the data
and its context to see if it could be presented in a better way, and adjust the
settings on your GIS accordingly.
97
QGIS DESKTOP TRAINING
Module 4:
CREATING VECTOR DATA
98
MODULE 4: CREATING VECTOR DATA
Creating maps using existing data is just the beginning. In this module, you’ll learn how
to modify existing vector data and create new datasets entirely.
Lesson 3: Forms
3.1. Follow along: Using QGIS’ Form Design Functionality
3.2. Try yourself... Using the Form to Edit Values
3.3. Follow along: Setting Form Field Types
3.4. In Conclusion
3.5. What Next?
99
QGIS DESKTOP TRAINING
You’ll need to open the New Vector Layer dialog that will allow you to define a new
layer.
A. POLYGON DATA
Launch the QGIS desktop by double clicking the icon on the Desktop if not
already open.
100
MODULE 4: CREATING VECTOR DATA
It’s important to decide which kind of dataset you want at this stage. Each different
vector layer type is “built differently” in the background, so once you’ve created the
layer, you can’t change its type.
For the next exercise, we’re going to be creating new features which describe areas.
For such features, you’ll need to create a polygon dataset.
This has no impact on the rest of the dialog, but it will cause the correct type of
geometry to be used when the vector dataset is created.
The next field allows you to specify the Coordinate Reference System or CRS. A CRS
specifies how to describe a point on Earth in terms of coordinates, and because there
are many different ways to do this, there are many different CRSs. Set the CRS of this
project to Project CRS EPSG: 4326-WGS84
101
QGIS DESKTOP TRAINING
Next, there is a collection of fields grouped under New attribute. By default, a new
layer has only one attribute, the ID field (which you should see in the Attributes list)
below. However, in order for the data you create to be useful, you actually need to say
something about the features you’ll be creating in this new layer! For our current
purposes, it will be enough to add three fields called: Name, Area, Plot Owner.
4
2
102
MODULE 4: CREATING VECTOR DATA
1
1
4
2
4
2
103
QGIS DESKTOP TRAINING
Confirm your
Attributes list
Click on the Save As button, navigate the path C:\Q-GIS Training data\Projects
and save the map under it as The Layer Creation.
Exit the desktop application to continue later or go through the creation of all the
layers below.
104
MODULE 4: CREATING VECTOR DATA
B. LINE DATA
For the next exercise, we’re going to be creating new features which describe lines.
For such features, you’ll need to create a line dataset.
Navigate to and click on the menu entry Layer ‣ Create Layer ‣ New Shapefile Layer
This has no impact on the rest of the dialog, but it will cause the correct type of
geometry to be used when the vector dataset is created.
The next field allows you to specify the Coordinate Reference System or CRS. A CRS
specifies how to describe a point on Earth in terms of coordinates, and because there
are many different ways to do this, there are many different CRSs. Set the CRS of this
project to Project CRS EPSG: 4326-WGS84.
105
QGIS DESKTOP TRAINING
Next, there is a collection of fields grouped under New attribute. By default, a new
layer has only one attribute, the ID field (which you should see in the Attributes list)
below. However, in order for the data you create to be useful, you actually need to say
something about the features you’ll be creating in this new layer! For our current
purposes, it will be enough to add two fields called Name and Length.
106
MODULE 4: CREATING VECTOR DATA
1
4
1
4
5
3
107
QGIS DESKTOP TRAINING
Navigate the path C:\Q-GIS Training data\Projects and save your new layer as
Rivers.shp
Exit the desktop application to continue later or go through the creation of all the
layers below.
C. POINT DATA
For the next exercise, we’re going to be creating new features which describe points
(XY representations). For such features, you’ll need to create a point dataset.
Navigate to and click on the menu entry Layer ‣ Create Layer ‣ New Shapefile Layer
108
MODULE 4: CREATING VECTOR DATA
This has no impact on the rest of the dialog, but it will cause the correct type of
geometry to be used when the vector dataset is created.
The next field allows you to specify the Coordinate Reference System or CRS. A CRS
specifies how to describe a point on Earth in terms of coordinates, and because there
are many different ways to do this, there are many different CRSs. Set the CRS of this
project to Project CRS EPSG: 4326-WGS84.
Next, there is a collection of fields grouped under New attribute. By default, a new
layer has only one attribute, the ID field (which you should see in the Attributes list)
below. However, in order for the data you create to be useful, you actually need to say
something about the features you’ll be creating in this new layer! For our current
purposes, it will be enough to add two fields called Name and Comment.
109
QGIS DESKTOP TRAINING
4
2
4
2
110
MODULE 4: CREATING VECTOR DATA
You have just learnt to create all vector data types: polygons, lines, and point data.
111
QGIS DESKTOP TRAINING
There are many different ways to obtain data about objects. For example, you could
use a GPS to capture points in the real world, then import the data into QGIS
afterwards. Or you could survey points using a theodolite, and enter the coordinates
manually to create new features. Or you could use the digitizing process to trace
objects off remote sensing data, such as satellite imagery or aerial photography.
For our example, you’ll be using the digitizing approach. Sample raster datasets are
provided, so you’ll need to import them as necessary.
Launch the QGIS desktop by double clicking the icon on the desktop if not
already open.
Navigate the path below and click once on the project path C:\Q-GIS Training
data\Projects\The layer Creation.qgs
OR
This opens to the empty layers you created in the previous exercise.
112
MODULE 4: CREATING VECTOR DATA
Double click the file kisumu.tif or Click Open in the open a GDAl Supported Raster Data
source window.
Click and drag it to the bottom of the list so that you can still see your other layers.
Right-click the Kisumu raster dataset and click once on the Zoom to layer command.
Pan and zoom into any area of the map to a resolution where the details on the raster
are visible without haze:
Hide all the layers except the raster and the Water_reservoirs layer. This is achieved
by highlighting the layers you would like to hide, then click on Manage Layer Visibility
113
QGIS DESKTOP TRAINING
In order to begin digitizing, you’ll need to enter edit mode. GIS software commonly
requires this to prevent you from accidentally editing or deleting important data. Edit
mode is switched on or off individually for each layer.
Click on the Water_Reservoirs layer in the Layer list to select it. (Make very sure that
the correct layer is selected, otherwise you’ll edit the wrong layer!). In order to be
certain of the layer you are editing, make sure your layer has the Toggle Editing icon
beside it as illustrated.
Alternatively right click on the layer of interest and navigate to Toggle Editing.
If you can’t find this button, check that the Digitizing toolbar is enabled. There should
be a check-mark next to the View ‣ Toolbars ‣ Digitizing menu entry.
As soon as you are in edit mode, you’ll see the digitizing tools are now active:
114
MODULE 4: CREATING VECTOR DATA
6. Delete Selected: delete the selected feature (only active if a feature has
been selected)
7. Cut Features: cut the selected feature (only active if a feature has been
selected)
8. Copy Features: copy the selected feature (only active if a feature has
been selected).
9. Paste Features: paste a cut or copied feature back into the map (only
active if a feature has been cut or copied)
You want to add a new feature. Click on the Add Feature button now to begin
digitizing right away!
You’ll notice that your mouse cursor has become a crosshair. This allows you to more
accurately place the points you’ll be digitizing. Remember that even as you’re using the
digitizing tool, you can zoom in and out on your map by rolling the mouse wheel, and
you can pan around by holding down the mouse wheel and dragging around within the
map.
Start digitizing by clicking on a point somewhere along the edge of any identifiable
water reservoirs on the raster.
Place more points by clicking further along the edge, until the shape you’re drawing
completely covers the field.
115
QGIS DESKTOP TRAINING
To place your last point, right-click where you want it to be. This will finalise the
feature and show you the Attributes dialog.
Remember, if you’ve made a mistake while digitizing a feature, you can always edit it
after you’re done creating it. So even if you’ve made a mistake, continue digitizing until
you’re done creating the feature as above. Then:
116
MODULE 4: CREATING VECTOR DATA
Delete Selected to get rid of the feature entirely so you can try again
Edit ‣ Undo menu item or the ctrl + z keyboard shortcut to undo mistakes
Click on the Toggle Editing tool to exit editing mode
Navigate the path C:\Q-GIS Training data\Projects and save the map under it
as Layer Creation.
Exit the desktop application if you are not finishing the exercise now.
117
QGIS DESKTOP TRAINING
Navigate the path C:\Q-GIS Training data\Projects and double-click the project name:
Layer Creation
In order to begin digitizing, you’ll need to enter edit mode. GIS software commonly
requires this to prevent you from accidentally editing or deleting important data. Edit
mode is switched on or off individually for each layer.
Click on the Markets layer in the Layer List to select it. (Make sure that the correct
layer is selected, otherwise you’ll edit the wrong layer!) In order to be certain of the
layer you are editing, make sure your layer has the Toggle Editing icon beside it as
illustrated.
If you can’t find this button, check that the Digitizing toolbar is enabled. There should
be a check-mark next to the View ‣ Toolbars ‣ Digitizing menu entry.
As soon as you are in edit mode, you’ll see the digitizing tools are now active (refer to
1.2 if you don’t remember what they are).
You want to add a new feature. Click on the Add Feature tool now to begin
digitizing right away!
You’ll notice that your mouse cursor has become a crosshair. This allows you to more
accurately place the points you’ll be digitizing. Remember that even as you’re using the
digitizing tool, you can zoom in and out on your map by rolling the mouse wheel, and
118
MODULE 4: CREATING VECTOR DATA
you can pan around by holding down the mouse wheel and dragging around within the
map.
Start digitizing by clicking on a point somewhere on the specific market centre and
urban area identifiable on the raster.
Repeat the same to capture as many markets as you can identify on the raster.
Click on the Rivers layer in the Layer list to select it. (Make very sure that the correct
layer is selected, otherwise you’ll edit the wrong layer!). In order to be certain of the
layer you are editing, make sure your layer has the Toggle Editing icon beside it as
illustrated.
119
QGIS DESKTOP TRAINING
If you can’t find this button, check that the Digitizing toolbar is enabled. There should
be a check-mark next to the View ‣ Toolbars ‣ Digitizing menu entry.
As soon as you are in edit mode, you’ll see the digitizing tools are now active (refer to
1.2 if you don’t remember what they are).
Click on the Add Feature tool now to begin digitizing right away!
You’ll notice that your mouse cursor has become a crosshair. This allows you to more
accurately place the points you’ll be digitizing. Remember that even as you’re using the
digitizing tool, you can zoom in and out on your map by rolling the mouse wheel, and
you can pan around by holding down the mouse wheel and dragging around within the
map.
120
MODULE 4: CREATING VECTOR DATA
121
QGIS DESKTOP TRAINING
1.4. In conclusion
The features created are only useful when its attributes are known and documented.
122
MODULE 4: CREATING VECTOR DATA
For example: if two features share a border, and you edit the border using topology,
then you won’t need to edit first one feature, then another, and carefully line up the
borders so that they match. Instead, you can edit their shared border and both
features will change at the same time.
Launch the QGIS desktop by double clicking the icon on the desktop if not
already open.
Click on the Browse button in the popup window and navigate the path C:/Q-GIS
Training data/Raster data/Kisumu/kisumu.tif
Double click the file kisumu.tif. If prompted with the Coordinate Reference System
Selector follow the sub-steps below, otherwise proceed to the next step.
123
QGIS DESKTOP TRAINING
1
2
3
4
5 6 7
124
MODULE 4: CREATING VECTOR DATA
Click on the Browse button in the popup window and navigate the path C:/Q-GIS
Training data/Vector data/Polygon data/LVSCA WRUAS/LVSCA WRUAS.shp
Click Open in the Add Vector Layer window. If prompted with the Coordinate
Reference System Selector follow the sub-steps below, otherwise proceed to the next
step.
Click Once on the LVSCA WRUAS layer in the Layers list window to select it.
Double click the LVSCA WRUAS layer name in the layer list window. This will open the
layer properties window for this layer.
1 2
125
QGIS DESKTOP TRAINING
Pan across and use the Select Features tool, click once on the Engare Engito
WRUA.
Digitize this new (fictional) WRUA next to the Engare Engito WRUA.
NOTE: Make sure the layer is zoomed in close enough while digitizing.
126
MODULE 4: CREATING VECTOR DATA
If you’re careful while digitizing and allow the cursor to snap to the vertices of
adjoining WRUAs, you’ll notice that there won’t be any gaps between your new WRUA
and the existing WRUAs adjacent to it.
Note the undo/redo tools in the Advanced Digitizing toolbar: try using the
tools cautiously without distorting the current project.
Navigate the path C:\Q-GIS Training data\Projects and save the map under it as
Extending polygons
Launch the QGIS desktop by double clicking the icon on the Desktop if not
already open.
127
QGIS DESKTOP TRAINING
Click once on
the Browse
Button
Click on the Browse button in the popup window and navigate the path C:/Q-GIS
Training data/Vector data/Polygon data/Kenya 6 basins/ENNCA/ENNCA.shp
You will be presented with the popup window where you can change the tolerance
values as desired.
Adjust the tolerance units upwards to 50 layer units and click OK.
128
MODULE 4: CREATING VECTOR DATA
The Simplify Feature tool allows you to reduce the number of nodes in complex
features. However, notice what it does to the topology! This tool is better suited to
generalising stand-alone features. The advantage is that it provides you with a simple,
intuitive interface for generalisation, and allows you to see what the effects would be
before you implement them.
Before you go on, get the farm back to its previous state. Either:
129
QGIS DESKTOP TRAINING
Launch the QGIS desktop by double clicking the icon on the Desktop if not
already open.
Click once on
the Browse
Button
Click on the Browse button in the popup window and navigate the path C:/Q-GIS
Training data/Vector data/Polygon data/Kenya 6 basins/LVNCA/LVNCA.shp
Click Open in the Add Vector Layer window. If prompted with the Coordinate
Reference System Selector follow the sub-steps below, otherwise proceed to the next
step.
130
MODULE 4: CREATING VECTOR DATA
Start digitizing by clicking on a point somewhere within the LVNCA layer in the canvas
display.
Place more points by clicking further around the target area where the reservoir will
rest until the area is fully enclosed. To place your last point, right-click where you want
it to be. This will finalise the feature.
Launch the QGIS desktop by double clicking the icon on the desktop if not
already open.
131
QGIS DESKTOP TRAINING
Click on the Browse button in the popup window and navigate the path C:/Q-GIS
Training data/Vector data/Polygon data/LVSCA WRUAS/LVSCA WRUAS.shp
Click Open in the Add Vector Layer window. If prompted with the Coordinate
Reference System Selector then follow the sub-steps below, otherwise proceed to the
next step.
Click on the LVSCA WRUAS layer to activate it in the layer list window.
To select the Nyandhiwa WRUA with a single click on its area confines.
132
MODULE 4: CREATING VECTOR DATA
Place more points by clicking further around the target area where the islands will rest,
until the area is fully enclosed. To place your last point, right-click where you want it to
be. This will finalise the feature.
Navigate the path C:\Q-GIS Training data\Projects and save the map under it as
Adding parts
2.5. Try yourself... The Delete Ring and Delete Part tools
Launch the QGIS desktop by double clicking the icon on the Desktop if not
already open.
Click on the Browse button in the popup window and navigate the path C:/Q-GIS
Training data/Vector data/Polygon data/LVSCA WRUAS/LVSCA WRUAS.shp
133
QGIS DESKTOP TRAINING
Double click the LVSCA WRUAS layer name in the layer list window. This opens the
layer’s properties.
3
2
3
2
4
1
Click on the LVSCA WRUAS layer to activate it in the Layer list window.
Right-click the layer name LVSCA WRUAS in the layer list window, click only once on
the option Open Attribute Table
134
MODULE 4: CREATING VECTOR DATA
In the LVSCA WRUAS layers attribute table, click once on the first cell in the record
containing the WRUA_NAME: Nyandhiwa. This is selection by attribute.
135
QGIS DESKTOP TRAINING
Click once on the Nyandhiwa selected polygon. The polygon is deleted immediately.
136
MODULE 4: CREATING VECTOR DATA
Click on the Browse button in the popup window and navigate the path C:/Q-GIS
Training data/Vector data/Polygon data/LVSCA WRUAS/LVSCA WRUAS.shp
Double click the LVSCA WRUAS layer name in the layer list window. This opens the
layer’s properties.
137
QGIS DESKTOP TRAINING
3
2 3
2
4
1
Click on the LVSCA WRUAS layer to activate it in the layer list window.
Click only once on the Select features using an expression tool. It will open the
Select by expression window.
138
MODULE 4: CREATING VECTOR DATA
1. Click once the plus sign + next to the Fields and Values option, to expand the
contents.
4 7
139
QGIS DESKTOP TRAINING
2. Double click the option: WRUA_NAME. This adds it to the expression output
preview window.
3. Click once on the Equal Operator tool. This adds the operator to the
expression output preview window.
4. Click once on the all unique tool. The tool fetches all the
attributes in the WRUA_NAME field.
5. Scroll and find the attribute: Mawira. Double click it, to add it to the expression
output preview window.
8. Click on the Zoom to selection tool by clicking on it once. The display will
zoom to the Mawira coverage area as the central focal area in the canvas
display.
140
MODULE 4: CREATING VECTOR DATA
11. Start digitizing by clicking inside Mawira coverage area, then capture vertices
outside the Mawira coverage by clicking and inserting vertices around the area
you desire to add to the Mawira coverage area. When done, click inside the
Mawira coverage area then right inside the Mawira coverage area to finish the
extension.
Start digitizing by clicking outside Mawira coverage area, then capture vertices inside
the Mawira coverage through inserting vertices around the area you desire to deduct
141
QGIS DESKTOP TRAINING
from the Mawira coverage area. When done, click outside the Mawira coverage area
then right outside the Mawira coverage area to finish the deduction.
Navigate the path C:\Q-GIS Training data\Projects and Save the map as Reshaping
features
142
MODULE 4: CREATING VECTOR DATA
3. Click on the Browse button in the popup window and Navigate the path C:/Q-
GIS Training data/Vector data/Polygon data/Kenya 6 basins/TCA/TCA.shp
7. Click on the TCA layer to activate the Split features tool it in the Layer list
window.
9. To select the TCA polygon, click on it with a single click within its boundaries.
12. Click outside the surface of the TCA coverage layer, within the canvas window
but next to the area you want to start the split. Then add vertices by clicking
across the TCA coverage area along the line you want to split. Finally click
outside the TCA coverage area then right click outside the TCA coverage area
to finish the split.
143
QGIS DESKTOP TRAINING
Navigate the path C:\Q-GIS Training data\Projects and save the map under it as
Splitting features.qgs.
NOTE: Try checking the Attributes of the split map to confirm that the layer has two
records. This is a split result but the attributes have to be updated as they are by
default duplicated.
144
MODULE 4: CREATING VECTOR DATA
Through the projects menu, navigate and click once on the path Projects\Open
Recent\C:\Q-GIS Training data\Projects\Splitting Features.qgs
1. Click on the TCA layer name to activate it in the layer list window.
3. To select the split TCA polygon, click on it with a single click within the
boundaries of one of the split polygons.
4. Hold down the ctrl key on the keyboard and click on the second split polygon.
This selects both polygons.
145
QGIS DESKTOP TRAINING
5. Click once on the Zoom to selection tool. The display will zoom to the
TCA area as the central focal area in the canvas display.
146
MODULE 4: CREATING VECTOR DATA
9. Click once on the Toggle Editing tool: this exits the editing mode.
2.9. In conclusion
Topology editing is a powerful tool that allows you to create and modify objects
quickly and easily, while ensuring that they remain topologically correct.
147
QGIS DESKTOP TRAINING
Lesson 3: Forms
When you add new data via digitizing, you’re presented with a dialog that lets you fill
in the attributes for that feature. However, this dialog is not, by default, very nice to
look at. This can cause a usability problem, especially if you have large datasets to
create, or if you want other people to help you digitize and they find the default forms
to be confusing.
Fortunately, QGIS lets you create your own custom dialogs for a layer. This lesson
shows you how.
6. Click once on the Water_way layer to activate it in the Layer list window.
148
MODULE 4: CREATING VECTOR DATA
10. Click on the Open form to see the form that QGIS generates for this layer.
Obviously, it would be nice to be able to do this while looking at the map, rather than
needing to search for a specific feature in the Attribute Table all the time.
12. Click once on the Identify Features tool. To activate the Identify Results
window:
13. Go to the View menu ‣ Panels menu then check on the Identify Results panel
with a single click on the check box if not checked on (see below).
149
QGIS DESKTOP TRAINING
The Identify Results panel is added to display, check the Auto Open Form checkbox.
15. Click once on Water_way layer to activate the layer in the Layers list.
16. Using the Identify Features tool, click on any Water_way line in the
map.
Instead of the normal Identify dialog, you’ll see the now-familiar form:
150
MODULE 4: CREATING VECTOR DATA
151
QGIS DESKTOP TRAINING
9. Click OK on the form window when done with editing the attributes.
10. Click on the Save Layer Edits tool to save the current edits.
11. Click once on the Toggle Editing tool to exit editing mode.
152
MODULE 4: CREATING VECTOR DATA
12. Click Save in the popup window asking whether to save changes.
13. Open the Attribute Table for the Water_Way layer and trace to see your edits
there!
153
QGIS DESKTOP TRAINING
Summary
We have reached the end of this Manual!
You are familiar now with the basic and fundamental approaches of a GIS. After
familiarising yourself with the interface of the QGIS application, you learned how to
create a basic map. This is the first analysis level of a GIS, because it enables you to see
different information levels (layers) combined in one map.
You are also able to proceed from the analysis level to publication level. You learned
that for a map for publishing there are certain crucial elements to be included to
enable the user to understand the information you want to transmit, such as a legend
or a scale bar.
In a fourth step, you created your own vector data layer. This procedure enables you
now to feed the GIS with your own data collected in the field and combine them with
other information layers.
There are many other functions that can be applied in the analysis of spatial data. Be
encouraged to take further steps on the way, now that you have already set foot on
the path!
The internet offers a wide selection of informative web pages, data downloads,
application and examples of analysis results and maps. There are also a number of
forums, where questions of all levels in GIS applications have been asked. And of
course, you can also ask your specific questions in these rooms.
On the next page we provide some links to further reading, but be aware that there is
much more when you start your own research.
We hope you have enjoyed our introduction to the world of GIS and will have a lot of
use and successful applications for it!
154
FURTHER READING
NETELER, M., AND MITASOVA, H. Open source GIS: A GRASS GIS approach, 2008.
155
QGIS DESKTOP TRAINING
Section 1 – Definitions.
a. Adapted Material means material subject to Copyright and Similar Rights that
is derived from or based upon the Licensed Material and in which the Licensed
Material is translated, altered, arranged, transformed, or otherwise modified in
a manner requiring permission under the Copyright and Similar Rights held by
the Licensor. For purposes of this Public License, where the Licensed Material is
a musical work, performance, or sound recording, Adapted Material is always
produced where the Licensed Material is synched in timed relation with a
moving image.
b. Adapter's License means the license You apply to Your Copyright and Similar
Rights in Your contributions to Adapted Material in accordance with the terms
and conditions of this Public License.
c. Copyright and Similar Rights means copyright and/or similar rights closely
related to copyright including, without limitation, performance, broadcast,
sound recording, and Sui Generis Database Rights, without regard to how the
rights are labeled or categorized. For purposes of this Public License, the rights
specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
d. Effective Technological Measures means those measures that, in the absence
of proper authority, may not be circumvented under laws fulfilling obligations
under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996,
and/or similar international agreements.
e. Exceptions and Limitations means fair use, fair dealing, and/or any other
exception or limitation to Copyright and Similar Rights that applies to Your use
of the Licensed Material.
f. Licensed Material means the artistic or literary work, database, or other
material to which the Licensor applied this Public License.
g. Licensed Rights means the rights granted to You subject to the terms and
conditions of this Public License, which are limited to all Copyright and Similar
Rights that apply to Your use of the Licensed Material and that the Licensor has
authority to license.
h. Licensor means the individual(s) or entity(ies) granting rights under this Public
License.
156
LICENSE
i. Share means to provide material to the public by any means or process that
requires permission under the Licensed Rights, such as reproduction, public
display, public performance, distribution, dissemination, communication, or
importation, and to make material available to the public including in ways that
members of the public may access the material from a place and at a time
individually chosen by them.
j. Sui Generis Database Rights means rights other than copyright resulting from
Directive 96/9/EC of the European Parliament and of the Council of 11 March
1996 on the legal protection of databases, as amended and/or succeeded, as
well as other essentially equivalent rights anywhere in the world.
k. You means the individual or entity exercising the Licensed Rights under this
Public License. Your has a corresponding meaning.
Section 2 – Scope.
a. License grant.
1. Subject to the terms and conditions of this Public License, the Licensor
hereby grants You a worldwide, royalty-free, non-sublicensable, non-
exclusive, irrevocable license to exercise the Licensed Rights in the
Licensed Material to:
A. reproduce and Share the Licensed Material, in whole or in part;
and
B. produce, reproduce, and Share Adapted Material.
2. Exceptions and Limitations. For the avoidance of doubt, where
Exceptions and Limitations apply to Your use, this Public License does
not apply, and You do not need to comply with its terms and conditions.
3. Term. The term of this Public License is specified in Section 6(a).
4. Media and formats; technical modifications allowed. The Licensor
authorizes You to exercise the Licensed Rights in all media and formats
whether now known or hereafter created, and to make technical
modifications necessary to do so. The Licensor waives and/or agrees not
to assert any right or authority to forbid You from making technical
modifications necessary to exercise the Licensed Rights, including
technical modifications necessary to circumvent Effective Technological
Measures. For purposes of this Public License, simply making
modifications authorized by this Section 2(a)(4) never produces
Adapted Material.
5. Downstream recipients.
A. Offer from the Licensor – Licensed Material. Every recipient of
the Licensed Material automatically receives an offer from the
Licensor to exercise the Licensed Rights under the terms and
conditions of this Public License.
B. No downstream restrictions. You may not offer or impose any
additional or different terms or conditions on, or apply any
Effective Technological Measures to, the Licensed Material if
doing so restricts exercise of the Licensed Rights by any recipient
of the Licensed Material.
157
QGIS DESKTOP TRAINING
Your exercise of the Licensed Rights is expressly made subject to the following
conditions.
a. Attribution.
1. If You Share the Licensed Material (including in modified form), You
must:
A. retain the following if it is supplied by the Licensor with the
Licensed Material:
i. identification of the creator(s) of the Licensed Material
and any others designated to receive attribution, in any
reasonable manner requested by the Licensor (including
by pseudonym if designated);
ii. a copyright notice;
iii. a notice that refers to this Public License;
iv. a notice that refers to the disclaimer of warranties;
v. a URI or hyperlink to the Licensed Material to the extent
reasonably practicable;
B. indicate if You modified the Licensed Material and retain an
indication of any previous modifications; and
C. indicate the Licensed Material is licensed under this Public
License, and include the text of, or the URI or hyperlink to, this
Public License.
2. You may satisfy the conditions in Section 3(a)(1) in any reasonable
manner based on the medium, means, and context in which You Share
the Licensed Material. For example, it may be reasonable to satisfy the
158
LICENSE
Where the Licensed Rights include Sui Generis Database Rights that apply to Your use
of the Licensed Material:
a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract,
reuse, reproduce, and Share all or a substantial portion of the contents of the
database;
b. if You include all or a substantial portion of the database contents in a database
in which You have Sui Generis Database Rights, then the database in which You
have Sui Generis Database Rights (but not its individual contents) is Adapted
Material; and
c. You must comply with the conditions in Section 3(a) if You Share all or a
substantial portion of the contents of the database.
For the avoidance of doubt, this Section 4 supplements and does not replace Your
obligations under this Public License where the Licensed Rights include other Copyright
and Similar Rights.
159
QGIS DESKTOP TRAINING
a. This Public License applies for the term of the Copyright and Similar Rights
licensed here. However, if You fail to comply with this Public License, then Your
rights under this Public License terminate automatically.
b. Where Your right to use the Licensed Material has terminated under Section
6(a), it reinstates:
1. automatically as of the date the violation is cured, provided it is cured
within 30 days of Your discovery of the violation; or
2. upon express reinstatement by the Licensor.
For the avoidance of doubt, this Section 6(b) does not affect any right the
Licensor may have to seek remedies for Your violations of this Public License.
c. For the avoidance of doubt, the Licensor may also offer the Licensed Material
under separate terms or conditions or stop distributing the Licensed Material at
any time; however, doing so will not terminate this Public License.
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
Section 8 – Interpretation.
a. For the avoidance of doubt, this Public License does not, and shall not be
interpreted to, reduce, limit, restrict, or impose conditions on any use of the
Licensed Material that could lawfully be made without permission under this
Public License.
b. To the extent possible, if any provision of this Public License is deemed
unenforceable, it shall be automatically reformed to the minimum extent
necessary to make it enforceable. If the provision cannot be reformed, it shall
be severed from this Public License without affecting the enforceability of the
remaining terms and conditions.
c. No term or condition of this Public License will be waived and no failure to
comply consented to unless expressly agreed to by the Licensor.
d. Nothing in this Public License constitutes or may be interpreted as a limitation
upon, or waiver of, any privileges and immunities that apply to the Licensor or
You, including from the legal processes of any jurisdiction or authority.
160
Published under a Creative Commons Attribution
4.0 International License
April 2017
Authors
Linfiniti Consulting CC:
Rüdiger Thiede
Tim Sutton
Horst Düster
Marcelle Sutton
GIZ contributors:
Abel Omanga
Nele Foerch
Daniela Arp
George Odhiambo
Tony Mwaniki
Justus Diang’a
QGIS Desktop Training recommends saving map projects immediately after creating or modifying a map. This is done by clicking on the "Save As" button and navigating to the desired directory path, such as C:\Q-GIS Training data\Projects, to save the map file under a specific name like INTERFACE MODULE or Map_print.qgs . This step is significant as it ensures that the user's work is preserved, providing a backup of the current project state and making it easier to return to the project later or continue working from where they left off .
To add Kenya's lakes layer and label it, users should begin by loading the kenya_lakes.shp file into QGIS using the Add Vector Layer tool. After ensuring the correct coordinate reference system, users should double-click the layer's name, access the Labels tab, check the 'Label this layer' checkbox, and choose NAME from the drop-down list for labeling. Clicking OK will display the labels on the map .
To modify line symbols in QGIS, you need to open the Layer Properties window by double-clicking the layer in the Layers list. Then, select the Style tab and open the Symbology selection window, where you can choose options such as Categorized for changing the layer's symbology by specific attributes. To remove lines between polygons, you modify the Border style by setting it to No Pen, ensuring no lines are visible between polygon features .
Sui Generis Database Rights are a form of legal protection distinct from traditional copyright, stemming from Directive 96/9/EC by the European Parliament and Council on the legal protection of databases. These rights protect the investment in obtaining, verifying, or presenting the contents of a database, allowing the right holder to prevent extraction and/or re-utilization of the whole or a substantial part of the database contents . These rights apply globally, extending beyond the European Union to countries with similar legal frameworks . The Public License allows users to exercise these rights globally, royalty-free, to extract, reuse, reproduce, and share the database contents . However, when sharing or adapting database content where Sui Generis Database Rights exist, one must comply with specific conditions outlined, such as providing appropriate attribution . The Sui Generis Database Rights supplement, but do not replace, other copyright and similar rights applied under the Public License ."}
Conflicts between the exercise of Licensed Rights and moral rights under a Creative Commons License arise because while Licensed Rights allow modification and adaptation of the material, moral rights such as the right of integrity, which are not licensed, may constrain how the material can be altered . The Licensor typically waives or agrees not to assert these moral rights to a limited extent, allowing the exercise of Licensed Rights without infringing on them . However, since moral rights are personal to the author and may not always be waived under the law of some countries, this can create potential conflicts, especially in jurisdictions where moral rights are inalienable."} 르 {{PL}}.json-tech-questions-json-pl.fm-SPAperPage-Ops.nper=0.5singleper=0.9split$ label-controlováni=intControl[
To add labels to a vector layer for Kenya's major rivers in QGIS, first, add the vector layer for the rivers by clicking on the Add Vector Layer tool and navigating to 'C:/Q-GIS Training data/Vector data/Poly_line data/ke_major-rivers/ke_major-rivers.shp', then click Open. Next, to enable labels, double-click the 'ke_major-rivers' layer name in the Layer List window to open the layer properties. Click on the Labels tab, check the 'Label this layer' checkbox, and select the desired field (such as "NAME") from the drop-down list that appears in the immediate entry field. Click OK to apply the changes, and the river names will now be displayed as labels on the map .
The Creative Commons License allows for technical modifications necessary to exercise the Licensed Rights in all media and formats, both existing and future. Furthermore, it includes the permission to make necessary technical modifications to circumvent Effective Technological Measures, with the Licensor waiving the right to forbid such modifications . These modifications are allowed without constituting Adapted Material as long as they are within the scope of exercising the Licensed Rights .
The QGIS Desktop Training guide addresses categorizing symbols for polygon data layers by using categorized symbology. Users are guided to select "Categorized Symbol" in the Symbology drop-down menu and choose a defining field, such as "WRUA_NAME" or "AreasqKm," for categorization. It also suggests setting a "Color Ramp" to "Random Colours" and clicking "Classify" to apply different colors to polygons based on their category fields, thus providing unique textures . Additionally, the guide explains how to add multiple symbol layers to create customized textures, such as changing fill styles and border styles .
The 'No Downstream Restrictions' clause in Creative Commons licensing prohibits licensees from imposing any additional terms or technological measures that would limit the rights granted by the original license to others who receive the Licensed Material. This ensures that all downstream recipients can freely exercise their Licensed Rights under the same conditions as the initial license, without facing any added restrictions or limitations . This is critical for maintaining the openness and accessibility intended by the licensor, ensuring consistent use of the Licensed Material throughout its distribution chain .
Rights under the Creative Commons Public License are automatically reinstated as of the date the violation is cured, provided it is cured within 30 days of the violator's discovery of the violation, or upon express reinstatement by the Licensor .