Vector Data Model
Vector Data Model
Vector Data Model
Topology deals with spatial properties that do not change under specific
transformations:
• The neighborhood relationships between the areas remain, and the
boundary lines have the same start and end nodes.
• The areas are still bounded by the same boundary lines, only the shapes
and lengths of their perimeters have changed.
TOPOLOGY
• Topology can be explained through directed graphs (digraphs), which show the
arrangements of geometric objects and the relationships among objects (Wilson and
Watkins 1990).
• A set of topological primitives are often used to identify these geometric objects with
spatial relationships.
• An edge or arc (used by ArcGIS) is a directed line with a starting point and an ending
point. The end points of an arc are nodes, and intermediate points, if any, are vertices.
• And a face refers to a polygon bounded by arcs. If an arc joins two nodes, the nodes are
said to be adjacent and incident with the arc. Adjacency and incidence are two
fundamental relationships that can be established between nodes and arcs in digraphs
GRAPH THEORY
(ADJACENCY & INCIDENCE)
Adjacency matrix (Tells you if two nodes are connected by an edge)
• 1 = (11,12) one arc joins from node 11 to node 12
• 0 = (12,11) no arc joins from node 12 to node 11
The direction of the arc determines whether 1 or 0 should be assigned
• Incidence matrix (Tells you which edges connect to which nodes)
• 1 = arc is incident from a node
• -1 = arc is incident to a node
• (Arc 1 is incident from node # 13 (thus 1)
and incident to node # 11 (thus -1))
• 0 = arc is not incident from or to a node
TOPOLOGICAL RELATIONSHIPS
• In the arc-node data structure, arcs connect to each other at nodes and have both a
from-node (i.e., starting node) indicating where the arc begins and a to-node (i.e.,
ending node) indicating where the arc ends. This is called arc-node topology
• In Figure, arcs 1, 2, and 3 all intersect because they share node 11. It is possible to
travel along arc 1 and turn onto arc 3 because they share a common node (11), but it is
not possible to turn directly from arc 1 onto arc 5 because they do not share a common
node
CONTAINMENT
The object based data model treats spatial data as objects. It differs from the georelational data model in two
important aspects
• The object based data model stores both the spatial and attribute data of spatial features in a single system
• The object based data model allows a spatial feature (object) to be associated with a set of properties and
methods
The object-based data model stores each land-use polygon in a record. The
Shape field stores the geometries of land-use polygons. Other fields store
attribute data such as Landuse_ID and Category.
OBJECT BASED DATA MODELS
(CLASSES AND CLASS RELATIONSHIP)
If almost everything in GIS can be represented as an object, how are these objects
managed? A simple answer is that they are managed by class and class relationship.
❑ A class is a set of objects with similar characteristics
❑ Class relationships include the following
1) Inheritance
2) Aggregation
3) Composition
4) Association
OBJECT BASED DATA MODELS
(CLASSES AND CLASS RELATIONSHIP)
Inheritance: A hierarchical relationship between a superclass and one or more subclasses, where
subclasses inherit properties and methods from the superclass.
Example: A Water Body class could have attributes like area and depth.
A River class inherits from Water Body but adds its own attributes, such as flow rate and length.
Water Body
Area Depth
River Pond
Area Depth length Area Depth Perimeter
OBJECT BASED DATA MODELS
(CLASSES AND CLASS RELATIONSHIP)
Association is a relationship between two classes, indicating how objects (instances) of one class
are related to or connected with objects of another class.
Example: Schools and Roads
Classes:
School: Represents schools in a city.
Road: Represents roads in a city.
✓School objects store information about the nearby roads that provide access to the school.
✓Road objects store information about the schools that they connect.
OBJECT BASED DATA MODELS
(CLASSES AND CLASS RELATIONSHIP)
Aggregation is a "whole-part" relationship, where one class (the whole) is composed of multiple
objects of another class (the parts). However, the parts can exist independently of the whole.
Example: A City class might aggregate Park, Building, and Road classes. A city is composed of
multiple parks, buildings, and roads, but the parks and buildings can exist independently of the
city.
OBJECT BASED DATA MODELS
(CLASSES AND CLASS RELATIONSHIP)
Composition describes a type of association in which the parts cannot exist independently from
the whole.
Example: A Forest class might be composed of a Tree class. If the forest is removed (e.g., by
deforestation), the individual trees that make up the forest are also removed.
Thank you