Skip to content

GeohashAjacentDirection

Namespace: ThinkGeo.Core

Represents the relative direction of a neighboring geohash cell.

public enum GeohashAjacentDirection

Inheritance ObjectValueTypeEnumGeohashAjacentDirection
Implements IComparable, IFormattable, IConvertible

Fields

Name Value Description
Up 0 The neighbor directly north of the current geohash.
UpperRight 1 The neighbor to the north-east of the current geohash.
Right 2 The neighbor directly east of the current geohash.
LowerRight 3 The neighbor to the south-east of the current geohash.
Down 4 The neighbor directly south of the current geohash.
LowerLeft 5 The neighbor to the south-west of the current geohash.
Left 6 The neighbor directly west of the current geohash.
UpperLeft 7 The neighbor to the north-west of the current geohash.