Docsity

Spatial Concepts and Representation of Spatial Objects in Spatial Databases - Prof. Michae, Papers of Computer Science

Toggle sidebar
bg1
1
ECS 266 – Spatial Databases
Michael Gertz ©2008 UC Davis
2. Spatial Concepts and
Representation of Spatial Objects
ECS 266 – Spatial Databases
Michael Gertz ©2008 UC Davis 2. Spatial Concepts 2
Overview
Learning Objectives
• Understand fundamental properties of space concepts
• Learn about models and techniques for space modeling
• Understand models and techniques for presenting spatial objects and
collections of objects
• Learn about spatial abstract data types (spatial ADTs)
Literature
• [RSV02] Chapter 2
• [SC03] Chapter 2
• Markus Schneider: "Spatial Data Types: Conceptual Foundation for the
Design and Implementation of Spatial Database Systems and GIS“,
tutorial given at 6th International Symposium on Advances in Spatial
Databases (SSD'99), 1999.
http://www.cise.ufl.edu/~mschneid/Service/Tutorials/TutorialSDT.html
[Disclaimer: Some figures on the following slides are taken from wikipedia.org]
pf3
pf4
pf5
pf8

Partial preview of the text

Download Spatial Concepts and Representation of Spatial Objects in Spatial Databases - Prof. Michae and more Papers Computer Science in PDF only on Docsity!

ECS 266 – Spatial Databases Michael Gertz © 2008 UC Davis

2. Spatial Concepts and

Representation of Spatial Objects

ECS 266 – Spatial Databases Michael Gertz © 2008 UC Davis 2. Spatial Concepts^2

Overview

Learning Objectives

  • Understand fundamental properties of space concepts
  • Learn about models and techniques for space modeling
  • Understand models and techniques for presenting spatial objects and collections of objects
  • Learn about spatial abstract data types (spatial ADTs)

Literature

  • [RSV02] Chapter 2
  • [SC03] Chapter 2
  • Markus Schneider: "Spatial Data Types: Conceptual Foundation for the Design and Implementation of Spatial Database Systems and GIS“, tutorial given at 6th International Symposium on Advances in Spatial Databases (SSD'99), 1999. http://www.cise.ufl.edu/~mschneid/Service/Tutorials/TutorialSDT.html

[Disclaimer: Some figures on the following slides are taken from wikipedia.org]

ECS 266 – Spatial Databases Michael Gertz © 2008 UC Davis 2. Spatial Concepts^3

Topology

Topology

  • Branch of mathematics that deals with spatial relationships that are preserved under bicontinuous deformation (stretching without tearing or gluing), sometimes called rubber-sheet geometry.
  • The idea is that some geometric problems do not depend on the exact shape of objects involved, but rather on the way objects are “connected to each other”
  • Spaces studied in topology are called topological spaces. )
  • Elementary topology is often called point-set topology.
  • Two spaces are topologically equivalent if one can be transformed into the other without cutting it apart or gluing pieces of it together. Spaces are then homeomorphic (continuous bijection with a continuous inverse).

ECS 266 – Spatial Databases Michael Gertz © 2008 UC Davis 2. Spatial Concepts^4

Topology (2)

Seven Bridges of Koenigsberg

Leonhard Euler (1736): It is impossible to find a route through the town of Koenigsberg that would cross each of its seven bridges exactly once.

Others, e.g., the hairy ball theorem

ECS 266 – Spatial Databases Michael Gertz © 2008 UC Davis 2. Spatial Concepts^7

Metric Space

A metric space is a set where the notion of distance between elements of the set is defined. A typical example is the 3D Euclidean space. A metric space induces topological properties like open and closed sets.

(Def) A metric space is a 2-tuple ( X,d) where X is a set and d is a metric on X, i.e., a function d: X × X → R such that

1. d(x,y) ≥ _0 (non-negative)

  1. d(x,y) = 0 iff x=y (identity of indiscernibles)
  2. d(x,y) = d(y,x) (symmetry)
  3. d(x,z)_ ≤ d(x,y) + d(y,z) (triangle inequality) Examples: real numbers with distance function d(x,y) = |y-x| or more generally Euclidean n- space with Euclidean distance; any normed vector space; Manhattan norm; Chessboard distance; for systems of roads and terrains, the distance between two locations can be defined as the length of the shortest route;...

ECS 266 – Spatial Databases Michael Gertz © 2008 UC Davis 2. Spatial Concepts^8

Metric Space (2)

In any metric space M one can define the open balls as the sets of the form B(x,r) := {y ∈ M : d(x,y) < r } with x ∈ M and r ∈ R A subset of M that is the union of open balls is called an open set.

Every metric space is automatically a topological space, the topology being the set of all open sets. ⇒ metrizable space

  • A metric space is bounded if ∃ r : d(x,y) ≤ r for all x,y in M ; the smallest such r is called diameter of M.
  • For S ⊆ M and x ∈ M , the distance from x to S is defined as d(x,S) := inf {d(x,s) : s ∈ S }

Also, to preserve at least the topological structure induced by a metric, it requires at least the existence of a continuous function between them (morphism preserving the topology of the metric spaces).

ECS 266 – Spatial Databases Michael Gertz © 2008 UC Davis 2. Spatial Concepts^9

Euclidean Space

  • Generalization of 2D and 3D spaces studied by Euclid
  • Applies concepts such as length and angle to a coordinate systems in any number of dimensions
  • Standard example of a finite-dimensional, real, inner product space
  • Particular metric space that enables investigation of topological properties

(Def) For n ∈ N , the space of all n -tuples of real numbers forms an n -dimensional vector space over R , called the real coordinate space , denoted R n.

  • element x ∈ R n^ is written x = (x 1 ,x 2 , ..., xn)
  • standard vector operations apply (addition, scalar multiplication etc.)
  • R n^ comes with standard basis (unit vectors)

ECS 266 – Spatial Databases Michael Gertz © 2008 UC Davis 2. Spatial Concepts^10

Euclidean Space (2)

The Euclidean space is more than just a coordinate space. In order to be able to talk about distance between points and angles between lines or vectors, one uses the inner product (also called dot product ) on R n :

For any two vectors x and y , dot product gives a real number; this allows us to define the “length” of a vector (also called Euclidean norm on R n ):

One can use the norm to define the Euclidean metric :

Real coordinate space together with above Euclidean structure is called Euclidean Space , denote E n.

ECS 266 – Spatial Databases Michael Gertz © 2008 UC Davis 2. Spatial Concepts^13

Polyline

(Def) A polyline is a finite set of line segments or edges , such that each segment endpoint (called vertex ) is shared by exactly two segments, except for the two endpoints (called extreme points ) that belong to only one segment.

line segment polyline non-simple polyline

extreme points

simple closed polyline monotone polyline non-monotone polyline

L

ECS 266 – Spatial Databases Michael Gertz © 2008 UC Davis 2. Spatial Concepts^14

Polygon

3. 2-dimensional objects or surfacic objects Mostly used to represent large areas. Polygons are the main spatial type for such objects. A polygon is a region of the plane bounded by a closed polyline, called its boundary.

simple polygon non-simple polygon convex polygon

monotone polygon Polygon with hole region

ECS 266 – Spatial Databases Michael Gertz © 2008 UC Davis 2. Spatial Concepts^15

Remarks on Entity-based Model

  • Choice of geometric type is arbitrary and depends on future use of spatial object in applications.
  • Choice may be influenced by scale of interest for intended application.
  • It might be useful to store different representations of the same entity at various scales to derive proper representation on demand.
  • Because only line segments are used, linear and surfacic objects are only a linear approximation of entities and could be presented more precisely through higher-order polynomials.
  • There is always a tradeoff between faithful approximation and the number of segments for representing a curve.

Scale or geographic detail is an essential property of every GIS project!

ECS 266 – Spatial Databases Michael Gertz © 2008 UC Davis 2. Spatial Concepts^16

Field-based Models

There are three main concepts in field-based models:

  1. The underlying (geographic) space is partitioned (tessellated) into cells.
  2. With each point in space one or more attribute values are associated, defined as continuous functions in x and y (for 2-dimensional space). The measure of several phenomena can be collected as attribute values varying with location in the space.
  3. The concept of object is not relevant in the field-based approach.

There is a dictum of

classical physics

that states that

in nature everything is continuous.