Professional Documents
Culture Documents
Models of geospatial
information
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Modeling
We are interested in modeling parts of the geographic
Modeling world
and ontology
An understanding of basic ontological distinctions can
help us avoid some basic modeling mistakes such as:
The Failing to distinguish real-world entities from information
modeling
process system entities
Failing to distinguish substances from their properties
Field-based
models Example
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Ontology vs. Modeling
Key distinctions:
Modeling
and ontology
Ontology aims to develop general taxonomies of what
exists
Data modeling aims to develop classifications within a
The
modeling
particular application domain
process
Examples:
Field-based
The distinction between substance and property is not
models a data modeling issue
The decision to represent a road in a navigation
system as a polyline or as an area is a data modeling
Object- question
based
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Models
Model: an artificial construction in which parts of
Modeling
and ontology
one domain, the source domain, are
represented in another domain, the target
domain
The
modeling
Purpose is to simplify and abstract away from the
process source domain
Constituents of the source domain are translated by
the model into the target domain
Field-based
models Insight, results and computations in the target domain
may then be interpreted in the source domain.
Usefulness is determined by how closely the model
Object-
based can simulate the source domain, and how easy it is to
models move between the two domains
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Morphism
Morphism: a function from one domain to another that
Modeling preserves some of the structure in the translation
and ontology
The
modeling
process
Field-based
models
Example
Object-
Cartography and wayfinding:
based The geographic world is the source domain, modeled
models by a map (target domain)
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Types of models
Field-based model: treats geographic
Modeling
and ontology
information as collections of spatial distributions
Distribution may be formalized as a mathematical
function from a spatial framework to an attribute
The domain
modeling
process Patterns of topographic altitudes, rainfall, and
temperature fit neatly into this view.
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Relational model
Tuples recording annual weather conditions at different
Modeling locations
and ontology
The
modeling
process
Field-based
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Field-based approach
Treats information as a collection of fields
Modeling
and ontology Each field defines the spatial variation of an attribute as a
function from the set of locations to an attribute domain
The
modeling
process
Field-based
models
Object-
based
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Object-based approach
Clumps a relation as single or groups of tuples
Modeling
and ontology Certain groups of measurements of climatic variables can be
grouped together into a finite set of types
The
modeling
process
Field-based
models
Object-
based
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Spatial framework
Spatial framework: a partition of a region of
Modeling
and ontology
space, forming a finite tessellation of spatial
objects
The
In the plane, the elements of a spatial
modeling framework are polygons
process
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Layers
Layer: the combination of the spatial framework and the
Modeling field that assigns values for each location in the
and ontology
framework
There may be many layers in a spatial database
The
modeling
process
Field-based
models
Object-
based
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Spatial fields
If the spatial framework is a Euclidean plane
Modeling
and ontology
and the attribute domain is a subset of the set of
real numbers;
The Euclidean plane plays the role of the horizontal
The xy-plane
modeling
process
The spatial field values give the z-coordinates, or
“heights” above the plane
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Properties of the attribute domain
The attribute domain may contain values which are
Modeling commonly classified into four levels of measurement
and ontology
Nominal attribute: simple labels; qualitative; cannot be
ordered; and arithmetic operators are not permissible
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Continuous and differentiable fields
Continuous field: small changes in location
Modeling
and ontology
leads to small changes in the corresponding
attribute value
The
Differentiable field: rate of change (slope) is
modeling defined everywhere
process
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
One dimensional examples
Fields may be plotted as a graph of attribute value
Modeling against spatial framework
and ontology
The
modeling
process
Field-based
models
Object-
based Continuous and differentiable; the slope of the curve can be
models defined at every point
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
One dimensional examples
The field is continuous (the graph is connected) but
Modeling not everywhere differentiable. There is an ambiguity
and ontology
in the slope, with two choices at the articulation point
between the two straight line segments.
The
modeling
process
Field-based
models
Object-
based Continuous and not differentiable; the slope of the curve cannot
models be defined at one or more points
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
One dimensional examples
The
modeling
process
Field-based
models
Object-
based Not continuous and not differentiable
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Two dimensional examples
The slope is dependent on the particular location and on
Modeling the bearing at that location
and ontology
The
modeling
process
Field-based
models
Object-
based
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Isotropic fields
A field whose properties are independent of direction is
Modeling called an isotropic field
and ontology
Consider travel time in a spatial framework
The time from
The X to any point Y is
modeling
dependent only
process
upon the distance
between X and Y
and independent
Field-based of the bearing of
models Y from X
Object-
based
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Anisotropic fields
A field whose properties are dependent on direction is
Modeling called an anisotropic field.
and ontology
Suppose there is a high speed link AB
For points near
The B it would be better,
modeling
if traveling from
process
X, to travel to A,
take the link,
and continue on
Field-based from B to the
models destination
The direction to
the destination is
Object- important
based
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Spatial autocorrelation
Spatial autocorrelation is a quantitative
Modeling
and ontology
expression of Tobler’s first law of geography
(1970)
“Everything is related to everything else, but near
The things are more related than distant thing”
modeling
process
Spatial autocorrelation measures the degree of
clustering of values in a spatial field
Field-based
models
Object-
based
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Autocorrelation
Modeling
and ontology
The
modeling
process
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Operations on fields
A field operation takes as input one or more
Modeling
and ontology
fields and returns a resultant field
Object-
based
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Neighborhood function
Given a spatial framework F, a neighborhood function
Modeling n is a function that associates with each location x a set of
and ontology
locations that are “near” to x
The
modeling
process
Field-based
models
Object-
based
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Local operations
Local operation: acts
Modeling
and ontology
upon one or more
spatial fields to produce
a new field
The
modeling The value of the new
process
field at any location is
dependent on the
Field-based values of the input field
models function at that location
● is any binary operation
Object-
based
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Focal operations
Focal operation: the
Modeling
and ontology
attribute value derived
at a location x may
depend on the
The
attributes of the input
modeling
process
spatial field functions
at x and the attributes
of these functions in
Field-based the neighborhood n(x)
models
of x
Object-
based
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Zonal operations
Zonal operation: aggregates
Modeling values of a field over a set of
and ontology
zones (arising in general from
another field function) in the
spatial framework
The
modeling For each location x:
process
1
Find the Zone Zi in which x
is contained
2
Field-based Compute the values of the
models field function f applied to
each point in Zi
3
Derive a single value ζ(x)
Object- of the new field from the
based values computed in step 2
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Entity and literals
Object-based models decompose an
Modeling
and ontology
information space into objects or entities
The
modeling
process
Field-based
models
Object-
based
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
House object
The actual values of these attributes are literals
Modeling • If the house is registered to a new owner, we may change the
and ontology registration attribute to a new date, however, the date
November 5th, 1994” still exists as a date
The
modeling
process
Field-based
models
Object-
based
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Spatial objects
Spatial objects are called “spatial” because they
Modeling
and ontology
exist inside “space”, called the embedding
space
The
A set of primitive objects can be specified, out of
modeling which all others in the application domain can
process
be constructed, using an agreed set of
operations
Field-based
models Point-line-polygon primitives are common in
existing systems
Object-
based
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
GIS analysis
For Italy’s capital city,
Modeling Rome, calculate the total
and ontology
length of the River Tiber
which lies within 2.5 km of
the Colosseum
The
modeling
First we need to model
process the relevant parts of
Rome as objects
Operation length will act
Field-based on arc, and intersect will
models apply to form
the piece of the arc in
common
with the disc
Object-
based
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
GIS analysis
A process of discretization
Modeling must convert the objects to
and ontology
types that are
computationally tractable
The
A circle may be represented
modeling as a discrete polygonal area,
process arcs by chains of line
segments, and points
may be embedded in some
Field-based discrete space
models
Object-
based
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Spatial object types in the Euclidean plane
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Spatial object types in the Euclidean plane
Modeling
and ontology
The fundamental
The areal object is area
modeling
process
A connected area is a
region
Object-
based
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Topological spatial operations
Modeling
and ontology
Object types with an assumed underlying topology are
point, arc, loop and area
Operations:
The
modeling boundary, interior, closure and connected are defined in
process the usual manner
components returns the set of maximal connected
components of an area
Field-based
models extremes acts on each object of type arc and returns the
pair of points of the arc that constitute its end points
is within provides a relationship between a point and a
Object- simple loop, returning true if the point is enclosed by the loop
based
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Topological spatial operations for areas
Modeling
X meets Y if X and
and ontology Y touch externally in
a common portion
of their boundaries
The
modeling
process X overlaps Y if X
and Y impinge into
each other’s
Field-based interiors
models
Object-
based
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Topological spatial operations for areas
Modeling X is inside Y if X is a
and ontology subset of Y and X, Y
do not share a
common portion of
The
boundary
modeling
process
X covers Y if Y is a
subset of X and X, Y
Field-based touch externally in a
models
common portion of
their boundaries
Object-
based
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Topological spatial operations
There are an infinite number of possible topological
Modeling relationships that are available between objects of type
and ontology
cell
The
modeling
process
Field-based
models
Object-
based
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Euclidean spatial operations
Operation centroid returns the center of gravity of an areal
Modeling object as an object of type point
and ontology
Distances and angles are defined between the point
elements of the space
The
modeling
process Measurements between objects of different
dimensions
Some ambiguities exist in finding the distance of a town
Field-based form a motorway.
models
Do we mean the town center or the town as an area? Are
we measuring distance along roads, as the crow flies, or
by some other means?
These ambiguities must be resolved before the question
Object-
based can be answered properly.
models
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press
Operations on spatial objects
All of these spatial operations can be thought of
Modeling
and ontology
as operations on spatial literals. The operands
are not affected by the application of the
operation
The
modeling
For example, calculating the length of an arc cannot
process affect the arc itself
© Worboys and Duckham (2004) GIS: A Computing Perspective, Second Edition, CRC Press