CS 599 – Spatial and Temporal Databases Realm based Spatial data types: The Rose Algebra Ralf Hartmut Guting Markus Schneider.

Slides:



Advertisements
Similar presentations
OLAP over Uncertain and Imprecise Data
Advertisements

ARCHITECTURES FOR ARTIFICIAL INTELLIGENCE SYSTEMS
Spatial Database Systems. Spatial Database Applications GIS applications (maps): Urban planning, route optimization, fire or pollution monitoring, utility.
Planar Orientations Chapter 4 ( ) in the book Written By: Tomer Heber.
1 A Description Logic with Concrete Domains CS848 presentation Presenter: Yongjuan Zou.
Applications of Euler’s Formula for Graphs Hannah Stevens.
Discrete Mathematics Lecture 5 Alexander Bukharovich New York University.
Instructor: Hayk Melikya
Week 21 Basic Set Theory A set is a collection of elements. Use capital letters, A, B, C to denotes sets and small letters a 1, a 2, … to denote the elements.
Presented by: Thabet Kacem Spring Outline Contributions Introduction Proposed Approach Related Work Reconception of ADLs XTEAM Tool Chain Discussion.
Spatial Information Systems (SIS) COMP Formats and Standards.
SPATIO-TEMPORAL DATABASES
1 Enviromatics Spatial database systems Spatial database systems Вонр. проф. д-р Александар Маркоски Технички факултет – Битола 2008 год.
Introduction to Spatial Database System Presented by Xiaozhi Yu.
CS447/ Realistic Rendering -- Solids Modeling -- Introduction to 2D and 3D Computer Graphics.
Spatial Database Systems
Katz Formal Specifications Larch 1 Algebraic Specification and Larch Formal Specifications of Complex Systems Shmuel Katz The Technion.
Discrete Mathematics Lecture 4 Harper Langston New York University.
Lecture 4B Page A Discrete Model The task: Define finite representations for all the types of the abstract model (and map these into data structures.
1 Relational Algebra and Calculus Yanlei Diao UMass Amherst Feb 1, 2007 Slides Courtesy of R. Ramakrishnan and J. Gehrke.
RIZWAN REHMAN, CCS, DU. Advantages of ORDBMSs  The main advantages of extending the relational data model come from reuse and sharing.  Reuse comes.
Introduction --Classification Shape ContourRegion Structural Syntactic Graph Tree Model-driven Data-driven Perimeter Compactness Eccentricity.
Software Testing Sudipto Ghosh CS 406 Fall 99 November 9, 1999.
Spatial Data Models. What is a Data Model? What is a model? (Dictionary meaning) A set of plans (blueprint drawing) for a building A miniature representation.
Concepts of Database Management, Fifth Edition
Relative Location of a Point with Respect to a Straight Line (0,0) 5 5 (2, 2) (4, 5) (0, 5) (6, 3) -3x + 2y +2 = 0 s = A x t + B y t + C s < 0 s > 0.
Week Aug-10 – Aug-15 Introduction to Spatial Computing CSE 5ISC Some slides adapted from Worboys and Duckham (2004) GIS: A Computing Perspective, Second.
UNC Chapel Hill M. C. Lin Point Location Reading: Chapter 6 of the Textbook Driving Applications –Knowing Where You Are in GIS Related Applications –Triangulation.
Database Design - Lecture 2
GeoUML a conceptual data model for geographical data conformant to ISO TC 211 Main GeoUML constructs Alberto BelussiNovembre 2004.
Math 3121 Abstract Algebra I Section 0: Sets. The axiomatic approach to Mathematics The notion of definition - from the text: "It is impossible to define.
A Z Approach in Validating ORA-SS Data Models Scott Uk-Jin Lee Jing Sun Gillian Dobbie Yuan Fang Li.
CS654: Digital Image Analysis Lecture 3: Data Structure for Image Analysis.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 20 Object-Oriented.
 Trace the incremental algorithm for constructing convex data on the sample point data given below. Intermediate steps should be shown First, two steps.
8. Geographic Data Modeling. Outline Definitions Data models / modeling GIS data models – Topology.
An Algebra for Composing Access Control Policies (2002) Author: PIERO BONATTI, SABRINA DE CAPITANI DI, PIERANGELA SAMARATI Presenter: Siqing Du Date:
Copyright © 2014 Curt Hill Sets Introduction to Set Theory.
Joseph Jaquish 1/10. - Spatial Data Types - Spatial Database Architectures - Geographic Information Systems 2/10.
1 Spatio-Temporal Predicates Martin Erwig and Markus Schneider IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING Presented by Mamadou Hassimiou Diallo.
Spatial Query Processing Spatial DBs do not have a set of operators that are considered to be basic elements in a query evaluation. Spatial DBs handle.
Programming Languages and Design Lecture 3 Semantic Specifications of Programming Languages Instructor: Li Ma Department of Computer Science Texas Southern.
Relations and their Properties
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Database Management Systems Chapter 4 Relational Algebra.
Relations, Functions, and Matrices Mathematical Structures for Computer Science Chapter 4 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Relations, Functions.
Spatial Databases: Lecture 2 DT249-4 DT228-4 Semester Pat Browne
ece 627 intelligent web: ontology and beyond
Object Modeling THETOPPERSWAY.COM. Object Modelling Technique(OMT)  Building a model of an application domain and then adding implementation.
Presented by Kyumars Sheykh Esmaili Description Logics for Data Bases (DLHB,Chapter 16) Semantic Web Seminar.
Object Design More Design Patterns Object Constraint Language Object Design Specifying Interfaces Review Exam 2 CEN 4010 Class 18 – 11/03.
Planar Graphs prepared and Instructed by Arie Girshson Semester B, 2014 June 2014Planar Graphs1.
Basic Probability. Introduction Our formal study of probability will base on Set theory Axiomatic approach (base for all our further studies of probability)
Data Models. 2 The Importance of Data Models Data models –Relatively simple representations, usually graphical, of complex real-world data structures.
Model Checking Early Requirements Specifications in Tropos Presented by Chin-Yi Tsai.
CHAPTER 3 SETS, BOOLEAN ALGEBRA & LOGIC CIRCUITS
Introduction to Spatial Computing CSE 555
The Design and Analysis of Algorithms
ece 720 intelligent web: ontology and beyond
Pairs and Lists. Data Abstraction. SICP: Sections – 2.2.1
Spatial Database Systems
Principles of GIS Fundamental spatial concepts – Part II Shaowen Wang
Provably Correct and Complete Transaction Rules for GIS
Business Process Measures
Software Design Methodology
Lecture 27: Solid Modeling
Spatial Database Systems
Multiple Aspect Modeling of the Synchronous Language Signal
Chapter 20 Object-Oriented Analysis and Design
Probabilistic Databases
Chapter 3 Describing Syntax and Semantics.
Presentation transcript:

CS 599 – Spatial and Temporal Databases Realm based Spatial data types: The Rose Algebra Ralf Hartmut Guting Markus Schneider

Spatial data types or algebras for database systems should satisfy the following criteria: Generality: Geometric objects used as SDT values should be as general as possible. The domains of data types points, lines and region should be closed under union, intersection and difference. Rigorous definition: The semantics of SDT ’s, the possible values for the types and the functions associated with the operations, must be defined formally to avoid ambiguities. Finite resolution : The formal definitions must take into account the finite representations available inside computers Treatment of geometric consistency: The definition of SDT ’s must enforce geometric consistency General object model interface: SDT definition should be based on abstract interface to the DBMS data model

Realm concepts: A realm is a set of points and non intersecting lines segments over a discrete domain that is a grid. Values of spatial data types can be composed from the objects present in a realm.

Realm for points, lines and regions Regions : A, B Lines : C Points : D

Why use a realm as a basis for spatial data types It enforces geometric consistency of related spatial objects, For example, the common part of the borders of countries A and B is exactly the same for both objects. It guarantees nice closure properties for computation with spatial databases Shields geometric consistency in query processing from numeric correctness and robustness problems

Transforming to a realm Move the intersection point to the nearest point on the grid. Application data at the lowest level of abstraction can be viewed as a set of points and intersecting line segments.

A problem and a solution Error in resolving the point of intersection

A solution Define an envelope as a collection of grid points that are immediately above, below or on the line

A formal definition of realm based SDT’ s It is organized as a series of layers Layer 1: Robust geometric primitives Layer 2: Realms and realm based primitives Layer 3: Spatial algebra primitives Layer 4: Rose operations

Layer 1: Robust geometric primitives Consists of a finite discrete space N X N Points and line segments over this space Simple predicates and operations over them Defines an N point and an N segment Primitives such as ‘meet’, ’overlap’, ’intersect’, ’disjoint’, ’on’, ‘in’ and ‘intersection’ are defined.

Layer 1 Continued: We define a Realm over N It represent a finite, user-defined set of points and non-intersecting line segments over a discrete domain. We define R points and R segments for the realm We have an added restriction over N R segments don’t intersect and they don’t overlap

Realm based structures An R cycle is a cycle in the graph interpretation of a realm It is a set of R segments Relations between a N point p and R cycle c p on c, p in c, p out c c partitions the set of all N points into Pin(c ) Pon(c ) Pout(c )

Realm based structures Relations between two cycles c1 and c2 Possible relationships between two R cycles

Realm based structures C1 and C2 adjacent C1 and c2 meet c1 c2

Realm based structures Ways an R segment s can lie within an R cycle c Ways an R point p can lie within an R cycle c

Realm based structures An R face f, consists of a cycle c and a possibly empty set of R cycles h such that All cycles in h are edge-inside c All cycles in h are edge-disjoint with respect to each other Segments in f can either form a cycle c or one of the cycles in h and no other cycle This is necessary in order to achieve closure under operations

Realm based structures

An R-block b connected sub graph in the graph interpretation of a realm

Realm based Spatial data types A flat view: A structured view:

Examples of Spatial values

Second order signature ROSE algebra is a system of spatial data types together with operations between these types. Many of the operations are applicable to several types. Hence we need a framework and notations to describe polymorphic operations. A system of several sets and functions between these sets is called a many sorted algebra A many sorted signature describes the syntactic aspect of a many sorted algebra It consists of two sets of symbols called sorts and operators Second order signature is a system of two coupled many sorted signatures where the top level offers kinds as sorts and type constructors as operators.

Second order signature A second, bottom level signature uses the types defined by the top level signature as sorts.

The type of a partition The partition is a disjoint subdivision of the plane into regions with associated attributes. We would like to test conditions such as adjacency or overlay The kind regions area-disjoint contains all types whose carriers are sets of regions values such that any two distinct values of the type are area-disjoint.

The object model interface The SDT definition should be based on an abstract interface to the DBMS data model. There are basic concepts and operations in the object model that are needed to define the ROSE algebra There are constructs and notations needed to embed the ROSE algebra into the query language that is to use the ROSE algebra

Object model interface concepts Object types/ classes Collection of objects Functions for accessing values from objects Data types int, real, bool A pool of names Object aggregation function Object extension function

Concept for embedding ROSE algebra into DBMS query lang Denote a spatial data type value Denote a collection of objects together with an attribute Extend objects by derived values Allow naming of an SDT value or a new attribute Offer a grouping operation

The Rose algebra: Robust spatial extension

Spatial predicates These operations compare to spatial values with respect to their topological relationships and return a Boolean value

Operators returning Spatial data type values

Spatial operators returning numbers

Spatial operators on Sets of objects

Integrating with a DBMS query language

Example query List the names and the land use of districts which are neighbors with the same land use. Which states are enclosed by which other states?

Conclusion Implementation of the ROSE algebra. Invariance under redrawing. Objects and operations violating realm closure.