GIS Data Models: GIS Data Models, Vector Data Models, Advantages and Disadvantages of Vector Data Models
GIS Data Models: GIS Data Models, Vector Data Models, Advantages and Disadvantages of Vector Data Models
GIS Data Models: GIS Data Models, Vector Data Models, Advantages and Disadvantages of Vector Data Models
• INTRODUCTION
• SPATIAL DATA MODELS
• DATA REPRESENTATION
• VECTOR DATA MODEL
• TYPES OF VECTOR DATA MODELS
• ADVANTAGES AND DISADVANTAGES
INTRODUCTION
MODEL
• The traditionally spatial data are stored in the form of digital databases
and presented them in the form of maps.
• Two basic types of spatial data models have been evolved for storing
geographicdata digitally.
• These are referred to as
(1) Raster Data Model (2) Vector Data Model
SPATIAL DATA MODELS
of pixels (cells)
• In this model, space is not quantized into discrete grid cells like the
raster model.
Points:
Points are zero-dimensional objects that contain only a single coordinate pair.
Points are typically used to model singular, discrete features such as buildings,
wells, power poles, sample locations, and so forth. Points have only the
VECTOR DATA MODELS
• Other types of point features include the node and the vertex.
• Specifically, a point is a stand-alone feature, while a node is a
Lines:
• Lines are one-dimensional features composed of multiple, explicitly
connected points.
• Lines are used to represent linear features such as roads, streams,
POLYGONS:
• Polygons are two-dimensional features created by multiple lines that
loop back to create a “closed” feature.
• In the case of polygons, the first coordinate pair (point) on the first line
segment is the same as the last coordinate pair on the last line
segment.
• Polygons are used to represent features such as city boundaries,
geologic formations, lakes, soil associations, vegetation communities,
and so forth.
• Polygons have the properties of area and perimeter.
• Polygons are also called areas.
1. VECTOR DATA MODEL STRUCTURES
• Vector data models can be structured many different ways. We will
examine two of the more common data structures here.
1. Spaghetti data model
+1 Point ID Coordinates
+2 1 1, 1
2 4, 2
+3 3 5, 2
+4
4 2, 4
13
1. VECTOR DATA MODEL STRUCTURES
14
1. VECTOR DATA MODEL STRUCTURES
Lines:
ID Coordinates
1 (0,1), (3,4), (5,6)
2 (3,1), (5,2), (4,3)
15
1. VECTOR DATA MODEL STRUCTURES
Advantages
1. Simple
16
1. VECTOR DATA MODEL STRUCTURES
Disadvantages
• Common boundary of two adjacent polygon are stored twice.
17
2. TOPOLOGICAL VECTOR DATA MODEL
18
2. TOPOLOGICAL VECTOR DATA MODEL
• The inclusion of topology into the data model allows for a single
line to represent this shared boundary with an explicit reference
to denote which side of the line belongs with which polygon.
19
THE ARC-NODE DATA STRUCTURE
2
3 Arc: ①, ②, ③
1
Nodes: 2, 5
A ③ B ②
Vertices: 1, 6 for arc ①
① 4
3, 4 for arc ②
5
6
1 2 1,6 5 Points
2 2 3,4 5 1 x1,y1
3 2 5 2 x2,y2
3 x3,y3
4 x4,y4
Polygon arc list 5 x5,y5
6 x6,y6
A ①, ③
B ②, ③
20
TOPOLOGY
Connectivity:
Arcs connect to each other at nodes
Area definition:
Arcs that connect to surround an area define a polygon
Contiguity:
Arcs have direction and left and right sides
21
TOPOLOGY--Connectivity
Connected arcs are determined by searching through the list for common
node numbers.
Arc-node list
10 ① 11 12
②
Arc From-Node To-Node
1 10 11
③
2 11 12
13
⑤ 3 11 13
14 4 13 15
④
5 13 14
15
Because of the common node 11, arcs 1, 2, and 3 all intersect. The computer
can determine that it is possible to travel along arc 1 and turn onto arc 3. But it
is not possible to turn directly from arc 1 to arc 5.
22
TOPOLOGY—Area definition
A
1 Polygon-Arc Topology
8
B 5
C Polygon Arc List
4 E 9 2 B 1,5,8,4
C 2,6,9,5
D 6 D ?
7
E ?
3
Polygons are simply the list of arcs defining its boundary, arc coordinates
are stored only once, therefore, reducing the amount of data and ensuring
that the boundaries of adjacent polygons don’t overlap
23
TOPOLOGY--Contiguity
An Arc
left
From-Node To-Node
right
Direction
1
8 Arc Left Right
B 5
C Polygon Polygon
4 E 9 2 5 C B
9 E C
D 6 10 ? ?
7
1 ? ?
24
3
ADVANTAGES OF VECTOR DATA MODELS