# US 2013/0097163 A1 · Methods and apparatuses for facilitating interaction with a geohash-indexed data set

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0097163 A1
- Document ID: US20130097163A1
- Status: Published application
- Kind: A1
- Application number: 13/275,955
- Filed: 2011-10-18
- Published: 2013-04-18
- Earliest claimed: 2011-10-18
- Assignees: Nokia Corporation
- Inventors: Matti Juhani Oikarinen; David Gordon MacMillan
- Web page: https://patentgrep.com/patent/US20130097163A1

## CPC

- G06F 16/29: Geographical information databases
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods and apparatuses are provided for facilitating interaction with a geohash-indexed data set. A method may include providing a geohash-indexed data set. The method may further include determining a density map indicating a density of indexed data items of the data set for each of a plurality of geohashes. Corresponding apparatuses are also provided.

## Claims

### Claim 1

A method comprising:
providing a geohash-indexed data set; and
determining, by a processor, a density map indicating a density of indexed data items of the data set for each of a plurality of geohashes.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining the density map comprises determining a density of indexed data items of the data set for each of a plurality of geohashes at a first level, the method further comprising:
associating the density map with a geohash at a second level, the second level being higher than the first level and referencing a geographic region encompassing geographic regions referenced by the plurality of geohashes at the first level.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
calculating a geohash for a data item to be indexed at a first level;
indexing the data item with the geohash at the first level;
calculating a geohash for the data item at a second level, the second level being higher than the first level, and wherein the geohash for the data item at the second level is associated with the density map; and
incrementing a density count in the density map indicative of a density of data items indexed by the geohash at the first level.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
receiving a query location; and
using the density map to query the geohash-indexed data set based at least in part on the query location.

### Claim 5 (depends on 4)

The method of claim 4, wherein using the density map to query the geohash-indexed data set comprises:
determining a geohash corresponding to the query location at a first level;
determining a geohash corresponding to the query location at a second level, the second level being higher than the first level, and wherein the geohash corresponding to the query location at the second level is associated with the density map;
reading at least a portion of the density map to determine densities of indexed items for the geohash corresponding to the query location at the first level and for one or more further geohashes at the first level, the one or more further geohashes at the first level referencing geographic regions adjacent to a geographic region referenced by the geohash corresponding to the query location at the first level; and
selecting to retrieve data items indexed by one or more of the geohash corresponding to the query location at the first level or one or more of the further geohashes at the first level based at least in part on the read densities.

### Claim 6 (depends on 5)

The method of claim 5, wherein selecting to retrieve data items indexed by one or more of the geohash corresponding to the query location at the first level or one or more of the further geohashes at the first level based at least in part on the read densities comprises selecting to retrieve data items indexed from one or more geohashes cumulatively indexing enough data items to satisfy a search result quantity criterion.

### Claim 7 (depends on 5)

The method of claim 5, wherein selecting to retrieve data items indexed by one or more of the geohash corresponding to the query location at the first level or one or more of the further geohashes at the first level based at least in part on the read densities comprises selecting to retrieve data items indexed by one or more geohashes indexing a number of data items satisfying a threshold number.

### Claim 8 (depends on 4)

The method of claim 4, wherein using the density map to query the geohash-indexed data set based at least in part on the query location comprises, prior to retrieving any indexed data items:
determining, based at least in part on the density map, whether a number of data items that would be retrieved based at least in part on the query location would fail to satisfy a threshold parameter; and
only retrieving a data item based at least in part on the query location in an instance in which it is determined that the number of data items that would be retrieved based at least in part on the query location would satisfy the threshold parameter.

### Claim 9 (depends on 8)

The method of claim 8, further comprising causing a user to be prompted to refine the query location in an instance in which it is determined that the number of data items that would be retrieved based at least in part on the query location would not satisfy the threshold parameter.

### Claim 10

An apparatus comprising at least one processor and at least one memory storing computer program code, wherein the at least one memory and stored computer program code are configured, with the at least one processor, to cause the apparatus to at least perform:
providing a geohash-indexed data set; and
determining a density map indicating a density of indexed data items of the data set for each of a plurality of geohashes.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein determining the density map comprises determining a density of indexed data items of the data set for each of a plurality of geohashes at a first level, and wherein the at least one memory and stored computer program code are configured, with the at least one processor, to further cause the apparatus to perform:
associating the density map with a geohash at a second level, the second level being higher than the first level and referencing a geographic region encompassing geographic regions referenced by the plurality of geohashes at the first level.

### Claim 12 (depends on 10)

The apparatus of claim 10, wherein the at least one memory and stored computer program code are configured, with the at least one processor, to further cause the apparatus to perform:
calculating a geohash for a data item to be indexed at a first level;
indexing the data item with the geohash at the first level;
calculating a geohash for the data item at a second level, the second level being higher than the first level, and wherein the geohash for the data item at the second level is associated with the density map; and
incrementing a density count in the density map indicative of a density of data items indexed by the geohash at the first level.

### Claim 13 (depends on 10)

The apparatus of claim 10, wherein the at least one memory and stored computer program code are configured, with the at least one processor, to further cause the apparatus to perform:
receiving a query location; and
using the density map to query the geohash-indexed data set based at least in part on the query location.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein using the density map to query the geohash-indexed data set comprises:
determining a geohash corresponding to the query location at a first level;
determining a geohash corresponding to the query location at a second level, the second level being higher than the first level, and wherein the geohash corresponding to the query location at the second level is associated with the density map;
reading at least a portion of the density map to determine densities of indexed items for the geohash corresponding to the query location at the first level and for one or more further geohashes at the first level, the one or more further geohashes at the first level referencing geographic regions adjacent to a geographic region referenced by the geohash corresponding to the query location at the first level; and
selecting to retrieve data items indexed by one or more of the geohash corresponding to the query location at the first level or one or more of the further geohashes at the first level based at least in part on the read densities.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein selecting to retrieve data items indexed by one or more of the geohash corresponding to the query location at the first level or one or more of the further geohashes at the first level based at least in part on the read densities comprises selecting to retrieve data items indexed from one or more geohashes cumulatively indexing enough data items to satisfy a search result quantity criterion.

### Claim 16 (depends on 14)

The apparatus of claim 14, wherein selecting to retrieve data items indexed by one or more of the geohash corresponding to the query location at the first level or one or more of the further geohashes at the first level based at least in part on the read densities comprises selecting to retrieve data items indexed by one or more geohashes indexing a number of data items satisfying a threshold number.

### Claim 17 (depends on 13)

The apparatus of claim 13, wherein using the density map to query the geohash-indexed data set based at least in part on the query location comprises, prior to retrieving any indexed data items:
determining, based at least in part on the density map, whether a number of data items that would be retrieved based at least in part on the query location would fail to satisfy a threshold parameter; and
only retrieving a data item based at least in part on the query location in an instance in which it is determined that the number of data items that would be retrieved based at least in part on the query location would satisfy the threshold parameter.

### Claim 18

A computer program product comprising at least one non-transitory computer-readable storage medium having computer-readable program instructions stored therein, the computer-readable program instructions comprising:
program instructions configured to provide a geohash-indexed data set; and
program instructions configured to determine a density map indicating a density of indexed data items of the data set for each of a plurality of geohashes.

### Claim 19 (depends on 18)

The computer program product of claim 18, further comprising:
program instructions configured calculate a geohash for a data item to be indexed at a first level;
program instructions configured to index the data item with the geohash at the first level;
program instructions configured to calculate a geohash for the data item at a second level, the second level being higher than the first level, and wherein the geohash for the data item at the second level is associated with the density map; and
program instructions configured to increment a density count in the density map indicative of a density of data items indexed by the first geohash.

### Claim 20 (depends on 18)

The computer program product of claim 18, further comprising:
program instructions configured to receive a query location; and
program instructions configured to use the density map to query the geohash-indexed data set based at least in part on the query location.
