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 1919if  ! (@isdefined  geoToH3) &&  (@isdefined  latLngToCell)
2020    @info  " Defining geoToH3 compatibility shim" 
2121    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
2525        return  latLngToCell (LatLng (coord. lat, coord. lon), res)
2626    end 
2727
Original file line number Diff line number Diff line change @@ -48,6 +48,13 @@ if !(@isdefined geoToH3) && (@isdefined latLngToCell)
4848end 
4949
5050
51+ if  ! isdefined kRing
52+     @info  " defining kRing" 
53+     const  kRing =  gridDisk
54+ end 
55+ 
56+ 
57+ 
5158#  the function and api have changed; the H3.jl library as of 3.2 is not defined correctly
5259edge_length_check =  edgeLengthKm (3 )
5360if  edge_length_check isa  Number
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments