Skip navigation links
A B C D E G H L M N O P R T V W 

A

add(double, double) - Method in class com.github.davidmoten.geo.LatLong
Returns a new LatLong object with lat, lon increased by deltaLat, deltaLon.
adjacentHash(String, Direction) - Static method in class com.github.davidmoten.geo.GeoHash
Returns the adjacent hash in given Direction.
adjacentHash(String, Direction, int) - Static method in class com.github.davidmoten.geo.GeoHash
Returns the adjacent hash N steps in the given Direction.

B

Base32 - Class in com.github.davidmoten.geo
Conversion methods between long values and geohash-style base 32 encoding.
bottom(String) - Static method in class com.github.davidmoten.geo.GeoHash
Returns the adjacent hash to the bottom (south).

C

checkArgument(boolean, Object) - Static method in class com.github.davidmoten.geo.util.Preconditions
Ensures the truth of an expression involving one or more parameters to the calling method.
checkNotNull(T, Object) - Static method in class com.github.davidmoten.geo.util.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
com.github.davidmoten.geo - package com.github.davidmoten.geo
Provides utility classes for geohashing in GeoHash and great circle navigation methods in Position.
com.github.davidmoten.geo.util - package com.github.davidmoten.geo.util
 
Coverage - Class in com.github.davidmoten.geo
A set of hashes and a measure of how well those hashes cover a region.
Coverage(Set<String>, double) - Constructor for class com.github.davidmoten.geo.Coverage
Constructor.
coverBoundingBox(double, double, double, double) - Static method in class com.github.davidmoten.geo.GeoHash
Returns the result of coverBoundingBoxMaxHashes with a maxHashes value of GeoHash.DEFAULT_MAX_HASHES.
coverBoundingBox(double, double, double, double, int) - Static method in class com.github.davidmoten.geo.GeoHash
Returns the hashes of given length that are required to cover the given bounding box.
coverBoundingBoxMaxHashes(double, double, double, double, int) - Static method in class com.github.davidmoten.geo.GeoHash
Returns the hashes that are required to cover the given bounding box.

D

decodeBase32(String) - Static method in class com.github.davidmoten.geo.Base32
Returns the conversion of a base32 geohash to a long.
decodeHash(String) - Static method in class com.github.davidmoten.geo.GeoHash
Returns a latitude,longitude pair as the centre of the given geohash.
DEFAULT_MAX_HASHES - Static variable in class com.github.davidmoten.geo.GeoHash
Default maximum number of hashes for covering a bounding box.
Direction - Enum in com.github.davidmoten.geo
Directions on a WGS84 projection.

E

encodeBase32(long, int) - Static method in class com.github.davidmoten.geo.Base32
Returns the base 32 encoding of the given length from a Long geohash.
encodeBase32(long) - Static method in class com.github.davidmoten.geo.Base32
Returns the base 32 encoding of length GeoHash.MAX_HASH_LENGTH from a Long geohash.
encodeHash(double, double) - Static method in class com.github.davidmoten.geo.GeoHash
Returns a geohash of length GeoHash.MAX_HASH_LENGTH (12) for the given WGS84 point (latitude,longitude).
encodeHash(LatLong, int) - Static method in class com.github.davidmoten.geo.GeoHash
Returns a geohash of given length for the given WGS84 point.
encodeHash(LatLong) - Static method in class com.github.davidmoten.geo.GeoHash
Returns a geohash of of length GeoHash.MAX_HASH_LENGTH (12) for the given WGS84 point.
encodeHash(double, double, int) - Static method in class com.github.davidmoten.geo.GeoHash
Returns a geohash of given length for the given WGS84 point (latitude,longitude).

G

GeoHash - Class in com.github.davidmoten.geo
Utility functions for geohashing.
getHashes() - Method in class com.github.davidmoten.geo.Coverage
Returns the hashes which are expected to be all of the same length.
getHashLength() - Method in class com.github.davidmoten.geo.Coverage
Returns the length in characters of the first hash returned by an iterator on the hash set.
getLat() - Method in class com.github.davidmoten.geo.LatLong
Returns the latitude in decimal degrees.
getLon() - Method in class com.github.davidmoten.geo.LatLong
Returns the longitude in decimal degrees.
getRatio() - Method in class com.github.davidmoten.geo.Coverage
Returns the measure of how well the hashes cover a region.
gridAsString(String, int, Set<String>) - Static method in class com.github.davidmoten.geo.GeoHash
Returns a String of lines of hashes to represent the relative positions of hashes on a map.
gridAsString(String, int, int, int, int) - Static method in class com.github.davidmoten.geo.GeoHash
Returns a String of lines of hashes to represent the relative positions of hashes on a map.
gridAsString(String, int, int, int, int, Set<String>) - Static method in class com.github.davidmoten.geo.GeoHash
Returns a String of lines of hashes to represent the relative positions of hashes on a map.

H

hashContains(String, double, double) - Static method in class com.github.davidmoten.geo.GeoHash
Returns true if and only if the bounding box corresponding to the hash contains the given lat and long.
hashLengthToCoverBoundingBox(double, double, double, double) - Static method in class com.github.davidmoten.geo.GeoHash
Returns the maximum length of hash that covers the bounding box.
heightDegrees(int) - Static method in class com.github.davidmoten.geo.GeoHash
Returns height in degrees of all geohashes of length n.

L

LatLong - Class in com.github.davidmoten.geo
A lat, long pair (WGS84).
LatLong(double, double) - Constructor for class com.github.davidmoten.geo.LatLong
Constructor.
left(String) - Static method in class com.github.davidmoten.geo.GeoHash
Returns the adjacent hash to the left (west).

M

MAX_HASH_LENGTH - Static variable in class com.github.davidmoten.geo.GeoHash
The standard practical maximum length for geohashes.

N

neighbours(String) - Static method in class com.github.davidmoten.geo.GeoHash
Returns a list of the 8 surrounding hashes for a given hash in order left,right,top,bottom,left-top,left-bottom,right-top,right-bottom.

O

opposite() - Method in enum com.github.davidmoten.geo.Direction
Returns the opposite direction.

P

Parity - Enum in com.github.davidmoten.geo
Even or Odd.
Preconditions - Class in com.github.davidmoten.geo.util
Guava like Preconditions.

R

right(String) - Static method in class com.github.davidmoten.geo.GeoHash
Returns the adjacent hash to the right (east).

T

top(String) - Static method in class com.github.davidmoten.geo.GeoHash
Returns the adjacent hash to the top (north).
toString() - Method in class com.github.davidmoten.geo.Coverage
 
toString() - Method in class com.github.davidmoten.geo.LatLong
 

V

valueOf(String) - Static method in enum com.github.davidmoten.geo.Direction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.davidmoten.geo.Parity
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.davidmoten.geo.Direction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.davidmoten.geo.Parity
Returns an array containing the constants of this enum type, in the order they are declared.

W

widthDegrees(int) - Static method in class com.github.davidmoten.geo.GeoHash
Returns width in degrees of all geohashes of length n.
A B C D E G H L M N O P R T V W 
Skip navigation links

Copyright © 2013–2017. All rights reserved.