Reducing index size for multi-level grid indexes
First Claim
Patent Images
1. A computer-implemented method of reducing a number of index entries for use in an index associated with an object, comprising:
- determining whether a number of grid cells the object overlaps is more than a defined limit number of grid cells at successively coarser levels of a multilevel grid index until it is determined that the number of grid cells that the object overlaps at one of the levels of the multilevel grid index does not exceed the defined limit number of grid cells or it is determined that the number of grid cells that the object overlaps exceeds the defined limit number of grid cells at a coarsest level;
in response to determining that the number of grid cells that the object overlaps at one of the levels of the multilevel grid index does not exceed the defined limit number of grid cells, using that level of the multilevel grid index for grid indexing;
in response to determining that the object overlaps more than the defined limit number of grid cells at the coarsest level,determining a number of index entries for the object;
if the number of index entries does not exceed a threshold number, storing the index entries in the multilevel grid index using the coarsest level of the multilevel grid index for grid indexing; and
if the number of index entries exceeds the threshold number, storing an indicator of the object in a pool storage area.
3 Assignments
0 Petitions
Accused Products
Abstract
The number of index entries in a grid index for indexing geometric shapes is reduced by establishing a pool storage area for geometric shapes, selecting a threshold number of grid cells which a geometric shape may overlap, storing the shape in the grid index if a geometric shape overlaps a number of grid cells not exceeding the threshold number, and storing the shape in the pool storage area if the geometric shape overlaps a number of grid cells which exceeds the threshold number.
71 Citations
7 Claims
-
1. A computer-implemented method of reducing a number of index entries for use in an index associated with an object, comprising:
-
determining whether a number of grid cells the object overlaps is more than a defined limit number of grid cells at successively coarser levels of a multilevel grid index until it is determined that the number of grid cells that the object overlaps at one of the levels of the multilevel grid index does not exceed the defined limit number of grid cells or it is determined that the number of grid cells that the object overlaps exceeds the defined limit number of grid cells at a coarsest level; in response to determining that the number of grid cells that the object overlaps at one of the levels of the multilevel grid index does not exceed the defined limit number of grid cells, using that level of the multilevel grid index for grid indexing; in response to determining that the object overlaps more than the defined limit number of grid cells at the coarsest level, determining a number of index entries for the object; if the number of index entries does not exceed a threshold number, storing the index entries in the multilevel grid index using the coarsest level of the multilevel grid index for grid indexing; and if the number of index entries exceeds the threshold number, storing an indicator of the object in a pool storage area. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
Specification