Jomo Kenyatta University OF Agriculture & Technology: P.O. Box 62000, 00200 Nairobi, Kenya E-Mail: Elearning@jkuat - Ac.ke
Jomo Kenyatta University OF Agriculture & Technology: P.O. Box 62000, 00200 Nairobi, Kenya E-Mail: Elearning@jkuat - Ac.ke
OF
AGRICULTURE & TECHNOLOGY
JKUAT SODeL
Nairobi, Kenya
E-mail: [email protected]
JJ II
J I LAST REVISION ON June 22, 2015
J DocDoc I
Back Close
BIT 2324 Geographical Information Systems
This presentation is intended to be covered within one
week. The notes, examples and exercises should be sup-
plemented with a good textbook. Most of the exercises
have solutions/answers appearing elsewhere and accessi-
JKUAT SODeL
Back Close 0
BIT 2324 Geographical Information Systems
LESSON 3
Projections & Coordinate Systems
Learning outcomes
JKUAT SODeL
JJ II
J I
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 1
BIT 2324 Geographical Information Systems
3.1. Introduction
A map is a graphical representation of where features are, ex-
plicitly and relative to one another. It is composed of different
geographic features represented as either points, lines, and/or
JKUAT SODeL
Back Close 2
BIT 2324 Geographical Information Systems
of maps and mapping. In order to become proficient with GISs,
there is need to learn more about cartography, maps, and map-
ping.
tions
The central purpose of a map is to provide relevant and useful
©2015
Back Close 3
BIT 2324 Geographical Information Systems
most maps. Though this may not always be the case, many
map users expect north to be oriented or to coincide with the
top edge of a map or viewing device like a computer monitor.
All map users and map viewers have certain expectations
JKUAT SODeL
Back Close 4
BIT 2324 Geographical Information Systems
are map scale, coordinate systems, and map projections. Map
scale is concerned with reducing geographical features of inter-
est to manageable proportions, coordinate systems help us define
the positions of features on the surface of the earth, and map pro-
JKUAT SODeL
Back Close 5
BIT 2324 Geographical Information Systems
combination of the two. For example, it is common to see “one
inch represents one kilometer” or something similar written on
a map to give map users an idea of the scale of the map. Map
scale can also be portrayed graphically with what is called a
JKUAT SODeL
scale bar. Scale bars are usually used on reference maps and al-
low map users to approximate distances between locations and
features on a map, as well as to get an overall idea of the scale
©2015
of the map.
JJ II
J I
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 6
BIT 2324 Geographical Information Systems
JKUAT SODeL
©2015
Back Close 7
BIT 2324 Geographical Information Systems
tive fraction to describe scale is that it is unit neutral. Any unit
of measure can be used to interpret the map scale. Consider a
map with an RF of 1:10,000. This means that one unit on the
map represents 10,000 units on the ground. Such units could
JKUAT SODeL
Back Close 8
BIT 2324 Geographical Information Systems
for small- or large-scale maps is largely a judgment call.
All maps possess a scale, whether it is formally expressed or
not. Though some say that online maps and GISs are “scaleless”
because we can zoom in and out at will, it is probably more
JKUAT SODeL
Back Close 9
BIT 2324 Geographical Information Systems
dimensional plane. The coordinate system that is most com-
monly used to define locations on the three-dimensional earth is
called the geographic coordinate system (GCS), and it is based
on a sphere or spheroid. A spheroid (a.k.a. ellipsoid is simply
JKUAT SODeL
Back Close 10
BIT 2324 Geographical Information Systems
Note that latitude and longitude can be expressed in degrees-
minutes-seconds (DMS) or in decimal degrees (DD). When using
decimal degrees, latitudes above the equator and longitudes east
of the prime meridian are positive, and latitudes below the equa-
JKUAT SODeL
tor and longitudes west of the prime meridian are negative (see
the following table for examples).
Converting from DMS to DD is a relatively straightforward
©2015
exercise. For example, since there are sixty minutes in one de-
gree, we can convert 118° 15 minutes to 118.25 (118 + 15/60).
Note that an online search of the term “coordinate conversion”
will return several coordinate conversion tools.
When we want to map things like mountains, rivers, streets,
JJ II and buildings, we need to define how the lines of latitude and
J I longitude will be oriented and positioned on the sphere. A da-
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 11
BIT 2324 Geographical Information Systems
tum serves this purpose and specifies exactly the orientation and
origins of the lines of latitude and longitude relative to the center
of the earth or spheroid.
Depending on the need, situation, and location, there are
JKUAT SODeL
Back Close 12
BIT 2324 Geographical Information Systems
uses the center of the earth as its origin, locational measurements
tend to be more consistent regardless where they are obtained on
the earth, though they may be less accurate than those returned
by a local datum. Note that switching between datums will alter
JKUAT SODeL
Back Close 13
BIT 2324 Geographical Information Systems
Geographic data is distinguished from attribute data in that
it is referenced spatially by a coordinate system, e.g. it has a
spatial extent. Natural resource applications commonly use a
Legal Survey system.
JKUAT SODeL
• Entity Representations
We need symbolize spatial features in order to be able to asso-
©2015
Back Close 14
BIT 2324 Geographical Information Systems
have a beginning and an ending point.
• Polygons -“2”dimensional. Length and Width: By adding
Width, we can describe a feature as having an area.
• Surfaces - “3” dimensional. Length, Width, and Height:
JKUAT SODeL
Back Close 15
BIT 2324 Geographical Information Systems
JKUAT SODeL
©2015
JJ II
J I
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 16
BIT 2324 Geographical Information Systems
2. Lines (arcs) - set of connected points
JKUAT SODeL
©2015
JJ II
J I
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 17
BIT 2324 Geographical Information Systems
JKUAT SODeL
©2015
Back Close 18
BIT 2324 Geographical Information Systems
longitude on the surface of the earth to x and y coordinates on a
plane. Since there are an infinite number of ways this translation
can be performed, there are an infinite number of map projec-
tions. The mathematics behind map projections are beyond the
JKUAT SODeL
Back Close 19
BIT 2324 Geographical Information Systems
cylinder, and the cone. Referring again to the previous example
of a light bulb in the center of a globe, note that during the
projection process, we can situate each surface in any number
of ways. For example, surfaces can be tangential to the globe
JKUAT SODeL
JJ II
J I
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 20
BIT 2324 Geographical Information Systems
JKUAT SODeL
©2015
JJ II
J I
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 21
BIT 2324 Geographical Information Systems
3.3. Spatial Data Models
Traditionally spatial data has been stored and presented in the
form of a map. Three basic types of spatial data models have
evolved for storing geographic data digitally. These are referred
JKUAT SODeL
to as:
1. Vector;
©2015
JJ II
2. Raster;
J I
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 22
BIT 2324 Geographical Information Systems
JKUAT SODeL
3. Image
©2015
JJ II
J I
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 23
BIT 2324 Geographical Information Systems
The below diagrams reflects the two primary spatial data encod-
ing techniques. These are vector and raster. Image data utilizes
techniques very similar to raster data, however typically lacks
the internal formats required for analysis and modeling of the
JKUAT SODeL
Back Close 24
BIT 2324 Geographical Information Systems
JKUAT SODeL
©2015
Back Close 25
BIT 2324 Geographical Information Systems
as a vertex that starts or ends an arc segment. Point fea-
tures are defined by one coordinate pair, a vertex. Polygo-
nal features are defined by a set of closed coordinate pairs.
In vector representation, the storage of the vertices for
JKUAT SODeL
Back Close 26
BIT 2324 Geographical Information Systems
the complex data analysis functions cannot effectively be
undertaken without a topologic vector data structure.
The secondary vector data structure that is common among
GIS software is the computer aided drafting (CAD) data
JKUAT SODeL
Back Close 27
BIT 2324 Geographical Information Systems
be difficult to answer. The CAD vector model lacks the
definition of spatial relationships between features that is
defined by the topologic data model.
• Vector Advantages
JKUAT SODeL
Back Close 28
BIT 2324 Geographical Information Systems
monly called raster. While the term raster implies a regu-
larly spaced grid other tessellated data structures do exist
in grid based GIS systems. In particular, the quadtree
data structure has found some acceptance as an alterna-
JKUAT SODeL
Back Close 29
BIT 2324 Geographical Information Systems
data structures a popular choice for many GIS software.
Topology is not a relevant concept with tessellated struc-
tures since adjacency and connectivity are implicit in the
location of a particular cell in the data matrix.
JKUAT SODeL
©2015
JJ II
J I
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 30
BIT 2324 Geographical Information Systems
JKUAT SODeL
©2015
Back Close 31
BIT 2324 Geographical Information Systems
ture is the regularly spaced matrix or raster structure.
This data structure involves a division of spatial data into
regularly spaced cells. Each cell is of the same shape and
size. Squares are most commonly utilized.
JKUAT SODeL
Back Close 32
BIT 2324 Geographical Information Systems
result in some erroneous results during analysis.
As well, since most data is captured in a vector format,
e.g. digitizing, data must be converted to the raster data
structure. This is called vector-raster conversion. Most
JKUAT SODeL
GIS software allows the user to define the raster grid (cell)
size for vector-raster conversion. It is imperative that the
original scale, e.g. accuracy, of the data be known prior to
©2015
Back Close 33
BIT 2324 Geographical Information Systems
type, e.g. a species map, a height map, a density map, etc.
These are often referred to as one attribute maps. This is
in contrast to most conventional vector data models that
maintain data as multiple attribute maps, e.g. forest in-
JKUAT SODeL
techniques.
This is often referred to as raster or map algebra. The
use of raster data structures allow for sophisticated math-
ematical modelling processes while vector based systems
are often constrained by the capabilities and language of
JJ II a relational DBMS.
J I This difference is the major distinguishing factor between
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 34
BIT 2324 Geographical Information Systems
vector and raster based GIS software. It is also important
to understand that the selection of a particular data struc-
ture can provide advantages during the analysis stage. For
example, the vector data model does not handle continu-
JKUAT SODeL
ous data, e.g. elevation, very well while the raster data
model is more ideally suited for this type of analysis. Ac-
cordingly, the raster structure does not handle linear data
©2015
Back Close 35
BIT 2324 Geographical Information Systems
operations
– Satellite information is easily incorporated
– Better represents “continuous”- type data
3. Image data
JKUAT SODeL
Back Close 36
BIT 2324 Geographical Information Systems
this data must be converted into a raster format (and perhaps
vector) to be used analytically with the GIS. Image data is typi-
cally stored in a variety of de facto industry standard proprietary
formats. These often reflect the most popular image process-
JKUAT SODeL
data.
JJ II
J I
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 37
BIT 2324 Geographical Information Systems
JKUAT SODeL
©2015
JJ II
J I
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 38
BIT 2324 Geographical Information Systems
3.4. Attribute data models
A separate data model is used to store and maintain attribute
data for GIS software. These data models may exist internally
within the GIS software, or may be reflected in external com-
JKUAT SODeL
Back Close 39
BIT 2324 Geographical Information Systems
• Hierarchial
• Network
• Relational
• Object Oriented
JKUAT SODeL
The tabular model is the manner in which most early GIS soft-
ware packages stored their attribute data. The next three mod-
©2015
JJ II
J I
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 40
BIT 2324 Geographical Information Systems
Revision Questions
Solution: Revise.
JJ II
J I
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 41
BIT 2324 Geographical Information Systems
Solutions to Exercises
Exercise 1. Revise. Exercise 1
JKUAT SODeL
©2015
JJ II
J I
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 42
BIT 2324 Geographical Information Systems
Exercise 2. Revise. Exercise 2
JKUAT SODeL
©2015
JJ II
J I
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 43