An Introduction To Spatial Database System
An Introduction To Spatial Database System
System
Presented by Xiaozhi Yu
Outline
What is spatial database system?
What need to be presented?
Organizing the underlying space.
Spatial data types.
Spatial relationships.
Integrating geometry into DBMS data model.
Spatial indexing.
Spatial join.
System architecture.
What is spatial database system?
Spatial database is a database system
It offers spatial data types in its data model
and query language
It supports spatial data types in its
implementation , providing at least spatial
indexing and efficient algorithms for spatial
join
Modeling: What need to be presented?
Single object
Points, Lines and Regions
Modeling: What need to be presented?
Spatially related collections of objects
Partitions-----a set of regions
Networks-----points and lines
Modeling: Organizing the Underlying
Space-Discrete Geometric Bases
Simplex and simplicial complex:
Simplex :For each dimension d, a d-simplex is a
minimal object in that dimension. Any d-simplex is
composed of (d+1) simplicies of dimension d-1.
Simplicial complex: A finite set of simplices such that
the intersection of any two simplices in the set is a
face (simplex of d-1 dimension)
Modeling: Organizing the Underlying
Space-Discrete Geometric Bases
Realm: Conceptually represents the complete
underlying geometry of one particular
application space. A realm is a finite set of
points and lines over discrete grid.
Modeling: Spatial data types
Example : Rose algebra
Three data types
Points ---a set of R-points
lines ----a set of disjointed R-blocks
regions ---- a set of edge disjoint R-faces
Values are realm based, composed from elements from
realm.
Kind : type sets
EXT = {lines, regions}
GEO= {points, line, regions}
=A kind for all partitions
Four classes of operations in ROSE
Four classes of operations in ROSE
Spatial Relationships
Several classes of relationships:
Topological relationships
Adjacent, Disjoint, Inside, etc.
Direction relationships
Above, below, north-of, southwest-of, etc.
Metric relationships
Distance < 100 , etc.
Relationships of simple regions
Integrating geometry into DBMS data
model
DBMS data model is extended by SDTs at the
level of atomic data types.
The central idea for integrating geometric
modeling into DBMS data model is to present
spatial objects by objects with at least one
attribute of spatial data type.
Querying---fundamental operators
Spatial selection
Exp : cities select[center inside Bavaris]
Spatial join
Exp : cities rivers join[dist (center, route) < 50]
Spatial function application
Exp :