File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 19
19
if ! (@isdefined geoToH3) && (@isdefined latLngToCell)
20
20
@info " Defining geoToH3 compatibility shim"
21
21
function geoToH3 (coord:: GeoCoord , res:: Integer )
22
- if res isa Int32
23
- res = Int64 (res)
24
- end
22
+ # if res isa Int32
23
+ # res = Int64(res)
24
+ # end
25
25
return latLngToCell (LatLng (coord. lat, coord. lon), res)
26
26
end
27
27
Original file line number Diff line number Diff line change @@ -48,6 +48,13 @@ if !(@isdefined geoToH3) && (@isdefined latLngToCell)
48
48
end
49
49
50
50
51
+ if ! isdefined kRing
52
+ @info " defining kRing"
53
+ const kRing = gridDisk
54
+ end
55
+
56
+
57
+
51
58
# the function and api have changed; the H3.jl library as of 3.2 is not defined correctly
52
59
edge_length_check = edgeLengthKm (3 )
53
60
if edge_length_check isa Number
You can’t perform that action at this time.
0 commit comments