Section Two
Section Two
1
Session Objectives
At the end of the session, Participants will be
able to:
Understand the structure and importance of
different spatial data structures in GIS
2
Structure of Geographic Data
Geographic data come from a variety of sources:
Digitized maps
Analog Maps
Aerial photography
Point data from GPS
Point Data from Ground Surveying
Textual or Tabular data
Appropriate structure is essential for GIS
success/fail
GIS utilizes two primary data models:
Raster data model
3
Vector data model
Structure of Geographic Data…
Raster Data Models: Raster data structures
characterize continuous data
Boundaries and point information are not well defined
Raster data provide data as a pixel grid/cell
5
Vector and Raster Feature
Geometries
Three primary types of feature geometries: Point, Line, Polygon
Vector Raster
Point
Line
Polyline
Polygon
6
Definition of raster and
source of raster data
7
Definition of Raster
8
5.2.2 Generic structure for a grid
Grid extent
Grid
cell
Rows
Resolution
Columns
9
Generic structure for a grid cont..
1
0
Sources of Raster Data
Air Photos
Satellite
Imagery
Scanned Maps
1
2
Some Common Image Formats
1
3
Advantages and Disadvantages
of Raster (Field Based) Model
Advantages:
Simple data structure
Simple implementation of overlays
Efficient for image processing
Disadvantages:
Less compact data structure
Difficult to represent topology
1
4
Definition of VECTOR
and source of VECTOR
data
1
5
Vector GIS
1
6
Sources of Vector Data
1
7
Structure of Vector Data
There is a relationship between vector
data types.
Each data type is often dependent upon
one another and stored as
Points: points are zero dimensional
objects, and represent geographic Point
features such as wells, sample
locations, or trees.
Lines: lines represent linear features,
such as road and stream centerlines. Line
Lines are made up of a series of
interconnected points.
A line typically starts and end with a
special point called a node, and the
points that make up the rest of a line are Polygon
called vertices.
Polygons are made up of a series of
connected lines where the starting point of a
1
8
polygon is the same as the ending point
Points
1
9
Points
2
0
Light Poles
2
1
Lines or Arcs
2
2
Lines or Arcs
2
3
Street Centerlines
2
4
Polygons
2
5
Polygons
2
6
Polygons
2
7
Polygons
2
8
Attribute Data
2
9
“Linked” Attributes
3
0
How Vector data are represented
Point features
Line features
Polygon features
Annotation features
3
1
Vector – Advantages and
Disadvantages
Advantages
Good representation of reality
Accurate graphics
Disadvantages
Complex data structures
Simulation may be difficult
Some spatial analysis is difficult or impossible to
perform
3
2
Topology
3
3
Topology
Topology
describes the
spatial
relationships
Coincident
boundary
between
features
Adjacency overlap
Connectivity gap
Overlap
nodes
Intersection
3
4
Topology
overshoot
overlap
gap
Improper
dangle intersection pseudonode loop
3
5
Topology
3
6
Topological Model
3
7
Topological Data Model…
Polygon topology
P1 Arc 1 Arc 3 E
Arc 2 Arc 3 N1 P1
P2
E outside coverage
N2
Node topology P2
N1 Arc 1 Arc 2 Arc 3
N2 Arc 1 Arc 2 Arc 3 E
Arc topology Arc coordinate data
Arc start end left right Arc start intermediate end
node node polygon polygon Arc 1 x 1, y 1 x2,y2, ..,.. x6,y6 x7,y7
Arc 1 N1 N2 E P1 Arc 2 x 7, y 7 x8,y8, ..,.. x11,y11 x1,y1
Arc 2 N2 N1 E P2 Arc 3 x 7, y 7 x12,y12 x1,y1
Arc 3 N2 N1 P2 P1
3
8
Topological Model cont..
Supposed to prevent:
Gaps
Slivers
Overlaps
3
9
Advantage of Topology
4
0
Advantage of Topology cont…
Common problems:
Slivers
Gaps
Caused by:
Reprojecting
Different sources
Editing or digitizing without snapping
Any tool that changes the values of
coordinates in vector data
4
2
Slivers
Sliver
4
3
Unsnapped node
4
4
Topology rules
Topology rules establish
Shannon Bennett how features should be
County County spatially related.
Pine Ridge Indian Topology rules may
Reservation apply within a feature
class or between feature
classes.
• No gaps or overlaps
between counties
•boundaries should
These three layers show several match (overlap)
topology errors.
•The boundaries should
4
5 match
Topological Data Model…
Thank you!
4
8