Spatial Database 2/5/2011 Reference – Ramakrishna Gerhke and Silbershatz.

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

7/03Spatial Data Mining G Dong (WSU) & H. Liu (ASU) 1 6. Spatial Mining Spatial Data and Structures Images Spatial Mining Algorithms.
Nearest Neighbor Search
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.
Multidimensional Indexing
Access Methods for Advanced Database Applications.
Searching on Multi-Dimensional Data
Introduction to Spatial Database System Presented by Xiaozhi Yu.
Spring 2003Data Mining by H. Liu, ASU1 6. Spatial Mining Spatial Data and Structures Images Spatial Mining Algorithms.
Spatial Mining.
1 CSIS 7101: CSIS 7101: Spatial Data (Part 2) Efficient Processing of Spatial Joins Using R-trees Rollo Chan Chu Chung Man Mak Wai Yip Vivian Lee Eric.
COMP 451/651 B-Trees Size and Lookup Chapter 1.
Spatial Indexing I Point Access Methods. PAMs Point Access Methods Multidimensional Hashing: Grid File Exponential growth of the directory Hierarchical.
2-dimensional indexing structure
Spatial indexing PAMs (II).
Spatial Indexing SAMs. Spatial Indexing Point Access Methods can index only points. What about regions? Z-ordering and quadtrees Use the transformation.
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.
Spatial Indexing SAMs. Spatial Access Methods PAMs Grid File kd-tree based (LSD-, hB- trees) Z-ordering + B+-tree R-tree Variations: R*-tree, Hilbert.
Spatial Indexing SAMs.
Spatial Queries Nearest Neighbor and Join Queries.
Multi-dimensional Indexes
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.
Spatial Queries Nearest Neighbor Queries.
COMP 451/651 Multiple-key indexes
R-Trees 2-dimensional indexing structure. R-trees 2-dimensional version of the B-tree: B-tree of maximum degree 8; degree between 3 and 8 Internal nodes.
Spatial Indexing SAMs. Spatial Access Methods PAMs Grid File kd-tree based (LSD-, hB- trees) Z-ordering + B+-tree R-tree Variations: R*-tree, Hilbert.
 Spatial data requires special data structures, similar to B-trees.
Spatial Indexing I Point Access Methods. Spatial Indexing Point Access Methods (PAMs) vs Spatial Access Methods (SAMs) PAM: index only point data Hierarchical.
Spatial Indexing I Point Access Methods. Spatial Indexing Point Access Methods (PAMs) vs Spatial Access Methods (SAMs) PAM: index only point data Hierarchical.
Multidimensional Data Many applications of databases are ``geographic'' = 2­dimensional data. Others involve large numbers of dimensions. Example: data.
Data Structure and access method Fan Zhang Zhiqi Chen.
Spatial data models (types)
R-Trees and applications Efficient grid queries in the Dynamo reservoir modelling software.
Spatial Data Management Chapter 28. Types of Spatial Data Point Data –Points in a multidimensional space E.g., Raster data such as satellite imagery,
Database management Systems, 3ed, R. Ramakrishnan and J. Gehrke1 Spatial Data Management Chapter 28.
Mutlidimensional Indices Instructor: Randal Burns Lecture for 29 November 2005 Computer Science Johns Hopkins University.
SEMILARITY JOIN COP6731 Advanced Database Systems.
Indexing for Multidimensional Data An Introduction.
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.
Indexing for Multidimensional Data An Introduction.
Spatial and Geographic Databases ADVANCED DATABASES Khawaja Mohiuddin Assistant Professor Department of Computer Sciences Bahria University (Karachi Campus)
Spatial DBMS Spatial Database Management Systems.
Carnegie Mellon Carnegie Mellon Univ. Dept. of Computer Science Database Applications C. Faloutsos Spatial Access Methods - z-ordering.
Bin Yao (Slides made available by Feifei Li) R-tree: Indexing Structure for Data in Multi- dimensional Space.
A Quick Introduction to GIS
Spatial Indexing Techniques Introduction to Spatial Computing CSE 5ISC Some slides adapted from Spatial Databases: A Tour by Shashi Shekhar Prentice Hall.
A New Spatial Index Structure for Efficient Query Processing in Location Based Services Speaker: Yihao Jhang Adviser: Yuling Hsueh 2010 IEEE International.
Spatial and Geographic Databases. Spatial databases store information related to spatial locations, and support efficient storage, indexing and querying.
Spatial Indexing Techniques Introduction to Spatial Computing CSE 5ISC Some slides adapted from Spatial Databases: A Tour by Shashi Shekhar Prentice Hall.
R-Trees: A Dynamic Index Structure For Spatial Searching Antonin Guttman.
Spatial Databases - Indexing
File Processing : Multi-dimensional Index 2015, Spring Pusan National University Ki-Joune Li.
Multidimensional Access Methods Ho Hoang Nguyen Nguyen Thanh Trong Dao Vu Quoc Trung Ngo Phuoc Huong Thien DATABASE.
Multidimensional Access Structures COMP3017 Advanced Databases Dr Nicholas Gibbins –
1 Introduction to Spatial Databases Donghui Zhang CCIS Northeastern University.
Spatial Data Management
Spatial Queries Nearest Neighbor and Join Queries.
Multidimensional Access Structures
Spatial Database Systems
Spatial Indexing I Point Access Methods.
The Quad tree The index is represented as a quaternary tree
Spatial Storage and Indexing
Multidimensional Indexes
Distributed Probabilistic Range-Aggregate Query on Uncertain Data
RUM Conjecture of Database Access Method
Multidimensional Search Structures
Presentation transcript:

Spatial Database 2/5/2011 Reference – Ramakrishna Gerhke and Silbershatz

Spatial Data Any data that occupies space in a spacial world is spatial data – Types Point Data – characterized only by its location and has not boundary Region Data – characterized by a centre and a boundary

Spatial Applications Image data – Medical images like MRI scans – either transformed to lesser dimensions using image tranformation functions like hough function – or used directly as colors of locations Geographic Information Systems (GIS) – To store roads and rivers as lines and buildings or landscapes as polygons CAD/CAM Application – To store surfaces of modeling objects using wire mesh polygons Effective indexing and nearest neighbor querying for numerical data

Querying Capabilities Nearest Neighbor Queries – Find the first five close restaurants to my house – E.g., find all hotels within 100 metres from my house Spatial Range Queries – Find all roads passing through a given region in map – Find all houses contained in a specific locality marked in the map using boundaries Spatial Join Queries – Find all medical shops which are within about 10metres radius from the nearest hospital.

Indexing Schemes Spatial Curve Indexing – Z-Order Indexing – Hilbert Curve Indexing Grid File Indexing R Tree Indexing

Spatial Curve Filling The spatial curve filling approach orders the data using an z-value computed from the actual data represented in a bitmap The z- value is computed as follows – Calculate the bitmapped value of the data point in the given space – Interleave the bits from several dimensions and obtain a new binary value – The decimal equivalent of the re-arranged bits is called the z-value – The z-value is indexed using B+Tree – The z-value ordering captures the spatial closeness of the represented data well

2 bit Z-ordering

Hilbert Curve

Grid Indexing Creating a grid directory the data stored in pages Add the location of data to the grid cell entries Addr1 Addr3 Addr1 Addr3 Addr2 Addr4 Scale 1 Scale 2 Addr1 Addr2 Addr3 Addr4 Addr5 Grid Directory More than one cell pointed to the same space

R-Tree Stores Region Mostly answers range queries and join trees It is an extension of B+Trees Mark all regions in the space as a bounding rectangle A bounding rectangle is the smallest rectangle that encloses an object A B C D E

R-Trees Partition the rectangle boxes using split operation Insert the boundaries in a B_Tree If the page is full split a bounding box and create the new split up nodes A B C D E