Gis UNIT2
Gis UNIT2
E-LEARNING
PRESENTATION
LISTEN … LEARN… LEAD…
COMPUTER SCIENCE AND ENGINEERING
For example, a student entity may have name, class, and age as
attributes.
Types of Attributes
Simple attribute − Simple attributes are atomic values, which cannot
be divided further.
For example, a student's phone number is an atomic value of 10 digits.
Composite attribute − Composite attributes are made of more than
one simple attribute. For example, a student's complete name may
have first_name and last_name.
Derived attribute − Derived attributes are the attributes that do not
exist in the physical database, but their values are derived from other
attributes present in the database.
For example, average_salary in a department should not be saved
directly in the database, instead it can be derived.
For another example, age can be derived from data_of_birth.
Single-value attribute − Single-value attributes contain single
value. For example − Social_Security_Number.
Multi-value attribute − Multi-value attributes may contain more
than one values. For example, a person can have more than one
phone number, email_address, etc.
In the below diagram, Entities or real world objects are
represented in a rectangular box.
Their attributes are represented in ovals.
Primary keys of entities are underlined.
All the entities are mapped using diamonds.
This is one of the methods of representing ER model.
Basically, ER model is a graphical representation of real world objects
with their attributes and relationship. It makes the system easily
understandable. This model is considered as a top down approach
of designing a requirement.
Advantages
It makes the requirement simple and easily understandable by
representing simple diagrams.
One can covert ER diagrams into record based data model easily.
Easy to understand ER diagrams
Disadvantages
No standard notations are available for ER diagram. There is great
flexibility in the notation. It’s all depends upon the designer, how he
draws it.
It is meant for high level designs. We cannot simplify for low level
design like coding.
Spatial Data Models
Spatial data refers to the data or information that describes the
absolute or relative location of geographic features on the earth.
The non spatial data or the attribute data on the other hand
describes the characteristics of the spatial features.
These characteristics can be quantitative or qualitative.
Representation of Space