Efficient point-in-polygon indexing technique for processing queries over geographic data sets
First Claim
1. A computer-implemented method for displaying geographic data, comprising:
- receiving a query to be processed, wherein the query is associated with a set of geographic regions;
using a late-binding schema generated from the query to retrieve a set of data points from a set of events containing previously gathered raw machine data and corresponding timestamps, the late-binding schema including an extraction rule to apply to the set of events to extract the set of data points;
for each data point in the set of data points, identifying zero or more geographic regions in the set of geographic regions that the data point falls into using an index of open line segments that correspond to the set of geographic regions and that project onto a reference line that is separate from any borders of the geographic regions; and
causing display of the set of geographic regions, wherein each polygon that defines a geographic region is marked to indicate a number of data points that fall into the polygon.
1 Assignment
0 Petitions
Accused Products
Abstract
A system that displays geographic data is disclosed. During operation, the system receives a query to be processed, wherein the query is associated with a set of geographic regions. Next, the system uses a late-binding schema generated from the query to retrieve a set of data points from a set of events containing previously gathered data. Then, for each data point in a set of data points, the system identifies zero or more geographic regions in the set of geographic regions that the data point falls into. Finally, the system displays the set of geographic regions, wherein each polygon that defines a geographic region is marked to indicate a number of data points that fall into the polygon.
43 Citations
27 Claims
-
1. A computer-implemented method for displaying geographic data, comprising:
-
receiving a query to be processed, wherein the query is associated with a set of geographic regions; using a late-binding schema generated from the query to retrieve a set of data points from a set of events containing previously gathered raw machine data and corresponding timestamps, the late-binding schema including an extraction rule to apply to the set of events to extract the set of data points; for each data point in the set of data points, identifying zero or more geographic regions in the set of geographic regions that the data point falls into using an index of open line segments that correspond to the set of geographic regions and that project onto a reference line that is separate from any borders of the geographic regions; and causing display of the set of geographic regions, wherein each polygon that defines a geographic region is marked to indicate a number of data points that fall into the polygon. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A non-transitory computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method for displaying geographic data, the method comprising:
-
receiving a query to be processed, wherein the query is associated with a set of geographic regions; using a late-binding schema generated from the query to retrieve a set of data points from a set of events containing previously gathered raw machine data and corresponding timestamps, the late-binding schema including an extraction rule to apply to the set of events to extract the set of data points; for each data point in the set of data points, identifying zero or more geographic regions in the set of geographic regions that the data point falls into using an index of open line segments that correspond to the set of geographic regions and that project onto a reference line that is separate from any borders of the geographic regions; and causing display of the set of geographic regions, wherein each polygon that defines a geographic region is marked to indicate a number of data points that fall into the polygon. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A system that displays geographic data, comprising:
-
at least one processor and at least one associated memory; and a query-processing mechanism that executes on the at least one processor and is configured to; receive a query to be processed, wherein the query is associated with a set of geographic regions; use a late-binding schema generated from the query to retrieve a set of data points from a set of events containing previously gathered raw machine data and corresponding timestamps, the late-binding schema including an extraction rule to apply to the set of events to extract the set of data points; for each data point in the set of data points, identify zero or more geographic regions in the set of geographic regions that the data point falls into using an index of open line segments that correspond to the set of geographic regions and that project onto a reference line that is separate from any borders of the geographic regions; and cause display of the set of geographic regions, wherein each polygon that defines a geographic region is marked to indicate a number of data points that fall into the polygon. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27)
-
Specification