Introduction to Spatial Database System Presented by Xiaozhi Yu.

Slides:



Advertisements
Similar presentations
1 DATA STRUCTURES USED IN SPATIAL DATA MINING. 2 What is Spatial data ? broadly be defined as data which covers multidimensional points, lines, rectangles,
Advertisements

Spatial Databases Reading: None. Dept. of Computing Science, University of Aberdeen2 In this lecture you will learn the need for spatial databases some.
Indexing DNA Sequences Using q-Grams
 Over-all: Very good idea to use more than one source. Good motivation (use of graphics). Good use of simplified, loosely defined -- but intuitive --
Data Models There are 3 parts to a GIS: GUI Tools
Spatial Database Systems. Spatial Database Applications GIS applications (maps): Urban planning, route optimization, fire or pollution monitoring, utility.
1 Spatial Join. 2 Papers to Present “Efficient Processing of Spatial Joins using R-trees”, T. Brinkhoff, H-P Kriegel and B. Seeger, Proc. SIGMOD, 1993.
Spatial Indexing SAMs. Spatial Indexing Point Access Methods can index only points. What about regions? Z-ordering and quadtrees Use the transformation.
Spatial Join Queries. Spatial Queries Given a collection of geometric objects (points, lines, polygons,...) organize them on disk, to answer point queries.
Spatial Join Yan Huang Spatial Join Given two sets of spatial data Find the pair of objects satisfying certain spatial predicate – e.g.
Access Methods for Advanced Database Applications.
Searching on Multi-Dimensional Data
CS 599 – Spatial and Temporal Databases Realm based Spatial data types: The Rose Algebra Ralf Hartmut Guting Markus Schneider.
SPATIO-TEMPORAL DATABASES
1 Enviromatics Spatial database systems Spatial database systems Вонр. проф. д-р Александар Маркоски Технички факултет – Битола 2008 год.
3D Shape Histograms for Similarity Search and Classification in Spatial Databases. Mihael Ankerst,Gabi Kastenmuller, Hans-Peter-Kriegel,Thomas Seidl Univ.
Quadtrees Raster and vector.
Spatial Mining.
Indexing Network Voronoi Diagrams*
GI Systems and Science January 30, Points to Cover  Recap of what we covered so far  A concept of database Database Management System (DBMS) 
Query Processing in Databases Dr. M. Gavrilova.  Introduction  I/O algorithms for large databases  Complex geometric operations in graphical querying.
Spatial Database Systems
Spatial Information Systems (SIS) COMP Spatial queries and operations.
Multiple-key indexes Index on one attribute provides pointer to an index on the other. If V is a value of the first attribute, then the index we reach.
Geographical Database
Spatio-Temporal Databases
Spatial Information Systems (SIS) COMP Spatial access methods: Indexing.
Spatial Indexing I Point Access Methods. Spatial Indexing Point Access Methods (PAMs) vs Spatial Access Methods (SAMs) PAM: index only point data Hierarchical.
Chapter 3: Data Storage and Access Methods
Spatial Indexing I Point Access Methods.
Chapter 3 2D AND 3D SPATIAL DATA REPRESENTATIONS 김 정 준.
An Introduction to Spatial Databases R. H. Guting VLDB Journal v3, n4, October 1994 Speaker: Giovanni Conforti.
Spatial Indexing I Point Access Methods. Spatial Indexing Point Access Methods (PAMs) vs Spatial Access Methods (SAMs) PAM: index only point data Hierarchical.
Spatial Database Systems. Spatial Database Applications GIS applications (maps): Urban planning, route optimization, fire or pollution monitoring, utility.
Spatial Indexing I Point Access Methods. Spatial Indexing Point Access Methods (PAMs) vs Spatial Access Methods (SAMs) PAM: index only point data Hierarchical.
Spatial data models (types)
1 C. Shahabi CSCI599-Fall2000 Introduction to Spatial Database Systems by Cyrus Shahabi from Ralf Hart Hartmut Guting’s VLDB Journal v3, n4, October 1994.
Spatial Data Management Chapter 28. Types of Spatial Data Point Data –Points in a multidimensional space E.g., Raster data such as satellite imagery,
SEMILARITY JOIN COP6731 Advanced Database Systems.
The X-Tree An Index Structure for High Dimensional Data Stefan Berchtold, Daniel A Keim, Hans Peter Kriegel Institute of Computer Science Munich, Germany.
Ashwani Roy Understanding Graphical Execution Plans Level 200.
A Quantitative Analysis and Performance Study For Similar- Search Methods In High- Dimensional Space Presented By Umang Shah Koushik.
Multidimensional Indexes Applications: geographical databases, data cubes. Types of queries: –partial match (give only a subset of the dimensions) –range.
1 Spatial-temporal Database and moving objects management.
R-Tree. 2 Spatial Database (Ia) Consider: Given a city map, ‘index’ all university buildings in an efficient structure for quick topological search.
Joseph Jaquish 1/10. - Spatial Data Types - Spatial Database Architectures - Geographic Information Systems 2/10.
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.
Spatial DBMS Spatial Database Management Systems.
Spatial Database 2/5/2011 Reference – Ramakrishna Gerhke and Silbershatz.
Spatial Indexing Techniques Introduction to Spatial Computing CSE 5ISC Some slides adapted from Spatial Databases: A Tour by Shashi Shekhar Prentice Hall.
Spatial and Geographic Databases. Spatial databases store information related to spatial locations, and support efficient storage, indexing and querying.
Lecture 10 Creating and Maintaining Geographic Databases Longley et al., Ch. 10, through section 10.4.
File Processing : Multi-dimensional Index 2015, Spring Pusan National University Ki-Joune Li.
Spatial Data Models Geography is concerned with many aspects of our environment. From a GIS perspective, we can identify two aspects which are of particular.
Multidimensional Access Methods Ho Hoang Nguyen Nguyen Thanh Trong Dao Vu Quoc Trung Ngo Phuoc Huong Thien DATABASE.
Strategies for Spatial Joins
Spatial Database Systems
Spatial Indexing I Point Access Methods.
The Quad tree The index is represented as a quaternary tree
Query Processing in Databases Dr. M. Gavrilova
Craig Schroeder October 26, 2004
Spatial Database Systems
Spatial Join.
Multidimensional Indexes
Algorithm design (computational geometry)
Unstructured grid: an introduction
File Processing : Multi-dimensional Index
Multidimensional Search Structures
Algorithm Course Algorithms Lecture 3 Sorting Algorithm-1
Efficient Aggregation over Objects with Extent
Presentation transcript:

Introduction to Spatial Database 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

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 :  Other set operators Overlay, fusion, Voronoi

Spatial indexing  Two ways: Dedicated external spatial data structures are added to the system, offering for spatial attributes. Like B-tree does for standard attributes. Spatial objects are mapped into a one-dimensional space so that they can be stored within a standard one-dimensional index such as a B-tree.

Spatial indexing : approximations  Spatial keys are much simpler geometric objects than the SDT value itself.

Spatial indexing : grid approximation  An example : grid approximation. Space is divided into cells by grid and SDT value is represented by a set of cells that it intersect.

Spatial indexing : grid approximation  Any shape(a set of cells) can be represented by a set of bit strings called z-elements.  For a spatial object, use its corresponding set of z-elements as a set of spatial keys.

Spatial index structures for points  Grid file : partition data space by irregular grid into cells.  Scales : split line position, one scale per dimension.  Directory: entries are pointers to buckets.

Spatial index structures for rectangles  There are three approaches: Approach 1 Transformation : a rectangle represented by four points can be regarded as one point in four dimensions.

Spatial index structures for rectangles  There are three approaches: Approach 2 Overlapping regions:

Spatial index structures for rectangles  There are three approaches: Approach 3 Clipping:

Supporting spatial join  Central ideas for computing spatial join are the filter and refine strategy and use of spatial index structures.  Strategies classification criteria: Grid approximation/bounding box None/one/both operands are represented in a spatial index structure.

Supporting spatial join : Grid approximation/bounding box  Grid approximation: A parallel scan of the two sets of z-elements corresponding to the two sets of spatial objects is performed, similar to a merge join for a “<=” predicate.  When using the bounding box : For each object, the bounding box of its SDT attribute is used as a search argument. The problem is to determine for two sets of rectangles R,S, all pairs (r, s), r intersects s.

Supporting spatial join  None indexes Algorithms such as bb_join, an external divided-and conquer algorithm, similar to external merge join. Use seeded tree to build an index for one operand on the fly.  One index Index join or repeated search join can be used. Inner operand is represented in an index. Scan the outer operand set and for each object, the bounding box of its SDT attribute is used as a search argument on the index.

Supporting spatial join  Both operand have indexes Perform synchronized traversal of the two index structure so that pairs of cells of their respective partitions covering the same part of space are encountered together.

System architecture  Layered architecture: spatial functionality is built on top of a given DBMS.

System architecture  Dual architecture:

Integrated spatial DBMS architecture- using an extensible DBMS

Thank You