19 #ifndef GNSS_SDR_GEOHASH_H 20 #define GNSS_SDR_GEOHASH_H 50 std::string
encode(
double lat,
double lon,
int precision = -1)
const;
62 std::array<double, 2>
decode(std::string geohash)
const;
68 std::array<double, 4> bounds(std::string geohash)
const;
69 std::string base32{
"0123456789bcdefghjkmnpqrstuvwxyz"};
74 #endif // GNSS_SDR_GEOHASH_H std::string encode(double lat, double lon, int precision=-1) const
std::array< double, 2 > decode(std::string geohash) const
Class for geohash encoding / decoding See https://en.wikipedia.org/wiki/Geohash.