2022-02-21 19:32:02 +00:00
|
|
|
-- select h3PointDistM(lat1, lon1,lat2, lon2) AS k from table1 order by k;
|
2022-05-22 20:48:29 +00:00
|
|
|
111195.05
|
|
|
|
111228.91
|
|
|
|
111901.08
|
|
|
|
111901.08
|
|
|
|
111901.08
|
|
|
|
157225.61
|
|
|
|
157249.56
|
|
|
|
222457.78
|
|
|
|
223528.37
|
|
|
|
223528.37
|
|
|
|
400900.67
|
|
|
|
2223901.04
|
2022-02-21 19:32:02 +00:00
|
|
|
-- select h3PointDistKm(lat1, lon1,lat2, lon2) AS k from table1 order by k;
|
2022-05-22 20:48:29 +00:00
|
|
|
111.2
|
|
|
|
111.23
|
|
|
|
111.9
|
|
|
|
111.9
|
|
|
|
111.9
|
|
|
|
157.23
|
|
|
|
157.25
|
|
|
|
222.46
|
|
|
|
223.53
|
|
|
|
223.53
|
|
|
|
400.9
|
|
|
|
2223.9
|
2022-02-21 19:32:02 +00:00
|
|
|
-- select h3PointDistRads(lat1, lon1,lat2, lon2) AS k from table1 order by k;
|
2022-05-22 20:48:29 +00:00
|
|
|
0.01745
|
|
|
|
0.01746
|
|
|
|
0.01756
|
|
|
|
0.01756
|
|
|
|
0.01756
|
|
|
|
0.02468
|
|
|
|
0.02468
|
|
|
|
0.03492
|
|
|
|
0.03509
|
|
|
|
0.03509
|
|
|
|
0.06293
|
|
|
|
0.34907
|
2022-02-21 20:15:14 +00:00
|
|
|
-- test for non const cols
|
2022-05-22 20:48:29 +00:00
|
|
|
0.34907
|
|
|
|
0.34907
|