Click or drag to resize

GeoHash Methods

The GeoHash type exposes the following members.

Methods
  NameDescription
Public methodCompareTo
Public methodContains
find out if the given point lies within this hashes bounding box. Note: this operation checks the bounding boxes coordinates, i.e. does not use the s special abilities.s
Public methodEnclosesCircleAroundPoint
?
Public methodEquals
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodStatic memberFromBinaryString
Recreates a GeoHash from a string of 0's and 1's
Public methodStatic memberFromGeohashString
build a new from a base32-encoded . This will also set up the hashes bounding box and other values, so it can also be used with functions like within().
Public methodStatic memberFromLongValue
Creates a GeoHash from a long value
Public methodStatic memberFromOrd
Public methodStatic memberGeoHashStringWithCharacterPrecision
This method uses the given number of characters as the desired precision value. The hash can only be 64bits long, thus a maximum precision of 12 characters can be achieved.
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Public methodNext
?
Public methodNext(Int32)
?
Public methodOrd
?
Public methodPrev
?
Public methodStatic memberStepsBetween
Counts the number of geohashes contained between the two (ie how many times next() is called to increment from one to two) This value depends on the number of significant bits.
Public methodToBase32
get the base32 string for this . this method only makes sense, if this hash has a multiple of 5 significant bits.
Public methodToBinaryString
Get binary String representation of this GeoHash
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public methodStatic memberwithBitPrecision
create a new with the given number of bits accuracy. This at the same time defines this hash's bounding box.
Public methodStatic memberWithBitPrecision
create a new with the given number of bits accuracy. This at the same time defines this hash's bounding box.
Public methodStatic memberWithCharacterPrecision
This method uses the given number of characters as the desired precision value. The hash can only be 64bits long, thus a maximum precision of 12 characters can be achieved.
Public methodWithin
returns true if this is within the given geohash bounding box.
Top
See Also