Crate geohashrust [] [src]

Structs

BinaryHash

Binary hash code for a given GeoLocation with specific precision

BoundingBox

A bounding box composed by 2 geolocations

GeoLocation

A geographic location.

Functions

decode

Decode a GeoHash into a BoundingBox

encode

Encode a GeoLocation into GeoHash with given precision

neighbor

Get the neighbor of GeoHash on specific direction

neighbors

Get a vector of neighbors for the GeoHash on all 8 directions, with itself as the first