System and method for geo-location data type searching in an on demand environment
First Claim
1. A method of retrieving, from a database containing a list of records, a result set of the list of records located within a user defined distance from a target point, each record in the list of records having a compound geo-location data type including a first data field and a second data field, the first and second data fields comprising latitude and longitude, the method comprising:
- generating a circle around the target point with a radius corresponding to the user defined distance;
identifying a subset of the list of records having a geo-location within the circle, wherein identifying the subset comprises;
determining the coordinates of a first square comprising the smallest dimensions which contain the circle;
identifying the records outside the first square; and
filtering out any records outside the first square from the result set;
including the identified records in a result set; and
presenting the result set to a user on a display screen;
wherein identifying comprises treating the first data field and the second data field as a single data element.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and systems are provided for retrieving, from a database containing a list of records, a subset of the list of records located within a user defined distance from a target point, each record in the list of records having a compound geo-location data type including a first data field and a second data field. The method involves generating a circle around the target point; identifying records having a geo-location within the circle; including the identified records in a result set; and presenting the result set to a user on a display screen. The method further includes treating the first data field and the second data field as a single data element.
-
Citations
19 Claims
-
1. A method of retrieving, from a database containing a list of records, a result set of the list of records located within a user defined distance from a target point, each record in the list of records having a compound geo-location data type including a first data field and a second data field, the first and second data fields comprising latitude and longitude, the method comprising:
-
generating a circle around the target point with a radius corresponding to the user defined distance; identifying a subset of the list of records having a geo-location within the circle, wherein identifying the subset comprises; determining the coordinates of a first square comprising the smallest dimensions which contain the circle; identifying the records outside the first square; and filtering out any records outside the first square from the result set; including the identified records in a result set; and presenting the result set to a user on a display screen; wherein identifying comprises treating the first data field and the second data field as a single data element. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. In a multi-tenant computing environment of the type including a multi-tenant database, a method of searching for a subset of records based on distance from a user defined target location, the method comprising:
-
formatting each record in the list of records with a compound geo-location data type including a first data field comprising latitude and a second data field comprising longitude; constructing a query including search criteria and a distance value; identifying a first set of data for a particular tenant within the multi-tenant database which satisfies the search criteria, wherein identifying the second set of data records comprises treating the first data field and the second data field as a single data element; defining a target point and a radius R; generating a circle having a radius R around the target point; identifying a second set of data records having a geo-location within the circle, wherein the second set of data is a subset of the first set of data, wherein identifying the second set of data records further comprises; determining the coordinates of a first square comprising the smallest dimensions which contain the circle; identifying the records outside the first square; and filtering out any records outside the first square from the result set; including the identified records in a result set; and presenting the result set to a user on a display screen. - View Dependent Claims (12, 13, 14, 15, 16, 17)
-
-
18. A computer application embodied in a non-transitory medium for operation by a computer processor for performing the steps of:
-
generating a circle centered around the target point, the circle defined by a radius; identifying records having a geo-location within the circle, wherein identifying the results set includes defining a first square being centered around the target point with a side length of the first square being equal to twice the radius of the circle such that the first square circumscribes the circle, identifying the records outside of the first square and filtering out any records outside of the first square from the results set, including the identified records in a the result set; and presenting the result set to a user on a display screen; wherein identifying comprises treating the first data field and the second data field as a single data element. - View Dependent Claims (19)
-
Specification