Professional Documents
Culture Documents
Real world
Spatial
database
Vector-raster
conversion
Houses
0 0 0 0 0 0 0 0 0 0 0, 0, 0, 0, 0, 0, 0, 0, 0,
0,
0 0 0 0 0 0 0 0 0 0 0, 0, 0, 0, 0, 0, 0, 0, 0
0,
0,
0 0 0 1 1 1 1 1 0 0 0, 0, 0, 1, 1, 1, 1, 1, 0,
0,
0 0 0 0 1 1 1 1 0 0 0, 0, 0, 0, 1, 1, 1, 1, 0,
0 0 0 0 1 1 1 1 0 0 0, 0, 0, 0, 1, 1, 1, 1, 0,
0,
0,
0 0 0 0 0 1 1 1 0 0 0, 0, 0, 0, 0, 1, 1, 1, 0,
0,
0 0 0 0 1 1 1 1 0 0 0, 0, 0, 0, 1, 1, 1, 1, 0,
0,
0 0 0 0 1 1 1 0 0 0 0, 0, 0, 0, 1, 1, 1, 0, 0,
0,
0 0 0 0 0 0 0 0 0 0 0, 0, 0, 0, 0, 0, 0, 0, 0,
0,
0 0 0 0 0 0 0 0 0 0 0, 0, 0, 0, 0, 0, 0, 0, 0,
1 x1, y1 ID Point
2 x2,y2
Plot 1 1,2,3,7
3 X3, y3
105 ● ●
8● ● 4
I 9 11 K
M N
H ● C
101 10 102
J
● ●
1 A 2 B 3
●
• While the simple vector file structure can
recreate the image of the whole area, it cannot
inform the computer that the information centre
lies within the larger area containing the stalls.
• For the representation of points, lines, and
polygons shown in Fig. and the entities adjacent
to them, a topological data structure that
contains this information is required.
Topological Structuring
Segment file
Node file ID Start End Left Right Length
ID x (m) y (m) node node polygon polygon (m)
1 0 0 A 1 2 101 Outside 10
2 10 0 C 2 3 102 Outside 10
3 20 0 C 3 4 102 Outside 10
D 4 5 103 Outside 10
4 20 10 . . . . . .
. . . . . . .
. O 11 12 105 103 7.07
11 15 10
12 10 15 P 12 9 105 104 7.07
Entity Requirement
Raster-based GIS
VECTOR APPROACH
• A vector DTM is like a raster DTM with the
difference that the vector DTM has regularly
spaced set of spot heights (Fig. ).
• • • • • • • • • • • • • • • •
•
• • • • • • • • • • • • •
• •
• • • • • • • • • • •
• • •
• • • • • • • • • • • •
•
• • • • • • • • • • • • • •
• • • • • • • • • • • •
• • • • • • • • • • •
• • •
•
• • • • • • • • • • • •
• • •
• • • • • • • • • • • •
• • • • •
• • • • • • •
• • • • • • • • • • • • • •
Attributes
• Vertices
End nodes
Junctions
Two-way flows
• • One-way flows
Two-way flow
Narrow street (slow traffic)
Junction controlled by
traffic light
Junction with no right turn
Van depot D
Storage warehouse W
SUPPLY AND DEMAND
• Supply and demand is also important
aspect of a network analysis.
• Supply is the quantity of a material
available at a supply centre to meet the
demand associated with the links of a
network.
• For example, the number of LPG cylinders
required in a certain area is the demand,
whereas the number of LPG cylinders
available at its store is the supply.
• Correct topology and connectivity are
extremely important for network analysis.
• In my next session I would like to focus on GIS
Data base structure.
THANK
YOU
MODERN SURVEYING TECHNIQUES
GIS Database
• Dear Viewers, in this session I would discuss the
various aspects related to GIS Database.
GIS DATABASE AND DATABASE
MANAGEMENT SYSTEM
• GIS data are collected from various sources.
• A large portion of these data is managed in
databases.
2 B Good Deep 6 N
3 C Poor Shallow 7 N
4 D Poor Deep 4 Y
5 E Good Shallow 5 Y
(b) Inverted files
INDEX INVERTED FILE
• Another approach of search could be to perform an
initial sequential search on the data for each property
(topic) by arranging the data in file called index
inverted file (Table).
Properties Profiles
(sequential No. in original file)
Good drainage 1 2 5
Poor drainage 3 4
Deep 1 2
Shallow 3 4 5
Erosion (Yes) 1 5
pH (≤5) 1 5
(c) Index inverted file
INDEX INVERTED FILE
• Though the indexed files permit rapid
access to the database, they have
inherent problems when used with files in
which records are continually being
updated by adding or deleting the records,
such as in interactive mapping systems.
• Updating of records in direct files requires
that both the file and its index must be
modified.
• When new records are written to a file
accessed by an inverted file index, the
new record does not have to be placed at
a special position.
• The new record may be simply added to the
end of the file, but the index must be
updated.
• File modification may be an expensive affair
when dealing with large data files,
particularly in an interactive environment.
l1 I l3 II l6
A l4 D l7 F
(b) A simple polygon map
M Map
I II Polygons
l1 l2 l3 l4 l5 l6 l7 l3 Lines
A BB C C DD A C EE F F DD C Points
(b) Hierarchical data structure
• The relationship between two successive layers
is known as parent-child or one to many
relationship.
• For such type of data, hierarchical database
provides a quick and convenient means of data
access.
• Here each part of the hierarchy can be reached
using a key or criterion, and that there is a good
correlation between key and associated
attributes.
ADVANTAGES & DISADVANTAGES
• The main advantage of hierarchical
database is that it is simple and provides
easy access through keys defining the
hierarchy.
• Further, it is easy to expand by adding
more attribute and formulating new
decision rules.
• The success of data retrieval in a
hierarchical database depends upon the
prior knowledge of structure of all possible
queries.
• One of the biggest disadvantages of
hierarchical database is the repetitive data.
l1 l2 l4 l3 l5 l6 l7
A B C D E F
RING POINTER STRUCTURES
• Sometimes in order to reduce both redundancy and
linkage, a compact network structure known as ring
pointer structures are used, so that each entity appears
once.
• In this Fig., each point is having many linkages or point.
Fig. shows the ring pointer structure, where the flow is
simplified.
M
I l1 l2 l3 l4
II l5 l7
TYPE TYPE
ADDRESS OWNER USER #
CONSUMER CONSUMER
Is situated in
Contains
ADDRESS
Lives at
Used by
USER #