GIS Ch3
GIS Ch3
Information Systems
• Introduction
• Representation of Simple Features
• Topology
• Georelational Data Model
• Object-Based Data Model
• Representation of Composite Features.
Introduction
• Looking at paper map, we can tell what map
features are like and how they are spatially
related to one another.
• For example in figure 1 we can see that Idaho is
bordered by Montana, Wyoming, Utah, Nevada,
Oregon, Washington and Canada.
• How can computers see the same features and
their spatial relationships? This chapter
attempts to answer the question from the
perspective of vector data model.
• Vector data model (discrete object): a data
model that uses points and their x, y
coordinates to construct spatial features.
• The vector data model has undergone more changes over the past
two decades than any other topic in GIS.
• Introduction
• Representation of Simple Features
• Topology
• Georelational Data Model
• Object-Based Data Model
• Representation of Composite Features.
Topology
• The term topology refers to the study of those properties of geometric
objects.
• Vector data can be topological or nontopological depending on whether
topology is built into the data.
• To apply it to geospatial data, a topology is often explained through
graph theory, a subfield of mathematics that uses graphs to study the
arrangements of geometric objects and the relationship among objects.
• Important to vector data model are digraphs (directed graphs), which
include points and directed lines that called arcs and the points were
arcs meet or intersected called nodes.
Figure 3.3
The adjacency matrix and incidence matrix for a digraph.
Topology
• TIGER
– An early application of topology in geospatial is the Topologically
Integrated geographic Encoding and Referencing database (1990).
– In the TIGER database, points are called 0-cells, lines 1-cells, and
areas 2-cells a b c
– Each 0 cells and 2 cells has knowledge
of the 1 cells associated with it
10 11
0-cells: a,b,c,d,e,f
1-cells: ab,ad,de,bc,be,cf,ef
2-cells: 10,11
d
e
f
Topology
• TIGER
– TIGER database includes the spatial relationships among points, lines, and
areas. Based on the built in spatial relationships.
• Importance of Topology
– It ensures data quality and integrity.
– Topology can enhance GIS analysis (ex. address matching, stream flow).
– Allows GIS users to perform spatial data query. Ex: which land parcels are
intersected by a specific line
Agenda
• Introduction
• Representation of Simple Features
• Topology
• Georelational Data Model
• Object-Based Data Model
• Representation of Composite Features.
Georelational Data Model
• The georelational data model stores geometric and attributes separately
in a split system: geometric in graphic files and attributes in relational
database.
• The georelational data model uses the feature ID to link the two
components.
• The coverage and shapefile are both examples of the georelational data
model, however the coverage is topological and the shapefile is
nontopological.
1 2
Graphic files
3 INFO file
Polygon/arc list Polygon fileld1
Arc coordinate list ID
Left/right list
. 1
.
. 2
.
3
Georelational Data Model
• The coverage
– ESRI, Inc., introduced the coverage and its built in topology in 1980
to separate GIS from CAD.
– The coverage supports three basic topological relationships:
• Connectivity: arcs connect to each other at nodes.
• Area definition: an area is defined by a series of connected arcs.
• Contiguity: arcs have directions and left and right polygons.
Georelational Data Model
• A point coverage is a simple, it contains the feature ID, and
pairs of x, and y coordinates
1(2,4) ID X,Y
3(3,3)
1 (2,4)
2 (2,1)
4(6,1) 3 (3,3)
2(2,1) 4 (6,1)
(0,0)
Georelational Data Model
• A line coverage has a starting point of the arc called from node and the end point
is to-node.
• The arc node list sort out the arc node relationship.
• The arc coordinate lit shows the x,y coordinates of the from-node, the to-node,
and other points (called vertices) that make up each arc.
1 11 12 1 (0,8) (2,8)
3 2 12 13 2 …
3 12 15 3 (2,8) (2,5)(4,3)(4,2)
4 13 15 4 …
5 15 14 5 …
4 6 15 16 6 …
14 5 15
6 16
Georelational Data Model
• The data structure of a polygon coverage contains
– the polygon arc list: shows the relationship between polygons and
arcs.
– The left/right list : shows the relationship between arcs and their left
and right polygons.
– The arc coordinate list: shows nodes and vertices that make up each
arc.
• List such as the polygon arc list, left/right list, and arc
coordinate list are stored in graphic files in a coverage folder
• Another folder called INFO stores attribute data files
Georelational Data Model
Arc Coordinate list
100
2
4
104 7
1
101 102
5
Left/Right list
• Introduction
• Representation of Simple Features
• Topology
• Georelational Data Model
• Object-Based Data Model
• Representation of Composite Features.
Object-Based Data Model
• Object based data model treats geospatial data as objects.
• An object can represent a spatial feature such as a road.
• Objects are managed by classes
• Class is a set of objects with similar characteristics
• Relationships can be established between classes such as inheritance
• To GIS users the object based data model differs from georelational data
model in two aspects
– The object-based data model allows a spatial feature (object) to be
associated with a set of properties and methods
Property: describe a attribute or characteristics of an object.
Method: performs a specific action (copy, delete,…)
Object-Based Data Model
• The Geodatabase
– The Geodatabase, an example of the object-based vector data
model, developed by ESRI.
– The geodatabase uses points, polylines, and polygons to represent
vector-based spatial features.
– A point feature may be a simple feature with a point or multipoint
feature with a set of points.
– A polyline feature is a set of line segments that may or may not be
connected.
– A polygon feature is made of one or many rings. A ring: is a set of
connected, closed, nonintersecting line segments.
Object-Based Data Model
• The geodatabase organizes vector data
sets into feature classes and feature
datasets.
• A feature class stores spatial features of
the same geometry type.
• A feature dataset stores feature classes
that share the same coordinate system
and area extent.
• If a feature class resides in a database
but is not part of feature dataset, it is
called a standalone feature class.
Figure 3.13
In a geodatabase, feature classes can be standalone
feature classes or members of a feature dataset.
Object-Based Data Model
• A geodatabase can be designed for single or multiple users.
• A single user database can be a personal geodatabase or a
file database.
• A single user database stores data as table in a Microsoft
Access database
• File database has no overall database size limit (as opposed
to 2-GB limit for the personal database) and can work
across platforms (e.g., windows, linux). Also it stores data on
many small files for better performance.
• Multiple user geodatabase stores data in a DBMS such as
Oracle, Microsoft SQL server, IBM DB2..
.
Object-Based Data Model
• Advantages of Geodatabase
– The hierarchal structure of a geodatabase is useful for data
organization and management.
– Any new data created through data query and analysis in the project
will automatically be defined with the same coordinate system as the
feature dataset, thus saving time required to define the coordinate
system of each new feature class
– Geodatabase is better than the coverage for web-based data access
and query and for data downloading.
Agenda
• Introduction
• Representation of Simple Features
• Topology
• Georelational Data Model
• Object-Based Data Model
• Representation of Composite Features.
Representation of Composite Features
• Composite features refers to those spatial features that are
better represented as composites of points, lines, and
polygons for their applications.
• TIN, regions, and routes are examples of Composite
features.
• Composite features will be discussed and also how they are
handled differently in overages, shapefiles, and
geodatabase
Representation of Composite Features
• TIN
– A TIN approximates the terrain with a set of non overlapping
triangles.
– Each triangle in the TIN assumes a constant gradient.
– Flat areas of the land surface have fewer but larger triangle, whereas
areas with higher variability in elevation have denser but smaller
triangles.
– TIN is commonly used for terrain mapping and analysis especially for
3-D display.
Representation of Composite Features
• The input to a TIN include point, line, and polygon features.
• An initial TIN can be constructed from elevation points, and
contour lines. Its approximation of the surface can then be
improved by incorporating line features such as streams,
roads, and polygon features such as lakes and reservoirs.
• A finished TIN comprises three types of geometric objects:
triangles (faces), points (nodes), and lines (edges).
Representation of Composite Features
• The data structure of the TIN includes the triangle number, the number
of each adjacent triangle, and data files showing the lists of points,
edges, as well a the x,y, and z values of each elevation point.
node (x,y) z
11
11 (2,9) 860
12 (2,6) 875
13 (5,7) 880
101 13
14 (4,4) 885
15 (6,2) 900
12 102
triangle Node List Neighbors
103
101 11,12,13 ..,102,..
14
102 13,14,12 103,…,101
15
Representation of Composite Features
• The coverage, shapefile, and geodatabase use the same
method to create and modify TINs.
• Regions
– A region is a geographic area with similar characteristics, and
hierarchal regions can be formed by dividing the earth’s surface into
smaller uniform regions.
– the building block of a polygon is the arc, and the building block of a
region is the polygon.
– A data model for regions must be able to handle two spatial
characteristics:
• A region may be disjoint areas
• Regions may overlap or cover the same area.
Figure 3.16
A hierarchy of counties and states in the United
States.
Figure 3.17
The regions subclass allows overlapped
regions (a) and spatially disjoint components
(b).
1 40 2 3 210
0 7 8 170 9
1 2 3 210
0 170