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 March 1, 2016
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 6
Spatial Data Files
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
6.1. Introduction
Spatial data files are like other files you work with on a computer.
Back Close 2
BIT 2324 Geographical Information Systems
files are unique in that they store “georeferenced” infor-
mation – information that defines location or place. In
addition, descriptive information about the georeferenced
information is stored in each spatial data file.
JKUAT SODeL
Back Close 3
BIT 2324 Geographical Information Systems
6. Examples of individual spatial data files representing con-
ceptual geographic features are census tract boundaries,
zoning boundaries, or parcel boundaries i.e. conceptual
features do not physically exist on the landscape, but are
JKUAT SODeL
Back Close 4
BIT 2324 Geographical Information Systems
• a coordinate system that defines the true location of
all the features on the earth’s surface (i.e. the lati-
tude/longitude)
Back Close 5
BIT 2324 Geographical Information Systems
features across an entire area are represented by a contin-
uous set of “pixels” or “cells”.
This is a very common format for spatial data files in the vector
category. In this format, geographic features can be represented
in one of three ways:
©2016
• points
• lines
• polygons
If you utilize an existing shapefile, the point, line or polygon
representation is chosen by the organization responsible for its
JJ II
development. If you create your own shapefile, you will have
J I
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 6
BIT 2324 Geographical Information Systems
to determine which representation is best for your work or ap-
plication. The determination is made based on several factors,
including but not limited to:
• the need to depict features at a specific scale
JKUAT SODeL
Back Close 7
BIT 2324 Geographical Information Systems
load in the coverage format. Just like shapefiles, geographic
features are represented as points, lines, or polygons and many
factors come into play when deciding which representation is
best. Coverages also fall within the vector category. Unlike
JKUAT SODeL
Back Close 8
BIT 2324 Geographical Information Systems
structed of rows and columns of pixels instead of vertices and
arcs. Like coverages however, grids are comprised of two folders,
each containing files that the software “puts together” for display
and manipulation. Grids can be either:
JKUAT SODeL
• Integer Grids: The pixel values are integers and each in-
teger may also be associated with one or more textual de-
scriptions.
©2016
Back Close 9
BIT 2324 Geographical Information Systems
.sid. All image formats fall within the raster category of spatial
data. In some cases, images are not used specifically as “spatial
data”, but are used to enhance spatial data by providing a digital
photograph of a place or object.
JKUAT SODeL
that appear when you zoom in are spatial data. When an im-
age is “georeferenced” - meaning that information is embedded
within the image that describes its position on the surface of
the earth in real world coordinates (latitude/longitude), it be-
comes spatial data. In addition to being “georeferenced”, many
JJ II images may also be “orthorectified”. This term refers to a com-
J I plex process wherein distortions caused by differences in terrain
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 10
BIT 2324 Geographical Information Systems
elevation, camera tilt, and edge effects are removed from the im-
age. Images that are both georeferenced and orthorectified are
frequently called “orthophotographs” or just “orthos” in short.
Back Close 11
BIT 2324 Geographical Information Systems
which can be useful for certain GIS applications.
Back Close 12
BIT 2324 Geographical Information Systems
6.4. Naming conventions for Spatial Data Files & Fold-
ers containing Spatial Data Files
Since spatial data files have a complex structure, it is extremely
important that you follow some basic rules for assigning names
JKUAT SODeL
Back Close 13
BIT 2324 Geographical Information Systems
– town boundaries is a bad name for a file; use town boundari
instead
– my gis data is a bad name for a folder that will contain
spatial data files
JKUAT SODeL
Back Close 14
BIT 2324 Geographical Information Systems
– use underscores where possible as a replacement for
spaces
– use upper case where it makes sense
– e.g. twn bndy or TwnBndy
JKUAT SODeL
Back Close 15
BIT 2324 Geographical Information Systems
– Therefore, it is important that you have a naming
convention that will allow you to keep track of these
sequential files. Example, you may start with a shape-
file of town boundaries which only has one attribute
JKUAT SODeL
Back Close 16
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 17
BIT 2324 Geographical Information Systems
Solutions to Exercises
Exercise 1. Revise. Exercise 1
JKUAT SODeL
©2016
JJ II
J I
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 18
BIT 2324 Geographical Information Systems
Exercise 2. Revise. Exercise 2
JKUAT SODeL
©2016
JJ II
J I
J DocDoc I
JKUAT: Setting trends in higher Education, Research and Innovation
Back Close 19