MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / geohashEncode

Function geohashEncode

src/Functions/GeoHash.cpp:240–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238
239
240size_t geohashEncode(Float64 longitude, Float64 latitude, uint8_t precision, char * out)
241{
242 precision = geohashPrecision(precision);
243 return geohashEncodeImpl(longitude, latitude, precision, out);
244}
245
246void geohashDecode(const char * encoded_string, size_t encoded_len, Float64 * longitude, Float64 * latitude)
247{

Callers 1

vectorMethod · 0.85

Calls 2

geohashPrecisionFunction · 0.85
geohashEncodeImplFunction · 0.85

Tested by

no test coverage detected