Query prunning using exterior tiles in an R-tree index
First Claim
1. A method for determining relationships among objects represented in a database, the method comprising:
- defining an approximation of a first geometry;
defining a plurality of tiles in the approximation of the first geometry by dividing the approximation of the first geometry in a first direction a plurality of times and dividing the approximation of the first geometry in a second direction perpendicular to the first direction the plurality of times;
determining if a second geometry fulfills a first filter condition with respect to any of the tiles defined in the approximation of the first geometry; and
if the second geometry fulfills the first filter condition with respect to any of the tiles defined in the first geometry carrying out a mathematical comparison of the first geometry and the second geometry.
1 Assignment
0 Petitions
Accused Products
Abstract
Determining relationships among objects represented in a database includes defining a plurality of tiles in the approximation of the first geometry by dividing the approximation of the first geometry in a first direction a plurality of times and dividing the approximation of the first geometry in a second direction perpendicular to the first direction a plurality of times. A second geometry is analyzed to determine if it fulfills a first filter condition with respect to any of the tiles defined in the approximation of the first geometry. If the second geometry fulfills the first filter condition with respect to any of the tiles defined in the first geometry carrying out a mathematical comparison of the first geometry and the second geometry.
51 Citations
15 Claims
-
1. A method for determining relationships among objects represented in a database, the method comprising:
-
defining an approximation of a first geometry;
defining a plurality of tiles in the approximation of the first geometry by dividing the approximation of the first geometry in a first direction a plurality of times and dividing the approximation of the first geometry in a second direction perpendicular to the first direction the plurality of times;
determining if a second geometry fulfills a first filter condition with respect to any of the tiles defined in the approximation of the first geometry; and
if the second geometry fulfills the first filter condition with respect to any of the tiles defined in the first geometry carrying out a mathematical comparison of the first geometry and the second geometry. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A method for determining relationships among objects represented in a database, the method comprising:
-
defining a minimum bounding rectangle of a first geometry;
defining a plurality of tiles in the minimum bounding rectangle of the first geometry by recursively dividing the minimum bounding rectangle into two parts a plurality of times in an x-dimension and a y-dimension;
determining whether a second geometry intersects any of the tiles; and
if the second geometry intersects any of the tiles, carrying out a mathematical comparison of the first geometry and the second geometry.
-
-
14. A computer program product for performing a process for determining relationships among objects represented in a database, comprising:
-
a computer readable medium; and
computer program instructions, recorded on the computer readable medium, executable by a processor, for performing the steps of defining an approximation of a first geometry;
defining a plurality of tiles in the approximation of the first geometry by dividing the approximation of the first geometry in a first direction a plurality of times and dividing the approximation of the first geometry in a second direction perpendicular to the first direction the plurality of times;
determining if a second geometry fulfills a first filter condition with respect to any of the tiles defined in the approximation of the first geometry; and
if the second geometry fulfills the first filter condition with respect to any of the tiles defined in the first geometrycarrying out a mathematical comparison of the first geometry and the second geometry.
-
-
15. A system for performing a process for determining relationships among objects represented in a database, comprising:
-
a processor operable to execute computer program instructions; and
a memory operable to store computer program instructions executable by the processor, for performing the steps of;
defining an approximation of a first geometry;
defining a plurality of tiles in the approximation of the first geometry by dividing the approximation of the first geometry in a first direction a plurality of times and dividing the approximation of the first geometry in a second direction perpendicular to the first direction the plurality of times;
determining if a second geometry fulfills a first filter condition with respect to any of the tiles defined in the approximation of the first geometry; and
if the second geometry fulfills the first filter condition with respect to any of the tiles defined in the first geometry carrying out a mathematical comparison of the first geometry and the second geometry.
-
Specification