Spatial Join Yan Huang Spatial Join Given two sets of spatial data Find the pair of objects satisfying certain spatial predicate – e.g.

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

High-dimensional Similarity Join
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.
7/03Spatial Data Mining G Dong (WSU) & H. Liu (ASU) 1 6. Spatial Mining Spatial Data and Structures Images Spatial Mining Algorithms.
Spatial Indexing SAMs. Spatial Indexing Point Access Methods can index only points. What about regions? Z-ordering and quadtrees Use the transformation.
Spatial Data Structures Hanan Samet Computer Science Department
Spatial Join Queries. Spatial Queries Given a collection of geometric objects (points, lines, polygons,...) organize them on disk, to answer point queries.
Structural Joins: A Primitive for Efficient XML Query Pattern Matching Shurug Al-Khalifa, H. V. Jagadish, Nick Koudas, Jignesh M. Patel, Divesh Srivastava,
1 Chapter 5 : Query Processing and Optimization Group 4: Nipun Garg, Surabhi Mithal
On Spatial-Range Closest Pair Query Jing Shan, Donghui Zhang and Betty Salzberg College of Computer and Information Science Northeastern University.
Structural Joins: A Primitive for Efficient XML Query Pattern Matching Al Khalifa et al., ICDE 2002.
STUN: SPATIO-TEMPORAL UNCERTAIN (SOCIAL) NETWORKS Chanhyun Kang Computer Science Dept. University of Maryland, USA Andrea Pugliese.
Introduction to Spatial Database System Presented by Xiaozhi Yu.
Continuous Intersection Joins Over Moving Objects Rui Zhang University of Melbourne Dan Lin Purdue University Kotagiri Ramamohanarao University of Melbourne.
Computer Graphics1 Quadtrees & Octrees. Computer Graphics2 Quadtrees n A hierarchical data structure often used for image representation. n Quadtrees.
Quadtrees Raster and vector.
Indexing Network Voronoi Diagrams*
Spatial Database Systems
--Presented By Sudheer Chelluboina. Professor: Dr.Maggie Dunham.
Spatial Access Methods Chapter 26 of book Read only 26.1, 26.2, 26.6 Dr Eamonn Keogh Computer Science & Engineering Department University of California.
A lion in the desert How do you find a lion in the desert? How about when you have a predicate that tells you if the lion is in front or behind a separating.
Spatial Queries Nearest Neighbor and Join Queries.
Spatial Information Systems (SIS) COMP Spatial access methods: Indexing.
Spatial Queries Nearest Neighbor Queries.
Spatial Information Systems (SIS) COMP Spatial access methods: Indexing (part 2)
Spatial Database Systems. Spatial Database Applications GIS applications (maps): Urban planning, route optimization, fire or pollution monitoring, utility.
Spatial Indexing. Spatial Queries Given a collection of geometric objects (points, lines, polygons,...) organize them on disk, to answer point queries.
Join-Queries between two Spatial Datasets Indexed by a Single R*-tree Join-Queries between two Spatial Datasets Indexed by a Single R*-tree Michael Vassilakopoulos.
SEMILARITY JOIN COP6731 Advanced Database Systems.
RELATIONAL JOIN Advanced Data Structures. Equality Joins With One Join Column External Sorting 2 SELECT * FROM Reserves R1, Sailors S1 WHERE R1.sid=S1.sid.
R-Tree. 2 Spatial Database (Ia) Consider: Given a city map, ‘index’ all university buildings in an efficient structure for quick topological search.
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.
Trajectory Data Mining Dr. Yu Zheng Lead Researcher, Microsoft Research Chair Professor at Shanghai Jiao Tong University Editor-in-Chief of ACM Trans.
Spatial Indexing Techniques Introduction to Spatial Computing CSE 5ISC Some slides adapted from Spatial Databases: A Tour by Shashi Shekhar Prentice Hall.
CSCI 5708: Query Processing II Pusheng Zhang University of Minnesota Feb 5, 2004.
Spatial Databases - Indexing
Efficient OLAP Operations in Spatial Data Warehouses Dimitris Papadias, Panos Kalnis, Jun Zhang and Yufei Tao Department of Computer Science Hong Kong.
More Optimization Exercises. Block Nested Loops Join Suppose there are B buffer pages Cost: M + ceil (M/(B-2))*N where –M is the number of pages of R.
File Processing : Query Processing 2008, Spring Pusan National University Ki-Joune Li.
Foundation of Computing Systems Lecture 4 Trees: Part I.
Multi-dimensional Range Query Processing on the GPU Beomseok Nam Date Intensive Computing Lab School of Electrical and Computer Engineering Ulsan National.
Rethinking Choices for Multi-dimensional Point Indexing You Jung Kim and Jignesh M. Patel University of Michigan.
1 Spatial Query Processing using the R-tree Donghui Zhang CCIS, Northeastern University Feb 8, 2005.
Spatial Data Management
Strategies for Spatial Joins
Many slides taken from George Kollios, Boston University
Spatial Queries Nearest Neighbor and Join Queries.
Spatial Database Systems
Image Segmentation.
Spatial Indexing.
Spatial Indexing I Point Access Methods.
Query Processing in Databases Dr. M. Gavrilova
Sameh Shohdy, Yu Su, and Gagan Agrawal
CSE373: Data Structures & Algorithms Lecture 23: Applications
Query Processing and Optimization
File Processing : Query Processing
On Spatial Joins in MapReduce
Chapter Two Trajectory Indexing and Retrieval
Yan Huang - CSCI5330 Database Implementation – Access Methods
Joining Interval Data in Relational Databases
Quadtrees 1.
Spatial Database Systems
The BIRCH Algorithm Davitkov Miroslav, 2011/3116
Lecture 2- Query Processing (continued)
File Processing : Multi-dimensional Index
Sorting We may build an index on the relation, and then use the index to read the relation in sorted order. May lead to one disk block access for each.
Multidimensional Search Structures
Chapter Two Trajectory Indexing and Retrieval
All about Indexes Gail Shaw.
Presentation transcript:

Spatial Join Yan Huang

Spatial Join Given two sets of spatial data Find the pair of objects satisfying certain spatial predicate – e.g. INSIDE, WITHIN

Two Methods On-the-fly Indexing-based

On-the-fly Nested-loop Block-nested-loop for large dataset

Indexing: Z-order Grid the space Create a z-order of the cells An object is represented by MBR and have a set of z-values Index z-values using on-dimensional indexing such as B+ tree INSIDE? WITHIN?

Filter-and-refine Each object is represented by it MBR Join in MBR level first Only those past MBR level filtering will be check for actually relationship INSIDE? WITHIN?

R-tree indexing from wikipedia

Quadtree From wikipedia

Tree-matching Simultaneously traverse two tree nodes TreeM(R1,R2) If the two nodes are non-disjoint – If R1 is leaf R2 is not leaf, recursively call TreeM(R1,R2.child) for each child of R2. Otherwise, find pairs from R1 and R2 – Otherwise If R2 is leaf, recursively call TreeM(R1.child,R2) for each child of R1. Otherwise, recursively call TreeM(R1.child,R2.child) for each child of R1 and each child of R2.

Partition-based Merge Join Jignesh M. Patel, David J. DeWitt, Partition Based Spatial-Merge Join, SIGMOD 1996.