US20140244635A1

Methods For Query Processing Of Topological Relationships Among Complex Spatial Objects

Claim Score by NHIP

Read claim 13, the broadest

Abstract

An optimized method of processing queries requesting a description of a spatial relationship between a test geometry and a query geometry, such as points, lines, polygons, and collections thereof, is disclosed. A first part of the method finds a first spatial relationship between a minimum bounding rectangle (MBR) of the test geometry and an In-Memory R-tree (IMR-tree) built to describe the query geometry. If the first relationship does not specify the requested description, then a second part of the method uses the IMR-tree of the query geometry to find a second spatial relationship between the test geometry itself and the query geometry. Optimizations are applied to the first part and to the second part. Optimizations in the second part depend on the test geometry.

US20140244635A1, drawing sheet 1
Sheet 1 of 40

Term

7 yearsto projected expiry

Projected expiry 8 October 2033, counted from filing; an application has no term until it is granted.

  1. Priority and filed
  2. Published
  3. Today
  4. Projected expiry

30 claims: 6 independent, 24 dependent

  1. 1
    A method for processing queries of spatial objects, the method comprising:receiving a query requesting a description of a spatial relationship between a query polygon and a test object;obtaining the query polygon formed from a plurality of line segments, wherein the query polygon has a boundary, an interior, and an exterior;obtaining a minimum bounding box (MBR) containing the test object, the test object having one or more features including one or more of a boundary, an exterior, or an interior;obtaining an In-Memory R-tree (IMR-tree) for accessing one or more bounding boxes of the query polygon, wherein each bounding box contains a particular group of the line segments of the query polygon;determining a first spatial relationship between the MBR of the test object and the query polygon by searching the IMR-tree with the MBR of the test object;adjusting values in a 9-intersection matrix to describe the first spatial relationship, wherein the values of the matrix describe intersections of any features of the test object with the boundary, the interior, or the exterior of the query polygon;if the first spatial relationship does not specify the requested description: determining a second spatial relationship between the test object and the query polygon by searching the IMR-tree using the one or more features of the test object;and adjusting the values in the 9-intersection matrix to describe the second spatial relationship;and returning the adjusted 9-intersection matrix as an answer to the query;wherein the method is performed by one or more computing devices.
  2. 12
    A non-transitory computer readable medium carrying one or more sequences of instructions for processing queries of spatial objects, wherein execution of the one or more sequences of instructions by one or more processors causes the one or more processors to perform the steps of:receiving a query requesting a description of a spatial relationship between a query polygon and a test object;obtaining the query polygon formed from a plurality of line segments, wherein the query polygon has a boundary, an interior, and an exterior;obtaining a minimum bounding box (MBR) containing the test object, the test object having one or more features including one or more of a boundary, an exterior, or an interior;obtaining an In-Memory R-tree (IMR-tree) for accessing one or more bounding boxes of the query polygon, wherein each bounding box contains a particular group of the line segments of the query polygon;determining a first spatial relationship between the MBR of the test object and the query polygon by searching the IMR-tree with the MBR of the test object;adjusting values in a 9-intersection matrix to describe the first spatial relationship, wherein the values of the matrix describe intersections of any features of the test object with the boundary, the interior, or the exterior of the query polygon;if the first spatial relationship does not specify the requested description: determining a second spatial relationship between the test object and the query polygon by searching the IMR-tree using the one or more features of the test object;and adjusting the values in the 9-intersection matrix to describe the second spatial relationship;and returning the adjusted 9-intersection matrix as an answer to the query;wherein the method is performed by one or more computing devices.
  3. 13
    Broadest claimClaim Score 40, average(NHIP)A method for processing queries of spatial objects, the method comprising:receiving a query requesting a description of a spatial relationship between a query line and a test object;obtaining the query line formed from a plurality of line segments, wherein the query line has a boundary, an interior, and an exterior;obtaining a minimum bounding box (MBR) containing the test object, the test object having one or more features including one or more of a boundary, exterior, or interior;obtaining an In-Memory R-tree (IMR-tree) for accessing one or more bounding boxes of the query line, wherein each bounding box contains a particular group of the line segments of the query line;determining a first spatial relationship between the MBR of the test object and the query line by searching the IMR-tree with the MBR of the test object;adjusting values in a 9-intersection matrix to capture the first spatial relationship, wherein the values of the matrix describe intersections of any features of the test object with the boundary, the interior, or the exterior of the query line;if the first spatial relationship does not specify the requested description: determining a second spatial relationship between the test object and the query line by searching the IMR-tree using the test object;and adjusting values in the 9-intersection matrix to capture the second spatial relationship;and returning the adjusted 9-intersection matrix as an answer to the query;wherein the method is performed by one or more computing devices.
  4. 23
    A non-transitory computer readable medium carrying one or more sequences of instructions for processing queries of spatial objects, wherein execution of the one or more sequences of instructions by one or more processors causes the one or more processors to perform the steps of:receiving a query requesting a description of a spatial relationship between a query line and a test object;obtaining the query line formed from a plurality of line segments, wherein the query line has a boundary, an interior, and an exterior;obtaining a minimum bounding box (MBR) containing the test object, the test object having one or more features including one or more of a boundary, exterior, or interior;obtaining an In-Memory R-tree (IMR-tree) for accessing one or more bounding boxes of the query line, wherein each bounding box contains a particular group of the line segments of the query line;determining a first spatial relationship between the MBR of the test object and the query line by searching the IMR-tree with the MBR of the test object;adjusting values in a 9-intersection matrix to capture the first spatial relationship, wherein the values of the matrix describe intersections of any features of the test object with the boundary, the interior, or the exterior of the query line;if the first spatial relationship does not specify the requested description: determining a second spatial relationship between the test object and the query line by searching the IMR-tree using the test object;and adjusting values in the 9-intersection matrix to capture the second spatial relationship;and returning the adjusted 9-intersection matrix as an answer to the query;wherein the method is performed by one or more computing devices.
  5. 24
    A method for processing queries of spatial objects, the method comprising:receiving a query requesting a description of a spatial relationship between a query collection and a test object;obtaining the query collection of spatial objects, wherein the spatial objects include points, lines, and polygons, wherein the lines and polygons are defined by one or more line segments, and wherein the query collection has a boundary, an interior, and an exterior;and obtaining a minimum bounding box MBR containing the test object, the test object having one or more features including one or more of a boundary, exterior, or interior;obtaining an IMR-tree for accessing one or more bounding boxes of the query collection, wherein the one or more bounding boxes include a bounding box for each boundary line segment of each polygon in the collection, a bounding box for each line segment of a line in the collection, and a bounding box of each point in the collection;determining a first spatial relationship between MBR of the test object and the query collection by searching the IMR-tree with the MBR of the test object;adjusting values in a 9-intersection matrix to describe the first spatial relationship, wherein the values of the matrix describes intersections of any feature of the test object with the boundary, the interior, or the exterior of the query collection;if the first spatial relationship does not specify the requested description: determining a second spatial relationship between the test object and the query collection by searching the IMR-tree using the test object;and adjusting values in the 9-intersection matrix to describe the second spatial relationship;returning the 9-intersection matrix as an answer to the query;wherein the method is performed by one or more computing devices.
  6. 30
    A non-transitory computer readable medium carrying one or more sequences of instructions for processing queries of spatial objects, wherein execution of the one or more sequences of instructions by one or more processors causes the one or more processors to perform the steps of:receiving a query requesting a description of a spatial relationship between a query collection and a test object;obtaining the query collection of spatial objects, wherein the spatial objects include points, lines, and polygons, wherein the lines and polygons are defined by one or more line segments, and wherein the query collection has a boundary, an interior, and an exterior;and obtaining a minimum bounding box MBR containing the test object, the test object having one or more features including one or more of a boundary, exterior, or interior;obtaining an IMR-tree for accessing one or more bounding boxes of the query collection, wherein the one or more bounding boxes include a bounding box for each boundary line segment of each polygon in the collection, a bounding box for each line segment of a line in the collection, and a bounding box of each point in the collection;determining a first spatial relationship between MBR of the test object and the query collection by searching the IMR-tree with the MBR of the test object;adjusting values in a 9-intersection matrix to describe the first spatial relationship, wherein the values of the matrix describes intersections of any feature of the test object with the boundary, the interior, or the exterior of the query collection;if the first spatial relationship does not specify the requested description: determining a second spatial relationship between the test object and the query collection by searching the IMR-tree using the test object;and adjusting values in the 9-intersection matrix to describe the second spatial relationship;returning the 9-intersection matrix as an answer to the query;wherein the method is performed by one or more computing devices.