mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Update geoToH3.cpp
This commit is contained in:
parent
09c20d5d08
commit
53f5c63e2c
@ -87,7 +87,7 @@ public:
|
||||
H3Index hindex;
|
||||
H3Error err = latLngToCell(&coord, res, &hindex);
|
||||
if (err)
|
||||
throw Exception(ErrorCodes::INCORRECT_DATA, "Incorrect coordinates latitude: {}, longitude: {}, error: {}", coord.lat, coord.lon, err);
|
||||
throw Exception(ErrorCodes::INCORRECT_DATA, "Incorrect coordinates latitude: {}, longitude: {}, error: {}", coord.lat, coord.lng, err);
|
||||
|
||||
dst_data[row] = hindex;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user