Module 2 GIS Data Models Mensah2020
Module 2 GIS Data Models Mensah2020
Emmanuel A. Mensah
Osman Adams
1
Learning Outcomes
At the end of the module participants would be
able to:
Explain the importance of data to Geographic information
Systems
Identify the characteristics and sources of geographic data
Explain the concept and purpose of data models
Distinguish between spatial and attribute data
Explain differences between vector, raster and TIN data
models and explain how they model real-world features in
a GIS.
Understand the criteria for choosing a data model
Explain how relational Data models store attributes
2
Content
Information Systems and Data
Characteristics and sources of Geographic data
Spatial and Attribute Data
Spatial Data Models
Vector Data Model
Raster Data model
TIN Data model
Criteria for choosing a spatial data model
Attribute models
Relational and object relational data model
3
Digital Information System
O’Brien 2003
4
Information System Components and Activities
Pr So
og
rc es ialist ram ftwar
u
so spe
c me e R
R e s a es o
ple nd IS nd urc
o a pro es
Pe ers ce
s du
ndU r es
E
me es
Input of
dia
Processing Output of
aa
rc
Dat Know
data
es esou
of data into information
nd
aR
and
R
es o dge b
Ma ware
u rc
le
chin
d
es s es
Ha r
Storage of data resources
a
Network Resources
Communication media and support
O’Brien 2003 5
Geographic Information Systems
6
Nature of Geographic Data
Spatial component
Geometry (Dimensions)
coordinate system (Location)
Spatial relationship/Topology
Descriptive component (Attributes)
Describes spatial objects
Time component
temporal element
Types of Data in a GIS
Acquisition
Remote
sensing
Photogramm
etry
Field survey
10
Data Models
11
Spatial Data Models/structures
Spatial Data model is the means to represent
geographic aspects of the real world and defines the
type of operations that can be performed.
13
Vector Data Model
Point - geometric description only refers to the
position of the object by a pair of coordinates (x,
y); used for trees, posts etc. Zero dimensional Point
NODE VERTEX
VERTEX
NODE
NO
DE
ARC
Vector model
7,10
5,9
10
9,8
A
4,7
polygon
1,6 8,6
6,6
5 2,5
line 5,4
point
2,2 4,1
5 10
16
VECTOR DATA – LAND USE
17
VECTOR DATA – POINTS,LINES,POLYGONS
18
Types of Vector Models
Topological invariants
Interior Boundary
Exterior
disjoint covered by
meet contains
equal covers
inside overlap
Advantages Disadvantages
It provides a more compact It is a more complex data
data structure than the raster structure than a simple
model raster
27
RASTER – DEM IN 3D
28
RASTER DATA – Satellite Image
29
File Formats for Raster Data
1. TiFF: Tagged Image File Format (Geo TiFF’s)
2. IMG: ERDAS IMAGINE Data format
3. DAT: ENVI Data format
4. MPR: ILWIS Data format
5. HDF: Hierarchical Data Format
1. JPG2000: JPEG 2000 Raster Data Format
6.
2. ASCIIPortable
PNG: Grid Network Graphics
7.
3. Multi-Resolution
BIL: SeamlessBy
ESRI Band Interleaved Image Database (MrSID)
Line Format
8.
4. National
BMP: Imagery
Bitmap ImageTransmission
format Format (NITF)
9. National Land Archive Production System (NLAPS)
GIF —Graphic Interchange Format for raster datasets
Delaunay triangulation:
- as much as possible equal-sided triangles
- circumcircles around triangles do not contain other anchor points
TIN DATA
33
When to use Raster or Vector
Ordinal
√
Interval
√ √
Ratio
√ √ √
Attribute Data Types
Categorical (Name): Numerical (Known difference
between values)
1. Nominal – String Values
• land use types, District 3. Interval
names Magnitude
2. Ordinal Equal interval
• Date (from 9999 BC to 2013
Magnitude AD)
• road class; stream class • Latitude (from +90° to −90°)
• Health (healthy vs. sick)
• Opinion ('completely
agree'/ 'mostly 3. Ratio – Integer / Floating
agree'/'mostly point
disagree'/ 'completely Absolute zero
disagree') • income, age(from 0 to 99
years) may be expressed
as integer [whole number] or
floating point [decimal
fraction]
Attribute Data Storage
Flat files (Example Spreadsheets)
System Task
• Data loading
GIS Software • Editing
• Visualization
• Mapping
• Analysis
Relational – RDBMS
Stores data in many sets of relations
Relies heavily on keys (unique identity fields) to dynamically link
records.
Current and most used
Object-relational – ORDBMS
Models entities as objects thus data for objects are stored in
tables within the relational database and behaviour of objects are
stored within the application as application logic.
Object – relational databases add rich behavior to spatial and
attribute data
Relational Data Model
Relation (table)
Attribute (column) domain is ?
Table name
Primary key
Foreign key
Borrow BookId StudentId DateBorrowed
Author 1
Author_Name 11 Telephone City21-09-1999
3 34 20-08-1999
Burrough
4 11 030-123456 Utrecht
17-08-1999
Date 0430-4445556 New York
By 053-4874444 Enschede
44