mad-location-manager-lib
1.0
Library for fusing GPS and ENU accelerometer data
Loading...
Searching...
No Matches
inc
geohash.h
Go to the documentation of this file.
1
#ifndef GEOHASH_H
2
#define GEOHASH_H
3
4
#include <cstdint>
5
6
#define GEOHASH_MAX_PRECISION 12
7
8
uint64_t
geohash_encode
(
double
lat,
double
lon,
int
prec);
9
10
int
geohash_cmp
(
double
lon1,
11
double
lat1,
12
double
lon2,
13
double
lat2,
14
int
precision);
15
16
#endif
// GEOHASH_H
geohash_cmp
int geohash_cmp(double lon1, double lat1, double lon2, double lat2, int precision)
Definition
geohash.cpp:26
geohash_encode
uint64_t geohash_encode(double lat, double lon, int prec)
Definition
geohash.cpp:8
Generated by
1.9.8