Toward Spatial Joins for Polygons
نویسندگان
چکیده
Efficient evaluation of spatial join is an important issue in spatial databases. The traditional evaluation strategy is to perform a join of “minimum bounding rectangles” (mbr) of the spatial objects (mbr-filter) and evaluate the actual join of the objects using the results of the join on approximations. Improvements to add additional filtering using more accurate approximations were also considered. In the present paper, we develop efficient algorithms for evaluating joins of “trapezoids” without using mbr’s. For the case where there are no intersecting non-horizontal boundaries of trapezoids in the same set, a spatial join of two sets of N trapezoids can be evaluated in O(N logb N+k) I/Os, where b is the page size and k the number of trapezoid intersections. For the general case without any assumptions, a join can be done in O((N+l+k) logb N) I/Os, where l is the total number of intersections of non-horizontal boundaries within the same set, and N, k, b are the same as above. The new algorithms can be used to evaluate spatial joins for polygons. One possibility is to decompose polygons into trapezoids and apply a trapezoid join algorithm. In particular, this approach is efficient for “I/O bounded polygons” (each of which can be retrieved in a constant number of I/Os). Given two sets of N I/O bounded polygons, we show that in the case where there are no boundary intersections among polygons of the same set, the join of the two sets can be computed in O(N logb N+k) I/Os, and in the case where there is no such assumption, the join takes O((N + l + k) logb N) I/Os, where b is the page size, k the number of pairs of intersecting polygons, and l the number of boundary intersections within the same polygon set. Another possibility is to approximate objects by I/O bounded polygons (e.g., 5-corner convex polygons) which are finer than rectangles and use the new algorithms as a filter. ∗Support in part by NSF grants IRI-9700370 and IIS-9817432.
منابع مشابه
Polygon and Polyline Join Using Raster Filters
Processing spatial joins efficiently is crucial to rendering the spatial data analysis process feasible. As pointed out in many works, the exact intersection test of two spatial objects is the most time-consuming and I/Oconsuming step in processing spatial joins. The use of approximations can reduce the need for examining the exact geometry of spatial objects in order to find the intersecting o...
متن کاملA Raster Approximation For Processing of Spatial Joins
The processing of spatial joins can be greatly improved by the use of filters that reduce the need for examining the exact geometry of polygons in order to find the intersecting ones. Approximations of candidate pairs of polygons are examined using such filters. As a result, three possible sets of answers are identified: the positive one, composed of intersecting polygon pairs; the negative one...
متن کاملExtending Rectangle Join Algorithms for Rectilinear Polygons
Spatial joins are very important but costly operations in spatial databases. A typical evaluation strategy of spatial joins is to perform the join on approximations of spatial objects and then evaluate the join of the real objects based on the results. The common approximation is the minimum bounding rectangle. Minimum bounding rectangles are coarse approximations of spatial objects and may cau...
متن کاملA Raster Approximation for Processing of Polyline Joins
The main subject of spatial joins is polygons and polylines. The processing of spatial joins can be greatly improved by the use of filters that reduce the need for examining the exact geometry of spatial objects in order to find the intersecting ones. Approximations of candidate pairs of spatial objects are examined using such filters. As a result, three possible sets of answers are identified:...
متن کاملUsing Rasters Approximations For Processing of Spatial Joins
The processing of spatial joins can be greatly improved by the use of filters that reduce the need for examining the exact geometry of polygons in order to find the intersecting ones. Approximations of candidate pairs of polygons are examined using such filters. As a result, three possible sets of answers are identified: the positive one, composed of intersecting polygon pairs; the negative one...
متن کامل