GeoHash Class |
Namespace: VelocityDBExtensions.Geo
The GeoHash type exposes the following members.
Name | Description | |
---|---|---|
![]() | Adjacent |
returns the 8 adjacent hashes for this one. They are in the following
order:
N, NE, E, SE, S, SW, W, NW
|
![]() | BoundingBox |
Get BoundingBox for this GeoHash |
![]() | BoundingBoxCenterPoint |
return the center of this s bounding box. this is rarely
the same point that was used to build the hash.
|
![]() | CharacterPrecision |
Returns the number of characters that represent this hash.
|
![]() | EasternNeighbour |
Nearest GeoHash Neighbor to the East
|
![]() | LongValue | Int64 representation of this GeoHash |
![]() | NorthernNeighbour |
Nearest GeoHash Neighbor to the North
|
![]() | Point |
returns the that was originally used to set up this.
If it was built from a base32-, this is the center point of
the bounding box.
|
![]() | SignificantBits |
how many significant bits are there in this ?
|
![]() | SouthernNeighbour |
Nearest GeoHash Neighbor to the South
|
![]() | WesternNeighbour |
Nearest GeoHash Neighbor to the West
|
Name | Description | |
---|---|---|
![]() | CompareTo | |
![]() | Contains |
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 |
![]() | EnclosesCircleAroundPoint |
?
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Overrides ObjectEquals(Object).) |
![]() ![]() | FromBinaryString |
Recreates a GeoHash from a string of 0's and 1's
|
![]() ![]() | FromGeohashString |
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().
|
![]() ![]() | FromLongValue |
Creates a GeoHash from a long value
|
![]() ![]() | FromOrd | |
![]() ![]() | GeoHashStringWithCharacterPrecision |
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.
|
![]() | GetHashCode | Serves as the default hash function. (Overrides ObjectGetHashCode.) |
![]() | Next |
?
|
![]() | Next(Int32) |
?
|
![]() | Ord |
?
|
![]() | Prev |
?
|
![]() ![]() | StepsBetween |
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.
|
![]() | ToBase32 |
get the base32 string for this .
this method only makes sense, if this hash has a multiple of 5
significant bits.
|
![]() | ToBinaryString |
Get binary String representation of this GeoHash |
![]() | ToString | Returns a string that represents the current object. (Overrides ObjectToString.) |
![]() ![]() | withBitPrecision |
create a new with the given number of bits accuracy. This
at the same time defines this hash's bounding box.
|
![]() ![]() | WithBitPrecision |
create a new with the given number of bits accuracy. This
at the same time defines this hash's bounding box.
|
![]() ![]() | WithCharacterPrecision |
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.
|
![]() | Within |
returns true if this is within the given geohash bounding box.
|