3. GIS Basics
2 common data models
to represent reality in a
GIS:
• Vector
• Raster
4. Vector data
• Vector data represents real
world features in a GIS
environment
• A feature can be anything that
you see in the landscape
• Features have attributes: text
or numerical information that
describe the features
4
6. Points
• 1 X,Y location
• No area
• No length
• Display:
marker symbol, size, colour
• Applies to features:
•Without area
•Too small to be displayed at
current scale
8. Lines or polylines
• Series of X,Y points
• No area
• Have length
• Connectivity
• Direction
• Display:
Line stile, thickness, colour, offset
• Applies to features:
•Without area but with length
•Too thin to represent as an area at
the current scale
10. Polygons
• Enclosed region
• Area
• Display:
Fill pattern, fill colour,
outline pattern and colour
• Applies to features:
•Countries
•Provinces
•Catchments
11. Polygons
• Geometry consists of 3 or more
vertices and the last vertex is the
same as the first
QGIS training Uganda 11
13. Exercise vector
13
• This map doesn’t have
a legend. In order to do
proper styling we need
to know which features
are
• Points
• Polylines
• Polygones
Source: OpenStreetMap.org
14. What can we do with vector data?
• Spatial queries, e.g.:
• Which houses are within the 100 year flood level of a river?
• Where is the best place to put a hospital so that it is easily
accessible to as many people as possible?
• Which learners live in a particular suburb?
14
15. Common problems with vector data
• Accuracy of vectors depend on scale of digitizing
15
Digitized from 1/1000000 map Digitized from 1/50000 map
23. Attributes in detail
Attribute
Table
Field 1 :
YearBuilt
Field 2:
RoofColour
Field 3:
Balcony
Record 1 1998 Red Yes
Record 2 2000 Black No
Record 3 2001 Silver Yes
23
Fields represent properties of the feature.
Can you think of other attributes that we can connect to houses?