Skip to main content

On Multi-Way Spatial Joins with Direction Predicates

  • Conference paper
  • First Online:
Book cover Advances in Spatial and Temporal Databases (SSTD 2001)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2121))

Included in the following conference series:

Abstract

Spatial joins are fundamental in spatial databases. Over the last decade, the primary focus of research has been on joins with the predicate “region intersection.” In modern database applications involving geospatial data such as GIS, efficient evaluation of joins with other spatial predicates is yet to be fully explored. In addition, most existing join algorithms were developed for two-way joins. Traditionally, a multi-way join is treated as a sequence of two-way joins. The goal of this paper is to study evaluation of multi-way spatial joins with direction predicates: complexity bounds and efficient algorithms. We first give I/O efficient plane sweeping based algorithms for 2-way direction joins and show that by combining the plane sweeping technique with external priority search trees, a 2-way direction join of N-tuple relations can be evaluated in O(Nlogb N/M + k) I/Os in the worst case, where M is the size of the memory, b is the page size and k is the result size. The algorithms are then extended to perform a subclass of multi-way direction joins called “star joins”. We show that the I/O complexity of evaluating an way star join of N-tuple relations is O(mN logb MN +K + k), where mN 2 is the size of the intermediate result, M, b and k (= N m) are the same as above. We also apply the algorithm for star joins to evaluate a more general case of multi-way joins, which are star connections of star joins and show that this can be done in polynomial time. In the general case, we show that testing emptiness of a multi-way direction join is NP-complete. This lower bound holds even when in the join predicate (1) only one attribute for each relation is involved, and (2) each spatial attribute occurs a bounded number of times. It implies that join evaluation in these cases is NP-hard.

Support in part by NSF grants IRI-9700370 and IIS-9817432.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. L. Arge, O Procopiuc, S. Ramaswamy, T. Suel, and J. Vitter. Scalable sweeping-based spatial join. In Proc. Int. Conf. on Very Large Data Bases, 1998.

    Google Scholar 

  2. L. Arge. The buffer tree: A new technique for optimal I/O-algorithms. In Proc. Workshop on Algorithms and Data structures, 1995.

    Google Scholar 

  3. L. Arge, V. Samoladas, and J. S. Vitter. On two-dimensional indexibility and optimal range search indexing. In Proc. ACM Symp. on Principles of Database Systems, 1999.

    Google Scholar 

  4. L. Arge and J. S. Vitter. Optimal dynamic interval management in external memory. In Proc. IEEE Symp. on Foundations of Computer Science, 1996.

    Google Scholar 

  5. L. Becker, K. Hinriches, and U. Finke. A new algorithm for computing joins with grid files. In Proc. Int. Conf. on Data Engineering, pages 190–197, 1993.

    Google Scholar 

  6. T. Brinkhoff, H-P. Kriegel, and B. Seeger. Efficient processing of spatial join using R-trees. In Proc. ACM SIGMOD Int. Conf. on Management of Data, 1993.

    Google Scholar 

  7. T. Brinkhoff, H-P. Kriegel, R. Schneider, and B. Seeger. Multi-step processing of spatial joins. In Proc. ACM SIGMOD Int. Conf. on Management of Data, 1994.

    Google Scholar 

  8. S. Dutta. Qualitative spatial reasoning: a semi-qualitative approach using fuzzy logic. In Proc. Symp. on Large Spatial Databases, 1989.

    Google Scholar 

  9. A. U. Frank. Qualitative spatial reasoning about distances and directions in geographic space. Journal of Visual Languages and Computing, 3:343–371, 1992.

    Article  Google Scholar 

  10. M. T. Goodrich, J.-J. Tsay, D. E. Vengroff, and J. S. Vitter. External-memory computational geometry. In Proc. IEEE Symp. on Foundations of Computer Science, pages 714–723, 1993.

    Google Scholar 

  11. O. Günther. Efficient computation of spatial joins. In Proc. Int. Conf. on Data Engineering, pages 50–59, 1993.

    Google Scholar 

  12. D. Hernandez. Mantaining qualitative spatial knowledge. In Proceedings of the European Conference on Spatial Information Theory, 1993.

    Google Scholar 

  13. Y.-W. Huang, N. Jing, and E. A. Rundensteiner. Spatial joins using R-trees: Breadth-first traversal with global optimizations. In Proc. Int. Conf. on Very Large Data Bases, 1997.

    Google Scholar 

  14. G. R. Hjaltason and H. Samet. Incremental distance join algorithms for spatial databases. In Proc. ACM SIGMOD Int. Conf. on Management of Data, pages 237–248, 1998.

    Google Scholar 

  15. M-L. Lo and C. V. Ravishankar. Spatial hash-joins. In Proc. ACM SIGMOD Int. Conf. on Management of Data, 1996.

    Google Scholar 

  16. E. M. McCreight. Priority search trees. SIAM Journal of COmputing, 14:257–276, 1985.

    Article  MATH  MathSciNet  Google Scholar 

  17. N. Mamoulis and D. Papadias. Constraint-based algorithms for computing clique intersection joins. In Proc. ACM Symp. on Advances in Geographic Information Systems, 1998.

    Google Scholar 

  18. N. Mamoulis and D. Papadias. Integration of spatial join algorithms for processing multiple inputs. In Proc. ACM SIGMOD Int. Conf. on Management of Data, 1999.

    Google Scholar 

  19. J. M. Patel and D. J. DeWitt. Partition based spatial-merge join. In Proc. ACM SIGMOD Int. Conf. on Management of Data, 1996.

    Google Scholar 

  20. D. Papadias, N. Mamoulis, and Y. Theodoridis. Processing and optimization of multiway spatial joins using R-trees. In Proc. ACM Symp. on Principles of Database Systems, 1999.

    Google Scholar 

  21. A. Papadopoulos, P. Rigaux, and M. Scholl. A performance evaluation of spatial join processing strategies. In Proc. Symp. on Large Spatial Databases, pages 286–307, 1999.

    Google Scholar 

  22. D. Papadias and T. Sellis. The semantics of relations in 2D space using represectative points: spatial indexes. In Proceedings of the European Conference on Spatial Information Theory, 1993.

    Google Scholar 

  23. D. Papadias, Y. Theodoridis, and T. Sellis. The retrieval of direction relations using r-trees. In Proc. 5th Int. Conf. Database and Expert Systems Applications, pages 173–182, 1994.

    Google Scholar 

  24. D. Rotem. Spatial join indices. In Proc. Int. Conf. on Data Engineering, pages 500–509, 1991.

    Google Scholar 

  25. J. C. Shafer and R. Agrawal. Parallel algorithms for high dimensional similarity joins for data mining applications. In Proc. Int. Conf. on Very Large Data Bases, pages 176–185, 1997.

    Google Scholar 

  26. M. I. Shamos and D. Hoey. Geometric intersection problems. In Proc. IEEE Symp. on Foundations of Computer Science, pages 208–215, 1976.

    Google Scholar 

  27. J. Vitter. External memory algorithms: Dealing with massive data. In Proc. ACM Symp. on Principles of Database Systems, pages 233–243, 1998.

    Google Scholar 

  28. G. Zimbrao and J. M. Souza. A raster approximation for processing of spatial joins. In Proc. Int. Conf. on Very Large Data Bases, pages 558–569, 1998.

    Google Scholar 

  29. H. Zhu, J. Su, and O.H. Ibarra. An index structure for spatial joins in linear constraint databases. In Proc. Int. Conf. on Data Engineering, 1999.

    Google Scholar 

  30. H. Zhu, J. Su, and O. H. Ibarra. Extending rectangle join algorithms for rectilinear polygons. In Proc. Int. Conf. on WebInformation Management, 2000.

    Google Scholar 

  31. H. Zhu, J. Su, and O. H. Ibarra. Towards spatial joins for polygons. In Proc. Int. Conf. on Statistical and Scientific Database Management, 2000.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2001 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Zhu, H., Su, J., Ibarra, O.H. (2001). On Multi-Way Spatial Joins with Direction Predicates. In: Jensen, C.S., Schneider, M., Seeger, B., Tsotras, V.J. (eds) Advances in Spatial and Temporal Databases. SSTD 2001. Lecture Notes in Computer Science, vol 2121. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-47724-1_12

Download citation

  • DOI: https://doi.org/10.1007/3-540-47724-1_12

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-42301-0

  • Online ISBN: 978-3-540-47724-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics