TheWinds edited a comment on issue #7766:
URL: https://github.com/apache/pinot/issues/7766#issuecomment-969935558


   > Thanks for reporting this. What is the `edgeLength` for your H3 index? 
Based on the visualization, I think `(int) Math.floor((distance / _edgeLength - 
2) / 1.7321)` should be `0` (distance should be less than `(2 + 1.7321) * 
_edgeLength`).
   
   The _edgeLength of `resolution 7` is `1220.629759`
   
   ```js
   Math.floor(( 5000 / 1220.629759 - 2 ) / 1.7321) == 1
   ```
   
   You can click this link to see the visualize result 
https://codepen.io/jsthewinds/pen/GRvwXoe
   
   and the center point is dragable , drag it or modify config params to 
obverse it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to