h3 icon indicating copy to clipboard operation
h3 copied to clipboard

Calculate and include more size/area/distortion stats per resolution

Open nrabinowitz opened this issue 5 years ago • 2 comments

When building algorithms using H3, consumers may need to satisfy specific constraints, e.g. "buffer within X meters of a given point". Our existing edgeLength and hexArea stats are averages, which is insufficient to determine whether a given resolution or buffer size will satisfy the requirement.

I think it would be worthwhile to calculate and publish (either in the library or in the docs) the following stats for each res:

  • min, max, mean, and stddev for
  • edgeLength, area, and possibly minDiameter (perpendicular edge-edge) and maxDiameter (vertex-vertex)
  • both with and without pentagons

It might not be worthwhile to include all of this in the lib, but publishing it would allow others to use it in their code if needed.

nrabinowitz avatar May 28 '19 17:05 nrabinowitz

See #168 for more discussion of this.

nrabinowitz avatar May 31 '19 00:05 nrabinowitz

https://wiki.openjdk.java.net/display/shenandoah/Main

On Tue, May 28, 2019 at 10:34 AM Nick Rabinowitz [email protected] wrote:

When building algorithms using H3, consumers may need to satisfy specific constraints, e.g. "buffer within X meters of a given point". Our existing edgeLength and hexArea stats are averages, which is insufficient to determine whether a given resolution or buffer size will satisfy the requirement.

I think it would be worthwhile to calculate and publish (either in the library or in the docs) the following stats for each res:

  • min, max, mean, and stddev for
  • edgeLength, area, and possibly minDiameter (perpendicular edge-edge) and maxDiameter (vertex-vertex)
  • both with and without pentagons

It might not be worthwhile to include all of this in the lib, but publishing it would allow others to use it in their code if needed.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_uber_h3_issues_240-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAETB2X4WRHSLZQPDRCHQTSDPXVUJHA5CNFSM4HQFSD3KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GWJFVDQ&d=DwMCaQ&c=r2dcLCtU9q6n0vrtnDw9vg&r=rlWjtwAGNZ5IKSrj3qoQWApiqwj9NHuAuXgcsIQENTk&m=ha5wcu2QUgh5RK3G0Be5O8qkUj1iSHlIp-nxIyLAVPM&s=QlXwphRf2JatigcRobXcHikur9sCXGXPzzK5Elbo5CU&e=, or mute the thread https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AETB2X22TO6AVXNCX44MIBDPXVUJHANCNFSM4HQFSD3A&d=DwMCaQ&c=r2dcLCtU9q6n0vrtnDw9vg&r=rlWjtwAGNZ5IKSrj3qoQWApiqwj9NHuAuXgcsIQENTk&m=ha5wcu2QUgh5RK3G0Be5O8qkUj1iSHlIp-nxIyLAVPM&s=fhGqzYph8TTTcwsTSl_eHAZXH1tz_j8lLpNcgVwQyzk&e= .

awhiteside avatar May 31 '19 08:05 awhiteside