You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2021/11/16 07:04:25 UTC

[GitHub] [pinot] TheWinds commented on issue #7766: H3 index bug

TheWinds commented 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 the 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: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org