Gis Spatial Analysis
Gis Spatial Analysis
1
SYLLABUS
Database models, Data storage, Vector data storage,
Attribute data storage, Overview of the data manipulation and
analysis, Integrated analysis of the spatial and attribute data,
Basics of global positioning system.
2
Data Models
Data models are the conceptual models that describe the
structures of databases.
3
Database model
A database model is the application of a data model when used
in conjunction with a database management system
Physical model
4
Object based Model
These models show the entities attributes and relationships
between them. Object based database model can be classifies
into two categories
5
Entity relationship model
to one another
6
Object oriented model
7
Record based model
In this model a database is composed of some fixed format
records each defining a fixed number of fields of fixed length
Hierarchical model
Network model
Relational model
8
Hierarchical model
It is the earliest database model that is evolved from file system
where records are arranged in a hierarchy or as a tree structure.
Records are connected through pointers that store the address of
the related record. Each pointer establishes a parent child
relationship where a parent can have more than one child but a
child can only have one parent. There is no connection between
the elements at the same level. To locate a particular record, you
have to start at the top of the tree with a parent record and trace
down the tree to the child.
9
10
Advantages
12
13
Advantages
The many to many relationships are easily implemented in a
network data model.
Data access and flexibility in network model is better than that in
hierarchical model. An application can access an owner record and
the member records within a set .
The model eliminated redundancy but at the expense of more
complicated relationships.
Disadvantages
The network model has a complex structure that requires
familiarity from user’s as well as programmer’s end.
14
Relational Data Structure Model
A flat file structure is used with a relational database model. In this
arrangement, data is stored in different tables made up of rows and
columns. The columns of a table are named by attributes. Each row in
the table is called a tuple and represents a basic fact. No two rows of
the same table may have identical values in all columns.
There are two crucial data integrity constraints viz. primary key and
foreign key. A primary key is an attribute whose value is unique across
all tuples (rows) in a relation (table). The primary key of one table
appearing as an attribute of another table is known as a foreign key in
that table
15
16
Advantages
any data structure or data pointer. One can easily add, update,
delete or create records using simple logic.
Disadvantages
17
Physical Model
A physical database model is a representation of data design
which takes into account the facilities and constraints of given
DBMS
It shows all table structures including column name, column
data type, column constraints primary key, foreign key and
relationships between tables
This model usually used to calculate storage estimates and may
include specific storage allocation details for a given database
system
18
Data Storage
Hybrid data model
19
Hybrid data model
20
In this model, the topological data and coordinate data are
stored in one file system and the corresponding attribute table
data are in another file system.
21
To implement the hybrid vector GIS model, the coordinate and
topological data required for graphics are stored as a separate set
of files.
The attribute tables carrying all the necessary attribute data for
each graphic entity are also stored separately within existing
DBMS software.
22
Integrated Data Model
23
The integrated data model which is more closely integrated with
the database management system than in the hybrid system.
24
From the data base viewpoint, it is possible to store both the
coordinates and the topological information required to
characterise digital cartographic elements using a design based
on Codd‘s Normal Forms. (x, y) coordinate pairs for individual
vertices along line segments are stored as different rows in a data
base table
25
To achieve satisfactory retrieval performance it has been found
necessary to store coordinate strings in long or 'bulk data'
columns in tables. Handling of large spatial databases is the
need to convert 2-D coordinate information into 1-D spatial keys
that can be stored as data base table columns.
These can then be indexed in the normal way and used for fast
retrieval of map elements contained within or overlapping a
specified geographical search area.
26
Network Analysis
27
Network Analysis
The movement of people the transportation and distribution of
goods and services such as street network, telephone cable
network, pipelines drainage, etc, the delivery of resources and
energy and the communication of information all occur through
definable network system.
28
Types of Network Analysis
Network tracing
Network routing
Network allocation
29
Surface Analysis
30
Types of surface analysis
Deriving contours / Isolines
Deriving slopes
Deriving aspect
Hillshade analysis
Viewshed analysis
Watershed analysis
Surface interaction
31
Deriving Contours / Isolines
32
Deriving Slopes
33
Deriving Aspect
34
Hillshade Analysis
35
Viewshed Analysis
36
Watershed Analysis
37
Database Management System
38
Database
A database is a collection of logically related data. It represents
an aspect of a real world and is designed, built or populated with
data for a specific purpose. Many databases exist for many
applications, and each one of them is maintained by a collection
of programs known as a database management system
39
DBMS
A database management system (DBMS) is a computer program
that stores and manages large amounts of data. One can define,
construct, edit and share the database among various users and
applications.
40
DBMS which makes things easy for the user to create a database
and to maintain it
Adding records
Querying
Modifying records
Deleting records
41
Examples of DBMS
Microsoft Access
Oracle
Sybase
SQL server
DB2
42
Advantages of DBMS
Controlling Redundancy
43
Controlling Redundancy
44
Restricting Unauthorized Access
45
Providing Storage Structures for Efficient Query Processing
46
Providing Backup and Recovery
47
Enforcing Integrity Constraints
48
Functions of DBMS
Data definition
Data manipulation
49
Data definition
The provides function to define the structure of the data in the
application. These include defining and modifying the record
structure the type and size of fields and the various
constraints/conditions to be satisfied by the data in each field
50
Data Manipulation
Once data structure is defined data needs to be inserted
modified or deleted. The function which perform these
operation are also part of the DBMS. These functions can handle
planned and unplanned data manipulation needs. Planned
queries are those which form part of application.
51
Data Security and integrity
The DBMS contains function that handle the security and
integrity of data in the application.
52
Data recovery and concurrency
Recovery of data after a system failure and concurrent access of
records by multiple user also handled by the DBMS
53
Data Dictionary Maintenance
Maintaining the data dictionary which contains the data
definition of the application is also one of the function of a
DBMS
54
Architecture
55
External Level refers to user’s view of the database. It describes
a part of the database for particular group of users. Depending
on their needs, different users access different parts of the
database. It employs a powerful and flexible security mechanism
by hiding parts of the database from certain users.
56