| 151 | } |
| 152 | |
| 153 | int geohashEncodeType(double longitude, double latitude, uint8_t step, GeoHashBits *hash) { |
| 154 | GeoHashRange r[2] = {{0}}; |
| 155 | geohashGetCoordRange(&r[0], &r[1]); |
| 156 | return geohashEncode(&r[0], &r[1], longitude, latitude, step, hash); |
| 157 | } |
| 158 | |
| 159 | int geohashEncodeWGS84(double longitude, double latitude, uint8_t step, |
| 160 | GeoHashBits *hash) { |
no test coverage detected