GeohashNeighbors

The eight cells adjacent to a Geohash, one property per compass direction.

Longitude wraps, so east and west always exist. Properties that cross a pole are null.

Properties

Link copied to clipboard

The adjacent cell to the east.

Link copied to clipboard

The adjacent cell to the north, or null at the north pole.

Link copied to clipboard

The adjacent cell to the northeast, or null at the north pole.

Link copied to clipboard

The adjacent cell to the northwest, or null at the north pole.

Link copied to clipboard

The adjacent cell to the south, or null at the south pole.

Link copied to clipboard

The adjacent cell to the southeast, or null at the south pole.

Link copied to clipboard

The adjacent cell to the southwest, or null at the south pole.

Link copied to clipboard

The adjacent cell to the west.

Functions

Link copied to clipboard

Returns existing neighbors in N, NE, E, SE, S, SW, W, NW order.