L4 - Spatial Data Modeling
L4 - Spatial Data Modeling
Lecturer:
Eng. Thomas Matabaro
[email protected]
Outline
Geographic phenomena:
Objects and fields
Discrete and continuous fields
Boundaries
Spatial data model:
Vector data model
Raster data model
Data structure
Vector data model
Raster data model
Geographic phenomena (1)
Geographic phenomena exist in the real world
Geographic phenomena are a manifestation of an
entity that can be:
Named
Geo-referenced (geographic)
Assigned a time at which it is or was present
Air temperature
Shoreline Geographic phenomena are
the studied objects of GIS.
Geographic phenomena exist
Soil in the real world, everything
you see outside is a
type
Geographic phenomenon.
Some of the things you do
not see are also Geographic
phenomena like temperature.
Elevation Rocks
Water temperature
Geographic phenomena (3)
We need to come up with a
digital representations of
geographic phenomena in
tessellation order to store them in a GIS.
road
Discrete field (2)
2 4 4
Lac 2 4 4 4 4
1 1 2 4
1 1 1 2
1 1 1 1 2
Forest
1 1 1 1 2
1 1 1 2
1 1 1 2 3
1 2
House
2
2
Classified image
Scanned Image
Aerial Photography
Raster Structure Besides regular
tessellations, there are
Normal raster – regular tessellation also irregular
tessellations:
Partition of the space
into mutually disjoint
cells.
Quadtree – irregular tessellation Cells vary in size and
shape
Adapts to spatial
phenomena
Example: Quadtree
Vector Data Model (1)
Points representing
trees along a road
Vector Data Model (3)
Line representations:
Used to represent one-
dimensional objects (roads,
railroads, canals, rivers…)
Line is defined by 2 end nodes
and 0-n internal nodes to
define the shape of the line.
An internal node or vertex is
Begin node Vertex
Line or arc
like a point that only serves to
define the line.
End node
Vector Data Model (4)
Area representations:
When area objects are stored
using a vector approach, the
usual technique is to apply a
boundary model.
The area is defined by de
boundary of the area
Line 2 Topology
The boundary model or
topological data model is an
improved representation of
Line 1
the polygon-by-polygon
model.
It stores parts of a polygon’s
boundary as separate line
segments.
Vector Data Model (8)
3
4 Line D
Topology
Line E 7
5
Line L
Line K
6
It also indicated which
Line M ZZ
8
Line J
XX polygon is on the left
and which is on the
Line F
15 9
Line I
10
Line H right of each arc
Line N Line O 12
Line G 11
14 13Line Q
Line P Line From To Node Left Right
QQ Node polygon polygon
N 15 14 QQ
P 14 13 QQ
O 15 13 ZZ QQ
I 9 10 XX ZZ
Vector Data Model (9)
Right
To node 13
Topology of Two dimensions Spatial
Relationships
The topology of Two Dimensions Set Theory