mad-location-manager-lib 1.0
Library for fusing GPS and ENU accelerometer data
Loading...
Searching...
No Matches
Macros | Functions
geohash.h File Reference
#include <cstdint>

Go to the source code of this file.

Macros

#define GEOHASH_MAX_PRECISION   12
 

Functions

uint64_t geohash_encode (double lat, double lon, int prec)
 
int geohash_cmp (double lon1, double lat1, double lon2, double lat2, int precision)
 

Macro Definition Documentation

◆ GEOHASH_MAX_PRECISION

#define GEOHASH_MAX_PRECISION   12

Function Documentation

◆ geohash_cmp()

int geohash_cmp ( double  lon1,
double  lat1,
double  lon2,
double  lat2,
int  precision 
)

◆ geohash_encode()

uint64_t geohash_encode ( double  lat,
double  lon,
int  prec 
)