×

System and method for geo-location data type searching in an on demand environment

  • US 9,418,077 B2
  • Filed: 07/10/2015
  • Issued: 08/16/2016
  • Est. Priority Date: 05/03/2012
  • Status: Active Grant
First Claim
Patent Images

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 latitude field and a longitude field, the method comprising:

  • generating, with a processor, a circle around the target point with a radius corresponding to the user defined distance;

    identifying, with the processor, a result set of records having a geo-location within the circle,wherein identifying comprises treating the first data field and the second data field as a single data element;

    filtering out any records outside of the circle using regular indexes on the latitude and longitude fields of the records to form a first subset of the list of records;

    computing distance values for each of the first subset of the list of records using one of;

    the haversine formula;

    the spherical law of cosines; and

    the Euclidian distance theorem;

    filtering out any records from the first subset of the list of records with a respective distance value greater than the radius corresponding to the user defined distance to form the result set from any remaining records; and

    presenting the result set to a user on a display screen.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×